@sitecore/sc-contenthub-blok 0.0.37 → 0.0.39

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 (390) hide show
  1. package/dist/BlokTheme.js +9 -0
  2. package/dist/BlokTheme.js.map +1 -1
  3. package/dist/Components/BlokButton/BlokButton.d.ts +1 -0
  4. package/dist/Components/BlokButton/BlokButton.js +3 -2
  5. package/dist/Components/BlokButton/BlokButton.js.map +1 -1
  6. package/dist/Components/BlokButton/BlokButton.stories.js +1 -1
  7. package/dist/Components/BlokButton/BlokButton.stories.js.map +1 -1
  8. package/dist/Components/BlokIconButton/BlokIconButton.js +1 -1
  9. package/dist/Components/BlokIconButton/BlokIconButton.js.map +1 -1
  10. package/esm/BlokTheme.js +9 -0
  11. package/esm/BlokTheme.js.map +1 -1
  12. package/esm/Components/BlokButton/BlokButton.js +3 -2
  13. package/esm/Components/BlokButton/BlokButton.js.map +1 -1
  14. package/esm/Components/BlokIconButton/BlokIconButton.js +1 -1
  15. package/esm/Components/BlokIconButton/BlokIconButton.js.map +1 -1
  16. package/node_modules/@mui/core-downloads-tracker/package.json +1 -1
  17. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +4 -3
  18. package/node_modules/@mui/material/Alert/Alert.d.ts +69 -0
  19. package/node_modules/@mui/material/Alert/Alert.js +53 -21
  20. package/node_modules/@mui/material/AppBar/AppBar.d.ts +1 -1
  21. package/node_modules/@mui/material/AppBar/AppBar.js +1 -1
  22. package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +1 -1
  23. package/node_modules/@mui/material/Autocomplete/Autocomplete.js +42 -55
  24. package/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +5 -4
  25. package/node_modules/@mui/material/Backdrop/Backdrop.js +1 -9
  26. package/node_modules/@mui/material/Box/Box.d.ts +3 -1
  27. package/node_modules/@mui/material/Button/Button.d.ts +18 -0
  28. package/node_modules/@mui/material/Button/Button.js +233 -15
  29. package/node_modules/@mui/material/Button/buttonClasses.d.ts +14 -0
  30. package/node_modules/@mui/material/Button/buttonClasses.js +1 -1
  31. package/node_modules/@mui/material/ButtonBase/ButtonBase.d.ts +2 -0
  32. package/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +2 -0
  33. package/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js +2 -0
  34. package/node_modules/@mui/material/CHANGELOG.md +240 -2
  35. package/node_modules/@mui/material/CardHeader/CardHeader.d.ts +114 -1
  36. package/node_modules/@mui/material/CardHeader/CardHeader.js +106 -37
  37. package/node_modules/@mui/material/CircularProgress/CircularProgress.js +2 -2
  38. package/node_modules/@mui/material/Collapse/Collapse.js +5 -4
  39. package/node_modules/@mui/material/Dialog/Dialog.d.ts +85 -1
  40. package/node_modules/@mui/material/Dialog/Dialog.js +91 -20
  41. package/node_modules/@mui/material/Dialog/DialogContext.js +2 -0
  42. package/node_modules/@mui/material/Drawer/Drawer.js +1 -1
  43. package/node_modules/@mui/material/Drawer/drawerClasses.d.ts +32 -8
  44. package/node_modules/@mui/material/Drawer/drawerClasses.js +1 -1
  45. package/node_modules/@mui/material/Fade/Fade.js +5 -2
  46. package/node_modules/@mui/material/FilledInput/FilledInput.js +1 -3
  47. package/node_modules/@mui/material/FormControl/FormControl.js +14 -15
  48. package/node_modules/@mui/material/FormControl/FormControlContext.js +2 -0
  49. package/node_modules/@mui/material/FormLabel/FormLabel.js +5 -8
  50. package/node_modules/@mui/material/Grid/Grid.js +2 -2
  51. package/node_modules/@mui/material/Grow/Grow.js +5 -2
  52. package/node_modules/@mui/material/Hidden/withWidth.js +2 -0
  53. package/node_modules/@mui/material/Icon/Icon.js +1 -3
  54. package/node_modules/@mui/material/IconButton/IconButton.d.ts +13 -0
  55. package/node_modules/@mui/material/IconButton/IconButton.js +80 -7
  56. package/node_modules/@mui/material/IconButton/iconButtonClasses.d.ts +6 -0
  57. package/node_modules/@mui/material/IconButton/iconButtonClasses.js +1 -1
  58. package/node_modules/@mui/material/Input/Input.js +1 -3
  59. package/node_modules/@mui/material/LinearProgress/LinearProgress.js +4 -4
  60. package/node_modules/@mui/material/LinearProgress/linearProgressClasses.d.ts +31 -9
  61. package/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +1 -1
  62. package/node_modules/@mui/material/Link/getTextDecoration.js +3 -2
  63. package/node_modules/@mui/material/ListItemText/ListItemText.d.ts +36 -1
  64. package/node_modules/@mui/material/ListItemText/ListItemText.js +46 -7
  65. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -3
  66. package/node_modules/@mui/material/PigmentGrid/PigmentGrid.js +1 -1
  67. package/node_modules/@mui/material/RadioGroup/RadioGroupContext.js +2 -0
  68. package/node_modules/@mui/material/Select/Select.js +10 -1
  69. package/node_modules/@mui/material/Select/SelectInput.js +9 -1
  70. package/node_modules/@mui/material/Select/selectClasses.d.ts +9 -3
  71. package/node_modules/@mui/material/Slide/Slide.js +5 -2
  72. package/node_modules/@mui/material/Slider/useSlider.js +69 -12
  73. package/node_modules/@mui/material/Step/StepContext.js +2 -0
  74. package/node_modules/@mui/material/StepContent/StepContent.d.ts +31 -2
  75. package/node_modules/@mui/material/StepContent/StepContent.js +39 -7
  76. package/node_modules/@mui/material/StepLabel/StepLabel.d.ts +1 -1
  77. package/node_modules/@mui/material/StepLabel/StepLabel.js +1 -3
  78. package/node_modules/@mui/material/Stepper/StepperContext.js +2 -0
  79. package/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -3
  80. package/node_modules/@mui/material/Table/Tablelvl2Context.js +2 -0
  81. package/node_modules/@mui/material/TablePagination/TablePagination.d.ts +134 -18
  82. package/node_modules/@mui/material/TablePagination/TablePagination.js +89 -33
  83. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.d.ts +43 -1
  84. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +40 -7
  85. package/node_modules/@mui/material/TextField/TextField.d.ts +1 -0
  86. package/node_modules/@mui/material/TextField/TextField.js +1 -0
  87. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +2 -0
  88. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +2 -0
  89. package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +1 -1
  90. package/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  91. package/node_modules/@mui/material/Zoom/Zoom.js +5 -2
  92. package/node_modules/@mui/material/index.js +1 -1
  93. package/node_modules/@mui/material/modern/AccordionSummary/AccordionSummary.js +4 -3
  94. package/node_modules/@mui/material/modern/Alert/Alert.js +53 -21
  95. package/node_modules/@mui/material/modern/AppBar/AppBar.js +1 -1
  96. package/node_modules/@mui/material/modern/Autocomplete/Autocomplete.js +42 -55
  97. package/node_modules/@mui/material/modern/AvatarGroup/AvatarGroup.js +5 -4
  98. package/node_modules/@mui/material/modern/Backdrop/Backdrop.js +1 -9
  99. package/node_modules/@mui/material/modern/Button/Button.js +233 -15
  100. package/node_modules/@mui/material/modern/Button/buttonClasses.js +1 -1
  101. package/node_modules/@mui/material/modern/ButtonGroup/ButtonGroupButtonContext.js +2 -0
  102. package/node_modules/@mui/material/modern/ButtonGroup/ButtonGroupContext.js +2 -0
  103. package/node_modules/@mui/material/modern/CardHeader/CardHeader.js +106 -37
  104. package/node_modules/@mui/material/modern/CircularProgress/CircularProgress.js +2 -2
  105. package/node_modules/@mui/material/modern/Collapse/Collapse.js +5 -4
  106. package/node_modules/@mui/material/modern/Dialog/Dialog.js +91 -20
  107. package/node_modules/@mui/material/modern/Dialog/DialogContext.js +2 -0
  108. package/node_modules/@mui/material/modern/Drawer/Drawer.js +1 -1
  109. package/node_modules/@mui/material/modern/Drawer/drawerClasses.js +1 -1
  110. package/node_modules/@mui/material/modern/Fade/Fade.js +5 -2
  111. package/node_modules/@mui/material/modern/FilledInput/FilledInput.js +1 -3
  112. package/node_modules/@mui/material/modern/FormControl/FormControl.js +14 -15
  113. package/node_modules/@mui/material/modern/FormControl/FormControlContext.js +2 -0
  114. package/node_modules/@mui/material/modern/FormLabel/FormLabel.js +5 -8
  115. package/node_modules/@mui/material/modern/Grid/Grid.js +2 -2
  116. package/node_modules/@mui/material/modern/Grow/Grow.js +5 -2
  117. package/node_modules/@mui/material/modern/Hidden/withWidth.js +2 -0
  118. package/node_modules/@mui/material/modern/Icon/Icon.js +1 -3
  119. package/node_modules/@mui/material/modern/IconButton/IconButton.js +80 -7
  120. package/node_modules/@mui/material/modern/IconButton/iconButtonClasses.js +1 -1
  121. package/node_modules/@mui/material/modern/Input/Input.js +1 -3
  122. package/node_modules/@mui/material/modern/LinearProgress/LinearProgress.js +4 -4
  123. package/node_modules/@mui/material/modern/LinearProgress/linearProgressClasses.js +1 -1
  124. package/node_modules/@mui/material/modern/Link/getTextDecoration.js +3 -2
  125. package/node_modules/@mui/material/modern/ListItemText/ListItemText.js +46 -7
  126. package/node_modules/@mui/material/modern/OutlinedInput/OutlinedInput.js +1 -3
  127. package/node_modules/@mui/material/modern/PigmentGrid/PigmentGrid.js +1 -1
  128. package/node_modules/@mui/material/modern/RadioGroup/RadioGroupContext.js +2 -0
  129. package/node_modules/@mui/material/modern/Select/Select.js +10 -1
  130. package/node_modules/@mui/material/modern/Select/SelectInput.js +9 -1
  131. package/node_modules/@mui/material/modern/Slide/Slide.js +5 -2
  132. package/node_modules/@mui/material/modern/Slider/useSlider.js +69 -12
  133. package/node_modules/@mui/material/modern/Step/StepContext.js +2 -0
  134. package/node_modules/@mui/material/modern/StepContent/StepContent.js +39 -7
  135. package/node_modules/@mui/material/modern/StepLabel/StepLabel.js +1 -3
  136. package/node_modules/@mui/material/modern/Stepper/StepperContext.js +2 -0
  137. package/node_modules/@mui/material/modern/SvgIcon/SvgIcon.js +1 -3
  138. package/node_modules/@mui/material/modern/Table/Tablelvl2Context.js +2 -0
  139. package/node_modules/@mui/material/modern/TablePagination/TablePagination.js +89 -33
  140. package/node_modules/@mui/material/modern/TableSortLabel/TableSortLabel.js +40 -7
  141. package/node_modules/@mui/material/modern/TextField/TextField.js +1 -0
  142. package/node_modules/@mui/material/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +2 -0
  143. package/node_modules/@mui/material/modern/ToggleButtonGroup/ToggleButtonGroupContext.js +2 -0
  144. package/node_modules/@mui/material/modern/Tooltip/Tooltip.js +1 -1
  145. package/node_modules/@mui/material/modern/Zoom/Zoom.js +5 -2
  146. package/node_modules/@mui/material/modern/index.js +1 -1
  147. package/node_modules/@mui/material/modern/usePagination/usePagination.js +1 -1
  148. package/node_modules/@mui/material/modern/utils/index.js +1 -0
  149. package/node_modules/@mui/material/modern/utils/mergeSlotProps.js +43 -0
  150. package/node_modules/@mui/material/modern/utils/useSlot.js +5 -1
  151. package/node_modules/@mui/material/modern/version/index.js +3 -3
  152. package/node_modules/@mui/material/node/AccordionSummary/AccordionSummary.js +4 -3
  153. package/node_modules/@mui/material/node/Alert/Alert.js +53 -21
  154. package/node_modules/@mui/material/node/AppBar/AppBar.js +1 -1
  155. package/node_modules/@mui/material/node/Autocomplete/Autocomplete.js +42 -55
  156. package/node_modules/@mui/material/node/AvatarGroup/AvatarGroup.js +5 -4
  157. package/node_modules/@mui/material/node/Backdrop/Backdrop.js +1 -9
  158. package/node_modules/@mui/material/node/Button/Button.js +233 -15
  159. package/node_modules/@mui/material/node/Button/buttonClasses.js +1 -1
  160. package/node_modules/@mui/material/node/ButtonGroup/ButtonGroupButtonContext.js +1 -0
  161. package/node_modules/@mui/material/node/ButtonGroup/ButtonGroupContext.js +1 -0
  162. package/node_modules/@mui/material/node/CardHeader/CardHeader.js +106 -37
  163. package/node_modules/@mui/material/node/CircularProgress/CircularProgress.js +2 -2
  164. package/node_modules/@mui/material/node/Collapse/Collapse.js +5 -4
  165. package/node_modules/@mui/material/node/Dialog/Dialog.js +91 -20
  166. package/node_modules/@mui/material/node/Dialog/DialogContext.js +1 -0
  167. package/node_modules/@mui/material/node/Drawer/Drawer.js +1 -1
  168. package/node_modules/@mui/material/node/Drawer/drawerClasses.js +1 -1
  169. package/node_modules/@mui/material/node/Fade/Fade.js +5 -2
  170. package/node_modules/@mui/material/node/FilledInput/FilledInput.js +1 -3
  171. package/node_modules/@mui/material/node/FormControl/FormControl.js +14 -15
  172. package/node_modules/@mui/material/node/FormControl/FormControlContext.js +1 -0
  173. package/node_modules/@mui/material/node/FormLabel/FormLabel.js +5 -8
  174. package/node_modules/@mui/material/node/Grid/Grid.js +2 -2
  175. package/node_modules/@mui/material/node/Grow/Grow.js +5 -2
  176. package/node_modules/@mui/material/node/Hidden/withWidth.js +1 -0
  177. package/node_modules/@mui/material/node/Icon/Icon.js +1 -3
  178. package/node_modules/@mui/material/node/IconButton/IconButton.js +79 -6
  179. package/node_modules/@mui/material/node/IconButton/iconButtonClasses.js +1 -1
  180. package/node_modules/@mui/material/node/Input/Input.js +1 -3
  181. package/node_modules/@mui/material/node/LinearProgress/LinearProgress.js +4 -4
  182. package/node_modules/@mui/material/node/LinearProgress/linearProgressClasses.js +1 -1
  183. package/node_modules/@mui/material/node/Link/getTextDecoration.js +3 -2
  184. package/node_modules/@mui/material/node/ListItemText/ListItemText.js +46 -7
  185. package/node_modules/@mui/material/node/OutlinedInput/OutlinedInput.js +1 -3
  186. package/node_modules/@mui/material/node/PigmentGrid/PigmentGrid.js +2 -2
  187. package/node_modules/@mui/material/node/RadioGroup/RadioGroupContext.js +1 -0
  188. package/node_modules/@mui/material/node/Select/Select.js +10 -1
  189. package/node_modules/@mui/material/node/Select/SelectInput.js +9 -1
  190. package/node_modules/@mui/material/node/Slide/Slide.js +5 -2
  191. package/node_modules/@mui/material/node/Slider/useSlider.js +69 -12
  192. package/node_modules/@mui/material/node/Step/StepContext.js +1 -0
  193. package/node_modules/@mui/material/node/StepContent/StepContent.js +39 -7
  194. package/node_modules/@mui/material/node/StepLabel/StepLabel.js +1 -3
  195. package/node_modules/@mui/material/node/Stepper/StepperContext.js +1 -0
  196. package/node_modules/@mui/material/node/SvgIcon/SvgIcon.js +1 -3
  197. package/node_modules/@mui/material/node/Table/Tablelvl2Context.js +1 -0
  198. package/node_modules/@mui/material/node/TablePagination/TablePagination.js +89 -33
  199. package/node_modules/@mui/material/node/TableSortLabel/TableSortLabel.js +40 -7
  200. package/node_modules/@mui/material/node/TextField/TextField.js +1 -0
  201. package/node_modules/@mui/material/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +1 -0
  202. package/node_modules/@mui/material/node/ToggleButtonGroup/ToggleButtonGroupContext.js +1 -0
  203. package/node_modules/@mui/material/node/Tooltip/Tooltip.js +1 -1
  204. package/node_modules/@mui/material/node/Zoom/Zoom.js +5 -2
  205. package/node_modules/@mui/material/node/index.js +1 -1
  206. package/node_modules/@mui/material/node/usePagination/usePagination.js +1 -1
  207. package/node_modules/@mui/material/node/utils/index.js +7 -0
  208. package/node_modules/@mui/material/node/utils/mergeSlotProps.js +50 -0
  209. package/node_modules/@mui/material/node/utils/useSlot.js +5 -1
  210. package/node_modules/@mui/material/node/version/index.js +3 -3
  211. package/node_modules/{react-is → @mui/material/node_modules/react-is}/LICENSE +1 -1
  212. package/node_modules/{react-is → @mui/material/node_modules/react-is}/README.md +0 -1
  213. package/node_modules/@mui/material/node_modules/react-is/cjs/react-is.development.js +133 -0
  214. package/node_modules/@mui/material/node_modules/react-is/cjs/react-is.production.js +130 -0
  215. package/node_modules/{react-is → @mui/material/node_modules/react-is}/index.js +1 -1
  216. package/node_modules/{react-is → @mui/material/node_modules/react-is}/package.json +4 -4
  217. package/node_modules/@mui/material/package.json +8 -8
  218. package/node_modules/@mui/material/styles/useThemeProps.d.ts +27 -0
  219. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +20 -5
  220. package/node_modules/@mui/material/useLazyRipple/useLazyRipple.d.ts +1 -1
  221. package/node_modules/@mui/material/usePagination/usePagination.js +1 -1
  222. package/node_modules/@mui/material/utils/index.d.ts +1 -0
  223. package/node_modules/@mui/material/utils/index.js +1 -0
  224. package/node_modules/@mui/material/utils/memoTheme.d.ts +1 -1
  225. package/node_modules/@mui/material/utils/mergeSlotProps.d.ts +2 -0
  226. package/node_modules/@mui/material/utils/mergeSlotProps.js +43 -0
  227. package/node_modules/@mui/material/utils/useSlot.d.ts +8 -0
  228. package/node_modules/@mui/material/utils/useSlot.js +5 -1
  229. package/node_modules/@mui/material/version/index.js +3 -3
  230. package/node_modules/@mui/private-theming/CHANGELOG.md +240 -2
  231. package/node_modules/@mui/private-theming/index.js +1 -1
  232. package/node_modules/@mui/private-theming/modern/index.js +1 -1
  233. package/node_modules/@mui/private-theming/modern/useTheme/ThemeContext.js +2 -0
  234. package/node_modules/@mui/private-theming/node/index.js +1 -1
  235. package/node_modules/@mui/private-theming/node/useTheme/ThemeContext.js +1 -0
  236. package/node_modules/@mui/private-theming/package.json +2 -2
  237. package/node_modules/@mui/private-theming/useTheme/ThemeContext.js +2 -0
  238. package/node_modules/@mui/styled-engine/CHANGELOG.md +198 -2
  239. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +29 -19
  240. package/node_modules/@mui/styled-engine/index.js +1 -1
  241. package/node_modules/@mui/styled-engine/modern/StyledEngineProvider/StyledEngineProvider.js +29 -19
  242. package/node_modules/@mui/styled-engine/modern/index.js +1 -1
  243. package/node_modules/@mui/styled-engine/node/StyledEngineProvider/StyledEngineProvider.js +29 -19
  244. package/node_modules/@mui/styled-engine/node/index.js +1 -1
  245. package/node_modules/@mui/styled-engine/package.json +1 -1
  246. package/node_modules/@mui/system/CHANGELOG.md +240 -2
  247. package/node_modules/@mui/system/Grid/index.d.ts +1 -0
  248. package/node_modules/@mui/system/Grid/index.js +24 -2
  249. package/node_modules/@mui/system/RtlProvider/index.js +1 -0
  250. package/node_modules/@mui/system/colorManipulator/colorManipulator.js +5 -0
  251. package/node_modules/@mui/system/createTheme/applyStyles.d.ts +7 -3
  252. package/node_modules/@mui/system/createTheme/applyStyles.js +7 -3
  253. package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +3 -1
  254. package/node_modules/@mui/system/esm/Grid/index.js +2 -1
  255. package/node_modules/@mui/system/esm/RtlProvider/index.js +2 -0
  256. package/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +5 -0
  257. package/node_modules/@mui/system/esm/createTheme/applyStyles.js +7 -3
  258. package/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +4 -1
  259. package/node_modules/@mui/system/esm/version/index.js +3 -3
  260. package/node_modules/@mui/system/index.js +1 -1
  261. package/node_modules/@mui/system/memoTheme.d.ts +1 -1
  262. package/node_modules/@mui/system/modern/Grid/index.js +2 -1
  263. package/node_modules/@mui/system/modern/RtlProvider/index.js +2 -0
  264. package/node_modules/@mui/system/modern/colorManipulator/colorManipulator.js +5 -0
  265. package/node_modules/@mui/system/modern/createTheme/applyStyles.js +7 -3
  266. package/node_modules/@mui/system/modern/cssVars/createCssVarsProvider.js +4 -1
  267. package/node_modules/@mui/system/modern/index.js +1 -1
  268. package/node_modules/@mui/system/modern/version/index.js +3 -3
  269. package/node_modules/@mui/system/package.json +5 -5
  270. package/node_modules/@mui/system/version/index.js +3 -3
  271. package/node_modules/@mui/types/package.json +1 -1
  272. package/node_modules/@mui/utils/CHANGELOG.md +240 -2
  273. package/node_modules/@mui/utils/composeClasses/composeClasses.d.ts +28 -0
  274. package/node_modules/@mui/utils/composeClasses/composeClasses.js +28 -0
  275. package/node_modules/@mui/utils/deepmerge/deepmerge.d.ts +18 -0
  276. package/node_modules/@mui/utils/deepmerge/deepmerge.js +22 -2
  277. package/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +28 -0
  278. package/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +22 -2
  279. package/node_modules/@mui/utils/index.js +1 -1
  280. package/node_modules/@mui/utils/modern/composeClasses/composeClasses.js +28 -0
  281. package/node_modules/@mui/utils/modern/deepmerge/deepmerge.js +22 -2
  282. package/node_modules/@mui/utils/modern/index.js +1 -1
  283. package/node_modules/@mui/utils/node_modules/react-is/LICENSE +21 -0
  284. package/node_modules/@mui/utils/node_modules/react-is/README.md +103 -0
  285. package/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js +133 -0
  286. package/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js +130 -0
  287. package/node_modules/@mui/utils/node_modules/react-is/index.js +7 -0
  288. package/node_modules/@mui/utils/node_modules/react-is/package.json +26 -0
  289. package/node_modules/@mui/utils/package.json +4 -4
  290. package/node_modules/@mui/utils/useLazyRef/useLazyRef.d.ts +1 -1
  291. package/node_modules/@mui/x-date-pickers/CHANGELOG.md +487 -0
  292. package/node_modules/@mui/x-date-pickers/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
  293. package/node_modules/@mui/x-date-pickers/DateCalendar/PickersSlideTransition.d.ts +1 -1
  294. package/node_modules/@mui/x-date-pickers/DateField/useDateField.d.ts +1 -1
  295. package/node_modules/@mui/x-date-pickers/DateTimeField/useDateTimeField.d.ts +1 -1
  296. package/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
  297. package/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  298. package/node_modules/@mui/x-date-pickers/README.md +1 -1
  299. package/node_modules/@mui/x-date-pickers/TimeClock/Clock.d.ts +4 -0
  300. package/node_modules/@mui/x-date-pickers/TimeClock/Clock.js +10 -6
  301. package/node_modules/@mui/x-date-pickers/TimeClock/TimeClock.js +21 -4
  302. package/node_modules/@mui/x-date-pickers/TimeField/useTimeField.d.ts +1 -1
  303. package/node_modules/@mui/x-date-pickers/index.js +1 -1
  304. package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.js +5 -0
  305. package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldV6TextField.js +5 -2
  306. package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldV7TextField.js +3 -0
  307. package/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerViews.d.ts +1 -1
  308. package/node_modules/@mui/x-date-pickers/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
  309. package/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js +1 -1
  310. package/node_modules/@mui/x-date-pickers/locales/index.d.ts +1 -0
  311. package/node_modules/@mui/x-date-pickers/locales/index.js +1 -0
  312. package/node_modules/@mui/x-date-pickers/locales/nbNO.js +15 -19
  313. package/node_modules/@mui/x-date-pickers/locales/roRO.js +15 -18
  314. package/node_modules/@mui/x-date-pickers/locales/zhTW.d.ts +80 -0
  315. package/node_modules/@mui/x-date-pickers/locales/zhTW.js +73 -0
  316. package/node_modules/@mui/x-date-pickers/modern/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
  317. package/node_modules/@mui/x-date-pickers/modern/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  318. package/node_modules/@mui/x-date-pickers/modern/TimeClock/Clock.js +10 -6
  319. package/node_modules/@mui/x-date-pickers/modern/TimeClock/TimeClock.js +21 -4
  320. package/node_modules/@mui/x-date-pickers/modern/index.js +1 -1
  321. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useField.js +5 -0
  322. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useFieldV6TextField.js +5 -2
  323. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useFieldV7TextField.js +3 -0
  324. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
  325. package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useUtils.js +1 -1
  326. package/node_modules/@mui/x-date-pickers/modern/locales/index.js +1 -0
  327. package/node_modules/@mui/x-date-pickers/modern/locales/nbNO.js +15 -19
  328. package/node_modules/@mui/x-date-pickers/modern/locales/roRO.js +15 -18
  329. package/node_modules/@mui/x-date-pickers/modern/locales/zhTW.js +73 -0
  330. package/node_modules/@mui/x-date-pickers/node/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
  331. package/node_modules/@mui/x-date-pickers/node/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
  332. package/node_modules/@mui/x-date-pickers/node/TimeClock/Clock.js +10 -6
  333. package/node_modules/@mui/x-date-pickers/node/TimeClock/TimeClock.js +21 -4
  334. package/node_modules/@mui/x-date-pickers/node/index.js +1 -1
  335. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useField.js +5 -0
  336. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useFieldV6TextField.js +5 -2
  337. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useFieldV7TextField.js +3 -0
  338. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
  339. package/node_modules/@mui/x-date-pickers/node/internals/hooks/useUtils.js +1 -1
  340. package/node_modules/@mui/x-date-pickers/node/locales/index.js +11 -0
  341. package/node_modules/@mui/x-date-pickers/node/locales/nbNO.js +15 -19
  342. package/node_modules/@mui/x-date-pickers/node/locales/roRO.js +15 -18
  343. package/node_modules/@mui/x-date-pickers/node/locales/zhTW.js +79 -0
  344. package/node_modules/@mui/x-date-pickers/package.json +3 -3
  345. package/node_modules/@mui/x-internals/CHANGELOG.md +487 -0
  346. package/node_modules/@mui/x-internals/esm/forwardRef/forwardRef.js +15 -0
  347. package/node_modules/@mui/x-internals/esm/forwardRef/index.js +1 -0
  348. package/node_modules/@mui/x-internals/esm/types/RefObject.js +1 -0
  349. package/node_modules/@mui/x-internals/esm/types/index.js +1 -0
  350. package/node_modules/@mui/x-internals/forwardRef/forwardRef.d.ts +4 -0
  351. package/node_modules/@mui/x-internals/forwardRef/forwardRef.js +23 -0
  352. package/node_modules/@mui/x-internals/forwardRef/index.d.ts +1 -0
  353. package/node_modules/@mui/x-internals/forwardRef/index.js +16 -0
  354. package/node_modules/@mui/x-internals/forwardRef/package.json +6 -0
  355. package/node_modules/@mui/x-internals/modern/forwardRef/forwardRef.js +15 -0
  356. package/node_modules/@mui/x-internals/modern/forwardRef/index.js +1 -0
  357. package/node_modules/@mui/x-internals/modern/types/RefObject.js +1 -0
  358. package/node_modules/@mui/x-internals/modern/types/index.js +1 -0
  359. package/node_modules/@mui/x-internals/package.json +1 -1
  360. package/node_modules/@mui/x-internals/types/RefObject.d.ts +8 -0
  361. package/node_modules/@mui/x-internals/types/RefObject.js +5 -0
  362. package/node_modules/@mui/x-internals/types/index.d.ts +1 -0
  363. package/node_modules/@mui/x-internals/types/index.js +16 -0
  364. package/node_modules/@mui/x-internals/types/package.json +6 -0
  365. package/node_modules/@mui/x-internals/useResizeObserver/useResizeObserver.d.ts +1 -1
  366. package/node_modules/@types/prop-types/README.md +1 -1
  367. package/node_modules/@types/prop-types/index.d.ts +21 -4
  368. package/node_modules/@types/prop-types/package.json +4 -3
  369. package/node_modules/@types/react-transition-group/README.md +3 -2
  370. package/node_modules/@types/react-transition-group/package.json +5 -4
  371. package/package.json +4 -4
  372. package/node_modules/@types/react/LICENSE +0 -21
  373. package/node_modules/@types/react/README.md +0 -15
  374. package/node_modules/@types/react/canary.d.ts +0 -166
  375. package/node_modules/@types/react/experimental.d.ts +0 -132
  376. package/node_modules/@types/react/global.d.ts +0 -160
  377. package/node_modules/@types/react/index.d.ts +0 -4543
  378. package/node_modules/@types/react/jsx-dev-runtime.d.ts +0 -45
  379. package/node_modules/@types/react/jsx-runtime.d.ts +0 -36
  380. package/node_modules/@types/react/package.json +0 -206
  381. package/node_modules/@types/react/ts5.0/canary.d.ts +0 -166
  382. package/node_modules/@types/react/ts5.0/experimental.d.ts +0 -132
  383. package/node_modules/@types/react/ts5.0/global.d.ts +0 -160
  384. package/node_modules/@types/react/ts5.0/index.d.ts +0 -4530
  385. package/node_modules/@types/react/ts5.0/jsx-dev-runtime.d.ts +0 -44
  386. package/node_modules/@types/react/ts5.0/jsx-runtime.d.ts +0 -35
  387. package/node_modules/react-is/cjs/react-is.development.js +0 -221
  388. package/node_modules/react-is/cjs/react-is.production.min.js +0 -14
  389. package/node_modules/react-is/umd/react-is.development.js +0 -220
  390. package/node_modules/react-is/umd/react-is.production.min.js +0 -15
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/system v6.1.10
2
+ * @mui/system v6.4.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -8,5 +8,5 @@ type ThemeStyleFunction<T> = (props: {
8
8
  */
9
9
  export default function unstable_memoTheme<T>(styleFn: ThemeStyleFunction<T>): (props: {
10
10
  theme: T;
11
- }) => string | number | boolean | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").Keyframes | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ArrayCSSInterpolation | null;
11
+ }) => string | number | boolean | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").Keyframes | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").ArrayCSSInterpolation | null;
12
12
  export {};
