@cgi-learning-hub/ui 1.4.0 → 1.5.0-dev.1743511847

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 (335) hide show
  1. package/dist/Alert-BoWYecXr.cjs +1 -0
  2. package/dist/Alert-D31xXLY_.js +452 -0
  3. package/dist/Autocomplete-C4BeJqHd.js +1829 -0
  4. package/dist/Autocomplete-QNC3IpEu.cjs +6 -0
  5. package/dist/Backdrop-A963bP01.cjs +1 -0
  6. package/dist/{Backdrop-DdA12b-5.js → Backdrop-Cwv7IqH8.js} +20 -19
  7. package/dist/{Box-DbRInJ2-.js → Box--MaxIKbn.js} +7 -7
  8. package/dist/Box-ge7hyt34.cjs +1 -0
  9. package/dist/Button-BkHaHEAp.cjs +1 -0
  10. package/dist/{Button-rxIER0bL.js → Button-kOBqHwsO.js} +147 -113
  11. package/dist/{ButtonBase-C2rhY3j-.cjs → ButtonBase-DIunRlDS.cjs} +1 -1
  12. package/dist/{ButtonBase-DzpmdR6N.js → ButtonBase-DYKChljK.js} +4 -4
  13. package/dist/{CardContent-u1MKaFvP.js → CardContent-BHHejD6b.js} +3 -3
  14. package/dist/CardContent-VzvauMnh.cjs +1 -0
  15. package/dist/Checkbox-CMW4C-5f.cjs +1 -0
  16. package/dist/{Checkbox-BI77q7eR.js → Checkbox-Vfd8tExZ.js} +23 -22
  17. package/dist/{Chip-6-zATjcr.js → Chip-CVtoGCpW.js} +50 -49
  18. package/dist/Chip-DnYryF72.cjs +1 -0
  19. package/dist/CircularProgress-4dhoIFaN.cjs +28 -0
  20. package/dist/{CircularProgress-CDa_qU1a.js → CircularProgress-CAuw8noH.js} +14 -13
  21. package/dist/Close-D88q8bP4.js +9 -0
  22. package/dist/Close-gPyOHzhk.cjs +1 -0
  23. package/dist/{CloseRounded-DQWTEbNz.cjs → CloseRounded-D4Rf4Yq-.cjs} +1 -1
  24. package/dist/{CloseRounded-DTpqUeWr.js → CloseRounded-DXBTbQ8P.js} +1 -1
  25. package/dist/CustomTreeItem-DhiQBmjt.js +1341 -0
  26. package/dist/CustomTreeItem-DvuxaLU3.cjs +4 -0
  27. package/dist/DatePicker-BoM1keBS.cjs +14 -0
  28. package/dist/{DatePicker-BTTLIBm9.js → DatePicker-Cy18dRtr.js} +3032 -3133
  29. package/dist/DefaultPropsProvider-DhsUT47i.cjs +1 -0
  30. package/dist/{DefaultPropsProvider-BcmyIf2H.js → DefaultPropsProvider-ZFZfNXyN.js} +24 -24
  31. package/dist/Delete-abpyrxF4.cjs +1 -0
  32. package/dist/Delete-p7eKZ0Bk.js +8 -0
  33. package/dist/{Dialog-CgBiKk8B.js → Dialog-BdWhnP_F.js} +17 -16
  34. package/dist/Dialog-LbgQSeqb.cjs +1 -0
  35. package/dist/{DialogContent-SYCCu1VD.js → DialogContent-CazuB6uB.js} +3 -3
  36. package/dist/DialogContent-DBuTlPHe.cjs +1 -0
  37. package/dist/{DialogTitle-_yayDwkI.js → DialogTitle-B98lWCsF.js} +5 -5
  38. package/dist/DialogTitle-DTwr1uD3.cjs +1 -0
  39. package/dist/{Divider-Doy31VS6.js → Divider-Bw612Jal.js} +8 -8
  40. package/dist/Divider-D3QqAaaL.cjs +1 -0
  41. package/dist/Folder-DbtkTNEB.js +8 -0
  42. package/dist/Folder-NcfJgwuN.cjs +1 -0
  43. package/dist/FormLabel-C_MIE5B5.cjs +2 -0
  44. package/dist/{FormLabel-DjkS3S9h.js → FormLabel-Sb7RO6Cr.js} +68 -76
  45. package/dist/Grow-B05P--4W.cjs +1 -0
  46. package/dist/{Grow-DPD-iBAX.js → Grow-CYTfRVAz.js} +14 -13
  47. package/dist/{IconButton-B4bt0Hp2.js → IconButton-BfOmPY_b.js} +27 -26
  48. package/dist/IconButton-Czd8uNt8.cjs +2 -0
  49. package/dist/{InputAdornment-GzDm1zf_.js → InputAdornment-Bq0xmUe9.js} +9 -8
  50. package/dist/InputAdornment-OOctzn5p.cjs +1 -0
  51. package/dist/InputBase-B7ajOn6r.cjs +3 -0
  52. package/dist/{InputBase-CF5oNEfh.js → InputBase-BemCmQtU.js} +41 -40
  53. package/dist/{Link-CnahHTmK.js → Link-Dlyo6tWB.js} +11 -10
  54. package/dist/Link-Dq7AP0Tt.cjs +1 -0
  55. package/dist/List-CBdWJkIa.cjs +1 -0
  56. package/dist/List-CV_4VCwT.js +130 -0
  57. package/dist/ListItem--Hj6zz4n.js +423 -0
  58. package/dist/ListItem-B2M8rFxh.cjs +1 -0
  59. package/dist/ListItemText-BeWOS4WA.js +928 -0
  60. package/dist/ListItemText-Yjh9Zoqh.cjs +1 -0
  61. package/dist/{Menu-DzBX10ev.js → Menu-BCmTJEi8.js} +302 -424
  62. package/dist/Menu-BHYjNOvv.cjs +7 -0
  63. package/dist/MenuItem-CpMKEsli.cjs +1 -0
  64. package/dist/{MenuItem-DQQ-p2ie.js → MenuItem-CyARn9vd.js} +72 -77
  65. package/dist/{Modal-B8JRJWm0.js → Modal-4sDxsZsm.js} +8 -8
  66. package/dist/{Modal-D8lS9C1l.cjs → Modal-BvhfWPvw.cjs} +2 -2
  67. package/dist/MoreVert-RHtym60m.cjs +1 -0
  68. package/dist/MoreVert-WFvQcAf-.js +8 -0
  69. package/dist/Paper-CRHSfFG5.cjs +2 -0
  70. package/dist/{Paper-CbgkVQVx.js → Paper-D9hEGUDL.js} +4 -4
  71. package/dist/Popper-9z2UJQ7R.cjs +4 -0
  72. package/dist/{Popper-1-DDNRPD.js → Popper-BxJaaK-J.js} +31 -30
  73. package/dist/Portal-BkkZn65J.cjs +1 -0
  74. package/dist/{Portal-T-1Qk77D.js → Portal-jqIJ9-dR.js} +2 -2
  75. package/dist/Radio-Cj3mKEAT.cjs +1 -0
  76. package/dist/{Radio-BxMxeQa-.js → Radio-Dm7GnmRB.js} +9 -8
  77. package/dist/RadioGroup-D-aGM7xY.cjs +1 -0
  78. package/dist/{RadioGroup-BLrD8_Lp.js → RadioGroup-b8jmEUAw.js} +3 -3
  79. package/dist/Select--p-t3vFP.cjs +3 -0
  80. package/dist/{Select-B6mYfJPA.js → Select-B9udggeF.js} +49 -48
  81. package/dist/{Stack-aCUdCw1A.js → Stack-Ba2nYyYI.js} +104 -59
  82. package/dist/Stack-DVHYuvhX.cjs +1 -0
  83. package/dist/Switch--DHfiMMI.cjs +1 -0
  84. package/dist/{Switch-BOpqo-TS.js → Switch-D9wihGbW.js} +11 -10
  85. package/dist/SwitchBase-D6Hcty5-.cjs +1 -0
  86. package/dist/{SwitchBase-BAjfatYA.js → SwitchBase-hLPPZJfx.js} +21 -20
  87. package/dist/Tab-CoQ2exTs.cjs +4 -0
  88. package/dist/Tab-qZjEW6Cy.js +1394 -0
  89. package/dist/TextField-1N_cJeHB.cjs +1 -0
  90. package/dist/{TextField-CAmc1Qpg.js → TextField-B6qm5aBz.js} +18 -17
  91. package/dist/ToggleButtonGroup-Bz445DUg.cjs +137 -0
  92. package/dist/ToggleButtonGroup-DB7FU2Sy.js +7716 -0
  93. package/dist/{Tooltip-BvVFPsVR.js → Tooltip-UBiscQPm.js} +30 -29
  94. package/dist/Tooltip-arPEgWU6.cjs +4 -0
  95. package/dist/{Typography-CE8fQQ8B.js → Typography-BJPk_mTw.js} +13 -12
  96. package/dist/Typography-Daq_a9_t.cjs +1 -0
  97. package/dist/capitalize-CzyXIc5e.cjs +1 -0
  98. package/dist/capitalize-R3VbHRUv.js +9 -0
  99. package/dist/components/Alert/Alert.cjs.js +1 -1
  100. package/dist/components/Alert/Alert.d.ts +3 -3
  101. package/dist/components/Alert/Alert.es.js +5 -20
  102. package/dist/components/Alert/index.cjs.js +1 -1
  103. package/dist/components/Alert/index.es.js +2 -2
  104. package/dist/components/Button/Button.cjs.js +1 -1
  105. package/dist/components/Button/Button.es.js +2 -2
  106. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  107. package/dist/components/DatePicker/DatePicker.es.js +2 -3
  108. package/dist/components/DatePicker/index.cjs.js +1 -1
  109. package/dist/components/DatePicker/index.es.js +1 -1
  110. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  111. package/dist/components/Dialog/Dialog.es.js +2 -2
  112. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  113. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  114. package/dist/components/Dropzone/Dropzone.es.js +33 -30
  115. package/dist/components/Dropzone/types.cjs.js +1 -0
  116. package/dist/components/Dropzone/types.d.ts +8 -0
  117. package/dist/components/Dropzone/types.es.js +1 -0
  118. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  119. package/dist/components/EmptyState/EmptyState.d.ts +10 -2
  120. package/dist/components/EmptyState/EmptyState.es.js +26 -26
  121. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  122. package/dist/components/FileList/FileIcon.es.js +1 -1
  123. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  124. package/dist/components/FileList/FileListItem.es.js +14 -13
  125. package/dist/components/FolderCard/FolderCard.cjs.js +1 -0
  126. package/dist/components/FolderCard/FolderCard.d.ts +11 -0
  127. package/dist/components/FolderCard/FolderCard.es.js +79 -0
  128. package/dist/components/FolderCard/index.cjs.js +1 -0
  129. package/dist/components/FolderCard/index.d.ts +2 -0
  130. package/dist/components/FolderCard/index.es.js +4 -0
  131. package/dist/components/FolderCard/styles.cjs.js +1 -0
  132. package/dist/components/FolderCard/styles.d.ts +20 -0
  133. package/dist/components/FolderCard/styles.es.js +23 -0
  134. package/dist/components/FolderCard/types.cjs.js +1 -0
  135. package/dist/components/FolderCard/types.d.ts +3 -0
  136. package/dist/components/FolderCard/types.es.js +14 -0
  137. package/dist/components/Heading/Heading.cjs.js +1 -1
  138. package/dist/components/Heading/Heading.es.js +2 -2
  139. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  140. package/dist/components/ImagePicker/ImagePicker.es.js +54 -51
  141. package/dist/components/Loader/Loader.cjs.js +1 -1
  142. package/dist/components/Loader/Loader.es.js +8 -9
  143. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  144. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +4 -5
  145. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  146. package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
  147. package/dist/components/PasswordInput/PasswordInput.es.js +28 -37
  148. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  149. package/dist/components/QueryError/QueryError.es.js +23 -20
  150. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  151. package/dist/components/ResourceCard/ResourceCard.es.js +21 -23
  152. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  153. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  154. package/dist/components/TreeView/TreeView.cjs.js +7 -0
  155. package/dist/components/TreeView/TreeView.d.ts +4 -0
  156. package/dist/components/TreeView/TreeView.es.js +1892 -0
  157. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -0
  158. package/dist/components/TreeView/components/CustomTreeItem.d.ts +6 -0
  159. package/dist/components/TreeView/components/CustomTreeItem.es.js +8 -0
  160. package/dist/components/TreeView/index.cjs.js +1 -0
  161. package/dist/components/TreeView/index.d.ts +2 -0
  162. package/dist/components/TreeView/index.es.js +6 -0
  163. package/dist/components/TreeView/style.cjs.js +1 -0
  164. package/dist/components/TreeView/style.es.js +35 -0
  165. package/dist/components/TreeView/types.cjs.js +1 -0
  166. package/dist/components/TreeView/types.d.ts +43 -0
  167. package/dist/components/TreeView/types.es.js +4 -0
  168. package/dist/components/TreeView/utils.cjs.js +1 -0
  169. package/dist/components/TreeView/utils.d.ts +6 -0
  170. package/dist/components/TreeView/utils.es.js +50 -0
  171. package/dist/components/index.cjs.js +1 -1
  172. package/dist/components/index.d.ts +12 -1
  173. package/dist/components/index.es.js +368 -344
  174. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  175. package/dist/components/stories/Alert.stories.es.js +1 -1
  176. package/dist/components/stories/Autocomplete.stories.cjs.js +3 -0
  177. package/dist/components/stories/Autocomplete.stories.d.ts +6 -0
  178. package/dist/components/stories/Autocomplete.stories.es.js +62 -0
  179. package/dist/components/stories/Button.stories.cjs.js +1 -1
  180. package/dist/components/stories/Button.stories.es.js +1 -1
  181. package/dist/components/stories/Card.stories.cjs.js +1 -1
  182. package/dist/components/stories/Card.stories.es.js +2 -2
  183. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  184. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  185. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  186. package/dist/components/stories/Chip.stories.es.js +1 -1
  187. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  188. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  189. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  190. package/dist/components/stories/Dialog.stories.es.js +2 -2
  191. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  192. package/dist/components/stories/Divider.stories.es.js +1 -1
  193. package/dist/components/stories/EmptyState.stories.cjs.js +1 -1
  194. package/dist/components/stories/EmptyState.stories.es.js +23 -7
  195. package/dist/components/stories/FolderCard.stories.cjs.js +1 -0
  196. package/dist/components/stories/FolderCard.stories.d.ts +7 -0
  197. package/dist/components/stories/FolderCard.stories.es.js +71 -0
  198. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  199. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  200. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  201. package/dist/components/stories/Heading.stories.es.js +2 -2
  202. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  203. package/dist/components/stories/IconButton.stories.es.js +2 -2
  204. package/dist/components/stories/Link.stories.cjs.js +1 -1
  205. package/dist/components/stories/Link.stories.es.js +1 -1
  206. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  207. package/dist/components/stories/Menu.stories.es.js +2 -2
  208. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  209. package/dist/components/stories/Paper.stories.es.js +1 -1
  210. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  211. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  212. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  213. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  214. package/dist/components/stories/Select.stories.cjs.js +1 -1
  215. package/dist/components/stories/Select.stories.es.js +3 -3
  216. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  217. package/dist/components/stories/TabList.stories.es.js +21 -184
  218. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  219. package/dist/components/stories/TextField.stories.es.js +1 -1
  220. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  221. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  222. package/dist/components/stories/TreeView.stories.cjs.js +69 -0
  223. package/dist/components/stories/TreeView.stories.d.ts +14 -0
  224. package/dist/components/stories/TreeView.stories.es.js +857 -0
  225. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  226. package/dist/components/stories/Typography.stories.es.js +1 -1
  227. package/dist/createSvgIcon-DjTQ6UHI.cjs +1 -0
  228. package/dist/{createSvgIcon-CCejzj0C.js → createSvgIcon-Dk3n_NBz.js} +19 -18
  229. package/dist/{dividerClasses-DN9F43tq.js → dividerClasses-BbwdfVtE.js} +1 -1
  230. package/dist/dividerClasses-sb3FZiiC.cjs +1 -0
  231. package/dist/elementTypeAcceptingRef-CFAbKDTa.cjs +1 -0
  232. package/dist/{elementTypeAcceptingRef-CrAqn_fc.js → elementTypeAcceptingRef-Cqa8qLE7.js} +1 -1
  233. package/dist/extendSxProp-DG37PMfH.cjs +1 -0
  234. package/dist/{extendSxProp-DFv-GFt5.js → extendSxProp-u_I5DXAE.js} +1 -1
  235. package/dist/generateUtilityClasses-B90hrzv4.cjs +75 -0
  236. package/dist/{identifier-D58rA1gM.js → generateUtilityClasses-SJ1QPUag.js} +867 -835
  237. package/dist/getReactElementRef-Blb86d4n.cjs +1 -0
  238. package/dist/getReactElementRef-DMv8jOEv.js +31 -0
  239. package/dist/{index-BGS2uu2L.js → index-8ZjeXGh4.js} +1 -1
  240. package/dist/index-C4sHlmg5.cjs +1 -0
  241. package/dist/index-D5we-BQd.cjs +1 -0
  242. package/dist/{index-ClXCinr6.js → index-DBDGMwpZ.js} +4 -4
  243. package/dist/index-DzunNw1H.cjs +5 -0
  244. package/dist/index-uoOKg_7A.js +22 -0
  245. package/dist/index.cjs.js +1 -1
  246. package/dist/index.es.js +368 -344
  247. package/dist/isMuiElement-BzDAj3yJ.cjs +1 -0
  248. package/dist/isMuiElement-DnSE4qG4.js +13 -0
  249. package/dist/listItemTextClasses-Bh3BazNw.cjs +1 -0
  250. package/dist/listItemTextClasses-v8jRy934.js +9 -0
  251. package/dist/{memoTheme-DyiN-Awd.js → memoTheme-C9GnPENe.js} +1 -1
  252. package/dist/{memoTheme-C8EfvlY1.cjs → memoTheme-D8ch-Aus.cjs} +1 -1
  253. package/dist/refType-B7SJEv5t.cjs +1 -0
  254. package/dist/{refType-B86yTZra.js → refType-D-xpF9tL.js} +1 -1
  255. package/dist/{resolveComponentProps-0QnU-fDT.js → resolveComponentProps-BFteOhbz.js} +1 -1
  256. package/dist/resolveComponentProps-ZXhc99MU.cjs +1 -0
  257. package/dist/{useSlot-CZNcsPv1.js → useSlot-C73TTXlD.js} +1 -1
  258. package/dist/{useSlot-CyXLaLc2.cjs → useSlot-bB9P8y2N.cjs} +1 -1
  259. package/dist/useSlotProps-CuY7blPC.cjs +1 -0
  260. package/dist/useSlotProps-Cz_jXqU-.js +25 -0
  261. package/dist/useTheme-BI9bHTEJ.cjs +1 -0
  262. package/dist/{useTheme-DxxkErdZ.js → useTheme-C0OFZcd4.js} +1 -1
  263. package/dist/useTheme-C9d_IgK4.cjs +1 -0
  264. package/dist/useTheme-EvTdEPuY.js +11 -0
  265. package/dist/useThemeProps-DUEuJR3m.cjs +1 -0
  266. package/dist/{useThemeProps-BGZrRNnL.js → useThemeProps-ch-ZdCsr.js} +2 -2
  267. package/dist/useThemeProps-jdOTP9Fb.js +17 -0
  268. package/dist/{useThemeProps-CpNQz1Ap.cjs → useThemeProps-qlNnBrri.cjs} +1 -1
  269. package/dist/utils-BODEd0eo.cjs +1 -0
  270. package/dist/{utils-SrEVp7Pm.js → utils-_bodXh-n.js} +76 -104
  271. package/package.json +2 -1
  272. package/dist/Backdrop-COarwgJj.cjs +0 -1
  273. package/dist/Box-C0mEbUoK.cjs +0 -1
  274. package/dist/Button-1tZRtOeG.cjs +0 -1
  275. package/dist/CardContent-BXjX98Jd.cjs +0 -1
  276. package/dist/Checkbox-C6CIGK27.cjs +0 -1
  277. package/dist/Chip-CAPnyZyW.cjs +0 -1
  278. package/dist/CircularProgress-DTVP6gln.cjs +0 -28
  279. package/dist/DatePicker-CJ5-Udgh.cjs +0 -14
  280. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +0 -1
  281. package/dist/Dialog-Cmv58WoN.cjs +0 -1
  282. package/dist/DialogContent-CGEdCDYk.cjs +0 -1
  283. package/dist/DialogTitle-Dxm2NHs7.cjs +0 -1
  284. package/dist/Divider-D_LVNUqS.cjs +0 -1
  285. package/dist/FormLabel-D0gSgwnj.cjs +0 -2
  286. package/dist/Grow-D7scX77o.cjs +0 -1
  287. package/dist/IconButton-Edo5JMfQ.cjs +0 -2
  288. package/dist/InputAdornment-C9NrmB_z.cjs +0 -1
  289. package/dist/InputBase-CgOQ0M4_.cjs +0 -3
  290. package/dist/Link-CAbb9OCV.cjs +0 -1
  291. package/dist/Menu-C-R0FVOB.cjs +0 -7
  292. package/dist/MenuItem-Cp1_Q0FD.cjs +0 -1
  293. package/dist/Paper-C-oPGpbI.cjs +0 -2
  294. package/dist/Popper-uw9PkkLY.cjs +0 -4
  295. package/dist/Portal-bIKnnWR4.cjs +0 -1
  296. package/dist/Radio-CvCkmq8g.cjs +0 -1
  297. package/dist/RadioGroup-Ya-I8Lz1.cjs +0 -1
  298. package/dist/Select-KMdcuol6.cjs +0 -3
  299. package/dist/Stack-C6v70ALA.cjs +0 -1
  300. package/dist/Switch-DF4bSjED.cjs +0 -1
  301. package/dist/SwitchBase-7zONZyYP.cjs +0 -1
  302. package/dist/Tabs-CrWcC5nJ.js +0 -1225
  303. package/dist/Tabs-Dploq_37.cjs +0 -4
  304. package/dist/TextField-BC7GvvHh.cjs +0 -1
  305. package/dist/ToggleButtonGroup-BCVgsika.cjs +0 -140
  306. package/dist/ToggleButtonGroup-ekxVeQCc.js +0 -10461
  307. package/dist/Tooltip-CWA-GKdK.cjs +0 -4
  308. package/dist/Typography-DEAE8-8u.cjs +0 -1
  309. package/dist/components/TextInput/TextInput.cjs.js +0 -1
  310. package/dist/components/TextInput/TextInput.d.ts +0 -4
  311. package/dist/components/TextInput/TextInput.es.js +0 -6
  312. package/dist/components/TextInput/index.cjs.js +0 -1
  313. package/dist/components/TextInput/index.d.ts +0 -2
  314. package/dist/components/TextInput/index.es.js +0 -4
  315. package/dist/createSvgIcon-Dn4BBPej.cjs +0 -1
  316. package/dist/dividerClasses-Zk1QmrZw.cjs +0 -1
  317. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +0 -1
  318. package/dist/extendSxProp-BB6jYY1x.cjs +0 -1
  319. package/dist/fr-B3qrCNcK.js +0 -312
  320. package/dist/fr-JE-1WKP6.cjs +0 -1
  321. package/dist/identifier-5n4d7br9.cjs +0 -75
  322. package/dist/index-5BAFzrXD.cjs +0 -1
  323. package/dist/index-CFm-oAsb.cjs +0 -1
  324. package/dist/index-CJW5gB6d.cjs +0 -5
  325. package/dist/index-DwHI-aa0.js +0 -45
  326. package/dist/refType-CjW6JOBA.cjs +0 -1
  327. package/dist/resolveComponentProps-D0sgyopa.cjs +0 -1
  328. package/dist/useTheme-Bi8B4Op1.cjs +0 -1
  329. package/dist/useTheme-C_2IF7CS.cjs +0 -1
  330. package/dist/useTheme-Clhsq4HW.js +0 -11
  331. package/dist/useThemeProps-C6qniHmV.js +0 -17
  332. package/dist/useThemeProps-Dq3GRYN1.cjs +0 -1
  333. package/dist/utils-D4if93Yl.cjs +0 -1
  334. /package/dist/assets/{styles.css → Loader.css} +0 -0
  335. /package/dist/assets/{styles2.css → LoaderBackdrop.css} +0 -0
