@cgi-learning-hub/ui 1.6.0 → 1.7.0-dev.1750693982

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 (364) hide show
  1. package/dist/{Alert-PmI169Dq.js → Alert-BhLIlUBu.js} +126 -212
  2. package/dist/Alert-DPSZppEy.cjs +1 -0
  3. package/dist/Alert-OeEy_IGc.js +94 -0
  4. package/dist/Alert-rPyl-bqs.cjs +1 -0
  5. package/dist/Autocomplete-BdPO9SAd.cjs +6 -0
  6. package/dist/{Autocomplete-BIBR54X2.js → Autocomplete-WZw_zCjA.js} +391 -398
  7. package/dist/{Backdrop-BxgGvlLM.js → Backdrop-CjZYrxkZ.js} +5 -5
  8. package/dist/Backdrop-DeNTZlA5.cjs +1 -0
  9. package/dist/Badge-Bwcsnbsa.js +465 -0
  10. package/dist/Badge-DFzvdVS-.cjs +1 -0
  11. package/dist/{Box-o7Tjjyko.js → Box-BI4osO9v.js} +3 -3
  12. package/dist/Box-DR3n_po_.cjs +1 -0
  13. package/dist/{Button-D974vesA.js → Button-DDV5EfwJ.js} +115 -151
  14. package/dist/Button-DyJV5llI.cjs +1 -0
  15. package/dist/{ButtonBase-Chb99sDQ.js → ButtonBase-6TF6t2SP.js} +22 -23
  16. package/dist/ButtonBase-Dp6sf_dP.cjs +74 -0
  17. package/dist/CardContent-COfaU6E0.cjs +1 -0
  18. package/dist/{CardContent-DaZl2i3G.js → CardContent-D3uGcxlr.js} +34 -36
  19. package/dist/Checkbox-3hTSv0EZ.cjs +1 -0
  20. package/dist/{Checkbox-p-PKpEw_.js → Checkbox-BfBDowB2.js} +27 -28
  21. package/dist/Chip-BG0OU0KI.cjs +1 -0
  22. package/dist/{Chip-CPR3r42q.js → Chip-DmjZbx_X.js} +213 -164
  23. package/dist/CircularProgress-CXXyPavb.cjs +28 -0
  24. package/dist/{CircularProgress-DVKNRMKq.js → CircularProgress-DZuYTFz-.js} +34 -36
  25. package/dist/{Close-DyRqry3p.cjs → Close-7S2hSoFB.cjs} +1 -1
  26. package/dist/{Close-m-MX3rFn.js → Close-DEMecSZ6.js} +1 -1
  27. package/dist/{CloseRounded-CjjQdrNy.js → CloseRounded-CioV1GK3.js} +1 -1
  28. package/dist/{CloseRounded-Bpxbxvyb.cjs → CloseRounded-DS-4-gMR.cjs} +1 -1
  29. package/dist/CustomTreeItem-B9FylIhL.js +2045 -0
  30. package/dist/CustomTreeItem-Bg8Ub4dn.cjs +41 -0
  31. package/dist/DatePicker-CH8XRum0.cjs +16 -0
  32. package/dist/DatePicker-DasS2wq6.js +10663 -0
  33. package/dist/DefaultPropsProvider-Cnf49AIv.cjs +1 -0
  34. package/dist/{DefaultPropsProvider-hFv1J_xl.js → DefaultPropsProvider-DqazQPtr.js} +36 -34
  35. package/dist/{Delete-9fJbdRit.js → Delete-B5VTV71K.js} +1 -1
  36. package/dist/{Delete-CEX2hq0f.cjs → Delete-BvkBJXEM.cjs} +1 -1
  37. package/dist/Dialog-Btagj_Gt.cjs +1 -0
  38. package/dist/{Dialog-BzsWl6Vl.js → Dialog-DEWB041V.js} +36 -41
  39. package/dist/{DialogContent-B41jvlMn.js → DialogContent-C294EkoQ.js} +3 -3
  40. package/dist/DialogContent-DXfUge3c.cjs +1 -0
  41. package/dist/{DialogTitle-CVvztEM0.js → DialogTitle-BSiId6Q1.js} +38 -40
  42. package/dist/DialogTitle-y2PrK6uU.cjs +1 -0
  43. package/dist/Divider-NermA5hZ.cjs +1 -0
  44. package/dist/{Divider-CJwnMdVg.js → Divider-kKp4VqHh.js} +4 -4
  45. package/dist/{Folder-7plrMkOp.cjs → Folder-BfLBqDHM.cjs} +1 -1
  46. package/dist/{Folder-CutUz0bW.js → Folder-BgQP5-Ve.js} +1 -1
  47. package/dist/{FormLabel-DSi2pGSZ.js → FormLabel-B3WAnPGP.js} +36 -38
  48. package/dist/FormLabel-JrZR9kt8.cjs +2 -0
  49. package/dist/Grid-BHYQ3JNy.cjs +2 -0
  50. package/dist/Grid-DFk-4jnZ.js +411 -0
  51. package/dist/Grow-BULCy6GX.cjs +1 -0
  52. package/dist/{Grow-FFFqe81C.js → Grow-BfjkXlG8.js} +2 -2
  53. package/dist/{IconButton-CgwURB2g.js → IconButton-BYvak8Nw.js} +13 -15
  54. package/dist/IconButton-CjtMjZ9e.cjs +2 -0
  55. package/dist/{InputAdornment-DgWvMLgR.js → InputAdornment-BBZXvhZ-.js} +14 -15
  56. package/dist/InputAdornment-DvHQMisT.cjs +1 -0
  57. package/dist/{InputBase-DxLqRpcl.js → InputBase-BS5oknUK.js} +196 -194
  58. package/dist/InputBase-DPdKpmOz.cjs +4 -0
  59. package/dist/Link-BwbY60dS.cjs +1 -0
  60. package/dist/{Link-rb-SwfiY.js → Link-DYPjEdvu.js} +10 -11
  61. package/dist/{List-BjfdkeEI.js → List-CB_cqCSw.js} +2 -2
  62. package/dist/List-t9bWFewp.cjs +1 -0
  63. package/dist/{ListItem-B0EiObKw.js → ListItem-DAZQEir2.js} +25 -26
  64. package/dist/ListItem-DP7YmqZk.cjs +1 -0
  65. package/dist/ListItemText-cVnimPLO.cjs +1 -0
  66. package/dist/ListItemText-qfdqJP77.js +441 -0
  67. package/dist/{Menu-By6cOqEO.js → Menu-9BK8jmzW.js} +110 -114
  68. package/dist/Menu-C61wLk41.cjs +7 -0
  69. package/dist/{MenuItem-B1FTx8Uo.js → MenuItem-C8nduSzJ.js} +8 -8
  70. package/dist/MenuItem-DHM3qxwr.cjs +1 -0
  71. package/dist/{Modal-vrLLqk9Y.js → Modal-D3Q9vEAI.js} +51 -55
  72. package/dist/Modal-DkzrSKHd.cjs +2 -0
  73. package/dist/{MoreVert-DC6HBf1h.cjs → MoreVert-C-Rhn-xK.cjs} +1 -1
  74. package/dist/{MoreVert-DJ8sAY3o.js → MoreVert-C_W1m_Z_.js} +1 -1
  75. package/dist/Paper-BbqZL5vx.cjs +2 -0
  76. package/dist/Paper-IQckggbn.js +158 -0
  77. package/dist/{Popper-DfwuvxaQ.js → Popper-CfFLBZ7-.js} +6 -7
  78. package/dist/Popper-DvWx5tR3.cjs +4 -0
  79. package/dist/{Portal-ChC9wmMZ.js → Portal-BlK6ttxt.js} +5 -5
  80. package/dist/Portal-CPOCKeMh.cjs +1 -0
  81. package/dist/Radio-Bwh_t6PC.cjs +1 -0
  82. package/dist/{Radio-BqY-su_F.js → Radio-DKiu6lVB.js} +17 -19
  83. package/dist/RadioGroup-Cvnwt4JE.cjs +1 -0
  84. package/dist/{RadioGroup-BQvlYFpE.js → RadioGroup-DFKMlNWO.js} +4 -4
  85. package/dist/Select-3HP39Z7o.cjs +3 -0
  86. package/dist/{Select-DZMwqCYA.js → Select-CpNF3a57.js} +425 -410
  87. package/dist/Stack-CIyfgZCM.cjs +1 -0
  88. package/dist/{Stack-CMUWQxQn.js → Stack-DSJ2DqNd.js} +36 -37
  89. package/dist/Stepper-CXHfLPtA.cjs +1 -0
  90. package/dist/Stepper-DE2l91K0.js +965 -0
  91. package/dist/{Switch-Bg4QB4PJ.js → Switch-BIcwDf_P.js} +24 -27
  92. package/dist/Switch-CTEqKDiv.cjs +1 -0
  93. package/dist/{SwitchBase-EDFBMPd7.js → SwitchBase-DZV8S81Z.js} +21 -22
  94. package/dist/SwitchBase-P3zHVmLX.cjs +1 -0
  95. package/dist/{Tab-52AkFc9v.js → Tab-Ckr6Bn59.js} +96 -99
  96. package/dist/Tab-r5imbU9z.cjs +4 -0
  97. package/dist/{TextField-DG9mRp_m.js → TextField-BenBw4oE.js} +46 -48
  98. package/dist/TextField-Brw3X9cn.cjs +1 -0
  99. package/dist/ToggleButtonGroup-CA1cSosV.cjs +138 -0
  100. package/dist/{Badge-rX7YUmBc.js → ToggleButtonGroup-DhtAoGtM.js} +3144 -4140
  101. package/dist/Tooltip-BAOKe3SY.cjs +4 -0
  102. package/dist/{Tooltip-DCgaU2em.js → Tooltip-KkgNQm4r.js} +27 -29
  103. package/dist/Typography-CSTmKyr8.cjs +1 -0
  104. package/dist/{Typography-DwMlN0K5.js → Typography-Dy8r_tT2.js} +6 -7
  105. package/dist/components/Alert/Alert.cjs.js +1 -1
  106. package/dist/components/Alert/Alert.es.js +5 -4
  107. package/dist/components/Alert/index.cjs.js +1 -1
  108. package/dist/components/Alert/index.es.js +1 -1
  109. package/dist/components/Button/Button.cjs.js +1 -1
  110. package/dist/components/Button/Button.es.js +2 -2
  111. package/dist/components/ButtonGroup/ButtonGroup.cjs.js +1 -0
  112. package/dist/components/ButtonGroup/ButtonGroup.d.ts +3 -0
  113. package/dist/components/ButtonGroup/ButtonGroup.es.js +38 -0
  114. package/dist/components/ButtonGroup/index.cjs.js +1 -0
  115. package/dist/components/ButtonGroup/index.d.ts +2 -0
  116. package/dist/components/ButtonGroup/index.es.js +4 -0
  117. package/dist/components/ButtonGroup/style.cjs.js +1 -0
  118. package/dist/components/ButtonGroup/style.es.js +29 -0
  119. package/dist/components/ButtonGroup/types.cjs.js +1 -0
  120. package/dist/components/ButtonGroup/types.d.ts +22 -0
  121. package/dist/components/ButtonGroup/types.es.js +1 -0
  122. package/dist/components/ColorPicker/ColorPicker.cjs.js +1 -1
  123. package/dist/components/ColorPicker/ColorPicker.es.js +5 -5
  124. package/dist/components/ColorPicker/styles.es.js +13 -11
  125. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  126. package/dist/components/DatePicker/DatePicker.d.ts +1 -2
  127. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  128. package/dist/components/DatePicker/index.cjs.js +1 -1
  129. package/dist/components/DatePicker/index.es.js +1 -1
  130. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  131. package/dist/components/Dialog/Dialog.es.js +8 -3
  132. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  133. package/dist/components/Dropzone/Dropzone.es.js +3 -3
  134. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  135. package/dist/components/EmptyState/EmptyState.d.ts +1 -0
  136. package/dist/components/EmptyState/EmptyState.es.js +13 -12
  137. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  138. package/dist/components/FileList/FileIcon.es.js +1 -1
  139. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  140. package/dist/components/FileList/FileListItem.es.js +4 -4
  141. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  142. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  143. package/dist/components/Heading/Heading.cjs.js +1 -1
  144. package/dist/components/Heading/Heading.es.js +2 -2
  145. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  146. package/dist/components/ImagePicker/ImagePicker.es.js +4 -4
  147. package/dist/components/Loader/Loader.cjs.js +1 -1
  148. package/dist/components/Loader/Loader.es.js +1 -1
  149. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  150. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  151. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  152. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  153. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  154. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  155. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  156. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  157. package/dist/components/TreeView/TreeView.cjs.js +5 -7
  158. package/dist/components/TreeView/TreeView.es.js +1207 -1452
  159. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  160. package/dist/components/TreeView/components/CustomTreeItem.d.ts +2 -2
  161. package/dist/components/TreeView/components/CustomTreeItem.es.js +3 -3
  162. package/dist/components/TreeView/types.d.ts +5 -5
  163. package/dist/components/TreeView/utils.cjs.js +1 -1
  164. package/dist/components/TreeView/utils.es.js +3 -3
  165. package/dist/components/index.cjs.js +1 -1
  166. package/dist/components/index.d.ts +7 -2
  167. package/dist/components/index.es.js +402 -391
  168. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  169. package/dist/components/stories/Alert.stories.d.ts +1 -1
  170. package/dist/components/stories/Alert.stories.es.js +1 -1
  171. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  172. package/dist/components/stories/Autocomplete.stories.d.ts +1 -1
  173. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  174. package/dist/components/stories/Badge.stories.cjs.js +1 -0
  175. package/dist/components/stories/Badge.stories.d.ts +17 -0
  176. package/dist/components/stories/Badge.stories.es.js +188 -0
  177. package/dist/components/stories/Button.stories.cjs.js +1 -1
  178. package/dist/components/stories/Button.stories.d.ts +1 -1
  179. package/dist/components/stories/Button.stories.es.js +1 -1
  180. package/dist/components/stories/ButtonGroup.stories.cjs.js +153 -0
  181. package/dist/components/stories/ButtonGroup.stories.d.ts +17 -0
  182. package/dist/components/stories/ButtonGroup.stories.es.js +1296 -0
  183. package/dist/components/stories/Card.stories.cjs.js +1 -1
  184. package/dist/components/stories/Card.stories.d.ts +1 -1
  185. package/dist/components/stories/Card.stories.es.js +2 -2
  186. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  187. package/dist/components/stories/Checkbox.stories.d.ts +1 -1
  188. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  189. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  190. package/dist/components/stories/Chip.stories.d.ts +1 -1
  191. package/dist/components/stories/Chip.stories.es.js +1 -1
  192. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  193. package/dist/components/stories/DatePicker.stories.d.ts +1 -1
  194. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  195. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  196. package/dist/components/stories/Dialog.stories.d.ts +1 -1
  197. package/dist/components/stories/Dialog.stories.es.js +2 -2
  198. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  199. package/dist/components/stories/Divider.stories.d.ts +1 -1
  200. package/dist/components/stories/Divider.stories.es.js +1 -1
  201. package/dist/components/stories/Dropzone.stories.d.ts +1 -1
  202. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +1 -1
  203. package/dist/components/stories/EmptyState.stories.d.ts +1 -1
  204. package/dist/components/stories/FileList.stories.d.ts +1 -1
  205. package/dist/components/stories/FolderCard.stories.d.ts +1 -1
  206. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  207. package/dist/components/stories/FormControlLabel.stories.d.ts +1 -1
  208. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  209. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  210. package/dist/components/stories/Heading.stories.d.ts +1 -1
  211. package/dist/components/stories/Heading.stories.es.js +2 -2
  212. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  213. package/dist/components/stories/IconButton.stories.d.ts +1 -1
  214. package/dist/components/stories/IconButton.stories.es.js +2 -2
  215. package/dist/components/stories/ImagePicker.stories.d.ts +1 -1
  216. package/dist/components/stories/Link.stories.cjs.js +1 -1
  217. package/dist/components/stories/Link.stories.d.ts +1 -1
  218. package/dist/components/stories/Link.stories.es.js +1 -1
  219. package/dist/components/stories/Loader.stories.d.ts +1 -1
  220. package/dist/components/stories/LoaderBackdrop.stories.d.ts +1 -1
  221. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  222. package/dist/components/stories/Menu.stories.d.ts +1 -1
  223. package/dist/components/stories/Menu.stories.es.js +2 -2
  224. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  225. package/dist/components/stories/Paper.stories.d.ts +1 -1
  226. package/dist/components/stories/Paper.stories.es.js +1 -1
  227. package/dist/components/stories/PasswordInput.stories.d.ts +1 -1
  228. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  229. package/dist/components/stories/RadioGroup.stories.d.ts +1 -1
  230. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  231. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  232. package/dist/components/stories/ResourceCard.stories.d.ts +1 -1
  233. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  234. package/dist/components/stories/SearchInput.stories.d.ts +1 -1
  235. package/dist/components/stories/Select.stories.cjs.js +1 -1
  236. package/dist/components/stories/Select.stories.d.ts +1 -1
  237. package/dist/components/stories/Select.stories.es.js +3 -3
  238. package/dist/components/stories/Stepper.stories.cjs.js +1 -0
  239. package/dist/components/stories/Stepper.stories.d.ts +7 -0
  240. package/dist/components/stories/Stepper.stories.es.js +161 -0
  241. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  242. package/dist/components/stories/TabList.stories.d.ts +1 -1
  243. package/dist/components/stories/TabList.stories.es.js +1 -1
  244. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  245. package/dist/components/stories/TextField.stories.d.ts +1 -1
  246. package/dist/components/stories/TextField.stories.es.js +1 -1
  247. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  248. package/dist/components/stories/Tooltip.stories.d.ts +1 -1
  249. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  250. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  251. package/dist/components/stories/TreeView.stories.d.ts +1 -1
  252. package/dist/components/stories/TreeView.stories.es.js +39 -38
  253. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  254. package/dist/components/stories/Typography.stories.d.ts +1 -1
  255. package/dist/components/stories/Typography.stories.es.js +1 -1
  256. package/dist/{createSvgIcon-BlKmtOkV.js → createSvgIcon-B1E6Wo8z.js} +7 -8
  257. package/dist/createSvgIcon-IET9soda.cjs +1 -0
  258. package/dist/{dividerClasses-Glz8RJdF.js → dividerClasses-BPJZ8SFy.js} +1 -1
  259. package/dist/dividerClasses-C07OJKLL.cjs +1 -0
  260. package/dist/elementAcceptingRef-BZ42cOGO.cjs +1 -0
  261. package/dist/{extendSxProp-BouzOuB6.js → extendSxProp-CesAxox9.js} +1 -1
  262. package/dist/extendSxProp-ZMCunXYm.cjs +1 -0
  263. package/dist/identifier-BoZelETM.cjs +55 -0
  264. package/dist/{generateUtilityClasses-DngCqveO.js → identifier-PWESmBq6.js} +582 -612
  265. package/dist/{index-l8yqod25.js → index-8G2jvqZ8.js} +4 -4
  266. package/dist/index-D3lMWU76.cjs +1 -0
  267. package/dist/index.cjs.js +1 -1
  268. package/dist/index.es.js +402 -391
  269. package/dist/integerPropType-BihGt2aU.js +31 -0
  270. package/dist/integerPropType-CR7ytEJG.cjs +1 -0
  271. package/dist/{listItemTextClasses-BRj19IXv.js → listItemTextClasses-B5VhLd9W.js} +1 -1
  272. package/dist/listItemTextClasses-CJDKfXvl.cjs +1 -0
  273. package/dist/{memoTheme-BAbn60Cb.cjs → memoTheme-BKfsJx_F.cjs} +1 -1
  274. package/dist/{memoTheme-nmt7i1dS.js → memoTheme-DAFDflPY.js} +1 -1
  275. package/dist/{mergeSlotProps-BBciKnr4.js → mergeSlotProps-ChAye7iz.js} +1 -1
  276. package/dist/mergeSlotProps-DXwOW3FE.cjs +1 -0
  277. package/dist/styled-C7gyRDlj.js +5 -0
  278. package/dist/styled-Cax0O00h.cjs +1 -0
  279. package/dist/useControlled-QrrYcKxm.cjs +3 -0
  280. package/dist/useControlled-nm4pBabJ.js +31 -0
  281. package/dist/{useEventCallback-Yoj9nCug.js → useEventCallback-Y2KwRxBw.js} +2 -2
  282. package/dist/usePreviousProps-ByGlbpJ6.js +10 -0
  283. package/dist/usePreviousProps-jC3PWcIp.cjs +1 -0
  284. package/dist/{useSlot-BDb1lvxu.js → useSlot-BzdKwDQ5.js} +1 -1
  285. package/dist/useSlot-C2FjoUpF.cjs +1 -0
  286. package/dist/{useSlotProps-OhEflPiz.cjs → useSlotProps-CrQGQLdL.cjs} +1 -1
  287. package/dist/{useSlotProps-B_D8u0j-.js → useSlotProps-DdMuGelR.js} +1 -1
  288. package/dist/{useTheme-D9cVynB-.js → useTheme--i9fxE_A.js} +1 -1
  289. package/dist/useTheme-BLMJDSsv.cjs +1 -0
  290. package/dist/useTheme-CooC_6Ep.cjs +1 -0
  291. package/dist/useTheme-XJ9sFCWX.js +11 -0
  292. package/dist/{useThemeProps-ggw56DH-.js → useThemeProps-B4VFkcP0.js} +4 -4
  293. package/dist/{useThemeProps-DQOn-ezC.cjs → useThemeProps-B9E_wuN9.cjs} +1 -1
  294. package/dist/useThemeProps-C1A3rnbh.cjs +1 -0
  295. package/dist/useThemeProps-CQ9rZe7g.js +17 -0
  296. package/package.json +12 -11
  297. package/dist/Alert-DW8yCR-B.cjs +0 -1
  298. package/dist/Autocomplete-D9hZ2wrR.cjs +0 -6
  299. package/dist/Backdrop-3TL73mAe.cjs +0 -1
  300. package/dist/Badge-DhyDno9j.cjs +0 -138
  301. package/dist/Box-DYD6q-6M.cjs +0 -1
  302. package/dist/Button-y1LmxqGA.cjs +0 -1
  303. package/dist/ButtonBase-Cteo-mSC.cjs +0 -74
  304. package/dist/CardContent-ji0_AneN.cjs +0 -1
  305. package/dist/Checkbox-XXqW_dbW.cjs +0 -1
  306. package/dist/Chip-Bpcd3tnL.cjs +0 -1
  307. package/dist/CircularProgress-Wqx0-T36.cjs +0 -28
  308. package/dist/CustomTreeItem-DPyfIueW.cjs +0 -3
  309. package/dist/CustomTreeItem-hIRSCwAW.js +0 -1336
  310. package/dist/DatePicker-BMzW4v1g.js +0 -10255
  311. package/dist/DatePicker-CNhBoaI3.cjs +0 -14
  312. package/dist/DefaultPropsProvider-B1crdkTC.cjs +0 -1
  313. package/dist/Dialog-B2LKe7ZM.cjs +0 -1
  314. package/dist/DialogContent-BbCu_OEw.cjs +0 -1
  315. package/dist/DialogTitle-SwUSpeBT.cjs +0 -1
  316. package/dist/Divider-Cshcr5kR.cjs +0 -1
  317. package/dist/FormLabel-0LbNeQQU.cjs +0 -2
  318. package/dist/Grow-aEgTOewU.cjs +0 -1
  319. package/dist/IconButton-BKwDNYJl.cjs +0 -2
  320. package/dist/InputAdornment-C7e-kyf7.cjs +0 -1
  321. package/dist/InputBase-pYQWRFK2.cjs +0 -3
  322. package/dist/Link-DUtuCYMx.cjs +0 -1
  323. package/dist/List-BH_S4Hqm.cjs +0 -1
  324. package/dist/ListItem-D33t-hkx.cjs +0 -1
  325. package/dist/ListItemText-B8jlTz59.cjs +0 -2
  326. package/dist/ListItemText-BeyHu1da.js +0 -853
  327. package/dist/Menu-BjrN8rMF.cjs +0 -7
  328. package/dist/MenuItem-Cz_x60jl.cjs +0 -1
  329. package/dist/Modal-DxwlW5NV.cjs +0 -2
  330. package/dist/Paper-984iTz4H.js +0 -186
  331. package/dist/Paper-Bh9CKUCb.cjs +0 -2
  332. package/dist/Popper-yO_RaCbM.cjs +0 -4
  333. package/dist/Portal-B5KqLEa0.cjs +0 -1
  334. package/dist/Radio-C7zzpRFc.cjs +0 -1
  335. package/dist/RadioGroup-BlUWRmLG.cjs +0 -1
  336. package/dist/Select-Doay7ukI.cjs +0 -3
  337. package/dist/Stack-BVWbOqY_.cjs +0 -1
  338. package/dist/Switch-CEfqaD33.cjs +0 -1
  339. package/dist/SwitchBase-DvCITKv8.cjs +0 -1
  340. package/dist/Tab-C6H241Pf.cjs +0 -4
  341. package/dist/TextField-bE2NUKKK.cjs +0 -1
  342. package/dist/Tooltip-D_w-IJoD.cjs +0 -4
  343. package/dist/Typography-De-21leI.cjs +0 -1
  344. package/dist/capitalize-BHFotl9B.js +0 -9
  345. package/dist/capitalize-CKLkSyDO.cjs +0 -1
  346. package/dist/composeClasses-CJKlIaRn.js +0 -51
  347. package/dist/composeClasses-CWgX5SFD.cjs +0 -1
  348. package/dist/createSvgIcon-BgBODH2F.cjs +0 -1
  349. package/dist/dividerClasses-D3gnW6kZ.cjs +0 -1
  350. package/dist/extendSxProp-Cm-DtZe3.cjs +0 -1
  351. package/dist/generateUtilityClasses-CMlilM6r.cjs +0 -55
  352. package/dist/getReactElementRef-EVJnBPlV.cjs +0 -1
  353. package/dist/index-BzsuDIEl.cjs +0 -1
  354. package/dist/listItemTextClasses-BJFgw1ah.cjs +0 -1
  355. package/dist/mergeSlotProps-Z5-o9vSe.cjs +0 -1
  356. package/dist/useControlled-BYdyS7Pn.js +0 -31
  357. package/dist/useControlled-Ysk4KqoX.cjs +0 -3
  358. package/dist/useSlot-W0PiuVaZ.cjs +0 -1
  359. package/dist/useTheme-C59wIJ3-.js +0 -11
  360. package/dist/useTheme-ClhInrO2.cjs +0 -1
  361. package/dist/useTheme-CqYtLDbs.cjs +0 -1
  362. package/dist/useThemeProps-BFQ8ndnj.js +0 -17
  363. package/dist/useThemeProps-DYpozGhe.cjs +0 -1
  364. package/dist/{getReactElementRef-H8kwrWP1.js → elementAcceptingRef-CEweUuUA.js} +5 -5
