@rabex-kit/rabex-ui 0.2.14 → 0.2.16
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/Theme/IconButton/index.d.ts +6 -6
- package/dist/rabex-ui.cjs.development.js +1 -1
- 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 +1 -1
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
@@ -1,13 +1,13 @@
|
|
1
|
-
import { IconButtonProps } from '
|
1
|
+
import { IconButtonProps } from '@mui/material';
|
2
2
|
declare module '@mui/material/IconButton' {
|
3
3
|
interface IconButtonPropsSizeOverrides {
|
4
|
+
small: true;
|
5
|
+
medium: true;
|
6
|
+
large: true;
|
4
7
|
xs: true;
|
5
8
|
sm: true;
|
6
9
|
md: true;
|
7
10
|
lg: true;
|
8
|
-
small: true;
|
9
|
-
medium: true;
|
10
|
-
large: true;
|
11
11
|
}
|
12
12
|
}
|
13
13
|
declare const _default: {
|
@@ -24,7 +24,7 @@ declare const _default: {
|
|
24
24
|
};
|
25
25
|
};
|
26
26
|
variants: ({
|
27
|
-
props: Partial<IconButtonProps
|
27
|
+
props: Partial<IconButtonProps<"button", {}>>;
|
28
28
|
style: ({ theme, ownerState }: any) => {
|
29
29
|
backgroundColor: any;
|
30
30
|
'&:hover': {
|
@@ -32,7 +32,7 @@ declare const _default: {
|
|
32
32
|
};
|
33
33
|
};
|
34
34
|
} | {
|
35
|
-
props: Partial<IconButtonProps
|
35
|
+
props: Partial<IconButtonProps<"button", {}>>;
|
36
36
|
style: ({ theme }: any) => {
|
37
37
|
color: any;
|
38
38
|
'&:hover': {
|
@@ -1286,7 +1286,7 @@ var Grid = function Grid(_ref) {
|
|
1286
1286
|
var IconButton = /*#__PURE__*/styled(MuiIconButton, {
|
1287
1287
|
name: 'MuiIconButton',
|
1288
1288
|
shouldForwardProp: function shouldForwardProp(prop) {
|
1289
|
-
return !['hasBg', 'disableOpacity', 'bgColor', 'variant'].includes(prop.toString());
|
1289
|
+
return !['hasBg', 'disableOpacity', 'bgColor', 'variant', 'size'].includes(prop.toString());
|
1290
1290
|
}
|
1291
1291
|
})(function (_ref) {
|
1292
1292
|
var theme = _ref.theme,
|