@cgi-learning-hub/ui 1.5.1 → 1.6.0-dev.1747671610

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 (343) hide show
  1. package/dist/Alert-DW8yCR-B.cjs +1 -0
  2. package/dist/{Alert-BfMYnyZX.js → Alert-PmI169Dq.js} +144 -142
  3. package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BIBR54X2.js} +709 -667
  4. package/dist/Autocomplete-D9hZ2wrR.cjs +6 -0
  5. package/dist/Backdrop-3TL73mAe.cjs +1 -0
  6. package/dist/{Backdrop-B200pms1.js → Backdrop-BxgGvlLM.js} +21 -20
  7. package/dist/Badge-DhyDno9j.cjs +138 -0
  8. package/dist/{ToggleButtonGroup-gxIqbo6a.js → Badge-rX7YUmBc.js} +6487 -4178
  9. package/dist/Box-DYD6q-6M.cjs +1 -0
  10. package/dist/{Box-D3Pi13ta.js → Box-o7Tjjyko.js} +21 -20
  11. package/dist/{Button-D1aKdjIh.js → Button-D974vesA.js} +19 -18
  12. package/dist/Button-y1LmxqGA.cjs +1 -0
  13. package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-Chb99sDQ.js} +25 -24
  14. package/dist/ButtonBase-Cteo-mSC.cjs +74 -0
  15. package/dist/{CardContent-DyggcxBG.js → CardContent-DaZl2i3G.js} +10 -9
  16. package/dist/CardContent-ji0_AneN.cjs +1 -0
  17. package/dist/Checkbox-XXqW_dbW.cjs +1 -0
  18. package/dist/{Checkbox-DkrWUPYT.js → Checkbox-p-PKpEw_.js} +91 -62
  19. package/dist/Chip-Bpcd3tnL.cjs +1 -0
  20. package/dist/{Chip-Y39z3DS6.js → Chip-CPR3r42q.js} +13 -12
  21. package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DVKNRMKq.js} +15 -14
  22. package/dist/CircularProgress-Wqx0-T36.cjs +28 -0
  23. package/dist/{Close-DJDhRwj2.cjs → Close-DyRqry3p.cjs} +1 -1
  24. package/dist/{Close-hx7dlgmZ.js → Close-m-MX3rFn.js} +1 -1
  25. package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-Bpxbxvyb.cjs} +1 -1
  26. package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-CjjQdrNy.js} +1 -1
  27. package/dist/CustomTreeItem-DPyfIueW.cjs +3 -0
  28. package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-hIRSCwAW.js} +251 -256
  29. package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-BMzW4v1g.js} +1079 -1081
  30. package/dist/DatePicker-CNhBoaI3.cjs +14 -0
  31. package/dist/DefaultPropsProvider-B1crdkTC.cjs +1 -0
  32. package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-hFv1J_xl.js} +68 -67
  33. package/dist/{Delete-Cfk3fOW-.js → Delete-9fJbdRit.js} +1 -1
  34. package/dist/{Delete-DDxv1h6V.cjs → Delete-CEX2hq0f.cjs} +1 -1
  35. package/dist/Dialog-B2LKe7ZM.cjs +1 -0
  36. package/dist/{Dialog-Ccvug1yq.js → Dialog-BzsWl6Vl.js} +106 -111
  37. package/dist/{DialogContent-CIMpKm-U.js → DialogContent-B41jvlMn.js} +14 -13
  38. package/dist/DialogContent-BbCu_OEw.cjs +1 -0
  39. package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-CVvztEM0.js} +22 -21
  40. package/dist/DialogTitle-SwUSpeBT.cjs +1 -0
  41. package/dist/{Divider-C2cBikSL.js → Divider-CJwnMdVg.js} +9 -8
  42. package/dist/Divider-Cshcr5kR.cjs +1 -0
  43. package/dist/{Folder-DEtB13yM.cjs → Folder-7plrMkOp.cjs} +1 -1
  44. package/dist/{Folder-Bnoqtzc6.js → Folder-CutUz0bW.js} +1 -1
  45. package/dist/FormLabel-0LbNeQQU.cjs +2 -0
  46. package/dist/{FormLabel-EkpI8MQr.js → FormLabel-DSi2pGSZ.js} +16 -15
  47. package/dist/{Grow-B_clfUP9.js → Grow-FFFqe81C.js} +5 -5
  48. package/dist/Grow-aEgTOewU.cjs +1 -0
  49. package/dist/IconButton-BKwDNYJl.cjs +2 -0
  50. package/dist/{IconButton-D1mhTuaI.js → IconButton-CgwURB2g.js} +7 -6
  51. package/dist/InputAdornment-C7e-kyf7.cjs +1 -0
  52. package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-DgWvMLgR.js} +22 -21
  53. package/dist/{InputBase-BQnEIwl1.js → InputBase-DxLqRpcl.js} +263 -256
  54. package/dist/InputBase-pYQWRFK2.cjs +3 -0
  55. package/dist/Link-DUtuCYMx.cjs +1 -0
  56. package/dist/{Link-8ltXgZj7.js → Link-rb-SwfiY.js} +18 -17
  57. package/dist/List-BH_S4Hqm.cjs +1 -0
  58. package/dist/{List-DJsqHOqv.js → List-BjfdkeEI.js} +5 -4
  59. package/dist/{ListItem-BspNcHM_.js → ListItem-B0EiObKw.js} +40 -39
  60. package/dist/ListItem-D33t-hkx.cjs +1 -0
  61. package/dist/ListItemText-B8jlTz59.cjs +2 -0
  62. package/dist/ListItemText-BeyHu1da.js +853 -0
  63. package/dist/Menu-BjrN8rMF.cjs +7 -0
  64. package/dist/{Menu-DPhreDcS.js → Menu-By6cOqEO.js} +407 -336
  65. package/dist/{MenuItem-Fb7iU47J.js → MenuItem-B1FTx8Uo.js} +17 -16
  66. package/dist/MenuItem-Cz_x60jl.cjs +1 -0
  67. package/dist/Modal-DxwlW5NV.cjs +2 -0
  68. package/dist/{Modal-dmMiGSAp.js → Modal-vrLLqk9Y.js} +240 -245
  69. package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-DC6HBf1h.cjs} +1 -1
  70. package/dist/{MoreVert-BCGFGn8f.js → MoreVert-DJ8sAY3o.js} +1 -1
  71. package/dist/{Paper-CEDxpHWv.js → Paper-984iTz4H.js} +32 -31
  72. package/dist/Paper-Bh9CKUCb.cjs +2 -0
  73. package/dist/{Popper-D5_YIJX6.js → Popper-DfwuvxaQ.js} +11 -10
  74. package/dist/Popper-yO_RaCbM.cjs +4 -0
  75. package/dist/Portal-B5KqLEa0.cjs +1 -0
  76. package/dist/Portal-ChC9wmMZ.js +85 -0
  77. package/dist/{Radio-B4sx0387.js → Radio-BqY-su_F.js} +228 -183
  78. package/dist/Radio-C7zzpRFc.cjs +1 -0
  79. package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-BQvlYFpE.js} +24 -23
  80. package/dist/RadioGroup-BlUWRmLG.cjs +1 -0
  81. package/dist/{Select-CxnCi-3l.js → Select-DZMwqCYA.js} +96 -95
  82. package/dist/Select-Doay7ukI.cjs +3 -0
  83. package/dist/Stack-BVWbOqY_.cjs +1 -0
  84. package/dist/{Stack-CzKIgmIE.js → Stack-CMUWQxQn.js} +63 -107
  85. package/dist/{Switch-D3KweZGQ.js → Switch-Bg4QB4PJ.js} +169 -108
  86. package/dist/Switch-CEfqaD33.cjs +1 -0
  87. package/dist/SwitchBase-DvCITKv8.cjs +1 -0
  88. package/dist/SwitchBase-EDFBMPd7.js +316 -0
  89. package/dist/{Tab-C1r8JXwz.js → Tab-52AkFc9v.js} +599 -537
  90. package/dist/Tab-C6H241Pf.cjs +4 -0
  91. package/dist/{TextField-D-_WjPAW.js → TextField-DG9mRp_m.js} +127 -116
  92. package/dist/TextField-bE2NUKKK.cjs +1 -0
  93. package/dist/{Tooltip-D0bof-68.js → Tooltip-DCgaU2em.js} +20 -19
  94. package/dist/Tooltip-D_w-IJoD.cjs +4 -0
  95. package/dist/Typography-De-21leI.cjs +1 -0
  96. package/dist/{Typography-DBJqhIhB.js → Typography-DwMlN0K5.js} +9 -8
  97. package/dist/{capitalize-DSG2FA7x.js → capitalize-BHFotl9B.js} +1 -1
  98. package/dist/{capitalize-CToVceBw.cjs → capitalize-CKLkSyDO.cjs} +1 -1
  99. package/dist/client-error-CHkavqXs.cjs +1 -0
  100. package/dist/{client-error-B_-qjgAB.js → client-error-D0Ng5oOn.js} +1 -3
  101. package/dist/components/Alert/Alert.cjs.js +1 -1
  102. package/dist/components/Alert/Alert.es.js +3 -3
  103. package/dist/components/Alert/index.cjs.js +1 -1
  104. package/dist/components/Alert/index.es.js +1 -1
  105. package/dist/components/Button/Button.cjs.js +1 -1
  106. package/dist/components/Button/Button.es.js +2 -2
  107. package/dist/components/ColorPicker/ColorPicker.cjs.js +27 -0
  108. package/dist/components/ColorPicker/ColorPicker.d.ts +4 -0
  109. package/dist/components/ColorPicker/ColorPicker.es.js +7960 -0
  110. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +1 -0
  111. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +5 -0
  112. package/dist/components/ColorPicker/ColorPickerIcon.es.js +58 -0
  113. package/dist/components/ColorPicker/index.cjs.js +1 -0
  114. package/dist/components/ColorPicker/index.d.ts +3 -0
  115. package/dist/components/ColorPicker/index.es.js +4 -0
  116. package/dist/components/ColorPicker/styles.cjs.js +1 -0
  117. package/dist/components/ColorPicker/styles.es.js +26 -0
  118. package/dist/components/ColorPicker/types.cjs.js +1 -0
  119. package/dist/components/ColorPicker/types.d.ts +19 -0
  120. package/dist/components/ColorPicker/types.es.js +1 -0
  121. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  122. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  123. package/dist/components/DatePicker/index.cjs.js +1 -1
  124. package/dist/components/DatePicker/index.es.js +1 -1
  125. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  126. package/dist/components/Dialog/Dialog.es.js +2 -2
  127. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  128. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  129. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  130. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  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 +5 -5
  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/QueryError/QueryError.cjs.js +1 -1
  148. package/dist/components/QueryError/QueryError.es.js +2 -2
  149. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  150. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  151. package/dist/components/ResourceCard/style.cjs.js +1 -1
  152. package/dist/components/ResourceCard/style.es.js +22 -22
  153. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  154. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  155. package/dist/components/TreeView/TreeView.cjs.js +5 -5
  156. package/dist/components/TreeView/TreeView.es.js +15 -13
  157. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  158. package/dist/components/TreeView/components/CustomTreeItem.es.js +4 -3
  159. package/dist/components/TreeView/utils.cjs.js +1 -1
  160. package/dist/components/TreeView/utils.es.js +3 -3
  161. package/dist/components/index.cjs.js +1 -1
  162. package/dist/components/index.d.ts +19 -0
  163. package/dist/components/index.es.js +404 -373
  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/Button.stories.cjs.js +1 -1
  169. package/dist/components/stories/Button.stories.es.js +1 -1
  170. package/dist/components/stories/Card.stories.cjs.js +1 -1
  171. package/dist/components/stories/Card.stories.es.js +2 -2
  172. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  173. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  174. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  175. package/dist/components/stories/Chip.stories.es.js +1 -1
  176. package/dist/components/stories/ColoPicker.stories.cjs.js +1 -0
  177. package/dist/components/stories/ColoPicker.stories.d.ts +6 -0
  178. package/dist/components/stories/ColoPicker.stories.es.js +23 -0
  179. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  180. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  181. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  182. package/dist/components/stories/Dialog.stories.es.js +2 -2
  183. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  184. package/dist/components/stories/Divider.stories.es.js +1 -1
  185. package/dist/components/stories/EmptyState.stories.cjs.js +1 -1
  186. package/dist/components/stories/EmptyState.stories.es.js +1 -1
  187. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  188. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  189. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  190. package/dist/components/stories/Heading.stories.es.js +2 -2
  191. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  192. package/dist/components/stories/IconButton.stories.es.js +2 -2
  193. package/dist/components/stories/Link.stories.cjs.js +1 -1
  194. package/dist/components/stories/Link.stories.es.js +1 -1
  195. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  196. package/dist/components/stories/Menu.stories.es.js +2 -2
  197. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  198. package/dist/components/stories/Paper.stories.es.js +1 -1
  199. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  200. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  201. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  202. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  203. package/dist/components/stories/Select.stories.cjs.js +1 -1
  204. package/dist/components/stories/Select.stories.es.js +3 -3
  205. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  206. package/dist/components/stories/TabList.stories.es.js +1 -1
  207. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  208. package/dist/components/stories/TextField.stories.es.js +1 -1
  209. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  210. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  211. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  212. package/dist/components/stories/TreeView.stories.es.js +29 -29
  213. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  214. package/dist/components/stories/Typography.stories.es.js +1 -1
  215. package/dist/composeClasses-CJKlIaRn.js +51 -0
  216. package/dist/composeClasses-CWgX5SFD.cjs +1 -0
  217. package/dist/createSvgIcon-BgBODH2F.cjs +1 -0
  218. package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-BlKmtOkV.js} +48 -47
  219. package/dist/{dividerClasses-BtzbOVqV.cjs → dividerClasses-D3gnW6kZ.cjs} +1 -1
  220. package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-Glz8RJdF.js} +1 -1
  221. package/dist/elementTypeAcceptingRef-BwZv9xBI.cjs +1 -0
  222. package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DOeckaXy.js} +1 -1
  223. package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BouzOuB6.js} +1 -1
  224. package/dist/{extendSxProp-BKP1AeGz.cjs → extendSxProp-Cm-DtZe3.cjs} +1 -1
  225. package/dist/generateUtilityClasses-CMlilM6r.cjs +55 -0
  226. package/dist/generateUtilityClasses-DngCqveO.js +2628 -0
  227. package/dist/getReactElementRef-EVJnBPlV.cjs +1 -0
  228. package/dist/{getReactElementRef-CD3_Stk5.js → getReactElementRef-H8kwrWP1.js} +1 -1
  229. package/dist/hooks/lazySvgImport.cjs.js +1 -1
  230. package/dist/hooks/lazySvgImport.es.js +1 -1
  231. package/dist/index-BzsuDIEl.cjs +1 -0
  232. package/dist/{index-CDLJvERp.js → index-CX0sAlmK.js} +2 -2
  233. package/dist/index-CrINMjCH.cjs +1 -0
  234. package/dist/index-DIyAQH20.cjs +5 -0
  235. package/dist/index-DLnSn8GT.cjs +20 -0
  236. package/dist/{index-JOgYmUF8.js → index-DX2Sl0Ig.js} +1 -1
  237. package/dist/index-Sy88PpwE.js +672 -0
  238. package/dist/{index-CoYVLWJY.js → index-l8yqod25.js} +14 -13
  239. package/dist/index.cjs.js +1 -1
  240. package/dist/index.es.js +404 -373
  241. package/dist/{listItemTextClasses-DePeZNtZ.cjs → listItemTextClasses-BJFgw1ah.cjs} +1 -1
  242. package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-BRj19IXv.js} +1 -1
  243. package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-BAbn60Cb.cjs} +1 -1
  244. package/dist/{memoTheme-44McxcVZ.js → memoTheme-nmt7i1dS.js} +1 -1
  245. package/dist/mergeSlotProps-BBciKnr4.js +62 -0
  246. package/dist/mergeSlotProps-Z5-o9vSe.cjs +1 -0
  247. package/dist/refType-B_IEJm4x.cjs +1 -0
  248. package/dist/{refType-DsRJ5_Sj.js → refType-Dp7CJc86.js} +1 -1
  249. package/dist/server-error-CqyYyPLN.cjs +1 -0
  250. package/dist/{server-error-DMyaPFs8.js → server-error-CvgIy7ap.js} +1 -3
  251. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  252. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  253. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  254. package/dist/useForkRef-u29GSuCu.js +27 -0
  255. package/dist/useSlot-BDb1lvxu.js +125 -0
  256. package/dist/useSlot-W0PiuVaZ.cjs +1 -0
  257. package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-B_D8u0j-.js} +2 -2
  258. package/dist/useSlotProps-OhEflPiz.cjs +1 -0
  259. package/dist/useTheme-C59wIJ3-.js +11 -0
  260. package/dist/{useTheme-DpMakc_Y.cjs → useTheme-ClhInrO2.cjs} +1 -1
  261. package/dist/{useTheme-CCi6a5Vl.cjs → useTheme-CqYtLDbs.cjs} +1 -1
  262. package/dist/{useTheme-C2OE_AnH.js → useTheme-D9cVynB-.js} +1 -1
  263. package/dist/useThemeProps-BFQ8ndnj.js +17 -0
  264. package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-DQOn-ezC.cjs} +1 -1
  265. package/dist/useThemeProps-DYpozGhe.cjs +1 -0
  266. package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-ggw56DH-.js} +2 -2
  267. package/dist/{utils-DFLaK7Ad.js → utils-BQenyzDz.js} +1 -1
  268. package/dist/utils-ByXw_ZY1.cjs +1 -0
  269. package/dist/warning-C8W811fV.js +11 -0
  270. package/dist/warning-DMUNDgRg.cjs +2 -0
  271. package/package.json +12 -10
  272. package/dist/Alert-Dg5u5Z7d.cjs +0 -1
  273. package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
  274. package/dist/Backdrop-BrTs3LxC.cjs +0 -1
  275. package/dist/Box-CFuWIdLg.cjs +0 -1
  276. package/dist/Button-C7tsSPXV.cjs +0 -1
  277. package/dist/ButtonBase-CBFRgTBs.cjs +0 -74
  278. package/dist/CardContent-BRUkl8hU.cjs +0 -1
  279. package/dist/Checkbox-C_wSNEHD.cjs +0 -1
  280. package/dist/Chip-DUeBMcO4.cjs +0 -1
  281. package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
  282. package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
  283. package/dist/DatePicker-BYPJypQT.cjs +0 -14
  284. package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
  285. package/dist/Dialog-DOXpPT7S.cjs +0 -1
  286. package/dist/DialogContent-BoIE95Tg.cjs +0 -1
  287. package/dist/DialogTitle-B_am69Lr.cjs +0 -1
  288. package/dist/Divider-Nyl7rx-c.cjs +0 -1
  289. package/dist/FormLabel-D4O160ND.cjs +0 -2
  290. package/dist/Grow-DKA2Mfhu.cjs +0 -1
  291. package/dist/IconButton-CGfKAsNI.cjs +0 -2
  292. package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
  293. package/dist/InputBase-BIf-xtMJ.cjs +0 -3
  294. package/dist/Link-CS0qbKjo.cjs +0 -1
  295. package/dist/List-T5dKKWkc.cjs +0 -1
  296. package/dist/ListItem-BN7OXyEP.cjs +0 -1
  297. package/dist/ListItemText-6gXRtF3r.cjs +0 -1
  298. package/dist/ListItemText-afV0BrJL.js +0 -928
  299. package/dist/Menu-D6dHPVP_.cjs +0 -7
  300. package/dist/MenuItem-DOVsV_vI.cjs +0 -1
  301. package/dist/Modal-B8xPmNJd.cjs +0 -2
  302. package/dist/Paper-owda8LtM.cjs +0 -2
  303. package/dist/Popper-DMGJYlm7.cjs +0 -4
  304. package/dist/Portal-BKVc0iys.js +0 -81
  305. package/dist/Portal-CgaP8O8B.cjs +0 -1
  306. package/dist/Radio-OUfsD89D.cjs +0 -1
  307. package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
  308. package/dist/Select-CUlunaOr.cjs +0 -3
  309. package/dist/Stack-D5_1ZBcn.cjs +0 -1
  310. package/dist/Switch-DpdnFebj.cjs +0 -1
  311. package/dist/SwitchBase-BsP35Aas.js +0 -262
  312. package/dist/SwitchBase-DMGf52a3.cjs +0 -1
  313. package/dist/Tab-DZvAf79O.cjs +0 -4
  314. package/dist/TextField-C0KpyS6X.cjs +0 -1
  315. package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
  316. package/dist/Tooltip-BljbhP1z.cjs +0 -4
  317. package/dist/Typography-yvyJLNFu.cjs +0 -1
  318. package/dist/client-error-BUtdld5f.cjs +0 -1
  319. package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
  320. package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
  321. package/dist/generateUtilityClasses-BpRGbQmY.js +0 -3299
  322. package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
  323. package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
  324. package/dist/index-Bt7ukCXi.cjs +0 -5
  325. package/dist/index-DCpyECL4.cjs +0 -1
  326. package/dist/index-baZm35zL.cjs +0 -1
  327. package/dist/refType-DDdajp2p.cjs +0 -1
  328. package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
  329. package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
  330. package/dist/server-error-CeAtUo4S.cjs +0 -1
  331. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  332. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  333. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  334. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  335. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  336. package/dist/useForkRef-C_4o__cU.js +0 -15
  337. package/dist/useSlot-CSTfsYPJ.cjs +0 -1
  338. package/dist/useSlot-CYOxsM2I.js +0 -48
  339. package/dist/useSlotProps-DTgWZk99.cjs +0 -1
  340. package/dist/useTheme-BDL2rp7a.js +0 -11
  341. package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
  342. package/dist/useThemeProps-DjkGUV8r.js +0 -17
  343. package/dist/utils-Cn6wZNus.cjs +0 -1
