@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740589431

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 (276) hide show
  1. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-BctCVgLy.js} +79 -82
  2. package/dist/Backdrop-DWp3AktL.cjs +1 -0
  3. package/dist/{Box-mP2Th61z.cjs → Box-DYA49L7w.cjs} +1 -1
  4. package/dist/{Box-Byz2BwGf.js → Box-DgqaLb7j.js} +8 -8
  5. package/dist/Button-B7kOjNW1.js +696 -0
  6. package/dist/Button-UmeKHfcL.cjs +1 -0
  7. package/dist/ButtonBase-D6tfI-8D.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-IZ_QjbpE.js} +334 -334
  9. package/dist/CardContent-5bW4A4d2.cjs +1 -0
  10. package/dist/CardContent-F4-KcZH8.js +226 -0
  11. package/dist/{Checkbox-DYrDbdy1.cjs → Checkbox-DQgPXaym.cjs} +1 -1
  12. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-qUSjau0g.js} +26 -26
  13. package/dist/Chip-BTnuWGEU.cjs +1 -0
  14. package/dist/Chip-OpRIs-sL.js +522 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CQxzJquv.js} +11 -11
  16. package/dist/{CircularProgress-BByrCLjv.cjs → CircularProgress-cPXhiRlM.cjs} +4 -4
  17. package/dist/CloseRounded-BMEGLs8y.js +8 -0
  18. package/dist/CloseRounded-BRXBizmR.cjs +1 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-C6MCYjpp.js} +3113 -3600
  20. package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
  21. package/dist/DefaultPropsProvider-Cqcb4sws.js +303 -0
  22. package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
  23. package/dist/Dialog-B1wnk5BT.cjs +1 -0
  24. package/dist/Dialog-CKS7yjT5.js +478 -0
  25. package/dist/{DialogContent-uc65XOEU.js → DialogContent-BzPaz5G8.js} +13 -13
  26. package/dist/{DialogContent-Dj_OjLZ6.cjs → DialogContent-DcZz4rBc.cjs} +1 -1
  27. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-D3E_lDHD.js} +30 -30
  28. package/dist/{DialogTitle-BboPDaoB.cjs → DialogTitle-mr9xn4JZ.cjs} +1 -1
  29. package/dist/{Divider-KO-E6nU8.js → Divider-D-pZeQTm.js} +8 -8
  30. package/dist/{Divider-CcrM3lNn.cjs → Divider-D3hPb7s4.cjs} +1 -1
  31. package/dist/{FormLabel-CfR4bb21.js → FormLabel-3-CC-ZGw.js} +131 -133
  32. package/dist/FormLabel-BV7-a0i5.cjs +2 -0
  33. package/dist/{Grow-CQVPAYvp.js → Grow-DKgYCxiY.js} +46 -43
  34. package/dist/Grow-Z3KzFaK5.cjs +1 -0
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-CCNUMz2l.js} +132 -64
  36. package/dist/IconButton-CVOPR4EM.cjs +2 -0
  37. package/dist/{InputAdornment-Cq0WhPxF.cjs → InputAdornment-CwFEJSXv.cjs} +1 -1
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-DL8XIM8r.js} +15 -14
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-By7jMrFP.js} +221 -215
  40. package/dist/InputBase-Cejvjv1E.cjs +3 -0
  41. package/dist/Link-2ncpUcIp.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-C_GPIs0q.js} +46 -46
  43. package/dist/{Menu-C7tKmcAh.js → Menu-BunOW0ot.js} +72 -73
  44. package/dist/Menu-Cngt8Va9.cjs +7 -0
  45. package/dist/{MenuItem-BZ_EVaBq.cjs → MenuItem-Bha8aBMr.cjs} +1 -1
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-Cu3FTLl8.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-DTJd7JJ6.js} +99 -98
  48. package/dist/Modal-u82Ss4h_.cjs +2 -0
  49. package/dist/{Paper-BG4Vk_Um.js → Paper-BiZq6EF2.js} +8 -8
  50. package/dist/{Paper-Cr56xkCr.cjs → Paper-EvOTlB_Q.cjs} +2 -2
  51. package/dist/{Popper-YT5WAMV-.cjs → Popper-BVYscbsI.cjs} +3 -3
  52. package/dist/{Popper-DFZ_gRev.js → Popper-DjwR55WH.js} +241 -243
  53. package/dist/{Portal-JEwcozmp.js → Portal-BByeByPq.js} +34 -39
  54. package/dist/Portal-DUHpWdY1.cjs +1 -0
  55. package/dist/Radio-CSl8GQNk.cjs +1 -0
  56. package/dist/Radio-DSRS-tjj.js +568 -0
  57. package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
  58. package/dist/RadioGroup-cPdOWdYD.js +190 -0
  59. package/dist/{Select-DmssuG5M.js → Select-CZnKFG3o.js} +419 -401
  60. package/dist/Select-DZAzJA0y.cjs +3 -0
  61. package/dist/Stack-B82ckLGm.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-hbAJHQhq.js} +29 -29
  63. package/dist/Switch-B9uT9-d0.js +330 -0
  64. package/dist/Switch-DWKHe4z_.cjs +1 -0
  65. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-CDkmnGAP.js} +29 -29
  66. package/dist/{SwitchBase-DjIY_KWB.cjs → SwitchBase-CnA6TA2P.cjs} +1 -1
  67. package/dist/Tabs-AyJ_tKtV.cjs +4 -0
  68. package/dist/{Tabs-CYbeTnJk.js → Tabs-BYfDlOR9.js} +336 -337
  69. package/dist/{TextField-Cri5Gxa7.js → TextField-BKfXjPdH.js} +29 -27
  70. package/dist/TextField-CwcPgdgD.cjs +1 -0
  71. package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
  72. package/dist/ToggleButtonGroup-sc2omtRp.js +10473 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-B1NGvrJP.js} +14 -14
  74. package/dist/{Tooltip-DhDtvULK.cjs → Tooltip-oNmnF7Bc.cjs} +3 -3
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DfRMDngd.cjs → Typography-DPij13XT.cjs} +1 -1
  78. package/dist/{Typography-DBwTr_ix.js → Typography-SIQ6eleU.js} +9 -9
  79. package/dist/{capitalize-CkF8kU4n.js → capitalize-3KLkrEtk.js} +1 -1
  80. package/dist/{capitalize-B3GG7Wn6.cjs → capitalize-CEByPz9F.cjs} +1 -1
  81. package/dist/components/Alert/Alert.es.js +13 -4
  82. package/dist/components/Button/Button.cjs.js +1 -1
  83. package/dist/components/Button/Button.d.ts +1 -2
  84. package/dist/components/Button/Button.es.js +12 -325
  85. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  86. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  87. package/dist/components/DatePicker/index.cjs.js +1 -1
  88. package/dist/components/DatePicker/index.es.js +1 -1
  89. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  90. package/dist/components/Dialog/Dialog.es.js +12 -14
  91. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  92. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  93. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  94. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  95. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  96. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  97. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  98. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  99. package/dist/components/FileList/FileIcon.d.ts +3 -0
  100. package/dist/components/FileList/FileIcon.es.js +56 -0
  101. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  102. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  103. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  104. package/dist/components/FileList/FileList.cjs.js +1 -1
  105. package/dist/components/FileList/FileList.d.ts +5 -3
  106. package/dist/components/FileList/FileList.es.js +22 -15
  107. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  108. package/dist/components/FileList/FileListItem.d.ts +9 -5
  109. package/dist/components/FileList/FileListItem.es.js +118 -24
  110. package/dist/components/FileList/utils.cjs.js +1 -0
  111. package/dist/components/FileList/utils.d.ts +2 -0
  112. package/dist/components/FileList/utils.es.js +13 -0
  113. package/dist/components/Heading/Heading.cjs.js +1 -1
  114. package/dist/components/Heading/Heading.es.js +2 -2
  115. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  116. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  117. package/dist/components/Loader/Loader.cjs.js +1 -1
  118. package/dist/components/Loader/Loader.d.ts +1 -2
  119. package/dist/components/Loader/Loader.es.js +1 -1
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  121. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  122. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  123. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  124. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  125. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  126. package/dist/components/QueryError/QueryError.d.ts +2 -2
  127. package/dist/components/QueryError/QueryError.es.js +14 -14
  128. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  129. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  130. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  131. package/dist/components/ResourceCard/index.cjs.js +1 -0
  132. package/dist/components/ResourceCard/index.d.ts +2 -0
  133. package/dist/components/ResourceCard/index.es.js +4 -0
  134. package/dist/components/ResourceCard/style.cjs.js +1 -0
  135. package/dist/components/ResourceCard/style.es.js +125 -0
  136. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  137. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  138. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  139. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  140. package/dist/components/TextInput/TextInput.es.js +1 -1
  141. package/dist/components/index.cjs.js +1 -1
  142. package/dist/components/index.d.ts +35 -0
  143. package/dist/components/index.es.js +348 -294
  144. package/dist/components/stories/Button.stories.cjs.js +1 -1
  145. package/dist/components/stories/Button.stories.es.js +1 -1
  146. package/dist/components/stories/Card.stories.cjs.js +1 -1
  147. package/dist/components/stories/Card.stories.es.js +17 -168
  148. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  149. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  150. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  151. package/dist/components/stories/Chip.stories.d.ts +10 -0
  152. package/dist/components/stories/Chip.stories.es.js +77 -0
  153. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  154. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  155. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  156. package/dist/components/stories/Dialog.stories.es.js +2 -2
  157. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  158. package/dist/components/stories/Divider.stories.es.js +5 -5
  159. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  160. package/dist/components/stories/FileList.stories.es.js +144 -20
  161. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  162. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  163. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  164. package/dist/components/stories/Heading.stories.es.js +2 -2
  165. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  166. package/dist/components/stories/IconButton.stories.es.js +2 -2
  167. package/dist/components/stories/Link.stories.cjs.js +1 -1
  168. package/dist/components/stories/Link.stories.es.js +1 -1
  169. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  170. package/dist/components/stories/Menu.stories.es.js +16 -16
  171. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  172. package/dist/components/stories/Paper.stories.es.js +1 -1
  173. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  174. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  175. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  176. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  177. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  178. package/dist/components/stories/Select.stories.cjs.js +1 -1
  179. package/dist/components/stories/Select.stories.es.js +3 -3
  180. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  181. package/dist/components/stories/TabList.stories.es.js +14 -14
  182. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  183. package/dist/components/stories/TextField.stories.es.js +3 -3
  184. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  185. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  186. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  187. package/dist/components/stories/Typography.stories.es.js +1 -1
  188. package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
  189. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-K2ZAdASa.js} +57 -55
  190. package/dist/{dividerClasses-CCAY3Pnr.cjs → dividerClasses-Dq1bCO_s.cjs} +1 -1
  191. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-afsB3Yy1.js} +3 -3
  192. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
  193. package/dist/{elementTypeAcceptingRef-DZsNbuLU.cjs → elementTypeAcceptingRef-BjgxF5Bq.cjs} +1 -1
  194. package/dist/{extendSxProp-apyK-EBz.cjs → extendSxProp-D-oLUmkR.cjs} +1 -1
  195. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-dlShX1xL.js} +3 -3
  196. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  197. package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
  198. package/dist/generateUtilityClasses-DotvgSDH.js +3297 -0
  199. package/dist/hooks/lazySvgImport.d.ts +1 -1
  200. package/dist/{index-CwvpOCso.js → index-B1u7G33_.js} +29 -29
  201. package/dist/{index-ChM1Ett8.cjs → index-CVFzneYe.cjs} +1 -1
  202. package/dist/{index-BCnPLuqJ.js → index-DTTmpNYg.js} +22 -22
  203. package/dist/index-T-RSwkXB.cjs +1 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-CqmIydD-.js} +1 -1
  207. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
  208. package/dist/{refType-CoaxQOPt.cjs → refType-BkobP3bK.cjs} +1 -1
  209. package/dist/{refType-DKYKROQk.js → refType-C210ipRY.js} +1 -1
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-CPmhKPdH.js} +7 -7
  211. package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CC2AaOjN.cjs +1 -0
  215. package/dist/useSlot-GZu0V5wJ.js +48 -0
  216. package/dist/{useSlotProps-B31YQlzb.js → useSlotProps-C9tsxDNg.js} +11 -11
  217. package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
  218. package/dist/{useTheme-Dukx-__T.cjs → useTheme-7RGQRN-h.cjs} +1 -1
  219. package/dist/useTheme-BA7tMglY.js +11 -0
  220. package/dist/{useTheme-Cy5kyKJF.cjs → useTheme-CIf2b2wK.cjs} +1 -1
  221. package/dist/{useTheme-_xyy-wul.js → useTheme-tdgDVH1p.js} +1 -1
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
  223. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BQlPXzo3.js} +2 -2
  224. package/dist/useThemeProps-BTfGtNci.js +17 -0
  225. package/dist/useThemeProps-DxBEHys5.cjs +1 -0
  226. package/dist/utils-CFI_-FMV.cjs +1 -0
  227. package/dist/{utils-C6c4fj7D.js → utils-CXhh35wP.js} +41 -41
  228. package/package.json +9 -9
  229. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  230. package/dist/Button-BH9MUvmz.cjs +0 -1
  231. package/dist/Button-BnNYfQ3E.js +0 -484
  232. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  233. package/dist/Card-AJG0TUOx.js +0 -74
  234. package/dist/Card-NqCXQteq.cjs +0 -1
  235. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  236. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  237. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  238. package/dist/Delete-BkZN7Xu5.js +0 -8
  239. package/dist/Delete-D1EiKoL5.cjs +0 -1
  240. package/dist/Dialog-D_lS4J_M.js +0 -415
  241. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  242. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  243. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  244. package/dist/FormGroup-CbczEc6e.js +0 -95
  245. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  246. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  247. package/dist/Grow-CUBJs6WD.cjs +0 -1
  248. package/dist/IconButton-CJfzspZK.cjs +0 -2
  249. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  250. package/dist/Link-CWczkFp0.cjs +0 -1
  251. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  252. package/dist/Modal-DImrEpYJ.cjs +0 -2
  253. package/dist/Portal-DF0RKOcD.cjs +0 -1
  254. package/dist/Radio-CVAEGXKi.cjs +0 -1
  255. package/dist/Radio-DGhot3Cd.js +0 -313
  256. package/dist/Select-CwAWNiiv.cjs +0 -3
  257. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  258. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  259. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  260. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  261. package/dist/TextField-BI9KVqjC.cjs +0 -1
  262. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  263. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  264. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  265. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  266. package/dist/index-Aa73Kpym.cjs +0 -1
  267. package/dist/index-Cw0GDedk.cjs +0 -17
  268. package/dist/index-DXD5J5Eu.js +0 -186
  269. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  270. package/dist/useSlot-BTpHG6jf.js +0 -50
  271. package/dist/useSlot-CByalpSD.cjs +0 -1
  272. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  273. package/dist/useTheme-DyaNKf4e.js +0 -11
  274. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  275. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  276. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,9 +1,9 @@
