@bone-ui/alert
Advanced tools
Comparing version 0.25.0 to 0.29.0
@@ -18,3 +18,2 @@ 'use strict'; | ||
var key, i; | ||
for (i = 0; i < sourceKeys.length; i++) { | ||
@@ -25,3 +24,2 @@ key = sourceKeys[i]; | ||
} | ||
return target; | ||
@@ -67,7 +65,6 @@ } | ||
var _props$type = props.type, | ||
type = _props$type === void 0 ? 'default' : _props$type, | ||
_props$variant = props.variant, | ||
variant = _props$variant === void 0 ? 'filled' : _props$variant, | ||
rest = _objectWithoutPropertiesLoose(props, _excluded); | ||
type = _props$type === void 0 ? 'default' : _props$type, | ||
_props$variant = props.variant, | ||
variant = _props$variant === void 0 ? 'filled' : _props$variant, | ||
rest = _objectWithoutPropertiesLoose(props, _excluded); | ||
var isOutline = variant === 'outline'; | ||
@@ -98,5 +95,4 @@ return React__default.createElement(AlertProvider, { | ||
var _useContext = React.useContext(alertContext), | ||
_useContext$type = _useContext.type, | ||
type = _useContext$type === void 0 ? 'default' : _useContext$type; | ||
_useContext$type = _useContext.type, | ||
type = _useContext$type === void 0 ? 'default' : _useContext$type; | ||
var Icon = IconComponents[type]; | ||
@@ -103,0 +99,0 @@ return React__default.createElement(Icon, Object.assign({ |
@@ -11,3 +11,2 @@ import React, { createContext, useContext } from 'react'; | ||
var key, i; | ||
for (i = 0; i < sourceKeys.length; i++) { | ||
@@ -18,3 +17,2 @@ key = sourceKeys[i]; | ||
} | ||
return target; | ||
@@ -60,7 +58,6 @@ } | ||
var _props$type = props.type, | ||
type = _props$type === void 0 ? 'default' : _props$type, | ||
_props$variant = props.variant, | ||
variant = _props$variant === void 0 ? 'filled' : _props$variant, | ||
rest = _objectWithoutPropertiesLoose(props, _excluded); | ||
type = _props$type === void 0 ? 'default' : _props$type, | ||
_props$variant = props.variant, | ||
variant = _props$variant === void 0 ? 'filled' : _props$variant, | ||
rest = _objectWithoutPropertiesLoose(props, _excluded); | ||
var isOutline = variant === 'outline'; | ||
@@ -91,5 +88,4 @@ return React.createElement(AlertProvider, { | ||
var _useContext = useContext(alertContext), | ||
_useContext$type = _useContext.type, | ||
type = _useContext$type === void 0 ? 'default' : _useContext$type; | ||
_useContext$type = _useContext.type, | ||
type = _useContext$type === void 0 ? 'default' : _useContext$type; | ||
var Icon = IconComponents[type]; | ||
@@ -96,0 +92,0 @@ return React.createElement(Icon, Object.assign({ |
{ | ||
"name": "@bone-ui/alert", | ||
"version": "0.25.0", | ||
"version": "0.29.0", | ||
"license": "MIT", | ||
@@ -23,7 +23,6 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@bone-ui/iconify": "^0.25.0", | ||
"@bone-ui/icons": "^0.25.0", | ||
"@bone-ui/utils": "^0.25.0" | ||
}, | ||
"gitHead": "39b7d355e13975accaae6ac2ecc011a68e3078ff" | ||
"@bone-ui/iconify": "^0.29.0", | ||
"@bone-ui/icons": "^0.29.0", | ||
"@bone-ui/utils": "^0.29.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
382
33271
23
+ Added@bone-ui/iconify@0.29.0(transitive)
+ Added@bone-ui/icons@0.29.0(transitive)
+ Added@bone-ui/utils@0.29.0(transitive)
- Removed@bone-ui/iconify@0.25.0(transitive)
- Removed@bone-ui/icons@0.25.0(transitive)
- Removed@bone-ui/utils@0.25.0(transitive)
Updated@bone-ui/iconify@^0.29.0
Updated@bone-ui/icons@^0.29.0
Updated@bone-ui/utils@^0.29.0