@@ -3,4 +3,5 @@ export { default as createGrid } from "./createGrid.js";
3
3
  export * from "./GridProps.js";
4
4
  export { default as gridClasses } from "./gridClasses.js";
5
5
  export * from "./gridClasses.js";
6
- export { traverseBreakpoints as unstable_traverseBreakpoints } from "./traverseBreakpoints.js";
6
+ export { traverseBreakpoints as unstable_traverseBreakpoints } from "./traverseBreakpoints.js";
7
+ export { generateDirectionClasses as unstable_generateDirectionClasses, generateSizeClassNames as unstable_generateSizeClassNames, generateSpacingClassNames as unstable_generateSpacingClassNames } from "./gridGenerator.js";
@@ -1,3 +1,5 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import PropTypes from 'prop-types';
3
5
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -30,6 +30,11 @@ export function hexToRgb(color) {
30
30
  if (colors && colors[0].length === 1) {
31
31
  colors = colors.map(n => n + n);
32
32
  }
33
+ if (process.env.NODE_ENV !== 'production') {
34
+ if (color.length !== color.trim().length) {
35
+ console.error(`MUI: The color: "${color}" is invalid. Make sure the color input doesn't contain leading/trailing space.`);
36
+ }
37
+ }
33
38
  return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {
34
39
  return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;
35
40
  }).join(', ')})` : '';
@@ -7,10 +7,14 @@
7
7
  *
8
8
  * Tips: Use an array over object spread and place `theme.applyStyles()` last.
9
9
  *
10
+ * With the styled function:
10
11
  * ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]
11
- *
12
12
  * 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}
13
13
  *
14
+ * With the sx prop:
15
+ * ✅ [{ background: '#e5e5e5' }, theme => theme.applyStyles('dark', { background: '#1c1c1c' })]
16
+ * 🚫 { background: '#e5e5e5', ...theme => theme.applyStyles('dark', { background: '#1c1c1c' })}
17
+ *
14
18
  * @example
15
19
  * 1. using with `styled`:
16
20
  * ```jsx
