@coinswap-app/uikit 1.0.12 → 1.0.14

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 CHANGED
@@ -9613,7 +9613,7 @@ var StyledTag = styledComponents.styled.div(_templateObject$1Q || (_templateObje
9613
9613
  }, getThemeTextColor, getThemeTextColor);
9614
9614
 
9615
9615
  var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide"],
9616
- _excluded2$1 = ["isActive"];
9616
+ _excluded2$1 = ["isActive", "onClick", "size", "variant"];
9617
9617
  var _templateObject$1P, _templateObject2$Z, _templateObject3$L;
9618
9618
  var ButtonBody = styledComponents.styled.div(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
9619
9619
  var ButtonTag = styledComponents.styled(StyledTag)(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteral(["\n margin-left: 7px;\n font-weight: bold;\n font-size: 11px;\n padding: 1px 5px;\n height: unset;\n border-width: 1px;\n"])));
@@ -9634,8 +9634,12 @@ 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
9637
+ // Remove any remaining isActive from props (might be passed via cloneElement spread)
9638
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9638
9639
  props.isActive;
9640
+ props.onClick;
9641
+ props.size;
9642
+ props.variant;
9639
9643
  var buttonProps = _objectWithoutProperties(props, _excluded2$1);
9640
9644
  if (!isActive) {
9641
9645
  return /*#__PURE__*/jsxRuntime.jsx(InactiveButton$1, _objectSpread2(_objectSpread2({
package/dist/index.esm.js CHANGED
@@ -9591,7 +9591,7 @@ var StyledTag = styled.div(_templateObject$1Q || (_templateObject$1Q = _taggedTe
9591
9591
  }, getThemeTextColor, getThemeTextColor);
9592
9592
 
9593
9593
  var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide"],
9594
- _excluded2$1 = ["isActive"];
9594
+ _excluded2$1 = ["isActive", "onClick", "size", "variant"];
9595
9595
  var _templateObject$1P, _templateObject2$Z, _templateObject3$L;
9596
9596
  var ButtonBody = styled.div(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
9597
9597
  var ButtonTag = styled(StyledTag)(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteral(["\n margin-left: 7px;\n font-weight: bold;\n font-size: 11px;\n padding: 1px 5px;\n height: unset;\n border-width: 1px;\n"])));
@@ -9612,8 +9612,12 @@ 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
9615
+ // Remove any remaining isActive from props (might be passed via cloneElement spread)
9616
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
9616
9617
  props.isActive;
9618
+ props.onClick;
9619
+ props.size;
9620
+ props.variant;
9617
9621
  var buttonProps = _objectWithoutProperties(props, _excluded2$1);
9618
9622
  if (!isActive) {
9619
9623
  return /*#__PURE__*/jsx(InactiveButton$1, _objectSpread2(_objectSpread2({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinswap-app/uikit",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Set of UI components for CoinSwap projects",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",