@@ -1,22 +1,23 @@
1
1
  import * as u from "react";
2
- import { H as z, I as V, W as ve, P as e, G as pe, L as q, _ as mo, Z as go } from "./identifier-D58rA1gM.js";
2
+ import { G as z, H as V, a2 as ve, P as e, I as pe, S as mo, J as go } from "./generateUtilityClasses-SJ1QPUag.js";
3
3
  import { f as ye } from "./formControlState-vgaj2ksH.js";
4
4
  import { u as he } from "./useFormControl-CatNKXAi.js";
5
- import { u as G, s as h, c as B, r as k, e as vo } from "./DefaultPropsProvider-BcmyIf2H.js";
6
- import { m as E } from "./memoTheme-DyiN-Awd.js";
5
+ import { u as G, s as h, c as B, r as k, e as vo } from "./DefaultPropsProvider-ZFZfNXyN.js";
6
+ import { m as E } from "./memoTheme-C9GnPENe.js";
7
7
  import { jsx as v, jsxs as Oe } from "react/jsx-runtime";
8
- import { a as yo, b as ho } from "./FormLabel-DjkS3S9h.js";
9
- import { M as Oo } from "./Menu-DzBX10ev.js";
10
- import { r as Y } from "./refType-B86yTZra.js";
8
+ import { c as q } from "./capitalize-R3VbHRUv.js";
9
+ import { a as yo, b as ho } from "./FormLabel-Sb7RO6Cr.js";
10
+ import { M as Oo } from "./Menu-BCmTJEi8.js";
11
+ import { r as J } from "./refType-D-xpF9tL.js";
11
12
  import { i as Co } from "./utils-DWqc1kRF.js";