1
1
  import * as A from "react";
2
- import { G as D, P as r, n as T } from "./generateUtilityClasses-Bssl7BA_.js";
3
- import { m as b } from "./memoTheme-D7Fyh_3C.js";
4
- import { g as R } from "./dividerClasses-nh2-hkQB.js";
2
+ import { G as D, n as T, P as r } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { m as b } from "./memoTheme-CqmIydD-.js";
4
+ import { g as R } from "./dividerClasses-afsB3Yy1.js";
5
5
  import { jsx as v } from "react/jsx-runtime";
6
- import { s as u, u as S, c as C } from "./DefaultPropsProvider-CvJPQJmL.js";
6
+ import { u as S, s as m, c as C } from "./DefaultPropsProvider-Cqcb4sws.js";
7
7
  const L = (e) => {
8
8
  const {
9
9
  absolute: t,
@@ -19,7 +19,7 @@ const L = (e) => {
19
19
  root: ["root", t && "absolute", n, l && "light", o === "vertical" && "vertical", p && "flexItem", i && "withChildren", i && o === "vertical" && "withChildrenVertical", a === "right" && o !== "vertical" && "textAlignRight", a === "left" && o !== "vertical" && "textAlignLeft"],
20
20
  wrapper: ["wrapper", o === "vertical" && "wrapperVertical"]
21
21
  }, R, s);
22
- }, O = u("div", {
22
+ }, O = m("div", {
23
23
  name: "MuiDivider",
24
24
  slot: "Root",
25
25
  overridesResolver: (e, t) => {
@@ -160,7 +160,7 @@ const L = (e) => {
160
160
  }
161
161
  }
162
162
  }]
163
- }))), W = u("span", {
163
+ }))), W = m("span", {
164
164
  name: "MuiDivider",
165
165
  slot: "Wrapper",
166
166
  overridesResolver: (e, t) => {
@@ -196,7 +196,7 @@ const L = (e) => {
196
196
  orientation: a = "horizontal",
197
197
  component: n = l || a === "vertical" ? "div" : "hr",
198
198
  flexItem: g = !1,
199
- light: m = !1,
199
+ light: u = !1,
200
200
  role: c = n !== "hr" ? "separator" : void 0,
201
201
  textAlign: x = "center",
202
202
  variant: w = "fullWidth",
@@ -206,7 +206,7 @@ const L = (e) => {
206
206
  absolute: p,
207
207
  component: n,
208
208
  flexItem: g,
209
- light: m,
209
+ light: u,
210
210
  orientation: a,
211
211
  role: c,
212
212
  textAlign: x,
@@ -1 +1 @@
1
- "use strict";const P=require("react"),i=require("./generateUtilityClasses-B_H9HEmg.cjs"),y=require("./memoTheme-Bdg0Y_2O.cjs"),w=require("./dividerClasses-CCAY3Pnr.cjs"),u=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-3KMGupjb.cjs");function D(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const O=D(P),R=t=>{const{absolute:e,children:r,classes:o,flexItem:d,light:s,orientation:n,textAlign:a,variant:l}=t,f={root:["root",e&&"absolute",l,s&&"light",n==="vertical"&&"vertical",d&&"flexItem",r&&"withChildren",r&&n==="vertical"&&"withChildrenVertical",a==="right"&&n!=="vertical"&&"textAlignRight",a==="left"&&n!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",n==="vertical"&&"wrapperVertical"]};return c.composeClasses(f,w.getDividerUtilityClass,o)},S=c.styled("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,r.orientation==="vertical"&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&r.orientation==="vertical"&&e.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&e.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&e.textAlignLeft]}})(y.memoTheme(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:i.alpha(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),A=c.styled("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.wrapper,r.orientation==="vertical"&&e.wrapperVertical]}})(y.memoTheme(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),p=O.forwardRef(function(e,r){const o=c.useDefaultProps({props:e,name:"MuiDivider"}),{absolute:d=!1,children:s,className:n,orientation:a="horizontal",component:l=s||a==="vertical"?"div":"hr",flexItem:f=!1,light:b=!1,role:g=l!=="hr"?"separator":void 0,textAlign:T="center",variant:m="fullWidth",...x}=o,h={...o,absolute:d,component:l,flexItem:f,light:b,orientation:a,role:g,textAlign:T,variant:m},v=R(h);return u.jsx(S,{as:l,className:i.clsx(v.root,n),role:g,ref:r,ownerState:h,"aria-orientation":g==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...x,children:s?u.jsx(A,{className:v.wrapper,ownerState:h,children:s}):null})});p&&(p.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(p.propTypes={absolute:i.PropTypes.bool,children:i.PropTypes.node,classes:i.PropTypes.object,className:i.PropTypes.string,component:i.PropTypes.elementType,flexItem:i.PropTypes.bool,light:i.PropTypes.bool,orientation:i.PropTypes.oneOf(["horizontal","vertical"]),role:i.PropTypes.string,sx:i.PropTypes.oneOfType([i.PropTypes.arrayOf(i.PropTypes.oneOfType([i.PropTypes.func,i.PropTypes.object,i.PropTypes.bool])),i.PropTypes.func,i.PropTypes.object]),textAlign:i.PropTypes.oneOf(["center","left","right"]),variant:i.PropTypes.oneOfType([i.PropTypes.oneOf(["fullWidth","inset","middle"]),i.PropTypes.string])});exports.Divider=p;
1
+ "use strict";const P=require("react"),i=require("./generateUtilityClasses-De8NU9_E.cjs"),y=require("./memoTheme-DrjvJtTP.cjs"),w=require("./dividerClasses-Dq1bCO_s.cjs"),u=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-wpBXjN8r.cjs");function D(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const O=D(P),R=t=>{const{absolute:e,children:r,classes:o,flexItem:d,light:s,orientation:n,textAlign:a,variant:l}=t,f={root:["root",e&&"absolute",l,s&&"light",n==="vertical"&&"vertical",d&&"flexItem",r&&"withChildren",r&&n==="vertical"&&"withChildrenVertical",a==="right"&&n!=="vertical"&&"textAlignRight",a==="left"&&n!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",n==="vertical"&&"wrapperVertical"]};return c.composeClasses(f,w.getDividerUtilityClass,o)},S=c.styled("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,r.orientation==="vertical"&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&r.orientation==="vertical"&&e.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&e.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&e.textAlignLeft]}})(y.memoTheme(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:i.alpha(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),A=c.styled("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.wrapper,r.orientation==="vertical"&&e.wrapperVertical]}})(y.memoTheme(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),p=O.forwardRef(function(e,r){const o=c.useDefaultProps({props:e,name:"MuiDivider"}),{absolute:d=!1,children:s,className:n,orientation:a="horizontal",component:l=s||a==="vertical"?"div":"hr",flexItem:f=!1,light:b=!1,role:g=l!=="hr"?"separator":void 0,textAlign:T="center",variant:m="fullWidth",...x}=o,v={...o,absolute:d,component:l,flexItem:f,light:b,orientation:a,role:g,textAlign:T,variant:m},h=R(v);return u.jsx(S,{as:l,className:i.clsx(h.root,n),role:g,ref:r,ownerState:v,"aria-orientation":g==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...x,children:s?u.jsx(A,{className:h.wrapper,ownerState:v,children:s}):null})});p&&(p.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(p.propTypes={absolute:i.PropTypes.bool,children:i.PropTypes.node,classes:i.PropTypes.object,className:i.PropTypes.string,component:i.PropTypes.elementType,flexItem:i.PropTypes.bool,light:i.PropTypes.bool,orientation:i.PropTypes.oneOf(["horizontal","vertical"]),role:i.PropTypes.string,sx:i.PropTypes.oneOfType([i.PropTypes.arrayOf(i.PropTypes.oneOfType([i.PropTypes.func,i.PropTypes.object,i.PropTypes.bool])),i.PropTypes.func,i.PropTypes.object]),textAlign:i.PropTypes.oneOf(["center","left","right"]),variant:i.PropTypes.oneOfType([i.PropTypes.oneOf(["fullWidth","inset","middle"]),i.PropTypes.string])});exports.Divider=p;
@@ -1,44 +1,43 @@
1
- import * as i from "react";
2
- import { H as A, I as D, G as P, P as e } from "./generateUtilityClasses-Bssl7BA_.js";
3
- import { a as J, i as k } from "./utils-DWqc1kRF.js";
4
- import { F as K, u as Q } from "./useFormControl-CatNKXAi.js";
5
- import { jsx as I, jsxs as U } from "react/jsx-runtime";
6
- import { s as E, u as B, c as V } from "./DefaultPropsProvider-CvJPQJmL.js";
7
- import { c as L } from "./capitalize-CkF8kU4n.js";
8
- import { f as X } from "./formControlState-vgaj2ksH.js";
9
- import { m as _ } from "./memoTheme-D7Fyh_3C.js";
10
- import { c as Y } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
1
+ import * as l from "react";
2
+ import { H as P, I as B, G as V, P as e } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { a as Q, i as U } from "./utils-DWqc1kRF.js";
4
+ import { F as X, u as Y } from "./useFormControl-CatNKXAi.js";
5
+ import { jsx as A, jsxs as D } from "react/jsx-runtime";
6
+ import { u as _, s as w, c as z } from "./DefaultPropsProvider-Cqcb4sws.js";
7
+ import { c as E } from "./capitalize-3KLkrEtk.js";
8
+ import { f as Z } from "./formControlState-vgaj2ksH.js";
9
+ import { m as H } from "./memoTheme-CqmIydD-.js";
10
+ import { c as ee } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
11
11
  function x(o, r) {
12
- var n, t, s;
13
- return /* @__PURE__ */ i.isValidElement(o) && r.indexOf(
12
+ var s, n, t;
13
+ return /* @__PURE__ */ l.isValidElement(o) && r.indexOf(
14
14
  // For server components `muiName` is avaialble in element.type._payload.value.muiName
15
15
  // relevant info - https://github.com/facebook/react/blob/2807d781a08db8e9873687fccc25c0f12b4fb3d4/packages/react/src/ReactLazy.js#L45
16
16
  // eslint-disable-next-line no-underscore-dangle
17
- o.type.muiName ?? ((s = (t = (n = o.type) == null ? void 0 : n._payload) == null ? void 0 : t.value) == null ? void 0 : s.muiName)
17
+ o.type.muiName ?? ((t = (n = (s = o.type) == null ? void 0 : s._payload) == null ? void 0 : n.value) == null ? void 0 : t.muiName)
18
18
  ) !== -1;
19
19
  }
20
- function Z(o) {
21
- return A("MuiFormControl", o);
20
+ function oe(o) {
21
+ return B("MuiFormControl", o);
22
22
  }
23
- const ge = D("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]), ee = (o) => {
23
+ const ve = P("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]), re = (o) => {
24
24
  const {
25
25
  classes: r,
26
- margin: n,
27
- fullWidth: t
28
- } = o, s = {
29
- root: ["root", n !== "none" && `margin${L(n)}`, t && "fullWidth"]
26
+ margin: s,
27
+ fullWidth: n
28
+ } = o, t = {
29
+ root: ["root", s !== "none" && `margin${E(s)}`, n && "fullWidth"]
30
30
  };
31
- return V(s, Z, r);
32
- }, oe = E("div", {
31
+ return z(t, oe, r);
32
+ }, se = w("div", {
33
33
  name: "MuiFormControl",
34
34
  slot: "Root",
35
- overridesResolver: ({
36
- ownerState: o
37
- }, r) => ({
38
- ...r.root,
39
- ...r[`margin${L(o.margin)}`],
40
- ...o.fullWidth && r.fullWidth
41
- })
35
+ overridesResolver: (o, r) => {
36
+ const {
37
+ ownerState: s
38
+ } = o;
39
+ return [r.root, r[`margin${E(s.margin)}`], s.fullWidth && r.fullWidth];
40
+ }
42
41
  })({
43
42
  display: "inline-flex",
44
43
  flexDirection: "column",
@@ -74,99 +73,99 @@ const ge = D("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDen
74
73
  width: "100%"
75
74
  }
76
75
  }]
77
- }), re = /* @__PURE__ */ i.forwardRef(function(r, n) {
78
- const t = B({
76
+ }), te = /* @__PURE__ */ l.forwardRef(function(r, s) {
77
+ const n = _({
79
78
  props: r,
80
79
  name: "MuiFormControl"
81
80
  }), {
82
- children: s,
81
+ children: t,
83
82
  className: f,
84
83
  color: p = "primary",
85
- component: c = "div",
86
- disabled: a = !1,
84
+ component: d = "div",
85
+ disabled: i = !1,
87
86
  error: y = !1,
88
- focused: O,
87
+ focused: S,
89
88
  fullWidth: g = !1,
90
89
  hiddenLabel: F = !1,
91
- margin: h = "none",
90
+ margin: O = "none",
92
91
  required: m = !1,
93
- size: l = "medium",
92
+ size: a = "medium",
94
93
  variant: u = "outlined",
95
94
  ...v
96
- } = t, M = {
97
- ...t,
95
+ } = n, L = {
96
+ ...n,
98
97
  color: p,
99
- component: c,
100
- disabled: a,
98
+ component: d,
99
+ disabled: i,
101
100
  error: y,
102
101
  fullWidth: g,
103
102
  hiddenLabel: F,
104
- margin: h,
103
+ margin: O,
105
104
  required: m,
106
- size: l,
105
+ size: a,
107
106
  variant: u
108
- }, z = ee(M), [q, H] = i.useState(() => {
107
+ }, G = re(L), [M, J] = l.useState(() => {
109
108
  let b = !1;
110
- return s && i.Children.forEach(s, (d) => {
111
- if (!x(d, ["Input", "Select"]))
109
+ return t && l.Children.forEach(t, (c) => {
110
+ if (!x(c, ["Input", "Select"]))
112
111
  return;
113
- const $ = x(d, ["Select"]) ? d.props.input : d;
114
- $ && J($.props) && (b = !0);
112
+ const I = x(c, ["Select"]) ? c.props.input : c;
113
+ I && Q(I.props) && (b = !0);
115
114
  }), b;
116
- }), [R, j] = i.useState(() => {
115
+ }), [q, R] = l.useState(() => {
117
116
  let b = !1;
118
- return s && i.Children.forEach(s, (d) => {
119
- x(d, ["Input", "Select"]) && (k(d.props, !0) || k(d.props.inputProps, !0)) && (b = !0);
117
+ return t && l.Children.forEach(t, (c) => {
118
+ x(c, ["Input", "Select"]) && (U(c.props, !0) || U(c.props.inputProps, !0)) && (b = !0);
120
119
  }), b;
121
- }), [W, S] = i.useState(!1);
122
- a && W && S(!1);
123
- const w = O !== void 0 && !a ? O : W;
120
+ }), [j, h] = l.useState(!1);
121
+ i && j && h(!1);
122
+ const k = S !== void 0 && !i ? S : j;
124
123
  let N;
125
- const T = i.useRef(!1);
124
+ const T = l.useRef(!1);
126
125
  process.env.NODE_ENV !== "production" && (N = () => (T.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
127
126
  `)), T.current = !0, () => {
128
127
  T.current = !1;
129
128
  }));
130
- const G = i.useMemo(() => ({
131
- adornedStart: q,
132
- setAdornedStart: H,
129
+ const W = l.useCallback(() => {
130
+ R(!0);
131
+ }, []), $ = l.useCallback(() => {
132
+ R(!1);
133
+ }, []), K = l.useMemo(() => ({
134
+ adornedStart: M,
135
+ setAdornedStart: J,
133
136
  color: p,
134
- disabled: a,
137
+ disabled: i,
135
138
  error: y,
136
- filled: R,
137
- focused: w,
139
+ filled: q,
140
+ focused: k,
138
141
  fullWidth: g,
139
142
  hiddenLabel: F,
140
- size: l,
143
+ size: a,
141
144
  onBlur: () => {
142
- S(!1);
143
- },
144
- onEmpty: () => {
145
- j(!1);
146
- },
147
- onFilled: () => {
148
- j(!0);
145
+ h(!1);
149
146
  },
150
147
  onFocus: () => {
151
- S(!0);
148
+ h(!0);
152
149
  },
150
+ onEmpty: $,
151
+ onFilled: W,
153
152
  registerEffect: N,
154
153
  required: m,
155
154
  variant: u
156
- }), [q, p, a, y, R, w, g, F, N, m, l, u]);
157
- return /* @__PURE__ */ I(K.Provider, {
158
- value: G,
159
- children: /* @__PURE__ */ I(oe, {
160
- as: c,
161
- ownerState: M,
162
- className: P(z.root, f),
163
- ref: n,
155
+ }), [M, p, i, y, q, k, g, F, N, $, W, m, a, u]);
156
+ return /* @__PURE__ */ A(X.Provider, {
157
+ value: K,
158
+ children: /* @__PURE__ */ A(se, {
159
+ as: d,
160
+ ownerState: L,
161
+ className: V(G.root, f),
162
+ ref: s,
164
163
  ...v,
165
- children: s
164
+ children: t
166
165
  })
167
166
  });
168
167
  });
169
- process.env.NODE_ENV !== "production" && (re.propTypes = {
168
+ process.env.NODE_ENV !== "production" && (te.propTypes = {
170
169
  // ┌────────────────────────────── Warning ──────────────────────────────┐
171
170
  // │ These PropTypes are generated from the TypeScript type definitions. │
172
171
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -246,34 +245,33 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
246
245
  */
247
246
  variant: e.oneOf(["filled", "outlined", "standard"])
248
247
  });
249
- function se(o) {
250
- return A("MuiFormLabel", o);
248
+ function ne(o) {
249
+ return B("MuiFormLabel", o);
251
250
  }
252
- const C = D("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), te = (o) => {
251
+ const C = P("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), le = (o) => {
253
252
  const {
254
253
  classes: r,
255
- color: n,
256
- focused: t,
257
- disabled: s,
254
+ color: s,
255
+ focused: n,
256
+ disabled: t,
258
257
  error: f,
259
258
  filled: p,
260
- required: c
261
- } = o, a = {
262
- root: ["root", `color${L(n)}`, s && "disabled", f && "error", p && "filled", t && "focused", c && "required"],
259
+ required: d
260
+ } = o, i = {
261
+ root: ["root", `color${E(s)}`, t && "disabled", f && "error", p && "filled", n && "focused", d && "required"],
263
262
  asterisk: ["asterisk", f && "error"]
264
263
  };
265
- return V(a, se, r);
266
- }, ne = E("label", {
264
+ return z(i, ne, r);
265
+ }, ae = w("label", {
267
266
  name: "MuiFormLabel",
268
267
  slot: "Root",
269
- overridesResolver: ({
270
- ownerState: o
271
- }, r) => ({
272
- ...r.root,
273
- ...o.color === "secondary" && r.colorSecondary,
274
- ...o.filled && r.filled
275
- })
276
- })(_(({
268
+ overridesResolver: (o, r) => {
269
+ const {
270
+ ownerState: s
271
+ } = o;
272
+ return [r.root, s.color === "secondary" && r.colorSecondary, s.filled && r.filled];
273
+ }
274
+ })(H(({
277
275
  theme: o
278
276
  }) => ({
279
277
  color: (o.vars || o).palette.text.secondary,
@@ -281,7 +279,7 @@ const C = D("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
281
279
  lineHeight: "1.4375em",
282
280
  padding: 0,
283
281
  position: "relative",
284
- variants: [...Object.entries(o.palette).filter(Y()).map(([r]) => ({
282
+ variants: [...Object.entries(o.palette).filter(ee()).map(([r]) => ({
285
283
  props: {
286
284
  color: r
287
285
  },
@@ -301,52 +299,52 @@ const C = D("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
301
299
  }
302
300
  }
303
301
  }]
304
- }))), le = E("span", {
302
+ }))), ie = w("span", {
305
303
  name: "MuiFormLabel",
306
304
  slot: "Asterisk",
307
305
  overridesResolver: (o, r) => r.asterisk
308
- })(_(({
306
+ })(H(({
309
307
  theme: o
310
308
  }) => ({
311
309
  [`&.${C.error}`]: {
312
310
  color: (o.vars || o).palette.error.main
313
311
  }
314
- }))), ie = /* @__PURE__ */ i.forwardRef(function(r, n) {
315
- const t = B({
312
+ }))), ce = /* @__PURE__ */ l.forwardRef(function(r, s) {
313
+ const n = _({
316
314
  props: r,
317
315
  name: "MuiFormLabel"
318
316
  }), {
319
- children: s,
317
+ children: t,
320
318
  className: f,
321
319
  color: p,
322
- component: c = "label",
323
- disabled: a,
320
+ component: d = "label",
321
+ disabled: i,
324
322
  error: y,
325
- filled: O,
323
+ filled: S,
326
324
  focused: g,
327
325
  required: F,
328
- ...h
329
- } = t, m = Q(), l = X({
330
- props: t,
326
+ ...O
327
+ } = n, m = Y(), a = Z({
328
+ props: n,
331
329
  muiFormControl: m,
332
330
  states: ["color", "required", "focused", "disabled", "error", "filled"]
333
331
  }), u = {
334
- ...t,
335
- color: l.color || "primary",
336
- component: c,
337
- disabled: l.disabled,
338
- error: l.error,
339
- filled: l.filled,
340
- focused: l.focused,
341
- required: l.required
342
- }, v = te(u);
343
- return /* @__PURE__ */ U(ne, {
344
- as: c,
332
+ ...n,
333
+ color: a.color || "primary",
334
+ component: d,
335
+ disabled: a.disabled,
336
+ error: a.error,
337
+ filled: a.filled,
338
+ focused: a.focused,
339
+ required: a.required
340
+ }, v = le(u);
341
+ return /* @__PURE__ */ D(ae, {
342
+ as: d,
345
343
  ownerState: u,
346
- className: P(v.root, f),
347
- ref: n,
348
- ...h,
349
- children: [s, l.required && /* @__PURE__ */ U(le, {
344
+ className: V(v.root, f),
345
+ ref: s,
346
+ ...O,
347
+ children: [t, a.required && /* @__PURE__ */ D(ie, {
350
348
  ownerState: u,
351
349
  "aria-hidden": !0,
352
350
  className: v.asterisk,
@@ -354,7 +352,7 @@ const C = D("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
354
352
  })]
355
353
  });
356
354
  });
357
- process.env.NODE_ENV !== "production" && (ie.propTypes = {
355
+ process.env.NODE_ENV !== "production" && (ce.propTypes = {
358
356
  // ┌────────────────────────────── Warning ──────────────────────────────┐
359
357
  // │ These PropTypes are generated from the TypeScript type definitions. │
360
358
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -408,12 +406,12 @@ process.env.NODE_ENV !== "production" && (ie.propTypes = {
408
406
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
409
407
  });
410
408
  export {
411
- re as F,
412
- ie as a,
409
+ te as F,
410
+ ce as a,
413
411
  C as b,
414
- ne as c,
415
- se as d,
416
- ge as f,
417
- Z as g,
412
+ ae as c,
413
+ ne as d,
414
+ ve as f,
415
+ oe as g,
418
416
  x as i
419
417
  };
@@ -0,0 +1,2 @@
1
+ "use strict";const Q=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),x=require("./utils-BWx1W_q1.cjs"),z=require("./useFormControl-haP0iPhl.cjs"),S=require("react/jsx-runtime"),d=require("./DefaultPropsProvider-wpBXjN8r.cjs"),L=require("./capitalize-CEByPz9F.cjs"),X=require("./formControlState-CuX6WjAX.cjs"),_=require("./memoTheme-DrjvJtTP.cjs"),Y=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs");function Z(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>o[s]})}}return r.default=o,Object.freeze(r)}const n=Z(Q);function v(o,r){var s,t,l;return n.isValidElement(o)&&r.indexOf(o.type.muiName??((l=(t=(s=o.type)==null?void 0:s._payload)==null?void 0:t.value)==null?void 0:l.muiName))!==-1}function A(o){return e.generateUtilityClass("MuiFormControl",o)}const ee=e.generateUtilityClasses("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]),oe=o=>{const{classes:r,margin:s,fullWidth:t}=o,l={root:["root",s!=="none"&&`margin${L.capitalize(s)}`,t&&"fullWidth"]};return d.composeClasses(l,A,r)},re=d.styled("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:s}=o;return[r.root,r[`margin${L.capitalize(s.margin)}`],s.fullWidth&&r.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),I=n.forwardRef(function(r,s){const t=d.useDefaultProps({props:r,name:"MuiFormControl"}),{children:l,className:f,color:m="primary",component:c="div",disabled:a=!1,error:P=!1,focused:O,fullWidth:g=!1,hiddenLabel:C=!1,margin:q="none",required:y=!1,size:i="medium",variant:u="outlined",...F}=t,M={...t,color:m,component:c,disabled:a,error:P,fullWidth:g,hiddenLabel:C,margin:q,required:y,size:i,variant:u},G=oe(M),[R,J]=n.useState(()=>{let T=!1;return l&&n.Children.forEach(l,p=>{if(!v(p,["Input","Select"]))return;const $=v(p,["Select"])?p.props.input:p;$&&x.isAdornedStart($.props)&&(T=!0)}),T}),[w,E]=n.useState(()=>{let T=!1;return l&&n.Children.forEach(l,p=>{v(p,["Input","Select"])&&(x.isFilled(p.props,!0)||x.isFilled(p.props.inputProps,!0))&&(T=!0)}),T}),[U,h]=n.useState(!1);a&&U&&h(!1);const k=O!==void 0&&!a?O:U;let N;const j=n.useRef(!1);process.env.NODE_ENV!=="production"&&(N=()=>(j.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
2
+ `)),j.current=!0,()=>{j.current=!1}));const D=n.useCallback(()=>{E(!0)},[]),W=n.useCallback(()=>{E(!1)},[]),K=n.useMemo(()=>({adornedStart:R,setAdornedStart:J,color:m,disabled:a,error:P,filled:w,focused:k,fullWidth:g,hiddenLabel:C,size:i,onBlur:()=>{h(!1)},onFocus:()=>{h(!0)},onEmpty:W,onFilled:D,registerEffect:N,required:y,variant:u}),[R,m,a,P,w,k,g,C,N,W,D,y,i,u]);return S.jsx(z.FormControlContext.Provider,{value:K,children:S.jsx(re,{as:c,ownerState:M,className:e.clsx(G.root,f),ref:s,...F,children:l})})});process.env.NODE_ENV!=="production"&&(I.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","error","info","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,disabled:e.PropTypes.bool,error:e.PropTypes.bool,focused:e.PropTypes.bool,fullWidth:e.PropTypes.bool,hiddenLabel:e.PropTypes.bool,margin:e.PropTypes.oneOf(["dense","none","normal"]),required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),variant:e.PropTypes.oneOf(["filled","outlined","standard"])});function V(o){return e.generateUtilityClass("MuiFormLabel",o)}const b=e.generateUtilityClasses("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),se=o=>{const{classes:r,color:s,focused:t,disabled:l,error:f,filled:m,required:c}=o,a={root:["root",`color${L.capitalize(s)}`,l&&"disabled",f&&"error",m&&"filled",t&&"focused",c&&"required"],asterisk:["asterisk",f&&"error"]};return d.composeClasses(a,V,r)},B=d.styled("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:s}=o;return[r.root,s.color==="secondary"&&r.colorSecondary,s.filled&&r.filled]}})(_.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,...o.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(o.palette).filter(Y.createSimplePaletteValueFilter()).map(([r])=>({props:{color:r},style:{[`&.${b.focused}`]:{color:(o.vars||o).palette[r].main}}})),{props:{},style:{[`&.${b.disabled}`]:{color:(o.vars||o).palette.text.disabled},[`&.${b.error}`]:{color:(o.vars||o).palette.error.main}}}]}))),te=d.styled("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(o,r)=>r.asterisk})(_.memoTheme(({theme:o})=>({[`&.${b.error}`]:{color:(o.vars||o).palette.error.main}}))),H=n.forwardRef(function(r,s){const t=d.useDefaultProps({props:r,name:"MuiFormLabel"}),{children:l,className:f,color:m,component:c="label",disabled:a,error:P,filled:O,focused:g,required:C,...q}=t,y=z.useFormControl(),i=X.formControlState({props:t,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),u={...t,color:i.color||"primary",component:c,disabled:i.disabled,error:i.error,filled:i.filled,focused:i.focused,required:i.required},F=se(u);return S.jsxs(B,{as:c,ownerState:u,className:e.clsx(F.root,f),ref:s,...q,children:[l,i.required&&S.jsxs(te,{ownerState:u,"aria-hidden":!0,className:F.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(H.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["error","info","primary","secondary","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,disabled:e.PropTypes.bool,error:e.PropTypes.bool,filled:e.PropTypes.bool,focused:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});exports.FormControl=I;exports.FormLabel=H;exports.FormLabelRoot=B;exports.formControlClasses=ee;exports.formLabelClasses=b;exports.getFormControlUtilityClasses=A;exports.getFormLabelUtilityClasses=V;exports.isMuiElement=v;
@@ -1,8 +1,8 @@
1
1
  import * as f from "react";
