@sitecore/sc-contenthub-blok 1.0.32 → 2.0.1

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 (568) hide show
  1. package/node_modules/@babel/code-frame/package.json +2 -2
  2. package/node_modules/@babel/generator/lib/buffer.js +11 -8
  3. package/node_modules/@babel/generator/lib/buffer.js.map +1 -1
  4. package/node_modules/@babel/generator/lib/node/index.js +22 -8
  5. package/node_modules/@babel/generator/lib/node/index.js.map +1 -1
  6. package/node_modules/@babel/generator/lib/printer.js +2 -1
  7. package/node_modules/@babel/generator/lib/printer.js.map +1 -1
  8. package/node_modules/@babel/generator/lib/source-map.js +3 -1
  9. package/node_modules/@babel/generator/lib/source-map.js.map +1 -1
  10. package/node_modules/@babel/generator/package.json +6 -6
  11. package/node_modules/@babel/helper-globals/package.json +1 -1
  12. package/node_modules/@babel/helper-module-imports/package.json +4 -4
  13. package/node_modules/@babel/helper-string-parser/package.json +1 -1
  14. package/node_modules/@babel/helper-validator-identifier/package.json +1 -1
  15. package/node_modules/@babel/parser/lib/index.js +19 -7
  16. package/node_modules/@babel/parser/lib/index.js.map +1 -1
  17. package/node_modules/@babel/parser/package.json +7 -7
  18. package/node_modules/@babel/parser/typings/babel-parser.d.ts +1 -1
  19. package/node_modules/@babel/runtime/package.json +1 -1
  20. package/node_modules/@babel/template/package.json +4 -4
  21. package/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
  22. package/node_modules/@babel/traverse/lib/visitors.js +1 -1
  23. package/node_modules/@babel/traverse/package.json +9 -9
  24. package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  25. package/node_modules/@babel/types/lib/builders/generated/lowercase.js +2 -1
  26. package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -1
  27. package/node_modules/@babel/types/lib/definitions/core.js +11 -1
  28. package/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  29. package/node_modules/@babel/types/lib/index-legacy.d.ts +4 -5
  30. package/node_modules/@babel/types/lib/index.d.ts +5 -6
  31. package/node_modules/@babel/types/lib/index.js.flow +4 -5
  32. package/node_modules/@babel/types/package.json +6 -6
  33. package/node_modules/@mui/core-downloads-tracker/LICENSE +1 -1
  34. package/node_modules/@mui/core-downloads-tracker/package.json +1 -1
  35. package/node_modules/@mui/material/Accordion/Accordion.d.mts +2 -2
  36. package/node_modules/@mui/material/Accordion/Accordion.d.ts +2 -2
  37. package/node_modules/@mui/material/Accordion/Accordion.js +3 -2
  38. package/node_modules/@mui/material/Accordion/Accordion.mjs +3 -2
  39. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +27 -29
  40. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.mjs +27 -29
  41. package/node_modules/@mui/material/Autocomplete/Autocomplete.d.mts +12 -1
  42. package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +12 -1
  43. package/node_modules/@mui/material/Autocomplete/Autocomplete.js +48 -22
  44. package/node_modules/@mui/material/Autocomplete/Autocomplete.mjs +48 -22
  45. package/node_modules/@mui/material/Autocomplete/autocompleteClasses.d.mts +2 -0
  46. package/node_modules/@mui/material/Autocomplete/autocompleteClasses.d.ts +2 -0
  47. package/node_modules/@mui/material/Autocomplete/autocompleteClasses.js +1 -1
  48. package/node_modules/@mui/material/Autocomplete/autocompleteClasses.mjs +1 -1
  49. package/node_modules/@mui/material/Avatar/Avatar.js +2 -0
  50. package/node_modules/@mui/material/Avatar/Avatar.mjs +2 -0
  51. package/node_modules/@mui/material/Backdrop/Backdrop.d.mts +2 -2
  52. package/node_modules/@mui/material/Backdrop/Backdrop.d.ts +2 -2
  53. package/node_modules/@mui/material/Badge/Badge.js +28 -24
  54. package/node_modules/@mui/material/Badge/Badge.mjs +28 -24
  55. package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +6 -2
  56. package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.mjs +6 -2
  57. package/node_modules/@mui/material/Button/Button.js +11 -15
  58. package/node_modules/@mui/material/Button/Button.mjs +11 -15
  59. package/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
  60. package/node_modules/@mui/material/ButtonBase/ButtonBase.mjs +1 -1
  61. package/node_modules/@mui/material/ButtonBase/Ripple.js +21 -11
  62. package/node_modules/@mui/material/ButtonBase/Ripple.mjs +21 -11
  63. package/node_modules/@mui/material/ButtonBase/TouchRipple.js +252 -108
  64. package/node_modules/@mui/material/ButtonBase/TouchRipple.mjs +253 -109
  65. package/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +3 -3
  66. package/node_modules/@mui/material/ButtonGroup/ButtonGroup.mjs +3 -3
  67. package/node_modules/@mui/material/CHANGELOG.md +286 -0
  68. package/node_modules/@mui/material/CardActionArea/CardActionArea.js +2 -1
  69. package/node_modules/@mui/material/CardActionArea/CardActionArea.mjs +2 -1
  70. package/node_modules/@mui/material/Checkbox/Checkbox.js +3 -1
  71. package/node_modules/@mui/material/Checkbox/Checkbox.mjs +3 -1
  72. package/node_modules/@mui/material/Chip/Chip.js +2 -1
  73. package/node_modules/@mui/material/Chip/Chip.mjs +2 -1
  74. package/node_modules/@mui/material/CircularProgress/CircularProgress.js +85 -55
  75. package/node_modules/@mui/material/CircularProgress/CircularProgress.mjs +84 -55
  76. package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
  77. package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.mjs +1 -1
  78. package/node_modules/@mui/material/Collapse/Collapse.d.mts +15 -3
  79. package/node_modules/@mui/material/Collapse/Collapse.d.ts +15 -3
  80. package/node_modules/@mui/material/Collapse/Collapse.js +44 -31
  81. package/node_modules/@mui/material/Collapse/Collapse.mjs +43 -30
  82. package/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.d.mts +1 -1
  83. package/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.d.ts +1 -1
  84. package/node_modules/@mui/material/Dialog/Dialog.d.mts +2 -2
  85. package/node_modules/@mui/material/Dialog/Dialog.d.ts +2 -2
  86. package/node_modules/@mui/material/Dialog/Dialog.js +2 -0
  87. package/node_modules/@mui/material/Dialog/Dialog.mjs +2 -0
  88. package/node_modules/@mui/material/Drawer/Drawer.d.mts +2 -2
  89. package/node_modules/@mui/material/Drawer/Drawer.d.ts +2 -2
  90. package/node_modules/@mui/material/Fab/Fab.js +2 -1
  91. package/node_modules/@mui/material/Fab/Fab.mjs +2 -1
  92. package/node_modules/@mui/material/Fade/Fade.d.mts +15 -2
  93. package/node_modules/@mui/material/Fade/Fade.d.ts +15 -2
  94. package/node_modules/@mui/material/Fade/Fade.js +46 -19
  95. package/node_modules/@mui/material/Fade/Fade.mjs +45 -18
  96. package/node_modules/@mui/material/FilledInput/FilledInput.js +11 -4
  97. package/node_modules/@mui/material/FilledInput/FilledInput.mjs +11 -4
  98. package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.d.mts +2 -0
  99. package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.d.ts +2 -0
  100. package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js +1 -1
  101. package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.mjs +1 -1
  102. package/node_modules/@mui/material/Grow/Grow.d.mts +15 -2
  103. package/node_modules/@mui/material/Grow/Grow.d.ts +15 -2
  104. package/node_modules/@mui/material/Grow/Grow.js +45 -28
  105. package/node_modules/@mui/material/Grow/Grow.mjs +44 -27
  106. package/node_modules/@mui/material/IconButton/IconButton.js +2 -1
  107. package/node_modules/@mui/material/IconButton/IconButton.mjs +2 -1
  108. package/node_modules/@mui/material/InitColorSchemeScript/InitColorSchemeScript.d.mts +6 -6
  109. package/node_modules/@mui/material/InitColorSchemeScript/InitColorSchemeScript.d.ts +6 -6
  110. package/node_modules/@mui/material/Input/Input.js +3 -2
  111. package/node_modules/@mui/material/Input/Input.mjs +3 -2
  112. package/node_modules/@mui/material/InputBase/InputBase.js +3 -1
  113. package/node_modules/@mui/material/InputBase/InputBase.mjs +3 -1
  114. package/node_modules/@mui/material/InputLabel/InputLabel.js +2 -1
  115. package/node_modules/@mui/material/InputLabel/InputLabel.mjs +2 -1
  116. package/node_modules/@mui/material/LICENSE +1 -1
  117. package/node_modules/@mui/material/LinearProgress/LinearProgress.js +187 -120
  118. package/node_modules/@mui/material/LinearProgress/LinearProgress.mjs +186 -120
  119. package/node_modules/@mui/material/ListItem/ListItem.d.mts +2 -1
  120. package/node_modules/@mui/material/ListItem/ListItem.d.ts +2 -1
  121. package/node_modules/@mui/material/ListItem/ListItem.js +3 -2
  122. package/node_modules/@mui/material/ListItem/ListItem.mjs +3 -2
  123. package/node_modules/@mui/material/ListItemButton/ListItemButton.d.mts +1 -1
  124. package/node_modules/@mui/material/ListItemButton/ListItemButton.d.ts +1 -1
  125. package/node_modules/@mui/material/ListItemButton/ListItemButton.js +2 -1
  126. package/node_modules/@mui/material/ListItemButton/ListItemButton.mjs +2 -1
  127. package/node_modules/@mui/material/Menu/Menu.d.mts +1 -1
  128. package/node_modules/@mui/material/Menu/Menu.d.ts +1 -1
  129. package/node_modules/@mui/material/MenuItem/MenuItem.d.mts +1 -0
  130. package/node_modules/@mui/material/MenuItem/MenuItem.d.ts +1 -0
  131. package/node_modules/@mui/material/MenuItem/MenuItem.js +7 -0
  132. package/node_modules/@mui/material/MenuItem/MenuItem.mjs +7 -0
  133. package/node_modules/@mui/material/MenuList/MenuList.js +6 -2
  134. package/node_modules/@mui/material/MenuList/MenuList.mjs +6 -2
  135. package/node_modules/@mui/material/MobileStepper/MobileStepper.js +2 -1
  136. package/node_modules/@mui/material/MobileStepper/MobileStepper.mjs +2 -1
  137. package/node_modules/@mui/material/Modal/Modal.js +2 -1
  138. package/node_modules/@mui/material/Modal/Modal.mjs +2 -1
  139. package/node_modules/@mui/material/Modal/ModalManager.js +19 -30
  140. package/node_modules/@mui/material/Modal/ModalManager.mjs +19 -30
  141. package/node_modules/@mui/material/Modal/useModal.js +7 -0
  142. package/node_modules/@mui/material/Modal/useModal.mjs +7 -0
  143. package/node_modules/@mui/material/Modal/useModal.types.d.mts +5 -0
  144. package/node_modules/@mui/material/Modal/useModal.types.d.ts +5 -0
  145. package/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +32 -3
  146. package/node_modules/@mui/material/NativeSelect/NativeSelectInput.mjs +32 -3
  147. package/node_modules/@mui/material/NoSsr/NoSsr.js +1 -0
  148. package/node_modules/@mui/material/NoSsr/NoSsr.mjs +1 -0
  149. package/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +4 -3
  150. package/node_modules/@mui/material/OutlinedInput/NotchedOutline.mjs +4 -3
  151. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +7 -1
  152. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.mjs +7 -1
  153. package/node_modules/@mui/material/PaginationItem/PaginationItem.js +2 -1
  154. package/node_modules/@mui/material/PaginationItem/PaginationItem.mjs +2 -1
  155. package/node_modules/@mui/material/Paper/Paper.js +2 -1
  156. package/node_modules/@mui/material/Paper/Paper.mjs +2 -1
  157. package/node_modules/@mui/material/Popover/Popover.d.mts +1 -1
  158. package/node_modules/@mui/material/Popover/Popover.d.ts +1 -1
  159. package/node_modules/@mui/material/Popper/BasePopper.js +1 -6
  160. package/node_modules/@mui/material/Popper/BasePopper.mjs +1 -6
  161. package/node_modules/@mui/material/README.md +3 -2
  162. package/node_modules/@mui/material/Radio/Radio.js +3 -0
  163. package/node_modules/@mui/material/Radio/Radio.mjs +3 -0
  164. package/node_modules/@mui/material/Radio/RadioButtonIcon.js +3 -2
  165. package/node_modules/@mui/material/Radio/RadioButtonIcon.mjs +3 -2
  166. package/node_modules/@mui/material/Rating/Rating.js +4 -3
  167. package/node_modules/@mui/material/Rating/Rating.mjs +4 -3
  168. package/node_modules/@mui/material/Select/SelectInput.js +118 -25
  169. package/node_modules/@mui/material/Select/SelectInput.mjs +118 -25
  170. package/node_modules/@mui/material/Select/utils/SelectFocusSourceContext.d.mts +2 -2
  171. package/node_modules/@mui/material/Select/utils/SelectFocusSourceContext.d.ts +2 -2
  172. package/node_modules/@mui/material/Select/utils/closedTypeahead.js +73 -0
  173. package/node_modules/@mui/material/Select/utils/closedTypeahead.mjs +63 -0
  174. package/node_modules/@mui/material/Skeleton/Skeleton.js +22 -2
  175. package/node_modules/@mui/material/Skeleton/Skeleton.mjs +22 -2
  176. package/node_modules/@mui/material/Slide/Slide.d.mts +15 -2
  177. package/node_modules/@mui/material/Slide/Slide.d.ts +15 -2
  178. package/node_modules/@mui/material/Slide/Slide.js +53 -25
  179. package/node_modules/@mui/material/Slide/Slide.mjs +52 -24
  180. package/node_modules/@mui/material/Slider/Slider.js +4 -3
  181. package/node_modules/@mui/material/Slider/Slider.mjs +4 -3
  182. package/node_modules/@mui/material/Slider/SliderValueLabel.d.mts +2 -2
  183. package/node_modules/@mui/material/Slider/SliderValueLabel.d.ts +2 -2
  184. package/node_modules/@mui/material/Slider/useSlider.js +1 -1
  185. package/node_modules/@mui/material/Slider/useSlider.mjs +1 -1
  186. package/node_modules/@mui/material/Snackbar/Snackbar.d.mts +2 -2
  187. package/node_modules/@mui/material/Snackbar/Snackbar.d.ts +2 -2
  188. package/node_modules/@mui/material/SpeedDial/SpeedDial.d.mts +1 -1
  189. package/node_modules/@mui/material/SpeedDial/SpeedDial.d.ts +1 -1
  190. package/node_modules/@mui/material/SpeedDial/SpeedDial.js +6 -2
  191. package/node_modules/@mui/material/SpeedDial/SpeedDial.mjs +6 -2
  192. package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +11 -2
  193. package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.mjs +12 -3
  194. package/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +40 -37
  195. package/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.mjs +40 -37
  196. package/node_modules/@mui/material/Stack/Stack.d.mts +1 -1
  197. package/node_modules/@mui/material/Stack/Stack.d.ts +1 -1
  198. package/node_modules/@mui/material/Stack/Stack.js +1 -1
  199. package/node_modules/@mui/material/Stack/Stack.mjs +1 -1
  200. package/node_modules/@mui/material/Step/Step.js +47 -15
  201. package/node_modules/@mui/material/Step/Step.mjs +47 -15
  202. package/node_modules/@mui/material/Step/StepContext.d.mts +1 -1
  203. package/node_modules/@mui/material/Step/StepContext.d.ts +1 -1
  204. package/node_modules/@mui/material/StepButton/StepButton.js +9 -3
  205. package/node_modules/@mui/material/StepButton/StepButton.mjs +9 -3
  206. package/node_modules/@mui/material/StepConnector/StepConnector.js +10 -0
  207. package/node_modules/@mui/material/StepConnector/StepConnector.mjs +10 -0
  208. package/node_modules/@mui/material/StepContent/StepContent.d.mts +2 -2
  209. package/node_modules/@mui/material/StepContent/StepContent.d.ts +2 -2
  210. package/node_modules/@mui/material/StepContent/StepContent.js +26 -2
  211. package/node_modules/@mui/material/StepContent/StepContent.mjs +26 -2
  212. package/node_modules/@mui/material/StepIcon/StepIcon.js +2 -1
  213. package/node_modules/@mui/material/StepIcon/StepIcon.mjs +2 -1
  214. package/node_modules/@mui/material/StepLabel/StepLabel.js +52 -7
  215. package/node_modules/@mui/material/StepLabel/StepLabel.mjs +52 -7
  216. package/node_modules/@mui/material/Stepper/Stepper.d.mts +2 -0
  217. package/node_modules/@mui/material/Stepper/Stepper.d.ts +2 -0
  218. package/node_modules/@mui/material/Stepper/Stepper.js +20 -2
  219. package/node_modules/@mui/material/Stepper/Stepper.mjs +20 -2
  220. package/node_modules/@mui/material/Stepper/StepperContext.d.mts +1 -1
  221. package/node_modules/@mui/material/Stepper/StepperContext.d.ts +1 -1
  222. package/node_modules/@mui/material/SvgIcon/SvgIcon.js +2 -1
  223. package/node_modules/@mui/material/SvgIcon/SvgIcon.mjs +2 -1
  224. package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +14 -3
  225. package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.mjs +14 -3
  226. package/node_modules/@mui/material/Switch/Switch.js +3 -2
  227. package/node_modules/@mui/material/Switch/Switch.mjs +3 -2
  228. package/node_modules/@mui/material/TablePagination/TablePagination.js +10 -3
  229. package/node_modules/@mui/material/TablePagination/TablePagination.mjs +9 -2
  230. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +2 -1
  231. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.mjs +2 -1
  232. package/node_modules/@mui/material/Tabs/Tabs.js +15 -3
  233. package/node_modules/@mui/material/Tabs/Tabs.mjs +15 -3
  234. package/node_modules/@mui/material/ToggleButton/RovingToggleButton.d.mts +13 -0
  235. package/node_modules/@mui/material/ToggleButton/RovingToggleButton.d.ts +13 -0
  236. package/node_modules/@mui/material/ToggleButton/RovingToggleButton.js +37 -0
  237. package/node_modules/@mui/material/ToggleButton/RovingToggleButton.mjs +31 -0
  238. package/node_modules/@mui/material/ToggleButton/ToggleButton.js +14 -2
  239. package/node_modules/@mui/material/ToggleButton/ToggleButton.mjs +14 -2
  240. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +33 -13
  241. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.mjs +33 -13
  242. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.d.mts +1 -0
  243. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +1 -0
  244. package/node_modules/@mui/material/Tooltip/Tooltip.d.mts +2 -2
  245. package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +2 -2
  246. package/node_modules/@mui/material/Tooltip/Tooltip.js +5 -2
  247. package/node_modules/@mui/material/Tooltip/Tooltip.mjs +5 -2
  248. package/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +42 -8
  249. package/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.mjs +42 -8
  250. package/node_modules/@mui/material/Zoom/Zoom.d.mts +15 -2
  251. package/node_modules/@mui/material/Zoom/Zoom.d.ts +15 -2
  252. package/node_modules/@mui/material/Zoom/Zoom.js +43 -16
  253. package/node_modules/@mui/material/Zoom/Zoom.mjs +42 -15
  254. package/node_modules/@mui/material/index.js +1 -1
  255. package/node_modules/@mui/material/index.mjs +1 -1
  256. package/node_modules/@mui/material/internal/SwitchBase.js +1 -1
  257. package/node_modules/@mui/material/internal/SwitchBase.mjs +1 -1
  258. package/node_modules/@mui/material/internal/Transition.d.mts +34 -0
  259. package/node_modules/@mui/material/internal/Transition.d.ts +34 -0
  260. package/node_modules/@mui/material/internal/Transition.js +463 -0
  261. package/node_modules/@mui/material/internal/Transition.mjs +455 -0
  262. package/node_modules/@mui/material/internal/react-transition-group.d.mts +16 -0
  263. package/node_modules/@mui/material/internal/react-transition-group.d.ts +16 -0
  264. package/node_modules/@mui/material/locale/zhCN.js +21 -0
  265. package/node_modules/@mui/material/locale/zhCN.mjs +21 -0
  266. package/node_modules/@mui/material/package.json +11 -8
  267. package/node_modules/@mui/material/styles/ThemeProvider.d.mts +1 -1
  268. package/node_modules/@mui/material/styles/ThemeProvider.d.ts +1 -1
  269. package/node_modules/@mui/material/styles/ThemeProviderWithVars.d.mts +8 -8
  270. package/node_modules/@mui/material/styles/ThemeProviderWithVars.d.ts +8 -8
  271. package/node_modules/@mui/material/styles/createGetSelector.d.mts +5 -5
  272. package/node_modules/@mui/material/styles/createGetSelector.d.ts +5 -5
  273. package/node_modules/@mui/material/styles/createMotion.d.mts +8 -0
  274. package/node_modules/@mui/material/styles/createMotion.d.ts +8 -0
  275. package/node_modules/@mui/material/styles/createMotion.js +13 -0
  276. package/node_modules/@mui/material/styles/createMotion.mjs +7 -0
  277. package/node_modules/@mui/material/styles/createThemeFoundation.d.mts +2 -0
  278. package/node_modules/@mui/material/styles/createThemeFoundation.d.ts +2 -0
  279. package/node_modules/@mui/material/styles/createThemeNoVars.d.mts +3 -0
  280. package/node_modules/@mui/material/styles/createThemeNoVars.d.ts +3 -0
  281. package/node_modules/@mui/material/styles/createThemeNoVars.js +5 -0
  282. package/node_modules/@mui/material/styles/createThemeNoVars.mjs +5 -0
  283. package/node_modules/@mui/material/styles/createTransitions.d.mts +6 -2
  284. package/node_modules/@mui/material/styles/createTransitions.d.ts +6 -2
  285. package/node_modules/@mui/material/styles/createTransitions.js +12 -4
  286. package/node_modules/@mui/material/styles/createTransitions.mjs +12 -4
  287. package/node_modules/@mui/material/styles/enhanceHighContrast.d.mts +70 -0
  288. package/node_modules/@mui/material/styles/enhanceHighContrast.d.ts +70 -0
  289. package/node_modules/@mui/material/styles/enhanceHighContrast.js +502 -0
  290. package/node_modules/@mui/material/styles/enhanceHighContrast.mjs +495 -0
  291. package/node_modules/@mui/material/styles/identifier.d.mts +1 -1
  292. package/node_modules/@mui/material/styles/identifier.d.ts +1 -1
  293. package/node_modules/@mui/material/styles/index.d.mts +2 -0
  294. package/node_modules/@mui/material/styles/index.d.ts +2 -0
  295. package/node_modules/@mui/material/styles/index.js +8 -0
  296. package/node_modules/@mui/material/styles/index.mjs +1 -0
  297. package/node_modules/@mui/material/styles/reducedMotion.d.mts +7 -0
  298. package/node_modules/@mui/material/styles/reducedMotion.d.ts +7 -0
  299. package/node_modules/@mui/material/styles/reducedMotion.js +21 -0
  300. package/node_modules/@mui/material/styles/reducedMotion.mjs +14 -0
  301. package/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
  302. package/node_modules/@mui/material/styles/shouldSkipGeneratingVar.mjs +1 -1
  303. package/node_modules/@mui/material/styles/stringifyTheme.js +1 -0
  304. package/node_modules/@mui/material/styles/stringifyTheme.mjs +1 -0
  305. package/node_modules/@mui/material/transitions/index.d.mts +1 -1
  306. package/node_modules/@mui/material/transitions/index.d.ts +1 -1
  307. package/node_modules/@mui/material/transitions/index.js +0 -11
  308. package/node_modules/@mui/material/transitions/index.mjs +1 -1
  309. package/node_modules/@mui/material/transitions/transition.d.mts +1 -12
  310. package/node_modules/@mui/material/transitions/transition.d.ts +1 -12
  311. package/node_modules/@mui/material/transitions/types.d.mts +73 -0
  312. package/node_modules/@mui/material/transitions/types.d.ts +73 -0
  313. package/node_modules/@mui/material/transitions/useReducedMotion.d.mts +14 -0
  314. package/node_modules/@mui/material/transitions/useReducedMotion.d.ts +14 -0
  315. package/node_modules/@mui/material/transitions/useReducedMotion.js +117 -0
  316. package/node_modules/@mui/material/transitions/useReducedMotion.mjs +110 -0
  317. package/node_modules/@mui/material/transitions/utils.d.mts +34 -2
  318. package/node_modules/@mui/material/transitions/utils.d.ts +34 -2
  319. package/node_modules/@mui/material/transitions/utils.js +33 -4
  320. package/node_modules/@mui/material/transitions/utils.mjs +31 -4
  321. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.mts +8 -1
  322. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +8 -1
  323. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +76 -13
  324. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.mjs +76 -13
  325. package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.js +2 -1
  326. package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.mjs +2 -1
  327. package/node_modules/@mui/material/utils/memoTheme.d.mts +1 -1
  328. package/node_modules/@mui/material/utils/memoTheme.d.ts +1 -1
  329. package/node_modules/@mui/material/utils/types.d.mts +1 -1
  330. package/node_modules/@mui/material/utils/types.d.ts +1 -1
  331. package/node_modules/@mui/material/utils/useSlot.d.mts +1 -1
  332. package/node_modules/@mui/material/utils/useSlot.d.ts +1 -1
  333. package/node_modules/@mui/material/version/index.js +2 -2
  334. package/node_modules/@mui/material/version/index.mjs +2 -2
  335. package/node_modules/@mui/material/zero-styled/index.d.mts +1 -1
  336. package/node_modules/@mui/material/zero-styled/index.d.ts +1 -1
  337. package/node_modules/@mui/private-theming/CHANGELOG.md +263 -0
  338. package/node_modules/@mui/private-theming/LICENSE +1 -1
  339. package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.d.mts +9 -2
  340. package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.d.ts +9 -2
  341. package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +2 -2
  342. package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.mjs +3 -4
  343. package/node_modules/@mui/private-theming/ThemeProvider/index.d.mts +1 -1
  344. package/node_modules/@mui/private-theming/ThemeProvider/index.d.ts +1 -1
  345. package/node_modules/@mui/private-theming/ThemeProvider/index.mjs +1 -0
  346. package/node_modules/@mui/private-theming/ThemeProvider/nested.d.mts +2 -0
  347. package/node_modules/@mui/private-theming/ThemeProvider/nested.d.ts +2 -0
  348. package/node_modules/@mui/private-theming/index.d.mts +1 -2
  349. package/node_modules/@mui/private-theming/index.d.ts +1 -2
  350. package/node_modules/@mui/private-theming/index.js +1 -1
  351. package/node_modules/@mui/private-theming/index.mjs +1 -1
  352. package/node_modules/@mui/private-theming/package.json +3 -3
  353. package/node_modules/@mui/private-theming/useTheme/ThemeContext.d.mts +3 -0
  354. package/node_modules/@mui/private-theming/useTheme/ThemeContext.d.ts +3 -0
  355. package/node_modules/@mui/private-theming/useTheme/index.d.mts +1 -2
  356. package/node_modules/@mui/private-theming/useTheme/index.d.ts +1 -2
  357. package/node_modules/@mui/private-theming/useTheme/useTheme.d.mts +1 -1
  358. package/node_modules/@mui/private-theming/useTheme/useTheme.d.ts +1 -1
  359. package/node_modules/@mui/styled-engine/CHANGELOG.md +395 -1245
  360. package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.d.mts +2 -2
  361. package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.d.ts +2 -2
  362. package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
  363. package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.mjs +1 -1
  364. package/node_modules/@mui/styled-engine/GlobalStyles/index.d.mts +1 -1
  365. package/node_modules/@mui/styled-engine/GlobalStyles/index.d.ts +1 -1
  366. package/node_modules/@mui/styled-engine/LICENSE +1 -1
  367. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +10 -2
  368. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.mjs +11 -4
  369. package/node_modules/@mui/styled-engine/StyledEngineProvider/index.d.mts +1 -1
  370. package/node_modules/@mui/styled-engine/StyledEngineProvider/index.d.ts +1 -1
  371. package/node_modules/@mui/styled-engine/index.d.mts +13 -28
  372. package/node_modules/@mui/styled-engine/index.d.ts +13 -28
  373. package/node_modules/@mui/styled-engine/index.js +28 -4
  374. package/node_modules/@mui/styled-engine/index.mjs +30 -3
  375. package/node_modules/@mui/styled-engine/package.json +2 -2
  376. package/node_modules/@mui/system/Box/Box.d.mts +15 -19
  377. package/node_modules/@mui/system/Box/Box.d.ts +15 -19
  378. package/node_modules/@mui/system/Box/Box.js +16 -1
  379. package/node_modules/@mui/system/Box/Box.mjs +17 -1
  380. package/node_modules/@mui/system/Box/index.js +12 -2
  381. package/node_modules/@mui/system/Box/index.mjs +1 -0
  382. package/node_modules/@mui/system/CHANGELOG.md +263 -0
  383. package/node_modules/@mui/system/Container/index.d.mts +1 -1
  384. package/node_modules/@mui/system/Container/index.d.ts +1 -1
  385. package/node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.d.mts +1 -1
  386. package/node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.d.ts +1 -1
  387. package/node_modules/@mui/system/GlobalStyles/GlobalStyles.d.mts +1 -1
  388. package/node_modules/@mui/system/GlobalStyles/GlobalStyles.d.ts +1 -1
  389. package/node_modules/@mui/system/Grid/Grid.js +0 -1
  390. package/node_modules/@mui/system/Grid/Grid.mjs +0 -1
  391. package/node_modules/@mui/system/Grid/GridProps.d.mts +0 -1
  392. package/node_modules/@mui/system/Grid/GridProps.d.ts +0 -1
  393. package/node_modules/@mui/system/Grid/gridGenerator.d.mts +2 -2
  394. package/node_modules/@mui/system/Grid/gridGenerator.d.ts +2 -2
  395. package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.d.mts +3 -1
  396. package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.d.ts +3 -1
  397. package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.js +34 -1
  398. package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.mjs +33 -1
  399. package/node_modules/@mui/system/LICENSE +1 -1
  400. package/node_modules/@mui/system/Stack/Stack.js +1 -1
  401. package/node_modules/@mui/system/Stack/Stack.mjs +1 -1
  402. package/node_modules/@mui/system/Stack/StackProps.d.mts +1 -1
  403. package/node_modules/@mui/system/Stack/StackProps.d.ts +1 -1
  404. package/node_modules/@mui/system/ThemeProvider/ThemeProvider.d.mts +9 -6
  405. package/node_modules/@mui/system/ThemeProvider/ThemeProvider.d.ts +9 -6
  406. package/node_modules/@mui/system/ThemeProvider/ThemeProvider.js +3 -2
  407. package/node_modules/@mui/system/ThemeProvider/ThemeProvider.mjs +3 -2
  408. package/node_modules/@mui/system/ThemeProvider/index.d.mts +1 -1
  409. package/node_modules/@mui/system/ThemeProvider/index.d.ts +1 -1
  410. package/node_modules/@mui/system/ThemeProvider/useLayerOrder.d.mts +1 -1
  411. package/node_modules/@mui/system/ThemeProvider/useLayerOrder.d.ts +1 -1
  412. package/node_modules/@mui/system/borders/borders.d.mts +14 -12
  413. package/node_modules/@mui/system/borders/borders.d.ts +14 -12
  414. package/node_modules/@mui/system/borders/borders.js +2 -4
  415. package/node_modules/@mui/system/borders/borders.mjs +3 -4
  416. package/node_modules/@mui/system/breakpoints/breakpoints.d.mts +13 -16
  417. package/node_modules/@mui/system/breakpoints/breakpoints.d.ts +13 -16
  418. package/node_modules/@mui/system/breakpoints/breakpoints.js +17 -16
  419. package/node_modules/@mui/system/breakpoints/breakpoints.mjs +17 -16
  420. package/node_modules/@mui/system/compose/compose.d.mts +3 -10
  421. package/node_modules/@mui/system/compose/compose.d.ts +3 -10
  422. package/node_modules/@mui/system/compose/compose.js +0 -2
  423. package/node_modules/@mui/system/compose/compose.mjs +0 -2
  424. package/node_modules/@mui/system/createBox/createBox.d.mts +4 -4
  425. package/node_modules/@mui/system/createBox/createBox.d.ts +4 -4
  426. package/node_modules/@mui/system/createBreakpoints/createBreakpoints.d.mts +3 -54
  427. package/node_modules/@mui/system/createBreakpoints/createBreakpoints.d.ts +3 -54
  428. package/node_modules/@mui/system/createBreakpoints/createBreakpoints.js +6 -8
  429. package/node_modules/@mui/system/createBreakpoints/createBreakpoints.mjs +6 -8
  430. package/node_modules/@mui/system/createBreakpoints/index.d.mts +0 -1
  431. package/node_modules/@mui/system/createBreakpoints/index.d.ts +0 -1
  432. package/node_modules/@mui/system/createTheme/createSpacing.d.mts +1 -1
  433. package/node_modules/@mui/system/createTheme/createSpacing.d.ts +1 -1
  434. package/node_modules/@mui/system/createTheme/shape.d.mts +2 -2
  435. package/node_modules/@mui/system/createTheme/shape.d.ts +2 -2
  436. package/node_modules/@mui/system/cssGrid/cssGrid.d.mts +13 -13
  437. package/node_modules/@mui/system/cssGrid/cssGrid.d.ts +13 -13
  438. package/node_modules/@mui/system/cssGrid/cssGrid.js +0 -8
  439. package/node_modules/@mui/system/cssGrid/cssGrid.mjs +0 -9
  440. package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +2 -2
  441. package/node_modules/@mui/system/cssVars/createCssVarsProvider.mjs +2 -2
  442. package/node_modules/@mui/system/cssVars/cssVarsParser.js +10 -2
  443. package/node_modules/@mui/system/cssVars/cssVarsParser.mjs +10 -2
  444. package/node_modules/@mui/system/cssVars/useCurrentColorScheme.js +1 -0
  445. package/node_modules/@mui/system/cssVars/useCurrentColorScheme.mjs +1 -0
  446. package/node_modules/@mui/system/display/display.d.mts +49 -1
  447. package/node_modules/@mui/system/display/display.d.ts +49 -1
  448. package/node_modules/@mui/system/display/display.js +2 -1
  449. package/node_modules/@mui/system/display/display.mjs +2 -1
  450. package/node_modules/@mui/system/flexbox/flexbox.d.mts +14 -14
  451. package/node_modules/@mui/system/flexbox/flexbox.d.ts +14 -14
  452. package/node_modules/@mui/system/getThemeValue/getThemeValue.d.mts +2 -1
  453. package/node_modules/@mui/system/getThemeValue/getThemeValue.d.ts +2 -1
  454. package/node_modules/@mui/system/getThemeValue/getThemeValue.js +6 -2
  455. package/node_modules/@mui/system/getThemeValue/getThemeValue.mjs +7 -3
  456. package/node_modules/@mui/system/index.js +1 -1
  457. package/node_modules/@mui/system/index.mjs +1 -1
  458. package/node_modules/@mui/system/memoTheme.d.mts +1 -1
  459. package/node_modules/@mui/system/memoTheme.d.ts +1 -1
  460. package/node_modules/@mui/system/memoize/memoize.d.mts +1 -1
  461. package/node_modules/@mui/system/memoize/memoize.d.ts +1 -1
  462. package/node_modules/@mui/system/package.json +62 -62
  463. package/node_modules/@mui/system/palette/palette.d.mts +4 -3
  464. package/node_modules/@mui/system/palette/palette.d.ts +4 -3
  465. package/node_modules/@mui/system/palette/palette.js +1 -0
  466. package/node_modules/@mui/system/palette/palette.mjs +2 -0
  467. package/node_modules/@mui/system/positions/positions.d.mts +49 -1
  468. package/node_modules/@mui/system/positions/positions.d.ts +49 -1
  469. package/node_modules/@mui/system/positions/positions.js +2 -1
  470. package/node_modules/@mui/system/positions/positions.mjs +2 -1
  471. package/node_modules/@mui/system/propsToClassKey/propsToClassKey.d.mts +5 -0
  472. package/node_modules/@mui/system/propsToClassKey/propsToClassKey.d.ts +5 -0
  473. package/node_modules/@mui/system/propsToClassKey/propsToClassKey.js +1 -1
  474. package/node_modules/@mui/system/propsToClassKey/propsToClassKey.mjs +1 -1
  475. package/node_modules/@mui/system/shadows/shadows.d.mts +4 -4
  476. package/node_modules/@mui/system/shadows/shadows.d.ts +4 -4
  477. package/node_modules/@mui/system/sizing/sizing.d.mts +10 -10
  478. package/node_modules/@mui/system/sizing/sizing.d.ts +10 -10
  479. package/node_modules/@mui/system/sizing/sizing.js +7 -2
  480. package/node_modules/@mui/system/sizing/sizing.mjs +5 -1
  481. package/node_modules/@mui/system/spacing/spacing.d.mts +10 -14
  482. package/node_modules/@mui/system/spacing/spacing.d.ts +10 -14
  483. package/node_modules/@mui/system/spacing/spacing.js +17 -13
  484. package/node_modules/@mui/system/spacing/spacing.mjs +16 -9
  485. package/node_modules/@mui/system/styleFunctionSx/defaultSxConfig.d.mts +1 -1
  486. package/node_modules/@mui/system/styleFunctionSx/defaultSxConfig.d.ts +1 -1
  487. package/node_modules/@mui/system/styleFunctionSx/extendSxProp.d.mts +4 -2
  488. package/node_modules/@mui/system/styleFunctionSx/extendSxProp.d.ts +4 -2
  489. package/node_modules/@mui/system/styled/styled.d.mts +1 -1
  490. package/node_modules/@mui/system/styled/styled.d.ts +1 -1
  491. package/node_modules/@mui/system/typography/typography.d.mts +10 -10
  492. package/node_modules/@mui/system/typography/typography.d.ts +10 -10
  493. package/node_modules/@mui/system/useTheme/useTheme.d.mts +4 -2
  494. package/node_modules/@mui/system/useTheme/useTheme.d.ts +4 -2
  495. package/node_modules/@mui/system/useThemeProps/getThemeProps.d.mts +2 -2
  496. package/node_modules/@mui/system/useThemeProps/getThemeProps.d.ts +2 -2
  497. package/node_modules/@mui/system/useThemeProps/index.d.mts +1 -1
  498. package/node_modules/@mui/system/useThemeProps/index.d.ts +1 -1
  499. package/node_modules/@mui/system/useThemeProps/useThemeProps.js +7 -6
  500. package/node_modules/@mui/system/useThemeProps/useThemeProps.mjs +7 -6
  501. package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.d.mts +2 -1
  502. package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +2 -1
  503. package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.js +2 -2
  504. package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.mjs +2 -2
  505. package/node_modules/@mui/system/version/index.js +3 -3
  506. package/node_modules/@mui/system/version/index.mjs +3 -3
  507. package/node_modules/@mui/types/CHANGELOG.md +395 -1245
  508. package/node_modules/@mui/types/LICENSE +1 -1
  509. package/node_modules/@mui/types/index.d.mts +1 -1
  510. package/node_modules/@mui/types/index.d.ts +1 -1
  511. package/node_modules/@mui/types/index.js +1 -1
  512. package/node_modules/@mui/types/index.mjs +1 -1
  513. package/node_modules/@mui/types/package.json +2 -2
  514. package/node_modules/@mui/utils/CHANGELOG.md +263 -0
  515. package/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.d.mts +2 -1
  516. package/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.d.ts +2 -1
  517. package/node_modules/@mui/utils/LICENSE +1 -1
  518. package/node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.js +1 -1
  519. package/node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.mjs +1 -1
  520. package/node_modules/@mui/utils/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  521. package/node_modules/@mui/utils/elementTypeAcceptingRef/elementTypeAcceptingRef.mjs +1 -1
  522. package/node_modules/@mui/utils/fastDeepAssign/fastDeepAssign.js +6 -1
  523. package/node_modules/@mui/utils/fastDeepAssign/fastDeepAssign.mjs +6 -1
  524. package/node_modules/@mui/utils/getDisplayName/getDisplayName.d.mts +1 -1
  525. package/node_modules/@mui/utils/getDisplayName/getDisplayName.d.ts +1 -1
  526. package/node_modules/@mui/utils/getDisplayName/getDisplayName.js +1 -1
  527. package/node_modules/@mui/utils/getDisplayName/getDisplayName.mjs +1 -1
  528. package/node_modules/@mui/utils/index.d.mts +1 -0
  529. package/node_modules/@mui/utils/index.d.ts +1 -0
  530. package/node_modules/@mui/utils/index.js +9 -1
  531. package/node_modules/@mui/utils/index.mjs +2 -1
  532. package/node_modules/@mui/utils/isHostComponent/isHostComponent.d.mts +1 -1
  533. package/node_modules/@mui/utils/isHostComponent/isHostComponent.d.ts +1 -1
  534. package/node_modules/@mui/utils/isMuiElement/isMuiElement.js +1 -1
  535. package/node_modules/@mui/utils/isMuiElement/isMuiElement.mjs +1 -1
  536. package/node_modules/@mui/utils/package.json +18 -4
  537. package/node_modules/@mui/utils/types/DataAttributes.d.mts +45 -0
  538. package/node_modules/@mui/utils/types/DataAttributes.d.ts +45 -0
  539. package/node_modules/@mui/utils/types/DataAttributes.js +5 -0
  540. package/node_modules/@mui/utils/types/DataAttributes.mjs +1 -0
  541. package/node_modules/@mui/utils/types/index.d.mts +4 -2
  542. package/node_modules/@mui/utils/types/index.d.ts +4 -2
  543. package/node_modules/@mui/utils/useEventCallback/useEventCallback.d.mts +1 -1
  544. package/node_modules/@mui/utils/useEventCallback/useEventCallback.d.ts +1 -1
  545. package/node_modules/@mui/utils/useEventCallback/useEventCallback.js +1 -1
  546. package/node_modules/@mui/utils/useEventCallback/useEventCallback.mjs +1 -1
  547. package/node_modules/@mui/utils/useForkRef/useForkRef.js +2 -2
  548. package/node_modules/@mui/utils/useForkRef/useForkRef.mjs +2 -2
  549. package/node_modules/@mui/utils/useId/useId.js +1 -0
  550. package/node_modules/@mui/utils/useId/useId.mjs +1 -0
  551. package/node_modules/@mui/utils/useIsFocusVisible/useIsFocusVisible.js +2 -2
  552. package/node_modules/@mui/utils/useIsFocusVisible/useIsFocusVisible.mjs +2 -2
  553. package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.d.mts +1 -1
  554. package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.d.ts +1 -1
  555. package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.js +7 -5
  556. package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.mjs +7 -5
  557. package/node_modules/@mui/utils/useValueAsRef/index.d.mts +1 -0
  558. package/node_modules/@mui/utils/useValueAsRef/index.d.ts +1 -0
  559. package/node_modules/@mui/utils/useValueAsRef/index.js +13 -0
  560. package/node_modules/@mui/utils/useValueAsRef/index.mjs +1 -0
  561. package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.d.mts +14 -0
  562. package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.d.ts +14 -0
  563. package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.js +35 -0
  564. package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.mjs +29 -0
  565. package/node_modules/react-is/package.json +3 -3
  566. package/package.json +3 -3
  567. /package/node_modules/@mui/material/transitions/{transition.js → types.js} +0 -0
  568. /package/node_modules/@mui/material/transitions/{transition.mjs → types.mjs} +0 -0