12
13
  import { u as qe } from "./useControlled-BYdyS7Pn.js";
13
14
  import { u as He } from "./useForkRef-C_4o__cU.js";
14
15
  import { o as Io } from "./ownerDocument-CUrv0DIK.js";
15
16
  import { u as So } from "./useId-CK6Kn3Tn.js";
16
- import { c as Ro } from "./createSvgIcon-CCejzj0C.js";
17
- import { g as xo } from "./utils-SrEVp7Pm.js";
17
+ import { c as Ro } from "./createSvgIcon-Dk3n_NBz.js";
18
+ import { g as xo } from "./getReactElementRef-DMv8jOEv.js";
18
19
  import { c as Ce } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
19
- import { i as Ie, I as Se, a as Re, r as xe, b as we, c as Te } from "./InputBase-CF5oNEfh.js";
20
+ import { i as Ie, I as Se, a as Re, r as xe, b as we, c as Te } from "./InputBase-BemCmQtU.js";
20
21
  function wo(o) {
21
22
  return V("MuiInput", o);
22
23
  }
@@ -278,7 +279,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
278
279
  /**
279
280
  * Pass a ref to the `input` element.
280
281
  */
281
- inputRef: Y,
282
+ inputRef: J,
282
283
  /**
283
284
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
284
285
  * FormControl.
@@ -372,7 +373,7 @@ Ne.muiName = "Input";
372
373
  function Fo(o) {
373
374
  return V("MuiInputLabel", o);
374
375
  }
375
- const St = z("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), Mo = (o) => {
376
+ const Rt = z("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), Mo = (o) => {
376
377
  const {
377
378
  classes: t,
378
379
  formControl: n,
@@ -718,7 +719,7 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
718
719
  [`&.${Pe.multiple}`]: t.multiple
719
720
  }];
720
721
  }
721
- })({}), Ye = h("svg")(({
722
+ })({}), Je = h("svg")(({
722
723
  theme: o
723
724
  }) => ({
724
725
  // We use a position absolute over a flexbox in order to forward the pointer events
@@ -755,7 +756,7 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
755
756
  right: 7
756
757
  }
757
758
  }]
758
- })), Uo = h(Ye, {
759
+ })), Uo = h(Je, {
759
760
  name: "MuiNativeSelect",
760
761
  slot: "Icon",
761
762
  overridesResolver: (o, t) => {
@@ -764,7 +765,7 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
764
765
  } = o;
765
766
  return [t.icon, n.variant && t[`icon${q(n.variant)}`], n.open && t.iconOpen];
766
767
  }
767
- })({}), Ze = /* @__PURE__ */ u.forwardRef(function(t, n) {
768
+ })({}), Ye = /* @__PURE__ */ u.forwardRef(function(t, n) {
768
769
  const {
769
770
  className: r,
770
771
  disabled: i,
@@ -793,7 +794,7 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
793
794
  })]
