@cgi-learning-hub/ui 1.3.3 → 1.3.4

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 (244) hide show
  1. package/dist/Backdrop-BlKt7y1x.js +360 -0
  2. package/dist/Backdrop-vSE8W9jq.cjs +1 -0
  3. package/dist/{Box-UE-zctbJ.js → Box-DErdbtsw.js} +9 -9
  4. package/dist/{Box-H49yQEt_.cjs → Box-DMYs7NTb.cjs} +1 -1
  5. package/dist/{Button-Bjy0iPNm.js → Button-CiqVGfRs.js} +14 -14
  6. package/dist/{Button-qc45QbX6.cjs → Button-D3dbHQM1.cjs} +1 -1
  7. package/dist/ButtonBase-BoWeLMzR.cjs +74 -0
  8. package/dist/{ButtonBase-CFD7NVUc.js → ButtonBase-DUPJVOlc.js} +232 -240
  9. package/dist/Card-Cnh4u4kb.cjs +1 -0
  10. package/dist/Card-mGRk1RuE.js +74 -0
  11. package/dist/{Checkbox-Ct5E_6h7.js → Checkbox-aJ1r7ufI.js} +12 -12
  12. package/dist/{Checkbox-CuYTY0gd.cjs → Checkbox-s_RdgUlw.cjs} +1 -1
  13. package/dist/{CircularProgress-By02Sdoh.js → CircularProgress-CfODO7vI.js} +17 -17
  14. package/dist/{CircularProgress-BPHINMQw.cjs → CircularProgress-DHgcUb1c.cjs} +7 -7
  15. package/dist/DatePicker-Dyf9Vhld.js +10845 -0
  16. package/dist/DatePicker-juzW4bLC.cjs +14 -0
  17. package/dist/DefaultPropsProvider-Biv7NHew.cjs +17 -0
  18. package/dist/{DefaultPropsProvider-CaRoy5OV.js → DefaultPropsProvider-xJkZOrdv.js} +146 -143
  19. package/dist/Delete-BOQTx9ze.js +8 -0
  20. package/dist/Delete-DyzDL8-Y.cjs +1 -0
  21. package/dist/DialogContent-D1KFPXhr.js +602 -0
  22. package/dist/DialogContent-Dphl2SKX.cjs +1 -0
  23. package/dist/DialogTitle-AQ-YU9PH.js +134 -0
  24. package/dist/DialogTitle-C8AdXsDz.cjs +1 -0
  25. package/dist/Divider-Bdp8beK-.cjs +1 -0
  26. package/dist/Divider-C0R1SUa4.js +296 -0
  27. package/dist/FormControlLabel-BlO93LTi.cjs +1 -0
  28. package/dist/FormControlLabel-w-X91z27.js +261 -0
  29. package/dist/FormGroup-6NoANcYk.js +95 -0
  30. package/dist/FormGroup-D0zSGn42.cjs +1 -0
  31. package/dist/FormLabel-BkiH7wl7.cjs +2 -0
  32. package/dist/{FormLabel-B4QlkhhB.js → FormLabel-CoLJ9tA8.js} +36 -42
  33. package/dist/Grow-DfACa72Q.cjs +1 -0
  34. package/dist/Grow-SW33sONG.js +193 -0
  35. package/dist/IconButton-DRs0xB4z.cjs +2 -0
  36. package/dist/{IconButton-Av8eJ5IG.js → IconButton-DjeMTpI5.js} +5 -5
  37. package/dist/{InputAdornment-BJfpEQAa.cjs → InputAdornment-B1pggfEX.cjs} +1 -1
  38. package/dist/{InputAdornment-COPtZlSD.js → InputAdornment-ByiVSgFT.js} +4 -4
  39. package/dist/{InputBase-Bbgoz8GV.js → InputBase-CvU0-Zg6.js} +59 -59
  40. package/dist/InputBase-Xfjv-RYp.cjs +3 -0
  41. package/dist/Link-Dmwt9wxb.js +266 -0
  42. package/dist/Link-Z_UCBvgV.cjs +1 -0
  43. package/dist/Menu-4U27Dst1.js +965 -0
  44. package/dist/Menu-DREdNbqu.cjs +7 -0
  45. package/dist/MenuItem-CN75Du-9.cjs +1 -0
  46. package/dist/{MenuItem-D7HWYhF3.js → MenuItem-CqPsuuC1.js} +69 -74
  47. package/dist/Modal-DWqBsogu.cjs +2 -0
  48. package/dist/Modal-D_mqYIr2.js +750 -0
  49. package/dist/Paper-CjMuucS5.cjs +2 -0
  50. package/dist/Paper-D973Ow-i.js +185 -0
  51. package/dist/Popper-B8oNZqtn.js +1407 -0
  52. package/dist/Popper-hzM0y1hA.cjs +4 -0
  53. package/dist/Portal-BKbBRbWN.js +86 -0
  54. package/dist/Portal-Bv2VRYHH.cjs +1 -0
  55. package/dist/Radio-BrzQH9pY.js +312 -0
  56. package/dist/Radio-DxbXYNhR.cjs +1 -0
  57. package/dist/Select-CL4E8NNL.cjs +3 -0
  58. package/dist/Select-CgAPAUTr.js +2602 -0
  59. package/dist/{Stack-y1PjTHKX.js → Stack-CYXQpKS2.js} +18 -18
  60. package/dist/{Stack-CEjx3KHM.cjs → Stack-WrITLr1B.cjs} +1 -1
  61. package/dist/{SwitchBase-yCuH0Tqk.js → SwitchBase-CGa9A6SL.js} +10 -10
  62. package/dist/{SwitchBase-URM3X3YZ.cjs → SwitchBase-Cqh9rxOh.cjs} +1 -1
  63. package/dist/{Tooltip-DO9GIhWC.js → TableSortLabel-hvz89Dvu.js} +2185 -3518
  64. package/dist/TableSortLabel-mAzX4tAl.cjs +98 -0
  65. package/dist/Tabs-BNqwYd2G.cjs +4 -0
  66. package/dist/{Tabs-DK4Bc5xo.js → Tabs-BPI2IyPx.js} +284 -282
  67. package/dist/{TextField-C-B529_r.js → TextField-C4nIxR_t.js} +24 -24
  68. package/dist/{TextField-BVAkADOb.cjs → TextField-Dy0Iblqt.cjs} +1 -1
  69. package/dist/Tooltip-Bdrv-e2a.js +720 -0
  70. package/dist/Tooltip-vg27N3PU.cjs +4 -0
  71. package/dist/{Typography-5OodZ94T.cjs → Typography-BF9bdWxl.cjs} +1 -1
  72. package/dist/{Typography-C_ESP41L.js → Typography-CUdlQxLM.js} +4 -4
  73. package/dist/assets/styles.css +1 -1
  74. package/dist/assets/styles2.css +1 -1
  75. package/dist/chainPropTypes-CEUi6Jb4.cjs +1 -0
  76. package/dist/chainPropTypes-D9lkm76m.js +8 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +12 -12
  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/Dropzone/Dropzone.cjs.js +1 -5
  84. package/dist/components/Dropzone/Dropzone.es.js +24 -2162
  85. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  86. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  87. package/dist/components/FileList/FileList.cjs.js +1 -1
  88. package/dist/components/FileList/FileList.es.js +1 -1
  89. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  90. package/dist/components/FileList/FileListItem.es.js +21 -22
  91. package/dist/components/Heading/Heading.cjs.js +1 -1
  92. package/dist/components/Heading/Heading.es.js +2 -2
  93. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -0
  94. package/dist/components/ImagePicker/ImagePicker.d.ts +12 -0
  95. package/dist/components/ImagePicker/ImagePicker.es.js +174 -0
  96. package/dist/components/ImagePicker/index.cjs.js +1 -0
  97. package/dist/components/ImagePicker/index.d.ts +2 -0
  98. package/dist/components/ImagePicker/index.es.js +4 -0
  99. package/dist/components/Loader/Loader.cjs.js +1 -1
  100. package/dist/components/Loader/Loader.es.js +2 -2
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +3 -3
  103. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  104. package/dist/components/PasswordInput/PasswordInput.es.js +8 -7
  105. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  106. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  107. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  108. package/dist/components/TextInput/TextInput.es.js +1 -1
  109. package/dist/components/index.cjs.js +1 -1
  110. package/dist/components/index.d.ts +1 -0
  111. package/dist/components/index.es.js +277 -265
  112. package/dist/components/stories/Button.stories.cjs.js +1 -1
  113. package/dist/components/stories/Button.stories.es.js +1 -1
  114. package/dist/components/stories/Card.stories.cjs.js +1 -0
  115. package/dist/components/stories/Card.stories.d.ts +7 -0
  116. package/dist/components/stories/Card.stories.es.js +193 -0
  117. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  118. package/dist/components/stories/Checkbox.stories.es.js +41 -12
  119. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  120. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  121. package/dist/components/stories/Dialog.stories.cjs.js +1 -0
  122. package/dist/components/stories/Dialog.stories.d.ts +7 -0
  123. package/dist/components/stories/Dialog.stories.es.js +53 -0
  124. package/dist/components/stories/Divider.stories.cjs.js +1 -0
  125. package/dist/components/stories/Divider.stories.d.ts +6 -0
  126. package/dist/components/stories/Divider.stories.es.js +41 -0
  127. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -0
  128. package/dist/components/stories/FormControlLabel.stories.d.ts +9 -0
  129. package/dist/components/stories/FormControlLabel.stories.es.js +378 -0
  130. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  131. package/dist/components/stories/Heading.stories.es.js +2 -2
  132. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  133. package/dist/components/stories/IconButton.stories.es.js +47 -11
  134. package/dist/components/stories/ImagePicker.stories.cjs.js +1 -0
  135. package/dist/components/stories/ImagePicker.stories.d.ts +6 -0
  136. package/dist/components/stories/ImagePicker.stories.es.js +50 -0
  137. package/dist/components/stories/Link.stories.cjs.js +1 -0
  138. package/dist/components/stories/Link.stories.d.ts +7 -0
  139. package/dist/components/stories/Link.stories.es.js +43 -0
  140. package/dist/components/stories/Menu.stories.cjs.js +1 -0
  141. package/dist/components/stories/Menu.stories.d.ts +7 -0
  142. package/dist/components/stories/Menu.stories.es.js +51 -0
  143. package/dist/components/stories/Paper.stories.cjs.js +1 -0
  144. package/dist/components/stories/Paper.stories.d.ts +7 -0
  145. package/dist/components/stories/Paper.stories.es.js +28 -0
  146. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  147. package/dist/components/stories/RadioGroup.stories.es.js +70 -371
  148. package/dist/components/stories/Select.stories.cjs.js +1 -1
  149. package/dist/components/stories/Select.stories.es.js +3 -3
  150. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  151. package/dist/components/stories/TabList.stories.es.js +140 -90
  152. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  153. package/dist/components/stories/TextField.stories.es.js +1 -1
  154. package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
  155. package/dist/components/stories/Tooltip.stories.d.ts +7 -0
  156. package/dist/components/stories/Tooltip.stories.es.js +46 -0
  157. package/dist/components/stories/Typography.stories.cjs.js +1 -0
  158. package/dist/components/stories/Typography.stories.d.ts +6 -0
  159. package/dist/components/stories/Typography.stories.es.js +65 -0
  160. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  161. package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
  162. package/dist/{createSvgIcon-GU7fqNnI.cjs → createSvgIcon-BMmqQ2z0.cjs} +1 -1
  163. package/dist/{createSvgIcon-DxbvMQd7.js → createSvgIcon-CVd3Lo1D.js} +3 -3
  164. package/dist/debounce-46wSf_lW.js +15 -0
  165. package/dist/debounce-DpCj7ugL.cjs +1 -0
  166. package/dist/dividerClasses-CyDs_RPD.cjs +1 -0
  167. package/dist/dividerClasses-kN_Ky2Bl.js +9 -0
  168. package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +1 -0
  169. package/dist/elementTypeAcceptingRef-modXfN2G.js +23 -0
  170. package/dist/{extendSxProp-D11-pC6h.cjs → extendSxProp-6YOo46ig.cjs} +1 -1
  171. package/dist/{extendSxProp-XQwkK0m7.js → extendSxProp-CHv0k-C6.js} +1 -1
  172. package/dist/formControlState-CuX6WjAX.cjs +1 -0
  173. package/dist/formControlState-vgaj2ksH.js +10 -0
  174. package/dist/fr-ChrHtTbj.cjs +1 -0
  175. package/dist/fr-rmVQsNbI.js +312 -0
  176. package/dist/{identifier-BqadgaK7.js → identifier-Bn0tF6ls.js} +612 -608
  177. package/dist/{identifier-BQH88SE0.cjs → identifier-Dax8VlUh.cjs} +19 -19
  178. package/dist/index-BNojWn2E.js +2152 -0
  179. package/dist/index-C5dNuV-2.cjs +5 -0
  180. package/dist/{index-BUxqDIr9.js → index-CVpJYeY2.js} +4 -4
  181. package/dist/{index-D7nFYLYq.cjs → index-D3PBNx_m.cjs} +1 -1
  182. package/dist/{index-CNv8ppur.cjs → index-OLlWw08I.cjs} +1 -1
  183. package/dist/{index-CRT92bm7.js → index-waINWr3i.js} +3 -3
  184. package/dist/index.cjs.js +1 -1
  185. package/dist/index.es.js +277 -265
  186. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  187. package/dist/isFocusVisible-DlSijby6.cjs +2 -0
  188. package/dist/isHostComponent-PydJW4A4.cjs +1 -0
  189. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  190. package/dist/{memoTheme-B6o2KVgJ.cjs → memoTheme-BPA1FjB4.cjs} +1 -1
  191. package/dist/{memoTheme-DfGVDRrB.js → memoTheme-CMJVTZEg.js} +1 -1
  192. package/dist/ownerDocument-4MViGo3k.cjs +1 -0
  193. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  194. package/dist/ownerWindow-DDHucZi0.cjs +1 -0
  195. package/dist/ownerWindow-niciwP7I.js +7 -0
  196. package/dist/refType-BmrOFNz6.js +7 -0
  197. package/dist/refType-Dm84STBj.cjs +1 -0
  198. package/dist/{resolveComponentProps-DTv6xPbb.cjs → resolveComponentProps-4nhUsl3a.cjs} +1 -1
  199. package/dist/{resolveComponentProps-CxJ2yAJn.js → resolveComponentProps-DHoZOPOi.js} +1 -1
  200. package/dist/useForkRef-CTI33h-3.cjs +1 -0
  201. package/dist/useForkRef-C_4o__cU.js +15 -0
  202. package/dist/{useSlot-42jgZftI.cjs → useSlot-CJAXUvYJ.cjs} +1 -1
  203. package/dist/{useSlot-Co14PUn6.js → useSlot-t9oGnIgq.js} +2 -2
  204. package/dist/{useTheme-tZYpFplW.cjs → useTheme-BIogn5Me.cjs} +1 -1
  205. package/dist/{useTheme-cVN-YQNB.cjs → useTheme-Bz4LKMiC.cjs} +1 -1
  206. package/dist/{useTheme-oM_SFWy4.js → useTheme-CBsFvF7I.js} +1 -1
  207. package/dist/{useTheme-CtT7O-Wk.js → useTheme-L3EQmvnN.js} +3 -3
  208. package/dist/{useThemeProps-BlQ3SLfB.js → useThemeProps-5Bku71LW.js} +2 -2
  209. package/dist/{useThemeProps-HLq2mDKk.cjs → useThemeProps-C692LOYf.cjs} +1 -1
  210. package/dist/{useThemeProps-r0DnR8FJ.cjs → useThemeProps-DNFKz8wS.cjs} +1 -1
  211. package/dist/{useThemeProps-FiA8ivG-.js → useThemeProps-I9EHeqzU.js} +3 -3
  212. package/dist/{useTimeout-D16vpBhn.js → useTimeout-3Y5y4gWq.js} +4 -4
  213. package/dist/{useTimeout-DWEGwfTA.cjs → useTimeout-CxOQget6.cjs} +1 -1
  214. package/dist/utils-BWx1W_q1.cjs +1 -0
  215. package/dist/utils-CE_a8glN.js +391 -0
  216. package/dist/utils-CusX8Edy.cjs +1 -0
  217. package/dist/utils-DWqc1kRF.js +13 -0
  218. package/package.json +5 -5
  219. package/dist/Backdrop-KAJqifAq.cjs +0 -1
  220. package/dist/Backdrop-RBPtVAPX.js +0 -744
  221. package/dist/ButtonBase-UEHzzfUL.cjs +0 -75
  222. package/dist/DatePicker-rhgpaD-r.cjs +0 -17
  223. package/dist/DatePicker-u4rtXGeo.js +0 -12791
  224. package/dist/DefaultPropsProvider-BrX6iuA3.cjs +0 -17
  225. package/dist/FormGroup-BBYEQB4C.cjs +0 -1
  226. package/dist/FormGroup-BVtE8Mrv.js +0 -348
  227. package/dist/FormLabel-D8jYibc1.cjs +0 -2
  228. package/dist/IconButton-CVyLtjcH.cjs +0 -2
  229. package/dist/InputBase-Ctmib7Br.cjs +0 -3
  230. package/dist/MenuItem-Els-vJZW.cjs +0 -1
  231. package/dist/Select-BlPQngVF.js +0 -4720
  232. package/dist/Select-ipcMZ4iK.cjs +0 -11
  233. package/dist/Tabs-Nvk94RTW.cjs +0 -4
  234. package/dist/Tooltip-DvPL2M0E.cjs +0 -100
  235. package/dist/formControlState-DCkDUdfO.cjs +0 -1
  236. package/dist/formControlState-DdQP43Uo.js +0 -21
  237. package/dist/fr-B8_MxRl5.js +0 -307
  238. package/dist/fr-Nvp7C-vS.cjs +0 -1
  239. package/dist/ownerWindow-BoRkeomM.js +0 -23
  240. package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
  241. package/dist/refType-DlHf9HvO.js +0 -27
  242. package/dist/refType-Do7KaOvv.cjs +0 -1
  243. package/dist/useForkRef-D-DyzOXj.js +0 -21
  244. package/dist/useForkRef-D81w5oMb.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";const h=require("./identifier-BQH88SE0.cjs");function a(t){return typeof t=="string"}function k(t,c,e){return t===void 0||a(t)?c:{...c,ownerState:{...c.ownerState,...e}}}function E(t,c=[]){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!c.includes(n)).forEach(n=>{e[n]=t[n]}),e}function v(t){if(t===void 0)return{};const c={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&typeof t[e]=="function")).forEach(e=>{c[e]=t[e]}),c}function A(t){const{getSlotProps:c,additionalProps:e,externalSlotProps:n,externalForwardedProps:s,className:m}=t;if(!c){const g=h.clsx(e==null?void 0:e.className,m,s==null?void 0:s.className,n==null?void 0:n.className),N={...e==null?void 0:e.style,...s==null?void 0:s.style,...n==null?void 0:n.style},i={...e,...s,...n};return g.length>0&&(i.className=g),Object.keys(N).length>0&&(i.style=N),{props:i,internalRef:void 0}}const H=E({...s,...n}),O=v(n),C=v(s),f=c(H),y=h.clsx(f==null?void 0:f.className,e==null?void 0:e.className,m,s==null?void 0:s.className,n==null?void 0:n.className),l={...f==null?void 0:f.style,...e==null?void 0:e.style,...s==null?void 0:s.style,...n==null?void 0:n.style},u={...f,...e,...C,...O};return y.length>0&&(u.className=y),Object.keys(l).length>0&&(u.style=l),{props:u,internalRef:f.ref}}function R(t,c,e){return typeof t=="function"?t(c,e):t}exports.appendOwnerState=k;exports.extractEventHandlers=E;exports.mergeSlotProps=A;exports.resolveComponentProps=R;
