@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
@@ -187,6 +187,39 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
187
187
  ...slotProps
188
188
  }
189
189
  };
190
+ const [RootSlot, rootSlotProps] = useSlot('root', {
191
+ ref,
192
+ shouldForwardComponentProp: true,
193
+ className: clsx(classes.root, className),
194
+ elementType: AlertRoot,
195
+ externalForwardedProps: {
196
+ ...externalForwardedProps,
197
+ ...other
198
+ },
199
+ ownerState,
200
+ additionalProps: {
201
+ role,
202
+ elevation: 0
203
+ }
204
+ });
205
+ const [IconSlot, iconSlotProps] = useSlot('icon', {
206
+ className: classes.icon,
207
+ elementType: AlertIcon,
208
+ externalForwardedProps,
209
+ ownerState
210
+ });
211
+ const [MessageSlot, messageSlotProps] = useSlot('message', {
212
+ className: classes.message,
213
+ elementType: AlertMessage,
214
+ externalForwardedProps,
215
+ ownerState
216
+ });
217
+ const [ActionSlot, actionSlotProps] = useSlot('action', {
218
+ className: classes.action,
219
+ elementType: AlertAction,
220
+ externalForwardedProps,
221
+ ownerState
222
+ });
190
223
  const [CloseButtonSlot, closeButtonProps] = useSlot('closeButton', {
191
224
  elementType: IconButton,
192
225
  externalForwardedProps,
@@ -197,28 +230,19 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
197
230
  externalForwardedProps,
198
231
  ownerState
199
232
  });
