@cgi-learning-hub/ui 1.7.0 → 1.8.0-dev.1756195117

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 (330) hide show
  1. package/dist/Alert-CCAddvmN.cjs +1 -0
  2. package/dist/{Alert-OeEy_IGc.js → Alert-CY0ot7Q9.js} +7 -7
  3. package/dist/Alert-Dqk8yUzj.cjs +1 -0
  4. package/dist/{Alert-BhLIlUBu.js → Alert-bpzERS3n.js} +85 -84
  5. package/dist/{Autocomplete-WZw_zCjA.js → Autocomplete-C58-IF0F.js} +692 -675
  6. package/dist/Autocomplete-Dr_nOPLP.cjs +6 -0
  7. package/dist/{Backdrop-CjZYrxkZ.js → Backdrop-BKhYF22u.js} +39 -38
  8. package/dist/Backdrop-D0LHg40V.cjs +1 -0
  9. package/dist/Badge-BLQ9lQDm.cjs +1 -0
  10. package/dist/{Badge-Bwcsnbsa.js → Badge-BYxYuye1.js} +11 -10
  11. package/dist/{Box-BI4osO9v.js → Box-CQ3BMNr_.js} +4 -4
  12. package/dist/Box-VEPJVs-3.cjs +1 -0
  13. package/dist/Button-7-ViQGIl.cjs +1 -0
  14. package/dist/{Button-DDV5EfwJ.js → Button-Bb0YW9kM.js} +162 -125
  15. package/dist/{ButtonBase-Dp6sf_dP.cjs → ButtonBase-B1T-Lqz2.cjs} +1 -1
  16. package/dist/{ButtonBase-6TF6t2SP.js → ButtonBase-BEtR8-Lv.js} +7 -7
  17. package/dist/CardContent-DHsA4vHZ.cjs +1 -0
  18. package/dist/{CardContent-D3uGcxlr.js → CardContent-D_O38a2P.js} +4 -4
  19. package/dist/{Checkbox-BfBDowB2.js → Checkbox-BUc4uLEm.js} +85 -84
  20. package/dist/Checkbox-CCUAaeKc.cjs +1 -0
  21. package/dist/Chip-BqD6kZQu.js +574 -0
  22. package/dist/Chip-Gtwf_H4u.cjs +1 -0
  23. package/dist/CircularProgress-9SSFT_JT.cjs +28 -0
  24. package/dist/{CircularProgress-DZuYTFz-.js → CircularProgress-DLHunSUI.js} +15 -14
  25. package/dist/{Close-DEMecSZ6.js → Close-Bfa6kvKL.js} +1 -1
  26. package/dist/{Close-7S2hSoFB.cjs → Close-DgAWdt-h.cjs} +1 -1
  27. package/dist/{CloseRounded-CioV1GK3.js → CloseRounded-BmxvxW3h.js} +1 -1
  28. package/dist/{CloseRounded-DS-4-gMR.cjs → CloseRounded-Cmyp8ExI.cjs} +1 -1
  29. package/dist/{CustomTreeItem-Bg8Ub4dn.cjs → CustomTreeItem-CAWvvti1.cjs} +3 -3
  30. package/dist/{CustomTreeItem-B9FylIhL.js → CustomTreeItem-R9JdfW5S.js} +19 -19
  31. package/dist/{DatePicker-DasS2wq6.js → DatePicker-CPl6e2jQ.js} +2766 -2762
  32. package/dist/DatePicker-DzmgZZm2.cjs +16 -0
  33. package/dist/DefaultPropsProvider--EgnwFDi.cjs +1 -0
  34. package/dist/DefaultPropsProvider-BwYGfRVu.js +312 -0
  35. package/dist/{Delete-B5VTV71K.js → Delete-BbsnDAxB.js} +1 -1
  36. package/dist/{Delete-BvkBJXEM.cjs → Delete-CP1l1lK0.cjs} +1 -1
  37. package/dist/{Dialog-DEWB041V.js → Dialog-Bopi9166.js} +18 -17
  38. package/dist/Dialog-DBeA-P-5.cjs +1 -0
  39. package/dist/{DialogContent-C294EkoQ.js → DialogContent-BjQDm7Pm.js} +4 -4
  40. package/dist/DialogContent-LhC5HOzk.cjs +1 -0
  41. package/dist/DialogTitle-BngRm8Ai.cjs +1 -0
  42. package/dist/{DialogTitle-BSiId6Q1.js → DialogTitle-Bo0Gi01d.js} +6 -6
  43. package/dist/Divider-BMvxID38.cjs +1 -0
  44. package/dist/{Divider-kKp4VqHh.js → Divider-DY0U9aTK.js} +27 -27
  45. package/dist/{Folder-BgQP5-Ve.js → Folder-BEocKcZQ.js} +1 -1
  46. package/dist/{Folder-BfLBqDHM.cjs → Folder-DH_JFLkH.cjs} +1 -1
  47. package/dist/{FormLabel-B3WAnPGP.js → FormLabel-BfxjK0e6.js} +17 -16
  48. package/dist/FormLabel-D8szBNPL.cjs +2 -0
  49. package/dist/Grid-BK4F7WMn.cjs +2 -0
  50. package/dist/{Grid-DFk-4jnZ.js → Grid-BcHG0Tju.js} +83 -75
  51. package/dist/{Grow-BULCy6GX.cjs → Grow-CYNh0mFI.cjs} +1 -1
  52. package/dist/{Grow-BfjkXlG8.js → Grow-DIADFmT4.js} +4 -4
  53. package/dist/{IconButton-BYvak8Nw.js → IconButton-Bkyl-NVE.js} +60 -59
  54. package/dist/IconButton-CW3Ax1Re.cjs +2 -0
  55. package/dist/InputAdornment-CUNCJ9uu.cjs +1 -0
  56. package/dist/{InputAdornment-BBZXvhZ-.js → InputAdornment-RdcIDDtB.js} +16 -15
  57. package/dist/{InputBase-BS5oknUK.js → InputBase-BQvkpGXw.js} +52 -51
  58. package/dist/InputBase-DlQ4AmeL.cjs +4 -0
  59. package/dist/Link-BSTFC-cm.cjs +1 -0
  60. package/dist/{Link-DYPjEdvu.js → Link-B_3z4AZj.js} +81 -67
  61. package/dist/{List-CB_cqCSw.js → List-3IHU9lAZ.js} +3 -3
  62. package/dist/List-D6OWN6pC.cjs +1 -0
  63. package/dist/{ListItem-DAZQEir2.js → ListItem-C40mdSeT.js} +6 -6
  64. package/dist/ListItem-DAW9xSDR.cjs +1 -0
  65. package/dist/ListItemText-CSkIbczH.cjs +1 -0
  66. package/dist/{ListItemText-qfdqJP77.js → ListItemText-DKZYTXDc.js} +139 -139
  67. package/dist/{Menu-C61wLk41.cjs → Menu-CYG4lAV5.cjs} +5 -5
  68. package/dist/{Menu-9BK8jmzW.js → Menu-v2809GzG.js} +14 -14
  69. package/dist/MenuItem-CE1zzd3t.cjs +1 -0
  70. package/dist/{MenuItem-C8nduSzJ.js → MenuItem-CtaUN7Tf.js} +94 -94
  71. package/dist/{Modal-D3Q9vEAI.js → Modal-5Sd-onxN.js} +8 -8
  72. package/dist/Modal-Czds3gRe.cjs +2 -0
  73. package/dist/{MoreVert-C_W1m_Z_.js → MoreVert-D8Vmampk.js} +1 -1
  74. package/dist/{MoreVert-C-Rhn-xK.cjs → MoreVert-oRU8DXq_.cjs} +1 -1
  75. package/dist/{Paper-IQckggbn.js → Paper-CVfXywZr.js} +5 -5
  76. package/dist/Paper-DfgCIvIc.cjs +2 -0
  77. package/dist/{Popper-CfFLBZ7-.js → Popper-AaewvJPc.js} +7 -7
  78. package/dist/Popper-D7N2KmyK.cjs +4 -0
  79. package/dist/Portal-Cmv45gpL.cjs +1 -0
  80. package/dist/{Portal-BlK6ttxt.js → Portal-PkRJuFYN.js} +17 -17
  81. package/dist/{Radio-DKiu6lVB.js → Radio-CJMMhGKK.js} +196 -190
  82. package/dist/Radio-DSTF6-0u.cjs +1 -0
  83. package/dist/RadioGroup-Dv2H8eCy.cjs +1 -0
  84. package/dist/{RadioGroup-DFKMlNWO.js → RadioGroup-HN8d8Ia5.js} +4 -4
  85. package/dist/{Select-CpNF3a57.js → Select-B3A-Agfw.js} +643 -608
  86. package/dist/Select-Dx8bhqFc.cjs +3 -0
  87. package/dist/Stack-BLHXEe7p.cjs +1 -0
  88. package/dist/{Stack-DSJ2DqNd.js → Stack-Dxm_cNN7.js} +17 -17
  89. package/dist/{Stepper-DE2l91K0.js → Stepper-BzU8ArmD.js} +24 -23
  90. package/dist/Stepper-DKRSy-u6.cjs +1 -0
  91. package/dist/{Switch-BIcwDf_P.js → Switch-Kkgo0WAh.js} +103 -99
  92. package/dist/Switch-pAIsJqNE.cjs +1 -0
  93. package/dist/{SwitchBase-DZV8S81Z.js → SwitchBase-D25OhIzI.js} +47 -43
  94. package/dist/SwitchBase-Rj-rHz4Z.cjs +1 -0
  95. package/dist/{Tab-Ckr6Bn59.js → Tab-CD-dlBpG.js} +29 -28
  96. package/dist/Tab-DAnZTr_J.cjs +4 -0
  97. package/dist/TextField-BOV-t6n5.cjs +1 -0
  98. package/dist/{TextField-BenBw4oE.js → TextField-hWLcPKMC.js} +25 -24
  99. package/dist/{ToggleButtonGroup-DhtAoGtM.js → ToggleButtonGroup-DnkyxRyH.js} +2192 -2136
  100. package/dist/ToggleButtonGroup-tZHZu6VI.cjs +138 -0
  101. package/dist/{Tooltip-KkgNQm4r.js → Tooltip-Dyhu9Axq.js} +87 -86
  102. package/dist/Tooltip-uaa7kSpb.cjs +4 -0
  103. package/dist/{Typography-Dy8r_tT2.js → Typography-BCrXGKM_.js} +8 -7
  104. package/dist/Typography-CzfDwsAP.cjs +1 -0
  105. package/dist/capitalize-CqfTUOe6.js +9 -0
  106. package/dist/capitalize-nmXHj--f.cjs +1 -0
  107. package/dist/components/ActionBar/ActionBar.cjs.js +1 -0
  108. package/dist/components/ActionBar/ActionBar.d.ts +3 -0
  109. package/dist/components/ActionBar/ActionBar.es.js +63 -0
  110. package/dist/components/ActionBar/index.cjs.js +1 -0
  111. package/dist/components/ActionBar/index.d.ts +2 -0
  112. package/dist/components/ActionBar/index.es.js +4 -0
  113. package/dist/components/ActionBar/style.cjs.js +1 -0
  114. package/dist/components/ActionBar/style.es.js +61 -0
  115. package/dist/components/ActionBar/types.cjs.js +1 -0
  116. package/dist/components/ActionBar/types.d.ts +17 -0
  117. package/dist/components/ActionBar/types.es.js +1 -0
  118. package/dist/components/Alert/Alert.cjs.js +1 -1
  119. package/dist/components/Alert/Alert.es.js +4 -4
  120. package/dist/components/Alert/index.cjs.js +1 -1
  121. package/dist/components/Alert/index.es.js +1 -1
  122. package/dist/components/Button/Button.cjs.js +1 -1
  123. package/dist/components/Button/Button.es.js +2 -2
  124. package/dist/components/ColorPicker/ColorPicker.cjs.js +4 -4
  125. package/dist/components/ColorPicker/ColorPicker.es.js +64 -64
  126. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  127. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  128. package/dist/components/DatePicker/index.cjs.js +1 -1
  129. package/dist/components/DatePicker/index.es.js +1 -1
  130. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  131. package/dist/components/Dialog/Dialog.es.js +2 -2
  132. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  133. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  134. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  135. package/dist/components/EmptyState/EmptyState.d.ts +1 -0
  136. package/dist/components/EmptyState/EmptyState.es.js +22 -20
  137. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  138. package/dist/components/FileList/FileIcon.es.js +1 -1
  139. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  140. package/dist/components/FileList/FileListItem.es.js +4 -4
  141. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  142. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  143. package/dist/components/Heading/Heading.cjs.js +1 -1
  144. package/dist/components/Heading/Heading.es.js +2 -2
  145. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  146. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  147. package/dist/components/Loader/Loader.cjs.js +1 -1
  148. package/dist/components/Loader/Loader.es.js +1 -1
  149. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  150. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  151. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  152. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  153. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  154. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  155. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  156. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  157. package/dist/components/TreeView/TreeView.cjs.js +2 -2
  158. package/dist/components/TreeView/TreeView.es.js +41 -41
  159. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  160. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  161. package/dist/components/TreeView/types.d.ts +1 -0
  162. package/dist/components/TreeView/utils.cjs.js +1 -1
  163. package/dist/components/TreeView/utils.es.js +3 -3
  164. package/dist/components/index.cjs.js +1 -1
  165. package/dist/components/index.d.ts +2 -1
  166. package/dist/components/index.es.js +302 -300
  167. package/dist/components/stories/ActionBar.stories.cjs.js +1 -0
  168. package/dist/components/stories/ActionBar.stories.d.ts +11 -0
  169. package/dist/components/stories/ActionBar.stories.es.js +206 -0
  170. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  171. package/dist/components/stories/Alert.stories.es.js +1 -1
  172. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  173. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  174. package/dist/components/stories/Badge.stories.cjs.js +1 -1
  175. package/dist/components/stories/Badge.stories.es.js +2 -2
  176. package/dist/components/stories/Button.stories.cjs.js +1 -1
  177. package/dist/components/stories/Button.stories.es.js +1 -1
  178. package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
  179. package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
  180. package/dist/components/stories/Card.stories.cjs.js +1 -1
  181. package/dist/components/stories/Card.stories.es.js +2 -2
  182. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  183. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  184. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  185. package/dist/components/stories/Chip.stories.es.js +1 -1
  186. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  187. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  188. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  189. package/dist/components/stories/Dialog.stories.es.js +2 -2
  190. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  191. package/dist/components/stories/Divider.stories.es.js +1 -1
  192. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  193. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  194. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  195. package/dist/components/stories/Heading.stories.es.js +2 -2
  196. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  197. package/dist/components/stories/IconButton.stories.es.js +2 -2
  198. package/dist/components/stories/Link.stories.cjs.js +1 -1
  199. package/dist/components/stories/Link.stories.es.js +1 -1
  200. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  201. package/dist/components/stories/Menu.stories.es.js +2 -2
  202. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  203. package/dist/components/stories/Paper.stories.es.js +1 -1
  204. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  205. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  206. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  207. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  208. package/dist/components/stories/Select.stories.cjs.js +1 -1
  209. package/dist/components/stories/Select.stories.es.js +3 -3
  210. package/dist/components/stories/Stepper.stories.cjs.js +1 -1
  211. package/dist/components/stories/Stepper.stories.es.js +4 -4
  212. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  213. package/dist/components/stories/TabList.stories.es.js +1 -1
  214. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  215. package/dist/components/stories/TextField.stories.es.js +1 -1
  216. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  217. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  218. package/dist/components/stories/TreeView.stories.cjs.js +1 -1
  219. package/dist/components/stories/TreeView.stories.es.js +12 -12
  220. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  221. package/dist/components/stories/Typography.stories.es.js +1 -1
  222. package/dist/composeClasses-CF8TNlsM.cjs +1 -0
  223. package/dist/composeClasses-YZNMOb8-.js +51 -0
  224. package/dist/{createSvgIcon-B1E6Wo8z.js → createSvgIcon-CjBLQGwH.js} +9 -8
  225. package/dist/createSvgIcon-D6Bf0D-L.cjs +1 -0
  226. package/dist/dividerClasses-B-pTb1RM.cjs +1 -0
  227. package/dist/{dividerClasses-BPJZ8SFy.js → dividerClasses-DaeUd1Wt.js} +1 -1
  228. package/dist/{elementAcceptingRef-CEweUuUA.js → elementAcceptingRef-CZLfau9O.js} +1 -1
  229. package/dist/{elementAcceptingRef-BZ42cOGO.cjs → elementAcceptingRef-CuMilXz3.cjs} +1 -1
  230. package/dist/{elementTypeAcceptingRef-DOeckaXy.js → elementTypeAcceptingRef-vRb2iI4O.js} +1 -1
  231. package/dist/{elementTypeAcceptingRef-BwZv9xBI.cjs → elementTypeAcceptingRef-vjR5jGLx.cjs} +1 -1
  232. package/dist/extendSxProp-B7ear6Mt.cjs +1 -0
  233. package/dist/{extendSxProp-CesAxox9.js → extendSxProp-CYcZXmNy.js} +1 -1
  234. package/dist/generateUtilityClasses-BMLLB4Uz.cjs +55 -0
  235. package/dist/generateUtilityClasses-BSBs8sf8.js +2703 -0
  236. package/dist/{index-Sy88PpwE.js → index-B9vkf41S.js} +2 -2
  237. package/dist/{index-DIyAQH20.cjs → index-BS46Ff4t.cjs} +1 -1
  238. package/dist/{index-DX2Sl0Ig.js → index-Ba4TEBpP.js} +1 -1
  239. package/dist/index-C7LHZznM.cjs +1 -0
  240. package/dist/{index-CX0sAlmK.js → index-CJMnfcQs.js} +1 -1
  241. package/dist/{index-CrINMjCH.cjs → index-D_kvDIOz.cjs} +1 -1
  242. package/dist/{index-8G2jvqZ8.js → index-DoJhn5B5.js} +48 -42
  243. package/dist/{index-DLnSn8GT.cjs → index-kjfz41UI.cjs} +1 -1
  244. package/dist/index.cjs.js +1 -1
  245. package/dist/index.es.js +302 -300
  246. package/dist/{listItemTextClasses-B5VhLd9W.js → listItemTextClasses-BXp3ggQU.js} +1 -1
  247. package/dist/listItemTextClasses-DbXYCyua.cjs +1 -0
  248. package/dist/{memoTheme-BKfsJx_F.cjs → memoTheme-DZ3r2a_u.cjs} +1 -1
  249. package/dist/{memoTheme-DAFDflPY.js → memoTheme-_Lq-6t75.js} +1 -1
  250. package/dist/{mergeSlotProps-ChAye7iz.js → mergeSlotProps-BauotErM.js} +1 -1
  251. package/dist/mergeSlotProps-DxEGON0Z.cjs +1 -0
  252. package/dist/{refType-Dp7CJc86.js → refType-8hihVLUh.js} +1 -1
  253. package/dist/{refType-B_IEJm4x.cjs → refType-DJyA--UV.cjs} +1 -1
  254. package/dist/useSlot-BQ5B4uxv.cjs +1 -0
  255. package/dist/{useSlot-BzdKwDQ5.js → useSlot-EJyrOSVX.js} +1 -1
  256. package/dist/{useSlotProps-CrQGQLdL.cjs → useSlotProps-BgLi3k0l.cjs} +1 -1
  257. package/dist/{useSlotProps-DdMuGelR.js → useSlotProps-Dqdl-VjK.js} +1 -1
  258. package/dist/useTheme-B-uC25ym.js +11 -0
  259. package/dist/useTheme-BF7BEGuC.cjs +1 -0
  260. package/dist/useTheme-Bp-Kqg9p.cjs +1 -0
  261. package/dist/{useTheme--i9fxE_A.js → useTheme-DiTK5w6x.js} +1 -1
  262. package/dist/useThemeProps-BPpcxcBc.cjs +1 -0
  263. package/dist/{useThemeProps-B9E_wuN9.cjs → useThemeProps-BR4m1AIN.cjs} +1 -1
  264. package/dist/{useThemeProps-B4VFkcP0.js → useThemeProps-Ddl3KJ8f.js} +4 -4
  265. package/dist/useThemeProps-zsxJokxk.js +17 -0
  266. package/dist/{utils-BQenyzDz.js → utils-B_pVp6UZ.js} +3 -3
  267. package/dist/utils-XujN9ndp.cjs +1 -0
  268. package/package.json +7 -7
  269. package/dist/Alert-DPSZppEy.cjs +0 -1
  270. package/dist/Alert-rPyl-bqs.cjs +0 -1
  271. package/dist/Autocomplete-BdPO9SAd.cjs +0 -6
  272. package/dist/Backdrop-DeNTZlA5.cjs +0 -1
  273. package/dist/Badge-DFzvdVS-.cjs +0 -1
  274. package/dist/Box-DR3n_po_.cjs +0 -1
  275. package/dist/Button-DyJV5llI.cjs +0 -1
  276. package/dist/CardContent-COfaU6E0.cjs +0 -1
  277. package/dist/Checkbox-3hTSv0EZ.cjs +0 -1
  278. package/dist/Chip-BG0OU0KI.cjs +0 -1
  279. package/dist/Chip-DmjZbx_X.js +0 -572
  280. package/dist/CircularProgress-CXXyPavb.cjs +0 -28
  281. package/dist/DatePicker-CH8XRum0.cjs +0 -16
  282. package/dist/DefaultPropsProvider-Cnf49AIv.cjs +0 -1
  283. package/dist/DefaultPropsProvider-DqazQPtr.js +0 -306
  284. package/dist/Dialog-Btagj_Gt.cjs +0 -1
  285. package/dist/DialogContent-DXfUge3c.cjs +0 -1
  286. package/dist/DialogTitle-y2PrK6uU.cjs +0 -1
  287. package/dist/Divider-NermA5hZ.cjs +0 -1
  288. package/dist/FormLabel-JrZR9kt8.cjs +0 -2
  289. package/dist/Grid-BHYQ3JNy.cjs +0 -2
  290. package/dist/IconButton-CjtMjZ9e.cjs +0 -2
  291. package/dist/InputAdornment-DvHQMisT.cjs +0 -1
  292. package/dist/InputBase-DPdKpmOz.cjs +0 -4
  293. package/dist/Link-BwbY60dS.cjs +0 -1
  294. package/dist/List-t9bWFewp.cjs +0 -1
  295. package/dist/ListItem-DP7YmqZk.cjs +0 -1
  296. package/dist/ListItemText-cVnimPLO.cjs +0 -1
  297. package/dist/MenuItem-DHM3qxwr.cjs +0 -1
  298. package/dist/Modal-DkzrSKHd.cjs +0 -2
  299. package/dist/Paper-BbqZL5vx.cjs +0 -2
  300. package/dist/Popper-DvWx5tR3.cjs +0 -4
  301. package/dist/Portal-CPOCKeMh.cjs +0 -1
  302. package/dist/Radio-Bwh_t6PC.cjs +0 -1
  303. package/dist/RadioGroup-Cvnwt4JE.cjs +0 -1
  304. package/dist/Select-3HP39Z7o.cjs +0 -3
  305. package/dist/Stack-CIyfgZCM.cjs +0 -1
  306. package/dist/Stepper-CXHfLPtA.cjs +0 -1
  307. package/dist/Switch-CTEqKDiv.cjs +0 -1
  308. package/dist/SwitchBase-P3zHVmLX.cjs +0 -1
  309. package/dist/Tab-r5imbU9z.cjs +0 -4
  310. package/dist/TextField-Brw3X9cn.cjs +0 -1
  311. package/dist/ToggleButtonGroup-CA1cSosV.cjs +0 -138
  312. package/dist/Tooltip-BAOKe3SY.cjs +0 -4
  313. package/dist/Typography-CSTmKyr8.cjs +0 -1
  314. package/dist/createSvgIcon-IET9soda.cjs +0 -1
  315. package/dist/dividerClasses-C07OJKLL.cjs +0 -1
  316. package/dist/extendSxProp-ZMCunXYm.cjs +0 -1
  317. package/dist/identifier-BoZelETM.cjs +0 -55
  318. package/dist/identifier-PWESmBq6.js +0 -2598
  319. package/dist/index-D3lMWU76.cjs +0 -1
  320. package/dist/listItemTextClasses-CJDKfXvl.cjs +0 -1
  321. package/dist/mergeSlotProps-DXwOW3FE.cjs +0 -1
  322. package/dist/styled-C7gyRDlj.js +0 -5
  323. package/dist/styled-Cax0O00h.cjs +0 -1
  324. package/dist/useSlot-C2FjoUpF.cjs +0 -1
  325. package/dist/useTheme-BLMJDSsv.cjs +0 -1
  326. package/dist/useTheme-CooC_6Ep.cjs +0 -1
  327. package/dist/useTheme-XJ9sFCWX.js +0 -11
  328. package/dist/useThemeProps-C1A3rnbh.cjs +0 -1
  329. package/dist/useThemeProps-CQ9rZe7g.js +0 -17
  330. package/dist/utils-ByXw_ZY1.cjs +0 -1