1
+ "use strict";const h=require("./identifier-Dax8VlUh.cjs");function a(t){return typeof t=="string"}function k(t,c,e){return t===void 0||a(t)?c:{...c,ownerState:{...c.ownerState,...e}}}function E(t,c=[]){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!c.includes(n)).forEach(n=>{e[n]=t[n]}),e}function v(t){if(t===void 0)return{};const c={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&typeof t[e]=="function")).forEach(e=>{c[e]=t[e]}),c}function A(t){const{getSlotProps:c,additionalProps:e,externalSlotProps:n,externalForwardedProps:s,className:m}=t;if(!c){const g=h.clsx(e==null?void 0:e.className,m,s==null?void 0:s.className,n==null?void 0:n.className),N={...e==null?void 0:e.style,...s==null?void 0:s.style,...n==null?void 0:n.style},i={...e,...s,...n};return g.length>0&&(i.className=g),Object.keys(N).length>0&&(i.style=N),{props:i,internalRef:void 0}}const H=E({...s,...n}),O=v(n),C=v(s),f=c(H),y=h.clsx(f==null?void 0:f.className,e==null?void 0:e.className,m,s==null?void 0:s.className,n==null?void 0:n.className),l={...f==null?void 0:f.style,...e==null?void 0:e.style,...s==null?void 0:s.style,...n==null?void 0:n.style},u={...f,...e,...C,...O};return y.length>0&&(u.className=y),Object.keys(l).length>0&&(u.style=l),{props:u,internalRef:f.ref}}function R(t,c,e){return typeof t=="function"?t(c,e):t}exports.appendOwnerState=k;exports.extractEventHandlers=E;exports.mergeSlotProps=A;exports.resolveComponentProps=R;
@@ -1,4 +1,4 @@
1
- import { K as l } from "./identifier-BqadgaK7.js";
1
+ import { G as l } from "./identifier-Bn0tF6ls.js";
2
2
  function O(s) {
3
3
  return typeof s == "string";
4
4
  }
