@rabex-kit/rabex-ui 0.1.47 → 0.1.53

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.
@@ -1262,14 +1262,15 @@ var Grid = function Grid(_ref) {
1262
1262
  var IconButton = /*#__PURE__*/styled(MuiIconButton, {
1263
1263
  name: 'MuiIconButton',
1264
1264
  shouldForwardProp: function shouldForwardProp(prop) {
1265
- return prop !== 'hasBg';
1265
+ return !['hasBg', 'disableOpacity', 'bgColor'].includes(prop.toString());
1266
1266
  }
1267
1267
  })(function () {
1268
1268
  return {};
1269
1269
  });
1270
1270
  IconButton.defaultProps = {
1271
1271
  variant: 'circular',
1272
- hasBg: false
1272
+ hasBg: false,
1273
+ disableOpacity: false
1273
1274
  };
1274
1275
 
1275
1276
  function _handleHelperColor(props, key) {
@@ -3855,16 +3856,13 @@ var RabexIconButton = {
3855
3856
  components: {
3856
3857
  styleOverrides: {
3857
3858
  root: function root(_ref) {
3858
- var ownerState = _ref.ownerState,
3859
- theme = _ref.theme;
3859
+ var ownerState = _ref.ownerState;
3860
3860
  return _extends({}, ownerState.variant === 'circular' && {
3861
3861
  borderRadius: '50%'
3862
3862
  }, ownerState.variant === 'rounded' && {
3863
3863
  borderRadius: 8
3864
3864
  }, ownerState.variant === 'square' && {
3865
3865
  borderRadius: 0
3866
- }, ownerState.hasBg && {
3867
- backgroundColor: (ownerState === null || ownerState === void 0 ? void 0 : ownerState.bgColor) || theme.palette.secondary.main
3868
3866
  });
3869
3867
  }
3870
3868
  },
@@ -3881,6 +3879,15 @@ var RabexIconButton = {
3881
3879
  }
3882
3880
  };
3883
3881
  }
3882
+ }, {
3883
+ props: {
3884
+ disableOpacity: true
3885
+ },
3886
+ style: function style() {
3887
+ return {
3888
+ color: 'inherit'
3889
+ };
3890
+ }
3884
3891
  }]
3885
3892
  }
3886
3893
  };