@sitecore/sc-contenthub-blok 0.0.37 → 0.0.38

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.
Files changed (375) hide show
  1. package/node_modules/@mui/core-downloads-tracker/package.json +1 -1
  2. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +4 -3
  3. package/node_modules/@mui/material/Alert/Alert.d.ts +69 -0
  4. package/node_modules/@mui/material/Alert/Alert.js +53 -21
  5. package/node_modules/@mui/material/AppBar/AppBar.d.ts +1 -1
  6. package/node_modules/@mui/material/AppBar/AppBar.js +1 -1
  7. package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +1 -1
  8. package/node_modules/@mui/material/Autocomplete/Autocomplete.js +42 -55
  9. package/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +5 -4
  10. package/node_modules/@mui/material/Backdrop/Backdrop.js +1 -9
  11. package/node_modules/@mui/material/Box/Box.d.ts +3 -1
  12. package/node_modules/@mui/material/Button/Button.d.ts +18 -0
  13. package/node_modules/@mui/material/Button/Button.js +233 -15
  14. package/node_modules/@mui/material/Button/buttonClasses.d.ts +14 -0
  15. package/node_modules/@mui/material/Button/buttonClasses.js +1 -1
  16. package/node_modules/@mui/material/ButtonBase/ButtonBase.d.ts +2 -0
  17. package/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +2 -0
  18. package/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js +2 -0
  19. package/node_modules/@mui/material/CHANGELOG.md +240 -2
  20. package/node_modules/@mui/material/CardHeader/CardHeader.d.ts +114 -1
  21. package/node_modules/@mui/material/CardHeader/CardHeader.js +106 -37
  22. package/node_modules/@mui/material/CircularProgress/CircularProgress.js +2 -2
  23. package/node_modules/@mui/material/Collapse/Collapse.js +5 -4
  24. package/node_modules/@mui/material/Dialog/Dialog.d.ts +85 -1
  25. package/node_modules/@mui/material/Dialog/Dialog.js +91 -20
  26. package/node_modules/@mui/material/Dialog/DialogContext.js +2 -0
  27. package/node_modules/@mui/material/Drawer/Drawer.js +1 -1
  28. package/node_modules/@mui/material/Drawer/drawerClasses.d.ts +32 -8
  29. package/node_modules/@mui/material/Drawer/drawerClasses.js +1 -1
  30. package/node_modules/@mui/material/Fade/Fade.js +5 -2
  31. package/node_modules/@mui/material/FilledInput/FilledInput.js +1 -3
  32. package/node_modules/@mui/material/FormControl/FormControl.js +14 -15
  33. package/node_modules/@mui/material/FormControl/FormControlContext.js +2 -0
  34. package/node_modules/@mui/material/FormLabel/FormLabel.js +5 -8
  35. package/node_modules/@mui/material/Grid/Grid.js +2 -2
  36. package/node_modules/@mui/material/Grow/Grow.js +5 -2
  37. package/node_modules/@mui/material/Hidden/withWidth.js +2 -0
  38. package/node_modules/@mui/material/Icon/Icon.js +1 -3
  39. package/node_modules/@mui/material/IconButton/IconButton.d.ts +13 -0
  40. package/node_modules/@mui/material/IconButton/IconButton.js +80 -7
  41. package/node_modules/@mui/material/IconButton/iconButtonClasses.d.ts +6 -0
  42. package/node_modules/@mui/material/IconButton/iconButtonClasses.js +1 -1
  43. package/node_modules/@mui/material/Input/Input.js +1 -3
  44. package/node_modules/@mui/material/LinearProgress/LinearProgress.js +4 -4
  45. package/node_modules/@mui/material/LinearProgress/linearProgressClasses.d.ts +31 -9
  46. package/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +1 -1
  47. package/node_modules/@mui/material/Link/getTextDecoration.js +3 -2
  48. package/node_modules/@mui/material/ListItemText/ListItemText.d.ts +36 -1
  49. package/node_modules/@mui/material/ListItemText/ListItemText.js +46 -7
  50. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -3
  51. package/node_modules/@mui/material/PigmentGrid/PigmentGrid.js +1 -1
  52. package/node_modules/@mui/material/RadioGroup/RadioGroupContext.js +2 -0
  53. package/node_modules/@mui/material/Select/Select.js +10 -1
  54. package/node_modules/@mui/material/Select/SelectInput.js +9 -1
  55. package/node_modules/@mui/material/Select/selectClasses.d.ts +9 -3
  56. package/node_modules/@mui/material/Slide/Slide.js +5 -2
  57. package/node_modules/@mui/material/Slider/useSlider.js +69 -12
  58. package/node_modules/@mui/material/Step/StepContext.js +2 -0
  59. package/node_modules/@mui/material/StepContent/StepContent.d.ts +31 -2
  60. package/node_modules/@mui/material/StepContent/StepContent.js +39 -7
  61. package/node_modules/@mui/material/StepLabel/StepLabel.d.ts +1 -1
  62. package/node_modules/@mui/material/StepLabel/StepLabel.js +1 -3
  63. package/node_modules/@mui/material/Stepper/StepperContext.js +2 -0
  64. package/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -3
  65. package/node_modules/@mui/material/Table/Tablelvl2Context.js +2 -0
  66. package/node_modules/@mui/material/TablePagination/TablePagination.d.ts +134 -18
  67. package/node_modules/@mui/material/TablePagination/TablePagination.js +89 -33
  68. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.d.ts +43 -1
  69. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +40 -7
  70. package/node_modules/@mui/material/TextField/TextField.d.ts +1 -0
  71. package/node_modules/@mui/material/TextField/TextField.js +1 -0
  72. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +2 -0
  73. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +2 -0
  74. package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +1 -1
  75. package/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  76. package/node_modules/@mui/material/Zoom/Zoom.js +5 -2
  77. package/node_modules/@mui/material/index.js +1 -1
  78. package/node_modules/@mui/material/modern/AccordionSummary/AccordionSummary.js +4 -3
  79. package/node_modules/@mui/material/modern/Alert/Alert.js +53 -21
  80. package/node_modules/@mui/material/modern/AppBar/AppBar.js +1 -1
  81. package/node_modules/@mui/material/modern/Autocomplete/Autocomplete.js +42 -55
  82. package/node_modules/@mui/material/modern/AvatarGroup/AvatarGroup.js +5 -4
  83. package/node_modules/@mui/material/modern/Backdrop/Backdrop.js +1 -9
  84. package/node_modules/@mui/material/modern/Button/Button.js +233 -15
  85. package/node_modules/@mui/material/modern/Button/buttonClasses.js +1 -1
  86. package/node_modules/@mui/material/modern/ButtonGroup/ButtonGroupButtonContext.js +2 -0
  87. package/node_modules/@mui/material/modern/ButtonGroup/ButtonGroupContext.js +2 -0
  88. package/node_modules/@mui/material/modern/CardHeader/CardHeader.js +106 -37
  89. package/node_modules/@mui/material/modern/CircularProgress/CircularProgress.js +2 -2
  90. package/node_modules/@mui/material/modern/Collapse/Collapse.js +5 -4
  91. package/node_modules/@mui/material/modern/Dialog/Dialog.js +91 -20
  92. package/node_modules/@mui/material/modern/Dialog/DialogContext.js +2 -0
  93. package/node_modules/@mui/material/modern/Drawer/Drawer.js +1 -1
  94. package/node_modules/@mui/material/modern/Drawer/drawerClasses.js +1 -1
  95. package/node_modules/@mui/material/modern/Fade/Fade.js +5 -2
  96. package/node_modules/@mui/material/modern/FilledInput/FilledInput.js +1 -3
  97. package/node_modules/@mui/material/modern/FormControl/FormControl.js +14 -15
  98. package/node_modules/@mui/material/modern/FormControl/FormControlContext.js +2 -0
  99. package/node_modules/@mui/material/modern/FormLabel/FormLabel.js +5 -8
  100. package/node_modules/@mui/material/modern/Grid/Grid.js +2 -2
  101. package/node_modules/@mui/material/modern/Grow/Grow.js +5 -2
  102. package/node_modules/@mui/material/modern/Hidden/withWidth.js +2 -0
  103. package/node_modules/@mui/material/modern/Icon/Icon.js +1 -3
  104. package/node_modules/@mui/material/modern/IconButton/IconButton.js +80 -7
  105. package/node_modules/@mui/material/modern/IconButton/iconButtonClasses.js +1 -1
  106. package/node_modules/@mui/material/modern/Input/Input.js +1 -3
  107. package/node_modules/@mui/material/modern/LinearProgress/LinearProgress.js +4 -4
  108. package/node_modules/@mui/material/modern/LinearProgress/linearProgressClasses.js +1 -1
  109. package/node_modules/@mui/material/modern/Link/getTextDecoration.js +3 -2
  110. package/node_modules/@mui/material/modern/ListItemText/ListItemText.js +46 -7
  111. package/node_modules/@mui/material/modern/OutlinedInput/OutlinedInput.js +1 -3
  112. package/node_modules/@mui/material/modern/PigmentGrid/PigmentGrid.js +1 -1
  113. package/node_modules/@mui/material/modern/RadioGroup/RadioGroupContext.js +2 -0
  114. package/node_modules/@mui/material/modern/Select/Select.js +10 -1
  115. package/node_modules/@mui/material/modern/Select/SelectInput.js +9 -1
  116. package/node_modules/@mui/material/modern/Slide/Slide.js +5 -2
  117. package/node_modules/@mui/material/modern/Slider/useSlider.js +69 -12
  118. package/node_modules/@mui/material/modern/Step/StepContext.js +2 -0
  119. package/node_modules/@mui/material/modern/StepContent/StepContent.js +39 -7
  120. package/node_modules/@mui/material/modern/StepLabel/StepLabel.js +1 -3
  121. package/node_modules/@mui/material/modern/Stepper/StepperContext.js +2 -0
  122. package/node_modules/@mui/material/modern/SvgIcon/SvgIcon.js +1 -3
  123. package/node_modules/@mui/material/modern/Table/Tablelvl2Context.js +2 -0
  124. package/node_modules/@mui/material/modern/TablePagination/TablePagination.js +89 -33
  125. package/node_modules/@mui/material/modern/TableSortLabel/TableSortLabel.js +40 -7
  126. package/node_modules/@mui/material/modern/TextField/TextField.js +1 -0
  127. package/node_modules/@mui/material/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +2 -0
  128. package/node_modules/@mui/material/modern/ToggleButtonGroup/ToggleButtonGroupContext.js +2 -0
  129. package/node_modules/@mui/material/modern/Tooltip/Tooltip.js +1 -1
  130. package/node_modules/@mui/material/modern/Zoom/Zoom.js +5 -2
  131. package/node_modules/@mui/material/modern/index.js +1 -1
  132. package/node_modules/@mui/material/modern/usePagination/usePagination.js +1 -1
  133. package/node_modules/@mui/material/modern/utils/index.js +1 -0
  134. package/node_modules/@mui/material/modern/utils/mergeSlotProps.js +43 -0
  135. package/node_modules/@mui/material/modern/utils/useSlot.js +5 -1
  136. package/node_modules/@mui/material/modern/version/index.js +3 -3
  137. package/node_modules/@mui/material/node/AccordionSummary/AccordionSummary.js +4 -3
  138. package/node_modules/@mui/material/node/Alert/Alert.js +53 -21
  139. package/node_modules/@mui/material/node/AppBar/AppBar.js +1 -1
  140. package/node_modules/@mui/material/node/Autocomplete/Autocomplete.js +42 -55
  141. package/node_modules/@mui/material/node/AvatarGroup/AvatarGroup.js +5 -4
  142. package/node_modules/@mui/material/node/Backdrop/Backdrop.js +1 -9
  143. package/node_modules/@mui/material/node/Button/Button.js +233 -15
  144. package/node_modules/@mui/material/node/Button/buttonClasses.js +1 -1
  145. package/node_modules/@mui/material/node/ButtonGroup/ButtonGroupButtonContext.js +1 -0
  146. package/node_modules/@mui/material/node/ButtonGroup/ButtonGroupContext.js +1 -0
  147. package/node_modules/@mui/material/node/CardHeader/CardHeader.js +106 -37
  148. package/node_modules/@mui/material/node/CircularProgress/CircularProgress.js +2 -2
  149. package/node_modules/@mui/material/node/Collapse/Collapse.js +5 -4
  150. package/node_modules/@mui/material/node/Dialog/Dialog.js +91 -20
  151. package/node_modules/@mui/material/node/Dialog/DialogContext.js +1 -0
  152. package/node_modules/@mui/material/node/Drawer/Drawer.js +1 -1
  153. package/node_modules/@mui/material/node/Drawer/drawerClasses.js +1 -1
  154. package/node_modules/@mui/material/node/Fade/Fade.js +5 -2
  155. package/node_modules/@mui/material/node/FilledInput/FilledInput.js +1 -3
  156. package/node_modules/@mui/material/node/FormControl/FormControl.js +14 -15
  157. package/node_modules/@mui/material/node/FormControl/FormControlContext.js +1 -0
  158. package/node_modules/@mui/material/node/FormLabel/FormLabel.js +5 -8
  159. package/node_modules/@mui/material/node/Grid/Grid.js +2 -2
  160. package/node_modules/@mui/material/node/Grow/Grow.js +5 -2
  161. package/node_modules/@mui/material/node/Hidden/withWidth.js +1 -0
  162. package/node_modules/@mui/material/node/Icon/Icon.js +1 -3
  163. package/node_modules/@mui/material/node/IconButton/IconButton.js +79 -6
  164. package/node_modules/@mui/material/node/IconButton/iconButtonClasses.js +1 -1
  165. package/node_modules/@mui/material/node/Input/Input.js +1 -3
  166. package/node_modules/@mui/material/node/LinearProgress/LinearProgress.js +4 -4
  167. package/node_modules/@mui/material/node/LinearProgress/linearProgressClasses.js +1 -1
  168. package/node_modules/@mui/material/node/Link/getTextDecoration.js +3 -2
  169. package/node_modules/@mui/material/node/ListItemText/ListItemText.js +46 -7
  170. package/node_modules/@mui/material/node/OutlinedInput/OutlinedInput.js +1 -3
  171. package/node_modules/@mui/material/node/PigmentGrid/PigmentGrid.js +2 -2
  172. package/node_modules/@mui/material/node/RadioGroup/RadioGroupContext.js +1 -0
  173. package/node_modules/@mui/material/node/Select/Select.js +10 -1
  174. package/node_modules/@mui/material/node/Select/SelectInput.js +9 -1
  175. package/node_modules/@mui/material/node/Slide/Slide.js +5 -2
  176. package/node_modules/@mui/material/node/Slider/useSlider.js +69 -12
  177. package/node_modules/@mui/material/node/Step/StepContext.js +1 -0
  178. package/node_modules/@mui/material/node/StepContent/StepContent.js +39 -7
  179. package/node_modules/@mui/material/node/StepLabel/StepLabel.js +1 -3
  180. package/node_modules/@mui/material/node/Stepper/StepperContext.js +1 -0
  181. package/node_modules/@mui/material/node/SvgIcon/SvgIcon.js +1 -3
  182. package/node_modules/@mui/material/node/Table/Tablelvl2Context.js +1 -0
  183. package/node_modules/@mui/material/node/TablePagination/TablePagination.js +89 -33
  184. package/node_modules/@mui/material/node/TableSortLabel/TableSortLabel.js +40 -7
  185. package/node_modules/@mui/material/node/TextField/TextField.js +1 -0
  186. package/node_modules/@mui/material/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +1 -0
  187. package/node_modules/@mui/material/node/ToggleButtonGroup/ToggleButtonGroupContext.js +1 -0
  188. package/node_modules/@mui/material/node/Tooltip/Tooltip.js +1 -1
  189. package/node_modules/@mui/material/node/Zoom/Zoom.js +5 -2
  190. package/node_modules/@mui/material/node/index.js +1 -1
  191. package/node_modules/@mui/material/node/usePagination/usePagination.js +1 -1
  192. package/node_modules/@mui/material/node/utils/index.js +7 -0
  193. package/node_modules/@mui/material/node/utils/mergeSlotProps.js +50 -0
  194. package/node_modules/@mui/material/node/utils/useSlot.js +5 -1
  195. package/node_modules/@mui/material/node/version/index.js +3 -3
  196. package/node_modules/{react-is → @mui/material/node_modules/react-is}/LICENSE +1 -1
  197. package/node_modules/{react-is → @mui/material/node_modules/react-is}/README.md +0 -1
  198. package/node_modules/@mui/material/node_modules/react-is/cjs/react-is.development.js +133 -0
  199. package/node_modules/@mui/material/node_modules/react-is/cjs/react-is.production.js +130 -0
  200. package/node_modules/{react-is → @mui/material/node_modules/react-is}/index.js +1 -1
  201. package/node_modules/{react-is → @mui/material/node_modules/react-is}/package.json +4 -4
  202. package/node_modules/@mui/material/package.json +8 -8
  203. package/node_modules/@mui/material/styles/useThemeProps.d.ts +27 -0
  204. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +20 -5
  205. package/node_modules/@mui/material/useLazyRipple/useLazyRipple.d.ts +1 -1
  206. package/node_modules/@mui/material/usePagination/usePagination.js +1 -1
  207. package/node_modules/@mui/material/utils/index.d.ts +1 -0
  208. package/node_modules/@mui/material/utils/index.js +1 -0
  209. package/node_modules/@mui/material/utils/memoTheme.d.ts +1 -1
  210. package/node_modules/@mui/material/utils/mergeSlotProps.d.ts +2 -0
  211. package/node_modules/@mui/material/utils/mergeSlotProps.js +43 -0
  212. package/node_modules/@mui/material/utils/useSlot.d.ts +8 -0
  213. package/node_modules/@mui/material/utils/useSlot.js +5 -1
  214. package/node_modules/@mui/material/version/index.js +3 -3
  215. package/node_modules/@mui/private-theming/CHANGELOG.md +240 -2
  216. package/node_modules/@mui/private-theming/index.js +1 -1
  217. package/node_modules/@mui/private-theming/modern/index.js +1 -1
  218. package/node_modules/@mui/private-theming/modern/useTheme/ThemeContext.js +2 -0
  219. package/node_modules/@mui/private-theming/node/index.js +1 -1
  220. package/node_modules/@mui/private-theming/node/useTheme/ThemeContext.js +1 -0
  221. package/node_modules/@mui/private-theming/package.json +2 -2
  222. package/node_modules/@mui/private-theming/useTheme/ThemeContext.js +2 -0
  223. package/node_modules/@mui/styled-engine/CHANGELOG.md +198 -2
  224. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +29 -19
  225. package/node_modules/@mui/styled-engine/index.js +1 -1
  226. package/node_modules/@mui/styled-engine/modern/StyledEngineProvider/StyledEngineProvider.js +29 -19
  227. package/node_modules/@mui/styled-engine/modern/index.js +1 -1
  228. package/node_modules/@mui/styled-engine/node/StyledEngineProvider/StyledEngineProvider.js +29 -19
  229. package/node_modules/@mui/styled-engine/node/index.js +1 -1
  230. package/node_modules/@mui/styled-engine/package.json +1 -1
  231. package/node_modules/@mui/system/CHANGELOG.md +240 -2
  232. package/node_modules/@mui/system/Grid/index.d.ts +1 -0
  233. package/node_modules/@mui/system/Grid/index.js +24 -2
  234. package/node_modules/@mui/system/RtlProvider/index.js +1 -0
  235. package/node_modules/@mui/system/colorManipulator/colorManipulator.js +5 -0
  236. package/node_modules/@mui/system/createTheme/applyStyles.d.ts +7 -3
  237. package/node_modules/@mui/system/createTheme/applyStyles.js +7 -3
  238. package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +3 -1
  239. package/node_modules/@mui/system/esm/Grid/index.js +2 -1
  240. package/node_modules/@mui/system/esm/RtlProvider/index.js +2 -0
  241. package/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +5 -0
  242. package/node_modules/@mui/system/esm/createTheme/applyStyles.js +7 -3
  243. package/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +4 -1
  244. package/node_modules/@mui/system/esm/version/index.js +3 -3
  245. package/node_modules/@mui/system/index.js +1 -1
  246. package/node_modules/@mui/system/memoTheme.d.ts +1 -1
  247. package/node_modules/@mui/system/modern/Grid/index.js +2 -1
  248. package/node_modules/@mui/system/modern/RtlProvider/index.js +2 -0
  249. package/node_modules/@mui/system/modern/colorManipulator/colorManipulator.js +5 -0
  250. package/node_modules/@mui/system/modern/createTheme/applyStyles.js +7 -3
  251. package/node_modules/@mui/system/modern/cssVars/createCssVarsProvider.js +4 -1
  252. package/node_modules/@mui/system/modern/index.js +1 -1
  253. package/node_modules/@mui/system/modern/version/index.js +3 -3
  254. package/node_modules/@mui/system/package.json +5 -5
  255. package/node_modules/@mui/system/version/index.js +3 -3
  256. package/node_modules/@mui/types/package.json +1 -1
  257. package/node_modules/@mui/utils/CHANGELOG.md +240 -2
  258. package/node_modules/@mui/utils/composeClasses/composeClasses.d.ts +28 -0
  259. package/node_modules/@mui/utils/composeClasses/composeClasses.js +28 -0
  260. package/node_modules/@mui/utils/deepmerge/deepmerge.d.ts +18 -0
  261. package/node_modules/@mui/utils/deepmerge/deepmerge.js +22 -2
  262. package/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +28 -0
  263. package/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +22 -2
  264. package/node_modules/@mui/utils/index.js +1 -1
  265. package/node_modules/@mui/utils/modern/composeClasses/composeClasses.js +28 -0
  266. package/node_modules/@mui/utils/modern/deepmerge/deepmerge.js +22 -2
  267. package/node_modules/@mui/utils/modern/index.js +1 -1
  268. package/node_modules/@mui/utils/node_modules/react-is/LICENSE +21 -0
  269. package/node_modules/@mui/utils/node_modules/react-is/README.md +103 -0
  270. package/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js +133 -0
  271. package/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js +130 -0
  272. package/node_modules/@mui/utils/node_modules/react-is/index.js +7 -0
  273. package/node_modules/@mui/utils/node_modules/react-is/package.json +26 -0
  274. package/node_modules/@mui/utils/package.json +4 -4
  275. package/node_modules/@mui/utils/useLazyRef/useLazyRef.d.ts +1 -1
  276. package/node_modules/@mui/x-date-pickers/CHANGELOG.md +487 -0
  277. package/node_modules/@mui/x-date-pickers/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
  278. package/node_modules/@mui/x-date-pickers/DateCalendar/PickersSlideTransition.d.ts +1 -1
  279. package/node_modules/@mui/x-date-pickers/DateField/useDateField.d.ts +1 -1
  280. package/node_modules/@mui/x-date-pickers/DateTimeField/useDateTimeField.d.ts +1 -1
  281. package/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
  282. package/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  283. package/node_modules/@mui/x-date-pickers/README.md +1 -1
  284. package/node_modules/@mui/x-date-pickers/TimeClock/Clock.d.ts +4 -0
  285. package/node_modules/@mui/x-date-pickers/TimeClock/Clock.js +10 -6
  286. package/node_modules/@mui/x-date-pickers/TimeClock/TimeClock.js +21 -4
  287. package/node_modules/@mui/x-date-pickers/TimeField/useTimeField.d.ts +1 -1
  288. package/node_modules/@mui/x-date-pickers/index.js +1 -1
  289. package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.js +5 -0
  290. package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldV6TextField.js +5 -2
  291. package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldV7TextField.js +3 -0
  292. package/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerViews.d.ts +1 -1
  293. package/node_modules/@mui/x-date-pickers/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
  294. package/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js +1 -1
  295. package/node_modules/@mui/x-date-pickers/locales/index.d.ts +1 -0
  296. package/node_modules/@mui/x-date-pickers/locales/index.js +1 -0
  297. package/node_modules/@mui/x-date-pickers/locales/nbNO.js +15 -19
  298. package/node_modules/@mui/x-date-pickers/locales/roRO.js +15 -18
  299. package/node_modules/@mui/x-date-pickers/locales/zhTW.d.ts +80 -0
  300. package/node_modules/@mui/x-date-pickers/locales/zhTW.js +73 -0
  301. package/node_modules/@mui/x-date-pickers/modern/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
  302. package/node_modules/@mui/x-date-pickers/modern/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  303. package/node_modules/@mui/x-date-pickers/modern/TimeClock/Clock.js +10 -6
  304. package/node_modules/@mui/x-date-pickers/modern/TimeClock/TimeClock.js +21 -4
  305. package/node_modules/@mui/x-date-pickers/modern/index.js +1 -1
  306. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useField.js +5 -0
  307. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useFieldV6TextField.js +5 -2
  308. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useFieldV7TextField.js +3 -0
  309. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
  310. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useUtils.js +1 -1
  311. package/node_modules/@mui/x-date-pickers/modern/locales/index.js +1 -0
  312. package/node_modules/@mui/x-date-pickers/modern/locales/nbNO.js +15 -19
  313. package/node_modules/@mui/x-date-pickers/modern/locales/roRO.js +15 -18
  314. package/node_modules/@mui/x-date-pickers/modern/locales/zhTW.js +73 -0
  315. package/node_modules/@mui/x-date-pickers/node/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
  316. package/node_modules/@mui/x-date-pickers/node/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  317. package/node_modules/@mui/x-date-pickers/node/TimeClock/Clock.js +10 -6
  318. package/node_modules/@mui/x-date-pickers/node/TimeClock/TimeClock.js +21 -4
  319. package/node_modules/@mui/x-date-pickers/node/index.js +1 -1
  320. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useField.js +5 -0
  321. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useFieldV6TextField.js +5 -2
  322. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useFieldV7TextField.js +3 -0
  323. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
  324. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useUtils.js +1 -1
  325. package/node_modules/@mui/x-date-pickers/node/locales/index.js +11 -0
  326. package/node_modules/@mui/x-date-pickers/node/locales/nbNO.js +15 -19
  327. package/node_modules/@mui/x-date-pickers/node/locales/roRO.js +15 -18
  328. package/node_modules/@mui/x-date-pickers/node/locales/zhTW.js +79 -0
  329. package/node_modules/@mui/x-date-pickers/package.json +3 -3
  330. package/node_modules/@mui/x-internals/CHANGELOG.md +487 -0
  331. package/node_modules/@mui/x-internals/esm/forwardRef/forwardRef.js +15 -0
  332. package/node_modules/@mui/x-internals/esm/forwardRef/index.js +1 -0
  333. package/node_modules/@mui/x-internals/esm/types/RefObject.js +1 -0
  334. package/node_modules/@mui/x-internals/esm/types/index.js +1 -0
  335. package/node_modules/@mui/x-internals/forwardRef/forwardRef.d.ts +4 -0
  336. package/node_modules/@mui/x-internals/forwardRef/forwardRef.js +23 -0
  337. package/node_modules/@mui/x-internals/forwardRef/index.d.ts +1 -0
  338. package/node_modules/@mui/x-internals/forwardRef/index.js +16 -0
  339. package/node_modules/@mui/x-internals/forwardRef/package.json +6 -0
  340. package/node_modules/@mui/x-internals/modern/forwardRef/forwardRef.js +15 -0
  341. package/node_modules/@mui/x-internals/modern/forwardRef/index.js +1 -0
  342. package/node_modules/@mui/x-internals/modern/types/RefObject.js +1 -0
  343. package/node_modules/@mui/x-internals/modern/types/index.js +1 -0
  344. package/node_modules/@mui/x-internals/package.json +1 -1
  345. package/node_modules/@mui/x-internals/types/RefObject.d.ts +8 -0
  346. package/node_modules/@mui/x-internals/types/RefObject.js +5 -0
  347. package/node_modules/@mui/x-internals/types/index.d.ts +1 -0
  348. package/node_modules/@mui/x-internals/types/index.js +16 -0
  349. package/node_modules/@mui/x-internals/types/package.json +6 -0
  350. package/node_modules/@mui/x-internals/useResizeObserver/useResizeObserver.d.ts +1 -1
  351. package/node_modules/@types/prop-types/README.md +1 -1
  352. package/node_modules/@types/prop-types/index.d.ts +21 -4
  353. package/node_modules/@types/prop-types/package.json +4 -3
  354. package/node_modules/@types/react-transition-group/README.md +3 -2
  355. package/node_modules/@types/react-transition-group/package.json +5 -4
  356. package/package.json +4 -4
  357. package/node_modules/@types/react/LICENSE +0 -21
  358. package/node_modules/@types/react/README.md +0 -15
  359. package/node_modules/@types/react/canary.d.ts +0 -166
  360. package/node_modules/@types/react/experimental.d.ts +0 -132
  361. package/node_modules/@types/react/global.d.ts +0 -160
  362. package/node_modules/@types/react/index.d.ts +0 -4543
  363. package/node_modules/@types/react/jsx-dev-runtime.d.ts +0 -45
  364. package/node_modules/@types/react/jsx-runtime.d.ts +0 -36
  365. package/node_modules/@types/react/package.json +0 -206
  366. package/node_modules/@types/react/ts5.0/canary.d.ts +0 -166
  367. package/node_modules/@types/react/ts5.0/experimental.d.ts +0 -132
  368. package/node_modules/@types/react/ts5.0/global.d.ts +0 -160
  369. package/node_modules/@types/react/ts5.0/index.d.ts +0 -4530
  370. package/node_modules/@types/react/ts5.0/jsx-dev-runtime.d.ts +0 -44
  371. package/node_modules/@types/react/ts5.0/jsx-runtime.d.ts +0 -35
  372. package/node_modules/react-is/cjs/react-is.development.js +0 -221
  373. package/node_modules/react-is/cjs/react-is.production.min.js +0 -14
  374. package/node_modules/react-is/umd/react-is.development.js +0 -220
  375. package/node_modules/react-is/umd/react-is.production.min.js +0 -15