@@ -1,49 +1,50 @@
1
- import * as P from "react";
2
- import { P as e } from "./index-Sy88PpwE.js";
3
- import { F as j, G as R, H as M, K as n, n as S, s as N, q as D } from "./identifier-PWESmBq6.js";
4
- import { c as I } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
5
- import { S as U } from "./SwitchBase-DZV8S81Z.js";
6
- import { m as d } from "./memoTheme-DAFDflPY.js";
7
- import { u as y } from "./useSlot-BzdKwDQ5.js";
8
- import { jsx as v, jsxs as E } from "react/jsx-runtime";
9
- import { u as F, s as u, c as q } from "./DefaultPropsProvider-DqazQPtr.js";
10
- import { r as A } from "./refType-Dp7CJc86.js";
11
- function V(t) {
12
- return R("MuiSwitch", t);
1
+ import * as z from "react";
2
+ import { P as o } from "./index-B9vkf41S.js";
3
+ import { F as P, G as j, H as R } from "./generateUtilityClasses-BSBs8sf8.js";
4
+ import { c as M } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
5
+ import { S as N } from "./SwitchBase-D25OhIzI.js";
6
+ import { m as d } from "./memoTheme-_Lq-6t75.js";
7
+ import { u as y } from "./useSlot-EJyrOSVX.js";
8
+ import { jsx as k, jsxs as D } from "react/jsx-runtime";
9
+ import { u as I, s as u, c as U } from "./DefaultPropsProvider-BwYGfRVu.js";
10
+ import { c as n } from "./capitalize-CqfTUOe6.js";
11
+ import { r as E } from "./refType-8hihVLUh.js";
12
+ function F(t) {
13
+ return j("MuiSwitch", t);
13
14
  }
14
- const a = j("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium", "checked", "disabled", "input", "thumb", "track"]), X = (t) => {
15
+ const a = P("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium", "checked", "disabled", "input", "thumb", "track"]), A = (t) => {
15
16
  const {
16
- classes: o,
17
+ classes: e,
17
18
  edge: s,
18
19
  size: p,
19
20
  color: h,
20
21
  checked: f,
21
22
  disabled: b
22
- } = t, g = {
23
+ } = t, w = {
23
24
  root: ["root", s && `edge${n(s)}`, `size${n(p)}`],
24
25
  switchBase: ["switchBase", `color${n(h)}`, f && "checked", b && "disabled"],
25
26
  thumb: ["thumb"],
26
27
  track: ["track"],
27
28
  input: ["input"]
28
- }, m = q(g, V, o);
29
+ }, g = U(w, F, e);
29
30
  return {
30
- ...o,
31
+ ...e,
31
32
  // forward the disabled and checked classes to the SwitchBase
32
- ...m
33
+ ...g
33
34
  };
