@cgi-learning-hub/ui 1.7.0 → 1.8.0

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 (275) hide show
  1. package/dist/{Alert-OeEy_IGc.js → Alert-6yOnGlLE.js} +6 -6
  2. package/dist/{Alert-rPyl-bqs.cjs → Alert-CWHOYWde.cjs} +1 -1
  3. package/dist/{Alert-DPSZppEy.cjs → Alert-D4-73fYc.cjs} +1 -1
  4. package/dist/{Alert-BhLIlUBu.js → Alert-D6SQnjuJ.js} +83 -83
  5. package/dist/{Autocomplete-WZw_zCjA.js → Autocomplete-B8u-WYi5.js} +680 -664
  6. package/dist/Autocomplete-BA6NkciB.cjs +6 -0
  7. package/dist/Backdrop-Dp1hKKfU.cjs +1 -0
  8. package/dist/{Backdrop-CjZYrxkZ.js → Backdrop-DuOPKUSY.js} +36 -35
  9. package/dist/{Badge-Bwcsnbsa.js → Badge-BJ4yH_Da.js} +4 -4
  10. package/dist/{Badge-DFzvdVS-.cjs → Badge-XMr4Ygjv.cjs} +1 -1
  11. package/dist/{Box-DR3n_po_.cjs → Box-B5E7sstc.cjs} +1 -1
  12. package/dist/{Box-BI4osO9v.js → Box-BWETzF5p.js} +3 -3
  13. package/dist/Button-BJB830NI.cjs +1 -0
  14. package/dist/{Button-DDV5EfwJ.js → Button-C8_HxKFe.js} +95 -95
  15. package/dist/{ButtonBase-6TF6t2SP.js → ButtonBase-CJYV8wgs.js} +2 -2
  16. package/dist/{ButtonBase-Dp6sf_dP.cjs → ButtonBase-DPIkh47Q.cjs} +1 -1
  17. package/dist/{CardContent-COfaU6E0.cjs → CardContent-H0z20SY7.cjs} +1 -1
  18. package/dist/{CardContent-D3uGcxlr.js → CardContent-V9JMSLmA.js} +3 -3
  19. package/dist/Checkbox-BZPMiwbF.cjs +1 -0
  20. package/dist/{Checkbox-BfBDowB2.js → Checkbox-DMMz_IAP.js} +86 -86
  21. package/dist/Chip-BDVqkZZM.js +573 -0
  22. package/dist/Chip-DMBSp59F.cjs +1 -0
  23. package/dist/{CircularProgress-CXXyPavb.cjs → CircularProgress-BMVNeiSf.cjs} +1 -1
  24. package/dist/{CircularProgress-DZuYTFz-.js → CircularProgress-CrWnCGqN.js} +3 -3
  25. package/dist/{Close-7S2hSoFB.cjs → Close-2eEmvKPH.cjs} +1 -1
  26. package/dist/{Close-DEMecSZ6.js → Close-Cr2OT0GV.js} +1 -1
  27. package/dist/{CloseRounded-DS-4-gMR.cjs → CloseRounded-B6cT7aGi.cjs} +1 -1
  28. package/dist/{CloseRounded-CioV1GK3.js → CloseRounded-BrGeesu1.js} +1 -1
  29. package/dist/{CustomTreeItem-Bg8Ub4dn.cjs → CustomTreeItem-BXgsWbl_.cjs} +1 -1
  30. package/dist/{CustomTreeItem-B9FylIhL.js → CustomTreeItem-DhB3ECa2.js} +12 -12
  31. package/dist/DatePicker-DtPvvFiK.cjs +16 -0
  32. package/dist/{DatePicker-DasS2wq6.js → DatePicker-ofISDY8Q.js} +2822 -2821
  33. package/dist/DefaultPropsProvider-BFTLy05-.cjs +1 -0
  34. package/dist/DefaultPropsProvider-nxIPd34m.js +312 -0
  35. package/dist/{Delete-BvkBJXEM.cjs → Delete-BF63Gpr-.cjs} +1 -1
  36. package/dist/{Delete-B5VTV71K.js → Delete-CwWpjEOT.js} +1 -1
  37. package/dist/Dialog-Cymf3DJ2.cjs +1 -0
  38. package/dist/{Dialog-DEWB041V.js → Dialog-eK1zTFBm.js} +10 -10
  39. package/dist/{DialogContent-C294EkoQ.js → DialogContent-BsPZJR2a.js} +3 -3
  40. package/dist/{DialogContent-DXfUge3c.cjs → DialogContent-Gy1s3ela.cjs} +1 -1
  41. package/dist/{DialogTitle-y2PrK6uU.cjs → DialogTitle-BDyrzRXS.cjs} +1 -1
  42. package/dist/{DialogTitle-BSiId6Q1.js → DialogTitle-CaAd59jN.js} +5 -5
  43. package/dist/Divider-BzdMIEJJ.cjs +1 -0
  44. package/dist/{Divider-kKp4VqHh.js → Divider-D_gbcyWE.js} +26 -26
  45. package/dist/{Folder-BgQP5-Ve.js → Folder-COKXTjZ4.js} +1 -1
  46. package/dist/{Folder-BfLBqDHM.cjs → Folder-D0fZbyc-.cjs} +1 -1
  47. package/dist/{FormLabel-JrZR9kt8.cjs → FormLabel-BLySmpkL.cjs} +1 -1
  48. package/dist/{FormLabel-B3WAnPGP.js → FormLabel-DmLckqyT.js} +3 -3
  49. package/dist/{Grid-BHYQ3JNy.cjs → Grid-DFaRzlB4.cjs} +1 -1
  50. package/dist/{Grid-DFk-4jnZ.js → Grid-vM--ojbL.js} +7 -7
  51. package/dist/{Grow-BfjkXlG8.js → Grow-DE5x7F5S.js} +1 -1
  52. package/dist/{Grow-BULCy6GX.cjs → Grow-ovNT7Sot.cjs} +1 -1
  53. package/dist/IconButton-DCQiOq7W.cjs +2 -0
  54. package/dist/{IconButton-BYvak8Nw.js → IconButton-f9EZgwvD.js} +66 -66
  55. package/dist/{InputAdornment-BBZXvhZ-.js → InputAdornment-B615VSjF.js} +4 -4
  56. package/dist/{InputAdornment-DvHQMisT.cjs → InputAdornment-BrrJ8chb.cjs} +1 -1
  57. package/dist/{InputBase-BS5oknUK.js → InputBase-BCbPPzW1.js} +4 -4
  58. package/dist/{InputBase-DPdKpmOz.cjs → InputBase-CRrFludT.cjs} +1 -1
  59. package/dist/Link-CMes5bws.cjs +1 -0
  60. package/dist/{Link-DYPjEdvu.js → Link-GBRiPElP.js} +52 -39
  61. package/dist/{List-CB_cqCSw.js → List-DZkddOsr.js} +2 -2
  62. package/dist/{List-t9bWFewp.cjs → List-E_TAQ1jJ.cjs} +1 -1
  63. package/dist/{ListItem-DAZQEir2.js → ListItem-CMoibMI7.js} +4 -4
  64. package/dist/{ListItem-DP7YmqZk.cjs → ListItem-qTKJTg7f.cjs} +1 -1
  65. package/dist/ListItemText-B3z5dHrQ.cjs +1 -0
  66. package/dist/{ListItemText-qfdqJP77.js → ListItemText-BbrPf29n.js} +139 -139
  67. package/dist/{Menu-9BK8jmzW.js → Menu-3UjlpKRJ.js} +27 -27
  68. package/dist/{Menu-C61wLk41.cjs → Menu-C0uY9Dd0.cjs} +1 -1
  69. package/dist/MenuItem--a878rw9.cjs +1 -0
  70. package/dist/{MenuItem-C8nduSzJ.js → MenuItem-CHEWce5u.js} +94 -94
  71. package/dist/{Modal-DkzrSKHd.cjs → Modal-CdcolE0C.cjs} +1 -1
  72. package/dist/{Modal-D3Q9vEAI.js → Modal-Du5LfkZg.js} +5 -5
  73. package/dist/{MoreVert-C-Rhn-xK.cjs → MoreVert-DZjEMvuw.cjs} +1 -1
  74. package/dist/{MoreVert-C_W1m_Z_.js → MoreVert-PLU7h8WO.js} +1 -1
  75. package/dist/{Paper-IQckggbn.js → Paper-BylmTlAJ.js} +4 -4
  76. package/dist/{Paper-BbqZL5vx.cjs → Paper-DgHGh6vt.cjs} +1 -1
  77. package/dist/{Popper-DvWx5tR3.cjs → Popper-BsNp09Gg.cjs} +1 -1
  78. package/dist/{Popper-CfFLBZ7-.js → Popper-CvQLHjwo.js} +3 -3
  79. package/dist/Radio-CLNMQGNf.cjs +1 -0
  80. package/dist/{Radio-DKiu6lVB.js → Radio-CbYgci2-.js} +195 -190
  81. package/dist/{RadioGroup-DFKMlNWO.js → RadioGroup-D-Cq8SmM.js} +3 -3
  82. package/dist/{RadioGroup-Cvnwt4JE.cjs → RadioGroup-Dyf8fKum.cjs} +1 -1
  83. package/dist/{Select-CpNF3a57.js → Select-Bx0yVOZE.js} +641 -607
  84. package/dist/Select-CRVPbesC.cjs +3 -0
  85. package/dist/{Stack-CIyfgZCM.cjs → Stack-COmIqMxy.cjs} +1 -1
  86. package/dist/{Stack-DSJ2DqNd.js → Stack-CbK4a2n5.js} +5 -5
  87. package/dist/{Stepper-CXHfLPtA.cjs → Stepper-CWq9t5jy.cjs} +1 -1
  88. package/dist/{Stepper-DE2l91K0.js → Stepper-DU9nixCp.js} +6 -6
  89. package/dist/{Switch-BIcwDf_P.js → Switch-Bm3Gclye.js} +102 -99
  90. package/dist/Switch-kHZOqjeU.cjs +1 -0
  91. package/dist/{SwitchBase-DZV8S81Z.js → SwitchBase-9CKmTWdZ.js} +47 -44
  92. package/dist/SwitchBase-Hbqxtooi.cjs +1 -0
  93. package/dist/{Tab-Ckr6Bn59.js → Tab-DBCv1T9W.js} +58 -58
  94. package/dist/{Tab-r5imbU9z.cjs → Tab-DnxFjc89.cjs} +1 -1
  95. package/dist/{TextField-Brw3X9cn.cjs → TextField-BhdmUny-.cjs} +1 -1
  96. package/dist/{TextField-BenBw4oE.js → TextField-V-EQ80Y6.js} +6 -6
  97. package/dist/ToggleButtonGroup-B2FBwoDV.cjs +138 -0
  98. package/dist/{ToggleButtonGroup-DhtAoGtM.js → ToggleButtonGroup-_UpIjysl.js} +1567 -1537
  99. package/dist/{Tooltip-KkgNQm4r.js → Tooltip-DKHOTDh0.js} +81 -81
  100. package/dist/{Tooltip-BAOKe3SY.cjs → Tooltip-DYTDIzp4.cjs} +3 -3
  101. package/dist/{Typography-CSTmKyr8.cjs → Typography-BvRUTdLD.cjs} +1 -1
  102. package/dist/{Typography-Dy8r_tT2.js → Typography-o0iALAVg.js} +4 -4
  103. package/dist/components/ActionBar/ActionBar.cjs.js +1 -0
  104. package/dist/components/ActionBar/ActionBar.d.ts +3 -0
  105. package/dist/components/ActionBar/ActionBar.es.js +63 -0
  106. package/dist/components/ActionBar/index.cjs.js +1 -0
  107. package/dist/components/ActionBar/index.d.ts +2 -0
  108. package/dist/components/ActionBar/index.es.js +4 -0
  109. package/dist/components/ActionBar/style.cjs.js +1 -0
  110. package/dist/components/ActionBar/style.es.js +61 -0
  111. package/dist/components/ActionBar/types.cjs.js +1 -0
  112. package/dist/components/ActionBar/types.d.ts +17 -0
  113. package/dist/components/ActionBar/types.es.js +1 -0
  114. package/dist/components/Alert/Alert.cjs.js +1 -1
  115. package/dist/components/Alert/Alert.es.js +4 -4
  116. package/dist/components/Alert/index.cjs.js +1 -1
  117. package/dist/components/Alert/index.es.js +1 -1
  118. package/dist/components/Button/Button.cjs.js +1 -1
  119. package/dist/components/Button/Button.es.js +2 -2
  120. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  121. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  122. package/dist/components/DatePicker/index.cjs.js +1 -1
  123. package/dist/components/DatePicker/index.es.js +1 -1
  124. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  125. package/dist/components/Dialog/Dialog.es.js +2 -2
  126. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  127. package/dist/components/Dropzone/Dropzone.es.js +3 -3
  128. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  129. package/dist/components/EmptyState/EmptyState.d.ts +1 -0
  130. package/dist/components/EmptyState/EmptyState.es.js +22 -20
  131. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  132. package/dist/components/FileList/FileIcon.es.js +1 -1
  133. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  134. package/dist/components/FileList/FileListItem.es.js +4 -4
  135. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  136. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  137. package/dist/components/Heading/Heading.cjs.js +1 -1
  138. package/dist/components/Heading/Heading.es.js +2 -2
  139. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  140. package/dist/components/ImagePicker/ImagePicker.es.js +4 -4
  141. package/dist/components/Loader/Loader.cjs.js +1 -1
  142. package/dist/components/Loader/Loader.es.js +1 -1
  143. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  144. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  145. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  146. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  147. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  148. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  149. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  150. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  151. package/dist/components/TreeView/TreeView.cjs.js +2 -2
  152. package/dist/components/TreeView/TreeView.es.js +39 -39
  153. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  154. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  155. package/dist/components/TreeView/types.d.ts +1 -0
  156. package/dist/components/TreeView/utils.cjs.js +1 -1
  157. package/dist/components/TreeView/utils.es.js +3 -3
  158. package/dist/components/index.cjs.js +1 -1
  159. package/dist/components/index.d.ts +2 -1
  160. package/dist/components/index.es.js +302 -300
  161. package/dist/components/stories/ActionBar.stories.cjs.js +1 -0
  162. package/dist/components/stories/ActionBar.stories.d.ts +11 -0
  163. package/dist/components/stories/ActionBar.stories.es.js +206 -0
  164. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  165. package/dist/components/stories/Alert.stories.es.js +1 -1
  166. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  167. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  168. package/dist/components/stories/Badge.stories.cjs.js +1 -1
  169. package/dist/components/stories/Badge.stories.es.js +2 -2
  170. package/dist/components/stories/Button.stories.cjs.js +1 -1
  171. package/dist/components/stories/Button.stories.es.js +1 -1
  172. package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
  173. package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
  174. package/dist/components/stories/Card.stories.cjs.js +1 -1
  175. package/dist/components/stories/Card.stories.es.js +2 -2
  176. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  177. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  178. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  179. package/dist/components/stories/Chip.stories.es.js +1 -1
  180. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  181. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  182. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  183. package/dist/components/stories/Dialog.stories.es.js +2 -2
  184. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  185. package/dist/components/stories/Divider.stories.es.js +1 -1
  186. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  187. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  188. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  189. package/dist/components/stories/Heading.stories.es.js +2 -2
  190. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  191. package/dist/components/stories/IconButton.stories.es.js +2 -2
  192. package/dist/components/stories/Link.stories.cjs.js +1 -1
  193. package/dist/components/stories/Link.stories.es.js +1 -1
  194. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  195. package/dist/components/stories/Menu.stories.es.js +2 -2
  196. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  197. package/dist/components/stories/Paper.stories.es.js +1 -1
  198. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  199. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  200. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  201. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  202. package/dist/components/stories/Select.stories.cjs.js +1 -1
  203. package/dist/components/stories/Select.stories.es.js +3 -3
  204. package/dist/components/stories/Stepper.stories.cjs.js +1 -1
  205. package/dist/components/stories/Stepper.stories.es.js +4 -4
  206. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  207. package/dist/components/stories/TabList.stories.es.js +1 -1
  208. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  209. package/dist/components/stories/TextField.stories.es.js +1 -1
  210. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  211. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  212. package/dist/components/stories/TreeView.stories.cjs.js +1 -1
  213. package/dist/components/stories/TreeView.stories.es.js +12 -12
  214. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  215. package/dist/components/stories/Typography.stories.es.js +1 -1
  216. package/dist/{createSvgIcon-IET9soda.cjs → createSvgIcon-BJRigbha.cjs} +1 -1
  217. package/dist/{createSvgIcon-B1E6Wo8z.js → createSvgIcon-BV54rC7k.js} +3 -3
  218. package/dist/{dividerClasses-C07OJKLL.cjs → dividerClasses-CbwbHy8r.cjs} +1 -1
  219. package/dist/{dividerClasses-BPJZ8SFy.js → dividerClasses-DDXs86hs.js} +1 -1
  220. package/dist/{extendSxProp-ZMCunXYm.cjs → extendSxProp-CxMSlckP.cjs} +1 -1
  221. package/dist/{extendSxProp-CesAxox9.js → extendSxProp-XouBF-Ct.js} +1 -1
  222. package/dist/identifier-DBvccNCw.cjs +55 -0
  223. package/dist/identifier-Dnc8T93Z.js +2673 -0
  224. package/dist/{index-8G2jvqZ8.js → index-9te7SXrs.js} +47 -41
  225. package/dist/index-BkNQtUZJ.cjs +1 -0
  226. package/dist/index.cjs.js +1 -1
  227. package/dist/index.es.js +302 -300
  228. package/dist/{listItemTextClasses-B5VhLd9W.js → listItemTextClasses-4p_83pwn.js} +1 -1
  229. package/dist/{listItemTextClasses-CJDKfXvl.cjs → listItemTextClasses-Cxo4anAo.cjs} +1 -1
  230. package/dist/{memoTheme-BKfsJx_F.cjs → memoTheme-Dv-rDqFz.cjs} +1 -1
  231. package/dist/{memoTheme-DAFDflPY.js → memoTheme-K37vidlb.js} +1 -1
  232. package/dist/{mergeSlotProps-DXwOW3FE.cjs → mergeSlotProps-CXO1f70l.cjs} +1 -1
  233. package/dist/{mergeSlotProps-ChAye7iz.js → mergeSlotProps-DSWiBSbD.js} +1 -1
  234. package/dist/styled-B7pKW9DQ.cjs +1 -0
  235. package/dist/styled-JnAdiSL5.js +5 -0
  236. package/dist/{useSlot-BzdKwDQ5.js → useSlot-GooGQrej.js} +1 -1
  237. package/dist/{useSlot-C2FjoUpF.cjs → useSlot-ONna5RyM.cjs} +1 -1
  238. package/dist/{useSlotProps-DdMuGelR.js → useSlotProps-C34Wr67s.js} +1 -1
  239. package/dist/{useSlotProps-CrQGQLdL.cjs → useSlotProps-CtYqUyy1.cjs} +1 -1
  240. package/dist/{useTheme-XJ9sFCWX.js → useTheme-CH7DA5fq.js} +3 -3
  241. package/dist/{useTheme-BLMJDSsv.cjs → useTheme-D6wPRo0G.cjs} +1 -1
  242. package/dist/{useTheme-CooC_6Ep.cjs → useTheme-DkiCyF-9.cjs} +1 -1
  243. package/dist/{useTheme--i9fxE_A.js → useTheme-VH02z7nF.js} +1 -1
  244. package/dist/{useThemeProps-B9E_wuN9.cjs → useThemeProps-BU5PNyhK.cjs} +1 -1
  245. package/dist/useThemeProps-CnZ-QgwI.cjs +1 -0
  246. package/dist/useThemeProps-DT4QxdFn.js +17 -0
  247. package/dist/{useThemeProps-B4VFkcP0.js → useThemeProps-DZ05-54P.js} +2 -2
  248. package/package.json +7 -7
  249. package/dist/Autocomplete-BdPO9SAd.cjs +0 -6
  250. package/dist/Backdrop-DeNTZlA5.cjs +0 -1
  251. package/dist/Button-DyJV5llI.cjs +0 -1
  252. package/dist/Checkbox-3hTSv0EZ.cjs +0 -1
  253. package/dist/Chip-BG0OU0KI.cjs +0 -1
  254. package/dist/Chip-DmjZbx_X.js +0 -572
  255. package/dist/DatePicker-CH8XRum0.cjs +0 -16
  256. package/dist/DefaultPropsProvider-Cnf49AIv.cjs +0 -1
  257. package/dist/DefaultPropsProvider-DqazQPtr.js +0 -306
  258. package/dist/Dialog-Btagj_Gt.cjs +0 -1
  259. package/dist/Divider-NermA5hZ.cjs +0 -1
  260. package/dist/IconButton-CjtMjZ9e.cjs +0 -2
  261. package/dist/Link-BwbY60dS.cjs +0 -1
  262. package/dist/ListItemText-cVnimPLO.cjs +0 -1
  263. package/dist/MenuItem-DHM3qxwr.cjs +0 -1
  264. package/dist/Radio-Bwh_t6PC.cjs +0 -1
  265. package/dist/Select-3HP39Z7o.cjs +0 -3
  266. package/dist/Switch-CTEqKDiv.cjs +0 -1
  267. package/dist/SwitchBase-P3zHVmLX.cjs +0 -1
  268. package/dist/ToggleButtonGroup-CA1cSosV.cjs +0 -138
  269. package/dist/identifier-BoZelETM.cjs +0 -55
  270. package/dist/identifier-PWESmBq6.js +0 -2598
  271. package/dist/index-D3lMWU76.cjs +0 -1
  272. package/dist/styled-C7gyRDlj.js +0 -5
  273. package/dist/styled-Cax0O00h.cjs +0 -1
  274. package/dist/useThemeProps-C1A3rnbh.cjs +0 -1
  275. package/dist/useThemeProps-CQ9rZe7g.js +0 -17
@@ -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
- };