@@ -6,11 +6,13 @@ import clsx from 'clsx';
6
6
  import resolveProps from '@mui/utils/resolveProps';
7
7
  import composeClasses from '@mui/utils/composeClasses';
8
8
  import { alpha } from '@mui/system/colorManipulator';
9
+ import { unstable_useId as useId } from '@mui/material/utils';
9
10
  import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
10
11
  import { styled } from "../zero-styled/index.js";
11
12
  import memoTheme from "../utils/memoTheme.js";
12
13
  import { useDefaultProps } from "../DefaultPropsProvider/index.js";
13
14
  import ButtonBase from "../ButtonBase/index.js";
15
+ import CircularProgress from "../CircularProgress/index.js";
14
16
  import capitalize from "../utils/capitalize.js";
15
17
  import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
16
18
  import buttonClasses, { getButtonUtilityClass } from "./buttonClasses.js";
@@ -24,13 +26,16 @@ const useUtilityClasses = ownerState => {
24
26
  fullWidth,
25
27
  size,
26
28
  variant,
29
+ loading,
30
+ loadingPosition,
27
31
  classes
28
32
  } = ownerState;
29
33
  const slots = {
30
- root: ['root', variant, `${variant}${capitalize(color)}`, `size${capitalize(size)}`, `${variant}Size${capitalize(size)}`, `color${capitalize(color)}`, disableElevation && 'disableElevation', fullWidth && 'fullWidth'],
31
- label: ['label'],
34
+ root: ['root', loading && 'loading', variant, `${variant}${capitalize(color)}`, `size${capitalize(size)}`, `${variant}Size${capitalize(size)}`, `color${capitalize(color)}`, disableElevation && 'disableElevation', fullWidth && 'fullWidth', loading && `loadingPosition${capitalize(loadingPosition)}`],
32
35
  startIcon: ['icon', 'startIcon', `iconSize${capitalize(size)}`],
33
- endIcon: ['icon', 'endIcon', `iconSize${capitalize(size)}`]
36
+ endIcon: ['icon', 'endIcon', `iconSize${capitalize(size)}`],
37
+ loadingIndicator: ['loadingIndicator'],
38
+ loadingWrapper: ['loadingWrapper']
34
39
  };