@@ -26,9 +30,9 @@
26
30
  * @example
27
31
  * 2. using with `sx` prop:
28
32
  * ```jsx
29
- * <Box sx={theme => [
33
+ * <Box sx={[
30
34
  * { background: '#e5e5e5' },
31
- * theme.applyStyles('dark', {
35
+ * theme => theme.applyStyles('dark', {
32
36
  * background: '#1c1c1c',
33
37
  * color: '#fff',
34
38
  * }),
@@ -1,7 +1,10 @@
1
+ 'use client';
2
+
1
3
  import * as React from 'react';
2
4
  import PropTypes from 'prop-types';
3
5
  import { GlobalStyles } from '@mui/styled-engine';
4
6
  import { useTheme as muiUseTheme } from '@mui/private-theming';
7
+ import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
5
8
  import ThemeProvider from "../ThemeProvider/index.js";
6
9
  import InitColorSchemeScript, { DEFAULT_COLOR_SCHEME_STORAGE_KEY, DEFAULT_MODE_STORAGE_KEY } from "../InitColorSchemeScript/InitColorSchemeScript.js";
7
10
  import useCurrentColorScheme from "./useCurrentColorScheme.js";
@@ -146,7 +149,7 @@ export default function createCssVarsProvider(options) {
146
149
  // 5. Declaring effects
147
150
  // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.
148
151
  const colorSchemeSelector = restThemeProp.colorSchemeSelector;
149
- React.useEffect(() => {
152
+ useEnhancedEffect(() => {
150
153
  if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== 'media') {
151
154
  const selector = colorSchemeSelector;
152
155
  let rule = colorSchemeSelector;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/system v6.1.10
2
+ * @mui/system v6.4.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,6 +1,6 @@
1
- export const version = "6.1.10";
1
+ export const version = "6.4.1";
2
2
  export const major = Number("6");
3
- export const minor = Number("1");
4
- export const patch = Number("10");
3
+ export const minor = Number("4");
4
+ export const patch = Number("1");
5
5
  export const prerelease = undefined;
6
6
  export default version;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/system",
3
- "version": "6.1.10",
3
+ "version": "6.4.1",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI System is a set of CSS utilities to help you build custom designs more efficiently. It makes it possible to rapidly lay out custom designs.",
@@ -30,10 +30,10 @@
30
30
  "clsx": "^2.1.1",
31
31
  "csstype": "^3.1.3",
32
32
  "prop-types": "^15.8.1",
33
- "@mui/styled-engine": "^6.1.10",
34
- "@mui/private-theming": "^6.1.10",
35
- "@mui/types": "^7.2.19",
36
- "@mui/utils": "^6.1.10"
33
+ "@mui/utils": "^6.4.1",
34
+ "@mui/types": "^7.2.21",
35
+ "@mui/private-theming": "^6.4.1",
36
+ "@mui/styled-engine": "^6.4.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@emotion/react": "^11.5.0",
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.version = exports.prerelease = exports.patch = exports.minor = exports.major = exports.default = void 0;
7
- const version = exports.version = "6.1.10";
7
+ const version = exports.version = "6.4.1";
8
8
  const major = exports.major = Number("6");
9
- const minor = exports.minor = Number("1");
10
- const patch = exports.patch = Number("10");
9
+ const minor = exports.minor = Number("4");
10
+ const patch = exports.patch = Number("1");
11
11
  const prerelease = exports.prerelease = undefined;
12
12
  var _default = exports.default = version;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/types",
3
- "version": "7.2.19",
3
+ "version": "7.2.21",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "Utility types for MUI.",
@@ -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
 
@@ -1 +1,29 @@
1
+ /**
2
+ * Compose classes from multiple sources.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * const slots = {
7
+ * root: ['root', 'primary'],
8
+ * label: ['label'],
9
+ * };
10
+ *
11
+ * const getUtilityClass = (slot) => `MuiButton-${slot}`;
12
+ *
13
+ * const classes = {
14
+ * root: 'my-root-class',
15
+ * };
16
+ *
17
+ * const output = composeClasses(slots, getUtilityClass, classes);
18
+ * // {
19
+ * // root: 'MuiButton-root MuiButton-primary my-root-class',
20
+ * // label: 'MuiButton-label',
21
+ * // }
22
+ * ```
23
+ *
24
+ * @param slots a list of classes for each possible slot
25
+ * @param getUtilityClass a function to resolve the class based on the slot name
26
+ * @param classes the input classes from props
27
+ * @returns the resolved classes for all slots
28
+ */
1
29
  export default function composeClasses<ClassKey extends string>(slots: Record<ClassKey, ReadonlyArray<string | false | undefined | null>>, getUtilityClass: (slot: string) => string, classes?: Record<string, string> | undefined): Record<ClassKey, string>;