@@ -1,28 +1,31 @@
1
1
  import { jsx as x, jsxs as ie } from "react/jsx-runtime";
2
- import { c as ae } from "./createSvgIcon-CsMK8tGM.js";
3
- import { B as Ke } from "./Box-D3Pi13ta.js";
4
- import { _ as f } from "./ButtonBase-Bncgzjtp.js";
2
+ import { c as ae } from "./createSvgIcon-BlKmtOkV.js";
3
+ import { _ as g } from "./ButtonBase-Chb99sDQ.js";
5
4
  import * as R from "react";
6
- import { u as ce } from "./useForkRef-C_4o__cU.js";
7
- import { e as K, r as be } from "./resolveComponentProps-BZQ1jKzF.js";
8
- import { treeItemRootStyle as Fe, treeContentStyle as je, iconStyle as Ie, arrowContainerStyle as qe, expandedGroupStyle as _e } from "./components/TreeView/style.es.js";
9
- import { getIconComponent as Ue } from "./components/TreeView/utils.es.js";
10
- import { G as we, H as Te, x as We, I as ve, P as i, n as oe } from "./generateUtilityClasses-BpRGbQmY.js";
11
- import { a as Pe } from "./TransitionGroupContext-DbLioz_6.js";
12
- import { u as Ge } from "./useThemeProps-DjkGUV8r.js";
13
- import { u as Xe, s as V, c as Ee, f as le } from "./DefaultPropsProvider-Ik4eAJdt.js";
14
- import { u as Ye } from "./useTheme-BDL2rp7a.js";
15
- import { m as Je } from "./memoTheme-44McxcVZ.js";
16
- import { T as Qe, g as he } from "./utils-DFLaK7Ad.js";
17
- import { u as Ze } from "./useTimeout-CrCYVizI.js";
18
- import { e as He } from "./elementTypeAcceptingRef-CW5o2Qxo.js";
19
- import { C as et } from "./Checkbox-DkrWUPYT.js";
20
- import { u as tt } from "./unsupportedProp-BuVD30Gh.js";
21
- import { u as F } from "./useSlotProps-CDJdiQpV.js";
5
+ import { w as ze } from "./warning-C8W811fV.js";
6
+ import { u as ce } from "./useForkRef-u29GSuCu.js";
7
+ import { e as K, r as be } from "./useSlot-BDb1lvxu.js";
8
+ import { treeItemRootStyle as Be, treeContentStyle as Ke, iconStyle as Ie, arrowContainerStyle as Fe, expandedGroupStyle as je } from "./components/TreeView/style.es.js";
9
+ import { getIconComponent as qe } from "./components/TreeView/utils.es.js";
10
+ import Ue from "./components/EllipsisWithTooltip/EllipsisWithTooltip.es.js";
11
+ import { P as i } from "./index-Sy88PpwE.js";
12
+ import { a as Ce } from "./TransitionGroupContext-DbLioz_6.js";
13
+ import { F as Te, G as we, w as We, H as ve, n as oe } from "./generateUtilityClasses-DngCqveO.js";
14
+ import { u as _e } from "./useThemeProps-BFQ8ndnj.js";
15
+ import { u as Ge, s as V, c as Pe, f as le } from "./DefaultPropsProvider-hFv1J_xl.js";
16
+ import { u as Xe } from "./useTheme-C59wIJ3-.js";
17
+ import { m as Ye } from "./memoTheme-nmt7i1dS.js";
18
+ import { T as Je, g as he } from "./utils-BQenyzDz.js";
19
+ import { u as Qe } from "./useTimeout-CrCYVizI.js";
20
+ import { e as Ze } from "./elementTypeAcceptingRef-DOeckaXy.js";
21
+ import { C as He } from "./Checkbox-p-PKpEw_.js";
22
+ import { u as et } from "./unsupportedProp-BuVD30Gh.js";
23
+ import { u as F } from "./useSlotProps-B_D8u0j-.js";
24
+ import { B as tt } from "./Box-o7Tjjyko.js";
22
25
  function ot(e) {
23
- return Te("MuiCollapse", e);
26
+ return we("MuiCollapse", e);
24
27
  }
