@mui/material 5.5.0 → 5.5.3
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/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.d.ts +3 -1
- package/Alert/Alert.js +3 -1
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/AppBar.d.ts +3 -1
- package/AppBar/AppBar.js +3 -1
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.js +1 -1
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.d.ts +32 -15
- package/Backdrop/Backdrop.js +26 -20
- package/Backdrop/backdropClasses.d.ts +10 -0
- package/Backdrop/backdropClasses.js +6 -0
- package/Backdrop/index.d.ts +3 -0
- package/Backdrop/index.js +2 -1
- package/Badge/Badge.d.ts +3 -1
- package/Badge/Badge.js +3 -1
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/Button.d.ts +3 -1
- package/Button/Button.js +3 -1
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/ButtonBase.js +7 -7
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.d.ts +3 -1
- package/ButtonGroup/ButtonGroup.js +3 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +206 -0
- package/Card/Card.d.ts +1 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/Checkbox.d.ts +3 -1
- package/Checkbox/Checkbox.js +3 -1
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/Chip.d.ts +3 -1
- package/Chip/Chip.js +3 -1
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/CircularProgress.d.ts +3 -1
- package/CircularProgress/CircularProgress.js +3 -1
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +22 -22
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.d.ts +3 -1
- package/Fab/Fab.js +4 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +4 -2
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/FormControl.d.ts +3 -1
- package/FormControl/FormControl.js +3 -1
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/FormControlLabel/FormControlLabel.js +14 -9
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.d.ts +3 -1
- package/FormLabel/FormLabel.js +3 -1
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/Grid.js +10 -14
- package/Grid/gridClasses.d.ts +48 -48
- package/Grow/Grow.js +11 -5
- package/Icon/Icon.d.ts +3 -1
- package/Icon/Icon.js +3 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.d.ts +3 -1
- package/IconButton/IconButton.js +3 -1
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +4 -2
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +4 -2
- package/InputBase/InputBase.js +4 -2
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/InputLabel.js +3 -1
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/LinearProgress.d.ts +3 -1
- package/LinearProgress/LinearProgress.js +3 -1
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/NotchedOutline.js +3 -1
- package/OutlinedInput/OutlinedInput.js +4 -2
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/Pagination.d.ts +2 -0
- package/Pagination/Pagination.js +2 -0
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.d.ts +2 -0
- package/PaginationItem/PaginationItem.js +2 -0
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +29 -17
- package/Popper/Popper.js +21 -6
- package/README.md +1 -0
- package/Radio/Radio.d.ts +3 -1
- package/Radio/Radio.js +3 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Slider/Slider.d.ts +3 -1
- package/Slider/Slider.js +3 -1
- package/Snackbar/Snackbar.js +1 -1
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.d.ts +3 -1
- package/SvgIcon/SvgIcon.js +3 -1
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/Switch.d.ts +3 -1
- package/Switch/Switch.js +3 -1
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/TextField.d.ts +3 -1
- package/TextField/TextField.js +3 -1
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/ToggleButton.d.ts +2 -0
- package/ToggleButton/ToggleButton.js +2 -0
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_TrapFocus/index.d.ts +2 -2
- package/Unstable_TrapFocus/index.js +1 -1
- package/className/index.d.ts +8 -8
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +3 -1
- package/legacy/AppBar/AppBar.js +3 -1
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/Backdrop/Backdrop.js +27 -20
- package/legacy/Backdrop/backdropClasses.js +6 -0
- package/legacy/Backdrop/index.js +2 -1
- package/legacy/Badge/Badge.js +3 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Button/Button.js +3 -1
- package/legacy/ButtonBase/ButtonBase.js +11 -11
- package/legacy/ButtonGroup/ButtonGroup.js +3 -1
- package/legacy/Checkbox/Checkbox.js +3 -1
- package/legacy/Chip/Chip.js +3 -1
- package/legacy/CircularProgress/CircularProgress.js +3 -1
- package/legacy/Fab/Fab.js +4 -1
- package/legacy/FilledInput/FilledInput.js +4 -2
- package/legacy/FormControl/FormControl.js +3 -1
- package/legacy/FormControlLabel/FormControlLabel.js +14 -9
- package/legacy/FormLabel/FormLabel.js +3 -1
- package/legacy/Grid/Grid.js +11 -17
- package/legacy/Grow/Grow.js +11 -5
- package/legacy/Icon/Icon.js +3 -1
- package/legacy/IconButton/IconButton.js +3 -1
- package/legacy/Input/Input.js +4 -2
- package/legacy/InputBase/InputBase.js +4 -2
- package/legacy/InputLabel/InputLabel.js +3 -1
- package/legacy/LinearProgress/LinearProgress.js +3 -1
- package/legacy/OutlinedInput/NotchedOutline.js +3 -1
- package/legacy/OutlinedInput/OutlinedInput.js +4 -2
- package/legacy/Pagination/Pagination.js +2 -0
- package/legacy/PaginationItem/PaginationItem.js +2 -0
- package/legacy/Popper/Popper.js +23 -6
- package/legacy/Radio/Radio.js +3 -1
- package/legacy/Slider/Slider.js +3 -1
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +3 -1
- package/legacy/Switch/Switch.js +3 -1
- package/legacy/TextField/TextField.js +3 -1
- package/legacy/ToggleButton/ToggleButton.js +2 -0
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- package/legacy/Unstable_TrapFocus/index.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +149 -64
- package/legacy/styles/zIndex.js +1 -0
- package/locale/index.d.ts +71 -70
- package/locale/index.js +84 -0
- package/modern/Alert/Alert.js +3 -1
- package/modern/AppBar/AppBar.js +3 -1
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/Backdrop/Backdrop.js +25 -19
- package/modern/Backdrop/backdropClasses.js +6 -0
- package/modern/Backdrop/index.js +2 -1
- package/modern/Badge/Badge.js +3 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Button/Button.js +3 -1
- package/modern/ButtonBase/ButtonBase.js +7 -7
- package/modern/ButtonGroup/ButtonGroup.js +3 -1
- package/modern/Checkbox/Checkbox.js +3 -1
- package/modern/Chip/Chip.js +3 -1
- package/modern/CircularProgress/CircularProgress.js +3 -1
- package/modern/Fab/Fab.js +4 -1
- package/modern/FilledInput/FilledInput.js +4 -2
- package/modern/FormControl/FormControl.js +3 -1
- package/modern/FormControlLabel/FormControlLabel.js +14 -9
- package/modern/FormLabel/FormLabel.js +3 -1
- package/modern/Grid/Grid.js +10 -14
- package/modern/Grow/Grow.js +11 -5
- package/modern/Icon/Icon.js +3 -1
- package/modern/IconButton/IconButton.js +3 -1
- package/modern/Input/Input.js +4 -2
- package/modern/InputBase/InputBase.js +4 -2
- package/modern/InputLabel/InputLabel.js +3 -1
- package/modern/LinearProgress/LinearProgress.js +3 -1
- package/modern/OutlinedInput/NotchedOutline.js +3 -1
- package/modern/OutlinedInput/OutlinedInput.js +4 -2
- package/modern/Pagination/Pagination.js +2 -0
- package/modern/PaginationItem/PaginationItem.js +2 -0
- package/modern/Popper/Popper.js +21 -6
- package/modern/Radio/Radio.js +3 -1
- package/modern/Slider/Slider.js +3 -1
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +3 -1
- package/modern/Switch/Switch.js +3 -1
- package/modern/TextField/TextField.js +3 -1
- package/modern/ToggleButton/ToggleButton.js +2 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- package/modern/Unstable_TrapFocus/index.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +84 -0
- package/modern/styles/zIndex.js +1 -0
- package/node/Alert/Alert.js +3 -1
- package/node/AppBar/AppBar.js +3 -1
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/Backdrop/Backdrop.js +28 -23
- package/node/Backdrop/backdropClasses.js +17 -0
- package/node/Backdrop/index.js +17 -5
- package/node/Badge/Badge.js +3 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Button/Button.js +3 -1
- package/node/ButtonBase/ButtonBase.js +7 -7
- package/node/ButtonGroup/ButtonGroup.js +3 -1
- package/node/Checkbox/Checkbox.js +3 -1
- package/node/Chip/Chip.js +3 -1
- package/node/CircularProgress/CircularProgress.js +3 -1
- package/node/Fab/Fab.js +4 -1
- package/node/FilledInput/FilledInput.js +4 -2
- package/node/FormControl/FormControl.js +3 -1
- package/node/FormControlLabel/FormControlLabel.js +14 -9
- package/node/FormLabel/FormLabel.js +3 -1
- package/node/Grid/Grid.js +10 -14
- package/node/Grow/Grow.js +10 -4
- package/node/Icon/Icon.js +3 -1
- package/node/IconButton/IconButton.js +3 -1
- package/node/Input/Input.js +4 -2
- package/node/InputBase/InputBase.js +4 -2
- package/node/InputLabel/InputLabel.js +3 -1
- package/node/LinearProgress/LinearProgress.js +3 -1
- package/node/OutlinedInput/NotchedOutline.js +3 -1
- package/node/OutlinedInput/OutlinedInput.js +4 -2
- package/node/Pagination/Pagination.js +2 -0
- package/node/PaginationItem/PaginationItem.js +2 -0
- package/node/Popper/Popper.js +24 -7
- package/node/Radio/Radio.js +3 -1
- package/node/Slider/Slider.js +3 -1
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/SvgIcon/SvgIcon.js +3 -1
- package/node/Switch/Switch.js +3 -1
- package/node/TextField/TextField.js +3 -1
- package/node/ToggleButton/ToggleButton.js +2 -0
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- package/node/Unstable_TrapFocus/index.js +2 -2
- package/node/index.js +1 -1
- package/node/locale/index.js +87 -2
- package/node/styles/zIndex.js +1 -0
- package/package.json +5 -5
- package/styles/components.d.ts +3 -0
- package/styles/props.d.ts +2 -0
- package/styles/zIndex.d.ts +1 -0
- package/styles/zIndex.js +1 -0
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +320 -319
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/usePagination/usePagination.d.ts +1 -1
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -258,7 +258,9 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
258
258
|
classes: _propTypes.default.object,
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
|
-
* The color of the component.
|
|
261
|
+
* The color of the component.
|
|
262
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
263
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
262
264
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
263
265
|
*/
|
|
264
266
|
color: _propTypes.default
|
|
@@ -366,7 +368,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
366
368
|
minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
367
369
|
|
|
368
370
|
/**
|
|
369
|
-
* If `true`, a
|
|
371
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
370
372
|
* @default false
|
|
371
373
|
*/
|
|
372
374
|
multiline: _propTypes.default.bool,
|
|
@@ -271,7 +271,9 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes
|
|
|
271
271
|
className: _propTypes.default.string,
|
|
272
272
|
|
|
273
273
|
/**
|
|
274
|
-
* The color of the component.
|
|
274
|
+
* The color of the component.
|
|
275
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
276
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
275
277
|
* @default 'primary'
|
|
276
278
|
*/
|
|
277
279
|
color: _propTypes.default
|
|
@@ -119,7 +119,7 @@ const FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel
|
|
|
119
119
|
control,
|
|
120
120
|
disabled: disabledProp,
|
|
121
121
|
disableTypography,
|
|
122
|
-
label,
|
|
122
|
+
label: labelProp,
|
|
123
123
|
labelPlacement = 'end'
|
|
124
124
|
} = props,
|
|
125
125
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
@@ -149,22 +149,27 @@ const FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel
|
|
|
149
149
|
});
|
|
150
150
|
const ownerState = (0, _extends2.default)({}, props, {
|
|
151
151
|
disabled,
|
|
152
|
-
label,
|
|
153
152
|
labelPlacement,
|
|
154
153
|
error: fcs.error
|
|
155
154
|
});
|
|
156
155
|
const classes = useUtilityClasses(ownerState);
|
|
156
|
+
let label = labelProp;
|
|
157
|
+
|
|
158
|
+
if (label != null && label.type !== _Typography.default && !disableTypography) {
|
|
159
|
+
label = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, (0, _extends2.default)({
|
|
160
|
+
component: "span",
|
|
161
|
+
className: classes.label
|
|
162
|
+
}, componentsProps.typography, {
|
|
163
|
+
children: label
|
|
164
|
+
}));
|
|
165
|
+
}
|
|
166
|
+
|
|
157
167
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(FormControlLabelRoot, (0, _extends2.default)({
|
|
158
168
|
className: (0, _clsx.default)(classes.root, className),
|
|
159
169
|
ownerState: ownerState,
|
|
160
170
|
ref: ref
|
|
161
171
|
}, other, {
|
|
162
|
-
children: [/*#__PURE__*/React.cloneElement(control, controlProps), label
|
|
163
|
-
component: "span",
|
|
164
|
-
className: classes.label
|
|
165
|
-
}, componentsProps.typography, {
|
|
166
|
-
children: label
|
|
167
|
-
}))]
|
|
172
|
+
children: [/*#__PURE__*/React.cloneElement(control, controlProps), label]
|
|
168
173
|
}));
|
|
169
174
|
});
|
|
170
175
|
process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes
|
|
@@ -221,7 +226,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes
|
|
|
221
226
|
/**
|
|
222
227
|
* A text or an element to be used in an enclosing label element.
|
|
223
228
|
*/
|
|
224
|
-
label: _propTypes.default.
|
|
229
|
+
label: _propTypes.default.node,
|
|
225
230
|
|
|
226
231
|
/**
|
|
227
232
|
* The position of the label.
|
|
@@ -160,7 +160,9 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes
|
|
|
160
160
|
className: _propTypes.default.string,
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
|
-
* The color of the component.
|
|
163
|
+
* The color of the component.
|
|
164
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
165
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
164
166
|
*/
|
|
165
167
|
color: _propTypes.default
|
|
166
168
|
/* @typescript-to-proptypes-ignore */
|
package/node/Grid/Grid.js
CHANGED
|
@@ -338,10 +338,9 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
338
338
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
339
339
|
const rowSpacing = rowSpacingProp || spacing;
|
|
340
340
|
const columnSpacing = columnSpacingProp || spacing;
|
|
341
|
-
const columnsContext = React.useContext(_GridContext.default); //
|
|
342
|
-
// colums set with default breakpoint unit of 12
|
|
341
|
+
const columnsContext = React.useContext(_GridContext.default); // columns set with default breakpoint unit of 12
|
|
343
342
|
|
|
344
|
-
const columns = columnsProp ||
|
|
343
|
+
const columns = container ? columnsProp || 12 : columnsContext;
|
|
345
344
|
const ownerState = (0, _extends2.default)({}, props, {
|
|
346
345
|
columns,
|
|
347
346
|
container,
|
|
@@ -358,18 +357,15 @@ const Grid = /*#__PURE__*/React.forwardRef(function Grid(inProps, ref) {
|
|
|
358
357
|
zeroMinWidth
|
|
359
358
|
});
|
|
360
359
|
const classes = useUtilityClasses(ownerState);
|
|
361
|
-
|
|
362
|
-
const wrapChild = element => columns !== 12 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridContext.default.Provider, {
|
|
360
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_GridContext.default.Provider, {
|
|
363
361
|
value: columns,
|
|
364
|
-
children:
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
ref: ref
|
|
372
|
-
}, other)));
|
|
362
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(GridRoot, (0, _extends2.default)({
|
|
363
|
+
ownerState: ownerState,
|
|
364
|
+
className: (0, _clsx.default)(classes.root, className),
|
|
365
|
+
as: component,
|
|
366
|
+
ref: ref
|
|
367
|
+
}, other))
|
|
368
|
+
});
|
|
373
369
|
});
|
|
374
370
|
process.env.NODE_ENV !== "production" ? Grid.propTypes
|
|
375
371
|
/* remove-proptypes */
|
package/node/Grow/Grow.js
CHANGED
|
@@ -47,6 +47,12 @@ const styles = {
|
|
|
47
47
|
transform: 'none'
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* Conditionally apply a workaround for the CSS transition bug in Safari 15.4.
|
|
52
|
+
* Remove this workaround once the Safari bug is fixed.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
const isSafari154 = typeof navigator !== 'undefined' && /^((?!chrome|android).)*safari/i.test(navigator.userAgent) && /version\/15\.[4-9]/i.test(navigator.userAgent);
|
|
50
56
|
/**
|
|
51
57
|
* The Grow transition is used by the [Tooltip](/components/tooltips/) and
|
|
52
58
|
* [Popover](/components/popover/) components.
|
|
@@ -119,7 +125,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
119
125
|
duration,
|
|
120
126
|
delay
|
|
121
127
|
}), theme.transitions.create('transform', {
|
|
122
|
-
duration: duration * 0.666,
|
|
128
|
+
duration: isSafari154 ? duration : duration * 0.666,
|
|
123
129
|
delay,
|
|
124
130
|
easing: transitionTimingFunction
|
|
125
131
|
})].join(',');
|
|
@@ -155,11 +161,11 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
155
161
|
duration,
|
|
156
162
|
delay
|
|
157
163
|
}), theme.transitions.create('transform', {
|
|
158
|
-
duration: duration * 0.666,
|
|
159
|
-
delay: delay || duration * 0.333,
|
|
164
|
+
duration: isSafari154 ? duration : duration * 0.666,
|
|
165
|
+
delay: isSafari154 ? delay : delay || duration * 0.333,
|
|
160
166
|
easing: transitionTimingFunction
|
|
161
167
|
})].join(',');
|
|
162
|
-
node.style.opacity =
|
|
168
|
+
node.style.opacity = 0;
|
|
163
169
|
node.style.transform = getScale(0.75);
|
|
164
170
|
|
|
165
171
|
if (onExit) {
|
package/node/Icon/Icon.js
CHANGED
|
@@ -151,7 +151,9 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes
|
|
|
151
151
|
className: _propTypes.default.string,
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* The color of the component.
|
|
154
|
+
* The color of the component.
|
|
155
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
156
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
155
157
|
* @default 'inherit'
|
|
156
158
|
*/
|
|
157
159
|
color: _propTypes.default
|
|
@@ -189,7 +189,9 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes
|
|
|
189
189
|
className: _propTypes.default.string,
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
|
-
* The color of the component.
|
|
192
|
+
* The color of the component.
|
|
193
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
194
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
193
195
|
* @default 'default'
|
|
194
196
|
*/
|
|
195
197
|
color: _propTypes.default
|
package/node/Input/Input.js
CHANGED
|
@@ -194,7 +194,9 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
194
194
|
classes: _propTypes.default.object,
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
|
-
* The color of the component.
|
|
197
|
+
* The color of the component.
|
|
198
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
199
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
198
200
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
199
201
|
*/
|
|
200
202
|
color: _propTypes.default
|
|
@@ -294,7 +296,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
294
296
|
minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
295
297
|
|
|
296
298
|
/**
|
|
297
|
-
* If `true`, a
|
|
299
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
298
300
|
* @default false
|
|
299
301
|
*/
|
|
300
302
|
multiline: _propTypes.default.bool,
|
|
@@ -563,7 +563,9 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
563
563
|
className: _propTypes.default.string,
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
* The color of the component.
|
|
566
|
+
* The color of the component.
|
|
567
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
568
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
567
569
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
568
570
|
*/
|
|
569
571
|
color: _propTypes.default
|
|
@@ -665,7 +667,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
665
667
|
minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
666
668
|
|
|
667
669
|
/**
|
|
668
|
-
* If `true`, a
|
|
670
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
669
671
|
* @default false
|
|
670
672
|
*/
|
|
671
673
|
multiline: _propTypes.default.bool,
|
|
@@ -185,7 +185,9 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
|
|
|
185
185
|
classes: _propTypes.default.object,
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* The color of the component.
|
|
188
|
+
* The color of the component.
|
|
189
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
190
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
189
191
|
*/
|
|
190
192
|
color: _propTypes.default
|
|
191
193
|
/* @typescript-to-proptypes-ignore */
|
|
@@ -351,7 +351,9 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes
|
|
|
351
351
|
className: _propTypes.default.string,
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
|
-
* The color of the component.
|
|
354
|
+
* The color of the component.
|
|
355
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
356
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
355
357
|
* @default 'primary'
|
|
356
358
|
*/
|
|
357
359
|
color: _propTypes.default
|
|
@@ -77,7 +77,9 @@ const NotchedOutlineLegend = (0, _styled.default)('legend')(({
|
|
|
77
77
|
'& > span': {
|
|
78
78
|
paddingLeft: 5,
|
|
79
79
|
paddingRight: 5,
|
|
80
|
-
display: 'inline-block'
|
|
80
|
+
display: 'inline-block',
|
|
81
|
+
opacity: 0,
|
|
82
|
+
visibility: 'visible'
|
|
81
83
|
}
|
|
82
84
|
}, ownerState.notched && {
|
|
83
85
|
maxWidth: '100%',
|
|
@@ -202,7 +202,9 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
202
202
|
classes: _propTypes.default.object,
|
|
203
203
|
|
|
204
204
|
/**
|
|
205
|
-
* The color of the component.
|
|
205
|
+
* The color of the component.
|
|
206
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
207
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
206
208
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
207
209
|
*/
|
|
208
210
|
color: _propTypes.default
|
|
@@ -294,7 +296,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
294
296
|
minRows: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
295
297
|
|
|
296
298
|
/**
|
|
297
|
-
* If `true`, a
|
|
299
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
298
300
|
* @default false
|
|
299
301
|
*/
|
|
300
302
|
multiline: _propTypes.default.bool,
|
|
@@ -177,6 +177,8 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes
|
|
|
177
177
|
|
|
178
178
|
/**
|
|
179
179
|
* The active color.
|
|
180
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
181
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
180
182
|
* @default 'standard'
|
|
181
183
|
*/
|
|
182
184
|
color: _propTypes.default
|
|
@@ -327,6 +327,8 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
|
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* The active color.
|
|
330
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
331
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
330
332
|
* @default 'standard'
|
|
331
333
|
*/
|
|
332
334
|
color: _propTypes.default
|
package/node/Popper/Popper.js
CHANGED
|
@@ -9,15 +9,17 @@ exports.default = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
|
|
12
|
-
var React = _interopRequireWildcard(require("react"));
|
|
13
|
-
|
|
14
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
|
-
|
|
16
12
|
var _PopperUnstyled = _interopRequireDefault(require("@mui/base/PopperUnstyled"));
|
|
17
13
|
|
|
14
|
+
var _system = require("@mui/system");
|
|
15
|
+
|
|
18
16
|
var _utils = require("@mui/utils");
|
|
19
17
|
|
|
20
|
-
var
|
|
18
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
|
+
|
|
20
|
+
var React = _interopRequireWildcard(require("react"));
|
|
21
|
+
|
|
22
|
+
var _styles = require("../styles");
|
|
21
23
|
|
|
22
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
25
|
|
|
@@ -25,6 +27,11 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
25
27
|
|
|
26
28
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
27
29
|
|
|
30
|
+
const PopperRoot = (0, _styles.styled)(_PopperUnstyled.default, {
|
|
31
|
+
name: 'MuiPopper',
|
|
32
|
+
slot: 'Root',
|
|
33
|
+
overridesResolver: (props, styles) => styles.root
|
|
34
|
+
})({});
|
|
28
35
|
/**
|
|
29
36
|
*
|
|
30
37
|
* Demos:
|
|
@@ -37,9 +44,14 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
37
44
|
*
|
|
38
45
|
* - [Popper API](https://mui.com/api/popper/)
|
|
39
46
|
*/
|
|
40
|
-
|
|
47
|
+
|
|
48
|
+
const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
41
49
|
const theme = (0, _system.useThemeWithoutDefault)();
|
|
42
|
-
|
|
50
|
+
const props = (0, _styles.useThemeProps)({
|
|
51
|
+
props: inProps,
|
|
52
|
+
name: 'MuiPopper'
|
|
53
|
+
});
|
|
54
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(PopperRoot, (0, _extends2.default)({
|
|
43
55
|
direction: theme == null ? void 0 : theme.direction
|
|
44
56
|
}, props, {
|
|
45
57
|
ref: ref
|
|
@@ -143,6 +155,11 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes
|
|
|
143
155
|
*/
|
|
144
156
|
popperRef: _utils.refType,
|
|
145
157
|
|
|
158
|
+
/**
|
|
159
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
160
|
+
*/
|
|
161
|
+
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
|
|
162
|
+
|
|
146
163
|
/**
|
|
147
164
|
* Help supporting a react-transition-group/Transition component.
|
|
148
165
|
* @default false
|
package/node/Radio/Radio.js
CHANGED
|
@@ -179,7 +179,9 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes
|
|
|
179
179
|
classes: _propTypes.default.object,
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* The color of the component.
|
|
182
|
+
* The color of the component.
|
|
183
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
184
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
183
185
|
* @default 'primary'
|
|
184
186
|
*/
|
|
185
187
|
color: _propTypes.default
|
package/node/Slider/Slider.js
CHANGED
|
@@ -567,7 +567,9 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
|
|
|
567
567
|
classes: _propTypes.default.object,
|
|
568
568
|
|
|
569
569
|
/**
|
|
570
|
-
* The color of the component.
|
|
570
|
+
* The color of the component.
|
|
571
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
572
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
571
573
|
* @default 'primary'
|
|
572
574
|
*/
|
|
573
575
|
color: _propTypes.default
|
|
@@ -315,7 +315,7 @@ const Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(inProps, ref) {
|
|
|
315
315
|
onMouseLeave: handleMouseLeave,
|
|
316
316
|
ownerState: ownerState,
|
|
317
317
|
ref: ref // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
|
|
318
|
-
// See https://github.com/mui
|
|
318
|
+
// See https://github.com/mui/material-ui/issues/29080
|
|
319
319
|
,
|
|
320
320
|
role: "presentation"
|
|
321
321
|
}, other, {
|
package/node/SvgIcon/SvgIcon.js
CHANGED
|
@@ -157,7 +157,9 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes
|
|
|
157
157
|
className: _propTypes.default.string,
|
|
158
158
|
|
|
159
159
|
/**
|
|
160
|
-
* The color of the component.
|
|
160
|
+
* The color of the component.
|
|
161
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
162
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
161
163
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
162
164
|
* @default 'inherit'
|
|
163
165
|
*/
|
package/node/Switch/Switch.js
CHANGED
|
@@ -276,7 +276,9 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes
|
|
|
276
276
|
className: _propTypes.default.string,
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
|
-
* The color of the component.
|
|
279
|
+
* The color of the component.
|
|
280
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
281
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
280
282
|
* @default 'primary'
|
|
281
283
|
*/
|
|
282
284
|
color: _propTypes.default
|
|
@@ -274,7 +274,9 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
|
|
|
274
274
|
className: _propTypes.default.string,
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
|
-
* The color of the component.
|
|
277
|
+
* The color of the component.
|
|
278
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
279
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
278
280
|
* @default 'primary'
|
|
279
281
|
*/
|
|
280
282
|
color: _propTypes.default
|
|
@@ -188,6 +188,8 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes
|
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* The color of the button when it is in an active state.
|
|
191
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
192
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
191
193
|
* @default 'standard'
|
|
192
194
|
*/
|
|
193
195
|
color: _propTypes.default
|
|
@@ -214,7 +214,9 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes
|
|
|
214
214
|
className: _propTypes.default.string,
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* The color of
|
|
217
|
+
* The color of the button when it is selected.
|
|
218
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
219
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
218
220
|
* @default 'standard'
|
|
219
221
|
*/
|
|
220
222
|
color: _propTypes.default
|
|
@@ -8,8 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
Object.defineProperty(exports, "default", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
11
|
-
return
|
|
11
|
+
return _TrapFocus.default;
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _TrapFocus = _interopRequireDefault(require("@mui/base/TrapFocus"));
|
package/node/index.js
CHANGED
package/node/locale/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.zhTW = exports.zhHK = exports.zhCN = exports.viVN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.srRS = exports.skSK = exports.siLK = exports.ruRU = exports.roRO = exports.ptPT = exports.ptBR = exports.plPL = exports.nlNL = exports.nbNO = exports.kzKZ = exports.koKR = exports.khKH = exports.jaJP = exports.itIT = exports.isIS = exports.idID = exports.hyAM = exports.huHU = exports.hrHR = exports.hiIN = exports.heIL = exports.frFR = exports.fiFI = exports.faIR = exports.etEE = exports.esES = exports.enUS = exports.elGR = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.bnBD = exports.bgBG = exports.azAZ = exports.arSD = exports.arEG = exports.amET = void 0;
|
|
6
|
+
exports.zhTW = exports.zhHK = exports.zhCN = exports.viVN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.srRS = exports.skSK = exports.siLK = exports.ruRU = exports.roRO = exports.ptPT = exports.ptBR = exports.plPL = exports.nlNL = exports.nbNO = exports.mkMK = exports.kzKZ = exports.koKR = exports.khKH = exports.jaJP = exports.itIT = exports.isIS = exports.idID = exports.hyAM = exports.huHU = exports.hrHR = exports.hiIN = exports.heIL = exports.frFR = exports.fiFI = exports.faIR = exports.etEE = exports.esES = exports.enUS = exports.elGR = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.bnBD = exports.bgBG = exports.azAZ = exports.arSD = exports.arEG = exports.amET = void 0;
|
|
7
7
|
const amET = {
|
|
8
8
|
components: {
|
|
9
9
|
MuiBreadcrumbs: {
|
|
@@ -2315,8 +2315,93 @@ const kzKZ = {
|
|
|
2315
2315
|
}
|
|
2316
2316
|
}
|
|
2317
2317
|
}
|
|
2318
|
-
};
|
|
2318
|
+
}; // Macedonian - Македонски
|
|
2319
|
+
|
|
2319
2320
|
exports.kzKZ = kzKZ;
|
|
2321
|
+
const mkMK = {
|
|
2322
|
+
components: {
|
|
2323
|
+
MuiBreadcrumbs: {
|
|
2324
|
+
defaultProps: {
|
|
2325
|
+
expandText: 'Прикажи патека'
|
|
2326
|
+
}
|
|
2327
|
+
},
|
|
2328
|
+
MuiTablePagination: {
|
|
2329
|
+
defaultProps: {
|
|
2330
|
+
getItemAriaLabel: type => {
|
|
2331
|
+
if (type === 'first') {
|
|
2332
|
+
return 'Оди на прва страница';
|
|
2333
|
+
}
|
|
2334
|
+
|
|
2335
|
+
if (type === 'last') {
|
|
2336
|
+
return 'Оди на последна страница';
|
|
2337
|
+
}
|
|
2338
|
+
|
|
2339
|
+
if (type === 'next') {
|
|
2340
|
+
return 'Оди на следна страница';
|
|
2341
|
+
} // if (type === 'previous') {
|
|
2342
|
+
|
|
2343
|
+
|
|
2344
|
+
return 'Оди на предходна страница';
|
|
2345
|
+
},
|
|
2346
|
+
labelRowsPerPage: 'Редови по страница:',
|
|
2347
|
+
labelDisplayedRows: ({
|
|
2348
|
+
from,
|
|
2349
|
+
to,
|
|
2350
|
+
count
|
|
2351
|
+
}) => `${from}–${to} од ${count !== -1 ? count : `повеќе од ${to}`}`
|
|
2352
|
+
}
|
|
2353
|
+
},
|
|
2354
|
+
MuiRating: {
|
|
2355
|
+
defaultProps: {
|
|
2356
|
+
getLabelText: value => {
|
|
2357
|
+
const lastDigit = value % 10;
|
|
2358
|
+
return `${value} Ѕвезд${lastDigit === 1 ? 'а' : 'и'}`;
|
|
2359
|
+
},
|
|
2360
|
+
emptyLabelText: 'Празно'
|
|
2361
|
+
}
|
|
2362
|
+
},
|
|
2363
|
+
MuiAutocomplete: {
|
|
2364
|
+
defaultProps: {
|
|
2365
|
+
clearText: 'Избриши',
|
|
2366
|
+
closeText: 'Затвори',
|
|
2367
|
+
loadingText: 'Се презема',
|
|
2368
|
+
noOptionsText: 'Нема опција',
|
|
2369
|
+
openText: 'Отвори'
|
|
2370
|
+
}
|
|
2371
|
+
},
|
|
2372
|
+
MuiAlert: {
|
|
2373
|
+
defaultProps: {
|
|
2374
|
+
closeText: 'Затвори'
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
MuiPagination: {
|
|
2378
|
+
defaultProps: {
|
|
2379
|
+
'aria-label': 'Навигација низ страници',
|
|
2380
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
2381
|
+
if (type === 'page') {
|
|
2382
|
+
return `${selected ? '' : 'Оди на '}страница ${page}`;
|
|
2383
|
+
}
|
|
2384
|
+
|
|
2385
|
+
if (type === 'first') {
|
|
2386
|
+
return 'Оди на прва страница';
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
if (type === 'last') {
|
|
2390
|
+
return 'Оди на последна страница';
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2393
|
+
if (type === 'next') {
|
|
2394
|
+
return 'Оди на следна страница';
|
|
2395
|
+
} // if (type === 'previous') {
|
|
2396
|
+
|
|
2397
|
+
|
|
2398
|
+
return 'Оди на предходна страница';
|
|
2399
|
+
}
|
|
2400
|
+
}
|
|
2401
|
+
}
|
|
2402
|
+
}
|
|
2403
|
+
};
|
|
2404
|
+
exports.mkMK = mkMK;
|
|
2320
2405
|
const nbNO = {
|
|
2321
2406
|
components: {
|
|
2322
2407
|
MuiBreadcrumbs: {
|
package/node/styles/zIndex.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.17.2",
|
|
49
|
-
"@mui/base": "5.0.0-alpha.
|
|
50
|
-
"@mui/system": "^5.5.
|
|
51
|
-
"@mui/types": "^7.1.
|
|
52
|
-
"@mui/utils": "^5.
|
|
49
|
+
"@mui/base": "5.0.0-alpha.74",
|
|
50
|
+
"@mui/system": "^5.5.3",
|
|
51
|
+
"@mui/types": "^7.1.3",
|
|
52
|
+
"@mui/utils": "^5.5.3",
|
|
53
53
|
"@types/react-transition-group": "^4.4.4",
|
|
54
54
|
"clsx": "^1.1.1",
|
|
55
55
|
"csstype": "^3.0.11",
|
package/styles/components.d.ts
CHANGED
|
@@ -368,6 +368,9 @@ export interface Components<Theme = unknown> {
|
|
|
368
368
|
styleOverrides?: ComponentsOverrides<Theme>['MuiPaper'];
|
|
369
369
|
variants?: ComponentsVariants['MuiPaper'];
|
|
370
370
|
};
|
|
371
|
+
MuiPopper?: {
|
|
372
|
+
defaultProps?: ComponentsProps['MuiPopper'];
|
|
373
|
+
};
|
|
371
374
|
MuiPopover?: {
|
|
372
375
|
defaultProps?: ComponentsProps['MuiPopover'];
|
|
373
376
|
styleOverrides?: ComponentsOverrides<Theme>['MuiPopover'];
|