@mui/material 9.0.0-alpha.3 → 9.0.0-beta.0
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/Accordion.d.mts +0 -14
- package/Accordion/Accordion.d.ts +0 -14
- package/Accordion/Accordion.js +3 -25
- package/Accordion/Accordion.mjs +3 -25
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/AccordionSummary/AccordionSummary.mjs +1 -1
- package/AccordionSummary/accordionSummaryClasses.d.mts +0 -5
- package/AccordionSummary/accordionSummaryClasses.d.ts +0 -5
- package/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/AccordionSummary/accordionSummaryClasses.mjs +1 -1
- package/Alert/Alert.d.mts +0 -23
- package/Alert/Alert.d.ts +0 -23
- package/Alert/Alert.js +4 -36
- package/Alert/Alert.mjs +4 -36
- package/Alert/alertClasses.d.mts +0 -72
- package/Alert/alertClasses.d.ts +0 -72
- package/Alert/alertClasses.js +1 -1
- package/Alert/alertClasses.mjs +1 -1
- package/Autocomplete/Autocomplete.d.mts +10 -60
- package/Autocomplete/Autocomplete.d.ts +10 -60
- package/Autocomplete/Autocomplete.js +33 -99
- package/Autocomplete/Autocomplete.mjs +33 -99
- package/Avatar/Avatar.d.mts +0 -8
- package/Avatar/Avatar.d.ts +0 -8
- package/Avatar/Avatar.js +13 -35
- package/Avatar/Avatar.mjs +13 -35
- package/AvatarGroup/AvatarGroup.d.mts +0 -15
- package/AvatarGroup/AvatarGroup.d.ts +0 -15
- package/AvatarGroup/AvatarGroup.js +1 -18
- package/AvatarGroup/AvatarGroup.mjs +1 -18
- package/Backdrop/Backdrop.d.mts +1 -31
- package/Backdrop/Backdrop.d.ts +1 -31
- package/Backdrop/Backdrop.js +2 -42
- package/Backdrop/Backdrop.mjs +2 -42
- package/Badge/Badge.d.mts +0 -20
- package/Badge/Badge.d.ts +0 -20
- package/Badge/Badge.js +2 -35
- package/Badge/Badge.mjs +2 -35
- package/Button/Button.js +6 -6
- package/Button/Button.mjs +6 -6
- package/Button/buttonClasses.d.mts +0 -132
- package/Button/buttonClasses.d.ts +0 -132
- package/Button/buttonClasses.js +1 -1
- package/Button/buttonClasses.mjs +1 -1
- package/ButtonBase/ButtonBase.js +16 -2
- package/ButtonBase/ButtonBase.mjs +16 -2
- package/ButtonGroup/ButtonGroup.js +1 -9
- package/ButtonGroup/ButtonGroup.mjs +1 -9
- package/ButtonGroup/buttonGroupClasses.d.mts +0 -68
- package/ButtonGroup/buttonGroupClasses.d.ts +0 -68
- package/ButtonGroup/buttonGroupClasses.js +1 -1
- package/ButtonGroup/buttonGroupClasses.mjs +1 -1
- package/CHANGELOG.md +224 -3
- package/CardHeader/CardHeader.d.mts +13 -21
- package/CardHeader/CardHeader.d.ts +13 -21
- package/CardHeader/CardHeader.js +3 -21
- package/CardHeader/CardHeader.mjs +3 -21
- package/Checkbox/Checkbox.js +1 -7
- package/Checkbox/Checkbox.mjs +1 -7
- package/Chip/Chip.js +48 -54
- package/Chip/Chip.mjs +48 -54
- package/Chip/chipClasses.d.mts +0 -104
- package/Chip/chipClasses.d.ts +0 -104
- package/Chip/chipClasses.js +1 -1
- package/Chip/chipClasses.mjs +1 -1
- package/CircularProgress/CircularProgress.js +2 -2
- package/CircularProgress/CircularProgress.mjs +2 -2
- package/CircularProgress/circularProgressClasses.d.mts +0 -8
- package/CircularProgress/circularProgressClasses.d.ts +0 -8
- package/CircularProgress/circularProgressClasses.js +1 -1
- package/CircularProgress/circularProgressClasses.mjs +1 -1
- package/Dialog/Dialog.d.mts +0 -21
- package/Dialog/Dialog.d.ts +0 -21
- package/Dialog/Dialog.js +36 -73
- package/Dialog/Dialog.mjs +36 -73
- package/Dialog/dialogClasses.d.mts +0 -8
- package/Dialog/dialogClasses.d.ts +0 -8
- package/Dialog/dialogClasses.js +1 -1
- package/Dialog/dialogClasses.mjs +1 -1
- package/Divider/Divider.d.mts +0 -6
- package/Divider/Divider.d.ts +0 -6
- package/Divider/Divider.js +2 -18
- package/Divider/Divider.mjs +2 -18
- package/Divider/dividerClasses.d.mts +0 -8
- package/Divider/dividerClasses.d.ts +0 -8
- package/Divider/dividerClasses.js +1 -1
- package/Divider/dividerClasses.mjs +1 -1
- package/Drawer/Drawer.d.mts +0 -12
- package/Drawer/Drawer.d.ts +0 -12
- package/Drawer/Drawer.js +6 -40
- package/Drawer/Drawer.mjs +6 -40
- package/Drawer/drawerClasses.d.mts +0 -32
- package/Drawer/drawerClasses.d.ts +0 -32
- package/Drawer/drawerClasses.js +1 -1
- package/Drawer/drawerClasses.mjs +1 -1
- package/FilledInput/FilledInput.js +3 -32
- package/FilledInput/FilledInput.mjs +3 -32
- package/FormControlLabel/FormControlLabel.d.mts +1 -14
- package/FormControlLabel/FormControlLabel.d.ts +1 -14
- package/FormControlLabel/FormControlLabel.js +1 -13
- package/FormControlLabel/FormControlLabel.mjs +1 -13
- package/ImageListItemBar/ImageListItemBar.js +4 -17
- package/ImageListItemBar/ImageListItemBar.mjs +4 -17
- package/ImageListItemBar/imageListItemBarClasses.d.mts +0 -16
- package/ImageListItemBar/imageListItemBarClasses.d.ts +0 -16
- package/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/ImageListItemBar/imageListItemBarClasses.mjs +1 -1
- package/Input/Input.js +5 -33
- package/Input/Input.mjs +5 -33
- package/Input/inputClasses.d.mts +0 -16
- package/Input/inputClasses.d.ts +0 -16
- package/InputBase/InputBase.d.mts +0 -27
- package/InputBase/InputBase.d.ts +0 -27
- package/InputBase/InputBase.js +6 -35
- package/InputBase/InputBase.mjs +6 -35
- package/InputBase/inputBaseClasses.d.mts +0 -20
- package/InputBase/inputBaseClasses.d.ts +0 -20
- package/InputBase/inputBaseClasses.js +1 -1
- package/InputBase/inputBaseClasses.mjs +1 -1
- package/InputLabel/InputLabel.js +1 -1
- package/InputLabel/InputLabel.mjs +1 -1
- package/LinearProgress/LinearProgress.js +6 -18
- package/LinearProgress/LinearProgress.mjs +6 -18
- package/LinearProgress/linearProgressClasses.d.mts +0 -36
- package/LinearProgress/linearProgressClasses.d.ts +0 -36
- package/LinearProgress/linearProgressClasses.js +1 -1
- package/LinearProgress/linearProgressClasses.mjs +1 -1
- package/Link/Link.d.mts +1 -1
- package/Link/Link.d.ts +1 -1
- package/ListItem/ListItem.d.mts +2 -36
- package/ListItem/ListItem.d.ts +2 -36
- package/ListItem/ListItem.js +27 -152
- package/ListItem/ListItem.mjs +27 -152
- package/ListItem/listItemClasses.d.mts +2 -4
- package/ListItem/listItemClasses.d.ts +2 -4
- package/ListItem/listItemClasses.js +1 -1
- package/ListItem/listItemClasses.mjs +1 -1
- package/ListItemButton/ListItemButton.d.mts +1 -2
- package/ListItemButton/ListItemButton.d.ts +1 -2
- package/ListItemButton/ListItemButton.js +1 -2
- package/ListItemButton/ListItemButton.mjs +1 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.mts +10 -6
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +10 -6
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +7 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.mjs +7 -2
- package/ListItemText/ListItemText.d.mts +12 -20
- package/ListItemText/ListItemText.d.ts +12 -20
- package/ListItemText/ListItemText.js +2 -20
- package/ListItemText/ListItemText.mjs +2 -20
- package/Menu/Menu.d.mts +0 -13
- package/Menu/Menu.d.ts +0 -13
- package/Menu/Menu.js +5 -44
- package/Menu/Menu.mjs +5 -44
- package/MenuItem/MenuItem.js +21 -1
- package/MenuItem/MenuItem.mjs +23 -1
- package/MenuList/MenuList.js +2 -4
- package/MenuList/MenuList.mjs +2 -4
- package/MobileStepper/MobileStepper.d.mts +0 -5
- package/MobileStepper/MobileStepper.d.ts +0 -5
- package/MobileStepper/MobileStepper.js +1 -10
- package/MobileStepper/MobileStepper.mjs +1 -10
- package/Modal/Modal.d.mts +1 -41
- package/Modal/Modal.d.ts +1 -41
- package/Modal/Modal.js +5 -58
- package/Modal/Modal.mjs +5 -58
- package/OutlinedInput/OutlinedInput.js +2 -14
- package/OutlinedInput/OutlinedInput.mjs +2 -14
- package/OutlinedInput/outlinedInputClasses.d.mts +0 -16
- package/OutlinedInput/outlinedInputClasses.d.ts +0 -16
- package/PaginationItem/PaginationItem.d.mts +0 -15
- package/PaginationItem/PaginationItem.d.ts +0 -15
- package/PaginationItem/PaginationItem.js +3 -24
- package/PaginationItem/PaginationItem.mjs +3 -24
- package/PaginationItem/paginationItemClasses.d.mts +0 -16
- package/PaginationItem/paginationItemClasses.d.ts +0 -16
- package/PaginationItem/paginationItemClasses.js +1 -1
- package/PaginationItem/paginationItemClasses.mjs +1 -1
- package/Popover/Popover.d.mts +4 -48
- package/Popover/Popover.d.ts +4 -48
- package/Popover/Popover.js +4 -64
- package/Popover/Popover.mjs +4 -64
- package/Popper/Popper.d.mts +0 -17
- package/Popper/Popper.d.ts +0 -17
- package/Popper/Popper.js +2 -26
- package/Popper/Popper.mjs +2 -26
- package/Popper/index.d.mts +1 -0
- package/Popper/index.d.ts +1 -0
- package/Popper/index.js +11 -2
- package/Popper/index.mjs +1 -0
- package/Radio/Radio.js +1 -13
- package/Radio/Radio.mjs +1 -13
- package/Rating/Rating.d.mts +0 -9
- package/Rating/Rating.d.ts +0 -9
- package/Rating/Rating.js +1 -17
- package/Rating/Rating.mjs +1 -17
- package/Select/SelectInput.js +52 -58
- package/Select/SelectInput.mjs +49 -55
- package/Select/index.d.mts +1 -0
- package/Select/index.d.ts +1 -0
- package/Select/index.js +12 -0
- package/Select/index.mjs +1 -0
- package/Select/selectClasses.d.mts +0 -12
- package/Select/selectClasses.d.ts +0 -12
- package/Select/selectClasses.js +1 -1
- package/Select/selectClasses.mjs +1 -1
- package/Select/utils/SelectFocusSourceContext.d.mts +4 -0
- package/Select/utils/SelectFocusSourceContext.d.ts +4 -0
- package/Select/utils/SelectFocusSourceContext.js +19 -0
- package/Select/utils/SelectFocusSourceContext.mjs +13 -0
- package/Select/utils/areEqualValues.d.mts +1 -0
- package/Select/utils/areEqualValues.d.ts +1 -0
- package/Select/utils/areEqualValues.js +14 -0
- package/Select/utils/areEqualValues.mjs +8 -0
- package/Select/utils/getOpenInteractionType.d.mts +1 -0
- package/Select/utils/getOpenInteractionType.d.ts +1 -0
- package/Select/utils/getOpenInteractionType.js +18 -0
- package/Select/utils/getOpenInteractionType.mjs +12 -0
- package/Select/utils/index.d.mts +4 -0
- package/Select/utils/index.d.ts +4 -0
- package/Select/utils/index.js +40 -0
- package/Select/utils/index.mjs +4 -0
- package/Select/utils/isEmpty.d.mts +1 -0
- package/Select/utils/isEmpty.d.ts +1 -0
- package/Select/utils/isEmpty.js +9 -0
- package/Select/utils/isEmpty.mjs +3 -0
- package/Slider/Slider.d.mts +105 -78
- package/Slider/Slider.d.ts +105 -78
- package/Slider/Slider.js +44 -127
- package/Slider/Slider.mjs +44 -127
- package/Slider/sliderClasses.d.mts +0 -28
- package/Slider/sliderClasses.d.ts +0 -28
- package/Slider/sliderClasses.js +1 -1
- package/Slider/sliderClasses.mjs +1 -1
- package/Slider/useSlider.js +50 -14
- package/Slider/useSlider.mjs +50 -14
- package/Snackbar/Snackbar.d.mts +1 -27
- package/Snackbar/Snackbar.d.ts +1 -27
- package/Snackbar/Snackbar.js +5 -58
- package/Snackbar/Snackbar.mjs +5 -58
- package/SpeedDial/SpeedDial.d.mts +0 -13
- package/SpeedDial/SpeedDial.d.ts +0 -13
- package/SpeedDial/SpeedDial.js +15 -40
- package/SpeedDial/SpeedDial.mjs +15 -40
- package/SpeedDialAction/SpeedDialAction.d.mts +0 -28
- package/SpeedDialAction/SpeedDialAction.d.ts +0 -28
- package/SpeedDialAction/SpeedDialAction.js +5 -46
- package/SpeedDialAction/SpeedDialAction.mjs +5 -46
- package/Stack/Stack.d.mts +2 -2
- package/Stack/Stack.d.ts +2 -2
- package/StepConnector/StepConnector.js +2 -8
- package/StepConnector/StepConnector.mjs +2 -8
- package/StepConnector/stepConnectorClasses.d.mts +0 -8
- package/StepConnector/stepConnectorClasses.d.ts +0 -8
- package/StepConnector/stepConnectorClasses.js +1 -1
- package/StepConnector/stepConnectorClasses.mjs +1 -1
- package/StepContent/StepContent.d.mts +1 -16
- package/StepContent/StepContent.d.ts +1 -16
- package/StepContent/StepContent.js +3 -22
- package/StepContent/StepContent.mjs +3 -22
- package/StepLabel/StepLabel.d.mts +0 -22
- package/StepLabel/StepLabel.d.ts +0 -22
- package/StepLabel/StepLabel.js +2 -31
- package/StepLabel/StepLabel.mjs +2 -31
- package/SvgIcon/createSvgIcon.d.mts +2 -0
- package/SvgIcon/createSvgIcon.d.ts +2 -0
- package/SvgIcon/createSvgIcon.js +31 -0
- package/SvgIcon/createSvgIcon.mjs +26 -0
- package/SvgIcon/index.d.mts +1 -0
- package/SvgIcon/index.d.ts +1 -0
- package/SvgIcon/index.js +8 -0
- package/SvgIcon/index.mjs +1 -0
- package/SwipeableDrawer/SwipeableDrawer.d.mts +0 -5
- package/SwipeableDrawer/SwipeableDrawer.d.ts +0 -5
- package/SwipeableDrawer/SwipeableDrawer.js +6 -37
- package/SwipeableDrawer/SwipeableDrawer.mjs +6 -37
- package/Switch/Switch.js +0 -11
- package/Switch/Switch.mjs +0 -11
- package/Tab/Tab.js +1 -3
- package/Tab/Tab.mjs +1 -3
- package/Tab/tabClasses.d.mts +0 -4
- package/Tab/tabClasses.d.ts +0 -4
- package/Tab/tabClasses.js +1 -1
- package/Tab/tabClasses.mjs +1 -1
- package/TablePagination/TablePagination.d.mts +1 -25
- package/TablePagination/TablePagination.d.ts +1 -25
- package/TablePagination/TablePagination.js +5 -31
- package/TablePagination/TablePagination.mjs +5 -31
- package/TablePaginationActions/TablePaginationActions.d.mts +0 -10
- package/TablePaginationActions/TablePaginationActions.d.ts +0 -10
- package/TablePaginationActions/TablePaginationActions.js +2 -14
- package/TablePaginationActions/TablePaginationActions.mjs +2 -14
- package/TableSortLabel/TableSortLabel.js +2 -7
- package/TableSortLabel/TableSortLabel.mjs +2 -7
- package/TableSortLabel/tableSortLabelClasses.d.mts +0 -8
- package/TableSortLabel/tableSortLabelClasses.d.ts +0 -8
- package/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/TableSortLabel/tableSortLabelClasses.mjs +1 -1
- package/Tabs/Tabs.d.mts +2 -33
- package/Tabs/Tabs.d.ts +2 -33
- package/Tabs/Tabs.js +11 -41
- package/Tabs/Tabs.mjs +11 -41
- package/Tabs/tabsClasses.d.mts +0 -6
- package/Tabs/tabsClasses.d.ts +0 -6
- package/Tabs/tabsClasses.js +1 -1
- package/Tabs/tabsClasses.mjs +1 -1
- package/TextField/TextField.d.mts +6 -49
- package/TextField/TextField.d.ts +6 -49
- package/TextField/TextField.js +18 -53
- package/TextField/TextField.mjs +18 -53
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -4
- package/ToggleButtonGroup/ToggleButtonGroup.mjs +1 -4
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.mts +0 -8
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +0 -8
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.mjs +1 -1
- package/Tooltip/Tooltip.d.mts +1 -55
- package/Tooltip/Tooltip.d.ts +1 -55
- package/Tooltip/Tooltip.js +9 -87
- package/Tooltip/Tooltip.mjs +9 -87
- package/Typography/Typography.d.mts +3 -9
- package/Typography/Typography.d.ts +3 -9
- package/Typography/Typography.js +5 -43
- package/Typography/Typography.mjs +6 -44
- package/Typography/typographyClasses.d.mts +0 -5
- package/Typography/typographyClasses.d.ts +0 -5
- package/Typography/typographyClasses.js +1 -1
- package/Typography/typographyClasses.mjs +1 -1
- package/index.d.mts +0 -2
- package/index.d.ts +0 -2
- package/index.js +1 -9
- package/index.mjs +1 -2
- package/internal/SwitchBase.d.mts +0 -10
- package/internal/SwitchBase.d.ts +0 -10
- package/internal/SwitchBase.js +1 -16
- package/internal/SwitchBase.mjs +1 -16
- package/locale/amET.js +4 -1
- package/locale/amET.mjs +3 -1
- package/locale/arEG.js +4 -1
- package/locale/arEG.mjs +3 -1
- package/locale/arSA.js +4 -1
- package/locale/arSA.mjs +3 -1
- package/locale/arSD.js +4 -1
- package/locale/arSD.mjs +3 -1
- package/locale/beBY.js +4 -1
- package/locale/beBY.mjs +3 -1
- package/locale/bnBD.js +4 -1
- package/locale/bnBD.mjs +3 -1
- package/locale/caES.js +4 -1
- package/locale/caES.mjs +3 -1
- package/locale/csCZ.js +4 -1
- package/locale/csCZ.mjs +3 -1
- package/locale/daDK.js +4 -1
- package/locale/daDK.mjs +3 -1
- package/locale/deDE.js +4 -1
- package/locale/deDE.mjs +3 -1
- package/locale/elGR.js +4 -1
- package/locale/elGR.mjs +3 -1
- package/locale/esES.js +4 -1
- package/locale/esES.mjs +3 -1
- package/locale/etEE.js +4 -1
- package/locale/etEE.mjs +3 -1
- package/locale/faIR.js +4 -1
- package/locale/faIR.mjs +3 -1
- package/locale/fiFI.js +4 -1
- package/locale/fiFI.mjs +3 -1
- package/locale/frFR.js +4 -1
- package/locale/frFR.mjs +3 -1
- package/locale/heIL.js +4 -1
- package/locale/heIL.mjs +3 -1
- package/locale/hiIN.js +4 -1
- package/locale/hiIN.mjs +3 -1
- package/locale/hrHR.js +5 -1
- package/locale/hrHR.mjs +4 -1
- package/locale/isIS.js +4 -1
- package/locale/isIS.mjs +3 -1
- package/locale/itIT.js +4 -1
- package/locale/itIT.mjs +3 -1
- package/locale/jaJP.js +4 -1
- package/locale/jaJP.mjs +3 -1
- package/locale/khKH.js +4 -1
- package/locale/khKH.mjs +3 -1
- package/locale/kkKZ.js +4 -1
- package/locale/kkKZ.mjs +3 -1
- package/locale/koKR.js +4 -1
- package/locale/koKR.mjs +3 -1
- package/locale/kuCKB.js +4 -1
- package/locale/kuCKB.mjs +3 -1
- package/locale/kuLatn.js +4 -1
- package/locale/kuLatn.mjs +3 -1
- package/locale/mkMK.js +5 -1
- package/locale/mkMK.mjs +4 -1
- package/locale/msMS.js +5 -1
- package/locale/msMS.mjs +4 -1
- package/locale/myMY.js +5 -1
- package/locale/myMY.mjs +4 -1
- package/locale/nbNO.js +4 -1
- package/locale/nbNO.mjs +3 -1
- package/locale/neNP.js +5 -1
- package/locale/neNP.mjs +4 -1
- package/locale/nlNL.js +4 -1
- package/locale/nlNL.mjs +3 -1
- package/locale/nnNO.js +4 -1
- package/locale/nnNO.mjs +3 -1
- package/locale/plPL.js +4 -1
- package/locale/plPL.mjs +3 -1
- package/locale/psAF.js +4 -1
- package/locale/psAF.mjs +3 -1
- package/locale/ptBR.js +4 -1
- package/locale/ptBR.mjs +3 -1
- package/locale/ptPT.js +4 -1
- package/locale/ptPT.mjs +3 -1
- package/locale/roRO.js +4 -1
- package/locale/roRO.mjs +3 -1
- package/locale/ruRU.js +4 -1
- package/locale/ruRU.mjs +3 -1
- package/locale/siLK.js +4 -1
- package/locale/siLK.mjs +3 -1
- package/locale/skSK.js +4 -1
- package/locale/skSK.mjs +3 -1
- package/locale/srRS.js +5 -1
- package/locale/srRS.mjs +4 -1
- package/locale/svSE.js +4 -1
- package/locale/svSE.mjs +3 -1
- package/locale/thTH.js +4 -1
- package/locale/thTH.mjs +3 -1
- package/locale/tlTL.js +5 -1
- package/locale/tlTL.mjs +4 -1
- package/locale/trTR.js +4 -1
- package/locale/trTR.mjs +3 -1
- package/locale/ukUA.js +4 -1
- package/locale/ukUA.mjs +3 -1
- package/locale/urPK.js +4 -1
- package/locale/urPK.mjs +3 -1
- package/locale/utils/buildFormatNumber.d.mts +2 -0
- package/locale/utils/buildFormatNumber.d.ts +2 -0
- package/locale/utils/buildFormatNumber.js +23 -0
- package/locale/utils/buildFormatNumber.mjs +17 -0
- package/locale/viVN.js +4 -1
- package/locale/viVN.mjs +3 -1
- package/locale/zhCN.js +4 -1
- package/locale/zhCN.mjs +3 -1
- package/locale/zhHK.js +4 -1
- package/locale/zhHK.mjs +3 -1
- package/locale/zhTW.js +4 -1
- package/locale/zhTW.mjs +3 -1
- package/package.json +7 -21
- package/styles/components.d.mts +0 -5
- package/styles/components.d.ts +0 -5
- package/styles/createThemeWithVars.js +1 -0
- package/styles/createThemeWithVars.mjs +1 -0
- package/styles/overrides.d.mts +0 -2
- package/styles/overrides.d.ts +0 -2
- package/styles/props.d.mts +0 -2
- package/styles/props.d.ts +0 -2
- package/styles/stringifyTheme.js +1 -1
- package/styles/stringifyTheme.mjs +1 -1
- package/useAutocomplete/useAutocomplete.d.mts +0 -12
- package/useAutocomplete/useAutocomplete.d.ts +0 -12
- package/useAutocomplete/useAutocomplete.js +29 -28
- package/useAutocomplete/useAutocomplete.mjs +29 -28
- package/utils/createSvgIcon.d.mts +4 -2
- package/utils/createSvgIcon.d.ts +4 -2
- package/utils/createSvgIcon.js +6 -24
- package/utils/createSvgIcon.mjs +2 -24
- package/version/index.js +2 -2
- package/version/index.mjs +2 -2
- package/GridLegacy/GridLegacy.d.mts +0 -160
- package/GridLegacy/GridLegacy.d.ts +0 -160
- package/GridLegacy/GridLegacy.js +0 -601
- package/GridLegacy/GridLegacy.mjs +0 -588
- package/GridLegacy/GridLegacyContext.js +0 -17
- package/GridLegacy/GridLegacyContext.mjs +0 -12
- package/GridLegacy/gridLegacyClasses.d.mts +0 -48
- package/GridLegacy/gridLegacyClasses.d.ts +0 -48
- package/GridLegacy/gridLegacyClasses.js +0 -27
- package/GridLegacy/gridLegacyClasses.mjs +0 -19
- package/GridLegacy/index.d.mts +0 -4
- package/GridLegacy/index.d.ts +0 -4
- package/GridLegacy/index.js +0 -35
- package/GridLegacy/index.mjs +0 -3
package/Tabs/Tabs.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SxProps } from '@mui/system';
|
|
|
3
3
|
import { OverridableStringUnion } from '@mui/types';
|
|
4
4
|
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
5
5
|
import { Theme } from "../styles/index.js";
|
|
6
|
-
import TabScrollButton
|
|
6
|
+
import TabScrollButton from "../TabScrollButton/index.js";
|
|
7
7
|
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
8
8
|
import { TabsClasses } from "./tabsClasses.js";
|
|
9
9
|
import SvgIcon from "../SvgIcon/index.js";
|
|
@@ -102,18 +102,7 @@ export type TabsSlotsAndSlotProps = CreateSlotsAndSlotProps<TabsSlots, {
|
|
|
102
102
|
* By default, the available props are based on the [SvgIcon](https://mui.com/material-ui/api/svg-icon/#props) component.
|
|
103
103
|
*/
|
|
104
104
|
endScrollButtonIcon: SlotProps<typeof SvgIcon, TabsEndScrollButtonIconSlotPropsOverrides, TabsOwnerState>;
|
|
105
|
-
}
|
|
106
|
-
slots?: {
|
|
107
|
-
/**
|
|
108
|
-
* @deprecated Use `slots.startScrollButtonIcon` instead.
|
|
109
|
-
*/
|
|
110
|
-
StartScrollButtonIcon?: React.ElementType | undefined;
|
|
111
|
-
/**
|
|
112
|
-
* @deprecated Use `slots.endScrollButtonIcon` instead.
|
|
113
|
-
*/
|
|
114
|
-
EndScrollButtonIcon?: React.ElementType | undefined;
|
|
115
|
-
} | undefined;
|
|
116
|
-
};
|
|
105
|
+
}>;
|
|
117
106
|
export interface TabsOwnerState extends Omit<TabsProps, 'slots' | 'slotProps'> {
|
|
118
107
|
vertical: boolean;
|
|
119
108
|
fixed: boolean;
|
|
@@ -178,12 +167,6 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
178
167
|
* @default 'horizontal'
|
|
179
168
|
*/
|
|
180
169
|
orientation?: 'horizontal' | 'vertical' | undefined;
|
|
181
|
-
/**
|
|
182
|
-
* The component used to render the scroll buttons.
|
|
183
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
184
|
-
* @default TabScrollButton
|
|
185
|
-
*/
|
|
186
|
-
ScrollButtonComponent?: React.ElementType | undefined;
|
|
187
170
|
/**
|
|
188
171
|
* Determine behavior of scroll buttons when tabs are set to scroll:
|
|
189
172
|
*
|
|
@@ -201,20 +184,6 @@ export interface TabsOwnProps extends TabsSlotsAndSlotProps {
|
|
|
201
184
|
* changes on activation.
|
|
202
185
|
*/
|
|
203
186
|
selectionFollowsFocus?: boolean | undefined;
|
|
204
|
-
/**
|
|
205
|
-
* Props applied to the tab indicator element.
|
|
206
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
207
|
-
* @default {}
|
|
208
|
-
*/
|
|
209
|
-
TabIndicatorProps?: (React.HTMLAttributes<HTMLDivElement> & {
|
|
210
|
-
sx?: SxProps<Theme> | undefined;
|
|
211
|
-
}) | undefined;
|
|
212
|
-
/**
|
|
213
|
-
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
214
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
215
|
-
* @default {}
|
|
216
|
-
*/
|
|
217
|
-
TabScrollButtonProps?: Partial<TabScrollButtonProps> | undefined;
|
|
218
187
|
/**
|
|
219
188
|
* Determines the color of the `Tab`.
|
|
220
189
|
* @default 'primary'
|
package/Tabs/Tabs.js
CHANGED
|
@@ -43,7 +43,7 @@ const useUtilityClasses = ownerState => {
|
|
|
43
43
|
const slots = {
|
|
44
44
|
root: ['root', vertical && 'vertical'],
|
|
45
45
|
scroller: ['scroller', fixed && 'fixed', hideScrollbar && 'hideScrollbar', scrollableX && 'scrollableX', scrollableY && 'scrollableY'],
|
|
46
|
-
list: ['list',
|
|
46
|
+
list: ['list', vertical && 'vertical', centered && 'centered'],
|
|
47
47
|
indicator: ['indicator'],
|
|
48
48
|
scrollButtons: ['scrollButtons', scrollButtonsHideMobile && 'scrollButtonsHideMobile'],
|
|
49
49
|
scrollableX: [scrollableX && 'scrollableX'],
|
|
@@ -151,7 +151,7 @@ const List = (0, _zeroStyled.styled)('div', {
|
|
|
151
151
|
const {
|
|
152
152
|
ownerState
|
|
153
153
|
} = props;
|
|
154
|
-
return [styles.list,
|
|
154
|
+
return [styles.list, ownerState.centered && styles.centered];
|
|
155
155
|
}
|
|
156
156
|
})({
|
|
157
157
|
display: 'flex',
|
|
@@ -238,16 +238,10 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
238
238
|
indicatorColor = 'primary',
|
|
239
239
|
onChange,
|
|
240
240
|
orientation = 'horizontal',
|
|
241
|
-
ScrollButtonComponent,
|
|
242
|
-
// TODO: remove in v7 (deprecated in v6)
|
|
243
241
|
scrollButtons = 'auto',
|
|
244
242
|
selectionFollowsFocus,
|
|
245
243
|
slots = {},
|
|
246
244
|
slotProps = {},
|
|
247
|
-
TabIndicatorProps = {},
|
|
248
|
-
// TODO: remove in v7 (deprecated in v6)
|
|
249
|
-
TabScrollButtonProps = {},
|
|
250
|
-
// TODO: remove in v7 (deprecated in v6)
|
|
251
245
|
textColor = 'primary',
|
|
252
246
|
value,
|
|
253
247
|
variant = 'standard',
|
|
@@ -281,12 +275,12 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
281
275
|
};
|
|
282
276
|
const classes = useUtilityClasses(ownerState);
|
|
283
277
|
const startScrollButtonIconProps = (0, _useSlotProps.default)({
|
|
284
|
-
elementType: slots.
|
|
278
|
+
elementType: slots.startScrollButtonIcon,
|
|
285
279
|
externalSlotProps: slotProps.startScrollButtonIcon,
|
|
286
280
|
ownerState
|
|
287
281
|
});
|
|
288
282
|
const endScrollButtonIconProps = (0, _useSlotProps.default)({
|
|
289
|
-
elementType: slots.
|
|
283
|
+
elementType: slots.endScrollButtonIcon,
|
|
290
284
|
externalSlotProps: slotProps.endScrollButtonIcon,
|
|
291
285
|
ownerState
|
|
292
286
|
});
|
|
@@ -309,11 +303,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
309
303
|
const tabListRef = React.useRef(null);
|
|
310
304
|
const externalForwardedProps = {
|
|
311
305
|
slots,
|
|
312
|
-
slotProps
|
|
313
|
-
indicator: TabIndicatorProps,
|
|
314
|
-
scrollButtons: TabScrollButtonProps,
|
|
315
|
-
...slotProps
|
|
316
|
-
}
|
|
306
|
+
slotProps
|
|
317
307
|
};
|
|
318
308
|
const getTabsMeta = () => {
|
|
319
309
|
const tabsNode = tabsRef.current;
|
|
@@ -457,15 +447,15 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
457
447
|
});
|
|
458
448
|
}, [scrollbarOnChange]);
|
|
459
449
|
const [ScrollButtonsSlot, scrollButtonSlotProps] = (0, _useSlot.default)('scrollButtons', {
|
|
460
|
-
className:
|
|
450
|
+
className: classes.scrollButtons,
|
|
461
451
|
elementType: _TabScrollButton.default,
|
|
462
452
|
externalForwardedProps,
|
|
463
453
|
ownerState,
|
|
464
454
|
additionalProps: {
|
|
465
455
|
orientation,
|
|
466
456
|
slots: {
|
|
467
|
-
StartScrollButtonIcon: slots.startScrollButtonIcon
|
|
468
|
-
EndScrollButtonIcon: slots.endScrollButtonIcon
|
|
457
|
+
StartScrollButtonIcon: slots.startScrollButtonIcon,
|
|
458
|
+
EndScrollButtonIcon: slots.endScrollButtonIcon
|
|
469
459
|
},
|
|
470
460
|
slotProps: {
|
|
471
461
|
startScrollButtonIcon: startScrollButtonIconProps,
|
|
@@ -620,7 +610,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
620
610
|
updateScrollButtons: updateScrollButtonState
|
|
621
611
|
}), [updateIndicatorState, updateScrollButtonState]);
|
|
622
612
|
const [IndicatorSlot, indicatorSlotProps] = (0, _useSlot.default)('indicator', {
|
|
623
|
-
className:
|
|
613
|
+
className: classes.indicator,
|
|
624
614
|
elementType: TabsIndicator,
|
|
625
615
|
externalForwardedProps,
|
|
626
616
|
ownerState,
|
|
@@ -714,7 +704,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
714
704
|
};
|
|
715
705
|
const [ListSlot, listSlotProps] = (0, _useSlot.default)('list', {
|
|
716
706
|
ref: mergedRef,
|
|
717
|
-
className:
|
|
707
|
+
className: classes.list,
|
|
718
708
|
elementType: List,
|
|
719
709
|
externalForwardedProps,
|
|
720
710
|
ownerState,
|
|
@@ -813,12 +803,6 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
813
803
|
* @default 'horizontal'
|
|
814
804
|
*/
|
|
815
805
|
orientation: _propTypes.default.oneOf(['horizontal', 'vertical']),
|
|
816
|
-
/**
|
|
817
|
-
* The component used to render the scroll buttons.
|
|
818
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
819
|
-
* @default TabScrollButton
|
|
820
|
-
*/
|
|
821
|
-
ScrollButtonComponent: _propTypes.default.elementType,
|
|
822
806
|
/**
|
|
823
807
|
* Determine behavior of scroll buttons when tabs are set to scroll:
|
|
824
808
|
*
|
|
@@ -856,32 +840,18 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
856
840
|
*/
|
|
857
841
|
slots: _propTypes.default.shape({
|
|
858
842
|
endScrollButtonIcon: _propTypes.default.elementType,
|
|
859
|
-
EndScrollButtonIcon: _propTypes.default.elementType,
|
|
860
843
|
indicator: _propTypes.default.elementType,
|
|
861
844
|
list: _propTypes.default.elementType,
|
|
862
845
|
root: _propTypes.default.elementType,
|
|
863
846
|
scrollbar: _propTypes.default.elementType,
|
|
864
847
|
scrollButtons: _propTypes.default.elementType,
|
|
865
848
|
scroller: _propTypes.default.elementType,
|
|
866
|
-
startScrollButtonIcon: _propTypes.default.elementType
|
|
867
|
-
StartScrollButtonIcon: _propTypes.default.elementType
|
|
849
|
+
startScrollButtonIcon: _propTypes.default.elementType
|
|
868
850
|
}),
|
|
869
851
|
/**
|
|
870
852
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
871
853
|
*/
|
|
872
854
|
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]),
|
|
873
|
-
/**
|
|
874
|
-
* Props applied to the tab indicator element.
|
|
875
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
876
|
-
* @default {}
|
|
877
|
-
*/
|
|
878
|
-
TabIndicatorProps: _propTypes.default.object,
|
|
879
|
-
/**
|
|
880
|
-
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
881
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
882
|
-
* @default {}
|
|
883
|
-
*/
|
|
884
|
-
TabScrollButtonProps: _propTypes.default.object,
|
|
885
855
|
/**
|
|
886
856
|
* Determines the color of the `Tab`.
|
|
887
857
|
* @default 'primary'
|
package/Tabs/Tabs.mjs
CHANGED
|
@@ -36,7 +36,7 @@ const useUtilityClasses = ownerState => {
|
|
|
36
36
|
const slots = {
|
|
37
37
|
root: ['root', vertical && 'vertical'],
|
|
38
38
|
scroller: ['scroller', fixed && 'fixed', hideScrollbar && 'hideScrollbar', scrollableX && 'scrollableX', scrollableY && 'scrollableY'],
|
|
39
|
-
list: ['list',
|
|
39
|
+
list: ['list', vertical && 'vertical', centered && 'centered'],
|
|
40
40
|
indicator: ['indicator'],
|
|
41
41
|
scrollButtons: ['scrollButtons', scrollButtonsHideMobile && 'scrollButtonsHideMobile'],
|
|
42
42
|
scrollableX: [scrollableX && 'scrollableX'],
|
|
@@ -144,7 +144,7 @@ const List = styled('div', {
|
|
|
144
144
|
const {
|
|
145
145
|
ownerState
|
|
146
146
|
} = props;
|
|
147
|
-
return [styles.list,
|
|
147
|
+
return [styles.list, ownerState.centered && styles.centered];
|
|
148
148
|
}
|
|
149
149
|
})({
|
|
150
150
|
display: 'flex',
|
|
@@ -231,16 +231,10 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
231
231
|
indicatorColor = 'primary',
|
|
232
232
|
onChange,
|
|
233
233
|
orientation = 'horizontal',
|
|
234
|
-
ScrollButtonComponent,
|
|
235
|
-
// TODO: remove in v7 (deprecated in v6)
|
|
236
234
|
scrollButtons = 'auto',
|
|
237
235
|
selectionFollowsFocus,
|
|
238
236
|
slots = {},
|
|
239
237
|
slotProps = {},
|
|
240
|
-
TabIndicatorProps = {},
|
|
241
|
-
// TODO: remove in v7 (deprecated in v6)
|
|
242
|
-
TabScrollButtonProps = {},
|
|
243
|
-
// TODO: remove in v7 (deprecated in v6)
|
|
244
238
|
textColor = 'primary',
|
|
245
239
|
value,
|
|
246
240
|
variant = 'standard',
|
|
@@ -274,12 +268,12 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
274
268
|
};
|
|
275
269
|
const classes = useUtilityClasses(ownerState);
|
|
276
270
|
const startScrollButtonIconProps = useSlotProps({
|
|
277
|
-
elementType: slots.
|
|
271
|
+
elementType: slots.startScrollButtonIcon,
|
|
278
272
|
externalSlotProps: slotProps.startScrollButtonIcon,
|
|
279
273
|
ownerState
|
|
280
274
|
});
|
|
281
275
|
const endScrollButtonIconProps = useSlotProps({
|
|
282
|
-
elementType: slots.
|
|
276
|
+
elementType: slots.endScrollButtonIcon,
|
|
283
277
|
externalSlotProps: slotProps.endScrollButtonIcon,
|
|
284
278
|
ownerState
|
|
285
279
|
});
|
|
@@ -302,11 +296,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
302
296
|
const tabListRef = React.useRef(null);
|
|
303
297
|
const externalForwardedProps = {
|
|
304
298
|
slots,
|
|
305
|
-
slotProps
|
|
306
|
-
indicator: TabIndicatorProps,
|
|
307
|
-
scrollButtons: TabScrollButtonProps,
|
|
308
|
-
...slotProps
|
|
309
|
-
}
|
|
299
|
+
slotProps
|
|
310
300
|
};
|
|
311
301
|
const getTabsMeta = () => {
|
|
312
302
|
const tabsNode = tabsRef.current;
|
|
@@ -450,15 +440,15 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
450
440
|
});
|
|
451
441
|
}, [scrollbarOnChange]);
|
|
452
442
|
const [ScrollButtonsSlot, scrollButtonSlotProps] = useSlot('scrollButtons', {
|
|
453
|
-
className:
|
|
443
|
+
className: classes.scrollButtons,
|
|
454
444
|
elementType: TabScrollButton,
|
|
455
445
|
externalForwardedProps,
|
|
456
446
|
ownerState,
|
|
457
447
|
additionalProps: {
|
|
458
448
|
orientation,
|
|
459
449
|
slots: {
|
|
460
|
-
StartScrollButtonIcon: slots.startScrollButtonIcon
|
|
461
|
-
EndScrollButtonIcon: slots.endScrollButtonIcon
|
|
450
|
+
StartScrollButtonIcon: slots.startScrollButtonIcon,
|
|
451
|
+
EndScrollButtonIcon: slots.endScrollButtonIcon
|
|
462
452
|
},
|
|
463
453
|
slotProps: {
|
|
464
454
|
startScrollButtonIcon: startScrollButtonIconProps,
|
|
@@ -613,7 +603,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
613
603
|
updateScrollButtons: updateScrollButtonState
|
|
614
604
|
}), [updateIndicatorState, updateScrollButtonState]);
|
|
615
605
|
const [IndicatorSlot, indicatorSlotProps] = useSlot('indicator', {
|
|
616
|
-
className:
|
|
606
|
+
className: classes.indicator,
|
|
617
607
|
elementType: TabsIndicator,
|
|
618
608
|
externalForwardedProps,
|
|
619
609
|
ownerState,
|
|
@@ -707,7 +697,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
|
|
|
707
697
|
};
|
|
708
698
|
const [ListSlot, listSlotProps] = useSlot('list', {
|
|
709
699
|
ref: mergedRef,
|
|
710
|
-
className:
|
|
700
|
+
className: classes.list,
|
|
711
701
|
elementType: List,
|
|
712
702
|
externalForwardedProps,
|
|
713
703
|
ownerState,
|
|
@@ -806,12 +796,6 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
806
796
|
* @default 'horizontal'
|
|
807
797
|
*/
|
|
808
798
|
orientation: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
809
|
-
/**
|
|
810
|
-
* The component used to render the scroll buttons.
|
|
811
|
-
* @deprecated use the `slots.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
812
|
-
* @default TabScrollButton
|
|
813
|
-
*/
|
|
814
|
-
ScrollButtonComponent: PropTypes.elementType,
|
|
815
799
|
/**
|
|
816
800
|
* Determine behavior of scroll buttons when tabs are set to scroll:
|
|
817
801
|
*
|
|
@@ -849,32 +833,18 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
849
833
|
*/
|
|
850
834
|
slots: PropTypes.shape({
|
|
851
835
|
endScrollButtonIcon: PropTypes.elementType,
|
|
852
|
-
EndScrollButtonIcon: PropTypes.elementType,
|
|
853
836
|
indicator: PropTypes.elementType,
|
|
854
837
|
list: PropTypes.elementType,
|
|
855
838
|
root: PropTypes.elementType,
|
|
856
839
|
scrollbar: PropTypes.elementType,
|
|
857
840
|
scrollButtons: PropTypes.elementType,
|
|
858
841
|
scroller: PropTypes.elementType,
|
|
859
|
-
startScrollButtonIcon: PropTypes.elementType
|
|
860
|
-
StartScrollButtonIcon: PropTypes.elementType
|
|
842
|
+
startScrollButtonIcon: PropTypes.elementType
|
|
861
843
|
}),
|
|
862
844
|
/**
|
|
863
845
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
864
846
|
*/
|
|
865
847
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
866
|
-
/**
|
|
867
|
-
* Props applied to the tab indicator element.
|
|
868
|
-
* @deprecated use the `slotProps.indicator` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
869
|
-
* @default {}
|
|
870
|
-
*/
|
|
871
|
-
TabIndicatorProps: PropTypes.object,
|
|
872
|
-
/**
|
|
873
|
-
* Props applied to the [`TabScrollButton`](https://mui.com/material-ui/api/tab-scroll-button/) element.
|
|
874
|
-
* @deprecated use the `slotProps.scrollButtons` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
875
|
-
* @default {}
|
|
876
|
-
*/
|
|
877
|
-
TabScrollButtonProps: PropTypes.object,
|
|
878
848
|
/**
|
|
879
849
|
* Determines the color of the `Tab`.
|
|
880
850
|
* @default 'primary'
|
package/Tabs/tabsClasses.d.mts
CHANGED
|
@@ -3,12 +3,6 @@ export interface TabsClasses {
|
|
|
3
3
|
root: string;
|
|
4
4
|
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
5
5
|
vertical: string;
|
|
6
|
-
/** Styles applied to the flex container element. */
|
|
7
|
-
/** @deprecated use `list` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
|
|
8
|
-
flexContainer: string;
|
|
9
|
-
/** Styles applied to the flex container element if `orientation="vertical"`. */
|
|
10
|
-
/** @deprecated use a combination of `list` and `vertical` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
|
|
11
|
-
flexContainerVertical: string;
|
|
12
6
|
/** Styles applied to the list element. */
|
|
13
7
|
list: string;
|
|
14
8
|
/** Styles applied to the flex container element if `centered={true}` & `!variant="scrollable"`. */
|
package/Tabs/tabsClasses.d.ts
CHANGED
|
@@ -3,12 +3,6 @@ export interface TabsClasses {
|
|
|
3
3
|
root: string;
|
|
4
4
|
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
5
5
|
vertical: string;
|
|
6
|
-
/** Styles applied to the flex container element. */
|
|
7
|
-
/** @deprecated use `list` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
|
|
8
|
-
flexContainer: string;
|
|
9
|
-
/** Styles applied to the flex container element if `orientation="vertical"`. */
|
|
10
|
-
/** @deprecated use a combination of `list` and `vertical` instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details. */
|
|
11
|
-
flexContainerVertical: string;
|
|
12
6
|
/** Styles applied to the list element. */
|
|
13
7
|
list: string;
|
|
14
8
|
/** Styles applied to the flex container element if `centered={true}` & `!variant="scrollable"`. */
|
package/Tabs/tabsClasses.js
CHANGED
|
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
|
|
|
11
11
|
function getTabsUtilityClass(slot) {
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTabs', slot);
|
|
13
13
|
}
|
|
14
|
-
const tabsClasses = (0, _generateUtilityClasses.default)('MuiTabs', ['root', 'vertical', 'list', '
|
|
14
|
+
const tabsClasses = (0, _generateUtilityClasses.default)('MuiTabs', ['root', 'vertical', 'list', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
|
|
15
15
|
var _default = exports.default = tabsClasses;
|
package/Tabs/tabsClasses.mjs
CHANGED
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
|
3
3
|
export function getTabsUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiTabs', slot);
|
|
5
5
|
}
|
|
6
|
-
const tabsClasses = generateUtilityClasses('MuiTabs', ['root', 'vertical', 'list', '
|
|
6
|
+
const tabsClasses = generateUtilityClasses('MuiTabs', ['root', 'vertical', 'list', 'centered', 'scroller', 'fixed', 'scrollableX', 'scrollableY', 'hideScrollbar', 'scrollButtons', 'scrollButtonsHideMobile', 'indicator']);
|
|
7
7
|
export default tabsClasses;
|
|
@@ -127,11 +127,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
127
127
|
* @default false
|
|
128
128
|
*/
|
|
129
129
|
error?: boolean | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
132
|
-
* @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
133
|
-
*/
|
|
134
|
-
FormHelperTextProps?: Partial<FormHelperTextProps> | undefined;
|
|
135
130
|
/**
|
|
136
131
|
* If `true`, the input will take up the full width of its container.
|
|
137
132
|
* @default false
|
|
@@ -146,17 +141,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
146
141
|
* Use this prop to make `label` and `helperText` accessible for screen readers.
|
|
147
142
|
*/
|
|
148
143
|
id?: string | undefined;
|
|
149
|
-
/**
|
|
150
|
-
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
151
|
-
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
152
|
-
* @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
153
|
-
*/
|
|
154
|
-
InputLabelProps?: Partial<InputLabelProps> | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
157
|
-
* @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
158
|
-
*/
|
|
159
|
-
inputProps?: InputBaseProps['inputProps'] | undefined;
|
|
160
144
|
/**
|
|
161
145
|
* Pass a ref to the `input` element.
|
|
162
146
|
*/
|
|
@@ -203,11 +187,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
203
187
|
* @default false
|
|
204
188
|
*/
|
|
205
189
|
select?: boolean | undefined;
|
|
206
|
-
/**
|
|
207
|
-
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
208
|
-
* @deprecated Use `slotProps.select` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
209
|
-
*/
|
|
210
|
-
SelectProps?: Partial<SelectProps> | undefined;
|
|
211
190
|
/**
|
|
212
191
|
* The size of the component.
|
|
213
192
|
* @default 'medium'
|
|
@@ -239,14 +218,6 @@ export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
239
218
|
* @default 'outlined'
|
|
240
219
|
*/
|
|
241
220
|
variant?: 'standard' | undefined;
|
|
242
|
-
/**
|
|
243
|
-
* Props applied to the Input element.
|
|
244
|
-
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
245
|
-
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
246
|
-
* component depending on the `variant` prop value.
|
|
247
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
248
|
-
*/
|
|
249
|
-
InputProps?: Partial<StandardInputProps> | undefined;
|
|
250
221
|
}
|
|
251
222
|
export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<FilledInputProps> {
|
|
252
223
|
/**
|
|
@@ -261,14 +232,6 @@ export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlots
|
|
|
261
232
|
* @default 'outlined'
|
|
262
233
|
*/
|
|
263
234
|
variant: 'filled';
|
|
264
|
-
/**
|
|
265
|
-
* Props applied to the Input element.
|
|
266
|
-
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
267
|
-
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
268
|
-
* component depending on the `variant` prop value.
|
|
269
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
270
|
-
*/
|
|
271
|
-
InputProps?: Partial<FilledInputProps> | undefined;
|
|
272
235
|
}
|
|
273
236
|
export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<OutlinedInputProps> {
|
|
274
237
|
/**
|
|
@@ -283,14 +246,6 @@ export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
283
246
|
* @default 'outlined'
|
|
284
247
|
*/
|
|
285
248
|
variant: 'outlined';
|
|
286
|
-
/**
|
|
287
|
-
* Props applied to the Input element.
|
|
288
|
-
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
289
|
-
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
290
|
-
* component depending on the `variant` prop value.
|
|
291
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
292
|
-
*/
|
|
293
|
-
InputProps?: Partial<OutlinedInputProps> | undefined;
|
|
294
249
|
}
|
|
295
250
|
export type TextFieldVariants = 'outlined' | 'standard' | 'filled';
|
|
296
251
|
export type TextFieldProps<Variant extends TextFieldVariants = TextFieldVariants> = Variant extends 'filled' ? FilledTextFieldProps : Variant extends 'standard' ? StandardTextFieldProps : OutlinedTextFieldProps;
|
|
@@ -315,17 +270,19 @@ export type TextFieldOwnerState = BaseTextFieldProps;
|
|
|
315
270
|
* If you wish to alter the props applied to the `input` element, you can do so as follows:
|
|
316
271
|
*
|
|
317
272
|
* ```jsx
|
|
318
|
-
* const
|
|
319
|
-
*
|
|
273
|
+
* const slotProps = {
|
|
274
|
+
* htmlInput: {
|
|
275
|
+
* step: 300
|
|
276
|
+
* }
|
|
320
277
|
* };
|
|
321
278
|
*
|
|
322
|
-
* return <TextField id="time" type="time"
|
|
279
|
+
* return <TextField id="time" type="time" slotProps={slotProps} />;
|
|
323
280
|
* ```
|
|
324
281
|
*
|
|
325
282
|
* For advanced cases, please look at the source of TextField by clicking on the
|
|
326
283
|
* "Edit this page" button above. Consider either:
|
|
327
284
|
*
|
|
328
|
-
* * using the
|
|
285
|
+
* * using the `slotProps` prop for passing values directly to the components
|
|
329
286
|
* * using the underlying components directly as shown in the demos
|
|
330
287
|
*
|
|
331
288
|
* Demos:
|
package/TextField/TextField.d.ts
CHANGED
|
@@ -127,11 +127,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
127
127
|
* @default false
|
|
128
128
|
*/
|
|
129
129
|
error?: boolean | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
132
|
-
* @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
133
|
-
*/
|
|
134
|
-
FormHelperTextProps?: Partial<FormHelperTextProps> | undefined;
|
|
135
130
|
/**
|
|
136
131
|
* If `true`, the input will take up the full width of its container.
|
|
137
132
|
* @default false
|
|
@@ -146,17 +141,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
146
141
|
* Use this prop to make `label` and `helperText` accessible for screen readers.
|
|
147
142
|
*/
|
|
148
143
|
id?: string | undefined;
|
|
149
|
-
/**
|
|
150
|
-
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
151
|
-
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
152
|
-
* @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
153
|
-
*/
|
|
154
|
-
InputLabelProps?: Partial<InputLabelProps> | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
157
|
-
* @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
158
|
-
*/
|
|
159
|
-
inputProps?: InputBaseProps['inputProps'] | undefined;
|
|
160
144
|
/**
|
|
161
145
|
* Pass a ref to the `input` element.
|
|
162
146
|
*/
|
|
@@ -203,11 +187,6 @@ export interface BaseTextFieldProps extends StandardProps<FormControlProps,
|
|
|
203
187
|
* @default false
|
|
204
188
|
*/
|
|
205
189
|
select?: boolean | undefined;
|
|
206
|
-
/**
|
|
207
|
-
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
208
|
-
* @deprecated Use `slotProps.select` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
209
|
-
*/
|
|
210
|
-
SelectProps?: Partial<SelectProps> | undefined;
|
|
211
190
|
/**
|
|
212
191
|
* The size of the component.
|
|
213
192
|
* @default 'medium'
|
|
@@ -239,14 +218,6 @@ export interface StandardTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
239
218
|
* @default 'outlined'
|
|
240
219
|
*/
|
|
241
220
|
variant?: 'standard' | undefined;
|
|
242
|
-
/**
|
|
243
|
-
* Props applied to the Input element.
|
|
244
|
-
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
245
|
-
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
246
|
-
* component depending on the `variant` prop value.
|
|
247
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
248
|
-
*/
|
|
249
|
-
InputProps?: Partial<StandardInputProps> | undefined;
|
|
250
221
|
}
|
|
251
222
|
export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<FilledInputProps> {
|
|
252
223
|
/**
|
|
@@ -261,14 +232,6 @@ export interface FilledTextFieldProps extends BaseTextFieldProps, TextFieldSlots
|
|
|
261
232
|
* @default 'outlined'
|
|
262
233
|
*/
|
|
263
234
|
variant: 'filled';
|
|
264
|
-
/**
|
|
265
|
-
* Props applied to the Input element.
|
|
266
|
-
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
267
|
-
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
268
|
-
* component depending on the `variant` prop value.
|
|
269
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
270
|
-
*/
|
|
271
|
-
InputProps?: Partial<FilledInputProps> | undefined;
|
|
272
235
|
}
|
|
273
236
|
export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlotsAndSlotProps<OutlinedInputProps> {
|
|
274
237
|
/**
|
|
@@ -283,14 +246,6 @@ export interface OutlinedTextFieldProps extends BaseTextFieldProps, TextFieldSlo
|
|
|
283
246
|
* @default 'outlined'
|
|
284
247
|
*/
|
|
285
248
|
variant: 'outlined';
|
|
286
|
-
/**
|
|
287
|
-
* Props applied to the Input element.
|
|
288
|
-
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
289
|
-
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
290
|
-
* component depending on the `variant` prop value.
|
|
291
|
-
* @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
292
|
-
*/
|
|
293
|
-
InputProps?: Partial<OutlinedInputProps> | undefined;
|
|
294
249
|
}
|
|
295
250
|
export type TextFieldVariants = 'outlined' | 'standard' | 'filled';
|
|
296
251
|
export type TextFieldProps<Variant extends TextFieldVariants = TextFieldVariants> = Variant extends 'filled' ? FilledTextFieldProps : Variant extends 'standard' ? StandardTextFieldProps : OutlinedTextFieldProps;
|
|
@@ -315,17 +270,19 @@ export type TextFieldOwnerState = BaseTextFieldProps;
|
|
|
315
270
|
* If you wish to alter the props applied to the `input` element, you can do so as follows:
|
|
316
271
|
*
|
|
317
272
|
* ```jsx
|
|
318
|
-
* const
|
|
319
|
-
*
|
|
273
|
+
* const slotProps = {
|
|
274
|
+
* htmlInput: {
|
|
275
|
+
* step: 300
|
|
276
|
+
* }
|
|
320
277
|
* };
|
|
321
278
|
*
|
|
322
|
-
* return <TextField id="time" type="time"
|
|
279
|
+
* return <TextField id="time" type="time" slotProps={slotProps} />;
|
|
323
280
|
* ```
|
|
324
281
|
*
|
|
325
282
|
* For advanced cases, please look at the source of TextField by clicking on the
|
|
326
283
|
* "Edit this page" button above. Consider either:
|
|
327
284
|
*
|
|
328
|
-
* * using the
|
|
285
|
+
* * using the `slotProps` prop for passing values directly to the components
|
|
329
286
|
* * using the underlying components directly as shown in the demos
|
|
330
287
|
*
|
|
331
288
|
* Demos:
|