@@ -0,0 +1 @@
1
+ "use strict";const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const f=o(c);function u(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function i(...e){return f.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{u(n,t)})},e)}exports.setRef=u;exports.useForkRef=i;
@@ -0,0 +1,15 @@
1
+ import * as u from "react";
2
+ function o(n, t) {
3
+ typeof n == "function" ? n(t) : n && (n.current = t);
4
+ }
5
+ function r(...n) {
6
+ return u.useMemo(() => n.every((t) => t == null) ? null : (t) => {
7
+ n.forEach((e) => {
8
+ o(e, t);
9
+ });
10
+ }, n);
11
+ }
12
+ export {
13
+ o as s,
14
+ r as u
15
+ };
@@ -1 +1 @@
1
- "use strict";const r=require("./resolveComponentProps-DTv6xPbb.cjs"),R=require("./useForkRef-D81w5oMb.cjs");function T(e,n){const{className:P,elementType:w,ownerState:s,externalForwardedProps:F,getSlotOwnerState:l,internalForwardedProps:p,...O}=n,{component:c,slots:t={[e]:void 0},slotProps:y={[e]:void 0},...C}=F,d=t[e]||w,o=r.resolveComponentProps(y[e],s),{props:{component:f,...i},internalRef:g}=r.mergeSlotProps({className:P,...O,externalForwardedProps:e==="root"?C:void 0,externalSlotProps:o}),k=R.useForkRef(g,o==null?void 0:o.ref,n.ref),u=l?l(i):{},m={...s,...u},a=e==="root"?f||c:f,S=r.appendOwnerState(d,{...e==="root"&&!c&&!t[e]&&p,...e!=="root"&&!t[e]&&p,...i,...a&&{as:a},ref:k},m);return Object.keys(u).forEach(x=>{delete S[x]}),[d,S]}exports.useSlot=T;
1
+ "use strict";const r=require("./resolveComponentProps-4nhUsl3a.cjs"),R=require("./useForkRef-CTI33h-3.cjs");function T(e,n){const{className:P,elementType:w,ownerState:s,externalForwardedProps:F,getSlotOwnerState:l,internalForwardedProps:p,...O}=n,{component:c,slots:t={[e]:void 0},slotProps:y={[e]:void 0},...C}=F,d=t[e]||w,o=r.resolveComponentProps(y[e],s),{props:{component:f,...i},internalRef:g}=r.mergeSlotProps({className:P,...O,externalForwardedProps:e==="root"?C:void 0,externalSlotProps:o}),k=R.useForkRef(g,o==null?void 0:o.ref,n.ref),u=l?l(i):{},m={...s,...u},a=e==="root"?f||c:f,S=r.appendOwnerState(d,{...e==="root"&&!c&&!t[e]&&p,...e!=="root"&&!t[e]&&p,...i,...a&&{as:a},ref:k},m);return Object.keys(u).forEach(x=>{delete S[x]}),[d,S]}exports.useSlot=T;
@@ -1,5 +1,5 @@
1
- import { r as T, m as h, a as k } from "./resolveComponentProps-CxJ2yAJn.js";
2
- import { u as E } from "./useForkRef-D-DyzOXj.js";
1
+ import { r as T, m as h, a as k } from "./resolveComponentProps-DHoZOPOi.js";
2
+ import { u as E } from "./useForkRef-C_4o__cU.js";
3
3
  function j(o, r) {
4
4
  const {
5
5
  className: S,
@@ -1 +1 @@
1
- "use strict";const u=require("react"),c=require("./DefaultPropsProvider-BrX6iuA3.cjs"),o=require("./identifier-BQH88SE0.cjs"),s=require("./useTheme-cVN-YQNB.cjs");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const a=i(u);function f(){const e=s.useTheme(c.defaultTheme);return process.env.NODE_ENV!=="production"&&a.useDebugValue(e),e[o.THEME_ID]||e}exports.useTheme=f;
1
+ "use strict";const u=require("react"),c=require("./DefaultPropsProvider-Biv7NHew.cjs"),o=require("./identifier-Dax8VlUh.cjs"),s=require("./useTheme-Bz4LKMiC.cjs");function i(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const a=i(u);function f(){const e=s.useTheme(c.defaultTheme);return process.env.NODE_ENV!=="production"&&a.useDebugValue(e),e[o.THEME_ID]||e}exports.useTheme=f;
@@ -1 +1 @@
1
- "use strict";const u=require("./identifier-BQH88SE0.cjs"),o=require("react"),s=require("@emotion/react");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=i(o);function f(e){return Object.keys(e).length===0}function c(e=null){const t=a.useContext(s.ThemeContext);return!t||f(t)?e:t}const m=u.createTheme$1();function l(e=m){return c(e)}exports.useTheme=l;exports.useTheme$1=c;
1
+ "use strict";const u=require("./identifier-Dax8VlUh.cjs"),o=require("react"),s=require("@emotion/react");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const a=i(o);function f(e){return Object.keys(e).length===0}function c(e=null){const t=a.useContext(s.ThemeContext);return!t||f(t)?e:t}const m=u.createTheme$1();function l(e=m){return c(e)}exports.useTheme=l;exports.useTheme$1=c;
@@ -1,4 +1,4 @@
1
- import { M as n } from "./identifier-BqadgaK7.js";
1
+ import { M as n } from "./identifier-Bn0tF6ls.js";
2
2
  import * as o from "react";
3
3
  import { ThemeContext as m } from "@emotion/react";
4
4
  function r(e) {
@@ -1,7 +1,7 @@
1
1
  import * as o from "react";
2
- import { d as r } from "./DefaultPropsProvider-CaRoy5OV.js";
3
- import { T as m } from "./identifier-BqadgaK7.js";
4
- import { u as t } from "./useTheme-oM_SFWy4.js";
2
+ import { d as r } from "./DefaultPropsProvider-xJkZOrdv.js";
3
+ import { T as m } from "./identifier-Bn0tF6ls.js";
4
+ import { u as t } from "./useTheme-CBsFvF7I.js";
5
5
  function f() {
6
6
  const e = t(r);
7
7
  return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[m] || e;
@@ -1,5 +1,5 @@
1
- import { a as n } from "./DefaultPropsProvider-CaRoy5OV.js";
2
- import { u as p } from "./useTheme-oM_SFWy4.js";
1
+ import { a as n } from "./DefaultPropsProvider-xJkZOrdv.js";
2
+ import { u as p } from "./useTheme-CBsFvF7I.js";
3
3
  function m(t) {
4
4
  const {
5
5
  theme: e,
@@ -1 +1 @@
1
- "use strict";const u=require("./DefaultPropsProvider-BrX6iuA3.cjs"),p=require("./useTheme-cVN-YQNB.cjs");function n(t){const{theme:e,name:o,props:r}=t;return!e||!e.components||!e.components[o]||!e.components[o].defaultProps?r:u.resolveProps(e.components[o].defaultProps,r)}function m({props:t,name:e,defaultTheme:o,themeId:r}){let s=p.useTheme(o);return r&&(s=s[r]||s),n({theme:s,name:e,props:t})}exports.getThemeProps=n;exports.useThemeProps=m;
1
+ "use strict";const u=require("./DefaultPropsProvider-Biv7NHew.cjs"),p=require("./useTheme-Bz4LKMiC.cjs");function n(t){const{theme:e,name:o,props:r}=t;return!e||!e.components||!e.components[o]||!e.components[o].defaultProps?r:u.resolveProps(e.components[o].defaultProps,r)}function m({props:t,name:e,defaultTheme:o,themeId:r}){let s=p.useTheme(o);return r&&(s=s[r]||s),n({theme:s,name:e,props:t})}exports.getThemeProps=n;exports.useThemeProps=m;
@@ -1 +1 @@
1
- "use strict";const n=require("./DefaultPropsProvider-BrX6iuA3.cjs"),t=require("./identifier-BQH88SE0.cjs"),s=require("./useThemeProps-HLq2mDKk.cjs");function p(r,e,c,d,o){if(process.env.NODE_ENV==="production")return null;const u=o||e;return typeof r[e]<"u"?new Error(`The prop \`${u}\` is not supported. Please remove it.`):null}function i({props:r,name:e}){return s.useThemeProps({props:r,name:e,defaultTheme:n.defaultTheme,themeId:t.THEME_ID})}exports.unsupportedProp=p;exports.useThemeProps=i;
1
+ "use strict";const n=require("./DefaultPropsProvider-Biv7NHew.cjs"),t=require("./identifier-Dax8VlUh.cjs"),s=require("./useThemeProps-C692LOYf.cjs");function p(r,e,c,d,o){if(process.env.NODE_ENV==="production")return null;const u=o||e;return typeof r[e]<"u"?new Error(`The prop \`${u}\` is not supported. Please remove it.`):null}function i({props:r,name:e}){return s.useThemeProps({props:r,name:e,defaultTheme:n.defaultTheme,themeId:t.THEME_ID})}exports.unsupportedProp=p;exports.useThemeProps=i;
@@ -1,6 +1,6 @@
1
- import { d as t } from "./DefaultPropsProvider-CaRoy5OV.js";
2
- import { T as u } from "./identifier-BqadgaK7.js";
3
- import { u as p } from "./useThemeProps-BlQ3SLfB.js";
1
+ import { d as t } from "./DefaultPropsProvider-xJkZOrdv.js";
2
+ import { T as u } from "./identifier-Bn0tF6ls.js";
3
+ import { u as p } from "./useThemeProps-5Bku71LW.js";
4
4
  function l(o, e, s, m, r) {
5
5
  if (process.env.NODE_ENV === "production")
6
6
  return null;
@@ -2,7 +2,7 @@ var i = Object.defineProperty;
2
2
  var a = (e, t, r) => t in e ? i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var u = (e, t, r) => a(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import * as n from "react";
5
- import { u as f } from "./refType-DlHf9HvO.js";
5
+ import { u as f } from "./refType-BmrOFNz6.js";
6
6
  function m(e) {
7
7
  const t = n.useRef(e);
8
8
  return f(() => {
@@ -47,7 +47,7 @@ function E() {
47
47
  }
48
48
  export {
49
49
  c as T,
50
- o as a,
51
- E as b,
52
- m as u
50
+ m as a,
51
+ o as b,
52
+ E as u
53
53
  };
@@ -1 +1 @@
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-Do7KaOvv.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
+ "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;
@@ -0,0 +1 @@
1
+ "use strict";function r(t){return t!=null&&!(Array.isArray(t)&&t.length===0)}function n(t,e=!1){return t&&(r(t.value)&&t.value!==""||e&&r(t.defaultValue)&&t.defaultValue!=="")}function l(t){return t.startAdornment}exports.isAdornedStart=l;exports.isFilled=n;
@@ -0,0 +1,391 @@
1
+ import { P as n } from "./identifier-Bn0tF6ls.js";
2
+ import { c as R } from "./chainPropTypes-D9lkm76m.js";
3
+ import * as y from "react";
4
+ import v from "react";
5
+ import { _ as C, a as k, T as S } from "./TransitionGroupContext-DMJLhY9-.js";
6
+ import g from "react-dom";
7
+ function w(u) {
8
+ const {
9
+ prototype: s = {}
10
+ } = u;
11
+ return !!s.isReactComponent;
12
+ }
13
+ function O(u, s, a, r, e) {
14
+ const t = u[s], i = e || s;
15
+ if (t == null || // When server-side rendering React doesn't warn either.
16
+ // This is not an accurate check for SSR.
17
+ // This is only in place for Emotion compat.
18
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
19
+ typeof window > "u")
20
+ return null;
21
+ let o;
22
+ const p = t.type;
23
+ return typeof p == "function" && !w(p) && (o = "Did you accidentally use a plain function component for an element instead?"), o !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${o} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
24
+ }
25
+ const I = R(n.element, O);
26
+ I.isRequired = R(n.element.isRequired, O);
27
+ function A(u) {
28
+ var s;
29
+ return parseInt(y.version, 10) >= 19 ? ((s = u == null ? void 0 : u.props) == null ? void 0 : s.ref) || null : (u == null ? void 0 : u.ref) || null;
30
+ }
31
+ const N = {
32
+ disabled: !1
33
+ };
34
+ var M = process.env.NODE_ENV !== "production" ? n.oneOfType([n.number, n.shape({
35
+ enter: n.number,
36
+ exit: n.number,
37
+ appear: n.number
38
+ }).isRequired]) : null, F = process.env.NODE_ENV !== "production" ? n.oneOfType([n.string, n.shape({
39
+ enter: n.string,
40
+ exit: n.string,
41
+ active: n.string
42
+ }), n.shape({
43
+ enter: n.string,
44
+ enterDone: n.string,
45
+ enterActive: n.string,
46
+ exit: n.string,
47
+ exitDone: n.string,
48
+ exitActive: n.string
49
+ })]) : null, P = function(s) {
50
+ return s.scrollTop;
51
+ }, x = "unmounted", l = "exited", c = "entering", h = "entered", T = "exiting", f = /* @__PURE__ */ function(u) {
52
+ C(s, u);
53
+ function s(r, e) {
54
+ var t;
55
+ t = u.call(this, r, e) || this;
56
+ var i = e, o = i && !i.isMounting ? r.enter : r.appear, p;
57
+ return t.appearStatus = null, r.in ? o ? (p = l, t.appearStatus = c) : p = h : r.unmountOnExit || r.mountOnEnter ? p = x : p = l, t.state = {
58
+ status: p
59
+ }, t.nextCallback = null, t;
60
+ }
61
+ s.getDerivedStateFromProps = function(e, t) {
62
+ var i = e.in;
63
+ return i && t.status === x ? {
64
+ status: l
65
+ } : null;
66
+ };
67
+ var a = s.prototype;
68
+ return a.componentDidMount = function() {
69
+ this.updateStatus(!0, this.appearStatus);
70
+ }, a.componentDidUpdate = function(e) {
71
+ var t = null;
72
+ if (e !== this.props) {
73
+ var i = this.state.status;
74
+ this.props.in ? i !== c && i !== h && (t = c) : (i === c || i === h) && (t = T);
75
+ }
76
+ this.updateStatus(!1, t);
77
+ }, a.componentWillUnmount = function() {
78
+ this.cancelNextCallback();
79
+ }, a.getTimeouts = function() {
80
+ var e = this.props.timeout, t, i, o;
81
+ return t = i = o = e, e != null && typeof e != "number" && (t = e.exit, i = e.enter, o = e.appear !== void 0 ? e.appear : i), {
82
+ exit: t,
83
+ enter: i,
84
+ appear: o
85
+ };
86
+ }, a.updateStatus = function(e, t) {
87
+ if (e === void 0 && (e = !1), t !== null)
88
+ if (this.cancelNextCallback(), t === c) {
89
+ if (this.props.unmountOnExit || this.props.mountOnEnter) {
90
+ var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this);
91
+ i && P(i);
92
+ }
93
+ this.performEnter(e);
94
+ } else
95
+ this.performExit();
96
+ else this.props.unmountOnExit && this.state.status === l && this.setState({
97
+ status: x
98
+ });
99
+ }, a.performEnter = function(e) {
100
+ var t = this, i = this.props.enter, o = this.context ? this.context.isMounting : e, p = this.props.nodeRef ? [o] : [g.findDOMNode(this), o], d = p[0], m = p[1], b = this.getTimeouts(), D = o ? b.appear : b.enter;
101
+ if (!e && !i || N.disabled) {
102
+ this.safeSetState({
103
+ status: h
104
+ }, function() {
105
+ t.props.onEntered(d);
106
+ });
107
+ return;
108
+ }
109
+ this.props.onEnter(d, m), this.safeSetState({
110
+ status: c
111
+ }, function() {
112
+ t.props.onEntering(d, m), t.onTransitionEnd(D, function() {
113
+ t.safeSetState({
114
+ status: h
115
+ }, function() {
116
+ t.props.onEntered(d, m);
117
+ });
118
+ });
119
+ });
120
+ }, a.performExit = function() {
121
+ var e = this, t = this.props.exit, i = this.getTimeouts(), o = this.props.nodeRef ? void 0 : g.findDOMNode(this);
122
+ if (!t || N.disabled) {
123
+ this.safeSetState({
124
+ status: l
125
+ }, function() {
126
+ e.props.onExited(o);
127
+ });
128
+ return;
129
+ }
130
+ this.props.onExit(o), this.safeSetState({
131
+ status: T
132
+ }, function() {
133
+ e.props.onExiting(o), e.onTransitionEnd(i.exit, function() {
134
+ e.safeSetState({
135
+ status: l
136
+ }, function() {
137
+ e.props.onExited(o);
138
+ });
139
+ });
140
+ });
141
+ }, a.cancelNextCallback = function() {
142
+ this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
143
+ }, a.safeSetState = function(e, t) {
144
+ t = this.setNextCallback(t), this.setState(e, t);
145
+ }, a.setNextCallback = function(e) {
146
+ var t = this, i = !0;
147
+ return this.nextCallback = function(o) {
148
+ i && (i = !1, t.nextCallback = null, e(o));
149
+ }, this.nextCallback.cancel = function() {
150
+ i = !1;
151
+ }, this.nextCallback;
152
+ }, a.onTransitionEnd = function(e, t) {
153
+ this.setNextCallback(t);
154
+ var i = this.props.nodeRef ? this.props.nodeRef.current : g.findDOMNode(this), o = e == null && !this.props.addEndListener;
155
+ if (!i || o) {
156
+ setTimeout(this.nextCallback, 0);
157
+ return;
158
+ }
159
+ if (this.props.addEndListener) {
160
+ var p = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], d = p[0], m = p[1];
161
+ this.props.addEndListener(d, m);
162
+ }
163
+ e != null && setTimeout(this.nextCallback, e);
164
+ }, a.render = function() {
165
+ var e = this.state.status;
166
+ if (e === x)
167
+ return null;
168
+ var t = this.props, i = t.children;
169
+ t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
170
+ var o = k(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
171
+ return (
172
+ // allows for nested Transitions
173
+ /* @__PURE__ */ v.createElement(S.Provider, {
174
+ value: null
175
+ }, typeof i == "function" ? i(e, o) : v.cloneElement(v.Children.only(i), o))
176
+ );
177
+ }, s;
178
+ }(v.Component);
179
+ f.contextType = S;
180
+ f.propTypes = process.env.NODE_ENV !== "production" ? {
181
+ /**
182
+ * A React reference to DOM element that need to transition:
183
+ * https://stackoverflow.com/a/51127130/4671932
184
+ *
185
+ * - When `nodeRef` prop is used, `node` is not passed to callback functions
186
+ * (e.g. `onEnter`) because user already has direct access to the node.
187
+ * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
188
+ * `nodeRef` need to be provided to `Transition` with changed `key` prop
189
+ * (see
190
+ * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
191
+ */
192
+ nodeRef: n.shape({
193
+ current: typeof Element > "u" ? n.any : function(u, s, a, r, e, t) {
194
+ var i = u[s];
195
+ return n.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(u, s, a, r, e, t);
196
+ }
197
+ }),
198
+ /**
199
+ * A `function` child can be used instead of a React element. This function is
200
+ * called with the current transition status (`'entering'`, `'entered'`,
201
+ * `'exiting'`, `'exited'`), which can be used to apply context
202
+ * specific props to a component.
203
+ *
204
+ * ```jsx
205
+ * <Transition in={this.state.in} timeout={150}>
206
+ * {state => (
207
+ * <MyComponent className={`fade fade-${state}`} />
208
+ * )}
209
+ * </Transition>
210
+ * ```
211
+ */
212
+ children: n.oneOfType([n.func.isRequired, n.element.isRequired]).isRequired,
213
+ /**
214
+ * Show the component; triggers the enter or exit states
215
+ */
216
+ in: n.bool,
217
+ /**
218
+ * By default the child component is mounted immediately along with
219
+ * the parent `Transition` component. If you want to "lazy mount" the component on the
220
+ * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
221
+ * mounted, even on "exited", unless you also specify `unmountOnExit`.
222
+ */
223
+ mountOnEnter: n.bool,
224
+ /**
225
+ * By default the child component stays mounted after it reaches the `'exited'` state.
226
+ * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
227
+ */
228
+ unmountOnExit: n.bool,
229
+ /**
230
+ * By default the child component does not perform the enter transition when
231
+ * it first mounts, regardless of the value of `in`. If you want this
232
+ * behavior, set both `appear` and `in` to `true`.
233
+ *
234
+ * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
235
+ * > only adds an additional enter transition. However, in the
236
+ * > `<CSSTransition>` component that first enter transition does result in
237
+ * > additional `.appear-*` classes, that way you can choose to style it
238
+ * > differently.
239
+ */
240
+ appear: n.bool,
241
+ /**
242
+ * Enable or disable enter transitions.
243
+ */
244
+ enter: n.bool,
245
+ /**
246
+ * Enable or disable exit transitions.
247
+ */
248
+ exit: n.bool,
249
+ /**
250
+ * The duration of the transition, in milliseconds.
251
+ * Required unless `addEndListener` is provided.
252
+ *
253
+ * You may specify a single timeout for all transitions:
254
+ *
255
+ * ```jsx
256
+ * timeout={500}
257
+ * ```
258
+ *
259
+ * or individually:
260
+ *
261
+ * ```jsx
262
+ * timeout={{
263
+ * appear: 500,
264
+ * enter: 300,
265
+ * exit: 500,
266
+ * }}
267
+ * ```
268
+ *
269
+ * - `appear` defaults to the value of `enter`
270
+ * - `enter` defaults to `0`
271
+ * - `exit` defaults to `0`
272
+ *
273
+ * @type {number | { enter?: number, exit?: number, appear?: number }}
274
+ */
275
+ timeout: function(s) {
276
+ var a = M;
277
+ s.addEndListener || (a = a.isRequired);
278
+ for (var r = arguments.length, e = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
279
+ e[t - 1] = arguments[t];
280
+ return a.apply(void 0, [s].concat(e));
281
+ },
282
+ /**
283
+ * Add a custom transition end trigger. Called with the transitioning
284
+ * DOM node and a `done` callback. Allows for more fine grained transition end
285
+ * logic. Timeouts are still used as a fallback if provided.
286
+ *
287
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
288
+ *
289
+ * ```jsx
290
+ * addEndListener={(node, done) => {
291
+ * // use the css transitionend event to mark the finish of a transition
292
+ * node.addEventListener('transitionend', done, false);
293
+ * }}
294
+ * ```
295
+ */
296
+ addEndListener: n.func,
297
+ /**
298
+ * Callback fired before the "entering" status is applied. An extra parameter
299
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
300
+ *
301
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
302
+ *
303
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
304
+ */
305
+ onEnter: n.func,
306
+ /**
307
+ * Callback fired after the "entering" status is applied. An extra parameter
308
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
309
+ *
310
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
311
+ *
312
+ * @type Function(node: HtmlElement, isAppearing: bool)
313
+ */
314
+ onEntering: n.func,
315
+ /**
316
+ * Callback fired after the "entered" status is applied. An extra parameter
317
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
318
+ *
319
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
320
+ *
321
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
322
+ */
323
+ onEntered: n.func,
324
+ /**
325
+ * Callback fired before the "exiting" status is applied.
326
+ *
327
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
328
+ *
329
+ * @type Function(node: HtmlElement) -> void
330
+ */
331
+ onExit: n.func,
332
+ /**
333
+ * Callback fired after the "exiting" status is applied.
334
+ *
335
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
336
+ *
337
+ * @type Function(node: HtmlElement) -> void
338
+ */
339
+ onExiting: n.func,
340
+ /**
341
+ * Callback fired after the "exited" status is applied.
342
+ *
343
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
344
+ *
345
+ * @type Function(node: HtmlElement) -> void
346
+ */
347
+ onExited: n.func
348
+ } : {};
349
+ function E() {
350
+ }
351
+ f.defaultProps = {
352
+ in: !1,
353
+ mountOnEnter: !1,
354
+ unmountOnExit: !1,
355
+ appear: !1,
356
+ enter: !0,
357
+ exit: !0,
358
+ onEnter: E,
359
+ onEntering: E,
360
+ onEntered: E,
361
+ onExit: E,
362
+ onExiting: E,
363
+ onExited: E
364
+ };
365
+ f.UNMOUNTED = x;
366
+ f.EXITED = l;
367
+ f.ENTERING = c;
368
+ f.ENTERED = h;
369
+ f.EXITING = T;
370
+ const X = (u) => u.scrollTop;
371
+ function $(u, s) {
372
+ const {
373
+ timeout: a,
374
+ easing: r,
375
+ style: e = {}
376
+ } = u;
377
+ return {
378
+ duration: e.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
379
+ easing: e.transitionTimingFunction ?? (typeof r == "object" ? r[s.mode] : r),
380
+ delay: e.transitionDelay
381
+ };
382
+ }
383
+ export {
384
+ f as T,
385
+ $ as a,
386
+ F as c,
387
+ I as e,
388
+ P as f,
389
+ A as g,
390
+ X as r
391
+ };
@@ -0,0 +1 @@
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;
@@ -0,0 +1,13 @@
1
+ function t(r) {
2
+ return r != null && !(Array.isArray(r) && r.length === 0);
3
+ }
4
+ function e(r, a = !1) {
5
+ return r && (t(r.value) && r.value !== "" || a && t(r.defaultValue) && r.defaultValue !== "");
6
+ }
7
+ function n(r) {
8
+ return r.startAdornment;
9
+ }
10
+ export {
11
+ n as a,
12
+ e as i
13
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgi-learning-hub/ui",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "private": false,
5
5
  "author": "CGI Learning-hub Team",
6
6
  "description": "@cgi-learning-hub/ui is an open-source React component library that implements UI for HUB's features",
@@ -30,11 +30,11 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@mui/icons-material": "6.1.6",
34
- "@mui/lab": "6.0.0-beta.14",
35
- "@mui/x-date-pickers": "7.22.1",
33
+ "@mui/icons-material": "6.1.9",
34
+ "@mui/lab": "6.0.0-beta.17",
35
+ "@mui/x-date-pickers": "7.22.3",
36
36
  "dayjs": "1.11.13",
37
- "react-dropzone": "14.3.3"
37
+ "react-dropzone": "14.3.5"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@reduxjs/toolkit": "2.3.0",
@@ -1 +0,0 @@
1
- "use strict";const S=require("react"),e=require("./identifier-BQH88SE0.cjs"),H=require("./useSlot-42jgZftI.cjs"),_=require("react/jsx-runtime"),V=require("./DefaultPropsProvider-BrX6iuA3.cjs"),se=require("./useTheme-tZYpFplW.cjs"),W=require("./useForkRef-D81w5oMb.cjs"),w=require("./TransitionGroupContext-DbXD5xqS.cjs"),D=require("react-dom");function ie(i){const p=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(i){for(const s in i)if(s!=="default"){const o=Object.getOwnPropertyDescriptor(i,s);Object.defineProperty(p,s,o.get?o:{enumerable:!0,get:()=>i[s]})}}return p.default=i,Object.freeze(p)}const N=ie(S);function pe(i){const{prototype:p={}}=i;return!!p.isReactComponent}function J(i,p,s,o,n){const t=i[p],r=n||p;if(t==null||typeof window>"u")return null;let a;const u=t.type;return typeof u=="function"&&!pe(u)&&(a="Did you accidentally use a plain function component for an element instead?"),a!==void 0?new Error(`Invalid ${o} \`${r}\` supplied to \`${s}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const X=W.chainPropTypes(e.PropTypes.element,J);X.isRequired=W.chainPropTypes(e.PropTypes.element.isRequired,J);function K(i){var p;return parseInt(N.version,10)>=19?((p=i==null?void 0:i.props)==null?void 0:p.ref)||null:(i==null?void 0:i.ref)||null}const z={disabled:!1};var ae=process.env.NODE_ENV!=="production"?e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({enter:e.PropTypes.number,exit:e.PropTypes.number,appear:e.PropTypes.number}).isRequired]):null,ue=process.env.NODE_ENV!=="production"?e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.shape({enter:e.PropTypes.string,exit:e.PropTypes.string,active:e.PropTypes.string}),e.PropTypes.shape({enter:e.PropTypes.string,enterDone:e.PropTypes.string,enterActive:e.PropTypes.string,exit:e.PropTypes.string,exitDone:e.PropTypes.string,exitActive:e.PropTypes.string})]):null,Q=function(p){return p.scrollTop},O="unmounted",P="exited",h="entering",g="entered",G="exiting",f=function(i){w._inheritsLoose(p,i);function p(o,n){var t;t=i.call(this,o,n)||this;var r=n,a=r&&!r.isMounting?o.enter:o.appear,u;return t.appearStatus=null,o.in?a?(u=P,t.appearStatus=h):u=g:o.unmountOnExit||o.mountOnEnter?u=O:u=P,t.state={status:u},t.nextCallback=null,t}p.getDerivedStateFromProps=function(n,t){var r=n.in;return r&&t.status===O?{status:P}:null};var s=p.prototype;return s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.componentDidUpdate=function(n){var t=null;if(n!==this.props){var r=this.state.status;this.props.in?r!==h&&r!==g&&(t=h):(r===h||r===g)&&(t=G)}this.updateStatus(!1,t)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.getTimeouts=function(){var n=this.props.timeout,t,r,a;return t=r=a=n,n!=null&&typeof n!="number"&&(t=n.exit,r=n.enter,a=n.appear!==void 0?n.appear:r),{exit:t,enter:r,appear:a}},s.updateStatus=function(n,t){if(n===void 0&&(n=!1),t!==null)if(this.cancelNextCallback(),t===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:D.findDOMNode(this);r&&Q(r)}this.performEnter(n)}else this.performExit();else this.props.unmountOnExit&&this.state.status===P&&this.setState({status:O})},s.performEnter=function(n){var t=this,r=this.props.enter,a=this.context?this.context.isMounting:n,u=this.props.nodeRef?[a]:[D.findDOMNode(this),a],l=u[0],d=u[1],x=this.getTimeouts(),R=a?x.appear:x.enter;if(!n&&!r||z.disabled){this.safeSetState({status:g},function(){t.props.onEntered(l)});return}this.props.onEnter(l,d),this.safeSetState({status:h},function(){t.props.onEntering(l,d),t.onTransitionEnd(R,function(){t.safeSetState({status:g},function(){t.props.onEntered(l,d)})})})},s.performExit=function(){var n=this,t=this.props.exit,r=this.getTimeouts(),a=this.props.nodeRef?void 0:D.findDOMNode(this);if(!t||z.disabled){this.safeSetState({status:P},function(){n.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:G},function(){n.props.onExiting(a),n.onTransitionEnd(r.exit,function(){n.safeSetState({status:P},function(){n.props.onExited(a)})})})},s.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(n,t){t=this.setNextCallback(t),this.setState(n,t)},s.setNextCallback=function(n){var t=this,r=!0;return this.nextCallback=function(a){r&&(r=!1,t.nextCallback=null,n(a))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},s.onTransitionEnd=function(n,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:D.findDOMNode(this),a=n==null&&!this.props.addEndListener;if(!r||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],l=u[0],d=u[1];this.props.addEndListener(l,d)}n!=null&&setTimeout(this.nextCallback,n)},s.render=function(){var n=this.state.status;if(n===O)return null;var t=this.props,r=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var a=w._objectWithoutPropertiesLoose(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return S.createElement(w.TransitionGroupContext.Provider,{value:null},typeof r=="function"?r(n,a):S.cloneElement(S.Children.only(r),a))},p}(S.Component);f.contextType=w.TransitionGroupContext;f.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:e.PropTypes.shape({current:typeof Element>"u"?e.PropTypes.any:function(i,p,s,o,n,t){var r=i[p];return e.PropTypes.instanceOf(r&&"ownerDocument"in r?r.ownerDocument.defaultView.Element:Element)(i,p,s,o,n,t)}}),children:e.PropTypes.oneOfType([e.PropTypes.func.isRequired,e.PropTypes.element.isRequired]).isRequired,in:e.PropTypes.bool,mountOnEnter:e.PropTypes.bool,unmountOnExit:e.PropTypes.bool,appear:e.PropTypes.bool,enter:e.PropTypes.bool,exit:e.PropTypes.bool,timeout:function(p){var s=ae;p.addEndListener||(s=s.isRequired);for(var o=arguments.length,n=new Array(o>1?o-1:0),t=1;t<o;t++)n[t-1]=arguments[t];return s.apply(void 0,[p].concat(n))},addEndListener:e.PropTypes.func,onEnter:e.PropTypes.func,onEntering:e.PropTypes.func,onEntered:e.PropTypes.func,onExit:e.PropTypes.func,onExiting:e.PropTypes.func,onExited:e.PropTypes.func}:{};function v(){}f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:v,onEntering:v,onEntered:v,onExit:v,onExiting:v,onExited:v};f.UNMOUNTED=O;f.EXITED=P;f.ENTERING=h;f.ENTERED=g;f.EXITING=G;const Y=i=>i.scrollTop;function A(i,p){const{timeout:s,easing:o,style:n={}}=i;return{duration:n.transitionDuration??(typeof s=="number"?s:s[p.mode]||0),easing:n.transitionTimingFunction??(typeof o=="object"?o[p.mode]:o),delay:n.transitionDelay}}const ce={entering:{opacity:1},entered:{opacity:1}},$=N.forwardRef(function(p,s){const o=se.useTheme(),n={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:t,appear:r=!0,children:a,easing:u,in:l,onEnter:d,onEntered:x,onEntering:R,onExit:k,onExited:j,onExiting:q,style:m,timeout:b=n,TransitionComponent:M=f,...L}=p,E=N.useRef(null),U=W.useForkRef(E,K(a),s),T=c=>y=>{if(c){const C=E.current;y===void 0?c(C):c(C,y)}},B=T(R),I=T((c,y)=>{Y(c);const C=A({style:m,timeout:b,easing:u},{mode:"enter"});c.style.webkitTransition=o.transitions.create("opacity",C),c.style.transition=o.transitions.create("opacity",C),d&&d(c,y)}),F=T(x),te=T(q),ne=T(c=>{const y=A({style:m,timeout:b,easing:u},{mode:"exit"});c.style.webkitTransition=o.transitions.create("opacity",y),c.style.transition=o.transitions.create("opacity",y),k&&k(c)}),oe=T(j),re=c=>{t&&t(E.current,c)};return _.jsx(M,{appear:r,in:l,nodeRef:E,onEnter:I,onEntered:F,onEntering:B,onExit:ne,onExited:oe,onExiting:te,addEndListener:re,timeout:b,...L,children:(c,y)=>N.cloneElement(a,{style:{opacity:0,visibility:c==="exited"&&!l?"hidden":void 0,...ce[c],...m,...a.props.style},ref:U,...y})})});process.env.NODE_ENV!=="production"&&($.propTypes={addEndListener:e.PropTypes.func,appear:e.PropTypes.bool,children:X.isRequired,easing:e.PropTypes.oneOfType([e.PropTypes.shape({enter:e.PropTypes.string,exit:e.PropTypes.string}),e.PropTypes.string]),in:e.PropTypes.bool,onEnter:e.PropTypes.func,onEntered:e.PropTypes.func,onEntering:e.PropTypes.func,onExit:e.PropTypes.func,onExited:e.PropTypes.func,onExiting:e.PropTypes.func,style:e.PropTypes.object,timeout:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});function Z(i){return e.generateUtilityClass("MuiBackdrop",i)}const le=e.generateUtilityClasses("MuiBackdrop",["root","invisible"]),de=i=>{const{ownerState:p,...s}=i;return s},fe=i=>{const{classes:p,invisible:s}=i,o={root:["root",s&&"invisible"]};return V.composeClasses(o,Z,p)},ye=V.styled("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(i,p)=>{const{ownerState:s}=i;return[p.root,s.invisible&&p.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),ee=N.forwardRef(function(p,s){const o=V.useDefaultProps({props:p,name:"MuiBackdrop"}),{children:n,className:t,component:r="div",invisible:a=!1,open:u,components:l={},componentsProps:d={},slotProps:x={},slots:R={},TransitionComponent:k,transitionDuration:j,...q}=o,m={...o,component:r,invisible:a},b=fe(m),M={transition:k,root:l.Root,...R},L={...d,...x},E={slots:M,slotProps:L},[U,T]=H.useSlot("root",{elementType:ye,externalForwardedProps:E,className:e.clsx(b.root,t),ownerState:m}),[B,I]=H.useSlot("transition",{elementType:$,externalForwardedProps:E,ownerState:m}),F=de(I);return _.jsx(B,{in:u,timeout:j,...q,...F,children:_.jsx(U,{"aria-hidden":!0,...T,classes:b,ref:s,children:n})})});process.env.NODE_ENV!=="production"&&(ee.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,components:e.PropTypes.shape({Root:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({root:e.PropTypes.object}),invisible:e.PropTypes.bool,open:e.PropTypes.bool.isRequired,slotProps:e.PropTypes.shape({root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),transition:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({root:e.PropTypes.elementType,transition:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})])});exports.Backdrop=ee;exports.Fade=$;exports.Transition=f;exports.backdropClasses=le;exports.classNamesShape=ue;exports.elementAcceptingRef=X;exports.forceReflow=Q;exports.getBackdropUtilityClass=Z;exports.getReactElementRef=K;exports.getTransitionProps=A;exports.reflow=Y;