@cgi-learning-hub/ui 1.5.0 → 1.5.1-dev.1744639457

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 (323) hide show
  1. package/dist/Alert-5zQ9TB22.cjs +1 -0
  2. package/dist/{Alert-D7eKsj1P.js → Alert-CDbAJ9jP.js} +27 -28
  3. package/dist/Autocomplete-2DWwLqO5.cjs +6 -0
  4. package/dist/{Autocomplete-Cfz4sLy8.js → Autocomplete-DO8kdiDn.js} +704 -665
  5. package/dist/Backdrop-Be5Hv5U8.cjs +1 -0
  6. package/dist/{Backdrop-COiz4sPF.js → Backdrop-CRrNkGxU.js} +18 -18
  7. package/dist/{Box-C-j-U8SH.js → Box-2IEW8Uij.js} +12 -12
  8. package/dist/Box-Bl24J58B.cjs +1 -0
  9. package/dist/Button-CZTPCtLu.cjs +1 -0
  10. package/dist/{Button-CQQdMCSm.js → Button-DYWfAsGe.js} +114 -148
  11. package/dist/{ButtonBase-CZFKUUHD.js → ButtonBase-BZXGvriS.js} +24 -24
  12. package/dist/{ButtonBase-NqQjeQ4X.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
  13. package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
  14. package/dist/{CardContent-sX9Bw4Ke.js → CardContent-oRdx06Ln.js} +5 -5
  15. package/dist/{Checkbox-1Zr36vDa.js → Checkbox-DMnS1qrF.js} +95 -68
  16. package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
  17. package/dist/Chip-BJSNxQBQ.cjs +1 -0
  18. package/dist/{Chip-BsErraqe.js → Chip-CacnC2L1.js} +53 -54
  19. package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
  20. package/dist/{CircularProgress-BBHGA0JX.js → CircularProgress-_VZwmayK.js} +28 -29
  21. package/dist/{Close-r-ZUhk0-.js → Close-CSvE0tu1.js} +1 -1
  22. package/dist/{Close-ZXg7X3Tz.cjs → Close-Czm0dlR9.cjs} +1 -1
  23. package/dist/{CloseRounded-CWmxueMc.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
  24. package/dist/{CloseRounded-B-eaQsyM.js → CloseRounded-CEX-NsA7.js} +1 -1
  25. package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
  26. package/dist/{CustomTreeItem-BpAK85gf.js → CustomTreeItem-DTV3xokL.js} +287 -289
  27. package/dist/{DatePicker-CWMXTgRG.js → DatePicker-C-toYUpc.js} +995 -1002
  28. package/dist/DatePicker-DbH5IN_w.cjs +13 -0
  29. package/dist/{DefaultPropsProvider-CXfMJdg8.js → DefaultPropsProvider-Bg-6nX-u.js} +53 -53
  30. package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
  31. package/dist/{Delete-CpTtpM4U.cjs → Delete-C0hR-twe.cjs} +1 -1
  32. package/dist/{Delete-DKn2lIDB.js → Delete-Pl5O0eBK.js} +1 -1
  33. package/dist/{Dialog-pU1ZAttp.js → Dialog-BGrQDZXr.js} +162 -169
  34. package/dist/Dialog-D1VJ5jXx.cjs +1 -0
  35. package/dist/DialogContent-DqdeAbSs.cjs +1 -0
  36. package/dist/{DialogContent-BEgapieO.js → DialogContent-ZiO3fkfO.js} +3 -3
  37. package/dist/DialogTitle-B3MlGamo.cjs +1 -0
  38. package/dist/{DialogTitle-Dcls3mcZ.js → DialogTitle-BiZ7zHp-.js} +7 -7
  39. package/dist/{Divider-CT4XaEn6.js → Divider-BDN4OyrO.js} +8 -8
  40. package/dist/Divider-I7KOokm8.cjs +1 -0
  41. package/dist/{Folder-DoEl37QZ.js → Folder-CF7SX2AD.js} +1 -1
  42. package/dist/{Folder-DWD_1Fux.cjs → Folder-ExV_xCn6.cjs} +1 -1
  43. package/dist/{FormLabel-BF6m-_uI.js → FormLabel-DNsUciXe.js} +24 -25
  44. package/dist/FormLabel-xZr5oZgx.cjs +2 -0
  45. package/dist/{Grow-Bk7XkPFP.js → Grow-CLBgYoz_.js} +5 -5
  46. package/dist/Grow-DrEdqZgX.cjs +1 -0
  47. package/dist/IconButton-C1I_233O.cjs +2 -0
  48. package/dist/{IconButton-BQW0xjdH.js → IconButton-CT0Plyy5.js} +26 -27
  49. package/dist/{InputAdornment-C6UfLaud.js → InputAdornment-Ci0BnJ_e.js} +10 -11
  50. package/dist/InputAdornment-_UPzajRP.cjs +1 -0
  51. package/dist/InputBase-C-ES3FPH.cjs +3 -0
  52. package/dist/{InputBase-YOnatBxw.js → InputBase-CJvM-WXJ.js} +261 -256
  53. package/dist/{Link-C3rf4gqc.js → Link-B6LNMjac.js} +15 -16
  54. package/dist/Link-BQrFDQ-K.cjs +1 -0
  55. package/dist/{List-CFInjv2S.js → List-22h7byk_.js} +2 -2
  56. package/dist/List-Bii833np.cjs +1 -0
  57. package/dist/{ListItem-BAAZxsu5.js → ListItem-B0syBgS7.js} +17 -17
  58. package/dist/ListItem-BtjE87R1.cjs +1 -0
  59. package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
  60. package/dist/ListItemText-zFoA_mgx.js +845 -0
  61. package/dist/Menu-4e60iiMU.cjs +7 -0
  62. package/dist/{Menu-BgO92SV3.js → Menu-B6t_52q7.js} +405 -335
  63. package/dist/MenuItem-De2MJkYT.cjs +1 -0
  64. package/dist/{MenuItem-B8eWAj8E.js → MenuItem-KNXRjnwO.js} +14 -14
  65. package/dist/{Modal-CFv4UMTP.js → Modal-BpJ9BCOo.js} +239 -245
  66. package/dist/Modal-JAWJUstF.cjs +2 -0
  67. package/dist/{MoreVert-Dq8BqKg4.js → MoreVert-BtC5XWOR.js} +1 -1
  68. package/dist/{MoreVert-B_Gz5Gfx.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
  69. package/dist/{Paper-DeL_n4k9.js → Paper-BTFv1nzl.js} +9 -9
  70. package/dist/Paper-CKG165jt.cjs +2 -0
  71. package/dist/Popper-CyH7Z-lN.cjs +4 -0
  72. package/dist/{Popper-BKxRTMsO.js → Popper-YJsxmJsm.js} +10 -10
  73. package/dist/Portal-CtsVKOQ9.js +85 -0
  74. package/dist/Portal-LP7SUKpU.cjs +1 -0
  75. package/dist/Radio-BEfQuau1.cjs +1 -0
  76. package/dist/{Radio-BVfoGshx.js → Radio-Dg73Pnqf.js} +226 -183
  77. package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
  78. package/dist/{RadioGroup-DcqRUtV8.js → RadioGroup-jev5E2xJ.js} +20 -20
  79. package/dist/{Select-Vnsr3NSv.js → Select-21Pm-BzJ.js} +164 -165
  80. package/dist/Select-CxofSqZJ.cjs +3 -0
  81. package/dist/{Stack-PQFKjbdN.js → Stack-D2Plrf1_.js} +60 -104
  82. package/dist/Stack-DpH56CPw.cjs +1 -0
  83. package/dist/Switch-BIGFww3p.cjs +1 -0
  84. package/dist/{Switch-Bn8zlIOf.js → Switch-CNfK1N1c.js} +167 -108
  85. package/dist/SwitchBase-BHC3uchj.js +314 -0
  86. package/dist/SwitchBase-DA079uiU.cjs +1 -0
  87. package/dist/{Tab-A0R3g6rB.js → Tab-BbWlzMyp.js} +597 -537
  88. package/dist/Tab-BsIC620i.cjs +4 -0
  89. package/dist/{TextField-Di6Nfe3O.js → TextField-BjzDdsW_.js} +133 -124
  90. package/dist/TextField-DFr8lsXU.cjs +1 -0
  91. package/dist/ToggleButtonGroup-BEvrUL8a.cjs +138 -0
  92. package/dist/{ToggleButtonGroup-B-zfmsAO.js → ToggleButtonGroup-C_O-zqof.js} +1995 -1818
  93. package/dist/{Tooltip-KTkLBRQj.js → Tooltip-Bf5VDDeG.js} +34 -35
  94. package/dist/Tooltip-DJC7nrsk.cjs +4 -0
  95. package/dist/{Typography-DZ11k9cZ.js → Typography-BNt9mZKm.js} +13 -14
  96. package/dist/Typography-DOpE-TJz.cjs +1 -0
  97. package/dist/components/Alert/Alert.cjs.js +1 -1
  98. package/dist/components/Alert/Alert.es.js +3 -3
  99. package/dist/components/Alert/index.cjs.js +1 -1
  100. package/dist/components/Alert/index.es.js +1 -1
  101. package/dist/components/Button/Button.cjs.js +1 -1
  102. package/dist/components/Button/Button.es.js +2 -2
  103. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  104. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  105. package/dist/components/DatePicker/index.cjs.js +1 -1
  106. package/dist/components/DatePicker/index.es.js +1 -1
  107. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  108. package/dist/components/Dialog/Dialog.es.js +15 -15
  109. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  110. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  111. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  112. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  113. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  114. package/dist/components/FileList/FileIcon.es.js +1 -1
  115. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  116. package/dist/components/FileList/FileListItem.es.js +4 -4
  117. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  118. package/dist/components/FolderCard/FolderCard.d.ts +1 -0
  119. package/dist/components/FolderCard/FolderCard.es.js +26 -17
  120. package/dist/components/FolderCard/styles.cjs.js +1 -1
  121. package/dist/components/FolderCard/styles.d.ts +4 -0
  122. package/dist/components/FolderCard/styles.es.js +9 -5
  123. package/dist/components/Heading/Heading.cjs.js +1 -1
  124. package/dist/components/Heading/Heading.es.js +2 -2
  125. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  126. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  127. package/dist/components/Loader/Loader.cjs.js +1 -1
  128. package/dist/components/Loader/Loader.es.js +1 -1
  129. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  130. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  131. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  132. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  133. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  134. package/dist/components/ResourceCard/ResourceCard.d.ts +1 -0
  135. package/dist/components/ResourceCard/ResourceCard.es.js +21 -19
  136. package/dist/components/ResourceCard/style.cjs.js +1 -1
  137. package/dist/components/ResourceCard/style.es.js +49 -44
  138. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  139. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  140. package/dist/components/TreeView/TreeView.cjs.js +7 -7
  141. package/dist/components/TreeView/TreeView.es.js +323 -319
  142. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  143. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  144. package/dist/components/TreeView/style.cjs.js +1 -1
  145. package/dist/components/TreeView/style.es.js +24 -18
  146. package/dist/components/TreeView/types.d.ts +5 -2
  147. package/dist/components/TreeView/utils.cjs.js +1 -1
  148. package/dist/components/TreeView/utils.es.js +3 -3
  149. package/dist/components/index.cjs.js +1 -1
  150. package/dist/components/index.es.js +264 -266
  151. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  152. package/dist/components/stories/Alert.stories.es.js +1 -1
  153. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  154. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  155. package/dist/components/stories/Button.stories.cjs.js +1 -1
  156. package/dist/components/stories/Button.stories.es.js +1 -1
  157. package/dist/components/stories/Card.stories.cjs.js +1 -1
  158. package/dist/components/stories/Card.stories.es.js +2 -2
  159. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  160. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  161. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  162. package/dist/components/stories/Chip.stories.es.js +1 -1
  163. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  164. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  165. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  166. package/dist/components/stories/Dialog.stories.es.js +2 -2
  167. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  168. package/dist/components/stories/Divider.stories.es.js +1 -1
  169. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  170. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  171. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  172. package/dist/components/stories/Heading.stories.es.js +2 -2
  173. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  174. package/dist/components/stories/IconButton.stories.es.js +2 -2
  175. package/dist/components/stories/Link.stories.cjs.js +1 -1
  176. package/dist/components/stories/Link.stories.es.js +1 -1
  177. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  178. package/dist/components/stories/Menu.stories.es.js +2 -2
  179. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  180. package/dist/components/stories/Paper.stories.es.js +1 -1
  181. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  182. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  183. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  184. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  185. package/dist/components/stories/Select.stories.cjs.js +1 -1
  186. package/dist/components/stories/Select.stories.es.js +3 -3
  187. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  188. package/dist/components/stories/TabList.stories.es.js +1 -1
  189. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  190. package/dist/components/stories/TextField.stories.es.js +1 -1
  191. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  192. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  193. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  194. package/dist/components/stories/TreeView.stories.d.ts +2 -0
  195. package/dist/components/stories/TreeView.stories.es.js +517 -268
  196. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  197. package/dist/components/stories/Typography.stories.es.js +1 -1
  198. package/dist/{createSvgIcon-BFqOnlgU.js → createSvgIcon-CCutbgLb.js} +54 -55
  199. package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
  200. package/dist/dividerClasses-B_bu1fey.cjs +1 -0
  201. package/dist/{dividerClasses-BYkvalOn.js → dividerClasses-hlXEfEZK.js} +1 -1
  202. package/dist/{elementTypeAcceptingRef-1usJq_B8.js → elementTypeAcceptingRef-COpcDx5q.js} +1 -1
  203. package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
  204. package/dist/{extendSxProp-D_IkoDXB.js → extendSxProp-0G38SSpC.js} +1 -1
  205. package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
  206. package/dist/{getReactElementRef-DtLerx40.js → getReactElementRef-C6oFed6n.js} +1 -1
  207. package/dist/getReactElementRef-EDbO4rJt.cjs +1 -0
  208. package/dist/{generateUtilityClasses-CqzQXpT_.js → identifier-BJqC6EXa.js} +833 -865
  209. package/dist/identifier-gJdGmHeC.cjs +74 -0
  210. package/dist/{index-CFIk4hVM.js → index-BOAF-ZZq.js} +4 -4
  211. package/dist/index-Cfd-LNZn.cjs +1 -0
  212. package/dist/index-D14TzUgK.cjs +1 -0
  213. package/dist/{index-sDFEVHTg.js → index-DP697UN9.js} +1 -1
  214. package/dist/index-Dmu1HrwE.cjs +5 -0
  215. package/dist/{index-C7WfZsMe.js → index-gxOBDuBW.js} +2 -2
  216. package/dist/index.cjs.js +1 -1
  217. package/dist/index.es.js +264 -266
  218. package/dist/{listItemTextClasses-C0D3xQur.js → listItemTextClasses-DBxyCmso.js} +1 -1
  219. package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
  220. package/dist/{memoTheme-B0xVysYu.js → memoTheme-D_Qap2ZW.js} +1 -1
  221. package/dist/{memoTheme-WwIyYqBX.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
  222. package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
  223. package/dist/mergeSlotProps-BSFlgsYC.js +62 -0
  224. package/dist/refType-53jD7LEO.cjs +1 -0
  225. package/dist/{refType-BvSJNaoq.js → refType-DRBJ18fO.js} +1 -1
  226. package/dist/styled-C7OKoThH.cjs +1 -0
  227. package/dist/styled-DpPa0vDp.js +5 -0
  228. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  229. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  230. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  231. package/dist/useForkRef-u29GSuCu.js +27 -0
  232. package/dist/useSlot-DhC6EPU2.js +125 -0
  233. package/dist/useSlot-zJFQDOgm.cjs +1 -0
  234. package/dist/{useSlotProps-Ceyorp-u.js → useSlotProps-Bos9nSja.js} +2 -2
  235. package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
  236. package/dist/{useTheme-2JCMQS-E.js → useTheme-B1xvds8x.js} +1 -1
  237. package/dist/useTheme-BJZcQSBU.cjs +1 -0
  238. package/dist/useTheme-Dt-VOIyT.js +11 -0
  239. package/dist/useTheme-NQRIebh0.cjs +1 -0
  240. package/dist/useThemeProps-CxMYNgfp.js +17 -0
  241. package/dist/{useThemeProps-Cuazh32X.js → useThemeProps-DSVFwH3A.js} +4 -4
  242. package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
  243. package/dist/{useThemeProps-RdxbcMsR.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
  244. package/dist/utils-B2EQZFZP.cjs +1 -0
  245. package/dist/{utils-BVg32WSe.js → utils-qwVZGgXz.js} +1 -1
  246. package/dist/warning-C8W811fV.js +11 -0
  247. package/dist/warning-DMUNDgRg.cjs +2 -0
  248. package/package.json +10 -10
  249. package/dist/Alert-CvizDCvx.cjs +0 -1
  250. package/dist/Autocomplete-DjU6i3zL.cjs +0 -6
  251. package/dist/Backdrop-BM-OE2Q_.cjs +0 -1
  252. package/dist/Box-BmfpLwYG.cjs +0 -1
  253. package/dist/Button-BGWvL_UD.cjs +0 -1
  254. package/dist/CardContent-GHLuvxgm.cjs +0 -1
  255. package/dist/Checkbox-BZYoJieY.cjs +0 -1
  256. package/dist/Chip-Cu_SZxrx.cjs +0 -1
  257. package/dist/CircularProgress-CdS7-HOv.cjs +0 -28
  258. package/dist/CustomTreeItem-BIl2yiro.cjs +0 -4
  259. package/dist/DatePicker-tyDzcyzu.cjs +0 -14
  260. package/dist/DefaultPropsProvider-BTnRBr0O.cjs +0 -1
  261. package/dist/Dialog-DIHzs0ro.cjs +0 -1
  262. package/dist/DialogContent-B-9ga3Wv.cjs +0 -1
  263. package/dist/DialogTitle-B_UN_oL2.cjs +0 -1
  264. package/dist/Divider-iYLSpFUc.cjs +0 -1
  265. package/dist/FormLabel-Cp2OFw8d.cjs +0 -2
  266. package/dist/Grow-DXY5DOqR.cjs +0 -1
  267. package/dist/IconButton-BLZJne06.cjs +0 -2
  268. package/dist/InputAdornment-C0WI_oQg.cjs +0 -1
  269. package/dist/InputBase-B3KOyouT.cjs +0 -3
  270. package/dist/Link-lvpmE2yz.cjs +0 -1
  271. package/dist/List-PQXGlDbt.cjs +0 -1
  272. package/dist/ListItem-CWEvdMjN.cjs +0 -1
  273. package/dist/ListItemText-BhxrnTkb.cjs +0 -1
  274. package/dist/ListItemText-CADHegDF.js +0 -928
  275. package/dist/Menu-DBacrp-P.cjs +0 -7
  276. package/dist/MenuItem-DkcVAo3U.cjs +0 -1
  277. package/dist/Modal-kUvS-N46.cjs +0 -2
  278. package/dist/Paper-ByOgFIEE.cjs +0 -2
  279. package/dist/Popper-CsQqc5DE.cjs +0 -4
  280. package/dist/Portal-7MKUQzjh.js +0 -81
  281. package/dist/Portal-DhGy1jKe.cjs +0 -1
  282. package/dist/Radio-DG-k6cXx.cjs +0 -1
  283. package/dist/RadioGroup-Dd0mX-H2.cjs +0 -1
  284. package/dist/Select-b6liJFDI.cjs +0 -3
  285. package/dist/Stack-gtxG2YLo.cjs +0 -1
  286. package/dist/Switch-BlwDxL6O.cjs +0 -1
  287. package/dist/SwitchBase-DtKlxrES.cjs +0 -1
  288. package/dist/SwitchBase-QwOXoy8f.js +0 -262
  289. package/dist/Tab-Dx7V4E6B.cjs +0 -4
  290. package/dist/TextField-CB2n4aV8.cjs +0 -1
  291. package/dist/ToggleButtonGroup-D3bdznCl.cjs +0 -137
  292. package/dist/Tooltip-D0jvnXYu.cjs +0 -4
  293. package/dist/Typography-3CpuuLtj.cjs +0 -1
  294. package/dist/capitalize-B3tmp8MO.cjs +0 -1
  295. package/dist/capitalize-Bs7Xs33U.js +0 -9
  296. package/dist/createSvgIcon-2wwaxLPT.cjs +0 -1
  297. package/dist/dividerClasses-izm7KFVg.cjs +0 -1
  298. package/dist/elementTypeAcceptingRef-GoqLuvj1.cjs +0 -1
  299. package/dist/extendSxProp-Bv3E507G.cjs +0 -1
  300. package/dist/generateUtilityClasses-KugHyZhN.cjs +0 -75
  301. package/dist/getReactElementRef-D7IvykPI.cjs +0 -1
  302. package/dist/index-9hEUqvaJ.cjs +0 -1
  303. package/dist/index-BomeQRLD.cjs +0 -5
  304. package/dist/index-DS8G_wjP.cjs +0 -1
  305. package/dist/listItemTextClasses-CQXcckDA.cjs +0 -1
  306. package/dist/refType-D-n-tVSl.cjs +0 -1
  307. package/dist/resolveComponentProps-Byi_59AN.cjs +0 -1
  308. package/dist/resolveComponentProps-Ctw0-dUN.js +0 -80
  309. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  310. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  311. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  312. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  313. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  314. package/dist/useForkRef-C_4o__cU.js +0 -15
  315. package/dist/useSlot-CGbU9jGm.cjs +0 -1
  316. package/dist/useSlot-CqjfyGd9.js +0 -48
  317. package/dist/useSlotProps-DfO7r_4Y.cjs +0 -1
  318. package/dist/useTheme-B6wow4M9.cjs +0 -1
  319. package/dist/useTheme-DepbBZga.js +0 -11
  320. package/dist/useTheme-MahNaB8C.cjs +0 -1
  321. package/dist/useThemeProps-BqypsO1h.cjs +0 -1
  322. package/dist/useThemeProps-Drd5oJEF.js +0 -17
  323. package/dist/utils-CUU5fjzL.cjs +0 -1
@@ -1,43 +1,43 @@
1
- import * as k from "react";
2
- import { G as S, H as y, I as $, n as v, s as C, q as x, P as a } from "./generateUtilityClasses-CqzQXpT_.js";
3
- import { c as z } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
4
- import { S as O } from "./SwitchBase-QwOXoy8f.js";
5
- import { m as l } from "./memoTheme-B0xVysYu.js";
6
- import { jsxs as T, jsx as w } from "react/jsx-runtime";
7
- import { u as R, s as d, c as B } from "./DefaultPropsProvider-CXfMJdg8.js";
8
- import { c as r } from "./capitalize-Bs7Xs33U.js";
9
- import { r as j } from "./refType-BvSJNaoq.js";
10
- function M(t) {
11
- return y("MuiSwitch", t);
1
+ import * as P from "react";
2
+ import { F as R, G as j, H as M, K as n, n as S, s as N, q as D, P as e } from "./identifier-BJqC6EXa.js";
3
+ import { c as I } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
4
+ import { S as U } from "./SwitchBase-BHC3uchj.js";
5
+ import { m as d } from "./memoTheme-D_Qap2ZW.js";
6
+ import { u as y } from "./useSlot-DhC6EPU2.js";
7
+ import { jsx as v, jsxs as E } from "react/jsx-runtime";
8
+ import { u as F, s as u, c as q } from "./DefaultPropsProvider-Bg-6nX-u.js";
9
+ import { r as A } from "./refType-DRBJ18fO.js";
10
+ function V(t) {
11
+ return j("MuiSwitch", t);
12
12
  }
13
- const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium", "checked", "disabled", "input", "thumb", "track"]), N = (t) => {
13
+ const a = R("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium", "checked", "disabled", "input", "thumb", "track"]), X = (t) => {
14
14
  const {
15
- classes: e,
15
+ classes: o,
16
16
  edge: s,
17
- size: c,
18
- color: p,
19
- checked: u,
20
- disabled: g
21
- } = t, h = {
22
- root: ["root", s && `edge${r(s)}`, `size${r(c)}`],
23
- switchBase: ["switchBase", `color${r(p)}`, u && "checked", g && "disabled"],
17
+ size: p,
18
+ color: h,
19
+ checked: f,
20
+ disabled: b
21
+ } = t, g = {
22
+ root: ["root", s && `edge${n(s)}`, `size${n(p)}`],
23
+ switchBase: ["switchBase", `color${n(h)}`, f && "checked", b && "disabled"],
24
24
  thumb: ["thumb"],
25
25
  track: ["track"],
26
26
  input: ["input"]
27
- }, b = B(h, M, e);
27
+ }, w = q(g, V, o);
28
28
  return {
29
- ...e,
29
+ ...o,
30
30
  // forward the disabled and checked classes to the SwitchBase
31
- ...b
31
+ ...w
32
32
  };
33
- }, I = d("span", {
33
+ }, G = u("span", {
34
34
  name: "MuiSwitch",
35
35
  slot: "Root",
36
- overridesResolver: (t, e) => {
36
+ overridesResolver: (t, o) => {
37
37
  const {
38
38
  ownerState: s
39
39
  } = t;
40
- return [e.root, s.edge && e[`edge${r(s.edge)}`], e[`size${r(s.size)}`]];
40
+ return [o.root, s.edge && o[`edge${n(s.edge)}`], o[`size${n(s.size)}`]];
41
41
  }
42
42
  })({
43
43
  display: "inline-flex",
@@ -77,30 +77,30 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
77
77
  width: 40,
78
78
  height: 24,
79
79
  padding: 7,
80
- [`& .${o.thumb}`]: {
80
+ [`& .${a.thumb}`]: {
81
81
  width: 16,
82
82
  height: 16
83
83
  },
84
- [`& .${o.switchBase}`]: {
84
+ [`& .${a.switchBase}`]: {
85
85
  padding: 4,
86
- [`&.${o.checked}`]: {
86
+ [`&.${a.checked}`]: {
87
87
  transform: "translateX(16px)"
88
88
  }
89
89
  }
90
90
  }
91
91
  }]
92
- }), P = d(O, {
92
+ }), H = u(U, {
93
93
  name: "MuiSwitch",
94
94
  slot: "SwitchBase",
95
- overridesResolver: (t, e) => {
95
+ overridesResolver: (t, o) => {
96
96
  const {
97
97
  ownerState: s
98
98
  } = t;
99
- return [e.switchBase, {
100
- [`& .${o.input}`]: e.input
101
- }, s.color !== "default" && e[`color${r(s.color)}`]];
99
+ return [o.switchBase, {
100
+ [`& .${a.input}`]: o.input
101
+ }, s.color !== "default" && o[`color${n(s.color)}`]];
102
102
  }
103
- })(l(({
103
+ })(d(({
104
104
  theme: t
105
105
  }) => ({
106
106
  position: "absolute",
@@ -112,59 +112,59 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
112
112
  transition: t.transitions.create(["left", "transform"], {
113
113
  duration: t.transitions.duration.shortest
114
114
  }),
115
- [`&.${o.checked}`]: {
115
+ [`&.${a.checked}`]: {
116
116
  transform: "translateX(20px)"
117
117
  },
118
- [`&.${o.disabled}`]: {
118
+ [`&.${a.disabled}`]: {
119
119
  color: t.vars ? t.vars.palette.Switch.defaultDisabledColor : `${t.palette.mode === "light" ? t.palette.grey[100] : t.palette.grey[600]}`
120
120
  },
121
- [`&.${o.checked} + .${o.track}`]: {
121
+ [`&.${a.checked} + .${a.track}`]: {
122
122
  opacity: 0.5
123
123
  },
124
- [`&.${o.disabled} + .${o.track}`]: {
124
+ [`&.${a.disabled} + .${a.track}`]: {
125
125
  opacity: t.vars ? t.vars.opacity.switchTrackDisabled : `${t.palette.mode === "light" ? 0.12 : 0.2}`
126
126
  },
127
- [`& .${o.input}`]: {
127
+ [`& .${a.input}`]: {
128
128
  left: "-100%",
129
129
  width: "300%"
130
130
  }
131
- })), l(({
131
+ })), d(({
132
132
  theme: t
133
133
  }) => ({
134
134
  "&:hover": {
135
- backgroundColor: t.vars ? `rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})` : v(t.palette.action.active, t.palette.action.hoverOpacity),
135
+ backgroundColor: t.vars ? `rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})` : S(t.palette.action.active, t.palette.action.hoverOpacity),
136
136
  // Reset on touch devices, it doesn't add specificity
137
137
  "@media (hover: none)": {
138
138
  backgroundColor: "transparent"
139
139
  }
140
140
  },
141
- variants: [...Object.entries(t.palette).filter(z(["light"])).map(([e]) => ({
141
+ variants: [...Object.entries(t.palette).filter(I(["light"])).map(([o]) => ({
142
142
  props: {
143
- color: e
143
+ color: o
144
144
  },
145
145
  style: {
146
- [`&.${o.checked}`]: {
147
- color: (t.vars || t).palette[e].main,
146
+ [`&.${a.checked}`]: {
147
+ color: (t.vars || t).palette[o].main,
148
148
  "&:hover": {
149
- backgroundColor: t.vars ? `rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})` : v(t.palette[e].main, t.palette.action.hoverOpacity),
149
+ backgroundColor: t.vars ? `rgba(${t.vars.palette[o].mainChannel} / ${t.vars.palette.action.hoverOpacity})` : S(t.palette[o].main, t.palette.action.hoverOpacity),
150
150
  "@media (hover: none)": {
151
151
  backgroundColor: "transparent"
152
152
  }
153
153
  },
154
- [`&.${o.disabled}`]: {
155
- color: t.vars ? t.vars.palette.Switch[`${e}DisabledColor`] : `${t.palette.mode === "light" ? C(t.palette[e].main, 0.62) : x(t.palette[e].main, 0.55)}`
154
+ [`&.${a.disabled}`]: {
155
+ color: t.vars ? t.vars.palette.Switch[`${o}DisabledColor`] : `${t.palette.mode === "light" ? N(t.palette[o].main, 0.62) : D(t.palette[o].main, 0.55)}`
156
156
  }
157
157
  },
158
- [`&.${o.checked} + .${o.track}`]: {
159
- backgroundColor: (t.vars || t).palette[e].main
158
+ [`&.${a.checked} + .${a.track}`]: {
159
+ backgroundColor: (t.vars || t).palette[o].main
160
160
  }
161
161
  }
162
162
  }))]
163
- }))), D = d("span", {
163
+ }))), K = u("span", {
164
164
  name: "MuiSwitch",
165
165
  slot: "Track",
166
- overridesResolver: (t, e) => e.track
167
- })(l(({
166
+ overridesResolver: (t, o) => o.track
167
+ })(d(({
168
168
  theme: t
169
169
  }) => ({
170
170
  height: "100%",
@@ -176,11 +176,11 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
176
176
  }),
177
177
  backgroundColor: t.vars ? t.vars.palette.common.onBackground : `${t.palette.mode === "light" ? t.palette.common.black : t.palette.common.white}`,
178
178
  opacity: t.vars ? t.vars.opacity.switchTrack : `${t.palette.mode === "light" ? 0.38 : 0.3}`
179
- }))), U = d("span", {
179
+ }))), L = u("span", {
180
180
  name: "MuiSwitch",
181
181
  slot: "Thumb",
182
- overridesResolver: (t, e) => e.thumb
183
- })(l(({
182
+ overridesResolver: (t, o) => o.thumb
183
+ })(d(({
184
184
  theme: t
185
185
  }) => ({
186
186
  boxShadow: (t.vars || t).shadows[1],
@@ -188,48 +188,83 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
188
188
  width: 20,
189
189
  height: 20,
190
190
  borderRadius: "50%"
191
- }))), E = /* @__PURE__ */ k.forwardRef(function(e, s) {
192
- const c = R({
193
- props: e,
191
+ }))), _ = /* @__PURE__ */ P.forwardRef(function(o, s) {
192
+ const p = F({
193
+ props: o,
194
194
  name: "MuiSwitch"
195
195
  }), {
196
- className: p,
197
- color: u = "primary",
198
- edge: g = !1,
199
- size: h = "medium",
200
- sx: b,
201
- ...m
202
- } = c, i = {
203
- ...c,
204
- color: u,
205
- edge: g,
206
- size: h
207
- }, n = N(i), f = /* @__PURE__ */ w(U, {
208
- className: n.thumb,
196
+ className: h,
197
+ color: f = "primary",
198
+ edge: b = !1,
199
+ size: g = "medium",
200
+ sx: w,
201
+ slots: c = {},
202
+ slotProps: r = {},
203
+ ...$
204
+ } = p, i = {
205
+ ...p,
206
+ color: f,
207
+ edge: b,
208
+ size: g
209
+ }, l = X(i), m = {
210
+ slots: c,
211
+ slotProps: r
212
+ }, [T, C] = y("root", {
213
+ className: M(l.root, h),
214
+ elementType: G,
215
+ externalForwardedProps: m,
216
+ ownerState: i,
217
+ additionalProps: {
218
+ sx: w
219
+ }
220
+ }), [x, O] = y("thumb", {
221
+ className: l.thumb,
222
+ elementType: L,
223
+ externalForwardedProps: m,
224
+ ownerState: i
225
+ }), k = /* @__PURE__ */ v(x, {
226
+ ...O
227
+ }), [B, z] = y("track", {
228
+ className: l.track,
229
+ elementType: K,
230
+ externalForwardedProps: m,
209
231
  ownerState: i
210
232
  });
211
- return /* @__PURE__ */ T(I, {
212
- className: $(n.root, p),
213
- sx: b,
214
- ownerState: i,
215
- children: [/* @__PURE__ */ w(P, {
233
+ return /* @__PURE__ */ E(T, {
234
+ ...C,
235
+ children: [/* @__PURE__ */ v(H, {
216
236
  type: "checkbox",
217
- icon: f,
218
- checkedIcon: f,
237
+ icon: k,
238
+ checkedIcon: k,
219
239
  ref: s,
220
240
  ownerState: i,
221
- ...m,
241
+ ...$,
222
242
  classes: {
223
- ...n,
224
- root: n.switchBase
243
+ ...l,
244
+ root: l.switchBase
245
+ },
246
+ slots: {
247
+ ...c.switchBase && {
248
+ root: c.switchBase
249
+ },
250
+ ...c.input && {
251
+ input: c.input
252
+ }
253
+ },
254
+ slotProps: {
255
+ ...r.switchBase && {
256
+ root: typeof r.switchBase == "function" ? r.switchBase(i) : r.switchBase
257
+ },
258
+ ...r.input && {
259
+ input: typeof r.input == "function" ? r.input(i) : r.input
260
+ }
225
261
  }
226
- }), /* @__PURE__ */ w(D, {
227
- className: n.track,
228
- ownerState: i
262
+ }), /* @__PURE__ */ v(B, {
263
+ ...z
229
264
  })]
230
265
  });
231
266
  });
232
- process.env.NODE_ENV !== "production" && (E.propTypes = {
267
+ process.env.NODE_ENV !== "production" && (_.propTypes = {
233
268
  // ┌────────────────────────────── Warning ──────────────────────────────┐
234
269
  // │ These PropTypes are generated from the TypeScript type definitions. │
235
270
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -237,39 +272,39 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
237
272
  /**
238
273
  * If `true`, the component is checked.
239
274
  */
240
- checked: a.bool,
275
+ checked: e.bool,
241
276
  /**
242
277
  * The icon to display when the component is checked.
243
278
  */
244
- checkedIcon: a.node,
279
+ checkedIcon: e.node,
245
280
  /**
246
281
  * Override or extend the styles applied to the component.
247
282
  */
248
- classes: a.object,
283
+ classes: e.object,
249
284
  /**
250
285
  * @ignore
251
286
  */
252
- className: a.string,
287
+ className: e.string,
253
288
  /**
254
289
  * The color of the component.
255
290
  * It supports both default and custom theme colors, which can be added as shown in the
256
291
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
257
292
  * @default 'primary'
258
293
  */
259
- color: a.oneOfType([a.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), a.string]),
294
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
260
295
  /**
261
296
  * The default checked state. Use when the component is not controlled.
262
297
  */
263
- defaultChecked: a.bool,
298
+ defaultChecked: e.bool,
264
299
  /**
265
300
  * If `true`, the component is disabled.
266
301
  */
267
- disabled: a.bool,
302
+ disabled: e.bool,
268
303
  /**
269
304
  * If `true`, the ripple effect is disabled.
270
305
  * @default false
271
306
  */
272
- disableRipple: a.bool,
307
+ disableRipple: e.bool,
273
308
  /**
274
309
  * If given, uses a negative margin to counteract the padding on one
275
310
  * side (this is often helpful for aligning the left or right
@@ -277,23 +312,25 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
277
312
  * size and shape).
278
313
  * @default false
279
314
  */
280
- edge: a.oneOf(["end", "start", !1]),
315
+ edge: e.oneOf(["end", "start", !1]),
281
316
  /**
282
317
  * The icon to display when the component is unchecked.
283
318
  */
284
- icon: a.node,
319
+ icon: e.node,
285
320
  /**
286
321
  * The id of the `input` element.
287
322
  */
288
- id: a.string,
323
+ id: e.string,
289
324
  /**
290
325
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
326
+ * @deprecated Use `slotProps.input` 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.
291
327
  */
292
- inputProps: a.object,
328
+ inputProps: e.object,
293
329
  /**
294
330
  * Pass a ref to the `input` element.
331
+ * @deprecated Use `slotProps.input.ref` 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.
295
332
  */
296
- inputRef: j,
333
+ inputRef: A,
297
334
  /**
298
335
  * Callback fired when the state is changed.
299
336
  *
@@ -301,30 +338,52 @@ process.env.NODE_ENV !== "production" && (E.propTypes = {
301
338
  * You can pull out the new value by accessing `event.target.value` (string).
302
339
  * You can pull out the new checked state by accessing `event.target.checked` (boolean).
303
340
  */
304
- onChange: a.func,
341
+ onChange: e.func,
305
342
  /**
306
343
  * If `true`, the `input` element is required.
307
344
  * @default false
308
345
  */
309
- required: a.bool,
346
+ required: e.bool,
310
347
  /**
311
348
  * The size of the component.
312
349
  * `small` is equivalent to the dense switch styling.
313
350
  * @default 'medium'
314
351
  */
315
- size: a.oneOfType([a.oneOf(["medium", "small"]), a.string]),
352
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
353
+ /**
354
+ * The props used for each slot inside.
355
+ * @default {}
356
+ */
357
+ slotProps: e.shape({
358
+ input: e.oneOfType([e.func, e.object]),
359
+ root: e.oneOfType([e.func, e.object]),
360
+ switchBase: e.oneOfType([e.func, e.object]),
361
+ thumb: e.oneOfType([e.func, e.object]),
362
+ track: e.oneOfType([e.func, e.object])
363
+ }),
364
+ /**
365
+ * The components used for each slot inside.
366
+ * @default {}
367
+ */
368
+ slots: e.shape({
369
+ input: e.elementType,
370
+ root: e.elementType,
371
+ switchBase: e.elementType,
372
+ thumb: e.elementType,
373
+ track: e.elementType
374
+ }),
316
375
  /**
317
376
  * The system prop that allows defining system overrides as well as additional CSS styles.
318
377
  */
319
- sx: a.oneOfType([a.arrayOf(a.oneOfType([a.func, a.object, a.bool])), a.func, a.object]),
378
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
320
379
  /**
321
380
  * The value of the component. The DOM API casts this to a string.
322
381
  * The browser uses "on" as the default value.
323
382
  */
324
- value: a.any
383
+ value: e.any
325
384
  });
326
385
  export {
327
- E as S,
328
- M as g,
329
- o as s
386
+ _ as S,
387
+ V as g,
388
+ a as s
330
389
  };