@rabex-kit/rabex-ui 0.1.35 → 0.1.37
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/IconButton/index.d.ts +2 -1
- package/dist/Theme/IconButton/index.d.ts +16 -2
- package/dist/rabex-ui.cjs.development.js +13 -3
- package/dist/rabex-ui.cjs.development.js.map +1 -1
- package/dist/rabex-ui.cjs.production.min.js +1 -1
- package/dist/rabex-ui.cjs.production.min.js.map +1 -1
- package/dist/rabex-ui.esm.js +13 -3
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
@@ -1253,7 +1253,7 @@ var Grid = function Grid(_ref) {
|
|
1253
1253
|
* You can read Material-UI Button Documentation [here](https://mui.com/material-ui/api/icon-button/).
|
1254
1254
|
*
|
1255
1255
|
* ```typescript
|
1256
|
-
* import { IconButton } from '@rabex-kit/
|
1256
|
+
* import { IconButton } from '@rabex-kit/rabex-ui';
|
1257
1257
|
* ```
|
1258
1258
|
*
|
1259
1259
|
* @param props
|
@@ -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
|
1265
|
+
return !['hasBg', 'disableOpacity'].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) {
|
@@ -3881,6 +3882,15 @@ var RabexIconButton = {
|
|
3881
3882
|
}
|
3882
3883
|
};
|
3883
3884
|
}
|
3885
|
+
}, {
|
3886
|
+
props: {
|
3887
|
+
disableOpacity: true
|
3888
|
+
},
|
3889
|
+
style: function style(_ref3) {
|
3890
|
+
return {
|
3891
|
+
color: 'inherit'
|
3892
|
+
};
|
3893
|
+
}
|
3884
3894
|
}]
|
3885
3895
|
}
|
3886
3896
|
};
|