35
40
  const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
36
41
  return {
@@ -75,7 +80,7 @@ const ButtonRoot = styled(ButtonBase, {
75
80
  const {
76
81
  ownerState
77
82
  } = props;
78
- return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color)}`], styles[`size${capitalize(ownerState.size)}`], styles[`${ownerState.variant}Size${capitalize(ownerState.size)}`], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth];
83
+ return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${capitalize(ownerState.color)}`], styles[`size${capitalize(ownerState.size)}`], styles[`${ownerState.variant}Size${capitalize(ownerState.size)}`], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.loading && styles.loading];
79
84
  }
80
85
  })(memoTheme(({
81
86
  theme
@@ -262,6 +267,18 @@ const ButtonRoot = styled(ButtonBase, {
262
267
  style: {
263
268
  width: '100%'
264
269
  }
270
+ }, {
271
+ props: {
272
+ loadingPosition: 'center'
273
+ },
274
+ style: {
275
+ transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {
276
+ duration: theme.transitions.duration.short
277
+ }),
278
+ [`&.${buttonClasses.loading}`]: {
279
+ color: 'transparent'
280
+ }
281
+ }
265
282
  }]
266
283
  };
267
284
  }));
@@ -272,9 +289,11 @@ const ButtonStartIcon = styled('span', {
272
289
  const {
273
290
  ownerState
274
291
  } = props;
275
- return [styles.startIcon, styles[`iconSize${capitalize(ownerState.size)}`]];
292
+ return [styles.startIcon, ownerState.loading && styles.startIconLoadingStart, styles[`iconSize${capitalize(ownerState.size)}`]];
276
293
  }
277
- })({
294
+ })(({
295
+ theme
296
+ }) => ({
278
297
  display: 'inherit',
279
298
  marginRight: 8,
280
299
  marginLeft: -4,
@@ -285,8 +304,28 @@ const ButtonStartIcon = styled('span', {
285
304
  style: {
286
305
  marginLeft: -2
287
306
  }
307
+ }, {
308
+ props: {
309
+ loadingPosition: 'start',
310
+ loading: true
311
+ },
312
+ style: {
313
+ transition: theme.transitions.create(['opacity'], {
314
+ duration: theme.transitions.duration.short
315
+ }),
316
+ opacity: 0
317
+ }
318
+ }, {
319
+ props: {
320
+ loadingPosition: 'start',
321
+ loading: true,
322
+ fullWidth: true
323
+ },
324
+ style: {
325
+ marginRight: -8
326
+ }
288
327
  }, ...commonIconStyles]
289
- });
328
+ }));
290
329
  const ButtonEndIcon = styled('span', {
291
330
  name: 'MuiButton',
292
331
  slot: 'EndIcon',
@@ -294,9 +333,11 @@ const ButtonEndIcon = styled('span', {
294
333
  const {
295
334
  ownerState
296
335
  } = props;
297
- return [styles.endIcon, styles[`iconSize${capitalize(ownerState.size)}`]];
336
+ return [styles.endIcon, ownerState.loading && styles.endIconLoadingEnd, styles[`iconSize${capitalize(ownerState.size)}`]];
298
337
  }
299
- })({
338
+ })(({
339
+ theme
340
+ }) => ({
300
341
  display: 'inherit',
301
342
  marginRight: -4,
302
343
  marginLeft: 8,
@@ -307,7 +348,128 @@ const ButtonEndIcon = styled('span', {
307
348
  style: {
308
349
  marginRight: -2
309
350
  }
351
+ }, {
352
+ props: {
353
+ loadingPosition: 'end',
354
+ loading: true
355
+ },
356
+ style: {
357
+ transition: theme.transitions.create(['opacity'], {
358
+ duration: theme.transitions.duration.short
359
+ }),
360
+ opacity: 0
361
+ }
362
+ }, {
363
+ props: {
364
+ loadingPosition: 'end',
365
+ loading: true,
366
+ fullWidth: true
367
+ },
368
+ style: {
369
+ marginLeft: -8
370
+ }
310
371
  }, ...commonIconStyles]
372
+ }));
373
+ const ButtonLoadingIndicator = styled('span', {
374
+ name: 'MuiButton',
375
+ slot: 'LoadingIndicator',
376
+ overridesResolver: (props, styles) => styles.loadingIndicator
377
+ })(({
378
+ theme
379
+ }) => ({
380
+ display: 'none',
381
+ position: 'absolute',
382
+ visibility: 'visible',
383
+ variants: [{
384
+ props: {
385
+ loading: true
386
+ },
387
+ style: {
388
+ display: 'flex'
389
+ }
390
+ }, {
391
+ props: {
392
+ loadingPosition: 'start'
393
+ },
394
+ style: {
395
+ left: 14
396
+ }
397
+ }, {
398
+ props: {
399
+ loadingPosition: 'start',
400
+ size: 'small'
401
+ },
402
+ style: {
403
+ left: 10
404
+ }
405
+ }, {
406
+ props: {
407
+ variant: 'text',
408
+ loadingPosition: 'start'
409
+ },
410
+ style: {
411
+ left: 6
412
+ }
413
+ }, {
414
+ props: {
415
+ loadingPosition: 'center'
416
+ },
417
+ style: {
418
+ left: '50%',
419
+ transform: 'translate(-50%)',
420
+ color: (theme.vars || theme).palette.action.disabled
421
+ }
422
+ }, {
423
+ props: {
424
+ loadingPosition: 'end'
425
+ },
426
+ style: {
427
+ right: 14
428
+ }
429
+ }, {
430
+ props: {
431
+ loadingPosition: 'end',
432
+ size: 'small'
433
+ },
434
+ style: {
435
+ right: 10
436
+ }
437
+ }, {
438
+ props: {
439
+ variant: 'text',
440
+ loadingPosition: 'end'
441
+ },
442
+ style: {
443
+ right: 6
444
+ }
445
+ }, {
446
+ props: {
447
+ loadingPosition: 'start',
448
+ fullWidth: true
449
+ },
450
+ style: {
451
+ position: 'relative',
452
+ left: -10
453
+ }
454
+ }, {
455
+ props: {
456
+ loadingPosition: 'end',
457
+ fullWidth: true
458
+ },
459
+ style: {
460
+ position: 'relative',
461
+ right: -10
462
+ }
463
+ }]
464
+ }));
465
+ const ButtonLoadingIconPlaceholder = styled('span', {
466
+ name: 'MuiButton',
467
+ slot: 'LoadingIconPlaceholder',
468
+ overridesResolver: (props, styles) => styles.loadingIconPlaceholder
469
+ })({
470
+ display: 'inline-block',
471
+ width: '1em',
472
+ height: '1em'
311
473
  });
312
474
  const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
313
475
  // props priority: `inProps` > `contextProps` > `themeDefaultProps`
@@ -329,12 +491,22 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
329
491
  endIcon: endIconProp,
330
492
  focusVisibleClassName,
331
493
  fullWidth = false,
494
+ id: idProp,
495
+ loading = null,
496
+ loadingIndicator: loadingIndicatorProp,
497
+ loadingPosition = 'center',
332
498
  size = 'medium',
333
499
  startIcon: startIconProp,
334
500
  type,
335
501
  variant = 'text',
336
502
  ...other
337
503
  } = props;