@@ -0,0 +1,965 @@
1
+ import * as l from "react";
2
+ import { P as e } from "./index-Sy88PpwE.js";
3
+ import { F as P, G as z, H as R, K as q } from "./identifier-PWESmBq6.js";
4
+ import { jsxs as D, jsx as b } from "react/jsx-runtime";
5
+ import { u as $, s as S, c as E } from "./DefaultPropsProvider-DqazQPtr.js";
6
+ import { i as J } from "./integerPropType-BihGt2aU.js";
7
+ import { i as ne } from "./isMuiElement-DnSE4qG4.js";
8
+ import { m as V } from "./memoTheme-DAFDflPY.js";
9
+ import { u as k } from "./useSlot-BzdKwDQ5.js";
10
+ import { c as Q, S as re } from "./createSvgIcon-B1E6Wo8z.js";
11
+ import { B as ae } from "./ButtonBase-6TF6t2SP.js";
12
+ const w = /* @__PURE__ */ l.createContext({});
13
+ process.env.NODE_ENV !== "production" && (w.displayName = "StepperContext");
14
+ function Ae() {
15
+ return l.useContext(w);
16
+ }
17
+ const B = /* @__PURE__ */ l.createContext({});
18
+ process.env.NODE_ENV !== "production" && (B.displayName = "StepContext");
19
+ function He() {
20
+ return l.useContext(B);
21
+ }
22
+ function se(t) {
23
+ return z("MuiStep", t);
24
+ }
25
+ const Ge = P("MuiStep", ["root", "horizontal", "vertical", "alternativeLabel", "completed"]), le = (t) => {
26
+ const {
27
+ classes: o,
28
+ orientation: n,
29
+ alternativeLabel: r,
30
+ completed: a
31
+ } = t;
32
+ return E({
33
+ root: ["root", n, r && "alternativeLabel", a && "completed"]
34
+ }, se, o);
35
+ }, ie = S("div", {
36
+ name: "MuiStep",
37
+ slot: "Root",
38
+ overridesResolver: (t, o) => {
39
+ const {
40
+ ownerState: n
41
+ } = t;
42
+ return [o.root, o[n.orientation], n.alternativeLabel && o.alternativeLabel, n.completed && o.completed];
43
+ }
44
+ })({
45
+ variants: [{
46
+ props: {
47
+ orientation: "horizontal"
48
+ },
49
+ style: {
50
+ paddingLeft: 8,
51
+ paddingRight: 8
52
+ }
53
+ }, {
54
+ props: {
55
+ alternativeLabel: !0
56
+ },
57
+ style: {
58
+ flex: 1,
59
+ position: "relative"
60
+ }
61
+ }]
62
+ }), ce = /* @__PURE__ */ l.forwardRef(function(o, n) {
63
+ const r = $({
64
+ props: o,
65
+ name: "MuiStep"
66
+ }), {
67
+ active: a,
68
+ children: i,
69
+ className: d,
70
+ component: c = "div",
71
+ completed: u,
72
+ disabled: m,
73
+ expanded: p = !1,
74
+ index: s,
75
+ last: f,
76
+ ...x
77
+ } = r, {
78
+ activeStep: y,
79
+ connector: v,
80
+ alternativeLabel: N,
81
+ orientation: M,
82
+ nonLinear: T
83
+ } = l.useContext(w);
84
+ let [C = !1, I = !1, h = !1] = [a, u, m];
85
+ y === s ? C = a !== void 0 ? a : !0 : !T && y > s ? I = u !== void 0 ? u : !0 : !T && y < s && (h = m !== void 0 ? m : !0);
86
+ const U = l.useMemo(() => ({
87
+ index: s,
88
+ last: f,
89
+ expanded: p,
90
+ icon: s + 1,
91
+ active: C,
92
+ completed: I,
93
+ disabled: h
94
+ }), [s, f, p, C, I, h]), L = {
95
+ ...r,
96
+ active: C,
97
+ orientation: M,
98
+ alternativeLabel: N,
99
+ completed: I,
100
+ disabled: h,
101
+ expanded: p,
102
+ component: c
103
+ }, O = le(L), j = /* @__PURE__ */ D(ie, {
104
+ as: c,
105
+ className: R(O.root, d),
106
+ ref: n,
107
+ ownerState: L,
108
+ ...x,
109
+ children: [v && N && s !== 0 ? v : null, i]
110
+ });
111
+ return /* @__PURE__ */ b(B.Provider, {
112
+ value: U,
113
+ children: v && !N && s !== 0 ? /* @__PURE__ */ D(l.Fragment, {
114
+ children: [v, j]
115
+ }) : j
116
+ });
117
+ });
118
+ process.env.NODE_ENV !== "production" && (ce.propTypes = {
119
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
120
+ // │ These PropTypes are generated from the TypeScript type definitions. │
121
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
122
+ // └─────────────────────────────────────────────────────────────────────┘
123
+ /**
124
+ * Sets the step as active. Is passed to child components.
125
+ */
126
+ active: e.bool,
127
+ /**
128
+ * Should be `Step` sub-components such as `StepLabel`, `StepContent`.
129
+ */
130
+ children: e.node,
131
+ /**
132
+ * Override or extend the styles applied to the component.
133
+ */
134
+ classes: e.object,
135
+ /**
136
+ * @ignore
137
+ */
138
+ className: e.string,
139
+ /**
140
+ * Mark the step as completed. Is passed to child components.
141
+ */
142
+ completed: e.bool,
143
+ /**
144
+ * The component used for the root node.
145
+ * Either a string to use a HTML element or a component.
146
+ */
147
+ component: e.elementType,
148
+ /**
149
+ * If `true`, the step is disabled, will also disable the button if
150
+ * `StepButton` is a child of `Step`. Is passed to child components.
151
+ */
152
+ disabled: e.bool,
153
+ /**
154
+ * Expand the step.
155
+ * @default false
156
+ */
157
+ expanded: e.bool,
158
+ /**
159
+ * The position of the step.
160
+ * The prop defaults to the value inherited from the parent Stepper component.
161
+ */
162
+ index: J,
163
+ /**
164
+ * If `true`, the Step is displayed as rendered last.
165
+ * The prop defaults to the value inherited from the parent Stepper component.
166
+ */
167
+ last: e.bool,
168
+ /**
169
+ * The system prop that allows defining system overrides as well as additional CSS styles.
170
+ */
171
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
172
+ });
173
+ const pe = Q(/* @__PURE__ */ b("path", {
174
+ d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
175
+ }), "CheckCircle"), de = Q(/* @__PURE__ */ b("path", {
176
+ d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
177
+ }), "Warning");
178
+ function ue(t) {
179
+ return z("MuiStepIcon", t);
180
+ }
181
+ const F = P("MuiStepIcon", ["root", "active", "completed", "error", "text"]);
182
+ var G;
183
+ const be = (t) => {
184
+ const {
185
+ classes: o,
186
+ active: n,
187
+ completed: r,
188
+ error: a
189
+ } = t;
190
+ return E({
191
+ root: ["root", n && "active", r && "completed", a && "error"],
192
+ text: ["text"]
193
+ }, ue, o);
194
+ }, W = S(re, {
195
+ name: "MuiStepIcon",
196
+ slot: "Root"
197
+ })(V(({
198
+ theme: t
199
+ }) => ({
200
+ display: "block",
201
+ transition: t.transitions.create("color", {
202
+ duration: t.transitions.duration.shortest
203
+ }),
204
+ color: (t.vars || t).palette.text.disabled,
205
+ [`&.${F.completed}`]: {
206
+ color: (t.vars || t).palette.primary.main
207
+ },
208
+ [`&.${F.active}`]: {
209
+ color: (t.vars || t).palette.primary.main
210
+ },
211
+ [`&.${F.error}`]: {
212
+ color: (t.vars || t).palette.error.main
213
+ }
214
+ }))), me = S("text", {
215
+ name: "MuiStepIcon",
216
+ slot: "Text"
217
+ })(V(({
218
+ theme: t
219
+ }) => ({
220
+ fill: (t.vars || t).palette.primary.contrastText,
221
+ fontSize: t.typography.caption.fontSize,
222
+ fontFamily: t.typography.fontFamily
223
+ }))), X = /* @__PURE__ */ l.forwardRef(function(o, n) {
224
+ const r = $({
225
+ props: o,
226
+ name: "MuiStepIcon"
227
+ }), {
228
+ active: a = !1,
229
+ className: i,
230
+ completed: d = !1,
231
+ error: c = !1,
232
+ icon: u,
233
+ ...m
234
+ } = r, p = {
235
+ ...r,
236
+ active: a,
237
+ completed: d,
238
+ error: c
239
+ }, s = be(p);
240
+ if (typeof u == "number" || typeof u == "string") {
241
+ const f = R(i, s.root);
242
+ return c ? /* @__PURE__ */ b(W, {
243
+ as: de,
244
+ className: f,
245
+ ref: n,
246
+ ownerState: p,
247
+ ...m
248
+ }) : d ? /* @__PURE__ */ b(W, {
249
+ as: pe,
250
+ className: f,
251
+ ref: n,
252
+ ownerState: p,
253
+ ...m
254
+ }) : /* @__PURE__ */ D(W, {
255
+ className: f,
256
+ ref: n,
257
+ ownerState: p,
258
+ ...m,
259
+ children: [G || (G = /* @__PURE__ */ b("circle", {
260
+ cx: "12",
261
+ cy: "12",
262
+ r: "12"
263
+ })), /* @__PURE__ */ b(me, {
264
+ className: s.text,
265
+ x: "12",
266
+ y: "12",
267
+ textAnchor: "middle",
268
+ dominantBaseline: "central",
269
+ ownerState: p,
270
+ children: u
271
+ })]
272
+ });
273
+ }
274
+ return u;
275
+ });
276
+ process.env.NODE_ENV !== "production" && (X.propTypes = {
277
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
278
+ // │ These PropTypes are generated from the TypeScript type definitions. │
279
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
280
+ // └─────────────────────────────────────────────────────────────────────┘
281
+ /**
282
+ * Whether this step is active.
283
+ * @default false
284
+ */
285
+ active: e.bool,
286
+ /**
287
+ * Override or extend the styles applied to the component.
288
+ */
289
+ classes: e.object,
290
+ /**
291
+ * @ignore
292
+ */
293
+ className: e.string,
294
+ /**
295
+ * Mark the step as completed. Is passed to child components.
296
+ * @default false
297
+ */
298
+ completed: e.bool,
299
+ /**
300
+ * If `true`, the step is marked as failed.
301
+ * @default false
302
+ */
303
+ error: e.bool,
304
+ /**
305
+ * The label displayed in the step icon.
306
+ */
307
+ icon: e.node,
308
+ /**
309
+ * The system prop that allows defining system overrides as well as additional CSS styles.
310
+ */
311
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
312
+ });
313
+ function fe(t) {
314
+ return z("MuiStepLabel", t);
315
+ }
316
+ const g = P("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active", "completed", "error", "disabled", "iconContainer", "alternativeLabel", "labelContainer"]), ve = (t) => {
317
+ const {
318
+ classes: o,
319
+ orientation: n,
320
+ active: r,
321
+ completed: a,
322
+ error: i,
323
+ disabled: d,
324
+ alternativeLabel: c
325
+ } = t;
326
+ return E({
327
+ root: ["root", n, i && "error", d && "disabled", c && "alternativeLabel"],
328
+ label: ["label", r && "active", a && "completed", i && "error", d && "disabled", c && "alternativeLabel"],
329
+ iconContainer: ["iconContainer", r && "active", a && "completed", i && "error", d && "disabled", c && "alternativeLabel"],
330
+ labelContainer: ["labelContainer", c && "alternativeLabel"]
331
+ }, fe, o);
332
+ }, Se = S("span", {
333
+ name: "MuiStepLabel",
334
+ slot: "Root",
335
+ overridesResolver: (t, o) => {
336
+ const {
337
+ ownerState: n
338
+ } = t;
339
+ return [o.root, o[n.orientation]];
340
+ }
341
+ })({
342
+ display: "flex",
343
+ alignItems: "center",
344
+ [`&.${g.alternativeLabel}`]: {
345
+ flexDirection: "column"
346
+ },
347
+ [`&.${g.disabled}`]: {
348
+ cursor: "default"
349
+ },
350
+ variants: [{
351
+ props: {
352
+ orientation: "vertical"
353
+ },
354
+ style: {
355
+ textAlign: "left",
356
+ padding: "8px 0"
357
+ }
358
+ }]
359
+ }), ye = S("span", {
360
+ name: "MuiStepLabel",
361
+ slot: "Label"
362
+ })(V(({
363
+ theme: t
364
+ }) => ({
365
+ ...t.typography.body2,
366
+ display: "block",
367
+ transition: t.transitions.create("color", {
368
+ duration: t.transitions.duration.shortest
369
+ }),
370
+ [`&.${g.active}`]: {
371
+ color: (t.vars || t).palette.text.primary,
372
+ fontWeight: 500
373
+ },
374
+ [`&.${g.completed}`]: {
375
+ color: (t.vars || t).palette.text.primary,
376
+ fontWeight: 500
377
+ },
378
+ [`&.${g.alternativeLabel}`]: {
379
+ marginTop: 16
380
+ },
381
+ [`&.${g.error}`]: {
382
+ color: (t.vars || t).palette.error.main
383
+ }
384
+ }))), Ce = S("span", {
385
+ name: "MuiStepLabel",
386
+ slot: "IconContainer"
387
+ })({
388
+ flexShrink: 0,
389
+ display: "flex",
390
+ paddingRight: 8,
391
+ [`&.${g.alternativeLabel}`]: {
392
+ paddingRight: 0
393
+ }
394
+ }), xe = S("span", {
395
+ name: "MuiStepLabel",
396
+ slot: "LabelContainer"
397
+ })(V(({
398
+ theme: t
399
+ }) => ({
400
+ width: "100%",
401
+ color: (t.vars || t).palette.text.secondary,
402
+ [`&.${g.alternativeLabel}`]: {
403
+ textAlign: "center"
404
+ }
405
+ }))), A = /* @__PURE__ */ l.forwardRef(function(o, n) {
406
+ const r = $({
407
+ props: o,
408
+ name: "MuiStepLabel"
409
+ }), {
410
+ children: a,
411
+ className: i,
412
+ componentsProps: d = {},
413
+ error: c = !1,
414
+ icon: u,
415
+ optional: m,
416
+ slots: p = {},
417
+ slotProps: s = {},
418
+ StepIconComponent: f,
419
+ StepIconProps: x,
420
+ ...y
421
+ } = r, {
422
+ alternativeLabel: v,
423
+ orientation: N
424
+ } = l.useContext(w), {
425
+ active: M,
426
+ disabled: T,
427
+ completed: C,
428
+ icon: I
429
+ } = l.useContext(B), h = u || I;
430
+ let U = f;
431
+ h && !U && (U = X);
432
+ const L = {
433
+ ...r,
434
+ active: M,
435
+ alternativeLabel: v,
436
+ completed: C,
437
+ disabled: T,
438
+ error: c,
439
+ orientation: N
440
+ }, O = ve(L), j = {
441
+ slots: p,
442
+ slotProps: {
443
+ stepIcon: x,
444
+ ...d,
445
+ ...s
446
+ }
447
+ }, [Z, ee] = k("root", {
448
+ elementType: Se,
449
+ externalForwardedProps: {
450
+ ...j,
451
+ ...y
452
+ },
453
+ ownerState: L,
454
+ ref: n,
455
+ className: R(O.root, i)
456
+ }), [te, _] = k("label", {
457
+ elementType: ye,
458
+ externalForwardedProps: j,
459
+ ownerState: L
460
+ }), [H, oe] = k("stepIcon", {
461
+ elementType: U,
462
+ externalForwardedProps: j,
463
+ ownerState: L
464
+ });
465
+ return /* @__PURE__ */ D(Z, {
466
+ ...ee,
467
+ children: [h || H ? /* @__PURE__ */ b(Ce, {
468
+ className: O.iconContainer,
469
+ ownerState: L,
470
+ children: /* @__PURE__ */ b(H, {
471
+ completed: C,
472
+ active: M,
473
+ error: c,
474
+ icon: h,
475
+ ...oe
476
+ })
477
+ }) : null, /* @__PURE__ */ D(xe, {
478
+ className: O.labelContainer,
479
+ ownerState: L,
480
+ children: [a ? /* @__PURE__ */ b(te, {
481
+ ..._,
482
+ className: R(O.label, _ == null ? void 0 : _.className),
483
+ children: a
484
+ }) : null, m]
485
+ })]
486
+ });
487
+ });
488
+ process.env.NODE_ENV !== "production" && (A.propTypes = {
489
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
490
+ // │ These PropTypes are generated from the TypeScript type definitions. │
491
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
492
+ // └─────────────────────────────────────────────────────────────────────┘
493
+ /**
494
+ * In most cases will simply be a string containing a title for the label.
495
+ */
496
+ children: e.node,
497
+ /**
498
+ * Override or extend the styles applied to the component.
499
+ */
500
+ classes: e.object,
501
+ /**
502
+ * @ignore
503
+ */
504
+ className: e.string,
505
+ /**
506
+ * The props used for each slot inside.
507
+ * @default {}
508
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
509
+ */
510
+ componentsProps: e.shape({
511
+ label: e.object
512
+ }),
513
+ /**
514
+ * If `true`, the step is marked as failed.
515
+ * @default false
516
+ */
517
+ error: e.bool,
518
+ /**
519
+ * Override the default label of the step icon.
520
+ */
521
+ icon: e.node,
522
+ /**
523
+ * The optional node to display.
524
+ */
525
+ optional: e.node,
526
+ /**
527
+ * The props used for each slot inside.
528
+ * @default {}
529
+ */
530
+ slotProps: e.shape({
531
+ label: e.oneOfType([e.func, e.object]),
532
+ root: e.oneOfType([e.func, e.object]),
533
+ stepIcon: e.oneOfType([e.func, e.object])
534
+ }),
535
+ /**
536
+ * The components used for each slot inside.
537
+ * @default {}
538
+ */
539
+ slots: e.shape({
540
+ label: e.elementType,
541
+ root: e.elementType,
542
+ stepIcon: e.elementType
543
+ }),
544
+ /**
545
+ * The component to render in place of the [`StepIcon`](https://mui.com/material-ui/api/step-icon/).
546
+ * @deprecated Use `slots.stepIcon` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
547
+ */
548
+ StepIconComponent: e.elementType,
549
+ /**
550
+ * Props applied to the [`StepIcon`](https://mui.com/material-ui/api/step-icon/) element.
551
+ * @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
552
+ */
553
+ StepIconProps: e.object,
554
+ /**
555
+ * The system prop that allows defining system overrides as well as additional CSS styles.
556
+ */
557
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
558
+ });
559
+ A.muiName = "StepLabel";
560
+ function Le(t) {
561
+ return z("MuiStepButton", t);
562
+ }
563
+ const K = P("MuiStepButton", ["root", "horizontal", "vertical", "touchRipple"]), he = (t) => {
564
+ const {
565
+ classes: o,
566
+ orientation: n
567
+ } = t;
568
+ return E({
569
+ root: ["root", n],
570
+ touchRipple: ["touchRipple"]
571
+ }, Le, o);
572
+ }, ge = S(ae, {
573
+ name: "MuiStepButton",
574
+ slot: "Root",
575
+ overridesResolver: (t, o) => {
576
+ const {
577
+ ownerState: n
578
+ } = t;
579
+ return [{
580
+ [`& .${K.touchRipple}`]: o.touchRipple
581
+ }, o.root, o[n.orientation]];
582
+ }
583
+ })({
584
+ width: "100%",
585
+ padding: "24px 16px",
586
+ margin: "-24px -16px",
587
+ boxSizing: "content-box",
588
+ [`& .${K.touchRipple}`]: {
589
+ color: "rgba(0, 0, 0, 0.3)"
590
+ },
591
+ variants: [{
592
+ props: {
593
+ orientation: "vertical"
594
+ },
595
+ style: {
596
+ justifyContent: "flex-start",
597
+ padding: "8px",
598
+ margin: "-8px"
599
+ }
600
+ }]
601
+ }), Ne = /* @__PURE__ */ l.forwardRef(function(o, n) {
602
+ const r = $({
603
+ props: o,
604
+ name: "MuiStepButton"
605
+ }), {
606
+ children: a,
607
+ className: i,
608
+ icon: d,
609
+ optional: c,
610
+ ...u
611
+ } = r, {
612
+ disabled: m,
613
+ active: p
614
+ } = l.useContext(B), {
615
+ orientation: s
616
+ } = l.useContext(w), f = {
617
+ ...r,
618
+ orientation: s
619
+ }, x = he(f), y = {
620
+ icon: d,
621
+ optional: c
622
+ }, v = ne(a, ["StepLabel"]) ? /* @__PURE__ */ l.cloneElement(a, y) : /* @__PURE__ */ b(A, {
623
+ ...y,
624
+ children: a
625
+ });
626
+ return /* @__PURE__ */ b(ge, {
627
+ focusRipple: !0,
628
+ disabled: m,
629
+ TouchRippleProps: {
630
+ className: x.touchRipple
631
+ },
632
+ className: R(x.root, i),
633
+ ref: n,
634
+ ownerState: f,
635
+ "aria-current": p ? "step" : void 0,
636
+ ...u,
637
+ children: v
638
+ });
639
+ });
640
+ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
641
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
642
+ // │ These PropTypes are generated from the TypeScript type definitions. │
643
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
644
+ // └─────────────────────────────────────────────────────────────────────┘
645
+ /**
646
+ * Can be a `StepLabel` or a node to place inside `StepLabel` as children.
647
+ */
648
+ children: e.node,
649
+ /**
650
+ * Override or extend the styles applied to the component.
651
+ */
652
+ classes: e.object,
653
+ /**
654
+ * @ignore
655
+ */
656
+ className: e.string,
657
+ /**
658
+ * The icon displayed by the step label.
659
+ */
660
+ icon: e.node,
661
+ /**
662
+ * The optional node to display.
663
+ */
664
+ optional: e.node,
665
+ /**
666
+ * The system prop that allows defining system overrides as well as additional CSS styles.
667
+ */
668
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
669
+ });
670
+ function Te(t) {
671
+ return z("MuiStepper", t);
672
+ }
673
+ const Ke = P("MuiStepper", ["root", "horizontal", "vertical", "nonLinear", "alternativeLabel"]);
674
+ function Re(t) {
675
+ return z("MuiStepConnector", t);
676
+ }
677
+ P("MuiStepConnector", ["root", "horizontal", "vertical", "alternativeLabel", "active", "completed", "disabled", "line", "lineHorizontal", "lineVertical"]);
678
+ const we = (t) => {
679
+ const {
680
+ classes: o,
681
+ orientation: n,
682
+ alternativeLabel: r,
683
+ active: a,
684
+ completed: i,
685
+ disabled: d
686
+ } = t, c = {
687
+ root: ["root", n, r && "alternativeLabel", a && "active", i && "completed", d && "disabled"],
688
+ line: ["line", `line${q(n)}`]
689
+ };
690
+ return E(c, Re, o);
691
+ }, Me = S("div", {
692
+ name: "MuiStepConnector",
693
+ slot: "Root",
694
+ overridesResolver: (t, o) => {
695
+ const {
696
+ ownerState: n
697
+ } = t;
698
+ return [o.root, o[n.orientation], n.alternativeLabel && o.alternativeLabel, n.completed && o.completed];
699
+ }
700
+ })({
701
+ flex: "1 1 auto",
702
+ variants: [{
703
+ props: {
704
+ orientation: "vertical"
705
+ },
706
+ style: {
707
+ marginLeft: 12
708
+ // half icon
709
+ }
710
+ }, {
711
+ props: {
712
+ alternativeLabel: !0
713
+ },
714
+ style: {
715
+ position: "absolute",
716
+ top: 12,
717
+ left: "calc(-50% + 20px)",
718
+ right: "calc(50% + 20px)"
719
+ }
720
+ }]
721
+ }), Ie = S("span", {
722
+ name: "MuiStepConnector",
723
+ slot: "Line",
724
+ overridesResolver: (t, o) => {
725
+ const {
726
+ ownerState: n
727
+ } = t;
728
+ return [o.line, o[`line${q(n.orientation)}`]];
729
+ }
730
+ })(V(({
731
+ theme: t
732
+ }) => {
733
+ const o = t.palette.mode === "light" ? t.palette.grey[400] : t.palette.grey[600];
734
+ return {
735
+ display: "block",
736
+ borderColor: t.vars ? t.vars.palette.StepConnector.border : o,
737
+ variants: [{
738
+ props: {
739
+ orientation: "horizontal"
740
+ },
741
+ style: {
742
+ borderTopStyle: "solid",
743
+ borderTopWidth: 1
744
+ }
745
+ }, {
746
+ props: {
747
+ orientation: "vertical"
748
+ },
749
+ style: {
750
+ borderLeftStyle: "solid",
751
+ borderLeftWidth: 1,
752
+ minHeight: 24
753
+ }
754
+ }]
755
+ };
756
+ })), Y = /* @__PURE__ */ l.forwardRef(function(o, n) {
757
+ const r = $({
758
+ props: o,
759
+ name: "MuiStepConnector"
760
+ }), {
761
+ className: a,
762
+ ...i
763
+ } = r, {
764
+ alternativeLabel: d,
765
+ orientation: c = "horizontal"
766
+ } = l.useContext(w), {
767
+ active: u,
768
+ disabled: m,
769
+ completed: p
770
+ } = l.useContext(B), s = {
771
+ ...r,
772
+ alternativeLabel: d,
773
+ orientation: c,
774
+ active: u,
775
+ completed: p,
776
+ disabled: m
777
+ }, f = we(s);
778
+ return /* @__PURE__ */ b(Me, {
779
+ className: R(f.root, a),
780
+ ref: n,
781
+ ownerState: s,
782
+ ...i,
783
+ children: /* @__PURE__ */ b(Ie, {
784
+ className: f.line,
785
+ ownerState: s
786
+ })
787
+ });
788
+ });
789
+ process.env.NODE_ENV !== "production" && (Y.propTypes = {
790
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
791
+ // │ These PropTypes are generated from the TypeScript type definitions. │
792
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
793
+ // └─────────────────────────────────────────────────────────────────────┘
794
+ /**
795
+ * Override or extend the styles applied to the component.
796
+ */
797
+ classes: e.object,
798
+ /**
799
+ * @ignore
800
+ */
801
+ className: e.string,
802
+ /**
803
+ * The system prop that allows defining system overrides as well as additional CSS styles.
804
+ */
805
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
806
+ });
807
+ const Oe = (t) => {
808
+ const {
809
+ orientation: o,
810
+ nonLinear: n,
811
+ alternativeLabel: r,
812
+ classes: a
813
+ } = t;
814
+ return E({
815
+ root: ["root", o, n && "nonLinear", r && "alternativeLabel"]
816
+ }, Te, a);
817
+ }, je = S("div", {
818
+ name: "MuiStepper",
819
+ slot: "Root",
820
+ overridesResolver: (t, o) => {
821
+ const {
822
+ ownerState: n
823
+ } = t;
824
+ return [o.root, o[n.orientation], n.alternativeLabel && o.alternativeLabel, n.nonLinear && o.nonLinear];
825
+ }
826
+ })({
827
+ display: "flex",
828
+ variants: [{
829
+ props: {
830
+ orientation: "horizontal"
831
+ },
832
+ style: {
833
+ flexDirection: "row",
834
+ alignItems: "center"
835
+ }
836
+ }, {
837
+ props: {
838
+ orientation: "vertical"
839
+ },
840
+ style: {
841
+ flexDirection: "column"
842
+ }
843
+ }, {
844
+ props: {
845
+ alternativeLabel: !0
846
+ },
847
+ style: {
848
+ alignItems: "flex-start"
849
+ }
850
+ }]
851
+ }), Pe = /* @__PURE__ */ b(Y, {}), ze = /* @__PURE__ */ l.forwardRef(function(o, n) {
852
+ const r = $({
853
+ props: o,
854
+ name: "MuiStepper"
855
+ }), {
856
+ activeStep: a = 0,
857
+ alternativeLabel: i = !1,
858
+ children: d,
859
+ className: c,
860
+ component: u = "div",
861
+ connector: m = Pe,
862
+ nonLinear: p = !1,
863
+ orientation: s = "horizontal",
864
+ ...f
865
+ } = r, x = {
866
+ ...r,
867
+ nonLinear: p,
868
+ alternativeLabel: i,
869
+ orientation: s,
870
+ component: u
871
+ }, y = Oe(x), v = l.Children.toArray(d).filter(Boolean), N = v.map((T, C) => /* @__PURE__ */ l.cloneElement(T, {
872
+ index: C,
873
+ last: C + 1 === v.length,
874
+ ...T.props
875
+ })), M = l.useMemo(() => ({
876
+ activeStep: a,
877
+ alternativeLabel: i,
878
+ connector: m,
879
+ nonLinear: p,
880
+ orientation: s
881
+ }), [a, i, m, p, s]);
882
+ return /* @__PURE__ */ b(w.Provider, {
883
+ value: M,
884
+ children: /* @__PURE__ */ b(je, {
885
+ as: u,
886
+ ownerState: x,
887
+ className: R(y.root, c),
888
+ ref: n,
889
+ ...f,
890
+ children: N
891
+ })
892
+ });
893
+ });
894
+ process.env.NODE_ENV !== "production" && (ze.propTypes = {
895
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
896
+ // │ These PropTypes are generated from the TypeScript type definitions. │
897
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
898
+ // └─────────────────────────────────────────────────────────────────────┘
899
+ /**
900
+ * Set the active step (zero based index).
901
+ * Set to -1 to disable all the steps.
902
+ * @default 0
903
+ */
904
+ activeStep: J,
905
+ /**
906
+ * If set to 'true' and orientation is horizontal,
907
+ * then the step label will be positioned under the icon.
908
+ * @default false
909
+ */
910
+ alternativeLabel: e.bool,
911
+ /**
912
+ * Two or more `<Step />` components.
913
+ */
914
+ children: e.node,
915
+ /**
916
+ * Override or extend the styles applied to the component.
917
+ */
918
+ classes: e.object,
919
+ /**
920
+ * @ignore
921
+ */
922
+ className: e.string,
923
+ /**
924
+ * The component used for the root node.
925
+ * Either a string to use a HTML element or a component.
926
+ */
927
+ component: e.elementType,
928
+ /**
929
+ * An element to be placed between each step.
930
+ * @default <StepConnector />
931
+ */
932
+ connector: e.element,
933
+ /**
934
+ * If set the `Stepper` will not assist in controlling steps for linear flow.
935
+ * @default false
936
+ */
937
+ nonLinear: e.bool,
938
+ /**
939
+ * The component orientation (layout flow direction).
940
+ * @default 'horizontal'
941
+ */
942
+ orientation: e.oneOf(["horizontal", "vertical"]),
943
+ /**
944
+ * The system prop that allows defining system overrides as well as additional CSS styles.
945
+ */
946
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
947
+ });
948
+ export {
949
+ ce as S,
950
+ Ne as a,
951
+ A as b,
952
+ ze as c,
953
+ B as d,
954
+ K as e,
955
+ Le as f,
956
+ se as g,
957
+ g as h,
958
+ fe as i,
959
+ Ke as j,
960
+ w as k,
961
+ Te as l,
962
+ Ae as m,
963
+ Ge as s,
964
+ He as u
965
+ };