34
- }, G = u("span", {
35
+ }, V = u("span", {
35
36
  name: "MuiSwitch",
36
37
  slot: "Root",
37
- overridesResolver: (t, o) => {
38
+ overridesResolver: (t, e) => {
38
39
  const {
39
40
  ownerState: s
40
41
  } = t;
41
- return [o.root, s.edge && o[`edge${n(s.edge)}`], o[`size${n(s.size)}`]];
42
+ return [e.root, s.edge && e[`edge${n(s.edge)}`], e[`size${n(s.size)}`]];
42
43
  }
43
44
  })({
44
45
  display: "inline-flex",
45
- width: 34 + 12 * 2,
46
- height: 14 + 12 * 2,
46
+ width: 58,
47
+ height: 38,
47
48
  overflow: "hidden",
48
49
  padding: 12,
49
50
  boxSizing: "border-box",
@@ -90,16 +91,16 @@ const a = j("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
90
91
  }
91
92
  }
92
93
  }]
93
- }), H = u(U, {
94
+ }), X = u(N, {
94
95
  name: "MuiSwitch",
95
96
  slot: "SwitchBase",
96
- overridesResolver: (t, o) => {
97
+ overridesResolver: (t, e) => {
97
98
  const {
98
99
  ownerState: s
99
100
  } = t;
100
- return [o.switchBase, {
101
- [`& .${a.input}`]: o.input
102
- }, s.color !== "default" && o[`color${n(s.color)}`]];
101
+ return [e.switchBase, {
102
+ [`& .${a.input}`]: e.input
103
+ }, s.color !== "default" && e[`color${n(s.color)}`]];
103
104
  }
104
105
  })(d(({
105
106
  theme: t
@@ -133,35 +134,35 @@ const a = j("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
133
134
  theme: t
134
135
  }) => ({
135
136
  "&:hover": {
136
- backgroundColor: t.vars ? `rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})` : S(t.palette.action.active, t.palette.action.hoverOpacity),
137
+ backgroundColor: t.alpha((t.vars || t).palette.action.active, (t.vars || t).palette.action.hoverOpacity),
137
138
  // Reset on touch devices, it doesn't add specificity
138
139
  "@media (hover: none)": {
139
140
  backgroundColor: "transparent"
140
141
  }
141
142
  },
142
- variants: [...Object.entries(t.palette).filter(I(["light"])).map(([o]) => ({
143
+ variants: [...Object.entries(t.palette).filter(M(["light"])).map(([e]) => ({
143
144
  props: {
144
- color: o
145
+ color: e
145
146
  },
146
147
  style: {
147
148
  [`&.${a.checked}`]: {
148
- color: (t.vars || t).palette[o].main,
149
+ color: (t.vars || t).palette[e].main,
149
150
  "&:hover": {
150
- backgroundColor: t.vars ? `rgba(${t.vars.palette[o].mainChannel} / ${t.vars.palette.action.hoverOpacity})` : S(t.palette[o].main, t.palette.action.hoverOpacity),
151
+ backgroundColor: t.alpha((t.vars || t).palette[e].main, (t.vars || t).palette.action.hoverOpacity),
151
152
  "@media (hover: none)": {
152
153
  backgroundColor: "transparent"
153
154
  }
154
155
  },
155
156
  [`&.${a.disabled}`]: {
156
- color: t.vars ? t.vars.palette.Switch[`${o}DisabledColor`] : `${t.palette.mode === "light" ? N(t.palette[o].main, 0.62) : D(t.palette[o].main, 0.55)}`
157
+ color: t.vars ? t.vars.palette.Switch[`${e}DisabledColor`] : `${t.palette.mode === "light" ? t.lighten(t.palette[e].main, 0.62) : t.darken(t.palette[e].main, 0.55)}`
157
158
  }
158
159
  },
159
160
  [`&.${a.checked} + .${a.track}`]: {
160
- backgroundColor: (t.vars || t).palette[o].main
161
+ backgroundColor: (t.vars || t).palette[e].main
161
162
  }
162
163
  }
163
164
  }))]
164
- }))), K = u("span", {
165
+ }))), q = u("span", {
165
166
  name: "MuiSwitch",
166
167
  slot: "Track"
167
168
  })(d(({
@@ -176,7 +177,7 @@ const a = j("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
176
177
  }),
177
178
  backgroundColor: t.vars ? t.vars.palette.common.onBackground : `${t.palette.mode === "light" ? t.palette.common.black : t.palette.common.white}`,
178
179
  opacity: t.vars ? t.vars.opacity.switchTrack : `${t.palette.mode === "light" ? 0.38 : 0.3}`
179
- }))), L = u("span", {
180
+ }))), G = u("span", {
180
181
  name: "MuiSwitch",
181
182
  slot: "Thumb"
182
183
  })(d(({
@@ -187,57 +188,57 @@ const a = j("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
187
188
  width: 20,
188
189
  height: 20,
189
190
  borderRadius: "50%"
190
- }))), _ = /* @__PURE__ */ P.forwardRef(function(o, s) {
191
- const p = F({
192
- props: o,
191
+ }))), H = /* @__PURE__ */ z.forwardRef(function(e, s) {
192
+ const p = I({
193
+ props: e,
193
194
  name: "MuiSwitch"
194
195
  }), {
195
196
  className: h,
196
197
  color: f = "primary",
197
198
  edge: b = !1,
198
- size: g = "medium",
199
- sx: m,
199
+ size: w = "medium",
200
+ sx: g,
200
201
  slots: c = {},
201
202
  slotProps: r = {},
202
- ...$
203
+ ...v
203
204
  } = p, i = {
204
205
  ...p,
205
206
  color: f,
206
207
  edge: b,
207
- size: g
208
- }, l = X(i), w = {
208
+ size: w
209
+ }, l = A(i), m = {
209
210
  slots: c,
210
211
  slotProps: r
211
- }, [T, C] = y("root", {
212
- className: M(l.root, h),
213
- elementType: G,
214
- externalForwardedProps: w,
212
+ }, [T, $] = y("root", {
213
+ className: R(l.root, h),
214
+ elementType: V,
215
+ externalForwardedProps: m,
215
216
  ownerState: i,
216
217
  additionalProps: {
217
- sx: m
218
+ sx: g
218
219
  }
219
- }), [x, O] = y("thumb", {
220
+ }), [C, x] = y("thumb", {
220
221
  className: l.thumb,
221
- elementType: L,
222
- externalForwardedProps: w,
222
+ elementType: G,
223
+ externalForwardedProps: m,
223
224
  ownerState: i
224
- }), k = /* @__PURE__ */ v(x, {
225
- ...O
226
- }), [B, z] = y("track", {
225
+ }), S = /* @__PURE__ */ k(C, {
226
+ ...x
227
+ }), [B, O] = y("track", {
227
228
  className: l.track,
228
- elementType: K,
229
- externalForwardedProps: w,
229
+ elementType: q,
230
+ externalForwardedProps: m,
230
231
  ownerState: i
231
232
  });
232
- return /* @__PURE__ */ E(T, {
233
- ...C,
234
- children: [/* @__PURE__ */ v(H, {
233
+ return /* @__PURE__ */ D(T, {
234
+ ...$,
235
+ children: [/* @__PURE__ */ k(X, {
235
236
  type: "checkbox",
236
- icon: k,
237
- checkedIcon: k,
237
+ icon: S,
238
+ checkedIcon: S,
238
239
  ref: s,
239
240
  ownerState: i,
240
- ...$,
241
+ ...v,
241
242
  classes: {
242
243
  ...l,
243
244
  root: l.switchBase
@@ -254,16 +255,19 @@ const a = j("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "colorPr
254
255
  ...r.switchBase && {
255
256
  root: typeof r.switchBase == "function" ? r.switchBase(i) : r.switchBase
256
257
  },
258
+ input: {
259
+ role: "switch"
260
+ },
257
261
  ...r.input && {
258
262
  input: typeof r.input == "function" ? r.input(i) : r.input
259
263
  }
260
264
  }
261
- }), /* @__PURE__ */ v(B, {
262
- ...z
265
+ }), /* @__PURE__ */ k(B, {
266
+ ...O
263
267
  })]
264
268
  });
265
269
  });
266
- process.env.NODE_ENV !== "production" && (_.propTypes = {
270
+ process.env.NODE_ENV !== "production" && (H.propTypes = {
267
271
  // ┌────────────────────────────── Warning ──────────────────────────────┐
268
272
  // │ These PropTypes are generated from the TypeScript type definitions. │
269
273
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -271,39 +275,39 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
271
275
  /**
272
276
  * If `true`, the component is checked.
273
277
  */
274
- checked: e.bool,
278
+ checked: o.bool,
275
279
  /**
276
280
  * The icon to display when the component is checked.
277
281
  */
278
- checkedIcon: e.node,
282
+ checkedIcon: o.node,
279
283
  /**
280
284
  * Override or extend the styles applied to the component.
281
285
  */
282
- classes: e.object,
286
+ classes: o.object,
283
287
  /**
284
288
  * @ignore
285
289
  */
286
- className: e.string,
290
+ className: o.string,
287
291
  /**
288
292
  * The color of the component.
289
293
  * It supports both default and custom theme colors, which can be added as shown in the
290
294
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
291
295
  * @default 'primary'
292
296
  */
293
- color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
297
+ color: o.oneOfType([o.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
294
298
  /**
295
299
  * The default checked state. Use when the component is not controlled.
296
300
  */
297
- defaultChecked: e.bool,
301
+ defaultChecked: o.bool,
298
302
  /**
299
303
  * If `true`, the component is disabled.
300
304
  */
301
- disabled: e.bool,
305
+ disabled: o.bool,
302
306
  /**
303
307
  * If `true`, the ripple effect is disabled.
304
308
  * @default false
305
309
  */
306
- disableRipple: e.bool,
310
+ disableRipple: o.bool,
307
311
  /**
308
312
  * If given, uses a negative margin to counteract the padding on one
309
313
  * side (this is often helpful for aligning the left or right
@@ -311,25 +315,25 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
311
315
  * size and shape).
312
316
  * @default false
313
317
  */
314
- edge: e.oneOf(["end", "start", !1]),
318
+ edge: o.oneOf(["end", "start", !1]),
315
319
  /**
316
320
  * The icon to display when the component is unchecked.
317
321
  */
318
- icon: e.node,
322
+ icon: o.node,
319
323
  /**
320
324
  * The id of the `input` element.
321
325
  */
322
- id: e.string,
326
+ id: o.string,
323
327
  /**
324
328
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
325
329
  * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
326
330
  */
327
- inputProps: e.object,
331
+ inputProps: o.object,
328
332
  /**
329
333
  * Pass a ref to the `input` element.
330
334
  * @deprecated Use `slotProps.input.ref` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
331
335
  */
332
- inputRef: A,
336
+ inputRef: E,
333
337
  /**
334
338
  * Callback fired when the state is changed.
335
339
  *
@@ -337,52 +341,52 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
337
341
  * You can pull out the new value by accessing `event.target.value` (string).
338
342
  * You can pull out the new checked state by accessing `event.target.checked` (boolean).
339
343
  */
340
- onChange: e.func,
344
+ onChange: o.func,
341
345
  /**
342
346
  * If `true`, the `input` element is required.
343
347
  * @default false
344
348
  */
345
- required: e.bool,
349
+ required: o.bool,
346
350
  /**
347
351
  * The size of the component.
348
352
  * `small` is equivalent to the dense switch styling.
349
353
  * @default 'medium'
350
354
  */
351
- size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
355
+ size: o.oneOfType([o.oneOf(["medium", "small"]), o.string]),
352
356
  /**
353
357
  * The props used for each slot inside.
354
358
  * @default {}
355
359
  */
356
- slotProps: e.shape({
357
- input: e.oneOfType([e.func, e.object]),
358
- root: e.oneOfType([e.func, e.object]),
359
- switchBase: e.oneOfType([e.func, e.object]),
360
- thumb: e.oneOfType([e.func, e.object]),
361
- track: e.oneOfType([e.func, e.object])
360
+ slotProps: o.shape({
361
+ input: o.oneOfType([o.func, o.object]),
362
+ root: o.oneOfType([o.func, o.object]),
363
+ switchBase: o.oneOfType([o.func, o.object]),
364
+ thumb: o.oneOfType([o.func, o.object]),
365
+ track: o.oneOfType([o.func, o.object])
362
366
  }),
363
367
  /**
364
368
  * The components used for each slot inside.
365
369
  * @default {}
366
370
  */
367
- slots: e.shape({
368
- input: e.elementType,
369
- root: e.elementType,
370
- switchBase: e.elementType,
371
- thumb: e.elementType,
372
- track: e.elementType
371
+ slots: o.shape({
372
+ input: o.elementType,
373
+ root: o.elementType,
374
+ switchBase: o.elementType,
375
+ thumb: o.elementType,
376
+ track: o.elementType
373
377
  }),
374
378
  /**
375
379
  * The system prop that allows defining system overrides as well as additional CSS styles.
376
380
  */
377
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
381
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
378
382
  /**
379
383
  * The value of the component. The DOM API casts this to a string.
380
384
  * The browser uses "on" as the default value.
381
385
  */
382
- value: e.any
386
+ value: o.any
383
387
  });
384
388
  export {
385
- _ as S,
386
- V as g,
389
+ H as S,
390
+ F as g,
387
391
  a as s
388
392
  };
@@ -0,0 +1 @@
1
+ "use strict";const R=require("react"),t=require("./index-kjfz41UI.cjs"),m=require("./generateUtilityClasses-BMLLB4Uz.cjs"),q=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),M=require("./SwitchBase-Rj-rHz4Z.cjs"),y=require("./memoTheme-DZ3r2a_u.cjs"),g=require("./useSlot-BQ5B4uxv.cjs"),u=require("react/jsx-runtime"),n=require("./DefaultPropsProvider--EgnwFDi.cjs"),c=require("./capitalize-nmXHj--f.cjs"),D=require("./refType-DJyA--UV.cjs");function N(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const s in e)if(s!=="default"){const i=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(o,s,i.get?i:{enumerable:!0,get:()=>e[s]})}}return o.default=e,Object.freeze(o)}const U=N(R);function k(e){return m.generateUtilityClass("MuiSwitch",e)}const r=m.generateUtilityClasses("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),I=e=>{const{classes:o,edge:s,size:i,color:T,checked:h,disabled:P}=e,f={root:["root",s&&`edge${c.capitalize(s)}`,`size${c.capitalize(i)}`],switchBase:["switchBase",`color${c.capitalize(T)}`,h&&"checked",P&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},b=n.composeClasses(f,k,o);return{...o,...b}},_=n.styled("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:s}=e;return[o.root,s.edge&&o[`edge${c.capitalize(s.edge)}`],o[`size${c.capitalize(s.size)}`]]}})({display:"inline-flex",width:58,height:38,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)"}}}}]}),E=n.styled(M.SwitchBase,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,o)=>{const{ownerState:s}=e;return[o.switchBase,{[`& .${r.input}`]:o.input},s.color!=="default"&&o[`color${c.capitalize(s.color)}`]]}})(y.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%"}})),y.memoTheme(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(q.createSimplePaletteValueFilter(["light"])).map(([o])=>({props:{color:o},style:{[`&.${r.checked}`]:{color:(e.vars||e).palette[o].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[o].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${r.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${o}DisabledColor`]:`${e.palette.mode==="light"?e.lighten(e.palette[o].main,.62):e.darken(e.palette[o].main,.55)}`}},[`&.${r.checked} + .${r.track}`]:{backgroundColor:(e.vars||e).palette[o].main}}}))]}))),F=n.styled("span",{name:"MuiSwitch",slot:"Track"})(y.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}`}))),V=n.styled("span",{name:"MuiSwitch",slot:"Thumb"})(y.memoTheme(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),v=U.forwardRef(function(o,s){const i=n.useDefaultProps({props:o,name:"MuiSwitch"}),{className:T,color:h="primary",edge:P=!1,size:f="medium",sx:b,slots:l={},slotProps:a={},...$}=i,p={...i,color:h,edge:P,size:f},d=I(p),w={slots:l,slotProps:a},[C,x]=g.useSlot("root",{className:m.clsx(d.root,T),elementType:_,externalForwardedProps:w,ownerState:p,additionalProps:{sx:b}}),[O,z]=g.useSlot("thumb",{className:d.thumb,elementType:V,externalForwardedProps:w,ownerState:p}),S=u.jsx(O,{...z}),[j,B]=g.useSlot("track",{className:d.track,elementType:F,externalForwardedProps:w,ownerState:p});return u.jsxs(C,{...x,children:[u.jsx(E,{type:"checkbox",icon:S,checkedIcon:S,ref:s,ownerState:p,...$,classes:{...d,root:d.switchBase},slots:{...l.switchBase&&{root:l.switchBase},...l.input&&{input:l.input}},slotProps:{...a.switchBase&&{root:typeof a.switchBase=="function"?a.switchBase(p):a.switchBase},input:{role:"switch"},...a.input&&{input:typeof a.input=="function"?a.input(p):a.input}}}),u.jsx(j,{...B})]})});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:D.refType,onChange:t.PropTypes.func,required:t.PropTypes.bool,size:t.PropTypes.oneOfType([t.PropTypes.oneOf(["medium","small"]),t.PropTypes.string]),slotProps:t.PropTypes.shape({input:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),root:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),switchBase:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),thumb:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object]),track:t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object])}),slots:t.PropTypes.shape({input:t.PropTypes.elementType,root:t.PropTypes.elementType,switchBase:t.PropTypes.elementType,thumb:t.PropTypes.elementType,track:t.PropTypes.elementType}),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=k;exports.switchClasses=r;
@@ -1,29 +1,32 @@
1
1
  import * as J from "react";
2
- import { P as e } from "./index-Sy88PpwE.js";
3
- import { s as C, c as M, r as Q } from "./DefaultPropsProvider-DqazQPtr.js";
2
+ import { P as e } from "./index-B9vkf41S.js";
3
+ import { s as k, c as K, r as Q } from "./DefaultPropsProvider-BwYGfRVu.js";
4
4
  import { u as W } from "./useFormControl-CatNKXAi.js";
5
- import { G as X, F as Y, K as Z } from "./identifier-PWESmBq6.js";
6
- import { u as k } from "./useSlot-BzdKwDQ5.js";
7
- import { jsxs as ee, jsx as oe } from "react/jsx-runtime";
8
- import { u as te } from "./useControlled-nm4pBabJ.js";
9
- import { B as se } from "./ButtonBase-6TF6t2SP.js";
10
- import { r as ne } from "./refType-Dp7CJc86.js";
11
- function re(s) {
5
+ import { G as X, F as Y } from "./generateUtilityClasses-BSBs8sf8.js";
6
+ import { u as w } from "./useSlot-EJyrOSVX.js";
7
+ import { jsxs as Z, jsx as ee } from "react/jsx-runtime";
8
+ import { u as oe } from "./useControlled-nm4pBabJ.js";
9
+ import { c as te } from "./capitalize-CqfTUOe6.js";
10
+ import { B as se } from "./ButtonBase-BEtR8-Lv.js";
11
+ import { r as ne } from "./refType-8hihVLUh.js";
12
+ function ie(s) {
12
13
  return X("PrivateSwitchBase", s);
13
14
  }
14
15
  Y("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
15
- const ie = (s) => {
16
+ const re = (s) => {
16
17
  const {
17
18
  classes: n,
18
19
  checked: d,
19
20
  disabled: p,
20
21
  edge: a
21
22
  } = s, u = {
22
- root: ["root", d && "checked", p && "disabled", a && `edge${Z(a)}`],
23
+ root: ["root", d && "checked", p && "disabled", a && `edge${te(a)}`],
23
24
  input: ["input"]
24
25
  };
25
- return M(u, re, n);
26
- }, ae = C(se)({
26
+ return K(u, ie, n);
27
+ }, ae = k(se, {
28
+ name: "MuiSwitchBase"
29
+ })({
27
30
  padding: 9,
28
31
  borderRadius: "50%",
29
32
  variants: [{
@@ -59,7 +62,8 @@ const ie = (s) => {
59
62
  marginRight: -12
60
63
  }
61
64
  }]
62
- }), ce = C("input", {
65
+ }), ce = k("input", {
66
+ name: "MuiSwitchBase",
63
67
  shouldForwardProp: Q
64
68
  })({
65
69
  cursor: "inherit",
@@ -78,15 +82,15 @@ const ie = (s) => {
78
82
  checked: a,
79
83
  checkedIcon: u,
80
84
  defaultChecked: m,
81
- disabled: w,
82
- disableFocusRipple: g = !1,
85
+ disabled: C,
86
+ disableFocusRipple: h = !1,
83
87
  edge: R = !1,
84
88
  icon: x,
85
89
  id: T,
86
90
  inputProps: I,
87
91
  inputRef: j,
88
92
  name: O,
89
- onBlur: h,
93
+ onBlur: g,
90
94
  onChange: b,
91
95
  onFocus: y,
92
96
  readOnly: z,
@@ -97,74 +101,74 @@ const ie = (s) => {
97
101
  slots: E = {},
98
102
  slotProps: U = {},
99
103
  ...v
100
- } = n, [F, L] = te({
104
+ } = n, [S, L] = oe({
101
105
  controlled: a,
102
106
  default: !!m,
103
107
  name: "SwitchBase",
104
108
  state: "checked"
105
- }), r = W(), D = (o) => {
106
- y && y(o), r && r.onFocus && r.onFocus(o);
109
+ }), i = W(), M = (o) => {
110
+ y && y(o), i && i.onFocus && i.onFocus(o);
111
+ }, D = (o) => {
112
+ g && g(o), i && i.onBlur && i.onBlur(o);
107
113
  }, G = (o) => {
108
- h && h(o), r && r.onBlur && r.onBlur(o);
109
- }, K = (o) => {
110
114
  if (o.nativeEvent.defaultPrevented)
111
115
  return;
112
116
  const t = o.target.checked;
113
117
  L(t), b && b(o, t);
114
118
  };
115
- let c = w;
116
- r && typeof c > "u" && (c = r.disabled);
119
+ let c = C;
120
+ i && typeof c > "u" && (c = i.disabled);
117
121
  const V = l === "checkbox" || l === "radio", f = {
118
122
  ...n,
119
- checked: F,
123
+ checked: S,
120
124
  disabled: c,
121
- disableFocusRipple: g,
125
+ disableFocusRipple: h,
122
126
  edge: R
123
- }, S = ie(f), B = {
127
+ }, B = re(f), F = {
124
128
  slots: E,
125
129
  slotProps: {
126
130
  input: I,
127
131
  ...U
128
132
  }
129
- }, [_, $] = k("root", {
133
+ }, [_, $] = w("root", {
130
134
  ref: d,
131
135
  elementType: ae,
132
- className: S.root,
136
+ className: B.root,
133
137
  shouldForwardComponentProp: !0,
134
138
  externalForwardedProps: {
135
- ...B,
139
+ ...F,
136
140
  component: "span",
137
141
  ...v
138
142
  },
139
143
  getSlotProps: (o) => ({
140
144
  ...o,
141
145
  onFocus: (t) => {
142
- var i;
143
- (i = o.onFocus) == null || i.call(o, t), D(t);
146
+ var r;
147
+ (r = o.onFocus) == null || r.call(o, t), M(t);
144
148
  },
145
149
  onBlur: (t) => {
146
- var i;
147
- (i = o.onBlur) == null || i.call(o, t), G(t);
150
+ var r;
151
+ (r = o.onBlur) == null || r.call(o, t), D(t);
148
152
  }
149
153
  }),
150
154
  ownerState: f,
151
155
  additionalProps: {
152
156
  centerRipple: !0,
153
- focusRipple: !g,
157
+ focusRipple: !h,
154
158
  disabled: c,
155
159
  role: void 0,
156
160
  tabIndex: null
157
161
  }
158
- }), [A, H] = k("input", {
162
+ }), [A, H] = w("input", {
159
163
  ref: j,
160
164
  elementType: ce,
161
- className: S.input,
162
- externalForwardedProps: B,
165
+ className: B.input,
166
+ externalForwardedProps: F,
163
167
  getSlotProps: (o) => ({
164
168
  ...o,
165
169
  onChange: (t) => {
166
- var i;
167
- (i = o.onChange) == null || i.call(o, t), K(t);
170
+ var r;
171
+ (r = o.onChange) == null || r.call(o, t), G(t);
168
172
  }
169
173
  }),
170
174
  ownerState: f,
@@ -184,11 +188,11 @@ const ie = (s) => {
184
188
  }
185
189
  }
186
190
  });
187
- return /* @__PURE__ */ ee(_, {
191
+ return /* @__PURE__ */ Z(_, {
188
192
  ...$,
189
- children: [/* @__PURE__ */ oe(A, {
193
+ children: [/* @__PURE__ */ ee(A, {
190
194
  ...H
191
- }), F ? u : x]
195
+ }), S ? u : x]
192
196
  });
193
197
  });
194
198
  process.env.NODE_ENV !== "production" && (le.propTypes = {
@@ -0,0 +1 @@
1
+ "use strict";const W=require("react"),e=require("./index-kjfz41UI.cjs"),d=require("./DefaultPropsProvider--EgnwFDi.cjs"),X=require("./useFormControl-haP0iPhl.cjs"),k=require("./generateUtilityClasses-BMLLB4Uz.cjs"),C=require("./useSlot-BQ5B4uxv.cjs"),F=require("react/jsx-runtime"),Y=require("./useControlled-QrrYcKxm.cjs"),Z=require("./capitalize-nmXHj--f.cjs"),ee=require("./ButtonBase-B1T-Lqz2.cjs"),oe=require("./refType-DJyA--UV.cjs");function te(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(s,n,c.get?c:{enumerable:!0,get:()=>t[n]})}}return s.default=t,Object.freeze(s)}const se=te(W);function re(t){return k.generateUtilityClass("PrivateSwitchBase",t)}k.generateUtilityClasses("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const ne=t=>{const{classes:s,checked:n,disabled:c,edge:a}=t,y={root:["root",n&&"checked",c&&"disabled",a&&`edge${Z.capitalize(a)}`],input:["input"]};return d.composeClasses(y,re,s)},pe=d.styled(ee.ButtonBase,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:t,ownerState:s})=>t==="start"&&s.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:t,ownerState:s})=>t==="end"&&s.size!=="small",style:{marginRight:-12}}]}),ie=d.styled("input",{name:"MuiSwitchBase",shouldForwardProp:d.rootShouldForwardProp})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),R=se.forwardRef(function(s,n){const{autoFocus:c,checked:a,checkedIcon:y,defaultChecked:f,disabled:q,disableFocusRipple:T=!1,edge:x=!1,icon:j,id:O,inputProps:I,inputRef:z,name:N,onBlur:g,onChange:b,onFocus:h,readOnly:v,required:U=!1,tabIndex:D,type:u,value:m,slots:E={},slotProps:_={},...L}=s,[S,M]=Y.useControlled({controlled:a,default:!!f,name:"SwitchBase",state:"checked"}),p=X.useFormControl(),V=o=>{h&&h(o),p&&p.onFocus&&p.onFocus(o)},$=o=>{g&&g(o),p&&p.onBlur&&p.onBlur(o)},A=o=>{if(o.nativeEvent.defaultPrevented)return;const r=o.target.checked;M(r),b&&b(o,r)};let l=q;p&&typeof l>"u"&&(l=p.disabled);const G=u==="checkbox"||u==="radio",P={...s,checked:S,disabled:l,disableFocusRipple:T,edge:x},B=ne(P),w={slots:E,slotProps:{input:I,..._}},[H,J]=C.useSlot("root",{ref:n,elementType:pe,className:B.root,shouldForwardComponentProp:!0,externalForwardedProps:{...w,component:"span",...L},getSlotProps:o=>({...o,onFocus:r=>{var i;(i=o.onFocus)==null||i.call(o,r),V(r)},onBlur:r=>{var i;(i=o.onBlur)==null||i.call(o,r),$(r)}}),ownerState:P,additionalProps:{centerRipple:!0,focusRipple:!T,disabled:l,role:void 0,tabIndex:null}}),[K,Q]=C.useSlot("input",{ref:z,elementType:ie,className:B.input,externalForwardedProps:w,getSlotProps:o=>({...o,onChange:r=>{var i;(i=o.onChange)==null||i.call(o,r),A(r)}}),ownerState:P,additionalProps:{autoFocus:c,checked:a,defaultChecked:f,disabled:l,id:G?O:void 0,name:N,readOnly:v,required:U,tabIndex:D,type:u,...u==="checkbox"&&m===void 0?{}:{value:m}}});return F.jsxs(H,{...J,children:[F.jsx(K,{...Q}),S?y:j]})});process.env.NODE_ENV!=="production"&&(R.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:oe.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,slotProps:e.PropTypes.shape({input:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({input:e.PropTypes.elementType,root:e.PropTypes.elementType}),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=R;