2
- import { P as n } from "./generateUtilityClasses-Bssl7BA_.js";
3
- import { u as V } from "./useTheme-DyaNKf4e.js";
2
+ import { P as n } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { u as V } from "./useTheme-BA7tMglY.js";
4
4
  import { jsx as W } from "react/jsx-runtime";
5
- import { g as k, e as B, T as J, r as M, a as v } from "./utils-C6c4fj7D.js";
5
+ import { T as k, g as B, a as v, r as J, e as M } from "./utils-CXhh35wP.js";
6
6
  import { u as Q } from "./useTimeout-CrCYVizI.js";
7
7
  import { u as U } from "./useForkRef-C_4o__cU.js";
8
8
  function h(l) {
@@ -17,89 +17,92 @@ const X = {
17
17
  opacity: 1,
18
18
  transform: "none"
19
19
  }
20
- }, E = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), y = /* @__PURE__ */ f.forwardRef(function(D, L) {
20
+ }, E = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), y = /* @__PURE__ */ f.forwardRef(function(w, D) {
21
21
  const {
22
22
  addEndListener: x,
23
- appear: j = !0,
23
+ appear: L = !0,
24
24
  children: m,
25
25
  easing: T,
26
26
  in: R,
27
27
  onEnter: b,
28
- onEntered: w,
28
+ onEntered: j,
29
29
  onEntering: H,
30
30
  onExit: A,
31
31
  onExited: O,
32
32
  onExiting: P,
33
33
  style: p,
34
- timeout: r = "auto",
34
+ timeout: o = "auto",
35
35
  // eslint-disable-next-line react/prop-types
36
- TransitionComponent: F = J,
36
+ TransitionComponent: F = k,
37
37
  ...G
38
- } = D, C = Q(), g = f.useRef(), s = V(), d = f.useRef(null), N = U(d, k(m), L), a = (t) => (i) => {
38
+ } = w, S = Q(), g = f.useRef(), s = V(), c = f.useRef(null), C = U(c, B(m), D), a = (t) => (r) => {
39
39
  if (t) {
40
- const o = d.current;
41
- i === void 0 ? t(o) : t(o, i);
40
+ const e = c.current;
41
+ r === void 0 ? t(e) : t(e, r);
42
42
  }
43
- }, S = a(H), _ = a((t, i) => {
44
- M(t);
43
+ }, N = a(H), _ = a((t, r) => {
44
+ J(t);
45
45
  const {
46
- duration: o,
47
- delay: c,
48
- easing: e
46
+ duration: e,
47
+ delay: d,
48
+ easing: i
49
49
  } = v({
50
50
  style: p,
51
- timeout: r,
51
+ timeout: o,
52
52
  easing: T
53
53
  }, {
54
54
  mode: "enter"
55
55
  });
56
56
  let u;
57
- r === "auto" ? (u = s.transitions.getAutoHeightDuration(t.clientHeight), g.current = u) : u = o, t.style.transition = [s.transitions.create("opacity", {
57
+ o === "auto" ? (u = s.transitions.getAutoHeightDuration(t.clientHeight), g.current = u) : u = e, t.style.transition = [s.transitions.create("opacity", {
58
58
  duration: u,
59
- delay: c
59
+ delay: d
60
60
  }), s.transitions.create("transform", {
61
61
  duration: E ? u : u * 0.666,
62
- delay: c,
63
- easing: e
64
- })].join(","), b && b(t, i);
65
- }), $ = a(w), q = a(P), z = a((t) => {
62
+ delay: d,
63
+ easing: i
64
+ })].join(","), b && b(t, r);
65
+ }), $ = a(j), q = a(P), z = a((t) => {
66
66
  const {
67
- duration: i,
68
- delay: o,
69
- easing: c
67
+ duration: r,
68
+ delay: e,
69
+ easing: d
70
70
  } = v({
71
71
  style: p,
72
- timeout: r,
72
+ timeout: o,
73
73
  easing: T
74
74
  }, {
75
75
  mode: "exit"
76
76
  });
77
- let e;
78
- r === "auto" ? (e = s.transitions.getAutoHeightDuration(t.clientHeight), g.current = e) : e = i, t.style.transition = [s.transitions.create("opacity", {
79
- duration: e,
80
- delay: o
77
+ let i;
78
+ o === "auto" ? (i = s.transitions.getAutoHeightDuration(t.clientHeight), g.current = i) : i = r, t.style.transition = [s.transitions.create("opacity", {
79
+ duration: i,
80
+ delay: e
81
81
  }), s.transitions.create("transform", {
82
- duration: E ? e : e * 0.666,
83
- delay: E ? o : o || e * 0.333,
84
- easing: c
82
+ duration: E ? i : i * 0.666,
83
+ delay: E ? e : e || i * 0.333,
84
+ easing: d
85
85
  })].join(","), t.style.opacity = 0, t.style.transform = h(0.75), A && A(t);
86
86
  }), K = a(O);
87
87
  return /* @__PURE__ */ W(F, {
88
- appear: j,
88
+ appear: L,
89
89
  in: R,
90
- nodeRef: d,
90
+ nodeRef: c,
91
91
  onEnter: _,
92
92
  onEntered: $,
93
- onEntering: S,
93
+ onEntering: N,
94
94
  onExit: z,
95
95
  onExited: K,
96
96
  onExiting: q,
97
97
  addEndListener: (t) => {
98
- r === "auto" && C.start(g.current || 0, t), x && x(d.current, t);
98
+ o === "auto" && S.start(g.current || 0, t), x && x(c.current, t);
99
99
  },
100
- timeout: r === "auto" ? null : r,
100
+ timeout: o === "auto" ? null : o,
101
101
  ...G,
102
- children: (t, i) => /* @__PURE__ */ f.cloneElement(m, {
102
+ children: (t, {
103
+ ownerState: r,
104
+ ...e
105
+ }) => /* @__PURE__ */ f.cloneElement(m, {
103
106
  style: {
104
107
  opacity: 0,
105
108
  transform: h(0.75),
@@ -108,8 +111,8 @@ const X = {
108
111
  ...p,
109
112
  ...m.props.style
110
113
  },
111
- ref: N,
112
- ...i
114
+ ref: C,
115
+ ...e
113
116
  })
114
117
  });
115
118
  });
@@ -133,7 +136,7 @@ process.env.NODE_ENV !== "production" && (y.propTypes = {
133
136
  /**
134
137
  * A single child content element.
135
138
  */
136
- children: B.isRequired,
139
+ children: M.isRequired,
137
140
  /**
138
141
  * The transition timing function.
139
142
  * You may specify a single easing or a object containing enter and exit values.