@@ -10,9 +10,23 @@ import memoTheme from "../utils/memoTheme.mjs";
10
10
  import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.mjs";
11
11
  import { useDefaultProps } from "../DefaultPropsProvider/index.mjs";
12
12
  import capitalize from "../utils/capitalize.mjs";
13
+ import { getReducedMotionStyles, getTransitionStyles } from "../transitions/utils.mjs";
13
14
  import { getLinearProgressUtilityClass } from "./linearProgressClasses.mjs";
14
15
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
16
  const TRANSITION_DURATION = 4; // seconds
17
+ const EMPTY_STYLE = {};
18
+ let warnedMinMaxWithoutVariant = false;
19
+ let warnedInvalidMinMaxValue = false;
20
+ let warnedValueRequired = false;
21
+ let warnedInvalidMinMaxValueBuffer = false;
22
+ let warnedValueBufferRequired = false;
23
+ export function resetWarningFlags() {
24
+ warnedMinMaxWithoutVariant = false;
25
+ warnedInvalidMinMaxValue = false;
26
+ warnedValueRequired = false;
27
+ warnedInvalidMinMaxValueBuffer = false;
28
+ warnedValueBufferRequired = false;
29
+ }
16
30
  const indeterminate1Keyframe = keyframes`
17
31
  0% {
18
32
  left: -35%;
@@ -188,7 +202,11 @@ const LinearProgressDashed = styled('span', {
188
202
  })), bufferAnimation || {
189
203
  // At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
190
204
  animation: `${bufferKeyframe} 3s infinite linear`
191
- });
205
+ }, memoTheme(({
206
+ theme
207
+ }) => getReducedMotionStyles(theme, {
208
+ animation: 'none'
209
+ }) || EMPTY_STYLE));
192
210
  const LinearProgressBar1 = styled('span', {
193
211
  name: 'MuiLinearProgress',
194
212
  slot: 'Bar1',
@@ -197,59 +215,81 @@ const LinearProgressBar1 = styled('span', {
197
215
  }
198
216
  })(memoTheme(({
199
217
  theme
200
- }) => ({
201
- width: '100%',
202
- position: 'absolute',
203
- left: 0,
204
- bottom: 0,
205
- top: 0,
206
- transition: 'transform 0.2s linear',
207
- transformOrigin: 'left',
208
- variants: [{
209
- props: {
210
- color: 'inherit'
211
- },
212
- style: {
213
- backgroundColor: 'currentColor'
214
- }
215
- }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
216
- props: {
217
- color
218
- },
219
- style: {
220
- backgroundColor: (theme.vars || theme).palette[color].main
221
- }
222
- })), {
223
- props: {
224
- variant: 'determinate'
225
- },
226
- style: {
227
- transition: `transform .${TRANSITION_DURATION}s linear`
228
- }
229
- }, {
230
- props: {
231
- variant: 'buffer'
232
- },
233
- style: {
234
- zIndex: 1,
235
- transition: `transform .${TRANSITION_DURATION}s linear`
236
- }
237
- }, {
238
- props: ({
239
- ownerState
240
- }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
241
- style: {
242
- width: 'auto'
243
- }
244
- }, {
245
- props: ({
246
- ownerState
247
- }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
248
- style: indeterminate1Animation || {
249
- animation: `${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
250
- }
251
- }]
252
- })));
218
+ }) => {
219
+ const reducedMotionIndeterminateStyles = getReducedMotionStyles(theme, {
220
+ animation: 'none',
221
+ left: '30%',
222
+ right: 'auto',
223
+ width: '40%'
224
+ });
225
+ return {
226
+ width: '100%',
227
+ position: 'absolute',
228
+ left: 0,
229
+ bottom: 0,
230
+ top: 0,
231
+ ...getTransitionStyles(theme, 'transform', {
232
+ duration: '0.2s',
233
+ easing: 'linear'
234
+ }),
235
+ transformOrigin: 'left',
236
+ variants: [{
237
+ props: {
238
+ color: 'inherit'
239
+ },
240
+ style: {
241
+ backgroundColor: 'currentColor'
242
+ }
243
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
244
+ props: {
245
+ color
246
+ },
247
+ style: {
248
+ backgroundColor: (theme.vars || theme).palette[color].main
249
+ }
250
+ })), {
251
+ props: {
252
+ variant: 'determinate'
253
+ },
254
+ style: {
255
+ ...getTransitionStyles(theme, 'transform', {
256
+ duration: `.${TRANSITION_DURATION}s`,
257
+ easing: 'linear'
258
+ })
259
+ }
260
+ }, {
261
+ props: {
262
+ variant: 'buffer'
263
+ },
264
+ style: {
265
+ zIndex: 1,
266
+ ...getTransitionStyles(theme, 'transform', {
267
+ duration: `.${TRANSITION_DURATION}s`,
268
+ easing: 'linear'
269
+ })
270
+ }
271
+ }, {
272
+ props: ({
273
+ ownerState
274
+ }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
275
+ style: {
276
+ width: 'auto'
277
+ }
278
+ }, {
279
+ props: ({
280
+ ownerState
281
+ }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
282
+ style: indeterminate1Animation || {
283
+ animation: `${indeterminate1Keyframe} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`
284
+ }
285
+ }, ...(reducedMotionIndeterminateStyles ? [{
286
+ props: ({
287
+ ownerState
288
+ }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
289
+ style: reducedMotionIndeterminateStyles
290
+ }] : [])]
291
+ };
292
+ }));
253
293
  const LinearProgressBar2 = styled('span', {
254
294
  name: 'MuiLinearProgress',
255
295
  slot: 'Bar2',
@@ -258,67 +298,84 @@ const LinearProgressBar2 = styled('span', {
258
298
  }
259
299
  })(memoTheme(({
260
300
  theme
261
- }) => ({
262
- width: '100%',
263
- position: 'absolute',
264
- left: 0,
265
- bottom: 0,
266
- top: 0,
267
- transition: 'transform 0.2s linear',
268
- transformOrigin: 'left',
269
- variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
270
- props: {
271
- color
272
- },
273
- style: {
274
- '--LinearProgressBar2-barColor': (theme.vars || theme).palette[color].main
275
- }
276
- })), {
277
- props: ({
278
- ownerState
279
- }) => ownerState.variant !== 'buffer' && ownerState.color !== 'inherit',
280
- style: {
281
- backgroundColor: 'var(--LinearProgressBar2-barColor, currentColor)'
282
- }
283
- }, {
284
- props: ({
285
- ownerState
286
- }) => ownerState.variant !== 'buffer' && ownerState.color === 'inherit',
287
- style: {
288
- backgroundColor: 'currentColor'
289
- }
290
- }, {
291
- props: {
292
- color: 'inherit'
293
- },
294
- style: {
295
- opacity: 0.3
296
- }
297
- }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
298
- props: {
299
- color,
300
- variant: 'buffer'
301
- },
302
- style: {
303
- backgroundColor: getColorShade(theme, color),
304
- transition: `transform .${TRANSITION_DURATION}s linear`
305
- }
306
- })), {
307
- props: ({
308
- ownerState
309
- }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
310
- style: {
311
- width: 'auto'
312
- }
313
- }, {
314
- props: ({
315
- ownerState
316
- }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
317
- style: indeterminate2Animation || {
318
- animation: `${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
319
- }
320
- }]
321
- })));
301
+ }) => {
302
+ const reducedMotionIndeterminateStyles = getReducedMotionStyles(theme, {
303
+ animation: 'none',
304
+ display: 'none'
305
+ });
306
+ return {
307
+ width: '100%',
308
+ position: 'absolute',
309
+ left: 0,
310
+ bottom: 0,
311
+ top: 0,
312
+ ...getTransitionStyles(theme, 'transform', {
313
+ duration: '0.2s',
314
+ easing: 'linear'
315
+ }),
316
+ transformOrigin: 'left',
317
+ variants: [...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
318
+ props: {
319
+ color
320
+ },
321
+ style: {
322
+ '--LinearProgressBar2-barColor': (theme.vars || theme).palette[color].main
323
+ }
324
+ })), {
325
+ props: ({
326
+ ownerState
327
+ }) => ownerState.variant !== 'buffer' && ownerState.color !== 'inherit',
328
+ style: {
329
+ backgroundColor: 'var(--LinearProgressBar2-barColor, currentColor)'
330
+ }
331
+ }, {
332
+ props: ({
333
+ ownerState
334
+ }) => ownerState.variant !== 'buffer' && ownerState.color === 'inherit',
335
+ style: {
336
+ backgroundColor: 'currentColor'
337
+ }
338
+ }, {
339
+ props: {
340
+ color: 'inherit'
341
+ },
342
+ style: {
343
+ opacity: 0.3
344
+ }
345
+ }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({
346
+ props: {
347
+ color,
348
+ variant: 'buffer'
349
+ },
350
+ style: {
351
+ backgroundColor: getColorShade(theme, color),
352
+ ...getTransitionStyles(theme, 'transform', {
353
+ duration: `.${TRANSITION_DURATION}s`,
354
+ easing: 'linear'
355
+ })
356
+ }
357
+ })), {
358
+ props: ({
359
+ ownerState
360
+ }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
361
+ style: {
362
+ width: 'auto'
363
+ }
364
+ }, {
365
+ props: ({
366
+ ownerState
367
+ }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
368
+ style: indeterminate2Animation || {
369
+ animation: `${indeterminate2Keyframe} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`
370
+ }
371
+ }, ...(reducedMotionIndeterminateStyles ? [{
372
+ props: ({
373
+ ownerState
374
+ }) => ownerState.variant === 'indeterminate' || ownerState.variant === 'query',
375
+ style: reducedMotionIndeterminateStyles
376
+ }] : [])]
377
+ };
378
+ }));
322
379
 
323
380
  /**
324
381
  * ## ARIA
@@ -348,8 +405,9 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
348
405
  variant
349
406
  };
350
407
  if (process.env.NODE_ENV !== 'production') {
351
- if (['indeterminate', 'query'].includes(variant) && (minProp !== undefined || maxProp !== undefined)) {
408
+ if (!warnedMinMaxWithoutVariant && ['indeterminate', 'query'].includes(variant) && (minProp !== undefined || maxProp !== undefined)) {
352
409
  console.warn(`MUI: You have provided the \`min\` or \`max\` props with an 'indeterminate' or 'query' variant. These props will have no effect.`);
410
+ warnedMinMaxWithoutVariant = true;
353
411
  }
354
412
  }
355
413
  const min = minProp ?? 0;
@@ -364,8 +422,9 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
364
422
  if (variant === 'determinate' || variant === 'buffer') {
365
423
  if (value !== undefined) {
366
424
  if (process.env.NODE_ENV !== 'production') {
367
- if (value < min || value > max || min >= max) {
425
+ if (!warnedInvalidMinMaxValue && (value < min || value > max || min >= max)) {
368
426
  console.error(`MUI: The min, max, and value props in LinearProgress should be numbers where min < max and min <= value <= max. Received min=${min}, max=${max}, value=${value}.`);
427
+ warnedInvalidMinMaxValue = true;
369
428
  }
370
429
  }
371
430
  const range = max - min;
@@ -379,14 +438,18 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
379
438
  rootProps['aria-valuemin'] = min;
380
439
  rootProps['aria-valuemax'] = max;
381
440
  } else if (process.env.NODE_ENV !== 'production') {
382
- console.error('MUI: You need to provide a value prop ' + 'when using the determinate or buffer variant of LinearProgress.');
441
+ if (!warnedValueRequired) {
442
+ console.error('MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress.');
443
+ warnedValueRequired = true;
444
+ }
383
445
  }
384
446
  }
385
447
  if (variant === 'buffer') {
386
448
  if (valueBuffer !== undefined) {
387
449
  if (process.env.NODE_ENV !== 'production') {
388
- if (valueBuffer < min || valueBuffer > max || valueBuffer < value || min >= max) {
450
+ if (!warnedInvalidMinMaxValueBuffer && (valueBuffer < min || valueBuffer > max || valueBuffer < value || min >= max)) {
389
451
  console.error(`MUI: The min, max, value, and valueBuffer props in LinearProgress should be numbers where min < max and min <= value <= valueBuffer <= max. Received min=${min}, max=${max}, value=${value}, valueBuffer=${valueBuffer}.`);
452
+ warnedInvalidMinMaxValueBuffer = true;
390
453
  }
391
454
  }
392
455
  const range = max - min;
@@ -396,7 +459,10 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
396
459
  }
397
460
  inlineStyles.bar2.transform = range > 0 ? `translateX(${transform}%)` : 'translateX(-100%)'; // empty-state fallback when range is invalid
398
461
  } else if (process.env.NODE_ENV !== 'production') {
399
- console.error('MUI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');
462
+ if (!warnedValueBufferRequired) {
463
+ console.error('MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.');
464
+ warnedValueBufferRequired = true;
465
+ }
400
466
  }
401
467
  }
402
468
  return /*#__PURE__*/_jsxs(LinearProgressRoot, {
@@ -4,6 +4,7 @@ import { Theme } from "../styles/index.mjs";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.mjs";
5
5
  import { ListItemClasses } from "./listItemClasses.mjs";
6
6
  import { SlotProps } from "../utils/types.mjs";
7
+ export interface ListItemRootSlotPropsOverrides {}
7
8
  export interface ListItemSecondaryActionSlotPropsOverrides {}
8
9
 
9
10
  /**
@@ -62,7 +63,7 @@ export interface ListItemOwnProps extends ListItemBaseProps {
62
63
  * @default {}
63
64
  */
64
65
  slotProps?: {
65
- root?: React.HTMLAttributes<HTMLDivElement> | undefined;
66
+ root?: SlotProps<React.ElementType<React.HTMLAttributes<HTMLDivElement>>, ListItemRootSlotPropsOverrides, ListItemOwnerState> | undefined;
66
67
  secondaryAction?: SlotProps<React.ElementType<React.HTMLAttributes<HTMLDivElement>>, ListItemSecondaryActionSlotPropsOverrides, ListItemOwnerState> | undefined;
67
68
  } | undefined;
68
69
  /**
@@ -4,6 +4,7 @@ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { ListItemClasses } from "./listItemClasses.js";
6
6
  import { SlotProps } from "../utils/types.js";
7
+ export interface ListItemRootSlotPropsOverrides {}
7
8
  export interface ListItemSecondaryActionSlotPropsOverrides {}
8
9
 
9
10
  /**
@@ -62,7 +63,7 @@ export interface ListItemOwnProps extends ListItemBaseProps {
62
63
  * @default {}
63
64
  */
64
65
  slotProps?: {
65
- root?: React.HTMLAttributes<HTMLDivElement> | undefined;
66
+ root?: SlotProps<React.ElementType<React.HTMLAttributes<HTMLDivElement>>, ListItemRootSlotPropsOverrides, ListItemOwnerState> | undefined;
66
67
  secondaryAction?: SlotProps<React.ElementType<React.HTMLAttributes<HTMLDivElement>>, ListItemSecondaryActionSlotPropsOverrides, ListItemOwnerState> | undefined;
67
68
  } | undefined;
68
69
  /**
@@ -19,6 +19,7 @@ var _ListContext = _interopRequireDefault(require("../List/ListContext"));
19
19
  var _listItemClasses = require("./listItemClasses");
20
20
  var _ListItemButton = require("../ListItemButton");
21
21
  var _ListItemSecondaryAction = _interopRequireDefault(require("../ListItemSecondaryAction"));
22
+ var _utils = require("../transitions/utils");
22
23
  var _jsxRuntime = require("react/jsx-runtime");
23
24
  const overridesResolver = (props, styles) => {
24
25
  const {
@@ -119,7 +120,7 @@ const ListItemRoot = exports.ListItemRoot = (0, _zeroStyled.styled)('div', {
119
120
  ownerState
120
121
  }) => ownerState.button,
121
122
  style: {
122
- transition: theme.transitions.create('background-color', {
123
+ ...(0, _utils.getTransitionStyles)(theme, 'background-color', {
123
124
  duration: theme.transitions.duration.shortest
124
125
  }),
125
126
  '&:hover': {
@@ -264,7 +265,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
264
265
  * @default {}
265
266
  */
266
267
  slotProps: _propTypes.default.shape({
267
- root: _propTypes.default.object,
268
+ root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
268
269
  secondaryAction: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
269
270
  }),
270
271
  /**
@@ -12,6 +12,7 @@ import ListContext from "../List/ListContext.mjs";
12
12
  import { getListItemUtilityClass } from "./listItemClasses.mjs";
13
13
  import { listItemButtonClasses } from "../ListItemButton/index.mjs";
14
14
  import ListItemSecondaryAction from "../ListItemSecondaryAction/index.mjs";
15
+ import { getTransitionStyles } from "../transitions/utils.mjs";
15
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
17
  export const overridesResolver = (props, styles) => {
17
18
  const {
@@ -111,7 +112,7 @@ export const ListItemRoot = styled('div', {
111
112
  ownerState
112
113
  }) => ownerState.button,
113
114
  style: {
114
- transition: theme.transitions.create('background-color', {
115
+ ...getTransitionStyles(theme, 'background-color', {
115
116
  duration: theme.transitions.duration.shortest
116
117
  }),
117
118
  '&:hover': {
@@ -256,7 +257,7 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes *
256
257
  * @default {}
257
258
  */
258
259
  slotProps: PropTypes.shape({
259
- root: PropTypes.object,
260
+ root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
260
261
  secondaryAction: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
261
262
  }),
262
263
  /**
@@ -6,7 +6,7 @@ import { OverrideProps } from "../OverridableComponent/index.mjs";
6
6
  import { ListItemButtonClasses } from "./listItemButtonClasses.mjs";
7
7
 
8
8
  /**
9
- * This interface is kept for backward compatibility. To extend `LitItemButton`
9
+ * This interface is kept for backward compatibility. To extend `ListItemButton`
10
10
  * props through module augmentation, use `ListItemButtonOwnProps`.
11
11
  */
12
12
  export interface ListItemButtonBaseProps {
@@ -6,7 +6,7 @@ import { OverrideProps } from "../OverridableComponent/index.js";
6
6
  import { ListItemButtonClasses } from "./listItemButtonClasses.js";
7
7
 
8
8
  /**
9
- * This interface is kept for backward compatibility. To extend `LitItemButton`
9
+ * This interface is kept for backward compatibility. To extend `ListItemButton`
10
10
  * props through module augmentation, use `ListItemButtonOwnProps`.
11
11
  */
12
12
  export interface ListItemButtonBaseProps {
@@ -20,6 +20,7 @@ var _useEnhancedEffect = _interopRequireDefault(require("../utils/useEnhancedEff
20
20
  var _useForkRef = _interopRequireDefault(require("../utils/useForkRef"));
21
21
  var _ListContext = _interopRequireDefault(require("../List/ListContext"));
22
22
  var _listItemButtonClasses = _interopRequireWildcard(require("./listItemButtonClasses"));
23
+ var _utils = require("../transitions/utils");
23
24
  var _jsxRuntime = require("react/jsx-runtime");
24
25
  const overridesResolver = (props, styles) => {
25
26
  const {
@@ -66,7 +67,7 @@ const ListItemButtonRoot = (0, _zeroStyled.styled)(_ButtonBase.default, {
66
67
  textAlign: 'left',
67
68
  paddingTop: 8,
68
69
  paddingBottom: 8,
69
- transition: theme.transitions.create('background-color', {
70
+ ...(0, _utils.getTransitionStyles)(theme, 'background-color', {
70
71
  duration: theme.transitions.duration.shortest
71
72
  }),
72
73
  '&:hover': {
@@ -13,6 +13,7 @@ import useEnhancedEffect from "../utils/useEnhancedEffect.mjs";
13
13
  import useForkRef from "../utils/useForkRef.mjs";
14
14
  import ListContext from "../List/ListContext.mjs";
15
15
  import listItemButtonClasses, { getListItemButtonUtilityClass } from "./listItemButtonClasses.mjs";
16
+ import { getTransitionStyles } from "../transitions/utils.mjs";
16
17
  import { jsx as _jsx } from "react/jsx-runtime";
17
18
  export const overridesResolver = (props, styles) => {
18
19
  const {
@@ -58,7 +59,7 @@ const ListItemButtonRoot = styled(ButtonBase, {
58
59
  textAlign: 'left',
59
60
  paddingTop: 8,
60
61
  paddingBottom: 8,
61
- transition: theme.transitions.create('background-color', {
62
+ ...getTransitionStyles(theme, 'background-color', {
62
63
  duration: theme.transitions.duration.shortest
63
64
  }),
64
65
  '&:hover': {
@@ -7,7 +7,7 @@ import { PopoverProps } from "../Popover/index.mjs";
7
7
  import { MenuListProps } from "../MenuList/index.mjs";
8
8
  import { ModalProps } from "../Modal/index.mjs";
9
9
  import { BackdropProps } from "../Backdrop/index.mjs";
10
- import { TransitionProps } from "../transitions/transition.mjs";
10
+ import { TransitionProps } from "../transitions/types.mjs";
11
11
  import { MenuClasses } from "./menuClasses.mjs";
12
12
  import { CreateSlotsAndSlotProps, SlotComponentProps, SlotProps } from "../utils/types.mjs";
13
13
  export interface MenuRootSlotPropsOverrides {}
@@ -7,7 +7,7 @@ import { PopoverProps } from "../Popover/index.js";
7
7
  import { MenuListProps } from "../MenuList/index.js";
8
8
  import { ModalProps } from "../Modal/index.js";
9
9
  import { BackdropProps } from "../Backdrop/index.js";
10
- import { TransitionProps } from "../transitions/transition.js";
10
+ import { TransitionProps } from "../transitions/types.js";
11
11
  import { MenuClasses } from "./menuClasses.js";
12
12
  import { CreateSlotsAndSlotProps, SlotComponentProps, SlotProps } from "../utils/types.js";
13
13
  export interface MenuRootSlotPropsOverrides {}
@@ -38,6 +38,7 @@ export interface MenuItemOwnProps {
38
38
  divider?: boolean | undefined;
39
39
  /**
40
40
  * If `true`, the component is selected.
41
+ * For `menuitemcheckbox` and `menuitemradio` roles, this also drives `aria-checked`.
41
42
  * @default false
42
43
  */
43
44
  selected?: boolean | undefined;
@@ -38,6 +38,7 @@ export interface MenuItemOwnProps {
38
38
  divider?: boolean | undefined;
39
39
  /**
40
40
  * If `true`, the component is selected.
41
+ * For `menuitemcheckbox` and `menuitemradio` roles, this also drives `aria-checked`.
41
42
  * @default false
42
43
  */
43
44
  selected?: boolean | undefined;
@@ -175,6 +175,11 @@ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
175
175
  className,
176
176
  ...other
177
177
  } = props;
178
+
179
+ // `menuitemcheckbox`/`menuitemradio` require `aria-checked`; derive it from `selected`
180
+ // (an omitted `selected` means unchecked). Other roles keep `selected` presentational.
181
+ const isCheckableRole = role === 'menuitemcheckbox' || role === 'menuitemradio';
182
+ const ariaChecked = isCheckableRole ? Boolean(props.selected) : undefined;
178
183
  const focusSource = (0, _utils.useSelectFocusSource)();
179
184
  const context = React.useContext(_ListContext.default);
180
185
  const childContext = React.useMemo(() => ({
@@ -235,6 +240,7 @@ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
235
240
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuItemRoot, {
236
241
  ref: handleRef,
237
242
  role: role,
243
+ "aria-checked": ariaChecked,
238
244
  tabIndex: tabIndex,
239
245
  component: component,
240
246
  internalNativeButton: false,
@@ -311,6 +317,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes /* remove-proptypes *
311
317
  role: _propTypes.default.string,
312
318
  /**
313
319
  * If `true`, the component is selected.
320
+ * For `menuitemcheckbox` and `menuitemradio` roles, this also drives `aria-checked`.
314
321
  * @default false
315
322
  */
316
323
  selected: _propTypes.default.bool,
@@ -167,6 +167,11 @@ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
167
167
  className,
168
168
  ...other
169
169
  } = props;
170
+
171
+ // `menuitemcheckbox`/`menuitemradio` require `aria-checked`; derive it from `selected`
172
+ // (an omitted `selected` means unchecked). Other roles keep `selected` presentational.
173
+ const isCheckableRole = role === 'menuitemcheckbox' || role === 'menuitemradio';
174
+ const ariaChecked = isCheckableRole ? Boolean(props.selected) : undefined;
170
175
  const focusSource = useSelectFocusSource();
171
176
  const context = React.useContext(ListContext);
172
177
  const childContext = React.useMemo(() => ({
@@ -227,6 +232,7 @@ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
227
232
  children: /*#__PURE__*/_jsx(MenuItemRoot, {
228
233
  ref: handleRef,
229
234
  role: role,
235
+ "aria-checked": ariaChecked,
230
236
  tabIndex: tabIndex,
231
237
  component: component,
232
238
  internalNativeButton: false,
@@ -303,6 +309,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes /* remove-proptypes *
303
309
  role: PropTypes.string,
304
310
  /**
305
311
  * If `true`, the component is selected.
312
+ * For `menuitemcheckbox` and `menuitemradio` roles, this also drives `aria-checked`.
306
313
  * @default false
307
314
  */
308
315
  selected: PropTypes.bool,
@@ -192,7 +192,7 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
192
192
  return focusInitialTarget(true);
193
193
  }
194
194
  }), [focusInitialTarget]);
195
- const rovingContainerProps = getContainerProps();
195
+ const rovingContainerProps = getContainerProps(undefined, other.onFocus);
196
196
  const handleRef = (0, _useForkRef.default)(listRef, rovingContainerProps.ref, ref);
197
197
  const menuListContextValue = React.useMemo(() => ({
198
198
  itemsFocusableWhenDisabled: disabledItemsFocusable,
@@ -242,9 +242,9 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
242
242
  ref: handleRef,
243
243
  className: className,
244
244
  onKeyDown: handleKeyDown,
245
- onFocus: rovingContainerProps.onFocus,
246
245
  tabIndex: -1,
247
246
  ...other,
247
+ onFocus: rovingContainerProps.onFocus,
248
248
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MenuListContext.MenuListContext.Provider, {
249
249
  value: menuListContextValue,
250
250
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_useRovingTabIndex2.RovingTabIndexContext.Provider, {
@@ -288,6 +288,10 @@ process.env.NODE_ENV !== "production" ? MenuList.propTypes /* remove-proptypes *
288
288
  * @default false
289
289
  */
290
290
  disableListWrap: _propTypes.default.bool,
291
+ /**
292
+ * @ignore
293
+ */
294
+ onFocus: _propTypes.default.func,
291
295
  /**
292
296
  * @ignore
293
297
  */