@coinswap-app/uikit 1.0.12 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +7 -3
- package/dist/index.esm.js +7 -3
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -9634,9 +9634,13 @@ var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
|
9634
9634
|
tag = _ref.tag,
|
|
9635
9635
|
hide = _ref.hide,
|
|
9636
9636
|
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
9637
|
-
// Remove isActive from props to prevent it from being passed to DOM
|
|
9638
|
-
props
|
|
9639
|
-
|
|
9637
|
+
// Remove isActive from all props to prevent it from being passed to DOM
|
|
9638
|
+
// isActive might be in props if passed via cloneElement
|
|
9639
|
+
var _isActive$props = _objectSpread2({
|
|
9640
|
+
isActive: isActive
|
|
9641
|
+
}, props);
|
|
9642
|
+
_isActive$props.isActive;
|
|
9643
|
+
var buttonProps = _objectWithoutProperties(_isActive$props, _excluded2$1);
|
|
9640
9644
|
if (!isActive) {
|
|
9641
9645
|
return /*#__PURE__*/jsxRuntime.jsx(InactiveButton$1, _objectSpread2(_objectSpread2({
|
|
9642
9646
|
forwardedAs: as,
|
package/dist/index.esm.js
CHANGED
|
@@ -9612,9 +9612,13 @@ var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
|
9612
9612
|
tag = _ref.tag,
|
|
9613
9613
|
hide = _ref.hide,
|
|
9614
9614
|
props = _objectWithoutProperties(_ref, _excluded$l);
|
|
9615
|
-
// Remove isActive from props to prevent it from being passed to DOM
|
|
9616
|
-
props
|
|
9617
|
-
|
|
9615
|
+
// Remove isActive from all props to prevent it from being passed to DOM
|
|
9616
|
+
// isActive might be in props if passed via cloneElement
|
|
9617
|
+
var _isActive$props = _objectSpread2({
|
|
9618
|
+
isActive: isActive
|
|
9619
|
+
}, props);
|
|
9620
|
+
_isActive$props.isActive;
|
|
9621
|
+
var buttonProps = _objectWithoutProperties(_isActive$props, _excluded2$1);
|
|
9618
9622
|
if (!isActive) {
|
|
9619
9623
|
return /*#__PURE__*/jsx(InactiveButton$1, _objectSpread2(_objectSpread2({
|
|
9620
9624
|
forwardedAs: as,
|