@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,572 +0,0 @@
1
- import * as u from "react";
2
- import { P as o } from "./index-Sy88PpwE.js";
3
- import { F as ta, G as la, H as k, K as r, n as d } from "./identifier-PWESmBq6.js";
4
- import { c as ra } from "./createSvgIcon-B1E6Wo8z.js";
5
- import { jsx as w, jsxs as na } from "react/jsx-runtime";
6
- import { m as ia } from "./memoTheme-DAFDflPY.js";
7
- import { c as I } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
8
- import { u as j } from "./useSlot-BzdKwDQ5.js";
9
- import { u as ca, s as M, c as sa } from "./DefaultPropsProvider-DqazQPtr.js";
10
- import { u as pa } from "./useForkRef-u29GSuCu.js";
11
- import { B as F } from "./ButtonBase-6TF6t2SP.js";
12
- import { u as da } from "./unsupportedProp-BuVD30Gh.js";
13
- const ua = ra(/* @__PURE__ */ w("path", {
14
- d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"
15
- }), "Cancel");
16
- function fa(a) {
17
- return la("MuiChip", a);
18
- }
19
- const t = ta("MuiChip", ["root", "sizeSmall", "sizeMedium", "colorDefault", "colorError", "colorInfo", "colorPrimary", "colorSecondary", "colorSuccess", "colorWarning", "disabled", "clickable", "clickableColorPrimary", "clickableColorSecondary", "deletable", "deletableColorPrimary", "deletableColorSecondary", "outlined", "filled", "outlinedPrimary", "outlinedSecondary", "filledPrimary", "filledSecondary", "avatar", "avatarSmall", "avatarMedium", "avatarColorPrimary", "avatarColorSecondary", "icon", "iconSmall", "iconMedium", "iconColorPrimary", "iconColorSecondary", "label", "labelSmall", "labelMedium", "deleteIcon", "deleteIconSmall", "deleteIconMedium", "deleteIconColorPrimary", "deleteIconColorSecondary", "deleteIconOutlinedColorPrimary", "deleteIconOutlinedColorSecondary", "deleteIconFilledColorPrimary", "deleteIconFilledColorSecondary", "focusVisible"]), ba = (a) => {
20
- const {
21
- classes: l,
22
- disabled: e,
23
- size: i,
24
- color: c,
25
- iconColor: y,
26
- onDelete: f,
27
- clickable: s,
28
- variant: p
29
- } = a, $ = {
30
- root: ["root", p, e && "disabled", `size${r(i)}`, `color${r(c)}`, s && "clickable", s && `clickableColor${r(c)}`, f && "deletable", f && `deletableColor${r(c)}`, `${p}${r(c)}`],
31
- label: ["label", `label${r(i)}`],
32
- avatar: ["avatar", `avatar${r(i)}`, `avatarColor${r(c)}`],
33
- icon: ["icon", `icon${r(i)}`, `iconColor${r(y)}`],
34
- deleteIcon: ["deleteIcon", `deleteIcon${r(i)}`, `deleteIconColor${r(c)}`, `deleteIcon${r(p)}Color${r(c)}`]
35
- };
36
- return sa($, fa, l);
37
- }, va = M("div", {
38
- name: "MuiChip",
39
- slot: "Root",
40
- overridesResolver: (a, l) => {
41
- const {
42
- ownerState: e
43
- } = a, {
44
- color: i,
45
- iconColor: c,
46
- clickable: y,
47
- onDelete: f,
48
- size: s,
49
- variant: p
50
- } = e;
51
- return [{
52
- [`& .${t.avatar}`]: l.avatar
53
- }, {
54
- [`& .${t.avatar}`]: l[`avatar${r(s)}`]
55
- }, {
56
- [`& .${t.avatar}`]: l[`avatarColor${r(i)}`]
57
- }, {
58
- [`& .${t.icon}`]: l.icon
59
- }, {
60
- [`& .${t.icon}`]: l[`icon${r(s)}`]
61
- }, {
62
- [`& .${t.icon}`]: l[`iconColor${r(c)}`]
63
- }, {
64
- [`& .${t.deleteIcon}`]: l.deleteIcon
65
- }, {
66
- [`& .${t.deleteIcon}`]: l[`deleteIcon${r(s)}`]
67
- }, {
68
- [`& .${t.deleteIcon}`]: l[`deleteIconColor${r(i)}`]
69
- }, {
70
- [`& .${t.deleteIcon}`]: l[`deleteIcon${r(p)}Color${r(i)}`]
71
- }, l.root, l[`size${r(s)}`], l[`color${r(i)}`], y && l.clickable, y && i !== "default" && l[`clickableColor${r(i)})`], f && l.deletable, f && i !== "default" && l[`deletableColor${r(i)}`], l[p], l[`${p}${r(i)}`]];
72
- }
73
- })(ia(({
74
- theme: a
75
- }) => {
76
- const l = a.palette.mode === "light" ? a.palette.grey[700] : a.palette.grey[300];
77
- return {
78
- maxWidth: "100%",
79
- fontFamily: a.typography.fontFamily,
80
- fontSize: a.typography.pxToRem(13),
81
- display: "inline-flex",
82
- alignItems: "center",
83
- justifyContent: "center",
84
- height: 32,
85
- color: (a.vars || a).palette.text.primary,
86
- backgroundColor: (a.vars || a).palette.action.selected,
87
- borderRadius: 32 / 2,
88
- whiteSpace: "nowrap",
89
- transition: a.transitions.create(["background-color", "box-shadow"]),
90
- // reset cursor explicitly in case ButtonBase is used
91
- cursor: "unset",
92
- // We disable the focus ring for mouse, touch and keyboard users.
93
- outline: 0,
94
- textDecoration: "none",
95
- border: 0,
96
- // Remove `button` border
97
- padding: 0,
98
- // Remove `button` padding
99
- verticalAlign: "middle",
100
- boxSizing: "border-box",
101
- [`&.${t.disabled}`]: {
102
- opacity: (a.vars || a).palette.action.disabledOpacity,
103
- pointerEvents: "none"
104
- },
105
- [`& .${t.avatar}`]: {
106
- marginLeft: 5,
107
- marginRight: -6,
108
- width: 24,
109
- height: 24,
110
- color: a.vars ? a.vars.palette.Chip.defaultAvatarColor : l,
111
- fontSize: a.typography.pxToRem(12)
112
- },
113
- [`& .${t.avatarColorPrimary}`]: {
114
- color: (a.vars || a).palette.primary.contrastText,
115
- backgroundColor: (a.vars || a).palette.primary.dark
116
- },
117
- [`& .${t.avatarColorSecondary}`]: {
118
- color: (a.vars || a).palette.secondary.contrastText,
119
- backgroundColor: (a.vars || a).palette.secondary.dark
120
- },
121
- [`& .${t.avatarSmall}`]: {
122
- marginLeft: 4,
123
- marginRight: -4,
124
- width: 18,
125
- height: 18,
126
- fontSize: a.typography.pxToRem(10)
127
- },
128
- [`& .${t.icon}`]: {
129
- marginLeft: 5,
130
- marginRight: -6
131
- },
132
- [`& .${t.deleteIcon}`]: {
133
- WebkitTapHighlightColor: "transparent",
134
- color: a.vars ? `rgba(${a.vars.palette.text.primaryChannel} / 0.26)` : d(a.palette.text.primary, 0.26),
135
- fontSize: 22,
136
- cursor: "pointer",
137
- margin: "0 5px 0 -6px",
138
- "&:hover": {
139
- color: a.vars ? `rgba(${a.vars.palette.text.primaryChannel} / 0.4)` : d(a.palette.text.primary, 0.4)
140
- }
141
- },
142
- variants: [{
143
- props: {
144
- size: "small"
145
- },
146
- style: {
147
- height: 24,
148
- [`& .${t.icon}`]: {
149
- fontSize: 18,
150
- marginLeft: 4,
151
- marginRight: -4
152
- },
153
- [`& .${t.deleteIcon}`]: {
154
- fontSize: 16,
155
- marginRight: 4,
156
- marginLeft: -4
157
- }
158
- }
159
- }, ...Object.entries(a.palette).filter(I(["contrastText"])).map(([e]) => ({
160
- props: {
161
- color: e
162
- },
163
- style: {
164
- backgroundColor: (a.vars || a).palette[e].main,
165
- color: (a.vars || a).palette[e].contrastText,
166
- [`& .${t.deleteIcon}`]: {
167
- color: a.vars ? `rgba(${a.vars.palette[e].contrastTextChannel} / 0.7)` : d(a.palette[e].contrastText, 0.7),
168
- "&:hover, &:active": {
169
- color: (a.vars || a).palette[e].contrastText
170
- }
171
- }
172
- }
173
- })), {
174
- props: (e) => e.iconColor === e.color,
175
- style: {
176
- [`& .${t.icon}`]: {
177
- color: a.vars ? a.vars.palette.Chip.defaultIconColor : l
178
- }
179
- }
180
- }, {
181
- props: (e) => e.iconColor === e.color && e.color !== "default",
182
- style: {
183
- [`& .${t.icon}`]: {
184
- color: "inherit"
185
- }
186
- }
187
- }, {
188
- props: {
189
- onDelete: !0
190
- },
191
- style: {
192
- [`&.${t.focusVisible}`]: {
193
- backgroundColor: a.vars ? `rgba(${a.vars.palette.action.selectedChannel} / calc(${a.vars.palette.action.selectedOpacity} + ${a.vars.palette.action.focusOpacity}))` : d(a.palette.action.selected, a.palette.action.selectedOpacity + a.palette.action.focusOpacity)
194
- }
195
- }
196
- }, ...Object.entries(a.palette).filter(I(["dark"])).map(([e]) => ({
197
- props: {
198
- color: e,
199
- onDelete: !0
200
- },
201
- style: {
202
- [`&.${t.focusVisible}`]: {
203
- background: (a.vars || a).palette[e].dark
204
- }
205
- }
206
- })), {
207
- props: {
208
- clickable: !0
209
- },
210
- style: {
211
- userSelect: "none",
212
- WebkitTapHighlightColor: "transparent",
213
- cursor: "pointer",
214
- "&:hover": {
215
- backgroundColor: a.vars ? `rgba(${a.vars.palette.action.selectedChannel} / calc(${a.vars.palette.action.selectedOpacity} + ${a.vars.palette.action.hoverOpacity}))` : d(a.palette.action.selected, a.palette.action.selectedOpacity + a.palette.action.hoverOpacity)
216
- },
217
- [`&.${t.focusVisible}`]: {
218
- backgroundColor: a.vars ? `rgba(${a.vars.palette.action.selectedChannel} / calc(${a.vars.palette.action.selectedOpacity} + ${a.vars.palette.action.focusOpacity}))` : d(a.palette.action.selected, a.palette.action.selectedOpacity + a.palette.action.focusOpacity)
219
- },
220
- "&:active": {
221
- boxShadow: (a.vars || a).shadows[1]
222
- }
223
- }
224
- }, ...Object.entries(a.palette).filter(I(["dark"])).map(([e]) => ({
225
- props: {
226
- color: e,
227
- clickable: !0
228
- },
229
- style: {
230
- [`&:hover, &.${t.focusVisible}`]: {
231
- backgroundColor: (a.vars || a).palette[e].dark
232
- }
233
- }
234
- })), {
235
- props: {
236
- variant: "outlined"
237
- },
238
- style: {
239
- backgroundColor: "transparent",
240
- border: a.vars ? `1px solid ${a.vars.palette.Chip.defaultBorder}` : `1px solid ${a.palette.mode === "light" ? a.palette.grey[400] : a.palette.grey[700]}`,
241
- [`&.${t.clickable}:hover`]: {
242
- backgroundColor: (a.vars || a).palette.action.hover
243
- },
244
- [`&.${t.focusVisible}`]: {
245
- backgroundColor: (a.vars || a).palette.action.focus
246
- },
247
- [`& .${t.avatar}`]: {
248
- marginLeft: 4
249
- },
250
- [`& .${t.avatarSmall}`]: {
251
- marginLeft: 2
252
- },
253
- [`& .${t.icon}`]: {
254
- marginLeft: 4
255
- },
256
- [`& .${t.iconSmall}`]: {
257
- marginLeft: 2
258
- },
259
- [`& .${t.deleteIcon}`]: {
260
- marginRight: 5
261
- },
262
- [`& .${t.deleteIconSmall}`]: {
263
- marginRight: 3
264
- }
265
- }
266
- }, ...Object.entries(a.palette).filter(I()).map(([e]) => ({
267
- props: {
268
- variant: "outlined",
269
- color: e
270
- },
271
- style: {
272
- color: (a.vars || a).palette[e].main,
273
- border: `1px solid ${a.vars ? `rgba(${a.vars.palette[e].mainChannel} / 0.7)` : d(a.palette[e].main, 0.7)}`,
274
- [`&.${t.clickable}:hover`]: {
275
- backgroundColor: a.vars ? `rgba(${a.vars.palette[e].mainChannel} / ${a.vars.palette.action.hoverOpacity})` : d(a.palette[e].main, a.palette.action.hoverOpacity)
276
- },
277
- [`&.${t.focusVisible}`]: {
278
- backgroundColor: a.vars ? `rgba(${a.vars.palette[e].mainChannel} / ${a.vars.palette.action.focusOpacity})` : d(a.palette[e].main, a.palette.action.focusOpacity)
279
- },
280
- [`& .${t.deleteIcon}`]: {
281
- color: a.vars ? `rgba(${a.vars.palette[e].mainChannel} / 0.7)` : d(a.palette[e].main, 0.7),
282
- "&:hover, &:active": {
283
- color: (a.vars || a).palette[e].main
284
- }
285
- }
286
- }
287
- }))]
288
- };
289
- })), ga = M("span", {
290
- name: "MuiChip",
291
- slot: "Label",
292
- overridesResolver: (a, l) => {
293
- const {
294
- ownerState: e
295
- } = a, {
296
- size: i
297
- } = e;
298
- return [l.label, l[`label${r(i)}`]];
299
- }
300
- })({
301
- overflow: "hidden",
302
- textOverflow: "ellipsis",
303
- paddingLeft: 12,
304
- paddingRight: 12,
305
- whiteSpace: "nowrap",
306
- variants: [{
307
- props: {
308
- variant: "outlined"
309
- },
310
- style: {
311
- paddingLeft: 11,
312
- paddingRight: 11
313
- }
314
- }, {
315
- props: {
316
- size: "small"
317
- },
318
- style: {
319
- paddingLeft: 8,
320
- paddingRight: 8
321
- }
322
- }, {
323
- props: {
324
- size: "small",
325
- variant: "outlined"
326
- },
327
- style: {
328
- paddingLeft: 7,
329
- paddingRight: 7
330
- }
331
- }]
332
- });
333
- function K(a) {
334
- return a.key === "Backspace" || a.key === "Delete";
335
- }
336
- const Ca = /* @__PURE__ */ u.forwardRef(function(l, e) {
337
- const i = ca({
338
- props: l,
339
- name: "MuiChip"
340
- }), {
341
- avatar: c,
342
- className: y,
343
- clickable: f,
344
- color: s = "default",
345
- component: p,
346
- deleteIcon: $,
347
- disabled: S = !1,
348
- icon: m,
349
- label: U,
350
- onClick: D,
351
- onDelete: b,
352
- onKeyDown: z,
353
- onKeyUp: L,
354
- size: W = "medium",
355
- variant: B = "filled",
356
- tabIndex: H,
357
- skipFocusWhenDisabled: A = !1,
358
- // TODO v6: Rename to `focusableWhenDisabled`.
359
- slots: _ = {},
360
- slotProps: G = {},
361
- ...q
362
- } = i, J = u.useRef(null), Q = pa(J, e), N = (n) => {
363
- n.stopPropagation(), b && b(n);
364
- }, X = (n) => {
365
- n.currentTarget === n.target && K(n) && n.preventDefault(), z && z(n);
366
- }, Y = (n) => {
367
- n.currentTarget === n.target && b && K(n) && b(n), L && L(n);
368
- }, x = f !== !1 && D ? !0 : f, O = x || b ? F : p || "div", P = {
369
- ...i,
370
- component: O,
371
- disabled: S,
372
- size: W,
373
- color: s,
374
- iconColor: /* @__PURE__ */ u.isValidElement(m) && m.props.color || s,
375
- onDelete: !!b,
376
- clickable: x,
377
- variant: B
378
- }, C = ba(P), Z = O === F ? {
379
- component: p || "div",
380
- focusVisibleClassName: C.focusVisible,
381
- ...b && {
382
- disableRipple: !0
383
- }
384
- } : {};
385
- let V = null;
386
- b && (V = $ && /* @__PURE__ */ u.isValidElement($) ? /* @__PURE__ */ u.cloneElement($, {
387
- className: k($.props.className, C.deleteIcon),
388
- onClick: N
389
- }) : /* @__PURE__ */ w(ua, {
390
- className: C.deleteIcon,
391
- onClick: N
392
- }));
393
- let T = null;
394
- c && /* @__PURE__ */ u.isValidElement(c) && (T = /* @__PURE__ */ u.cloneElement(c, {
395
- className: k(C.avatar, c.props.className)
396
- }));
397
- let R = null;
398
- m && /* @__PURE__ */ u.isValidElement(m) && (R = /* @__PURE__ */ u.cloneElement(m, {
399
- className: k(C.icon, m.props.className)
400
- })), process.env.NODE_ENV !== "production" && T && R && console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one.");
401
- const E = {
402
- slots: _,
403
- slotProps: G
404
- }, [h, aa] = j("root", {
405
- elementType: va,
406
- externalForwardedProps: {
407
- ...E,
408
- ...q
409
- },
410
- ownerState: P,
411
- // The `component` prop is preserved because `Chip` relies on it for internal logic. If `shouldForwardComponentProp` were `false`, `useSlot` would remove the `component` prop, potentially breaking the component's behavior.
412
- shouldForwardComponentProp: !0,
413
- ref: Q,
414
- className: k(C.root, y),
415
- additionalProps: {
416
- disabled: x && S ? !0 : void 0,
417
- tabIndex: A && S ? -1 : H,
418
- ...Z
419
- },
420
- getSlotProps: (n) => ({
421
- ...n,
422
- onClick: (v) => {
423
- var g;
424
- (g = n.onClick) == null || g.call(n, v), D(v);
425
- },
426
- onKeyDown: (v) => {
427
- var g;
428
- (g = n.onKeyDown) == null || g.call(n, v), X(v);
429
- },
430
- onKeyUp: (v) => {
431
- var g;
432
- (g = n.onKeyUp) == null || g.call(n, v), Y(v);
433
- }
434
- })
435
- }), [oa, ea] = j("label", {
436
- elementType: ga,
437
- externalForwardedProps: E,
438
- ownerState: P,
439
- className: C.label
440
- });
441
- return /* @__PURE__ */ na(h, {
442
- as: O,
443
- ...aa,
444
- children: [T || R, /* @__PURE__ */ w(oa, {
445
- ...ea,
446
- children: U
447
- }), V]
448
- });
449
- });
450
- process.env.NODE_ENV !== "production" && (Ca.propTypes = {
451
- // ┌────────────────────────────── Warning ──────────────────────────────┐
452
- // │ These PropTypes are generated from the TypeScript type definitions. │
453
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
454
- // └─────────────────────────────────────────────────────────────────────┘
455
- /**
456
- * The Avatar element to display.
457
- */
458
- avatar: o.element,
459
- /**
460
- * This prop isn't supported.
461
- * Use the `component` prop if you need to change the children structure.
462
- */
463
- children: da,
464
- /**
465
- * Override or extend the styles applied to the component.
466
- */
467
- classes: o.object,
468
- /**
469
- * @ignore
470
- */
471
- className: o.string,
472
- /**
473
- * If `true`, the chip will appear clickable, and will raise when pressed,
474
- * even if the onClick prop is not defined.
475
- * If `false`, the chip will not appear clickable, even if onClick prop is defined.
476
- * This can be used, for example,
477
- * along with the component prop to indicate an anchor Chip is clickable.
478
- * Note: this controls the UI and does not affect the onClick event.
479
- */
480
- clickable: o.bool,
481
- /**
482
- * The color of the component.
483
- * It supports both default and custom theme colors, which can be added as shown in the
484
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
485
- * @default 'default'
486
- */
487
- color: o.oneOfType([o.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), o.string]),
488
- /**
489
- * The component used for the root node.
490
- * Either a string to use a HTML element or a component.
491
- */
492
- component: o.elementType,
493
- /**
494
- * Override the default delete icon element. Shown only if `onDelete` is set.
495
- */
496
- deleteIcon: o.element,
497
- /**
498
- * If `true`, the component is disabled.
499
- * @default false
500
- */
501
- disabled: o.bool,
502
- /**
503
- * Icon element.
504
- */
505
- icon: o.element,
506
- /**
507
- * The content of the component.
508
- */
509
- label: o.node,
510
- /**
511
- * @ignore
512
- */
513
- onClick: o.func,
514
- /**
515
- * Callback fired when the delete icon is clicked.
516
- * If set, the delete icon will be shown.
517
- */
518
- onDelete: o.func,
519
- /**
520
- * @ignore
521
- */
522
- onKeyDown: o.func,
523
- /**
524
- * @ignore
525
- */
526
- onKeyUp: o.func,
527
- /**
528
- * The size of the component.
529
- * @default 'medium'
530
- */
531
- size: o.oneOfType([o.oneOf(["medium", "small"]), o.string]),
532
- /**
533
- * If `true`, allows the disabled chip to escape focus.
534
- * If `false`, allows the disabled chip to receive focus.
535
- * @default false
536
- */
537
- skipFocusWhenDisabled: o.bool,
538
- /**
539
- * The props used for each slot inside.
540
- * @default {}
541
- */
542
- slotProps: o.shape({
543
- label: o.oneOfType([o.func, o.object]),
544
- root: o.oneOfType([o.func, o.object])
545
- }),
546
- /**
547
- * The components used for each slot inside.
548
- * @default {}
549
- */
550
- slots: o.shape({
551
- label: o.elementType,
552
- root: o.elementType
553
- }),
554
- /**
555
- * The system prop that allows defining system overrides as well as additional CSS styles.
556
- */
557
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
558
- /**
559
- * @ignore
560
- */
561
- tabIndex: o.number,
562
- /**
563
- * The variant to use.
564
- * @default 'filled'
565
- */
566
- variant: o.oneOfType([o.oneOf(["filled", "outlined"]), o.string])
567
- });
568
- export {
569
- Ca as C,
570
- t as c,
571
- fa as g
572
- };
@@ -1,28 +0,0 @@
1
- "use strict";const $=require("react"),t=require("./index-DLnSn8GT.cjs"),a=require("./identifier-BoZelETM.cjs"),S=require("./memoTheme-BKfsJx_F.cjs"),M=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),h=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-Cnf49AIv.cjs"),q=require("./chainPropTypes-CEUi6Jb4.cjs"),p=require("@emotion/react");function R(e){const r=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(r,s,i.get?i:{enumerable:!0,get:()=>e[s]})}}return r.default=e,Object.freeze(r)}const N=R($);function x(e){return a.generateUtilityClass("MuiCircularProgress",e)}const z=a.generateUtilityClasses("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]),o=44,g=p.keyframes`
2
- 0% {
3
- transform: rotate(0deg);
4
- }
5
-
6
- 100% {
7
- transform: rotate(360deg);
8
- }
9
- `,v=p.keyframes`
10
- 0% {
11
- stroke-dasharray: 1px, 200px;
12
- stroke-dashoffset: 0;
13
- }
14
-
15
- 50% {
16
- stroke-dasharray: 100px, 200px;
17
- stroke-dashoffset: -15px;
18
- }
19
-
20
- 100% {
21
- stroke-dasharray: 1px, 200px;
22
- stroke-dashoffset: -126px;
23
- }
24
- `,U=typeof g!="string"?p.css`
25
- animation: ${g} 1.4s linear infinite;
26
- `:null,E=typeof v!="string"?p.css`
27
- animation: ${v} 1.4s ease-in-out infinite;
28
- `:null,F=e=>{const{classes:r,variant:s,color:i,disableShrink:u}=e,y={root:["root",s,`color${a.capitalize(i)}`],svg:["svg"],circle:["circle",`circle${a.capitalize(s)}`,u&&"circleDisableShrink"]};return n.composeClasses(y,x,r)},I=n.styled("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.root,r[s.variant],r[`color${a.capitalize(s.color)}`]]}})(S.memoTheme(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:U||{animation:`${g} 1.4s linear infinite`}},...Object.entries(e.palette).filter(M.createSimplePaletteValueFilter()).map(([r])=>({props:{color:r},style:{color:(e.vars||e).palette[r].main}}))]}))),V=n.styled("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),_=n.styled("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,r)=>{const{ownerState:s}=e;return[r.circle,r[`circle${a.capitalize(s.variant)}`],s.disableShrink&&r.circleDisableShrink]}})(S.memoTheme(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:r})=>r.variant==="indeterminate"&&!r.disableShrink,style:E||{animation:`${v} 1.4s ease-in-out infinite`}}]}))),w=N.forwardRef(function(r,s){const i=n.useDefaultProps({props:r,name:"MuiCircularProgress"}),{className:u,color:y="primary",disableShrink:D=!1,size:d=40,style:O,thickness:c=3.6,value:f=0,variant:T="indeterminate",...j}=i,l={...i,color:y,disableShrink:D,size:d,thickness:c,value:f,variant:T},m=F(l),P={},k={},b={};if(T==="determinate"){const C=2*Math.PI*((o-c)/2);P.strokeDasharray=C.toFixed(3),b["aria-valuenow"]=Math.round(f),P.strokeDashoffset=`${((100-f)/100*C).toFixed(3)}px`,k.transform="rotate(-90deg)"}return h.jsx(I,{className:a.clsx(m.root,u),style:{width:d,height:d,...k,...O},ownerState:l,ref:s,role:"progressbar",...b,...j,children:h.jsx(V,{className:m.svg,ownerState:l,viewBox:`${o/2} ${o/2} ${o} ${o}`,children:h.jsx(_,{className:m.circle,style:P,ownerState:l,cx:o,cy:o,r:(o-c)/2,fill:"none",strokeWidth:c})})})});process.env.NODE_ENV!=="production"&&(w.propTypes={classes:t.PropTypes.object,className:t.PropTypes.string,color:t.PropTypes.oneOfType([t.PropTypes.oneOf(["inherit","primary","secondary","error","info","success","warning"]),t.PropTypes.string]),disableShrink:q.chainPropTypes(t.PropTypes.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:t.PropTypes.oneOfType([t.PropTypes.number,t.PropTypes.string]),style:t.PropTypes.object,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]),thickness:t.PropTypes.number,value:t.PropTypes.number,variant:t.PropTypes.oneOf(["determinate","indeterminate"])});exports.CircularProgress=w;exports.circularProgressClasses=z;exports.getCircularProgressUtilityClass=x;