794
795
  });
795
796
  });
796
- process.env.NODE_ENV !== "production" && (Ze.propTypes = {
797
+ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
797
798
  /**
798
799
  * The option elements to populate the select with.
799
800
  * Can be some `<option>` elements.
@@ -823,7 +824,7 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
823
824
  * Use that prop to pass a ref to the native select element.
824
825
  * @deprecated
825
826
  */
826
- inputRef: Y,
827
+ inputRef: J,
827
828
  /**
828
829
  * @ignore
829
830
  */
@@ -848,7 +849,7 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
848
849
  */
849
850
  variant: e.oneOf(["standard", "outlined", "filled"])
850
851
  });
851
- function Je(o) {
852
+ function Qe(o) {
852
853
  return V("MuiSelect", o);
853
854
  }
854
855
  const H = z("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
@@ -887,7 +888,7 @@ const Do = h(Ge, {
887
888
  whiteSpace: "nowrap",
888
889
  overflow: "hidden"
889
890
  }
890
- }), zo = h(Ye, {
891
+ }), zo = h(Je, {
891
892
  name: "MuiSelect",
892
893
  slot: "Icon",
893
894
  overridesResolver: (o, t) => {
@@ -929,8 +930,8 @@ const _o = (o) => {
929
930
  icon: ["icon", `icon${q(n)}`, p && "iconOpen", r && "disabled"],
930
931
  nativeInput: ["nativeInput"]
931
932
  };
932
- return B(d, Je, t);
933
- }, Qe = /* @__PURE__ */ u.forwardRef(function(t, n) {
933
+ return B(d, Qe, t);
934
+ }, Ze = /* @__PURE__ */ u.forwardRef(function(t, n) {
934
935
  var ze;
935
936
  const {
936
937
  "aria-describedby": r,
@@ -952,10 +953,10 @@ const _o = (o) => {
952
953
  name: S,
953
954
  onBlur: N,
954
955
  onChange: W,
955
- onClose: Z,
956
+ onClose: Y,
956
957
  onFocus: de,
957
- onOpen: J,
958
- open: Q,
958
+ onOpen: Q,
959
+ open: Z,
959
960
  readOnly: ee,
960
961
  renderValue: oe,
961
962
  required: _,
@@ -971,12 +972,12 @@ const _o = (o) => {
971
972
  default: f,
972
973
  name: "Select"
973
974
  }), [je, to] = qe({
974
- controlled: Q,
975
+ controlled: Z,
975
976
  default: m,
976
977
  name: "Select"
977
978
  }), Le = u.useRef(null), M = u.useRef(null), [j, no] = u.useState(null), {
978
979
  current: ce
979
- } = u.useRef(Q != null), [ro, Be] = u.useState(), so = He(n, T), ao = u.useCallback((s) => {
980
+ } = u.useRef(Z != null), [ro, Be] = u.useState(), so = He(n, T), ao = u.useCallback((s) => {
980
981
  M.current = s, s && no(s);
981
982
  }, []), ne = j == null ? void 0 : j.parentNode;
982
983
  u.useImperativeHandle(so, () => ({
@@ -1003,7 +1004,7 @@ const _o = (o) => {
1003
1004
  }
1004
1005
  }, [y]);
1005
1006
  const re = (s, l) => {
1006
- s ? J && J(l) : Z && Z(l), ce || (Be(a ? null : ne.clientWidth), to(s));
1007
+ s ? Q && Q(l) : Y && Y(l), ce || (Be(a ? null : ne.clientWidth), to(s));
1007
1008
  }, io = (s) => {
1008
1009
  s.button === 0 && (s.preventDefault(), M.current.focus(), re(!0, s));
1009
1010
  }, lo = (s) => {
@@ -1189,7 +1190,7 @@ const _o = (o) => {
1189
1190
  })]
1190
1191
  });
1191
1192
  });
1192
- process.env.NODE_ENV !== "production" && (Qe.propTypes = {
1193
+ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1193
1194
  /**
1194
1195
  * @ignore
1195
1196
  */
@@ -1249,7 +1250,7 @@ process.env.NODE_ENV !== "production" && (Qe.propTypes = {
1249
1250
  * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
1250
1251
  * Equivalent to `ref`
1251
1252
  */
1252
- inputRef: Y,
1253
+ inputRef: J,
1253
1254
  /**
1254
1255
  * The ID of an element that acts as an additional label. The Select will
1255
1256
  * be labelled by the additional label and the selected value.
@@ -1732,7 +1733,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
1732
1733
  /**
1733
1734
  * Pass a ref to the `input` element.
1734
1735
  */
1735
- inputRef: Y,
1736
+ inputRef: J,
1736
1737
  /**
1737
1738
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1738
1739
  * FormControl.
@@ -1841,7 +1842,7 @@ const Go = h("fieldset", {
1841
1842
  borderWidth: 1,
1842
1843
  overflow: "hidden",
1843
1844
  minWidth: "0%"
1844
- }), Yo = h("legend", {
1845
+ }), Jo = h("legend", {
1845
1846
  shouldForwardProp: k
1846
1847
  })(E(({
1847
1848
  theme: o
@@ -1923,7 +1924,7 @@ function eo(o) {
1923
1924
  className: r,
1924
1925
  ownerState: b,
1925
1926
  ...a,
1926
- children: /* @__PURE__ */ v(Yo, {
1927
+ children: /* @__PURE__ */ v(Jo, {
1927
1928
  ownerState: b,
1928
1929
  children: d ? /* @__PURE__ */ v("span", {
1929
1930
  children: i
@@ -1964,7 +1965,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
1964
1965
  */
1965
1966
  style: e.object
1966
1967
  });
1967
- const Zo = (o) => {
1968
+ const Yo = (o) => {
1968
1969
  const {
1969
1970
  classes: t
1970
1971
  } = o, r = B({
@@ -1977,7 +1978,7 @@ const Zo = (o) => {
1977
1978
  // forward classes to the InputBase
1978
1979
  ...r
1979
1980
  };
1980
- }, Jo = h(Re, {
1981
+ }, Qo = h(Re, {
1981
1982
  shouldForwardProp: (o) => k(o) || o === "classes",
1982
1983
  name: "MuiOutlinedInput",
1983
1984
  slot: "Root",
@@ -2052,7 +2053,7 @@ const Zo = (o) => {
2052
2053
  }
2053
2054
  }]
2054
2055
  };
2055
- })), Qo = h(eo, {
2056
+ })), Zo = h(eo, {
2056
2057
  name: "MuiOutlinedInput",
2057
2058
  slot: "NotchedOutline",
2058
2059
  overridesResolver: (o, t) => t.notchedOutline
@@ -2135,7 +2136,7 @@ const Zo = (o) => {
2135
2136
  slots: c = {},
2136
2137
  type: O = "text",
2137
2138
  ...C
2138
- } = i, w = Zo(i), T = he(), y = ye({
2139
+ } = i, w = Yo(i), T = he(), y = ye({
2139
2140
  props: i,
2140
2141
  muiFormControl: T,
2141
2142
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
@@ -2151,13 +2152,13 @@ const Zo = (o) => {
2151
2152
  multiline: m,
2152
2153
  size: y.size,
2153
2154
  type: O
2154
- }, I = c.root ?? p.Root ?? Jo, S = c.input ?? p.Input ?? et;
2155
+ }, I = c.root ?? p.Root ?? Qo, S = c.input ?? p.Input ?? et;
2155
2156
  return /* @__PURE__ */ v(Se, {
2156
2157
  slots: {
2157
2158
  root: I,
2158
2159
  input: S
2159
2160
  },
2160
- renderSuffix: (N) => /* @__PURE__ */ v(Qo, {
2161
+ renderSuffix: (N) => /* @__PURE__ */ v(Zo, {
2161
2162
  ownerState: x,
2162
2163
  className: w.notchedOutline,
2163
2164
  label: b != null && b !== "" && y.required ? r || (r = /* @__PURE__ */ Oe(u.Fragment, {
@@ -2255,7 +2256,7 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
2255
2256
  /**
2256
2257
  * Pass a ref to the `input` element.
2257
2258
  */
2258
- inputRef: Y,
2259
+ inputRef: J,
2259
2260
  /**
2260
2261
  * The label of the `input`. It is only used for layout. The actual labelling
2261
2262
  * is handled by `InputLabel`.
@@ -2348,7 +2349,7 @@ const ot = (o) => {
2348
2349
  classes: t
2349
2350
  } = o, r = B({
2350
2351
  root: ["root"]
2351
- }, Je, t);
2352
+ }, Qe, t);
2352
2353
  return {
2353
2354
  ...t,
2354
2355
  ...r
@@ -2381,15 +2382,15 @@ const ot = (o) => {
2381
2382
  onClose: S,
2382
2383
  onOpen: N,
2383
2384
  open: W,
2384
- renderValue: Z,
2385
+ renderValue: Y,
2385
2386
  SelectDisplayProps: de,
2386
- variant: J = "outlined",
2387
- ...Q
2388
- } = r, ee = I ? Ze : Qe, oe = he(), _ = ye({
2387
+ variant: Q = "outlined",
2388
+ ...Z
2389
+ } = r, ee = I ? Ye : Ze, oe = he(), _ = ye({
2389
2390
  props: r,
2390
2391
  muiFormControl: oe,
2391
2392
  states: ["variant", "error"]
2392
- }), $ = _.variant || J, F = {
2393
+ }), $ = _.variant || Q, F = {
2393
2394
  ...r,
2394
2395
  variant: $,
2395
2396
  classes: a
@@ -2432,7 +2433,7 @@ const ot = (o) => {
2432
2433
  onClose: S,
2433
2434
  onOpen: N,
2434
2435
  open: W,
2435
- renderValue: Z,
2436
+ renderValue: Y,
2436
2437
  SelectDisplayProps: {
2437
2438
  id: c,
2438
2439
  ...de
@@ -2451,7 +2452,7 @@ const ot = (o) => {
2451
2452
  ...!O && {
2452
2453
  variant: $
2453
2454
  },
2454
- ...Q
2455
+ ...Z
2455
2456
  })
2456
2457
  });
2457
2458
  });
@@ -2610,9 +2611,9 @@ export {
2610
2611
  ke as O,
2611
2612
  oo as S,
2612
2613
  Lo as a,
2613
- St as b,
2614
+ Rt as b,
2614
2615
  Fo as c,
2615
- Je as d,
2616
+ Qe as d,
2616
2617
  L as f,
2617
2618
  wo as g,
2618
2619
  X as i,
@@ -1,65 +1,110 @@
1
- import { P as e, G as V, S as g, U as f, V as C, W as D, X as R, I as N, M as E, Y as b } from "./identifier-D58rA1gM.js";
2
- import { b as F, c as M, s as B, u as G } from "./DefaultPropsProvider-BcmyIf2H.js";
1
+ import { P as e, I as P, V as b, U as f, W as N, X as D, Y as R, M as G, Z as O } from "./generateUtilityClasses-SJ1QPUag.js";
2
+ import { b as M, s as $, u as E } from "./DefaultPropsProvider-ZFZfNXyN.js";
3
3
  import * as m from "react";
4
- import { jsx as w } from "react/jsx-runtime";
5
- import { e as U } from "./extendSxProp-DFv-GFt5.js";
6
- import { u as $ } from "./useThemeProps-BGZrRNnL.js";
7
- const A = F(), I = E(), _ = A("div", {
4
+ import { jsx as F } from "react/jsx-runtime";
5
+ import { e as B } from "./extendSxProp-u_I5DXAE.js";
6
+ import { u as w } from "./useThemeProps-ch-ZdCsr.js";
7
+ const T = (o) => o, U = () => {
8
+ let o = T;
9
+ return {
10
+ configure(r) {
11
+ o = r;
12
+ },
13
+ generate(r) {
14
+ return o(r);
15
+ },
16
+ reset() {
17
+ o = T;
18
+ }
19
+ };
20
+ }, q = U(), A = {
21
+ active: "active",
22
+ checked: "checked",
23
+ completed: "completed",
24
+ disabled: "disabled",
25
+ error: "error",
26
+ expanded: "expanded",
27
+ focused: "focused",
28
+ focusVisible: "focusVisible",
29
+ open: "open",
30
+ readOnly: "readOnly",
31
+ required: "required",
32
+ selected: "selected"
33
+ };
34
+ function I(o, r, t = "Mui") {
35
+ const n = A[r];
36
+ return n ? `${t}-${n}` : `${q.generate(o)}-${r}`;
37
+ }
38
+ const _ = M();
39
+ function L(o, r, t = void 0) {
40
+ const n = {};
41
+ for (const i in o) {
42
+ const a = o[i];
43
+ let l = "", u = !0;
44
+ for (let s = 0; s < a.length; s += 1) {
45
+ const c = a[s];
46
+ c && (l += (u === !0 ? "" : " ") + r(c), u = !1, t && t[c] && (l += " " + t[c]));
47
+ }
48
+ n[i] = l;
49
+ }
50
+ return n;
51
+ }
52
+ const W = G(), X = _("div", {
8
53
  name: "MuiStack",
9
54
  slot: "Root",
10
55
  overridesResolver: (o, r) => r.root
11
56
  });
12
- function L(o) {
13
- return $({
57
+ function Y(o) {
58
+ return w({
14
59
  props: o,
15
60
  name: "MuiStack",
16
- defaultTheme: I
61
+ defaultTheme: W
17
62
  });
18
63
  }
19
- function W(o, r) {
20
- const c = m.Children.toArray(o).filter(Boolean);
21
- return c.reduce((a, i, n) => (a.push(i), n < c.length - 1 && a.push(/* @__PURE__ */ m.cloneElement(r, {
22
- key: `separator-${n}`
23
- })), a), []);
64
+ function Z(o, r) {
65
+ const t = m.Children.toArray(o).filter(Boolean);
66
+ return t.reduce((n, i, a) => (n.push(i), a < t.length - 1 && n.push(/* @__PURE__ */ m.cloneElement(r, {
67
+ key: `separator-${a}`
68
+ })), n), []);
24
69
  }
25
- const X = (o) => ({
70
+ const z = (o) => ({
26
71
  row: "Left",
27
72
  "row-reverse": "Right",
28
73
  column: "Top",
29
74
  "column-reverse": "Bottom"
30
- })[o], Y = ({
75
+ })[o], H = ({
31
76
  ownerState: o,
32
77
  theme: r
33
78
  }) => {
34
- let c = {
79
+ let t = {
35
80
  display: "flex",
36
81
  flexDirection: "column",
37
- ...g({
82
+ ...b({
38
83
  theme: r
39
84
  }, f({
40
85
  values: o.direction,
41
86
  breakpoints: r.breakpoints.values
42
- }), (a) => ({
43
- flexDirection: a
87
+ }), (n) => ({
88
+ flexDirection: n
44
89
  }))
45
90
  };
46
91
  if (o.spacing) {
47
- const a = C(r), i = Object.keys(r.breakpoints.values).reduce((s, t) => ((typeof o.spacing == "object" && o.spacing[t] != null || typeof o.direction == "object" && o.direction[t] != null) && (s[t] = !0), s), {}), n = f({
92
+ const n = N(r), i = Object.keys(r.breakpoints.values).reduce((s, c) => ((typeof o.spacing == "object" && o.spacing[c] != null || typeof o.direction == "object" && o.direction[c] != null) && (s[c] = !0), s), {}), a = f({
48
93
  values: o.direction,
49
94
  base: i
50
95
  }), l = f({
51
96
  values: o.spacing,
52
97
  base: i
53
98
  });
54
- typeof n == "object" && Object.keys(n).forEach((s, t, p) => {
55
- if (!n[s]) {
56
- const u = t > 0 ? n[p[t - 1]] : "column";
57
- n[s] = u;
99
+ typeof a == "object" && Object.keys(a).forEach((s, c, p) => {
100
+ if (!a[s]) {
101
+ const d = c > 0 ? a[p[c - 1]] : "column";
102
+ a[s] = d;
58
103
  }
59
- }), c = D(c, g({
104
+ }), t = D(t, b({
60
105
  theme: r
61
- }, l, (s, t) => o.useFlexGap ? {
62
- gap: b(a, s)
106
+ }, l, (s, c) => o.useFlexGap ? {
107
+ gap: O(n, s)
63
108
  } : {
64
109
  // The useFlexGap={false} implement relies on each child to give up control of the margin.
65
110
  // We need to reset the margin to avoid double spacing.
@@ -67,42 +112,42 @@ const X = (o) => ({
67
112
  margin: 0
68
113
  },
69
114
  "& > :not(style) ~ :not(style)": {
70
- [`margin${X(t ? n[t] : o.direction)}`]: b(a, s)
115
+ [`margin${z(c ? a[c] : o.direction)}`]: O(n, s)
71
116
  }
72
117
  }));
73
118
  }
74
- return c = R(r.breakpoints, c), c;
119
+ return t = R(r.breakpoints, t), t;
75
120
  };
76
- function q(o = {}) {
121
+ function J(o = {}) {
77
122
  const {
78
123
  // This will allow adding custom styled fn (for example for custom sx style function)
79
- createStyledComponent: r = _,
80
- useThemeProps: c = L,
81
- componentName: a = "MuiStack"
82
- } = o, i = () => M({
124
+ createStyledComponent: r = X,
125
+ useThemeProps: t = Y,
126
+ componentName: n = "MuiStack"
127
+ } = o, i = () => L({
83
128
  root: ["root"]
84
- }, (s) => N(a, s), {}), n = r(Y), l = /* @__PURE__ */ m.forwardRef(function(s, t) {
85
- const p = c(s), y = U(p), {
86
- component: u = "div",
87
- direction: T = "column",
88
- spacing: h = 0,
129
+ }, (s) => I(n, s), {}), a = r(H), l = /* @__PURE__ */ m.forwardRef(function(s, c) {
130
+ const p = t(s), y = B(p), {
131
+ component: d = "div",
132
+ direction: h = "column",
133
+ spacing: k = 0,
89
134
  divider: v,
90
- children: O,
135
+ children: g,
91
136
  className: j,
92
- useFlexGap: k = !1,
93
- ...x
94
- } = y, P = {
95
- direction: T,
96
- spacing: h,
97
- useFlexGap: k
137
+ useFlexGap: x = !1,
138
+ ...C
139
+ } = y, V = {
140
+ direction: h,
141
+ spacing: k,
142
+ useFlexGap: x
98
143
  }, S = i();
99
- return /* @__PURE__ */ w(n, {
100
- as: u,
101
- ownerState: P,
102
- ref: t,
103
- className: V(S.root, j),
104
- ...x,
105
- children: v ? W(O, v) : O
144
+ return /* @__PURE__ */ F(a, {
145
+ as: d,
146
+ ownerState: V,
147
+ ref: c,
148
+ className: P(S.root, j),
149
+ ...C,
150
+ children: v ? Z(g, v) : g
106
151
  });
107
152
  });
108
153
  return process.env.NODE_ENV !== "production" && (l.propTypes = {
@@ -113,18 +158,18 @@ function q(o = {}) {
113
158
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
114
159
  }), l;
115
160
  }
116
- const z = q({
117
- createStyledComponent: B("div", {
161
+ const K = J({
162
+ createStyledComponent: $("div", {
118
163
  name: "MuiStack",
119
164
  slot: "Root",
120
165
  overridesResolver: (o, r) => r.root
121
166
  }),
122
- useThemeProps: (o) => G({
167
+ useThemeProps: (o) => E({
123
168
  props: o,
124
169
  name: "MuiStack"
125
170
  })
126
171
  });
127
- process.env.NODE_ENV !== "production" && (z.propTypes = {
172
+ process.env.NODE_ENV !== "production" && (K.propTypes = {
128
173
  // ┌────────────────────────────── Warning ──────────────────────────────┐
129
174
  // │ These PropTypes are generated from the TypeScript type definitions. │
130
175
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -169,5 +214,5 @@ process.env.NODE_ENV !== "production" && (z.propTypes = {
169
214
  useFlexGap: e.bool
170
215
  });
171
216
  export {
172
- z as S
217
+ K as S
173
218
  };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./generateUtilityClasses-B90hrzv4.cjs"),d=require("./DefaultPropsProvider-DhsUT47i.cjs"),C=require("react"),V=require("react/jsx-runtime"),D=require("./extendSxProp-DG37PMfH.cjs"),N=require("./useThemeProps-qlNnBrri.cjs");function R(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 f=R(C),v=o=>o,q=()=>{let o=v;return{configure(r){o=r},generate(r){return o(r)},reset(){o=v}}},B=q(),G={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function M(o,r,s="Mui"){const t=G[r];return t?`${s}-${t}`:`${B.generate(o)}-${r}`}const $=d.createStyled();function E(o,r,s=void 0){const t={};for(const i in o){const c=o[i];let a="",l=!0;for(let n=0;n<c.length;n+=1){const p=c[n];p&&(a+=(l===!0?"":" ")+r(p),l=!1,s&&s[p]&&(a+=" "+s[p]))}t[i]=a}return t}const w=e.createTheme$1(),F=$("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,r)=>r.root});function _(o){return N.useThemeProps({props:o,name:"MuiStack",defaultTheme:w})}function U(o,r){const s=f.Children.toArray(o).filter(Boolean);return s.reduce((t,i,c)=>(t.push(i),c<s.length-1&&t.push(f.cloneElement(r,{key:`separator-${c}`})),t),[])}const A=o=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[o],z=({ownerState:o,theme:r})=>{let s={display:"flex",flexDirection:"column",...e.handleBreakpoints({theme:r},e.resolveBreakpointValues({values:o.direction,breakpoints:r.breakpoints.values}),t=>({flexDirection:t}))};if(o.spacing){const t=e.createUnarySpacing(r),i=Object.keys(r.breakpoints.values).reduce((n,p)=>((typeof o.spacing=="object"&&o.spacing[p]!=null||typeof o.direction=="object"&&o.direction[p]!=null)&&(n[p]=!0),n),{}),c=e.resolveBreakpointValues({values:o.direction,base:i}),a=e.resolveBreakpointValues({values:o.spacing,base:i});typeof c=="object"&&Object.keys(c).forEach((n,p,u)=>{if(!c[n]){const y=p>0?c[u[p-1]]:"column";c[n]=y}});const l=(n,p)=>o.useFlexGap?{gap:e.getValue(t,n)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${A(p?c[p]:o.direction)}`]:e.getValue(t,n)}};s=e.deepmerge(s,e.handleBreakpoints({theme:r},a,l))}return s=e.mergeBreakpointsInOrder(r.breakpoints,s),s};function I(o={}){const{createStyledComponent:r=F,useThemeProps:s=_,componentName:t="MuiStack"}=o,i=()=>E({root:["root"]},n=>M(t,n),{}),c=r(z),a=f.forwardRef(function(n,p){const u=s(n),T=D.extendSxProp(u),{component:y="div",direction:b="column",spacing:O=0,divider:P,children:m,className:k,useFlexGap:h=!1,...j}=T,x={direction:b,spacing:O,useFlexGap:h},S=i();return V.jsx(c,{as:y,ownerState:x,ref:p,className:e.clsx(S.root,k),...j,children:P?U(m,P):m})});return process.env.NODE_ENV!=="production"&&(a.propTypes={children:e.PropTypes.node,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,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])}),a}const g=I({createStyledComponent:d.styled("div",{name:"MuiStack",slot:"Root",overridesResolver:(o,r)=>r.root}),useThemeProps:o=>d.useDefaultProps({props:o,name:"MuiStack"})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:e.PropTypes.node,component:e.PropTypes.elementType,direction:e.PropTypes.oneOfType([e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"]),e.PropTypes.arrayOf(e.PropTypes.oneOf(["column-reverse","column","row-reverse","row"])),e.PropTypes.object]),divider:e.PropTypes.node,spacing:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string])),e.PropTypes.number,e.PropTypes.object,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]),useFlexGap:e.PropTypes.bool});exports.Stack=g;
@@ -0,0 +1 @@
1
+ "use strict";const m=require("react"),t=require("./generateUtilityClasses-B90hrzv4.cjs"),S=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),k=require("./SwitchBase-D6Hcty5-.cjs"),d=require("./memoTheme-D8ch-Aus.cjs"),p=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-DhsUT47i.cjs"),i=require("./capitalize-CzyXIc5e.cjs"),P=require("./refType-B7SJEv5t.cjs");function $(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,s.get?s:{enumerable:!0,get:()=>e[a]})}}return o.default=e,Object.freeze(o)}const C=$(m);function f(e){return t.generateUtilityClass("MuiSwitch",e)}const r=t.generateUtilityClasses("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),x=e=>{const{classes:o,edge:a,size:s,color:u,checked:y,disabled:h}=e,g={root:["root",a&&`edge${i.capitalize(a)}`,`size${i.capitalize(s)}`],switchBase:["switchBase",`color${i.capitalize(u)}`,y&&"checked",h&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=c.composeClasses(g,f,o);return{...o,...b}},z=c.styled("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:a}=e;return[o.root,a.edge&&o[`edge${i.capitalize(a.edge)}`],o[`size${i.capitalize(a.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${r.thumb}`]:{width:16,height:16},[`& .${r.switchBase}`]:{padding:4,[`&.${r.checked}`]:{transform:"translateX(16px)"}}}}]}),O=c.styled(k.SwitchBase,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,o)=>{const{ownerState:a}=e;return[o.switchBase,{[`& .${r.input}`]:o.input},a.color!=="default"&&o[`color${i.capitalize(a.color)}`]]}})(d.memoTheme(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${r.checked}`]:{transform:"translateX(20px)"},[`&.${r.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${r.checked} + .${r.track}`]:{opacity:.5},[`&.${r.disabled} + .${r.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${r.input}`]:{left:"-100%",width:"300%"}})),d.memoTheme(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:t.alpha(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(S.createSimplePaletteValueFilter(["light"])).map(([o])=>({props:{color:o},style:{[`&.${r.checked}`]:{color:(e.vars||e).palette[o].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[o].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:t.alpha(e.palette[o].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${r.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${o}DisabledColor`]:`${e.palette.mode==="light"?t.lighten(e.palette[o].main,.62):t.darken(e.palette[o].main,.55)}`}},[`&.${r.checked} + .${r.track}`]:{backgroundColor:(e.vars||e).palette[o].main}}}))]}))),j=c.styled("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,o)=>o.track})(d.memoTheme(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),R=c.styled("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,o)=>o.thumb})(d.memoTheme(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),v=C.forwardRef(function(o,a){const s=c.useDefaultProps({props:o,name:"MuiSwitch"}),{className:u,color:y="primary",edge:h=!1,size:g="medium",sx:b,...T}=s,n={...s,color:y,edge:h,size:g},l=x(n),w=p.jsx(R,{className:l.thumb,ownerState:n});return p.jsxs(z,{className:t.clsx(l.root,u),sx:b,ownerState:n,children:[p.jsx(O,{type:"checkbox",icon:w,checkedIcon:w,ref:a,ownerState:n,...T,classes:{...l,root:l.switchBase}}),p.jsx(j,{className:l.track,ownerState:n})]})});process.env.NODE_ENV!=="production"&&(v.propTypes={checked:t.PropTypes.bool,checkedIcon:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,color:t.PropTypes.oneOfType([t.PropTypes.oneOf(["default","primary","secondary","error","info","success","warning"]),t.PropTypes.string]),defaultChecked:t.PropTypes.bool,disabled:t.PropTypes.bool,disableRipple:t.PropTypes.bool,edge:t.PropTypes.oneOf(["end","start",!1]),icon:t.PropTypes.node,id:t.PropTypes.string,inputProps:t.PropTypes.object,inputRef:P.refType,onChange:t.PropTypes.func,required:t.PropTypes.bool,size:t.PropTypes.oneOfType([t.PropTypes.oneOf(["medium","small"]),t.PropTypes.string]),sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),value:t.PropTypes.any});exports.Switch=v;exports.getSwitchUtilityClass=f;exports.switchClasses=r;
@@ -1,11 +1,12 @@
1
1
  import * as k from "react";
2
- import { H as S, I as y, G as $, L as r, n as f, s as C, q as x, P as a } from "./identifier-D58rA1gM.js";
2
+ import { G as S, H as y, I as $, n as v, s as C, q as x, P as a } from "./generateUtilityClasses-SJ1QPUag.js";
3
3
  import { c as z } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
4
- import { S as O } from "./SwitchBase-BAjfatYA.js";
5
- import { m as l } from "./memoTheme-DyiN-Awd.js";
4
+ import { S as O } from "./SwitchBase-hLPPZJfx.js";
5
+ import { m as l } from "./memoTheme-C9GnPENe.js";
6
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-BcmyIf2H.js";
8
- import { r as j } from "./refType-B86yTZra.js";
7
+ import { u as R, s as d, c as B } from "./DefaultPropsProvider-ZFZfNXyN.js";
8
+ import { c as r } from "./capitalize-R3VbHRUv.js";
9
+ import { r as j } from "./refType-D-xpF9tL.js";
9
10
  function M(t) {
10
11
  return y("MuiSwitch", t);
11
12
  }
@@ -131,7 +132,7 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
131
132
  theme: t
132
133
  }) => ({
133
134
  "&:hover": {
134
- backgroundColor: t.vars ? `rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})` : f(t.palette.action.active, t.palette.action.hoverOpacity),
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
136
  // Reset on touch devices, it doesn't add specificity
136
137
  "@media (hover: none)": {
137
138
  backgroundColor: "transparent"
@@ -145,7 +146,7 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
145
146
  [`&.${o.checked}`]: {
146
147
  color: (t.vars || t).palette[e].main,
147
148
  "&:hover": {
148
- backgroundColor: t.vars ? `rgba(${t.vars.palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})` : f(t.palette[e].main, t.palette.action.hoverOpacity),
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
150
  "@media (hover: none)": {
150
151
  backgroundColor: "transparent"
151
152
  }
@@ -203,7 +204,7 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
203
204
  color: u,
204
205
  edge: g,
205
206
  size: h
206
- }, n = N(i), v = /* @__PURE__ */ w(U, {
207
+ }, n = N(i), f = /* @__PURE__ */ w(U, {
207
208
  className: n.thumb,
208
209
  ownerState: i
209
210
  });
@@ -213,8 +214,8 @@ const o = S("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
213
214
  ownerState: i,
214
215
  children: [/* @__PURE__ */ w(P, {
215
216
  type: "checkbox",
216
- icon: v,
217
- checkedIcon: v,
217
+ icon: f,
218
+ checkedIcon: f,
218
219
  ref: s,
219
220
  ownerState: i,
220
221
  ...m,
@@ -0,0 +1 @@
1
+ "use strict";const M=require("react"),e=require("./generateUtilityClasses-B90hrzv4.cjs"),l=require("./DefaultPropsProvider-DhsUT47i.cjs"),V=require("./useFormControl-haP0iPhl.cjs"),B=require("react/jsx-runtime"),$=require("./useControlled-Ysk4KqoX.cjs"),A=require("./capitalize-CzyXIc5e.cjs"),G=require("./ButtonBase-DIunRlDS.cjs"),H=require("./refType-B7SJEv5t.cjs");function J(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,a.get?a:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const K=J(M);function Q(o){return e.generateUtilityClass("PrivateSwitchBase",o)}e.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const W=o=>{const{classes:s,checked:r,disabled:a,edge:i}=o,p={root:["root",r&&"checked",a&&"disabled",i&&`edge${A.capitalize(i)}`],input:["input"]};return l.composeClasses(p,Q,s)},X=l.styled(G.ButtonBase)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:o,ownerState:s})=>o==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:o,ownerState:s})=>o==="end"&&s.size!=="small",style:{marginRight:-12}}]}),Y=l.styled("input",{shouldForwardProp:l.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),C=K.forwardRef(function(s,r){const{autoFocus:a,checked:i,checkedIcon:p,className:w,defaultChecked:f,disabled:F,disableFocusRipple:y=!1,edge:R=!1,icon:S,id:q,inputProps:x,inputRef:O,name:j,onBlur:h,onChange:b,onFocus:g,readOnly:I,required:v=!1,tabIndex:z,type:d,value:P,...N}=s,[m,U]=$.useControlled({controlled:i,default:!!f,name:"SwitchBase",state:"checked"}),n=V.useFormControl(),D=t=>{g&&g(t),n&&n.onFocus&&n.onFocus(t)},E=t=>{h&&h(t),n&&n.onBlur&&n.onBlur(t)},_=t=>{if(t.nativeEvent.defaultPrevented)return;const k=t.target.checked;U(k),b&&b(t,k)};let c=F;n&&typeof c>"u"&&(c=n.disabled);const L=d==="checkbox"||d==="radio",u={...s,checked:m,disabled:c,disableFocusRipple:y,edge:R},T=W(u);return B.jsxs(X,{component:"span",className:e.clsx(T.root,w),centerRipple:!0,focusRipple:!y,disabled:c,tabIndex:null,role:void 0,onFocus:D,onBlur:E,ownerState:u,ref:r,...N,children:[B.jsx(Y,{autoFocus:a,checked:i,defaultChecked:f,className:T.input,disabled:c,id:L?q:void 0,name:j,onChange:_,readOnly:I,ref:O,required:v,ownerState:u,tabIndex:z,type:d,...d==="checkbox"&&P===void 0?{}:{value:P},...x}),m?p:S]})});process.env.NODE_ENV!=="production"&&(C.propTypes={autoFocus:e.PropTypes.bool,checked:e.PropTypes.bool,checkedIcon:e.PropTypes.node.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,defaultChecked:e.PropTypes.bool,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,edge:e.PropTypes.oneOf(["end","start",!1]),icon:e.PropTypes.node.isRequired,id:e.PropTypes.string,inputProps:e.PropTypes.object,inputRef:H.refType,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,readOnly:e.PropTypes.bool,required:e.PropTypes.bool,sx:e.PropTypes.object,tabIndex:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),type:e.PropTypes.string.isRequired,value:e.PropTypes.any});exports.SwitchBase=C;