504
+ const id = useId(idProp);
505
+ const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/_jsx(CircularProgress, {
506
+ "aria-labelledby": id,
507
+ color: "inherit",
508
+ size: 16
509
+ });
338
510
  const ownerState = {
339
511
  ...props,
340
512
  color,
@@ -343,34 +515,58 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
343
515
  disableElevation,
344
516
  disableFocusRipple,
345
517
  fullWidth,
518
+ loading,
519
+ loadingIndicator,
520
+ loadingPosition,
346
521
  size,
347
522
  type,
348
523
  variant
349
524
  };
350
525
  const classes = useUtilityClasses(ownerState);
351
- const startIcon = startIconProp && /*#__PURE__*/_jsx(ButtonStartIcon, {
526
+ const startIcon = (startIconProp || loading && loadingPosition === 'start') && /*#__PURE__*/_jsx(ButtonStartIcon, {
352
527
  className: classes.startIcon,
353
528
  ownerState: ownerState,
354
- children: startIconProp
529
+ children: startIconProp || /*#__PURE__*/_jsx(ButtonLoadingIconPlaceholder, {
530
+ className: classes.loadingIconPlaceholder,
531
+ ownerState: ownerState
532
+ })
355
533
  });
356
- const endIcon = endIconProp && /*#__PURE__*/_jsx(ButtonEndIcon, {
534
+ const endIcon = (endIconProp || loading && loadingPosition === 'end') && /*#__PURE__*/_jsx(ButtonEndIcon, {
357
535
  className: classes.endIcon,
358
536
  ownerState: ownerState,
359
- children: endIconProp
537
+ children: endIconProp || /*#__PURE__*/_jsx(ButtonLoadingIconPlaceholder, {
538
+ className: classes.loadingIconPlaceholder,
539
+ ownerState: ownerState
540
+ })
360
541
  });
361
542
  const positionClassName = buttonGroupButtonContextPositionClassName || '';
543
+ const loader = typeof loading === 'boolean' ?
544
+ /*#__PURE__*/
545
+ // use plain HTML span to minimize the runtime overhead
546
+ _jsx("span", {
547
+ className: classes.loadingWrapper,
548
+ style: {
549
+ display: 'contents'
550
+ },
551
+ children: loading && /*#__PURE__*/_jsx(ButtonLoadingIndicator, {
552
+ className: classes.loadingIndicator,
553
+ ownerState: ownerState,
554
+ children: loadingIndicator
555
+ })
556
+ }) : null;
362
557
  return /*#__PURE__*/_jsxs(ButtonRoot, {
363
558
  ownerState: ownerState,
364
559
  className: clsx(contextProps.className, classes.root, className, positionClassName),
365
560
  component: component,
366
- disabled: disabled,
561
+ disabled: disabled || loading,
367
562
  focusRipple: !disableFocusRipple,
368
563
  focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
369
564
  ref: ref,
370
565
  type: type,
566
+ id: id,
371
567
  ...other,
372
568
  classes: classes,
373
- children: [startIcon, children, endIcon]
569
+ children: [startIcon, loadingPosition !== 'end' && loader, children, loadingPosition === 'end' && loader, endIcon]
374
570
  });
375
571
  });
376
572
  process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */ = {
@@ -443,6 +639,28 @@ process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */
443
639
  * If defined, an `a` element will be used as the root node.
444
640
  */
445
641
  href: PropTypes.string,
642
+ /**
643
+ * @ignore
644
+ */
645
+ id: PropTypes.string,
646
+ /**
647
+ * If `true`, the loading indicator is visible and the button is disabled.
648
+ * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
649
+ * @default null
650
+ */
651
+ loading: PropTypes.bool,
652
+ /**
653
+ * Element placed before the children if the button is in loading state.
654
+ * The node should contain an element with `role="progressbar"` with an accessible name.
655
+ * By default, it renders a `CircularProgress` that is labeled by the button itself.
656
+ * @default <CircularProgress color="inherit" size={16} />
657
+ */
658
+ loadingIndicator: PropTypes.node,
659
+ /**
660
+ * The loading indicator can be positioned on the start, end, or the center of the button.
661
+ * @default 'center'
662
+ */
663
+ loadingPosition: PropTypes.oneOf(['center', 'end', 'start']),
446
664
  /**
447
665
  * The size of the component.
448
666
  * `small` is equivalent to the dense button styling.
@@ -173,6 +173,20 @@ export interface ButtonClasses {
173
173
  colorInfo: string;
174
174
  /** Styles applied to the root element if `color="warning"`. */
175
175
  colorWarning: string;
176
+ /** Styles applied to the root element if `loading={true}`. */
177
+ loading: string;
178
+ /** Styles applied to the loadingWrapper element. */
179
+ loadingWrapper: string;
180
+ /** Styles applied to the loadingIconPlaceholder element. */
181
+ loadingIconPlaceholder: string;
182
+ /** Styles applied to the loadingIndicator element. */
183
+ loadingIndicator: string;
184
+ /** Styles applied to the root element if `loadingPosition="center"`. */
185
+ loadingPositionCenter: string;
186
+ /** Styles applied to the root element if `loadingPosition="start"`. */
187
+ loadingPositionStart: string;
188
+ /** Styles applied to the root element if `loadingPosition="end"`. */
189
+ loadingPositionEnd: string;
176
190
  }
177
191
  export type ButtonClassKey = keyof ButtonClasses;
178
192
  export declare function getButtonUtilityClass(slot: string): string;
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
3
3
  export function getButtonUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiButton', slot);
5
5
  }
6
- const buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorError', 'colorInfo', 'colorWarning', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'icon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
6
+ const buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'textSuccess', 'textError', 'textInfo', 'textWarning', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'outlinedSuccess', 'outlinedError', 'outlinedInfo', 'outlinedWarning', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'containedSuccess', 'containedError', 'containedInfo', 'containedWarning', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorError', 'colorInfo', 'colorWarning', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'icon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge', 'loading', 'loadingWrapper', 'loadingIconPlaceholder', 'loadingIndicator', 'loadingPositionCenter', 'loadingPositionStart', 'loadingPositionEnd']);
7
7
  export default buttonClasses;
@@ -5,6 +5,8 @@ import { TouchRippleActions, TouchRippleProps } from './TouchRipple';
5
5
  import { OverrideProps, OverridableComponent, OverridableTypeMap } from '../OverridableComponent';
6
6
  import { ButtonBaseClasses } from './buttonBaseClasses';
7
7
 
8
+ export { TouchRippleActions, TouchRippleProps };
9
+
8
10
  export interface ButtonBaseOwnProps {
9
11
  /**
10
12
  * A ref for imperative actions.
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  /**
3
5
  * @ignore - internal component.
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  /**
3
5
  * @ignore - internal component.
@@ -1,12 +1,250 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 6.4.1
4
+
5
+ <!-- generated comparing v6.4.0..master -->
6
+
7
+ _Jan 21, 2025_
8
+
9
+ A big thanks to the 9 contributors who made this release possible.
10
+
11
+ ### `@mui/material@6.4.1`
12
+
13
+ - [ButtonBase] Export types used in ButtonBase props (#43530) @Janpot
14
+ - [Dialog] Add slots and slotProps (#44792) @sai6855
15
+ - [Drawer] Deprecate composed classes (#44870) @yash49
16
+ - [IconButton] Set default loading to `null` (#45057) @siriwatknp
17
+ - [ListItem] Add codemod for deprecated props (#45022) @sai6855
18
+ - [Modal] Add migration guide and codemod for deprecated props (#45021) @sai6855
19
+ - [TextField] Fix filled state to be synced with autofill (#44135) @DiegoAndai
20
+
21
+ ### `@mui/system@6.4.1`
22
+
23
+ - Fix dark mode flicker using `useEnhancedEffect` (#44812) @siriwatknp
24
+
25
+ ### `@mui/utils@6.4.1`
26
+
27
+ - Do not deep merge React component (#45058) @siriwatknp
28
+
29
+ ### Docs
30
+
31
+ - Fix typo (#45070) @Fullchee
32
+ - Improve Toolpad templates section (#44914) @bharatkashyap
33
+ - Fix expand / collapse icons orientation (#44989) @zanivan
34
+ - Rename "Base UI" to "MUI Base" in all text (#45060) @mj12albert
35
+ - Add @mui/base deprecation callout (#45030) @mj12albert
36
+ - Update @mui/base deprecation message (#45064) @mj12albert
37
+
38
+ ### Core
39
+
40
+ - [code-infra] Add "use client" directive to files with React APIs (#45036) @Janpot
41
+ - [docs] 301 redirect `/base-ui` to `base-ui.com` (#45061) @mj12albert
42
+
43
+ All contributors of this release in alphabetical order: @bharatkashyap, @DiegoAndai, @Fullchee, @Janpot, @mj12albert, @sai6855, @siriwatknp, @yash49, @zanivan
44
+
45
+ ## 6.4.0
46
+
47
+ <!-- generated comparing v6.3.1..master -->
48
+
49
+ _Jan 13, 2025_
50
+
51
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
52
+
53
+ - Added [`loading` prop](https://mui.com/material-ui/react-button/#loading-2) to the `Button` and `IconButton` components (#44637) @siriwatknp
54
+
55
+ ### `@mui/material@6.4.0`
56
+
57
+ - [Alert] complete `slots` and `slotProps` (#44971) @siriwatknp
58
+ - [Autocomplete] Sync runtime and TS types for key in grouped options (#44862) @aarongarciah
59
+ - [Button] Add `loading` prop (#44637) @siriwatknp
60
+ - [CardHeader] Deprecate `*TypographyProps` and complete `slots`, `slotProps` (#44729) @siriwatknp
61
+ - [CircularProgress] Improve indeterminate animation to be symmetric and smooth (#44934) @yashdev16
62
+ - [LinearProgress] Deprecate composed classes (#44933) @headironc
63
+ - [Link] Fix error for using custom palette with underline (#44927) @siriwatknp
64
+ - [Select] Do not set `aria-controls` when closed (#44919) @siddhantantil39
65
+ - [Select] Add missing root class (#44928) @sai6855
66
+ - [Slider] Set onChangeCommitted to receive the last argument passed to onChange (#44795) @good-jinu
67
+ - Add `mergeSlotProps` for extending components (#44809) @siriwatknp
68
+ - Update `mergeSlotProps` to merge `style` (#44959) @siriwatknp
69
+ - Fix slots typing for Tooltip and StepLabel (#44985) @siriwatknp
70
+ - Remove unnecessary blank lines (#44980) @sai6855
71
+
72
+ ### Docs
73
+
74
+ - [docs] Fix Dashboard sidenav sroll (#44876) @oliviertassinari
75
+ - [docs] Fix broken anchor link to w3.org (c51af8e) @oliviertassinari
76
+ - [docs] Add details on complementary Menu components (#44957) @samuelsycamore
77
+ - [docs] Remove misleading messaging on MD3 support (#44953) @mnajdova
78
+ - [docs] Fix code copy button obscuring on small screen sizes (#44861) @ZeeshanTamboli
79
+ - [docs] Remove more instances of Adobe XD (#44956) @samuelsycamore
80
+ - [docs] Remove Adobe XD chips, links, and mentions (#44909) @samuelsycamore
81
+ - [docs] Fix incorrect rendering in Typography docs (#44937) @iaziz11
82
+
83
+ ### Core
84
+
85
+ - [core] Remove redundant screenshots (#44877) @oliviertassinari
86
+ - [core] Remove Suspense and clock mocking from regressions and e2e tests (#44935) @DiegoAndai
87
+ - [code-infra] Allow react@18 on `@mui/internal-test-utils` (#45023) @LukasTy
88
+ - [code-infra] Stabilize flaky pigment progressbar tests (#44969) @Janpot
89
+ - [example] Update the CDN example to adapt React 19. (#44979) @IceOfSummer
90
+ - [figma] Clarify that Material UI Sync plugin is experimental (#44975) @oliviertassinari
91
+
92
+ All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @good-jinu, @headironc, @iaziz11, @IceOfSummer, @Janpot, @LukasTy, @mnajdova, @oliviertassinari, @sai6855, @samuelsycamore, @siddhantantil39, @siriwatknp, @yashdev16, @ZeeshanTamboli
93
+
94
+ ## 6.3.1
95
+
96
+ <!-- generated comparing v6.3.0..master -->
97
+
98
+ _Jan 3, 2025_
99
+
100
+ A big thanks to the 8 contributors who made this release possible.
101
+
102
+ ### `@mui/material@6.3.1`
103
+
104
+ - [Autocomplete] Revert: Fix options list rendering in freeSolo mode (#44858) @ZeeshanTamboli
105
+ - [Tooltip] Warn instead of error when trigger is disabled (#44846) @yash49
106
+ - [TableSortLabel] Add slots and slotProps (#44728) @sai6855
107
+ - [Select] Deprecate composed classes (#44925) @sai6855
108
+
109
+ ### Docs
110
+
111
+ - [material-ui][Accordion] Update `Anatomy` section in Accordion docs (#44849) @ZeeshanTamboli
112
+ - [material-ui][CardActionArea] Added demo in docs of cards for adding props to CardActionArea (#44789) @siddhantantil39
113
+ - [material-ui][Grid2] Add interactive demo for Grid v2 (#44820) @yash49
114
+ - [material-ui][Select] Update docs to reflect the omission of placeholder prop (#44856) @adityaparab
115
+ - [joy-ui] Fix Color mode button on Theme builder (#44864) @komkanit
116
+ - Fix 301 redirections @oliviertassinari
117
+
118
+ ### Core
119
+
120
+ - [examples] Update Next.js examples Next.js and React versions (#44852) @DiegoAndai
121
+ - [code-infra] Prevent wrong nested imports in Base UI (#44426) @oliviertassinari
122
+ - [docs-infra] Add vale coverage for App Router and Page Router (060c55c) @oliviertassinari
123
+ - Sync with other repos (1b9300f) @oliviertassinari
124
+ - Fix docs:build to work in docs folder too (6b923a4) @oliviertassinari
125
+ - Setup React 18 CI tests (#44868) @DiegoAndai
126
+ - Update test to use public API (#44875) @oliviertassinari
127
+
128
+ All contributors of this release in alphabetical order: @adityaparab, @DiegoAndai, @komkanit, @oliviertassinari, @sai6855, @siddhantantil39, @yash49, @ZeeshanTamboli
129
+
130
+ ## 6.3.0
131
+
132
+ <!-- generated comparing v6.2.1..master -->
133
+
134
+ _Dec 23, 2024_
135
+
136
+ A big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
137
+
138
+ - Fix invalid HTML structure in the Accordion component (#44408) @ZeeshanTamboli
139
+ The HTML elements of the Accordion summary have been updated:
140
+ - the root element is now button (previously div).
141
+ - summary content and the icon wrapper are now span (previously div).
142
+ This will only impact you if you used the HTML element as selectors in your styles.
143
+
144
+ ### `@mui/material@6.3.0`
145
+
146
+ - [Accordion] Fix invalid HTML inside heading (#44408) @ZeeshanTamboli
147
+ - [useAutocomplete] Improve TS typing of `groupedOptions` prop (#44657) @lewxdev
148
+ - Prevent `ownerState` propagation for transition slots (#44401) @ZeeshanTamboli
149
+ - [StepContent] Add slots and slotProps (#44742) @sai6855
150
+ - [TablePagination] Add the rest of `slots` and `slotProps`. (#44570) @siriwatknp
151
+
152
+ ### `@mui/system@6.3.0`
153
+
154
+ - Set `before` directly without using prepend for global styles (#44648) @siriwatknp
155
+
156
+ ### Docs
157
+
158
+ - [material-ui] Improve `theme.applyStyles()` docs (#44658) @DiegoAndai
159
+ - [material-ui] Update MD callout (#43958) @aarongarciah
160
+
161
+ ### Core
162
+
163
+ - Remove unnecessary conditional around `.muiName =` (#44071) @Janpot
164
+ - [blog] Material UI: 2024 EOY updates blog post (#44722) @alelthomas
165
+ - Fix quickstart command in pigment docs (#44806) @yash49
166
+ - [docs-infra] Remove Next.js production profiler (#44823) @romgrk
167
+ - [docs-infra] Remove no longer support `optimizeFonts` Next.js option (#44802) @LukasTy
168
+
169
+ All contributors of this release in alphabetical order: @aarongarciah, @alelthomas, @DiegoAndai, @Janpot, @lewxdev, @LukasTy, @romgrk, @sai6855, @siriwatknp, @yash49, @ZeeshanTamboli
170
+
171
+ ## 6.2.1
172
+
173
+ <!-- generated comparing v6.2.0..master -->
174
+
175
+ _Dec 17, 2024_
176
+
177
+ A big thanks to the 10 contributors who made this release possible.
178
+
179
+ ### `@mui/material@6.2.1`
180
+
181
+ - Update `overridesResolver` return from object to array of styles (#44752) @siddhantantil39
182
+ - [Pagination] Use correct `aria-current` value (#44753) @jacklaurencegaray
183
+ - [Select] Set `aria-required` & `aria-invalid` on `combobox` instead of hidden input (#44731) @ben-pomelo
184
+
185
+ ### `@mui/system@6.2.1`
186
+
187
+ - Warns if the hex color contains trailing space (#44538) @siriwatknp
188
+
189
+ ### Docs
190
+
191
+ - [material-ui][Dialog] Fix crashing of DraggableDialog demo (#44747) @sai6855
192
+ - [material-ui][TextField] Update `react-number-format` demo to use the recommended prop (#44743) @siriwatknp
193
+ - [material-ui][TextField] Add size default prop to api docs (#44714) @sai6855
194
+ - [material-ui][TextField] Add suffix shrink demo (#44744) @siriwatknp
195
+
196
+ ### Core
197
+
198
+ - [api-docs-builder] Preserve multiline prop descriptions with `rawDescriptions` option (#44737) @vladmoroz
199
+ - Fix running mocha related scripts on Windows locally (#44664) @ChristopherJamesL
200
+ - Update `eslint-plugin-jsx-a11y` (#44701) @ZeeshanTamboli
201
+ - Add documentation to `useThemeProps`, `deepmerge` and `composeClasses` functions (#44703) @JCQuintas
202
+ - [examples] Add Theme Mode Switch to Next.js TS example (#43576) @TurtIeSocks
203
+
204
+ All contributors of this release in alphabetical order: @ben-pomelo, @ChristopherJamesL, @jacklaurencegaray, @JCQuintas, @sai6855, @siddhantantil39, @siriwatknp, @TurtIeSocks, @vladmoroz, @ZeeshanTamboli
205
+
206
+ ## 6.2.0
207
+
208
+ <!-- generated comparing v6.1.10..master -->
209
+
210
+ _Dec 10, 2024_
211
+
212
+ A big thanks to the 9 contributors who made this release possible. Here are some highlights ✨:
213
+
214
+ - Material UI is now compatible with React 19 (#44672) @DiegoAndai
215
+ - Fixed incorrect `aria-orientation` for vertical sliders. <kbd>ArrowRight</kbd> now increases the value and <kbd>ArrowLeft</kbd> decreases the value in vertical sliders; they were reversed in prior versions. (#44537) @mj12albert
216
+
217
+ ### `@mui/material@6.2.0`
218
+
219
+ - [Box] Add missing `component` to `BoxProps` type (#44643) @DiegoAndai
220
+ - [Grid] Fix spacing when using css variables (#44663) @DiegoAndai
221
+ - [ListItemText] Add `slots` and `slotProps` (#44571) @sai6855
222
+
223
+ ### Docs
224
+
225
+ - Add Toolpad Core template link (#44415) @bharatkashyap
226
+
227
+ ### Core
228
+
229
+ - [docs-infra] Allow custom annotations (#44707) @vladmoroz
230
+ - [Box] Fix `component` prop test (#44651) @DiegoAndai
231
+ - React 19 useRef cleanup (#44704) @DiegoAndai
232
+ - Remove obselete lerna options (#44676) @ZeeshanTamboli
233
+ - Fix Regular Expression Denial of Service (ReDoS) vulnerabilities (#44627) @SuperMaxine
234
+ - Fix number of contributors (#44650) @aarongarciah
235
+ - [docs-infra] Add support for data attributes in the API generation (#44709) @mnajdova
236
+ - [docs-infra] Fix RTL dark mode (#41803) @alexfauquette
237
+ - [Grid] Remove deeply nested imports (#43605) @Janpot
238
+
239
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @bharatkashyap, @DiegoAndai, @Janpot, @mj12albert, @mnajdova, @sai6855, @SuperMaxine, @vladmoroz, @ZeeshanTamboli
240
+
3
241
  ## 6.1.10
4
242
 
5
243
  <!-- generated comparing v6.1.9..master -->
6
244
 
7
245
  _Dec 3, 2024_
8
246
 
9
- A big thanks to the 10 contributors who made this release possible.
247
+ A big thanks to the 11 contributors who made this release possible.
10
248
 
11
249
  ### `@mui/material@6.1.10`
12
250
 
@@ -45,7 +283,7 @@ A big thanks to the 10 contributors who made this release possible.
45
283
  - [docs-infra] Fix TOC RTL padding regression (#44535) @oliviertassinari
46
284
  - [test-utils] Remove leftover React.ReactElement<any> from describeConformance.tsx (#44639) @sai6855
47
285
 
48
- All contributors of this release in alphabetical order: @albarv340, @arishoham, @DiegoAndai, @joserodolfofreitas, @MBilalShafi, @mnajdova, @oliviertassinari, @renovate[bot], @sai6855, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
286
+ All contributors of this release in alphabetical order: @albarv340, @arishoham, @DiegoAndai, @joserodolfofreitas, @MBilalShafi, @mnajdova, @oliviertassinari, @sai6855, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
49
287
 
50
288
  ## 6.1.9
51
289