@mui/codemod 7.0.2 → 7.1.1
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/README.md +10 -0
- package/codemod.js +8 -0
- package/deprecations/accordion-props/accordion-props.js +2 -0
- package/deprecations/accordion-props/test-cases/package.actual.js +68 -0
- package/deprecations/accordion-props/test-cases/package.expected.js +74 -0
- package/deprecations/accordion-summary-classes/accordion-summary-classes.js +1 -1
- package/deprecations/accordion-summary-classes/test-cases/package.actual.js +54 -0
- package/deprecations/accordion-summary-classes/test-cases/package.expected.js +54 -0
- package/deprecations/alert-classes/alert-classes.js +1 -1
- package/deprecations/alert-classes/test-cases/package.actual.js +27 -0
- package/deprecations/alert-classes/test-cases/package.expected.js +27 -0
- package/deprecations/alert-props/alert-props.js +1 -0
- package/deprecations/alert-props/test-cases/package.actual.js +60 -0
- package/deprecations/alert-props/test-cases/package.expected.js +52 -0
- package/deprecations/autocomplete-props/autocomplete-props.js +7 -0
- package/deprecations/autocomplete-props/test-cases/package.actual.js +113 -0
- package/deprecations/autocomplete-props/test-cases/package.expected.js +125 -0
- package/deprecations/avatar-group-props/avatar-group-props.js +4 -2
- package/deprecations/avatar-group-props/test-cases/package.actual.js +56 -0
- package/deprecations/avatar-group-props/test-cases/package.expected.js +58 -0
- package/deprecations/avatar-props/avatar-props.js +2 -1
- package/deprecations/avatar-props/test-cases/package.actual.js +36 -0
- package/deprecations/avatar-props/test-cases/package.expected.js +42 -0
- package/deprecations/backdrop-props/backdrop-props.js +2 -0
- package/deprecations/backdrop-props/test-cases/package.actual.js +81 -0
- package/deprecations/backdrop-props/test-cases/package.expected.js +81 -0
- package/deprecations/badge-props/badge-props.js +2 -1
- package/deprecations/badge-props/test-cases/package.actual.js +59 -0
- package/deprecations/badge-props/test-cases/package.expected.js +51 -0
- package/deprecations/button-classes/button-classes.js +1 -1
- package/deprecations/button-classes/test-cases/package.actual.js +69 -0
- package/deprecations/button-classes/test-cases/package.expected.js +69 -0
- package/deprecations/button-group-classes/button-group-classes.js +1 -1
- package/deprecations/button-group-classes/test-cases/package.actual.js +37 -0
- package/deprecations/button-group-classes/test-cases/package.expected.js +37 -0
- package/deprecations/card-header-props/card-header-props.js +2 -0
- package/deprecations/card-header-props/test-cases/package.actual.js +66 -0
- package/deprecations/card-header-props/test-cases/package.expected.js +78 -0
- package/deprecations/chip-classes/chip-classes.js +1 -1
- package/deprecations/chip-classes/test-cases/package.actual.js +55 -0
- package/deprecations/chip-classes/test-cases/package.expected.js +55 -0
- package/deprecations/circular-progress-classes/circular-progress-classes.js +1 -1
- package/deprecations/circular-progress-classes/test-cases/package.actual.js +7 -0
- package/deprecations/circular-progress-classes/test-cases/package.expected.js +7 -0
- package/deprecations/dialog-classes/dialog-classes.js +1 -1
- package/deprecations/dialog-classes/test-cases/package.actual.js +7 -0
- package/deprecations/dialog-classes/test-cases/package.expected.js +7 -0
- package/deprecations/divider-props/divider-props.js +3 -1
- package/deprecations/divider-props/test-cases/package.actual.js +45 -0
- package/deprecations/divider-props/test-cases/package.expected.js +50 -0
- package/deprecations/drawer-classes/drawer-classes.js +1 -1
- package/deprecations/drawer-classes/test-cases/package.actual.js +19 -0
- package/deprecations/drawer-classes/test-cases/package.expected.js +19 -0
- package/deprecations/drawer-props/drawer-props.js +8 -0
- package/deprecations/drawer-props/test-cases/package.actual.js +73 -0
- package/deprecations/drawer-props/test-cases/package.expected.js +97 -0
- package/deprecations/filled-input-props/filled-input-props.js +1 -0
- package/deprecations/filled-input-props/test-cases/package.actual.js +60 -0
- package/deprecations/filled-input-props/test-cases/package.expected.js +52 -0
- package/deprecations/form-control-label-props/form-control-label-props.js +1 -0
- package/deprecations/form-control-label-props/test-cases/package.actual.js +21 -0
- package/deprecations/form-control-label-props/test-cases/package.expected.js +21 -0
- package/deprecations/image-list-item-bar-classes/image-list-item-bar-classes.js +1 -1
- package/deprecations/image-list-item-bar-classes/test-cases/package.actual.js +11 -0
- package/deprecations/image-list-item-bar-classes/test-cases/package.expected.js +11 -0
- package/deprecations/input-base-classes/input-base-classes.js +1 -1
- package/deprecations/input-base-classes/test-cases/package.actual.js +13 -0
- package/deprecations/input-base-classes/test-cases/package.expected.js +13 -0
- package/deprecations/input-base-props/input-base-props.js +1 -0
- package/deprecations/input-base-props/test-cases/package.actual.js +60 -0
- package/deprecations/input-base-props/test-cases/package.expected.js +52 -0
- package/deprecations/input-props/input-props.js +1 -0
- package/deprecations/input-props/test-cases/package.actual.js +60 -0
- package/deprecations/input-props/test-cases/package.expected.js +52 -0
- package/deprecations/linear-progress-classes/linear-progress-classes.js +1 -1
- package/deprecations/linear-progress-classes/test-cases/package.actual.js +21 -0
- package/deprecations/linear-progress-classes/test-cases/package.expected.js +21 -0
- package/deprecations/list-item-props/list-item-props.js +3 -0
- package/deprecations/list-item-props/test-cases/package.actual.js +49 -0
- package/deprecations/list-item-props/test-cases/package.expected.js +50 -0
- package/deprecations/list-item-text-props/list-item-text-props.js +3 -0
- package/deprecations/list-item-text-props/test-cases/package.actual.js +21 -0
- package/deprecations/list-item-text-props/test-cases/package.expected.js +27 -0
- package/deprecations/menu-props/menu-props.js +3 -0
- package/deprecations/menu-props/test-cases/package.actual.js +67 -0
- package/deprecations/menu-props/test-cases/package.expected.js +83 -0
- package/deprecations/mobile-stepper-props/mobile-stepper-props.js +1 -0
- package/deprecations/mobile-stepper-props/test-cases/package.actual.js +30 -0
- package/deprecations/mobile-stepper-props/test-cases/package.expected.js +34 -0
- package/deprecations/modal-props/modal-props.js +3 -0
- package/deprecations/modal-props/test-cases/package.actual.js +49 -0
- package/deprecations/modal-props/test-cases/package.expected.js +50 -0
- package/deprecations/outlined-input-props/outlined-input-props.js +1 -0
- package/deprecations/outlined-input-props/test-cases/package.actual.js +60 -0
- package/deprecations/outlined-input-props/test-cases/package.expected.js +52 -0
- package/deprecations/pagination-item-classes/pagination-item-classes.js +1 -1
- package/deprecations/pagination-item-classes/test-cases/package.actual.js +108 -0
- package/deprecations/pagination-item-classes/test-cases/package.expected.js +108 -0
- package/deprecations/pagination-item-props/pagination-item-props.js +1 -0
- package/deprecations/pagination-item-props/test-cases/package.actual.js +27 -0
- package/deprecations/pagination-item-props/test-cases/package.expected.js +21 -0
- package/deprecations/popover-props/popover-props.js +5 -0
- package/deprecations/popover-props/test-cases/package.actual.js +73 -0
- package/deprecations/popover-props/test-cases/package.expected.js +89 -0
- package/deprecations/popper-props/popper-props.js +1 -0
- package/deprecations/popper-props/test-cases/package.actual.js +27 -0
- package/deprecations/popper-props/test-cases/package.expected.js +24 -0
- package/deprecations/rating-props/rating-props.js +1 -0
- package/deprecations/rating-props/test-cases/package.actual.js +37 -0
- package/deprecations/rating-props/test-cases/package.expected.js +53 -0
- package/deprecations/select-classes/select-classes.js +1 -1
- package/deprecations/select-classes/test-cases/package.actual.js +9 -0
- package/deprecations/select-classes/test-cases/package.expected.js +9 -0
- package/deprecations/slider-classes/slider-classes.js +1 -1
- package/deprecations/slider-classes/test-cases/package.actual.js +19 -0
- package/deprecations/slider-classes/test-cases/package.expected.js +19 -0
- package/deprecations/slider-props/slider-props.js +1 -0
- package/deprecations/slider-props/test-cases/package.actual.js +60 -0
- package/deprecations/slider-props/test-cases/package.expected.js +52 -0
- package/deprecations/snackbar-props/snackbar-props.js +4 -0
- package/deprecations/snackbar-props/test-cases/package.actual.js +54 -0
- package/deprecations/snackbar-props/test-cases/package.expected.js +67 -0
- package/deprecations/speed-dial-action-props/speed-dial-action-props.js +5 -0
- package/deprecations/speed-dial-action-props/test-cases/package.actual.js +56 -0
- package/deprecations/speed-dial-action-props/test-cases/package.expected.js +104 -0
- package/deprecations/speed-dial-props/speed-dial-props.js +2 -0
- package/deprecations/speed-dial-props/test-cases/package.actual.js +41 -0
- package/deprecations/speed-dial-props/test-cases/package.expected.js +54 -0
- package/deprecations/step-connector-classes/step-connector-classes.js +1 -1
- package/deprecations/step-connector-classes/test-cases/package.actual.js +7 -0
- package/deprecations/step-connector-classes/test-cases/package.expected.js +7 -0
- package/deprecations/step-content-props/step-content-props.js +2 -0
- package/deprecations/step-content-props/test-cases/package.actual.js +65 -0
- package/deprecations/step-content-props/test-cases/package.expected.js +74 -0
- package/deprecations/step-label-props/step-label-props.js +3 -0
- package/deprecations/step-label-props/test-cases/package.actual.js +44 -0
- package/deprecations/step-label-props/test-cases/package.expected.js +48 -0
- package/deprecations/tab-classes/tab-classes.js +1 -1
- package/deprecations/tab-classes/test-cases/package.actual.js +5 -0
- package/deprecations/tab-classes/test-cases/package.expected.js +5 -0
- package/deprecations/table-pagination-props/table-pagination-props.js +2 -0
- package/deprecations/table-pagination-props/test-cases/package.actual.js +62 -0
- package/deprecations/table-pagination-props/test-cases/package.expected.js +72 -0
- package/deprecations/table-sort-label-classes/table-sort-label-classes.js +1 -1
- package/deprecations/table-sort-label-classes/test-cases/package.actual.js +7 -0
- package/deprecations/table-sort-label-classes/test-cases/package.expected.js +7 -0
- package/deprecations/tabs-classes/tabs-classes.js +1 -1
- package/deprecations/tabs-classes/test-cases/package.actual.js +7 -0
- package/deprecations/tabs-classes/test-cases/package.expected.js +7 -0
- package/deprecations/tabs-props/tabs-props.js +3 -0
- package/deprecations/tabs-props/test-cases/package.actual.js +33 -0
- package/deprecations/tabs-props/test-cases/package.expected.js +41 -0
- package/deprecations/text-field-props/test-cases/package.actual.js +27 -0
- package/deprecations/text-field-props/test-cases/package.expected.js +31 -0
- package/deprecations/text-field-props/text-field-props.js +5 -0
- package/deprecations/toggle-button-group-classes/test-cases/package.actual.js +7 -0
- package/deprecations/toggle-button-group-classes/test-cases/package.expected.js +7 -0
- package/deprecations/toggle-button-group-classes/toggle-button-group-classes.js +1 -1
- package/deprecations/tooltip-props/test-cases/package.actual.js +141 -0
- package/deprecations/tooltip-props/test-cases/package.expected.js +141 -0
- package/deprecations/tooltip-props/tooltip-props.js +5 -0
- package/deprecations/typography-props/test-cases/package.actual.js +88 -0
- package/deprecations/typography-props/test-cases/package.expected.js +98 -0
- package/deprecations/typography-props/typography-props.js +1 -0
- package/deprecations/utils/movePropIntoSlotProps.js +2 -10
- package/deprecations/utils/movePropIntoSlots.js +2 -10
- package/deprecations/utils/replaceComponentsWithSlots.js +3 -13
- package/package.json +6 -7
- package/util/findComponentJSX.js +4 -3
- package/v6.0.0/grid-v2-props/grid-v2-props.js +5 -0
- package/v6.0.0/grid-v2-props/test-cases/package.actual.js +91 -0
- package/v6.0.0/grid-v2-props/test-cases/package.expected.js +91 -0
- package/v6.0.0/list-item-button-prop/list-item-button-prop.js +8 -4
- package/v6.0.0/list-item-button-prop/test-cases/package.actual.js +31 -0
- package/v6.0.0/list-item-button-prop/test-cases/package.expected.js +20 -0
- package/v7.0.0/grid-props/grid-props.js +5 -0
- package/v7.0.0/grid-props/test-cases/package.actual.js +91 -0
- package/v7.0.0/grid-props/test-cases/package.expected.js +91 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _Divider = _interopRequireDefault(require("@org/ui/material/Divider"));
|
|
5
|
+
var _material = require("@org/ui/material");
|
|
6
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
7
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Divider.default, {
|
|
8
|
+
className: "test",
|
|
9
|
+
sx: {
|
|
10
|
+
opacity: "0.6"
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Divider, {
|
|
14
|
+
className: "test",
|
|
15
|
+
sx: {
|
|
16
|
+
opacity: "0.6"
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Divider.default, {
|
|
20
|
+
className: "test"
|
|
21
|
+
});
|
|
22
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Divider, {
|
|
23
|
+
className: "test"
|
|
24
|
+
});
|
|
25
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Divider.default, {
|
|
26
|
+
className: "test",
|
|
27
|
+
sx: {
|
|
28
|
+
opacity: "0.6"
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Divider, {
|
|
32
|
+
className: "test",
|
|
33
|
+
sx: {
|
|
34
|
+
opacity: "0.6"
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Divider.default, {
|
|
38
|
+
sx: {
|
|
39
|
+
opacity: '0.7'
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Divider, {
|
|
43
|
+
sx: {
|
|
44
|
+
bgcolor: 'black',
|
|
45
|
+
opacity: "0.6"
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Divider.default, {
|
|
49
|
+
className: "test"
|
|
50
|
+
});
|
|
@@ -18,7 +18,7 @@ function transformer(file, api, options) {
|
|
|
18
18
|
replacementSelector
|
|
19
19
|
}) => {
|
|
20
20
|
const replacementSelectorPrefix = '&';
|
|
21
|
-
root.find(j.ImportDeclaration).filter(path => path.node.source.value.match(
|
|
21
|
+
root.find(j.ImportDeclaration).filter(path => path.node.source.value.match(new RegExp(`^${options.packageName || '@mui/material'}(/Drawer)?$`))).forEach(path => {
|
|
22
22
|
path.node.specifiers.forEach(specifier => {
|
|
23
23
|
if (specifier.type === 'ImportSpecifier' && specifier.imported.name === 'drawerClasses') {
|
|
24
24
|
const deprecatedAtomicClass = deprecatedClass.replace(`${deprecatedClass.split('-')[0]}-`, '');
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Drawer = require("@org/ui/material/Drawer");
|
|
4
|
+
"& .MuiDrawer-paperAnchorBottom";
|
|
5
|
+
"& .MuiDrawer-paperAnchorLeft";
|
|
6
|
+
"& .MuiDrawer-paperAnchorRight";
|
|
7
|
+
"& .MuiDrawer-paperAnchorTop";
|
|
8
|
+
"& .MuiDrawer-paperAnchorDockedBottom";
|
|
9
|
+
"& .MuiDrawer-paperAnchorDockedLeft";
|
|
10
|
+
"& .MuiDrawer-paperAnchorDockedRight";
|
|
11
|
+
"& .MuiDrawer-paperAnchorDockedTop";
|
|
12
|
+
`& .${_Drawer.drawerClasses.paperAnchorBottom}`;
|
|
13
|
+
`& .${_Drawer.drawerClasses.paperAnchorLeft}`;
|
|
14
|
+
`& .${_Drawer.drawerClasses.paperAnchorRight}`;
|
|
15
|
+
`& .${_Drawer.drawerClasses.paperAnchorTop}`;
|
|
16
|
+
`& .${_Drawer.drawerClasses.paperAnchorDockedBottom}`;
|
|
17
|
+
`& .${_Drawer.drawerClasses.paperAnchorDockedLeft}`;
|
|
18
|
+
`& .${_Drawer.drawerClasses.paperAnchorDockedRight}`;
|
|
19
|
+
`& .${_Drawer.drawerClasses.paperAnchorDockedTop}`;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Drawer = require("@org/ui/material/Drawer");
|
|
4
|
+
"&.MuiDrawer-anchorBottom > .MuiDrawer-paper";
|
|
5
|
+
"&.MuiDrawer-anchorLeft > .MuiDrawer-paper";
|
|
6
|
+
"&.MuiDrawer-anchorRight > .MuiDrawer-paper";
|
|
7
|
+
"&.MuiDrawer-anchorTop > .MuiDrawer-paper";
|
|
8
|
+
"&.MuiDrawer-docked.MuiDrawer-anchorBottom > .MuiDrawer-paper";
|
|
9
|
+
"&.MuiDrawer-docked.MuiDrawer-anchorLeft > .MuiDrawer-paper";
|
|
10
|
+
"&.MuiDrawer-docked.MuiDrawer-anchorRight > .MuiDrawer-paper";
|
|
11
|
+
"&.MuiDrawer-docked.MuiDrawer-anchorTop > .MuiDrawer-paper";
|
|
12
|
+
`&.${_Drawer.drawerClasses.anchorBottom} > .${_Drawer.drawerClasses.paper}`;
|
|
13
|
+
`&.${_Drawer.drawerClasses.anchorLeft} > .${_Drawer.drawerClasses.paper}`;
|
|
14
|
+
`&.${_Drawer.drawerClasses.anchorRight} > .${_Drawer.drawerClasses.paper}`;
|
|
15
|
+
`&.${_Drawer.drawerClasses.anchorTop} > .${_Drawer.drawerClasses.paper}`;
|
|
16
|
+
`&.${_Drawer.drawerClasses.docked}.${_Drawer.drawerClasses.anchorBottom} > .${_Drawer.drawerClasses.paper}`;
|
|
17
|
+
`&.${_Drawer.drawerClasses.docked}.${_Drawer.drawerClasses.anchorLeft} > .${_Drawer.drawerClasses.paper}`;
|
|
18
|
+
`&.${_Drawer.drawerClasses.docked}.${_Drawer.drawerClasses.anchorRight} > .${_Drawer.drawerClasses.paper}`;
|
|
19
|
+
`&.${_Drawer.drawerClasses.docked}.${_Drawer.drawerClasses.anchorTop} > .${_Drawer.drawerClasses.paper}`;
|
|
@@ -17,48 +17,56 @@ function transformer(file, api, options) {
|
|
|
17
17
|
const printOptions = options.printOptions;
|
|
18
18
|
(0, _movePropIntoSlots.default)(j, {
|
|
19
19
|
root,
|
|
20
|
+
packageName: options.packageName,
|
|
20
21
|
componentName: 'Drawer',
|
|
21
22
|
propName: 'BackdropComponent',
|
|
22
23
|
slotName: 'backdrop'
|
|
23
24
|
});
|
|
24
25
|
(0, _movePropIntoSlots.default)(j, {
|
|
25
26
|
root,
|
|
27
|
+
packageName: options.packageName,
|
|
26
28
|
componentName: 'SwipeableDrawer',
|
|
27
29
|
propName: 'BackdropComponent',
|
|
28
30
|
slotName: 'backdrop'
|
|
29
31
|
});
|
|
30
32
|
(0, _movePropIntoSlotProps.default)(j, {
|
|
31
33
|
root,
|
|
34
|
+
packageName: options.packageName,
|
|
32
35
|
componentName: 'Drawer',
|
|
33
36
|
propName: 'BackdropProps',
|
|
34
37
|
slotName: 'backdrop'
|
|
35
38
|
});
|
|
36
39
|
(0, _movePropIntoSlotProps.default)(j, {
|
|
37
40
|
root,
|
|
41
|
+
packageName: options.packageName,
|
|
38
42
|
componentName: 'SwipeableDrawer',
|
|
39
43
|
propName: 'BackdropProps',
|
|
40
44
|
slotName: 'backdrop'
|
|
41
45
|
});
|
|
42
46
|
(0, _movePropIntoSlotProps.default)(j, {
|
|
43
47
|
root,
|
|
48
|
+
packageName: options.packageName,
|
|
44
49
|
componentName: 'Drawer',
|
|
45
50
|
propName: 'PaperProps',
|
|
46
51
|
slotName: 'paper'
|
|
47
52
|
});
|
|
48
53
|
(0, _movePropIntoSlotProps.default)(j, {
|
|
49
54
|
root,
|
|
55
|
+
packageName: options.packageName,
|
|
50
56
|
componentName: 'SwipeableDrawer',
|
|
51
57
|
propName: 'PaperProps',
|
|
52
58
|
slotName: 'paper'
|
|
53
59
|
});
|
|
54
60
|
(0, _movePropIntoSlotProps.default)(j, {
|
|
55
61
|
root,
|
|
62
|
+
packageName: options.packageName,
|
|
56
63
|
componentName: 'Drawer',
|
|
57
64
|
propName: 'SlideProps',
|
|
58
65
|
slotName: 'transition'
|
|
59
66
|
});
|
|
60
67
|
(0, _movePropIntoSlotProps.default)(j, {
|
|
61
68
|
root,
|
|
69
|
+
packageName: options.packageName,
|
|
62
70
|
componentName: 'SwipeableDrawer',
|
|
63
71
|
propName: 'SlideProps',
|
|
64
72
|
slotName: 'transition'
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _Drawer = _interopRequireDefault(require("@org/ui/material/Drawer"));
|
|
5
|
+
var _SwipeableDrawer = _interopRequireDefault(require("@org/ui/material/SwipeableDrawer"));
|
|
6
|
+
var _material = require("@org/ui/material");
|
|
7
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
8
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, {
|
|
9
|
+
BackdropComponent: Backdrop,
|
|
10
|
+
BackdropProps: {
|
|
11
|
+
transitionDuration: 300
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, {
|
|
15
|
+
BackdropComponent: Backdrop,
|
|
16
|
+
BackdropProps: {
|
|
17
|
+
transitionDuration: 300
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, {
|
|
21
|
+
PaperProps: {
|
|
22
|
+
elevation: 20
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, {
|
|
26
|
+
PaperProps: {
|
|
27
|
+
elevation: 20
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, {
|
|
31
|
+
SlideProps: {
|
|
32
|
+
direction: 'right'
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, {
|
|
36
|
+
SlideProps: {
|
|
37
|
+
direction: 'right'
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Drawer, {
|
|
41
|
+
BackdropComponent: Backdrop,
|
|
42
|
+
BackdropProps: {
|
|
43
|
+
transitionDuration: 300
|
|
44
|
+
},
|
|
45
|
+
PaperProps: {
|
|
46
|
+
elevation: 20
|
|
47
|
+
},
|
|
48
|
+
SlideProps: {
|
|
49
|
+
direction: 'right'
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.SwipeableDrawer, {
|
|
53
|
+
BackdropComponent: Backdrop,
|
|
54
|
+
BackdropProps: {
|
|
55
|
+
transitionDuration: 300
|
|
56
|
+
},
|
|
57
|
+
PaperProps: {
|
|
58
|
+
elevation: 20
|
|
59
|
+
},
|
|
60
|
+
SlideProps: {
|
|
61
|
+
direction: 'right'
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(CustomDrawer, {
|
|
65
|
+
PopperComponent: CustomPopper,
|
|
66
|
+
TransitionComponent: CustomTransition,
|
|
67
|
+
PopperProps: {
|
|
68
|
+
disablePortal: true
|
|
69
|
+
},
|
|
70
|
+
TransitionProps: {
|
|
71
|
+
timeout: 200
|
|
72
|
+
}
|
|
73
|
+
});
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _Drawer = _interopRequireDefault(require("@org/ui/material/Drawer"));
|
|
5
|
+
var _SwipeableDrawer = _interopRequireDefault(require("@org/ui/material/SwipeableDrawer"));
|
|
6
|
+
var _material = require("@org/ui/material");
|
|
7
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
8
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, {
|
|
9
|
+
slots: {
|
|
10
|
+
backdrop: Backdrop
|
|
11
|
+
},
|
|
12
|
+
slotProps: {
|
|
13
|
+
backdrop: {
|
|
14
|
+
transitionDuration: 300
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, {
|
|
19
|
+
slots: {
|
|
20
|
+
backdrop: Backdrop
|
|
21
|
+
},
|
|
22
|
+
slotProps: {
|
|
23
|
+
backdrop: {
|
|
24
|
+
transitionDuration: 300
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, {
|
|
29
|
+
slotProps: {
|
|
30
|
+
paper: {
|
|
31
|
+
elevation: 20
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, {
|
|
36
|
+
slotProps: {
|
|
37
|
+
paper: {
|
|
38
|
+
elevation: 20
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_Drawer.default, {
|
|
43
|
+
slotProps: {
|
|
44
|
+
transition: {
|
|
45
|
+
direction: 'right'
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_SwipeableDrawer.default, {
|
|
50
|
+
slotProps: {
|
|
51
|
+
transition: {
|
|
52
|
+
direction: 'right'
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Drawer, {
|
|
57
|
+
slots: {
|
|
58
|
+
backdrop: Backdrop
|
|
59
|
+
},
|
|
60
|
+
slotProps: {
|
|
61
|
+
backdrop: {
|
|
62
|
+
transitionDuration: 300
|
|
63
|
+
},
|
|
64
|
+
paper: {
|
|
65
|
+
elevation: 20
|
|
66
|
+
},
|
|
67
|
+
transition: {
|
|
68
|
+
direction: 'right'
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.SwipeableDrawer, {
|
|
73
|
+
slots: {
|
|
74
|
+
backdrop: Backdrop
|
|
75
|
+
},
|
|
76
|
+
slotProps: {
|
|
77
|
+
backdrop: {
|
|
78
|
+
transitionDuration: 300
|
|
79
|
+
},
|
|
80
|
+
paper: {
|
|
81
|
+
elevation: 20
|
|
82
|
+
},
|
|
83
|
+
transition: {
|
|
84
|
+
direction: 'right'
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(CustomDrawer, {
|
|
89
|
+
PopperComponent: CustomPopper,
|
|
90
|
+
TransitionComponent: CustomTransition,
|
|
91
|
+
PopperProps: {
|
|
92
|
+
disablePortal: true
|
|
93
|
+
},
|
|
94
|
+
TransitionProps: {
|
|
95
|
+
timeout: 200
|
|
96
|
+
}
|
|
97
|
+
});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _FilledInput = _interopRequireDefault(require("@org/ui/material/FilledInput"));
|
|
5
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
6
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
7
|
+
components: {
|
|
8
|
+
Input: ComponentsInput
|
|
9
|
+
},
|
|
10
|
+
componentsProps: {
|
|
11
|
+
input: componentsInputProps
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
15
|
+
slots: {
|
|
16
|
+
root: SlotsRoot
|
|
17
|
+
},
|
|
18
|
+
components: {
|
|
19
|
+
Input: ComponentsInput
|
|
20
|
+
},
|
|
21
|
+
slotProps: {
|
|
22
|
+
root: slotsRootProps
|
|
23
|
+
},
|
|
24
|
+
componentsProps: {
|
|
25
|
+
input: componentsInputProps
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
29
|
+
slots: {
|
|
30
|
+
root: SlotsRoot,
|
|
31
|
+
input: SlotsInput
|
|
32
|
+
},
|
|
33
|
+
components: {
|
|
34
|
+
Input: ComponentsInput
|
|
35
|
+
},
|
|
36
|
+
slotProps: {
|
|
37
|
+
root: slotsRootProps,
|
|
38
|
+
input: slotsInputProps
|
|
39
|
+
},
|
|
40
|
+
componentsProps: {
|
|
41
|
+
input: componentsInputProps
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
45
|
+
slots: {
|
|
46
|
+
root: SlotsRoot,
|
|
47
|
+
input: SlotsInput
|
|
48
|
+
},
|
|
49
|
+
components: {
|
|
50
|
+
Input: ComponentsInput
|
|
51
|
+
},
|
|
52
|
+
slotProps: {
|
|
53
|
+
root: slotsRootProps,
|
|
54
|
+
input: slotsInputProps
|
|
55
|
+
},
|
|
56
|
+
componentsProps: {
|
|
57
|
+
input: componentsInputProps,
|
|
58
|
+
root: componentsRootProps
|
|
59
|
+
}
|
|
60
|
+
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _FilledInput = _interopRequireDefault(require("@org/ui/material/FilledInput"));
|
|
5
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
6
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
7
|
+
slots: {
|
|
8
|
+
input: ComponentsInput
|
|
9
|
+
},
|
|
10
|
+
slotProps: {
|
|
11
|
+
input: componentsInputProps
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
15
|
+
slots: {
|
|
16
|
+
root: SlotsRoot,
|
|
17
|
+
input: ComponentsInput
|
|
18
|
+
},
|
|
19
|
+
slotProps: {
|
|
20
|
+
root: slotsRootProps,
|
|
21
|
+
input: componentsInputProps
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
25
|
+
slots: {
|
|
26
|
+
root: SlotsRoot,
|
|
27
|
+
input: SlotsInput
|
|
28
|
+
},
|
|
29
|
+
slotProps: {
|
|
30
|
+
root: slotsRootProps,
|
|
31
|
+
input: {
|
|
32
|
+
...componentsInputProps,
|
|
33
|
+
...slotsInputProps
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FilledInput.default, {
|
|
38
|
+
slots: {
|
|
39
|
+
root: SlotsRoot,
|
|
40
|
+
input: SlotsInput
|
|
41
|
+
},
|
|
42
|
+
slotProps: {
|
|
43
|
+
input: {
|
|
44
|
+
...componentsInputProps,
|
|
45
|
+
...slotsInputProps
|
|
46
|
+
},
|
|
47
|
+
root: {
|
|
48
|
+
...componentsRootProps,
|
|
49
|
+
...slotsRootProps
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
@@ -16,6 +16,7 @@ function transformer(file, api, options) {
|
|
|
16
16
|
const printOptions = options.printOptions;
|
|
17
17
|
(0, _replaceComponentsWithSlots.default)(j, {
|
|
18
18
|
root,
|
|
19
|
+
packageName: options.packageName,
|
|
19
20
|
componentName: 'FormControlLabel'
|
|
20
21
|
});
|
|
21
22
|
return root.toSource(printOptions);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _FormControlLabel = _interopRequireDefault(require("@org/ui/material/FormControlLabel"));
|
|
5
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
6
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FormControlLabel.default, {
|
|
7
|
+
componentsProps: {
|
|
8
|
+
typography: componentsTypographyProps
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FormControlLabel.default, {
|
|
12
|
+
slots: {
|
|
13
|
+
typography: SlotsTypography
|
|
14
|
+
},
|
|
15
|
+
slotProps: {
|
|
16
|
+
typography: slotsTypographyProps
|
|
17
|
+
},
|
|
18
|
+
componentsProps: {
|
|
19
|
+
typography: componentsTypographyProps
|
|
20
|
+
}
|
|
21
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _FormControlLabel = _interopRequireDefault(require("@org/ui/material/FormControlLabel"));
|
|
5
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
6
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FormControlLabel.default, {
|
|
7
|
+
slotProps: {
|
|
8
|
+
typography: componentsTypographyProps
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_FormControlLabel.default, {
|
|
12
|
+
slots: {
|
|
13
|
+
typography: SlotsTypography
|
|
14
|
+
},
|
|
15
|
+
slotProps: {
|
|
16
|
+
typography: {
|
|
17
|
+
...componentsTypographyProps,
|
|
18
|
+
...slotsTypographyProps
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
@@ -18,7 +18,7 @@ function transformer(file, api, options) {
|
|
|
18
18
|
replacementSelector
|
|
19
19
|
}) => {
|
|
20
20
|
const replacementSelectorPrefix = '&';
|
|
21
|
-
root.find(j.ImportDeclaration).filter(path => path.node.source.value.match(
|
|
21
|
+
root.find(j.ImportDeclaration).filter(path => path.node.source.value.match(new RegExp(`^${options.packageName || '@mui/material'}(/ImageListItemBar)?$`))).forEach(path => {
|
|
22
22
|
path.node.specifiers.forEach(specifier => {
|
|
23
23
|
if (specifier.type === 'ImportSpecifier' && specifier.imported.name === 'imageListItemBarClasses') {
|
|
24
24
|
const deprecatedAtomicClass = deprecatedClass.replace(`${deprecatedClass.split('-')[0]}-`, '');
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _ImageListItemBar = require("@org/ui/material/ImageListItemBar");
|
|
4
|
+
'& .MuiImageListItemBar-titleWrapBelow';
|
|
5
|
+
'& .MuiImageListItemBar-titleWrapActionPosLeft';
|
|
6
|
+
'& .MuiImageListItemBar-titleWrapActionPosRight';
|
|
7
|
+
'& .MuiImageListItemBar-actionIconActionPosLeft';
|
|
8
|
+
`& .${_ImageListItemBar.imageListItemBarClasses.titleWrapBelow}`;
|
|
9
|
+
`& .${_ImageListItemBar.imageListItemBarClasses.titleWrapActionPosLeft}`;
|
|
10
|
+
`& .${_ImageListItemBar.imageListItemBarClasses.titleWrapActionPosRight}`;
|
|
11
|
+
`& .${_ImageListItemBar.imageListItemBarClasses.actionIconActionPosLeft}`;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _ImageListItemBar = require("@org/ui/material/ImageListItemBar");
|
|
4
|
+
"&.MuiImageListItemBar-positionBelow > .MuiImageListItemBar-titleWrap";
|
|
5
|
+
"&.MuiImageListItemBar-actionPositionLeft > .MuiImageListItemBar-titleWrap";
|
|
6
|
+
"&.MuiImageListItemBar-actionPositionRight > .MuiImageListItemBar-titleWrap";
|
|
7
|
+
"&.MuiImageListItemBar-actionPositionLeft > .MuiImageListItemBar-actionIcon";
|
|
8
|
+
`&.${_ImageListItemBar.imageListItemBarClasses.positionBelow} > .${_ImageListItemBar.imageListItemBarClasses.titleWrap}`;
|
|
9
|
+
`&.${_ImageListItemBar.imageListItemBarClasses.actionPositionLeft} > .${_ImageListItemBar.imageListItemBarClasses.titleWrap}`;
|
|
10
|
+
`&.${_ImageListItemBar.imageListItemBarClasses.actionPositionRight} > .${_ImageListItemBar.imageListItemBarClasses.titleWrap}`;
|
|
11
|
+
`&.${_ImageListItemBar.imageListItemBarClasses.actionPositionLeft} > .${_ImageListItemBar.imageListItemBarClasses.actionIcon}`;
|
|
@@ -18,7 +18,7 @@ function transformer(file, api, options) {
|
|
|
18
18
|
replacementSelector
|
|
19
19
|
}) => {
|
|
20
20
|
const replacementSelectorPrefix = '&';
|
|
21
|
-
root.find(j.ImportDeclaration).filter(path => path.node.source.value.match(
|
|
21
|
+
root.find(j.ImportDeclaration).filter(path => path.node.source.value.match(new RegExp(`^${options.packageName || '@mui/material'}(/InputBase)?$`))).forEach(path => {
|
|
22
22
|
path.node.specifiers.forEach(specifier => {
|
|
23
23
|
if (specifier.type === 'ImportSpecifier' && specifier.imported.name === 'inputBaseClasses') {
|
|
24
24
|
const deprecatedAtomicClass = deprecatedClass.replace(`${deprecatedClass.split('-')[0]}-`, '');
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _InputBase = require("@org/ui/material/InputBase");
|
|
4
|
+
'& .MuiInputBase-inputHiddenLabel';
|
|
5
|
+
'& .MuiInputBase-inputMultiline';
|
|
6
|
+
'& .MuiInputBase-inputAdornedStart';
|
|
7
|
+
'& .MuiInputBase-inputAdornedEnd';
|
|
8
|
+
'& .MuiInputBase-inputSizeSmall';
|
|
9
|
+
`& .${_InputBase.inputBaseClasses.inputHiddenLabel}`;
|
|
10
|
+
`& .${_InputBase.inputBaseClasses.inputMultiline}`;
|
|
11
|
+
`& .${_InputBase.inputBaseClasses.inputAdornedStart}`;
|
|
12
|
+
`& .${_InputBase.inputBaseClasses.inputAdornedEnd}`;
|
|
13
|
+
`& .${_InputBase.inputBaseClasses.inputSizeSmall}`;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _InputBase = require("@org/ui/material/InputBase");
|
|
4
|
+
"&.MuiInputBase-hiddenLabel > .MuiInputBase-input";
|
|
5
|
+
"&.MuiInputBase-multiline > .MuiInputBase-input";
|
|
6
|
+
"&.MuiInputBase-adornedStart > .MuiInputBase-input";
|
|
7
|
+
"&.MuiInputBase-adornedEnd > .MuiInputBase-input";
|
|
8
|
+
"&.MuiInputBase-sizeSmall > .MuiInputBase-input";
|
|
9
|
+
`&.${_InputBase.inputBaseClasses.hiddenLabel} > .${_InputBase.inputBaseClasses.input}`;
|
|
10
|
+
`&.${_InputBase.inputBaseClasses.multiline} > .${_InputBase.inputBaseClasses.input}`;
|
|
11
|
+
`&.${_InputBase.inputBaseClasses.adornedStart} > .${_InputBase.inputBaseClasses.input}`;
|
|
12
|
+
`&.${_InputBase.inputBaseClasses.adornedEnd} > .${_InputBase.inputBaseClasses.input}`;
|
|
13
|
+
`&.${_InputBase.inputBaseClasses.sizeSmall} > .${_InputBase.inputBaseClasses.input}`;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _InputBase = _interopRequireDefault(require("@org/ui/material/InputBase"));
|
|
5
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
6
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, {
|
|
7
|
+
components: {
|
|
8
|
+
Input: ComponentsInput
|
|
9
|
+
},
|
|
10
|
+
componentsProps: {
|
|
11
|
+
input: componentsInputProps
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, {
|
|
15
|
+
slots: {
|
|
16
|
+
root: SlotsRoot
|
|
17
|
+
},
|
|
18
|
+
components: {
|
|
19
|
+
Input: ComponentsInput
|
|
20
|
+
},
|
|
21
|
+
slotProps: {
|
|
22
|
+
root: slotsRootProps
|
|
23
|
+
},
|
|
24
|
+
componentsProps: {
|
|
25
|
+
input: componentsInputProps
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, {
|
|
29
|
+
slots: {
|
|
30
|
+
root: SlotsRoot,
|
|
31
|
+
input: SlotsInput
|
|
32
|
+
},
|
|
33
|
+
components: {
|
|
34
|
+
Input: ComponentsInput
|
|
35
|
+
},
|
|
36
|
+
slotProps: {
|
|
37
|
+
root: slotsRootProps,
|
|
38
|
+
input: slotsInputProps
|
|
39
|
+
},
|
|
40
|
+
componentsProps: {
|
|
41
|
+
input: componentsInputProps
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
/*#__PURE__*/(0, _jsxRuntime.jsx)(_InputBase.default, {
|
|
45
|
+
slots: {
|
|
46
|
+
root: SlotsRoot,
|
|
47
|
+
input: SlotsInput
|
|
48
|
+
},
|
|
49
|
+
components: {
|
|
50
|
+
Input: ComponentsInput
|
|
51
|
+
},
|
|
52
|
+
slotProps: {
|
|
53
|
+
root: slotsRootProps,
|
|
54
|
+
input: slotsInputProps
|
|
55
|
+
},
|
|
56
|
+
componentsProps: {
|
|
57
|
+
input: componentsInputProps,
|
|
58
|
+
root: componentsRootProps
|
|
59
|
+
}
|
|
60
|
+
});
|