200
- return /*#__PURE__*/_jsxs(AlertRoot, {
201
- role: role,
202
- elevation: 0,
203
- ownerState: ownerState,
204
- className: clsx(classes.root, className),
205
- ref: ref,
206
- ...other,
207
- children: [icon !== false ? /*#__PURE__*/_jsx(AlertIcon, {
208
- ownerState: ownerState,
209
- className: classes.icon,
233
+ return /*#__PURE__*/_jsxs(RootSlot, {
234
+ ...rootSlotProps,
235
+ children: [icon !== false ? /*#__PURE__*/_jsx(IconSlot, {
236
+ ...iconSlotProps,
210
237
  children: icon || iconMapping[severity] || defaultIconMapping[severity]
211
- }) : null, /*#__PURE__*/_jsx(AlertMessage, {
212
- ownerState: ownerState,
213
- className: classes.message,
238
+ }) : null, /*#__PURE__*/_jsx(MessageSlot, {
239
+ ...messageSlotProps,
214
240
  children: children
215
- }), action != null ? /*#__PURE__*/_jsx(AlertAction, {
216
- ownerState: ownerState,
217
- className: classes.action,
241
+ }), action != null ? /*#__PURE__*/_jsx(ActionSlot, {
242
+ ...actionSlotProps,
218
243
  children: action
219
- }) : null, action == null && onClose ? /*#__PURE__*/_jsx(AlertAction, {
220
- ownerState: ownerState,
221
- className: classes.action,
244
+ }) : null, action == null && onClose ? /*#__PURE__*/_jsx(ActionSlot, {
245
+ ...actionSlotProps,
222
246
  children: /*#__PURE__*/_jsx(CloseButtonSlot, {
223
247
  size: "small",
224
248
  "aria-label": closeText,
@@ -330,16 +354,24 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
330
354
  * @default {}
331
355
  */
332
356
  slotProps: PropTypes.shape({
357
+ action: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
333
358
  closeButton: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
334
- closeIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
359
+ closeIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
360
+ icon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
361
+ message: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
362
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
335
363
  }),
336
364
  /**
337
365
  * The components used for each slot inside.
338
366
  * @default {}
339
367
  */
340
368
  slots: PropTypes.shape({
369
+ action: PropTypes.elementType,
341
370
  closeButton: PropTypes.elementType,
342
- closeIcon: PropTypes.elementType
371
+ closeIcon: PropTypes.elementType,
372
+ icon: PropTypes.elementType,
373
+ message: PropTypes.elementType,
374
+ root: PropTypes.elementType
343
375
  }),
344
376
  /**
345
377
  * The system prop that allows defining system overrides as well as additional CSS styles.
@@ -30,7 +30,7 @@ export interface AppBarOwnProps {
30
30
  enableColorOnDark?: boolean;
31
31
  /**
32
32
  * The positioning type. The behavior of the different options is described
33
- * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).
33
+ * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/position).
34
34
  * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
35
35
  * @default 'fixed'
36
36
  */
@@ -214,7 +214,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
214
214
  enableColorOnDark: PropTypes.bool,
215
215
  /**
216
216
  * The positioning type. The behavior of the different options is described
217
- * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).
217
+ * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/position).
218
218
  * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
219
219
  * @default 'fixed'
220
220
  */
@@ -65,7 +65,7 @@ export interface AutocompleteRenderOptionState {
65
65
  }
66
66
 
67
67
  export interface AutocompleteRenderGroupParams {
68
- key: string;
68
+ key: number;
69
69
  group: string;
70
70
  children?: React.ReactNode;
71
71
  }
@@ -251,12 +251,12 @@ const AutocompleteClearIndicator = styled(IconButton, {
251
251
  const AutocompletePopupIndicator = styled(IconButton, {
252
252
  name: 'MuiAutocomplete',
253
253
  slot: 'PopupIndicator',
254
- overridesResolver: ({
255
- ownerState
256
- }, styles) => ({
257
- ...styles.popupIndicator,
258
- ...(ownerState.popupOpen && styles.popupIndicatorOpen)
259
- })
254
+ overridesResolver: (props, styles) => {
255
+ const {
256
+ ownerState
257
+ } = props;
258
+ return [styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen];
259
+ }
260
260
  })({
261
261
  padding: 2,
262
262
  marginRight: -2,
@@ -650,53 +650,6 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
650
650
  };
651
651
  const clearIndicatorSlotProps = externalForwardedProps.slotProps.clearIndicator;
652
652
  const popupIndicatorSlotProps = externalForwardedProps.slotProps.popupIndicator;
653
- const renderAutocompletePopperChildren = children => /*#__PURE__*/_jsx(AutocompletePopper, {
654
- as: PopperSlot,
655
- ...popperProps,
656
- children: /*#__PURE__*/_jsx(AutocompletePaper, {
657
- as: PaperSlot,
658
- ...paperProps,
659
- children: children
660
- })
661
- });
662
- let autocompletePopper = null;
663
- if (groupedOptions.length > 0) {
664
- autocompletePopper = renderAutocompletePopperChildren(
665
- /*#__PURE__*/
666
- // TODO v7: remove `as` prop and move ListboxComponentProp to externalForwardedProps or remove ListboxComponentProp entirely
667
- // https://github.com/mui/material-ui/pull/43994#issuecomment-2401945800
668
- _jsx(ListboxSlot, {
669
- as: ListboxComponentProp,
670
- ...listboxProps,
671
- children: groupedOptions.map((option, index) => {
672
- if (groupBy) {
673
- return renderGroup({
674
- key: option.key,
675
- group: option.group,
676
- children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))
677
- });
678
- }
679
- return renderListOption(option, index);
680
- })
681
- }));
682
- } else if (loading && groupedOptions.length === 0) {
683
- autocompletePopper = renderAutocompletePopperChildren(/*#__PURE__*/_jsx(AutocompleteLoading, {
684
- className: classes.loading,
685
- ownerState: ownerState,
686
- children: loadingText
687
- }));
688
- } else if (groupedOptions.length === 0 && !freeSolo && !loading) {
689
- autocompletePopper = renderAutocompletePopperChildren(/*#__PURE__*/_jsx(AutocompleteNoOptions, {
690
- className: classes.noOptions,
691
- ownerState: ownerState,
692
- role: "presentation",
693
- onMouseDown: event => {
694
- // Prevent input blur when interacting with the "no options" content
695
- event.preventDefault();
696
- },
697
- children: noOptionsText
698
- }));
699
- }
700
653
  return /*#__PURE__*/_jsxs(React.Fragment, {
701
654
  children: [/*#__PURE__*/_jsx(AutocompleteRoot, {
702
655
  ref: ref,
@@ -750,7 +703,41 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
750
703
  ...getInputProps()
751
704
  }
752
705
  })
753
- }), anchorEl ? autocompletePopper : null]
706
+ }), anchorEl ? /*#__PURE__*/_jsx(AutocompletePopper, {
707
+ as: PopperSlot,
708
+ ...popperProps,
709
+ children: /*#__PURE__*/_jsxs(AutocompletePaper, {
710
+ as: PaperSlot,
711
+ ...paperProps,
712
+ children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/_jsx(AutocompleteLoading, {
713
+ className: classes.loading,
714
+ ownerState: ownerState,
715
+ children: loadingText
716
+ }) : null, groupedOptions.length === 0 && !freeSolo && !loading ? /*#__PURE__*/_jsx(AutocompleteNoOptions, {
717
+ className: classes.noOptions,
718
+ ownerState: ownerState,
719
+ role: "presentation",
720
+ onMouseDown: event => {
721
+ // Prevent input blur when interacting with the "no options" content
722
+ event.preventDefault();
723
+ },
724
+ children: noOptionsText
725
+ }) : null, groupedOptions.length > 0 ? /*#__PURE__*/_jsx(ListboxSlot, {
726
+ as: ListboxComponentProp,
727
+ ...listboxProps,
728
+ children: groupedOptions.map((option, index) => {
729
+ if (groupBy) {
730
+ return renderGroup({
731
+ key: option.key,
732
+ group: option.group,
733
+ children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))
734
+ });
735
+ }
736
+ return renderListOption(option, index);
737
+ })
738
+ }) : null]
739
+ })
740
+ }) : null]
754
741
  });
755
742
  });
756
743
  process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptypes */ = {
@@ -952,7 +939,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
952
939
  * If provided, the options will be grouped under the returned string.
953
940
  * The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
954
941
  *
955
- * @param {Value} options The options to group.
942
+ * @param {Value} option The Autocomplete option.
956
943
  * @returns {string}
957
944
  */
958
945
  groupBy: PropTypes.func,
@@ -30,10 +30,11 @@ const useUtilityClasses = ownerState => {
30
30
  const AvatarGroupRoot = styled('div', {
31
31
  name: 'MuiAvatarGroup',
32
32
  slot: 'Root',
33
- overridesResolver: (props, styles) => ({
34
- [`& .${avatarGroupClasses.avatar}`]: styles.avatar,
35
- ...styles.root
36
- })
33
+ overridesResolver: (props, styles) => {
34
+ return [{
35
+ [`& .${avatarGroupClasses.avatar}`]: styles.avatar
36
+ }, styles.root];
37
+ }
37
38
  })(memoTheme(({
38
39
  theme
39
40
  }) => ({
@@ -10,13 +10,6 @@ import useSlot from "../utils/useSlot.js";
10
10
  import Fade from "../Fade/index.js";
11
11
  import { getBackdropUtilityClass } from "./backdropClasses.js";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
- const removeOwnerState = props => {
14
- const {
15
- ownerState,
16
- ...rest
17
- } = props;
18
- return rest;
19
- };
20
13
  const useUtilityClasses = ownerState => {
21
14
  const {
22
15
  classes,
@@ -105,12 +98,11 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
105
98
  externalForwardedProps,
106
99
  ownerState
107
100
  });
108
- const transitionPropsRemoved = removeOwnerState(transitionProps);
109
101
  return /*#__PURE__*/_jsx(TransitionSlot, {
110
102
  in: open,
111
103
  timeout: transitionDuration,
112
104
  ...other,
113
- ...transitionPropsRemoved,
105
+ ...transitionProps,
114
106
  children: /*#__PURE__*/_jsx(RootSlot, {
115
107
  "aria-hidden": true,
116
108
  ...rootProps,
@@ -18,6 +18,8 @@ declare const Box: OverridableComponent<BoxTypeMap<{}, 'div', MaterialTheme>>;
18
18
  export type BoxProps<
19
19
  RootComponent extends React.ElementType = BoxTypeMap['defaultComponent'],
20
20
  AdditionalProps = {},
21
- > = OverrideProps<BoxTypeMap<AdditionalProps, RootComponent, MaterialTheme>, RootComponent>;
21
+ > = OverrideProps<BoxTypeMap<AdditionalProps, RootComponent, MaterialTheme>, RootComponent> & {
22
+ component?: React.ElementType;
23
+ };
22
24
 
23
25
  export default Box;
@@ -60,6 +60,24 @@ export interface ButtonOwnProps {
60
60
  * If defined, an `a` element will be used as the root node.
61
61
  */
62
62
  href?: string;
63
+ /**
64
+ * If `true`, the loading indicator is visible and the button is disabled.
65
+ * 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).
66
+ * @default null
67
+ */
68
+ loading?: boolean | null;
69
+ /**
70
+ * Element placed before the children if the button is in loading state.
71
+ * The node should contain an element with `role="progressbar"` with an accessible name.
72
+ * By default, it renders a `CircularProgress` that is labeled by the button itself.
73
+ * @default <CircularProgress color="inherit" size={16} />
74
+ */
75
+ loadingIndicator?: React.ReactNode;
76
+ /**
77
+ * The loading indicator can be positioned on the start, end, or the center of the button.
78
+ * @default 'center'
79
+ */
80
+ loadingPosition?: 'start' | 'end' | 'center';
63
81
  /**
64
82
  * The size of the component.
65
83
  * `small` is equivalent to the dense button styling.