25
- const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]), nt = (e) => {
28
+ const Ht = Te("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]), nt = (e) => {
26
29
  const {
27
30
  orientation: t,
28
31
  classes: o
@@ -33,7 +36,7 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
33
36
  wrapper: ["wrapper", `${t}`],
34
37
  wrapperInner: ["wrapperInner", `${t}`]
35
38
  };
36
- return Ee(s, ot, o);
39
+ return Pe(s, ot, o);
37
40
  }, rt = V("div", {
38
41
  name: "MuiCollapse",
39
42
  slot: "Root",
@@ -43,7 +46,7 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
43
46
  } = e;
44
47
  return [t.root, t[o.orientation], o.state === "entered" && t.entered, o.state === "exited" && !o.in && o.collapsedSize === "0px" && t.hidden];
45
48
  }
46
- })(Je(({
49
+ })(Ye(({
47
50
  theme: e
48
51
  }) => ({
49
52
  height: 0,
@@ -115,15 +118,15 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
115
118
  }
116
119
  }]
117
120
  }), se = /* @__PURE__ */ R.forwardRef(function(t, o) {
118
- const s = Xe({
121
+ const s = Ge({
119
122
  props: t,
120
123
  name: "MuiCollapse"
121
124
  }), {
122
125
  addEndListener: p,
123
126
  children: d,
124
- className: g,
127
+ className: m,
125
128
  collapsedSize: l = "0px",
126
- component: m,
129
+ component: f,
127
130
  easing: c,
128
131
  in: h,
129
132
  onEnter: b,
@@ -133,22 +136,22 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
133
136
  onExited: S,
134
137
  onExiting: O,
135
138
  orientation: j = "vertical",
136
- style: U,
137
- timeout: T = We.standard,
139
+ style: W,
140
+ timeout: w = We.standard,
138
141
  // eslint-disable-next-line react/prop-types
139
- TransitionComponent: E = Qe,
142
+ TransitionComponent: E = Je,
140
143
  ...P
141
- } = s, w = {
144
+ } = s, T = {
142
145
  ...s,
143
146
  orientation: j,
144
147
  collapsedSize: l
145
- }, D = nt(w), W = Ye(), Y = Ze(), M = R.useRef(null), q = R.useRef(), _ = typeof l == "number" ? `${l}px` : l, k = j === "horizontal", z = k ? "width" : "height", B = R.useRef(null), H = ce(o, B), A = (I) => (L) => {
148
+ }, D = nt(T), _ = Xe(), Y = Qe(), M = R.useRef(null), q = R.useRef(), U = typeof l == "number" ? `${l}px` : l, k = j === "horizontal", z = k ? "width" : "height", B = R.useRef(null), H = ce(o, B), A = (I) => (L) => {
146
149
  if (I) {
147
150
  const N = B.current;
148
151
  L === void 0 ? I(N) : I(N, L);
149
152
  }
150
153
  }, G = () => M.current ? M.current[k ? "clientWidth" : "clientHeight"] : 0, J = A((I, L) => {
151
- M.current && k && (M.current.style.position = "absolute"), I.style[z] = _, b && b(I, L);
154
+ M.current && k && (M.current.style.position = "absolute"), I.style[z] = U, b && b(I, L);
152
155
  }), ee = A((I, L) => {
153
156
  const N = G();
154
157
  M.current && k && (M.current.style.position = "");
@@ -156,14 +159,14 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
156
159
  duration: Z,
157
160
  easing: a
158
161
  } = he({
159
- style: U,
160
- timeout: T,
162
+ style: W,
163
+ timeout: w,
161
164
  easing: c
162
165
  }, {
163
166
  mode: "enter"
164
167
  });
165
- if (T === "auto") {
166
- const n = W.transitions.getAutoHeightDuration(N);
168
+ if (w === "auto") {
169
+ const n = _.transitions.getAutoHeightDuration(N);
167
170
  I.style.transitionDuration = `${n}ms`, q.current = n;
168
171
  } else
169
172
  I.style.transitionDuration = typeof Z == "string" ? Z : `${Z}ms`;
@@ -172,23 +175,23 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
172
175
  I.style[z] = "auto", C && C(I, L);
173
176
  }), re = A((I) => {
174
177
  I.style[z] = `${G()}px`, y && y(I);
175
- }), ue = A(S), ge = A((I) => {
178
+ }), ue = A(S), me = A((I) => {
176
179
  const L = G(), {
177
180
  duration: N,
178
181
  easing: Z
179
182
  } = he({
180
- style: U,
181
- timeout: T,
183
+ style: W,
184
+ timeout: w,
182
185
  easing: c
183
186
  }, {
184
187
  mode: "exit"
185
188
  });
186
- if (T === "auto") {
187
- const a = W.transitions.getAutoHeightDuration(L);
189
+ if (w === "auto") {
190
+ const a = _.transitions.getAutoHeightDuration(L);
188
191
  I.style.transitionDuration = `${a}ms`, q.current = a;
189
192
  } else
190
193
  I.style.transitionDuration = typeof N == "string" ? N : `${N}ms`;
191
- I.style[z] = _, I.style.transitionTimingFunction = Z, O && O(I);
194
+ I.style[z] = U, I.style.transitionTimingFunction = Z, O && O(I);
192
195
  });
193
196
  return /* @__PURE__ */ x(E, {
194
197
  in: h,
@@ -197,42 +200,42 @@ const Jt = we("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidd
197
200
  onEntering: ee,
198
201
  onExit: re,
199
202
  onExited: ue,
200
- onExiting: ge,
203
+ onExiting: me,
201
204
  addEndListener: (I) => {
202
- T === "auto" && Y.start(q.current || 0, I), p && p(B.current, I);
205
+ w === "auto" && Y.start(q.current || 0, I), p && p(B.current, I);
203
206
  },
204
207
  nodeRef: B,
205
- timeout: T === "auto" ? null : T,
208
+ timeout: w === "auto" ? null : w,
206
209
  ...P,
207
210
  children: (I, {
208
211
  ownerState: L,
209
212
  ...N
210
213
  }) => /* @__PURE__ */ x(rt, {
211
- as: m,
212
- className: ve(D.root, g, {
214
+ as: f,
215
+ className: ve(D.root, m, {
213
216
  entered: D.entered,
214
- exited: !h && _ === "0px" && D.hidden
217
+ exited: !h && U === "0px" && D.hidden
215
218
  }[I]),
216
219
  style: {
217
- [k ? "minWidth" : "minHeight"]: _,
218
- ...U
220
+ [k ? "minWidth" : "minHeight"]: U,
221
+ ...W
219
222
  },
220
223
  ref: H,
221
224
  ownerState: {
222
- ...w,
225
+ ...T,
223
226
  state: I
224
227
  },
225
228
  ...N,
226
229
  children: /* @__PURE__ */ x(it, {
227
230
  ownerState: {
228
- ...w,
231
+ ...T,
229
232
  state: I
230
233
  },
231
234
  className: D.wrapper,
232
235
  ref: M,
233
236
  children: /* @__PURE__ */ x(st, {
234
237
  ownerState: {
235
- ...w,
238
+ ...T,
236
239
  state: I
237
240
  },
238
241
  className: D.wrapperInner,
@@ -274,7 +277,7 @@ process.env.NODE_ENV !== "production" && (se.propTypes = {
274
277
  * The component used for the root node.
275
278
  * Either a string to use a HTML element or a component.
276
279
  */
277
- component: He,
280
+ component: Ze,
278
281
  /**
279
282
  * The transition timing function.
280
283
  * You may specify a single easing or a object containing enter and exit values.
@@ -342,39 +345,32 @@ const at = ae(/* @__PURE__ */ x("path", {
342
345
  d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
343
346
  }), "KeyboardArrowDown"), lt = ae(/* @__PURE__ */ x("path", {
344
347
  d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
345
- }), "KeyboardArrowRight"), ye = /* @__PURE__ */ new Set();
346
- function dt(e, t = "warning") {
347
- if (process.env.NODE_ENV === "production")
348
- return;
349
- const o = Array.isArray(e) ? e.join(`
350
- `) : e;
351
- ye.has(o) || (ye.add(o), t === "error" ? console.error(o) : console.warn(o));
348
+ }), "KeyboardArrowRight");
349
+ function dt(e) {
350
+ return _e;
352
351
  }
353
- function ct(e) {
354
- return Ge;
355
- }
356
- let xe = 0;
357
- const Qt = () => (xe += 1, `mui-tree-view-${xe}`), pt = ({
352
+ let ye = 0;
353
+ const eo = () => (ye += 1, `mui-tree-view-${ye}`), ct = ({
358
354
  id: e,
359
355
  treeId: t = "",
360
356
  itemId: o
361
- }) => e ?? `${t}-${o}`, Re = /* @__PURE__ */ R.createContext(null);
362
- process.env.NODE_ENV !== "production" && (Re.displayName = "TreeViewContext");
357
+ }) => e ?? `${t}-${o}`, Ee = /* @__PURE__ */ R.createContext(null);
358
+ process.env.NODE_ENV !== "production" && (Ee.displayName = "TreeViewContext");
363
359
  const ne = () => {
364
- const e = R.useContext(Re);
360
+ const e = R.useContext(Ee);
365
361
  if (e == null)
366
362
  throw new Error(["MUI X: Could not find the Tree View context.", "It looks like you rendered your component outside of a SimpleTreeView or RichTreeView parent component.", "This can also happen if you are bundling multiple versions of the Tree View."].join(`
367
363
  `));
368
364
  return e;
369
- }, Se = /* @__PURE__ */ R.createContext(() => -1);
370
- process.env.NODE_ENV !== "production" && (Se.displayName = "TreeViewItemDepthContext");
371
- const Oe = (e, t) => {
365
+ }, Re = /* @__PURE__ */ R.createContext(() => -1);
366
+ process.env.NODE_ENV !== "production" && (Re.displayName = "TreeViewItemDepthContext");
367
+ const Se = (e, t) => {
372
368
  let o = t.length - 1;
373
369
  for (; o >= 0 && !e.isItemNavigable(t[o]); )
374
370
  o -= 1;
375
371
  if (o !== -1)
376
372
  return t[o];
377
- }, ut = (e, t) => {
373
+ }, pt = (e, t) => {
378
374
  const o = e.getItemMeta(t), s = e.getItemOrderedChildrenIds(o.parentId), p = e.getItemIndex(t);
379
375
  if (p === 0)
380
376
  return o.parentId;
@@ -382,12 +378,12 @@ const Oe = (e, t) => {
382
378
  for (; !e.isItemNavigable(s[d]) && d >= 0; )
383
379
  d -= 1;
384
380
  if (d === -1)
385
- return o.parentId == null ? null : ut(e, o.parentId);
386
- let g = s[d], l = Oe(e, e.getItemOrderedChildrenIds(g));
387
- for (; e.isItemExpanded(g) && l != null; )
388
- g = l, l = e.getItemOrderedChildrenIds(g).find(e.isItemNavigable);
389
- return g;
390
- }, gt = (e, t) => {
381
+ return o.parentId == null ? null : pt(e, o.parentId);
382
+ let m = s[d], l = Se(e, e.getItemOrderedChildrenIds(m));
383
+ for (; e.isItemExpanded(m) && l != null; )
384
+ m = l, l = e.getItemOrderedChildrenIds(m).find(e.isItemNavigable);
385
+ return m;
386
+ }, ut = (e, t) => {
391
387
  if (e.isItemExpanded(t)) {
392
388
  const s = e.getItemOrderedChildrenIds(t).find(e.isItemNavigable);
393
389
  if (s != null)
@@ -406,32 +402,32 @@ const Oe = (e, t) => {
406
402
  o = e.getItemMeta(o.parentId);
407
403
  }
408
404
  return null;
409
- }, Zt = (e) => {
405
+ }, to = (e) => {
410
406
  let t = null;
411
407
  for (; t == null || e.isItemExpanded(t); ) {
412
- const o = e.getItemOrderedChildrenIds(t), s = Oe(e, o);
408
+ const o = e.getItemOrderedChildrenIds(t), s = Se(e, o);
413
409
  if (s == null)
414
410
  return t;
415
411
  t = s;
416
412
  }
417
413
  return t;
418
- }, ft = (e) => e.getItemOrderedChildrenIds(null).find(e.isItemNavigable), mt = (e, t, o) => {
414
+ }, mt = (e) => e.getItemOrderedChildrenIds(null).find(e.isItemNavigable), gt = (e, t, o) => {
419
415
  if (t === o)
420
416
  return [t, o];
421
417
  const s = e.getItemMeta(t), p = e.getItemMeta(o);
422
418
  if (s.parentId === p.id || p.parentId === s.id)
423
419
  return p.parentId === s.id ? [s.id, p.id] : [p.id, s.id];
424
- const d = [s.id], g = [p.id];
425
- let l = s.parentId, m = p.parentId, c = g.indexOf(l) !== -1, h = d.indexOf(m) !== -1, b = !0, C = !0;
420
+ const d = [s.id], m = [p.id];
421
+ let l = s.parentId, f = p.parentId, c = m.indexOf(l) !== -1, h = d.indexOf(f) !== -1, b = !0, C = !0;
426
422
  for (; !h && !c; )
427
- b && (d.push(l), c = g.indexOf(l) !== -1, b = l !== null, !c && b && (l = e.getItemMeta(l).parentId)), C && !c && (g.push(m), h = d.indexOf(m) !== -1, C = m !== null, !h && C && (m = e.getItemMeta(m).parentId));
428
- const r = c ? l : m, y = e.getItemOrderedChildrenIds(r), S = d[d.indexOf(r) - 1], O = g[g.indexOf(r) - 1];
423
+ b && (d.push(l), c = m.indexOf(l) !== -1, b = l !== null, !c && b && (l = e.getItemMeta(l).parentId)), C && !c && (m.push(f), h = d.indexOf(f) !== -1, C = f !== null, !h && C && (f = e.getItemMeta(f).parentId));
424
+ const r = c ? l : f, y = e.getItemOrderedChildrenIds(r), S = d[d.indexOf(r) - 1], O = m[m.indexOf(r) - 1];
429
425
  return y.indexOf(S) < y.indexOf(O) ? [t, o] : [o, t];
430
- }, Ht = (e, t, o) => {
431
- const s = (m) => {
432
- if (e.isItemExpandable(m) && e.isItemExpanded(m))
433
- return e.getItemOrderedChildrenIds(m)[0];
434
- let c = e.getItemMeta(m);
426
+ }, oo = (e, t, o) => {
427
+ const s = (f) => {
428
+ if (e.isItemExpandable(f) && e.isItemExpanded(f))
429
+ return e.getItemOrderedChildrenIds(f)[0];
430
+ let c = e.getItemMeta(f);
435
431
  for (; c != null; ) {
436
432
  const h = e.getItemOrderedChildrenIds(c.parentId), b = e.getItemIndex(c.id);
437
433
  if (b < h.length - 1)
@@ -439,18 +435,18 @@ const Oe = (e, t) => {
439
435
  c = e.getItemMeta(c.parentId);
440
436
  }
441
437
  throw new Error("Invalid range");
442
- }, [p, d] = mt(e, t, o), g = [p];
438
+ }, [p, d] = gt(e, t, o), m = [p];
443
439
  let l = p;
444
440
  for (; l !== d; )
445
- l = s(l), e.isItemDisabled(l) || g.push(l);
446
- return g;
447
- }, eo = (e) => {
448
- let t = ft(e);
441
+ l = s(l), e.isItemDisabled(l) || m.push(l);
442
+ return m;
443
+ }, no = (e) => {
444
+ let t = mt(e);
449
445
  const o = [];
450
446
  for (; t != null; )
451
- o.push(t), t = gt(e, t);
447
+ o.push(t), t = ut(e, t);
452
448
  return o;
453
- }, Ce = (e, t) => t !== e.closest('*[role="treeitem"]'), de = (e, t) => e.getAvailablePlugins().has(t), bt = ({
449
+ }, xe = (e, t) => t !== e.closest('*[role="treeitem"]'), de = (e, t) => e.getAvailablePlugins().has(t), ft = ({
454
450
  props: e
455
451
  }) => {
456
452
  const {
@@ -458,14 +454,14 @@ const Oe = (e, t) => {
458
454
  } = ne(), {
459
455
  label: o,
460
456
  itemId: s
461
- } = e, [p, d] = R.useState(o), g = t.isItemBeingEdited(s);
457
+ } = e, [p, d] = R.useState(o), m = t.isItemBeingEdited(s);
462
458
  return R.useEffect(() => {
463
- g || d(o);
464
- }, [g, o]), {
459
+ m || d(o);
460
+ }, [m, o]), {
465
461
  propsEnhancers: {
466
462
  labelInput: ({
467
463
  externalEventHandlers: l,
468
- interactions: m
464
+ interactions: f
469
465
  }) => t.isItemEditable(s) ? {
470
466
  value: p ?? "",
471
467
  "data-element": "labelInput",
@@ -478,11 +474,11 @@ const Oe = (e, t) => {
478
474
  if ((S = l.onKeyDown) == null || S.call(l, r), r.defaultMuiPrevented)
479
475
  return;
480
476
  const y = r.target;
481
- r.key === "Enter" && y.value ? m.handleSaveItemLabel(r, y.value) : r.key === "Escape" && m.handleCancelItemLabelEditing(r);
477
+ r.key === "Enter" && y.value ? f.handleSaveItemLabel(r, y.value) : r.key === "Escape" && f.handleCancelItemLabelEditing(r);
482
478
  },
483
479
  onBlur: (r) => {
484
480
  var y;
485
- (y = l.onBlur) == null || y.call(l, r), !r.defaultMuiPrevented && r.target.value && m.handleSaveItemLabel(r, r.target.value);
481
+ (y = l.onBlur) == null || y.call(l, r), !r.defaultMuiPrevented && r.target.value && f.handleSaveItemLabel(r, r.target.value);
486
482
  },
487
483
  autoFocus: !0,
488
484
  type: "text"
@@ -495,12 +491,12 @@ const Oe = (e, t) => {
495
491
  setState: o,
496
492
  params: s
497
493
  }) => {
498
- const p = R.useRef(t.editedItemId), d = (b) => p.current === b, g = (b) => {
499
- o((C) => f({}, C, {
494
+ const p = R.useRef(t.editedItemId), d = (b) => p.current === b, m = (b) => {
495
+ o((C) => g({}, C, {
500
496
  editedItemId: b
501
497
  })), p.current = b;
502
- }, l = (b) => b === t.editedItemId, m = !!s.isItemEditable, c = (b) => {
503
- if (b == null || !m)
498
+ }, l = (b) => b === t.editedItemId, f = !!s.isItemEditable, c = (b) => {
499
+ if (b == null || !f)
504
500
  return !1;
505
501
  const C = e.getItem(b);
506
502
  return C ? typeof s.isItemEditable == "function" ? s.isItemEditable(C) : !!s.isItemEditable : !1;
@@ -510,10 +506,10 @@ const Oe = (e, t) => {
510
506
  `));
511
507
  o((r) => {
512
508
  const y = r.items.itemMetaMap[b];
513
- return y.label !== C ? f({}, r, {
514
- items: f({}, r.items, {
515
- itemMetaMap: f({}, r.items.itemMetaMap, {
516
- [b]: f({}, y, {
509
+ return y.label !== C ? g({}, r, {
510
+ items: g({}, r.items, {
511
+ itemMetaMap: g({}, r.items.itemMetaMap, {
512
+ [b]: g({}, y, {
517
513
  label: C
518
514
  })
519
515
  })
@@ -523,11 +519,11 @@ const Oe = (e, t) => {
523
519
  };
524
520
  return {
525
521
  instance: {
526
- setEditedItemId: g,
522
+ setEditedItemId: m,
527
523
  isItemBeingEdited: l,
528
524
  updateItemLabel: h,
529
525
  isItemEditable: c,
530
- isTreeViewEditable: m,
526
+ isTreeViewEditable: f,
531
527
  isItemBeingEditedRef: d
532
528
  },
533
529
  publicAPI: {
@@ -535,13 +531,13 @@ const Oe = (e, t) => {
535
531
  }
536
532
  };
537
533
  };
538
- X.itemPlugin = bt;
534
+ X.itemPlugin = ft;
539
535
  X.getDefaultizedParams = ({
540
536
  params: e,
541
537
  experimentalFeatures: t
542
538
  }) => {
543
539
  const o = t == null ? void 0 : t.labelEditing;
544
- return process.env.NODE_ENV !== "production" && e.isItemEditable && !o && dt(["MUI X: The label editing feature requires the `labelEditing` experimental feature to be enabled.", "You can do it by passing `experimentalFeatures={{ labelEditing: true}}` to the Rich Tree View Pro component.", "Check the documentation for more details: https://mui.com/x/react-tree-view/rich-tree-view/editing/"]), f({}, e, {
540
+ return process.env.NODE_ENV !== "production" && e.isItemEditable && !o && ze(["MUI X: The label editing feature requires the `labelEditing` experimental feature to be enabled.", "You can do it by passing `experimentalFeatures={{ labelEditing: true}}` to the Rich Tree View Pro component.", "Check the documentation for more details: https://mui.com/x/react-tree-view/rich-tree-view/editing/"]), g({}, e, {
545
541
  isItemEditable: o ? e.isItemEditable ?? !1 : !1
546
542
  });
547
543
  };
@@ -552,7 +548,7 @@ X.params = {
552
548
  onItemLabelChange: !0,
553
549
  isItemEditable: !0
554
550
  };
555
- const It = V("div", {
551
+ const bt = V("div", {
556
552
  name: "MuiTreeItem2DragAndDropOverlay",
557
553
  slot: "Root",
558
554
  overridesResolver: (e, t) => t.root,
@@ -602,10 +598,10 @@ const It = V("div", {
602
598
  }
603
599
  }]
604
600
  }));
605
- function De(e) {
606
- return e.action == null ? null : /* @__PURE__ */ x(It, f({}, e));
601
+ function Oe(e) {
602
+ return e.action == null ? null : /* @__PURE__ */ x(bt, g({}, e));
607
603
  }
608
- process.env.NODE_ENV !== "production" && (De.propTypes = {
604
+ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
609
605
  // ----------------------------- Warning --------------------------------
610
606
  // | These PropTypes are generated from the TypeScript type definitions |
611
607
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -613,13 +609,13 @@ process.env.NODE_ENV !== "production" && (De.propTypes = {
613
609
  action: i.oneOf(["make-child", "move-to-parent", "reorder-above", "reorder-below"]),
614
610
  style: i.object
615
611
  });
616
- const ht = V("input", {
612
+ const It = V("input", {
617
613
  name: "MuiTreeItem2",
618
614
  slot: "LabelInput",
619
615
  overridesResolver: (e, t) => t.labelInput
620
616
  })(({
621
617
  theme: e
622
- }) => f({}, e.typography.body1, {
618
+ }) => g({}, e.typography.body1, {
623
619
  width: "100%",
624
620
  backgroundColor: e.palette.background.paper,
625
621
  borderRadius: e.shape.borderRadius,
@@ -630,12 +626,12 @@ const ht = V("input", {
630
626
  outline: `1px solid ${e.palette.primary.main}`
631
627
  }
632
628
  }));
633
- function yt(e) {
634
- return Te("MuiTreeItem", e);
629
+ function ht(e) {
630
+ return we("MuiTreeItem", e);
635
631
  }
636
- const to = we("MuiTreeItem", ["root", "groupTransition", "content", "expanded", "selected", "focused", "disabled", "iconContainer", "label", "checkbox", "labelInput", "editable", "editing", "dragAndDropOverlay"]), xt = ae(/* @__PURE__ */ x("path", {
632
+ const ro = Te("MuiTreeItem", ["root", "groupTransition", "content", "expanded", "selected", "focused", "disabled", "iconContainer", "label", "checkbox", "labelInput", "editable", "editing", "dragAndDropOverlay"]), yt = ae(/* @__PURE__ */ x("path", {
637
633
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
638
- }), "TreeViewExpandIcon"), Ct = ae(/* @__PURE__ */ x("path", {
634
+ }), "TreeViewExpandIcon"), xt = ae(/* @__PURE__ */ x("path", {
639
635
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
640
636
  }), "TreeViewCollapseIcon");
641
637
  function pe(e) {
@@ -660,7 +656,7 @@ pe.propTypes = {
660
656
  children: i.node,
661
657
  itemId: i.string.isRequired
662
658
  };
663
- const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
659
+ const De = (e) => Array.isArray(e) ? e.length > 0 && e.some(De) : !!e, Ct = ({
664
660
  itemId: e,
665
661
  children: t
666
662
  }) => {
@@ -671,14 +667,14 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
671
667
  },
672
668
  publicAPI: p
673
669
  } = ne(), d = {
674
- expandable: Me(t),
670
+ expandable: De(t),
675
671
  expanded: o.isItemExpanded(e),
676
672
  focused: o.isItemFocused(e),
677
673
  selected: o.isItemSelected(e),
678
674
  disabled: o.isItemDisabled(e),
679
675
  editing: o != null && o.isItemBeingEdited ? o == null ? void 0 : o.isItemBeingEdited(e) : !1,
680
676
  editable: o.isItemEditable ? o.isItemEditable(e) : !1
681
- }, g = (r) => {
677
+ }, m = (r) => {
682
678
  if (d.disabled)
683
679
  return;
684
680
  d.focused || o.focusItem(r, e);
@@ -696,7 +692,7 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
696
692
  itemId: e,
697
693
  shouldBeSelected: !0
698
694
  });
699
- }, m = (r) => {
695
+ }, f = (r) => {
700
696
  const y = r.nativeEvent.shiftKey;
701
697
  s && y ? o.expandSelectionRange(r, e) : o.selectItem({
702
698
  event: r,
@@ -709,9 +705,9 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
709
705
  };
710
706
  return {
711
707
  interactions: {
712
- handleExpansion: g,
708
+ handleExpansion: m,
713
709
  handleSelection: l,
714
- handleCheckboxSelection: m,
710
+ handleCheckboxSelection: f,
715
711
  toggleItemEditing: c,
716
712
  handleSaveItemLabel: (r, y) => {
717
713
  de(o, X) && o.isItemBeingEditedRef(e) && (o.updateItemLabel(e, y), c(), o.focusItem(r, e));
@@ -733,15 +729,15 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
733
729
  },
734
730
  selection: {
735
731
  disableSelection: d,
736
- checkboxSelection: g
732
+ checkboxSelection: m
737
733
  },
738
734
  expansion: {
739
735
  expansionTrigger: l
740
736
  },
741
- treeId: m,
737
+ treeId: f,
742
738
  instance: c,
743
739
  publicAPI: h
744
- } = ne(), b = R.useContext(Se), {
740
+ } = ne(), b = R.useContext(Re), {
745
741
  id: C,
746
742
  itemId: r,
747
743
  label: y,
@@ -749,20 +745,20 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
749
745
  rootRef: O
750
746
  } = e, {
751
747
  rootRef: j,
752
- contentRef: U,
753
- propsEnhancers: T
748
+ contentRef: W,
749
+ propsEnhancers: w
754
750
  } = t(e), {
755
751
  interactions: E,
756
752
  status: P
757
- } = wt({
753
+ } = Ct({
758
754
  itemId: r,
759
755
  children: S
760
- }), w = R.useRef(null), D = R.useRef(null), W = ce(O, j, w), Y = ce(U, D), M = R.useRef(null), q = pt({
756
+ }), T = R.useRef(null), D = R.useRef(null), _ = ce(O, j, T), Y = ce(W, D), M = R.useRef(null), q = ct({
761
757
  itemId: r,
762
- treeId: m,
758
+ treeId: f,
763
759
  id: C
764
- }), _ = c.canItemBeTabbed(r) ? 0 : -1, k = {
765
- rootRefObject: w,
760
+ }), U = c.canItemBeTabbed(r) ? 0 : -1, k = {
761
+ rootRefObject: T,
766
762
  contentRefObject: D,
767
763
  interactions: E
768
764
  }, z = (a) => (n) => {
@@ -772,13 +768,13 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
772
768
  const u = !P.disabled || s;
773
769
  !P.focused && u && n.currentTarget === n.target && c.focusItem(n, r);
774
770
  }, B = (a) => (n) => {
775
- var v, $, te, fe, me;
771
+ var v, $, te, ge, fe;
776
772
  if ((v = a.onBlur) == null || v.call(a, n), n.defaultMuiPrevented)
777
773
  return;
778
774
  const u = c.getItemDOMElement(r);
779
775
  P.editing || // we can exit the editing state by clicking outside the input (within the Tree Item) or by pressing Enter or Escape -> we don't want to remove the focused item from the state in these cases
780
776
  // we can also exit the editing state by clicking on the root itself -> want to remove the focused item from the state in this case
781
- n.relatedTarget && Ce(n.relatedTarget, u) && (n.target && ((te = ($ = n.target) == null ? void 0 : $.dataset) == null ? void 0 : te.element) === "labelInput" && Ce(n.target, u) || ((me = (fe = n.relatedTarget) == null ? void 0 : fe.dataset) == null ? void 0 : me.element) === "labelInput") || c.removeFocusedItem();
777
+ n.relatedTarget && xe(n.relatedTarget, u) && (n.target && ((te = ($ = n.target) == null ? void 0 : $.dataset) == null ? void 0 : te.element) === "labelInput" && xe(n.target, u) || ((fe = (ge = n.relatedTarget) == null ? void 0 : ge.dataset) == null ? void 0 : fe.element) === "labelInput") || c.removeFocusedItem();
782
778
  }, H = (a) => (n) => {
783
779
  var u, v, $;
784
780
  (u = a.onKeyDown) == null || u.call(a, n), !(n.defaultMuiPrevented || (($ = (v = n.target) == null ? void 0 : v.dataset) == null ? void 0 : $.element) === "labelInput") && c.handleItemKeyDown(n, r);
@@ -787,7 +783,7 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
787
783
  (u = a.onDoubleClick) == null || u.call(a, n), !n.defaultMuiPrevented && E.toggleItemEditing();
788
784
  }, G = (a) => (n) => {
789
785
  var u, v;
790
- (u = a.onClick) == null || u.call(a, n), o == null || o(n, r), !(n.defaultMuiPrevented || (v = M.current) != null && v.contains(n.target)) && (l === "content" && E.handleExpansion(n), g || E.handleSelection(n));
786
+ (u = a.onClick) == null || u.call(a, n), o == null || o(n, r), !(n.defaultMuiPrevented || (v = M.current) != null && v.contains(n.target)) && (l === "content" && E.handleExpansion(n), m || E.handleSelection(n));
791
787
  }, J = (a) => (n) => {
792
788
  var u;
793
789
  (u = a.onMouseDown) == null || u.call(a, n), !n.defaultMuiPrevented && (n.shiftKey || n.ctrlKey || n.metaKey || P.disabled) && n.preventDefault();
@@ -801,13 +797,13 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
801
797
  return {
802
798
  getRootProps: (a = {}) => {
803
799
  var te;
804
- const n = f({}, K(e), K(a));
800
+ const n = g({}, K(e), K(a));
805
801
  let u;
806
802
  P.selected ? u = !0 : d || P.disabled ? u = void 0 : u = !1;
807
- const v = f({}, n, {
808
- ref: W,
803
+ const v = g({}, n, {
804
+ ref: _,
809
805
  role: "treeitem",
810
- tabIndex: _,
806
+ tabIndex: U,
811
807
  id: q,
812
808
  "aria-expanded": P.expandable ? P.expanded : void 0,
813
809
  "aria-selected": u,
@@ -820,27 +816,27 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
820
816
  p && (v.style = {
821
817
  "--TreeView-itemDepth": typeof b == "function" ? b(r) : b
822
818
  });
823
- const $ = ((te = T.root) == null ? void 0 : te.call(T, f({}, k, {
819
+ const $ = ((te = w.root) == null ? void 0 : te.call(w, g({}, k, {
824
820
  externalEventHandlers: n
825
821
  }))) ?? {};
826
- return f({}, v, $);
822
+ return g({}, v, $);
827
823
  },
828
824
  getContentProps: (a = {}) => {
829
825
  var $;
830
- const n = K(a), u = f({}, n, a, {
826
+ const n = K(a), u = g({}, n, a, {
831
827
  ref: Y,
832
828
  onClick: G(n),
833
829
  onMouseDown: J(n),
834
830
  status: P
835
831
  });
836
832
  p && (u.indentationAtItemLevel = !0);
837
- const v = (($ = T.content) == null ? void 0 : $.call(T, f({}, k, {
833
+ const v = (($ = w.content) == null ? void 0 : $.call(w, g({}, k, {
838
834
  externalEventHandlers: n
839
835
  }))) ?? {};
840
- return f({}, u, v);
836
+ return g({}, u, v);
841
837
  },
842
838
  getGroupTransitionProps: (a = {}) => {
843
- const n = K(a), u = f({}, n, {
839
+ const n = K(a), u = g({}, n, {
844
840
  unmountOnExit: !0,
845
841
  component: "ul",
846
842
  role: "group",
@@ -851,14 +847,14 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
851
847
  },
852
848
  getIconContainerProps: (a = {}) => {
853
849
  const n = K(a);
854
- return f({}, n, a, {
850
+ return g({}, n, a, {
855
851
  onClick: Q(n)
856
852
  });
857
853
  },
858
854
  getCheckboxProps: (a = {}) => {
859
855
  const n = K(a);
860
- return f({}, n, {
861
- visible: g,
856
+ return g({}, n, {
857
+ visible: m,
862
858
  ref: M,
863
859
  checked: P.selected,
864
860
  disabled: d || P.disabled,
@@ -868,7 +864,7 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
868
864
  });
869
865
  },
870
866
  getLabelProps: (a = {}) => {
871
- const n = f({}, K(a)), u = f({}, n, {
867
+ const n = g({}, K(a)), u = g({}, n, {
872
868
  children: y
873
869
  }, a, {
874
870
  onDoubleClick: A(n)
@@ -877,46 +873,46 @@ const Me = (e) => Array.isArray(e) ? e.length > 0 && e.some(Me) : !!e, wt = ({
877
873
  },
878
874
  getLabelInputProps: (a = {}) => {
879
875
  var v;
880
- const n = K(a), u = ((v = T.labelInput) == null ? void 0 : v.call(T, {
881
- rootRefObject: w,
876
+ const n = K(a), u = ((v = w.labelInput) == null ? void 0 : v.call(w, {
877
+ rootRefObject: T,
882
878
  contentRefObject: D,
883
879
  externalEventHandlers: n,
884
880
  interactions: E
885
881
  })) ?? {};
886
- return f({}, a, u);
882
+ return g({}, a, u);
887
883
  },
888
884
  getDragAndDropOverlayProps: (a = {}) => {
889
885
  var v;
890
- const n = K(a), u = ((v = T.dragAndDropOverlay) == null ? void 0 : v.call(T, f({}, k, {
886
+ const n = K(a), u = ((v = w.dragAndDropOverlay) == null ? void 0 : v.call(w, g({}, k, {
891
887
  externalEventHandlers: n
892
888
  }))) ?? {};
893
- return f({}, a, u);
889
+ return g({}, a, u);
894
890
  },
895
- rootRef: W,
891
+ rootRef: _,
896
892
  status: P,
897
893
  publicAPI: h
898
894
  };
899
- }, ke = Tt;
900
- function Le(e) {
895
+ }, Me = Tt;
896
+ function ke(e) {
901
897
  const {
902
898
  slots: t,
903
899
  slotProps: o,
904
900
  status: s
905
- } = e, p = ne(), d = f({}, p.icons.slots, {
906
- expandIcon: p.icons.slots.expandIcon ?? xt,
907
- collapseIcon: p.icons.slots.collapseIcon ?? Ct
908
- }), g = p.icons.slotProps;
901
+ } = e, p = ne(), d = g({}, p.icons.slots, {
902
+ expandIcon: p.icons.slots.expandIcon ?? yt,
903
+ collapseIcon: p.icons.slots.collapseIcon ?? xt
904
+ }), m = p.icons.slotProps;
909
905
  let l;
910
906
  t != null && t.icon ? l = "icon" : s.expandable ? s.expanded ? l = "collapseIcon" : l = "expandIcon" : l = "endIcon";
911
- const m = (t == null ? void 0 : t[l]) ?? d[l], c = F({
912
- elementType: m,
913
- externalSlotProps: (h) => f({}, be(g[l], h), be(o == null ? void 0 : o[l], h)),
907
+ const f = (t == null ? void 0 : t[l]) ?? d[l], c = F({
908
+ elementType: f,
909
+ externalSlotProps: (h) => g({}, be(m[l], h), be(o == null ? void 0 : o[l], h)),
914
910
  // TODO: Add proper ownerState
915
911
  ownerState: {}
916
912
  });
917
- return m ? /* @__PURE__ */ x(m, f({}, c)) : null;
913
+ return f ? /* @__PURE__ */ x(f, g({}, c)) : null;
918
914
  }
919
- process.env.NODE_ENV !== "production" && (Le.propTypes = {
915
+ process.env.NODE_ENV !== "production" && (ke.propTypes = {
920
916
  // ----------------------------- Warning --------------------------------
921
917
  // | These PropTypes are generated from the TypeScript type definitions |
922
918
  // | To update them edit the TypeScript types and run "pnpm proptypes" |
@@ -941,7 +937,7 @@ process.env.NODE_ENV !== "production" && (Le.propTypes = {
941
937
  selected: i.bool.isRequired
942
938
  }).isRequired
943
939
  });
944
- const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "slots", "slotProps"], Et = ct(), Ne = V("li", {
940
+ const wt = ["visible"], vt = ["id", "itemId", "label", "disabled", "children", "slots", "slotProps"], Pt = dt(), Le = V("li", {
945
941
  name: "MuiTreeItem2",
946
942
  slot: "Root",
947
943
  overridesResolver: (e, t) => t.root
@@ -950,7 +946,7 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
950
946
  margin: 0,
951
947
  padding: 0,
952
948
  outline: 0
953
- }), Ae = V("div", {
949
+ }), Ne = V("div", {
954
950
  name: "MuiTreeItem2",
955
951
  slot: "Content",
956
952
  overridesResolver: (e, t) => t.content,
@@ -1020,14 +1016,14 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
1020
1016
  backgroundColor: e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))` : oe(e.palette.primary.main, e.palette.action.selectedOpacity + e.palette.action.focusOpacity)
1021
1017
  }
1022
1018
  }]
1023
- })), Ve = V("div", {
1019
+ })), Et = V("div", {
1024
1020
  name: "MuiTreeItem2",
1025
1021
  slot: "Label",
1026
1022
  overridesResolver: (e, t) => t.label,
1027
1023
  shouldForwardProp: (e) => le(e) && e !== "editable"
1028
1024
  })(({
1029
1025
  theme: e
1030
- }) => f({
1026
+ }) => g({
1031
1027
  width: "100%",
1032
1028
  boxSizing: "border-box",
1033
1029
  // prevent width + padding to overflow
@@ -1044,7 +1040,7 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
1044
1040
  paddingLeft: "2px"
1045
1041
  }
1046
1042
  }]
1047
- })), $e = V("div", {
1043
+ })), Ae = V("div", {
1048
1044
  name: "MuiTreeItem2",
1049
1045
  slot: "IconContainer",
1050
1046
  overridesResolver: (e, t) => t.iconContainer
@@ -1056,7 +1052,7 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
1056
1052
  "& svg": {
1057
1053
  fontSize: 18
1058
1054
  }
1059
- }), ze = V(se, {
1055
+ }), Ve = V(se, {
1060
1056
  name: "MuiTreeItem2",
1061
1057
  slot: "GroupTransition",
1062
1058
  overridesResolver: (e, t) => t.groupTransition,
@@ -1076,8 +1072,8 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
1076
1072
  }), Rt = V(/* @__PURE__ */ R.forwardRef((e, t) => {
1077
1073
  const {
1078
1074
  visible: o
1079
- } = e, s = Pe(e, vt);
1080
- return o ? /* @__PURE__ */ x(et, f({}, s, {
1075
+ } = e, s = Ce(e, wt);
1076
+ return o ? /* @__PURE__ */ x(He, g({}, s, {
1081
1077
  ref: t
1082
1078
  })) : null;
1083
1079
  }), {
@@ -1090,7 +1086,7 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
1090
1086
  const {
1091
1087
  classes: t
1092
1088
  } = e;
1093
- return Ee({
1089
+ return Pe({
1094
1090
  root: ["root"],
1095
1091
  content: ["content"],
1096
1092
  expanded: ["expanded"],
@@ -1105,36 +1101,36 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
1105
1101
  groupTransition: ["groupTransition"],
1106
1102
  labelInput: ["labelInput"],
1107
1103
  dragAndDropOverlay: ["dragAndDropOverlay"]
1108
- }, yt, t);
1104
+ }, ht, t);
1109
1105
  }, Ot = /* @__PURE__ */ R.forwardRef(function(t, o) {
1110
- const s = Et({
1106
+ const s = Pt({
1111
1107
  props: t,
1112
1108
  name: "MuiTreeItem2"
1113
1109
  }), {
1114
1110
  id: p,
1115
1111
  itemId: d,
1116
- label: g,
1112
+ label: m,
1117
1113
  disabled: l,
1118
- children: m,
1114
+ children: f,
1119
1115
  slots: c = {},
1120
1116
  slotProps: h = {}
1121
- } = s, b = Pe(s, Pt), {
1117
+ } = s, b = Ce(s, vt), {
1122
1118
  getRootProps: C,
1123
1119
  getContentProps: r,
1124
1120
  getIconContainerProps: y,
1125
1121
  getCheckboxProps: S,
1126
1122
  getLabelProps: O,
1127
1123
  getGroupTransitionProps: j,
1128
- getLabelInputProps: U,
1129
- getDragAndDropOverlayProps: T,
1124
+ getLabelInputProps: W,
1125
+ getDragAndDropOverlayProps: w,
1130
1126
  status: E
1131
- } = ke({
1127
+ } = Me({
1132
1128
  id: p,
1133
1129
  itemId: d,
1134
- children: m,
1135
- label: g,
1130
+ children: f,
1131
+ label: m,
1136
1132
  disabled: l
1137
- }), P = f({}, s, E), w = St(P), D = c.root ?? Ne, W = F({
1133
+ }), P = g({}, s, E), T = St(P), D = c.root ?? Le, _ = F({
1138
1134
  elementType: D,
1139
1135
  getSlotProps: C,
1140
1136
  externalForwardedProps: b,
@@ -1143,62 +1139,62 @@ const vt = ["visible"], Pt = ["id", "itemId", "label", "disabled", "children", "
1143
1139
  ref: o
1144
1140
  },
1145
1141
  ownerState: {},
1146
- className: w.root
1147
- }), Y = c.content ?? Ae, M = F({
1142
+ className: T.root
1143
+ }), Y = c.content ?? Ne, M = F({
1148
1144
  elementType: Y,
1149
1145
  getSlotProps: r,
1150
1146
  externalSlotProps: h.content,
1151
1147
  ownerState: {},
1152
- className: ve(w.content, E.expanded && w.expanded, E.selected && w.selected, E.focused && w.focused, E.disabled && w.disabled, E.editing && w.editing, E.editable && w.editable)
1153
- }), q = c.iconContainer ?? $e, _ = F({
1148
+ className: ve(T.content, E.expanded && T.expanded, E.selected && T.selected, E.focused && T.focused, E.disabled && T.disabled, E.editing && T.editing, E.editable && T.editable)
1149
+ }), q = c.iconContainer ?? Ae, U = F({
1154
1150
  elementType: q,
1155
1151
  getSlotProps: y,
1156
1152
  externalSlotProps: h.iconContainer,
1157
1153
  ownerState: {},
1158
- className: w.iconContainer
1159
- }), k = c.label ?? Ve, z = F({
1154
+ className: T.iconContainer
1155
+ }), k = c.label ?? Et, z = F({
1160
1156
  elementType: k,
1161
1157
  getSlotProps: O,
1162
1158
  externalSlotProps: h.label,
1163
1159
  ownerState: {},
1164
- className: w.label
1160
+ className: T.label
1165
1161
  }), B = c.checkbox ?? Rt, H = F({
1166
1162
  elementType: B,
1167
1163
  getSlotProps: S,
1168
1164
  externalSlotProps: h.checkbox,
1169
1165
  ownerState: {},
1170
- className: w.checkbox
1166
+ className: T.checkbox
1171
1167
  }), A = c.groupTransition ?? void 0, G = F({
1172
1168
  elementType: A,
1173
1169
  getSlotProps: j,
1174
1170
  externalSlotProps: h.groupTransition,
1175
1171
  ownerState: {},
1176
- className: w.groupTransition
1177
- }), J = c.labelInput ?? ht, ee = F({
1172
+ className: T.groupTransition
1173
+ }), J = c.labelInput ?? It, ee = F({
1178
1174
  elementType: J,
1179
- getSlotProps: U,
1175
+ getSlotProps: W,
1180
1176
  externalSlotProps: h.labelInput,
1181
1177
  ownerState: {},
1182
- className: w.labelInput
1183
- }), Q = c.dragAndDropOverlay ?? De, re = F({
1178
+ className: T.labelInput
1179
+ }), Q = c.dragAndDropOverlay ?? Oe, re = F({
1184
1180
  elementType: Q,
1185
- getSlotProps: T,
1181
+ getSlotProps: w,
1186
1182
  externalSlotProps: h.dragAndDropOverlay,
1187
1183
  ownerState: {},
1188
- className: w.dragAndDropOverlay
1184
+ className: T.dragAndDropOverlay
1189
1185
  });
1190
1186
  return /* @__PURE__ */ x(pe, {
1191
1187
  itemId: d,
1192
- children: /* @__PURE__ */ ie(D, f({}, W, {
1193
- children: [/* @__PURE__ */ ie(Y, f({}, M, {
1194
- children: [/* @__PURE__ */ x(q, f({}, _, {
1195
- children: /* @__PURE__ */ x(Le, {
1188
+ children: /* @__PURE__ */ ie(D, g({}, _, {
1189
+ children: [/* @__PURE__ */ ie(Y, g({}, M, {
1190
+ children: [/* @__PURE__ */ x(q, g({}, U, {
1191
+ children: /* @__PURE__ */ x(ke, {
1196
1192
  status: E,
1197
1193
  slots: c,
1198
1194
  slotProps: h
1199
1195
  })
1200
- })), /* @__PURE__ */ x(B, f({}, H)), E.editing ? /* @__PURE__ */ x(J, f({}, ee)) : /* @__PURE__ */ x(k, f({}, z)), /* @__PURE__ */ x(Q, f({}, re))]
1201
- })), m && /* @__PURE__ */ x(ze, f({
1196
+ })), /* @__PURE__ */ x(B, g({}, H)), E.editing ? /* @__PURE__ */ x(J, g({}, ee)) : /* @__PURE__ */ x(k, g({}, z)), /* @__PURE__ */ x(Q, g({}, re))]
1197
+ })), f && /* @__PURE__ */ x(Ve, g({
1202
1198
  as: A
1203
1199
  }, G))]
1204
1200
  }))
@@ -1244,7 +1240,7 @@ process.env.NODE_ENV !== "production" && (Ot.propTypes = {
1244
1240
  * This prop isn't supported.
1245
1241
  * Use the `onItemFocus` callback on the tree if you need to monitor an item's focus.
1246
1242
  */
1247
- onFocus: tt,
1243
+ onFocus: et,
1248
1244
  /**
1249
1245
  * Callback fired when a key is pressed on the keyboard and the tree is in focus.
1250
1246
  */
@@ -1260,20 +1256,20 @@ process.env.NODE_ENV !== "production" && (Ot.propTypes = {
1260
1256
  */
1261
1257
  slots: i.object
1262
1258
  });
1263
- function oo(e) {
1259
+ function io(e) {
1264
1260
  const {
1265
1261
  id: t,
1266
1262
  itemId: o,
1267
1263
  label: s,
1268
1264
  disabled: p,
1269
1265
  children: d,
1270
- itemData: g,
1266
+ itemData: m,
1271
1267
  iconColor: l = "primary",
1272
- hasNoIcons: m,
1268
+ hasNoIcons: f,
1273
1269
  ref: c
1274
- } = e, h = Ue(
1275
- g == null ? void 0 : g.iconType,
1276
- g == null ? void 0 : g.customIcon
1270
+ } = e, h = qe(
1271
+ m == null ? void 0 : m.iconType,
1272
+ m == null ? void 0 : m.customIcon
1277
1273
  ), {
1278
1274
  getRootProps: b,
1279
1275
  getContentProps: C,
@@ -1281,28 +1277,28 @@ function oo(e) {
1281
1277
  getGroupTransitionProps: y,
1282
1278
  getIconContainerProps: S,
1283
1279
  status: O
1284
- } = ke({ id: t, itemId: o, label: s, disabled: p, children: d, rootRef: c }), j = {
1280
+ } = Me({ id: t, itemId: o, label: s, disabled: p, children: d, rootRef: c }), j = {
1285
1281
  ...O.selected && { fontWeight: 600 },
1286
- color: "palette-grey-darker"
1282
+ color: "var(--theme-palette-text-primary)"
1287
1283
  };
1288
1284
  return /* @__PURE__ */ x(pe, { itemId: o, children: /* @__PURE__ */ ie(
1289
- Ne,
1285
+ Le,
1290
1286
  {
1291
1287
  ...b(),
1292
1288
  "data-treeview-item": o || "",
1293
1289
  "data-treeview-item-label": s || "",
1294
- sx: Fe,
1290
+ sx: Be,
1295
1291
  children: [
1296
- /* @__PURE__ */ ie(Ae, { ...C(), style: je, children: [
1297
- !m && /* @__PURE__ */ x($e, { ...S(), sx: Ie, children: /* @__PURE__ */ x(h, { color: l, sx: Ie }) }),
1298
- /* @__PURE__ */ x(Ve, { ...r(), sx: j }),
1299
- /* @__PURE__ */ x(Ke, { sx: qe, children: O.expandable && (O.expanded ? /* @__PURE__ */ x(at, { fontSize: "small" }) : /* @__PURE__ */ x(lt, { fontSize: "small" })) })
1292
+ /* @__PURE__ */ ie(Ne, { ...C(), style: Ke, children: [
1293
+ !f && /* @__PURE__ */ x(Ae, { ...S(), sx: Ie, children: /* @__PURE__ */ x(h, { color: l, sx: Ie }) }),
1294
+ /* @__PURE__ */ x(Ue, { ...r(), typographyProps: j }),
1295
+ /* @__PURE__ */ x(tt, { sx: Fe, children: O.expandable && (O.expanded ? /* @__PURE__ */ x(at, { fontSize: "small" }) : /* @__PURE__ */ x(lt, { fontSize: "small" })) })
1300
1296
  ] }),
1301
1297
  d && /* @__PURE__ */ x(
1302
- ze,
1298
+ Ve,
1303
1299
  {
1304
1300
  ...y(),
1305
- style: O.expanded ? _e : void 0
1301
+ style: O.expanded ? je : void 0
1306
1302
  }
1307
1303
  )
1308
1304
  ]
@@ -1311,31 +1307,30 @@ function oo(e) {
1311
1307
  }
1312
1308
  export {
1313
1309
  se as C,
1314
- Re as T,
1315
- Qt as a,
1316
- pt as b,
1317
- Jt as c,
1318
- Se as d,
1319
- Zt as e,
1320
- ft as f,
1310
+ Ee as T,
1311
+ eo as a,
1312
+ ct as b,
1313
+ Ht as c,
1314
+ Re as d,
1315
+ to as e,
1316
+ mt as f,
1321
1317
  ot as g,
1322
- mt as h,
1323
- eo as i,
1324
- Ht as j,
1325
- Ce as k,
1326
- gt as l,
1327
- ut as m,
1318
+ gt as h,
1319
+ no as i,
1320
+ oo as j,
1321
+ xe as k,
1322
+ ut as l,
1323
+ pt as m,
1328
1324
  de as n,
1329
1325
  ne as o,
1330
- ht as p,
1331
- De as q,
1332
- ct as r,
1333
- Ct as s,
1334
- xt as t,
1326
+ It as p,
1327
+ Oe as q,
1328
+ dt as r,
1329
+ xt as s,
1330
+ yt as t,
1335
1331
  X as u,
1336
1332
  pe as v,
1337
- dt as w,
1338
- yt as x,
1339
- to as y,
1340
- oo as z
1333
+ ht as w,
1334
+ ro as x,
1335
+ io as y
1341
1336
  };