@cgi-learning-hub/ui 1.3.4 → 1.3.5-dev.1736343971

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 (268) hide show
  1. package/dist/Backdrop-CvufxHMY.cjs +1 -0
  2. package/dist/{Backdrop-BlKt7y1x.js → Backdrop-DcDd6WZF.js} +13 -13
  3. package/dist/{Box-DErdbtsw.js → Box-Byz2BwGf.js} +10 -10
  4. package/dist/Box-mP2Th61z.cjs +1 -0
  5. package/dist/Button-BH9MUvmz.cjs +1 -0
  6. package/dist/{Button-CiqVGfRs.js → Button-BnNYfQ3E.js} +153 -119
  7. package/dist/ButtonBase-BXtyQVDC.cjs +74 -0
  8. package/dist/{ButtonBase-DUPJVOlc.js → ButtonBase-DAWDecOk.js} +42 -41
  9. package/dist/{Card-mGRk1RuE.js → Card-AJG0TUOx.js} +3 -3
  10. package/dist/Card-NqCXQteq.cjs +1 -0
  11. package/dist/{Checkbox-aJ1r7ufI.js → Checkbox-8Rhxpkjl.js} +23 -22
  12. package/dist/Checkbox-DYrDbdy1.cjs +1 -0
  13. package/dist/CircularProgress-BByrCLjv.cjs +28 -0
  14. package/dist/{CircularProgress-CfODO7vI.js → CircularProgress-Kwlef5fX.js} +14 -13
  15. package/dist/DatePicker-7-4p3Vtj.cjs +14 -0
  16. package/dist/{DatePicker-Dyf9Vhld.js → DatePicker-BS1OatwQ.js} +549 -546
  17. package/dist/DefaultPropsProvider-3KMGupjb.cjs +17 -0
  18. package/dist/DefaultPropsProvider-CvJPQJmL.js +454 -0
  19. package/dist/{Delete-BOQTx9ze.js → Delete-BkZN7Xu5.js} +1 -1
  20. package/dist/{Delete-DyzDL8-Y.cjs → Delete-D1EiKoL5.cjs} +1 -1
  21. package/dist/Dialog-D_lS4J_M.js +415 -0
  22. package/dist/Dialog-yOrNcHbG.cjs +1 -0
  23. package/dist/DialogContent-Dj_OjLZ6.cjs +1 -0
  24. package/dist/DialogContent-uc65XOEU.js +194 -0
  25. package/dist/DialogTitle-BboPDaoB.cjs +1 -0
  26. package/dist/{DialogTitle-AQ-YU9PH.js → DialogTitle-C8JOi-rq.js} +43 -42
  27. package/dist/Divider-CcrM3lNn.cjs +1 -0
  28. package/dist/{Divider-C0R1SUa4.js → Divider-KO-E6nU8.js} +8 -8
  29. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +1 -0
  30. package/dist/{FormControlLabel-w-X91z27.js → FormControlLabel-BmrKQtQA.js} +17 -16
  31. package/dist/{FormGroup-6NoANcYk.js → FormGroup-CbczEc6e.js} +12 -12
  32. package/dist/FormGroup-Y3P2AG0i.cjs +1 -0
  33. package/dist/{FormLabel-CoLJ9tA8.js → FormLabel-CfR4bb21.js} +6 -5
  34. package/dist/FormLabel-D1uvEhsH.cjs +2 -0
  35. package/dist/{Grow-SW33sONG.js → Grow-CQVPAYvp.js} +13 -13
  36. package/dist/Grow-CUBJs6WD.cjs +1 -0
  37. package/dist/IconButton-CJfzspZK.cjs +2 -0
  38. package/dist/{IconButton-DjeMTpI5.js → IconButton-CekuyD4r.js} +13 -12
  39. package/dist/InputAdornment-Cq0WhPxF.cjs +1 -0
  40. package/dist/{InputAdornment-ByiVSgFT.js → InputAdornment-iU5YnveW.js} +16 -15
  41. package/dist/{InputBase-CvU0-Zg6.js → InputBase-BJy3wwFB.js} +28 -26
  42. package/dist/InputBase-s1fk8TB4.cjs +3 -0
  43. package/dist/Link-CWczkFp0.cjs +1 -0
  44. package/dist/{Link-Dmwt9wxb.js → Link-CoQuUM0t.js} +11 -10
  45. package/dist/Menu-Bsx8PA-q.cjs +7 -0
  46. package/dist/{Menu-4U27Dst1.js → Menu-C7tKmcAh.js} +63 -61
  47. package/dist/MenuItem-BZ_EVaBq.cjs +1 -0
  48. package/dist/{MenuItem-CqPsuuC1.js → MenuItem-j8luVUcX.js} +7 -7
  49. package/dist/Modal-DImrEpYJ.cjs +2 -0
  50. package/dist/{Modal-D_mqYIr2.js → Modal-brWBFdK7.js} +76 -74
  51. package/dist/{Paper-D973Ow-i.js → Paper-BG4Vk_Um.js} +4 -4
  52. package/dist/Paper-Cr56xkCr.cjs +2 -0
  53. package/dist/{Popper-B8oNZqtn.js → Popper-DFZ_gRev.js} +240 -239
  54. package/dist/Popper-YT5WAMV-.cjs +4 -0
  55. package/dist/Portal-DF0RKOcD.cjs +1 -0
  56. package/dist/{Portal-BKbBRbWN.js → Portal-JEwcozmp.js} +3 -3
  57. package/dist/Radio-CVAEGXKi.cjs +1 -0
  58. package/dist/{Radio-BrzQH9pY.js → Radio-DGhot3Cd.js} +21 -20
  59. package/dist/Select-CwAWNiiv.cjs +3 -0
  60. package/dist/{Select-CgAPAUTr.js → Select-DmssuG5M.js} +62 -60
  61. package/dist/{Stack-CYXQpKS2.js → Stack-BzTJdRGj.js} +105 -60
  62. package/dist/Stack-Yq6rb7iK.cjs +1 -0
  63. package/dist/SwitchBase-DjIY_KWB.cjs +1 -0
  64. package/dist/{SwitchBase-CGa9A6SL.js → SwitchBase-Dlth5_F7.js} +38 -37
  65. package/dist/{TableSortLabel-hvz89Dvu.js → TableSortLabel-BsgRD4k4.js} +1289 -1268
  66. package/dist/TableSortLabel-D0N3e3cP.cjs +98 -0
  67. package/dist/{Tabs-BPI2IyPx.js → Tabs-CYbeTnJk.js} +292 -289
  68. package/dist/Tabs-KG4VWw-1.cjs +4 -0
  69. package/dist/TextField-BI9KVqjC.cjs +1 -0
  70. package/dist/{TextField-C4nIxR_t.js → TextField-Cri5Gxa7.js} +20 -19
  71. package/dist/{Tooltip-Bdrv-e2a.js → Tooltip-BhAHhzKz.js} +32 -30
  72. package/dist/Tooltip-DhDtvULK.cjs +4 -0
  73. package/dist/{Typography-CUdlQxLM.js → Typography-DBwTr_ix.js} +13 -12
  74. package/dist/Typography-DfRMDngd.cjs +1 -0
  75. package/dist/capitalize-B3GG7Wn6.cjs +1 -0
  76. package/dist/capitalize-CkF8kU4n.js +9 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +101 -136
  79. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  80. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  81. package/dist/components/DatePicker/index.cjs.js +1 -1
  82. package/dist/components/DatePicker/index.es.js +1 -1
  83. package/dist/components/Dialog/Dialog.cjs.js +1 -0
  84. package/dist/components/Dialog/Dialog.d.ts +6 -0
  85. package/dist/components/Dialog/Dialog.es.js +28 -0
  86. package/dist/components/Dialog/index.cjs.js +1 -0
  87. package/dist/components/Dialog/index.d.ts +2 -0
  88. package/dist/components/Dialog/index.es.js +4 -0
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  91. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -0
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +9 -0
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +44 -0
  94. package/dist/components/EllipsisWithTooltip/index.cjs.js +1 -0
  95. package/dist/components/EllipsisWithTooltip/index.d.ts +2 -0
  96. package/dist/components/EllipsisWithTooltip/index.es.js +4 -0
  97. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  98. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  99. package/dist/components/FileList/FileList.cjs.js +1 -1
  100. package/dist/components/FileList/FileList.es.js +1 -1
  101. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  102. package/dist/components/FileList/FileListItem.es.js +7 -7
  103. package/dist/components/Heading/Heading.cjs.js +1 -1
  104. package/dist/components/Heading/Heading.es.js +2 -2
  105. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  106. package/dist/components/ImagePicker/ImagePicker.d.ts +1 -0
  107. package/dist/components/ImagePicker/ImagePicker.es.js +29 -28
  108. package/dist/components/Loader/Loader.cjs.js +1 -1
  109. package/dist/components/Loader/Loader.es.js +1 -1
  110. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  111. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  112. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  113. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  114. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  115. package/dist/components/QueryError/QueryError.es.js +14 -14
  116. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  117. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  118. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  119. package/dist/components/TextInput/TextInput.es.js +1 -1
  120. package/dist/components/index.cjs.js +1 -1
  121. package/dist/components/index.d.ts +7 -3
  122. package/dist/components/index.es.js +228 -220
  123. package/dist/components/stories/Button.stories.cjs.js +1 -1
  124. package/dist/components/stories/Button.stories.es.js +1 -1
  125. package/dist/components/stories/Card.stories.cjs.js +1 -1
  126. package/dist/components/stories/Card.stories.es.js +8 -8
  127. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  128. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  129. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  130. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  131. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  132. package/dist/components/stories/Dialog.stories.d.ts +1 -1
  133. package/dist/components/stories/Dialog.stories.es.js +26 -14
  134. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  135. package/dist/components/stories/Divider.stories.es.js +5 -5
  136. package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +1 -0
  137. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +6 -0
  138. package/dist/components/stories/EllipsisWithTooltip.stories.es.js +36 -0
  139. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  140. package/dist/components/stories/FormControlLabel.stories.es.js +69 -68
  141. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  142. package/dist/components/stories/Heading.stories.es.js +2 -2
  143. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  144. package/dist/components/stories/IconButton.stories.es.js +2 -2
  145. package/dist/components/stories/ImagePicker.stories.cjs.js +1 -1
  146. package/dist/components/stories/ImagePicker.stories.es.js +13 -6
  147. package/dist/components/stories/Link.stories.cjs.js +1 -1
  148. package/dist/components/stories/Link.stories.es.js +1 -1
  149. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  150. package/dist/components/stories/Menu.stories.es.js +16 -16
  151. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  152. package/dist/components/stories/Paper.stories.es.js +1 -1
  153. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  154. package/dist/components/stories/RadioGroup.stories.es.js +6 -6
  155. package/dist/components/stories/Select.stories.cjs.js +1 -1
  156. package/dist/components/stories/Select.stories.es.js +3 -3
  157. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  158. package/dist/components/stories/TabList.stories.es.js +9 -9
  159. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  160. package/dist/components/stories/TextField.stories.es.js +3 -3
  161. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  162. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  163. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  164. package/dist/components/stories/Typography.stories.es.js +1 -1
  165. package/dist/createSvgIcon--rEClVU7.cjs +1 -0
  166. package/dist/{createSvgIcon-CVd3Lo1D.js → createSvgIcon-C8nGcfF4.js} +6 -5
  167. package/dist/dividerClasses-CCAY3Pnr.cjs +1 -0
  168. package/dist/{dividerClasses-kN_Ky2Bl.js → dividerClasses-nh2-hkQB.js} +1 -1
  169. package/dist/{elementTypeAcceptingRef-modXfN2G.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
  170. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +1 -0
  171. package/dist/{extendSxProp-CHv0k-C6.js → extendSxProp-C2ff0oGc.js} +1 -1
  172. package/dist/extendSxProp-apyK-EBz.cjs +1 -0
  173. package/dist/{fr-rmVQsNbI.js → fr-Bjufn3RW.js} +84 -84
  174. package/dist/{fr-ChrHtTbj.cjs → fr-JE-1WKP6.cjs} +1 -1
  175. package/dist/generateUtilityClasses-B_H9HEmg.cjs +59 -0
  176. package/dist/{identifier-Bn0tF6ls.js → generateUtilityClasses-Bssl7BA_.js} +898 -872
  177. package/dist/index-Aa73Kpym.cjs +1 -0
  178. package/dist/{index-CVpJYeY2.js → index-BCnPLuqJ.js} +23 -22
  179. package/dist/index-ChM1Ett8.cjs +5 -0
  180. package/dist/index-Cw0GDedk.cjs +17 -0
  181. package/dist/{index-BNojWn2E.js → index-CwvpOCso.js} +29 -29
  182. package/dist/index-DXD5J5Eu.js +186 -0
  183. package/dist/index.cjs.js +1 -1
  184. package/dist/index.es.js +228 -220
  185. package/dist/{memoTheme-BPA1FjB4.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
  186. package/dist/{memoTheme-CMJVTZEg.js → memoTheme-D7Fyh_3C.js} +1 -1
  187. package/dist/mergeSlotProps-DuV-LTW7.cjs +1 -0
  188. package/dist/{resolveComponentProps-DHoZOPOi.js → mergeSlotProps-tUJEcwVu.js} +7 -7
  189. package/dist/refType-CoaxQOPt.cjs +1 -0
  190. package/dist/refType-DKYKROQk.js +5 -0
  191. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +1 -0
  192. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  193. package/dist/useEventCallback-BAQJJ3ye.js +14 -0
  194. package/dist/useEventCallback-C0-Qw3Sm.cjs +1 -0
  195. package/dist/{useSlot-t9oGnIgq.js → useSlot-BTpHG6jf.js} +1 -1
  196. package/dist/useSlot-CByalpSD.cjs +1 -0
  197. package/dist/useSlotProps-B31YQlzb.js +45 -0
  198. package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
  199. package/dist/useTheme-Cy5kyKJF.cjs +1 -0
  200. package/dist/useTheme-Dukx-__T.cjs +1 -0
  201. package/dist/useTheme-DyaNKf4e.js +11 -0
  202. package/dist/{useTheme-CBsFvF7I.js → useTheme-_xyy-wul.js} +1 -1
  203. package/dist/{useThemeProps-5Bku71LW.js → useThemeProps-BySkSe-M.js} +2 -2
  204. package/dist/useThemeProps-CdV_QwDl.cjs +1 -0
  205. package/dist/{useThemeProps-I9EHeqzU.js → useThemeProps-CwEQ4bv2.js} +3 -3
  206. package/dist/{useThemeProps-C692LOYf.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
  207. package/dist/useTimeout-COCrDKz-.cjs +1 -0
  208. package/dist/useTimeout-CrCYVizI.js +42 -0
  209. package/dist/{utils-CE_a8glN.js → utils-C6c4fj7D.js} +41 -41
  210. package/dist/utils-vmyQ2IaS.cjs +1 -0
  211. package/package.json +1 -1
  212. package/dist/Backdrop-vSE8W9jq.cjs +0 -1
  213. package/dist/Box-DMYs7NTb.cjs +0 -1
  214. package/dist/Button-D3dbHQM1.cjs +0 -1
  215. package/dist/ButtonBase-BoWeLMzR.cjs +0 -74
  216. package/dist/Card-Cnh4u4kb.cjs +0 -1
  217. package/dist/Checkbox-s_RdgUlw.cjs +0 -1
  218. package/dist/CircularProgress-DHgcUb1c.cjs +0 -28
  219. package/dist/DatePicker-juzW4bLC.cjs +0 -14
  220. package/dist/DefaultPropsProvider-Biv7NHew.cjs +0 -17
  221. package/dist/DefaultPropsProvider-xJkZOrdv.js +0 -487
  222. package/dist/DialogContent-D1KFPXhr.js +0 -602
  223. package/dist/DialogContent-Dphl2SKX.cjs +0 -1
  224. package/dist/DialogTitle-C8AdXsDz.cjs +0 -1
  225. package/dist/Divider-Bdp8beK-.cjs +0 -1
  226. package/dist/FormControlLabel-BlO93LTi.cjs +0 -1
  227. package/dist/FormGroup-D0zSGn42.cjs +0 -1
  228. package/dist/FormLabel-BkiH7wl7.cjs +0 -2
  229. package/dist/Grow-DfACa72Q.cjs +0 -1
  230. package/dist/IconButton-DRs0xB4z.cjs +0 -2
  231. package/dist/InputAdornment-B1pggfEX.cjs +0 -1
  232. package/dist/InputBase-Xfjv-RYp.cjs +0 -3
  233. package/dist/Link-Z_UCBvgV.cjs +0 -1
  234. package/dist/Menu-DREdNbqu.cjs +0 -7
  235. package/dist/MenuItem-CN75Du-9.cjs +0 -1
  236. package/dist/Modal-DWqBsogu.cjs +0 -2
  237. package/dist/Paper-CjMuucS5.cjs +0 -2
  238. package/dist/Popper-hzM0y1hA.cjs +0 -4
  239. package/dist/Portal-Bv2VRYHH.cjs +0 -1
  240. package/dist/Radio-DxbXYNhR.cjs +0 -1
  241. package/dist/Select-CL4E8NNL.cjs +0 -3
  242. package/dist/Stack-WrITLr1B.cjs +0 -1
  243. package/dist/SwitchBase-Cqh9rxOh.cjs +0 -1
  244. package/dist/TableSortLabel-mAzX4tAl.cjs +0 -98
  245. package/dist/Tabs-BNqwYd2G.cjs +0 -4
  246. package/dist/TextField-Dy0Iblqt.cjs +0 -1
  247. package/dist/Tooltip-vg27N3PU.cjs +0 -4
  248. package/dist/Typography-BF9bdWxl.cjs +0 -1
  249. package/dist/createSvgIcon-BMmqQ2z0.cjs +0 -1
  250. package/dist/dividerClasses-CyDs_RPD.cjs +0 -1
  251. package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +0 -1
  252. package/dist/extendSxProp-6YOo46ig.cjs +0 -1
  253. package/dist/identifier-Dax8VlUh.cjs +0 -59
  254. package/dist/index-C5dNuV-2.cjs +0 -5
  255. package/dist/index-D3PBNx_m.cjs +0 -1
  256. package/dist/index-OLlWw08I.cjs +0 -1
  257. package/dist/index-waINWr3i.js +0 -45
  258. package/dist/refType-BmrOFNz6.js +0 -7
  259. package/dist/refType-Dm84STBj.cjs +0 -1
  260. package/dist/resolveComponentProps-4nhUsl3a.cjs +0 -1
  261. package/dist/useSlot-CJAXUvYJ.cjs +0 -1
  262. package/dist/useTheme-BIogn5Me.cjs +0 -1
  263. package/dist/useTheme-Bz4LKMiC.cjs +0 -1
  264. package/dist/useTheme-L3EQmvnN.js +0 -11
  265. package/dist/useThemeProps-DNFKz8wS.cjs +0 -1
  266. package/dist/useTimeout-3Y5y4gWq.js +0 -53
  267. package/dist/useTimeout-CxOQget6.cjs +0 -1
  268. package/dist/utils-CusX8Edy.cjs +0 -1
@@ -1,53 +0,0 @@
1
- var i = Object.defineProperty;
2
- var a = (e, t, r) => t in e ? i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var u = (e, t, r) => a(e, typeof t != "symbol" ? t + "" : t, r);
4
- import * as n from "react";
5
- import { u as f } from "./refType-BmrOFNz6.js";
6
- function m(e) {
7
- const t = n.useRef(e);
8
- return f(() => {
9
- t.current = e;
10
- }), n.useRef((...r) => (
11
- // @ts-expect-error hide `this`
12
- (0, t.current)(...r)
13
- )).current;
14
- }
15
- const s = {};
16
- function o(e, t) {
17
- const r = n.useRef(s);
18
- return r.current === s && (r.current = e(t)), r;
19
- }
20
- const l = [];
21
- function I(e) {
22
- n.useEffect(e, l);
23
- }
24
- class c {
25
- constructor() {
26
- u(this, "currentId", null);
27
- u(this, "clear", () => {
28
- this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
29
- });
30
- u(this, "disposeEffect", () => this.clear);
31
- }
32
- static create() {
33
- return new c();
34
- }
35
- /**
36
- * Executes `fn` after `delay`, clearing any previously scheduled call.
37
- */
38
- start(t, r) {
39
- this.clear(), this.currentId = setTimeout(() => {
40
- this.currentId = null, r();
41
- }, t);
42
- }
43
- }
44
- function E() {
45
- const e = o(c.create).current;
46
- return I(e.disposeEffect), e;
47
- }
48
- export {
49
- c as T,
50
- m as a,
51
- o as b,
52
- E as u
53
- };
@@ -1 +0,0 @@
1
- "use strict";var f=Object.defineProperty;var a=(e,t,r)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var n=(e,t,r)=>a(e,typeof t!="symbol"?t+"":t,r);const l=require("react"),d=require("./refType-Dm84STBj.cjs");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=m(l);function I(e){const t=u.useRef(e);return d.useEnhancedEffect(()=>{t.current=e}),u.useRef((...r)=>(0,t.current)(...r)).current}const i={};function o(e,t){const r=u.useRef(i);return r.current===i&&(r.current=e(t)),r}const p=[];function E(e){u.useEffect(e,p)}class c{constructor(){n(this,"currentId",null);n(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});n(this,"disposeEffect",()=>this.clear)}static create(){return new c}start(t,r){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,r()},t)}}function T(){const e=o(c.create).current;return E(e.disposeEffect),e}exports.Timeout=c;exports.useEventCallback=I;exports.useLazyRef=o;exports.useTimeout=T;
@@ -1 +0,0 @@
1
- "use strict";const n=require("./identifier-Dax8VlUh.cjs"),N=require("./chainPropTypes-CEUi6Jb4.cjs"),m=require("react"),v=require("./TransitionGroupContext-DbXD5xqS.cjs"),y=require("react-dom");function C(s){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const o in s)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(s,o);Object.defineProperty(a,o,i.get?i:{enumerable:!0,get:()=>s[o]})}}return a.default=s,Object.freeze(a)}const k=C(m);function w(s){const{prototype:a={}}=s;return!!a.isReactComponent}function R(s,a,o,i,t){const e=s[a],r=t||a;if(e==null||typeof window>"u")return null;let p;const u=e.type;return typeof u=="function"&&!w(u)&&(p="Did you accidentally use a plain function component for an element instead?"),p!==void 0?new Error(`Invalid ${i} \`${r}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const O=N.chainPropTypes(n.PropTypes.element,R);O.isRequired=N.chainPropTypes(n.PropTypes.element.isRequired,R);function q(s){var a;return parseInt(k.version,10)>=19?((a=s==null?void 0:s.props)==null?void 0:a.ref)||null:(s==null?void 0:s.ref)||null}const b={disabled:!1};var M=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.shape({enter:n.PropTypes.number,exit:n.PropTypes.number,appear:n.PropTypes.number}).isRequired]):null,I=process.env.NODE_ENV!=="production"?n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.shape({enter:n.PropTypes.string,exit:n.PropTypes.string,active:n.PropTypes.string}),n.PropTypes.shape({enter:n.PropTypes.string,enterDone:n.PropTypes.string,enterActive:n.PropTypes.string,exit:n.PropTypes.string,exitDone:n.PropTypes.string,exitActive:n.PropTypes.string})]):null,S=function(a){return a.scrollTop},x="unmounted",l="exited",f="entering",h="entered",P="exiting",c=function(s){v._inheritsLoose(a,s);function a(i,t){var e;e=s.call(this,i,t)||this;var r=t,p=r&&!r.isMounting?i.enter:i.appear,u;return e.appearStatus=null,i.in?p?(u=l,e.appearStatus=f):u=h:i.unmountOnExit||i.mountOnEnter?u=x:u=l,e.state={status:u},e.nextCallback=null,e}a.getDerivedStateFromProps=function(t,e){var r=t.in;return r&&e.status===x?{status:l}:null};var o=a.prototype;return o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==f&&r!==h&&(e=f):(r===f||r===h)&&(e=P)}this.updateStatus(!1,e)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var t=this.props.timeout,e,r,p;return e=r=p=t,t!=null&&typeof t!="number"&&(e=t.exit,r=t.enter,p=t.appear!==void 0?t.appear:r),{exit:e,enter:r,appear:p}},o.updateStatus=function(t,e){if(t===void 0&&(t=!1),e!==null)if(this.cancelNextCallback(),e===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:y.findDOMNode(this);r&&S(r)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:x})},o.performEnter=function(t){var e=this,r=this.props.enter,p=this.context?this.context.isMounting:t,u=this.props.nodeRef?[p]:[y.findDOMNode(this),p],d=u[0],T=u[1],g=this.getTimeouts(),D=p?g.appear:g.enter;if(!t&&!r||b.disabled){this.safeSetState({status:h},function(){e.props.onEntered(d)});return}this.props.onEnter(d,T),this.safeSetState({status:f},function(){e.props.onEntering(d,T),e.onTransitionEnd(D,function(){e.safeSetState({status:h},function(){e.props.onEntered(d,T)})})})},o.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),p=this.props.nodeRef?void 0:y.findDOMNode(this);if(!e||b.disabled){this.safeSetState({status:l},function(){t.props.onExited(p)});return}this.props.onExit(p),this.safeSetState({status:P},function(){t.props.onExiting(p),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(p)})})})},o.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},o.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(p){r&&(r=!1,e.nextCallback=null,t(p))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},o.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:y.findDOMNode(this),p=t==null&&!this.props.addEndListener;if(!r||p){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],d=u[0],T=u[1];this.props.addEndListener(d,T)}t!=null&&setTimeout(this.nextCallback,t)},o.render=function(){var t=this.state.status;if(t===x)return null;var e=this.props,r=e.children;e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef;var p=v._objectWithoutPropertiesLoose(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return m.createElement(v.TransitionGroupContext.Provider,{value:null},typeof r=="function"?r(t,p):m.cloneElement(m.Children.only(r),p))},a}(m.Component);c.contextType=v.TransitionGroupContext;c.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:n.PropTypes.shape({current:typeof Element>"u"?n.PropTypes.any:function(s,a,o,i,t,e){var r=s[a];return n.PropTypes.instanceOf(r&&"ownerDocument"in r?r.ownerDocument.defaultView.Element:Element)(s,a,o,i,t,e)}}),children:n.PropTypes.oneOfType([n.PropTypes.func.isRequired,n.PropTypes.element.isRequired]).isRequired,in:n.PropTypes.bool,mountOnEnter:n.PropTypes.bool,unmountOnExit:n.PropTypes.bool,appear:n.PropTypes.bool,enter:n.PropTypes.bool,exit:n.PropTypes.bool,timeout:function(a){var o=M;a.addEndListener||(o=o.isRequired);for(var i=arguments.length,t=new Array(i>1?i-1:0),e=1;e<i;e++)t[e-1]=arguments[e];return o.apply(void 0,[a].concat(t))},addEndListener:n.PropTypes.func,onEnter:n.PropTypes.func,onEntering:n.PropTypes.func,onEntered:n.PropTypes.func,onExit:n.PropTypes.func,onExiting:n.PropTypes.func,onExited:n.PropTypes.func}:{};function E(){}c.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E};c.UNMOUNTED=x;c.EXITED=l;c.ENTERING=f;c.ENTERED=h;c.EXITING=P;const L=s=>s.scrollTop;function G(s,a){const{timeout:o,easing:i,style:t={}}=s;return{duration:t.transitionDuration??(typeof o=="number"?o:o[a.mode]||0),easing:t.transitionTimingFunction??(typeof i=="object"?i[a.mode]:i),delay:t.transitionDelay}}exports.Transition=c;exports.classNamesShape=I;exports.elementAcceptingRef=O;exports.forceReflow=S;exports.getReactElementRef=q;exports.getTransitionProps=G;exports.reflow=L;