@@ -9,6 +9,34 @@ exports.default = composeClasses;
9
9
  These rules are preventing the performance optimizations below.
10
10
  */
11
11
 
12
+ /**
13
+ * Compose classes from multiple sources.
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * const slots = {
18
+ * root: ['root', 'primary'],
19
+ * label: ['label'],
20
+ * };
21
+ *
22
+ * const getUtilityClass = (slot) => `MuiButton-${slot}`;
23
+ *
24
+ * const classes = {
25
+ * root: 'my-root-class',
26
+ * };
27
+ *
28
+ * const output = composeClasses(slots, getUtilityClass, classes);
29
+ * // {
30
+ * // root: 'MuiButton-root MuiButton-primary my-root-class',
31
+ * // label: 'MuiButton-label',
32
+ * // }
33
+ * ```
34
+ *
35
+ * @param slots a list of classes for each possible slot
36
+ * @param getUtilityClass a function to resolve the class based on the slot name
37
+ * @param classes the input classes from props
38
+ * @returns the resolved classes for all slots
39
+ */
12
40
  function composeClasses(slots, getUtilityClass, classes = undefined) {
13
41
  const output = {};
14
42
  for (const slotName in slots) {
@@ -2,4 +2,22 @@ export declare function isPlainObject(item: unknown): item is Record<keyof any,
2
2
  export interface DeepmergeOptions {
3
3
  clone?: boolean;
4
4
  }
5
+ /**
6
+ * Merge objects deeply.
7
+ * It will shallow copy React elements.
8
+ *
9
+ * If `options.clone` is set to `false` the source object will be merged directly into the target object.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
14
+ * // => { a: { b: 1, c: 2 }, d: 4 }
15
+ * ````
16
+ *
17
+ * @param target The target object.
18
+ * @param source The source object.
19
+ * @param options The merge options.
20
+ * @param options.clone Set to `false` to merge the source object directly into the target object.
21
+ * @returns The merged object.
22
+ */
5
23
  export default function deepmerge<T>(target: T, source: unknown, options?: DeepmergeOptions): T;
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = deepmerge;
8
8
  exports.isPlainObject = isPlainObject;
9
9
  var React = _interopRequireWildcard(require("react"));
10
+ var _reactIs = require("react-is");
10
11
  // https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
11
12
  function isPlainObject(item) {
12
13
  if (typeof item !== 'object' || item === null) {
@@ -16,7 +17,7 @@ function isPlainObject(item) {
16
17
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
17
18
  }
18
19
  function deepClone(source) {
19
- if (/*#__PURE__*/React.isValidElement(source) || !isPlainObject(source)) {
20
+ if (/*#__PURE__*/React.isValidElement(source) || (0, _reactIs.isValidElementType)(source) || !isPlainObject(source)) {
20
21
  return source;
21
22
  }
22
23
  const output = {};
@@ -25,6 +26,25 @@ function deepClone(source) {
25
26
  });
26
27
  return output;
27
28
  }
29
+
30
+ /**
31
+ * Merge objects deeply.
32
+ * It will shallow copy React elements.
33
+ *
34
+ * If `options.clone` is set to `false` the source object will be merged directly into the target object.
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
39
+ * // => { a: { b: 1, c: 2 }, d: 4 }
40
+ * ````
41
+ *
42
+ * @param target The target object.
43
+ * @param source The source object.
44
+ * @param options The merge options.
45
+ * @param options.clone Set to `false` to merge the source object directly into the target object.
46
+ * @returns The merged object.
47
+ */
28
48
  function deepmerge(target, source, options = {
29
49
  clone: true
30
50
  }) {
@@ -33,7 +53,7 @@ function deepmerge(target, source, options = {
33
53
  } : target;
34
54
  if (isPlainObject(target) && isPlainObject(source)) {
35
55
  Object.keys(source).forEach(key => {
36
- if (/*#__PURE__*/React.isValidElement(source[key])) {
56
+ if (/*#__PURE__*/React.isValidElement(source[key]) || (0, _reactIs.isValidElementType)(source[key])) {
37
57
  output[key] = source[key];
38
58
  } else if (isPlainObject(source[key]) &&
39
59
  // Avoid prototype pollution
@@ -3,6 +3,34 @@
3
3
  These rules are preventing the performance optimizations below.
4
4
  */
5
5
 
6
+ /**
7
+ * Compose classes from multiple sources.
8
+ *
9
+ * @example
10
+ * ```tsx
11
+ * const slots = {
12
+ * root: ['root', 'primary'],
13
+ * label: ['label'],
14
+ * };
15
+ *
16
+ * const getUtilityClass = (slot) => `MuiButton-${slot}`;
17
+ *
18
+ * const classes = {
19
+ * root: 'my-root-class',
20
+ * };
21
+ *
22
+ * const output = composeClasses(slots, getUtilityClass, classes);
23
+ * // {
24
+ * // root: 'MuiButton-root MuiButton-primary my-root-class',
25
+ * // label: 'MuiButton-label',
26
+ * // }
27
+ * ```
28
+ *
29
+ * @param slots a list of classes for each possible slot
30
+ * @param getUtilityClass a function to resolve the class based on the slot name
31
+ * @param classes the input classes from props
32
+ * @returns the resolved classes for all slots
33
+ */
6
34
  export default function composeClasses(slots, getUtilityClass, classes = undefined) {
7
35
  const output = {};
8
36
  for (const slotName in slots) {
@@ -1,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { isValidElementType } from 'react-is';
2
3
 
3
4
  // https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
4
5
  export function isPlainObject(item) {
@@ -9,7 +10,7 @@ export function isPlainObject(item) {
9
10
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
10
11
  }
11
12
  function deepClone(source) {
12
- if (/*#__PURE__*/React.isValidElement(source) || !isPlainObject(source)) {
13
+ if (/*#__PURE__*/React.isValidElement(source) || isValidElementType(source) || !isPlainObject(source)) {
13
14
  return source;
14
15
  }
15
16
  const output = {};
@@ -18,6 +19,25 @@ function deepClone(source) {
18
19
  });
19
20
  return output;
20
21
  }
22
+
23
+ /**
24
+ * Merge objects deeply.
25
+ * It will shallow copy React elements.
26
+ *
27
+ * If `options.clone` is set to `false` the source object will be merged directly into the target object.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
32
+ * // => { a: { b: 1, c: 2 }, d: 4 }
33
+ * ````
34
+ *
35
+ * @param target The target object.
36
+ * @param source The source object.
37
+ * @param options The merge options.
38
+ * @param options.clone Set to `false` to merge the source object directly into the target object.
39
+ * @returns The merged object.
40
+ */
21
41
  export default function deepmerge(target, source, options = {
22
42
  clone: true
23
43
  }) {
@@ -26,7 +46,7 @@ export default function deepmerge(target, source, options = {
26
46
  } : target;
27
47
  if (isPlainObject(target) && isPlainObject(source)) {
28
48
  Object.keys(source).forEach(key => {
29
- if (/*#__PURE__*/React.isValidElement(source[key])) {
49
+ if (/*#__PURE__*/React.isValidElement(source[key]) || isValidElementType(source[key])) {
30
50
  output[key] = source[key];
31
51
  } else if (isPlainObject(source[key]) &&
32
52
  // Avoid prototype pollution
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/utils v6.1.10
2
+ * @mui/utils v6.4.1
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the