@cgi-learning-hub/ui 1.2.0 → 1.3.0-dev.1731062725

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 (327) hide show
  1. package/dist/Backdrop-CxHwPsCX.js +789 -0
  2. package/dist/Backdrop-ZCTs-Ws8.cjs +1 -0
  3. package/dist/Box-D61CmHcZ.cjs +1 -0
  4. package/dist/{Box-Bawb5zHX.js → Box-a6v7fn61.js} +31 -30
  5. package/dist/Button-B8Vr_qVd.js +450 -0
  6. package/dist/Button-elp97nQ8.cjs +1 -0
  7. package/dist/ButtonBase-S0mFlojL.cjs +75 -0
  8. package/dist/ButtonBase-Y5TK5SRu.js +890 -0
  9. package/dist/CircularProgress-DDIZxeFH.cjs +28 -0
  10. package/dist/CircularProgress-DU3DJQfF.js +252 -0
  11. package/dist/DatePicker-BigDV0IN.cjs +17 -0
  12. package/dist/{DatePicker-DGVeagTz.js → DatePicker-ZdjLD9eR.js} +6100 -5984
  13. package/dist/DefaultPropsProvider-7QnSWHxy.js +484 -0
  14. package/dist/DefaultPropsProvider-eEVEiLDf.cjs +17 -0
  15. package/dist/IconButton-C7H_G1LX.js +230 -0
  16. package/dist/IconButton-DfmbM9nO.cjs +2 -0
  17. package/dist/InputAdornment-C-EbfNtT.cjs +1 -0
  18. package/dist/{InputAdornment-hNrnvXW9.js → InputAdornment-CPJFY_m_.js} +81 -64
  19. package/dist/InputBase-5GB2c2J6.js +803 -0
  20. package/dist/InputBase-CPtGhJye.cjs +3 -0
  21. package/dist/Stack-656bqKiW.cjs +1 -0
  22. package/dist/{Stack-BJ2ths-g.js → Stack-CutIWKkG.js} +61 -60
  23. package/dist/Tabs-CKic46Op.js +1222 -0
  24. package/dist/Tabs-DzrxYlm-.cjs +4 -0
  25. package/dist/TextField-BLEvZwPH.cjs +14 -0
  26. package/dist/TextField-CGMPbx_J.js +5686 -0
  27. package/dist/Tooltip-BJefPCe7.cjs +100 -0
  28. package/dist/{Tooltip-D42pzHKW.js → Tooltip-DqLAZimE.js} +4764 -3511
  29. package/dist/TransitionGroupContext-DMJLhY9-.js +24 -0
  30. package/dist/TransitionGroupContext-DbXD5xqS.cjs +1 -0
  31. package/dist/Typography-CreZW2v6.cjs +1 -0
  32. package/dist/Typography-DsJC595c.js +259 -0
  33. package/dist/assets/styles.css +1 -1
  34. package/dist/assets/styles2.css +1 -1
  35. package/dist/client-error-BUtdld5f.cjs +1 -0
  36. package/dist/client-error-B_-qjgAB.js +395 -0
  37. package/dist/components/Alert/Alert.cjs.js +1 -0
  38. package/dist/components/{feedback/Alert → Alert}/Alert.d.ts +0 -1
  39. package/dist/components/Alert/Alert.stories.cjs.js +1 -0
  40. package/dist/components/{feedback/Alert → Alert}/Alert.stories.d.ts +0 -1
  41. package/dist/components/{feedback/Alert → Alert}/Alert.stories.es.js +7 -7
  42. package/dist/components/Button/Button.cjs.js +1 -0
  43. package/dist/components/Button/Button.d.ts +4 -0
  44. package/dist/components/Button/Button.es.js +334 -0
  45. package/dist/components/Button/Button.stories.cjs.js +1 -0
  46. package/dist/components/{buttons/SecondaryButton/SecondaryButton.stories.d.ts → Button/Button.stories.d.ts} +3 -2
  47. package/dist/components/Button/Button.stories.es.js +45 -0
  48. package/dist/components/Button/index.cjs.js +1 -0
  49. package/dist/components/Button/index.d.ts +2 -0
  50. package/dist/components/Button/index.es.js +4 -0
  51. package/dist/components/DatePicker/DatePicker.cjs.js +1 -0
  52. package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.d.ts +0 -1
  53. package/dist/components/DatePicker/DatePicker.es.js +6 -0
  54. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -0
  55. package/dist/components/{pickers/DatePicker → DatePicker}/DatePicker.stories.d.ts +0 -1
  56. package/dist/components/DatePicker/DatePicker.stories.es.js +16 -0
  57. package/dist/components/{pickers → DatePicker}/index.cjs.js +1 -1
  58. package/dist/components/DatePicker/index.es.js +4 -0
  59. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  60. package/dist/components/Dropzone/Dropzone.d.ts +0 -1
  61. package/dist/components/Dropzone/Dropzone.es.js +1685 -686
  62. package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
  63. package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -1
  64. package/dist/components/Dropzone/Dropzone.stories.es.js +1 -1
  65. package/dist/components/EmptyState/EmptyState.cjs.js +1 -0
  66. package/dist/components/EmptyState/EmptyState.d.ts +12 -0
  67. package/dist/components/EmptyState/EmptyState.es.js +31 -0
  68. package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -0
  69. package/dist/components/{PaperHeader/PaperHeader.stories.d.ts → EmptyState/EmptyState.stories.d.ts} +0 -1
  70. package/dist/components/EmptyState/EmptyState.stories.es.js +17 -0
  71. package/dist/components/EmptyState/index.cjs.js +1 -0
  72. package/dist/components/EmptyState/index.d.ts +2 -0
  73. package/dist/components/EmptyState/index.es.js +4 -0
  74. package/dist/components/FileList/FileList.cjs.js +1 -0
  75. package/dist/components/{lists/FileList → FileList}/FileList.d.ts +0 -1
  76. package/dist/components/{lists/FileList → FileList}/FileList.es.js +1 -1
  77. package/dist/components/FileList/FileList.stories.cjs.js +1 -0
  78. package/dist/components/{lists/FileList → FileList}/FileList.stories.d.ts +0 -1
  79. package/dist/components/{lists/FileList → FileList}/FileList.stories.es.js +3 -3
  80. package/dist/components/FileList/FileListItem.cjs.js +1 -0
  81. package/dist/components/FileList/FileListItem.d.ts +12 -0
  82. package/dist/components/FileList/FileListItem.es.js +29 -0
  83. package/dist/components/Heading/Heading.cjs.js +1 -0
  84. package/dist/components/{PaperHeader/PaperHeader.d.ts → Heading/Heading.d.ts} +6 -5
  85. package/dist/components/Heading/Heading.es.js +39 -0
  86. package/dist/components/Heading/Heading.stories.cjs.js +1 -0
  87. package/dist/components/{buttons/PrimaryButton/PrimaryButton.stories.d.ts → Heading/Heading.stories.d.ts} +0 -1
  88. package/dist/components/Heading/Heading.stories.es.js +22 -0
  89. package/dist/components/Heading/index.cjs.js +1 -0
  90. package/dist/components/Heading/index.d.ts +2 -0
  91. package/dist/components/Heading/index.es.js +4 -0
  92. package/dist/components/IconButton.stories.cjs.js +1 -0
  93. package/dist/components/{buttons/IconButton.stories.d.ts → IconButton.stories.d.ts} +0 -1
  94. package/dist/components/IconButton.stories.es.js +21 -0
  95. package/dist/components/Loader/Loader.cjs.js +1 -1
  96. package/dist/components/Loader/Loader.d.ts +0 -1
  97. package/dist/components/Loader/Loader.es.js +2 -2
  98. package/dist/components/Loader/Loader.stories.cjs.js +1 -1
  99. package/dist/components/Loader/Loader.stories.d.ts +0 -1
  100. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +10 -8
  103. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +0 -1
  104. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -0
  105. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.d.ts +0 -1
  106. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.es.js +10 -11
  107. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.cjs.js +1 -1
  108. package/dist/components/{inputs/PasswordInput → PasswordInput}/PasswordInput.stories.d.ts +0 -1
  109. package/dist/components/PasswordInput/PasswordInput.stories.es.js +16 -0
  110. package/dist/components/QueryError/QueryError.cjs.js +1 -0
  111. package/dist/components/{feedback/QueryError → QueryError}/QueryError.d.ts +0 -1
  112. package/dist/components/QueryError/QueryError.es.js +43 -0
  113. package/dist/components/{feedback/QueryError → QueryError}/helpers.d.ts +0 -1
  114. package/dist/components/SearchInput/SearchInput.cjs.js +1 -0
  115. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.d.ts +0 -1
  116. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.es.js +4 -4
  117. package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -0
  118. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.d.ts +0 -1
  119. package/dist/components/{inputs/SearchInput → SearchInput}/SearchInput.stories.es.js +1 -1
  120. package/dist/components/TabList.stories.cjs.js +1 -0
  121. package/dist/components/{lists/TabList.stories.d.ts → TabList.stories.d.ts} +0 -1
  122. package/dist/components/{lists/TabList.stories.es.js → TabList.stories.es.js} +99 -87
  123. package/dist/components/TextInput/TextInput.cjs.js +1 -0
  124. package/dist/components/{inputs/TextInput → TextInput}/TextInput.d.ts +0 -1
  125. package/dist/components/{inputs/TextInput → TextInput}/TextInput.es.js +1 -1
  126. package/dist/components/TextInput/TextInput.stories.cjs.js +1 -0
  127. package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.d.ts +0 -1
  128. package/dist/components/{inputs/TextInput → TextInput}/TextInput.stories.es.js +7 -7
  129. package/dist/components/index.cjs.js +1 -1
  130. package/dist/components/index.d.ts +14 -20
  131. package/dist/components/index.es.js +270 -272
  132. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  133. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  134. package/dist/createSvgIcon-Ae1vF9Lv.js +250 -0
  135. package/dist/createSvgIcon-PXjVOXDY.cjs +1 -0
  136. package/dist/error-CRNeivL7.js +5 -0
  137. package/dist/error-Dk3o6ber.cjs +1 -0
  138. package/dist/extendSxProp-BzTGWWcy.js +37 -0
  139. package/dist/extendSxProp-DLhbnNxc.cjs +1 -0
  140. package/dist/{fr-By4s91yO.js → fr-B0c4Eu-I.js} +13 -13
  141. package/dist/{fr-TRjulm1Q.cjs → fr-BtINyNRC.cjs} +1 -1
  142. package/dist/hooks/lazySvgImport.cjs.js +1 -0
  143. package/dist/hooks/lazySvgImport.d.ts +6 -0
  144. package/dist/hooks/lazySvgImport.es.js +34 -0
  145. package/dist/identifier-B_IiMbpZ.cjs +59 -0
  146. package/dist/identifier-Bu3vgTzE.js +3115 -0
  147. package/dist/index-BDy6VH40.cjs +1 -0
  148. package/dist/index-D4YvqRSh.js +45 -0
  149. package/dist/index-DNmEgr4X.js +89 -0
  150. package/dist/index-Dl4BXU0b.cjs +1 -0
  151. package/dist/index.cjs.js +1 -1
  152. package/dist/index.d.ts +0 -1
  153. package/dist/index.es.js +271 -273
  154. package/dist/memoTheme-C4_nd-x4.js +15 -0
  155. package/dist/memoTheme-DvW891YJ.cjs +1 -0
  156. package/dist/{ownerWindow-C7EH1lr6.js → ownerWindow-BoRkeomM.js} +2 -2
  157. package/dist/refType-DYRsy3ld.cjs +1 -0
  158. package/dist/refType-DvOnKTmB.js +27 -0
  159. package/dist/server-error-CeAtUo4S.cjs +1 -0
  160. package/dist/server-error-DMyaPFs8.js +400 -0
  161. package/dist/useForkRef-D-DyzOXj.js +21 -0
  162. package/dist/useForkRef-D81w5oMb.cjs +1 -0
  163. package/dist/useId-CK6Kn3Tn.js +21 -0
  164. package/dist/useId-DNXtOFeX.cjs +1 -0
  165. package/dist/useTheme-B_3HWqyi.js +88 -0
  166. package/dist/useTheme-BvsnROiB.cjs +1 -0
  167. package/dist/{useTheme-CjBTq22m.js → useTheme-DhYab2-0.js} +5 -5
  168. package/dist/useTheme-vN32oV1t.cjs +1 -0
  169. package/dist/useThemeProps-5hp2m3Xl.cjs +1 -0
  170. package/dist/{useThemeProps-BM4fCFq5.js → useThemeProps-Bmkt_XOR.js} +2 -2
  171. package/dist/useThemeProps-D_gKWuk1.cjs +1 -0
  172. package/dist/useThemeProps-DftpgVZ0.js +24 -0
  173. package/dist/useTimeout-Bx22KOcH.js +53 -0
  174. package/dist/useTimeout-gEG15bRo.cjs +1 -0
  175. package/package.json +14 -17
  176. package/dist/Box-5x1F2S3-.cjs +0 -1
  177. package/dist/Button-C__-QOJY.js +0 -359
  178. package/dist/Button-DKIRmOzf.cjs +0 -1
  179. package/dist/ButtonBase-4F5roLHd.js +0 -827
  180. package/dist/ButtonBase-Bw3wq81v.cjs +0 -75
  181. package/dist/CircularProgress-BNazIBar.js +0 -217
  182. package/dist/CircularProgress-WnNPMTjD.cjs +0 -28
  183. package/dist/DatePicker-B0jLSEvZ.cjs +0 -19
  184. package/dist/DefaultButton-F67BOmrx.js +0 -258
  185. package/dist/DefaultButton-y-mHSNFH.cjs +0 -1
  186. package/dist/IconButton-D_deQOvN.js +0 -184
  187. package/dist/IconButton-DhWgsgQ7.cjs +0 -2
  188. package/dist/InputAdornment-DYqMrYJz.cjs +0 -1
  189. package/dist/InputBase-BeZ70Fbf.cjs +0 -3
  190. package/dist/InputBase-DNkF-TAp.js +0 -794
  191. package/dist/Stack-BOcvai-O.cjs +0 -1
  192. package/dist/Tabs-CG428TT3.cjs +0 -4
  193. package/dist/Tabs-CWujD0SK.js +0 -1091
  194. package/dist/TextField-DDmGQyEr.js +0 -5800
  195. package/dist/TextField-wYRnAj1v.cjs +0 -12
  196. package/dist/Tooltip-O30xWGZU.cjs +0 -95
  197. package/dist/TransitionGroupContext-BkoHK5Kx.js +0 -14
  198. package/dist/TransitionGroupContext-mYDSzffd.cjs +0 -1
  199. package/dist/Typography-B2XMXu83.js +0 -178
  200. package/dist/Typography-DR_aF9lJ.cjs +0 -1
  201. package/dist/assets/index.css +0 -1
  202. package/dist/components/PaperHeader/PaperHeader.cjs.js +0 -1
  203. package/dist/components/PaperHeader/PaperHeader.es.js +0 -41
  204. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +0 -1
  205. package/dist/components/PaperHeader/PaperHeader.stories.es.js +0 -28
  206. package/dist/components/PaperHeader/index.cjs.js +0 -1
  207. package/dist/components/PaperHeader/index.d.ts +0 -2
  208. package/dist/components/PaperHeader/index.es.js +0 -4
  209. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +0 -1
  210. package/dist/components/buttons/DefaultButton/DefaultButton.d.ts +0 -9
  211. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +0 -8
  212. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +0 -1
  213. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.d.ts +0 -9
  214. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +0 -143
  215. package/dist/components/buttons/DefaultButton/index.cjs.js +0 -1
  216. package/dist/components/buttons/DefaultButton/index.d.ts +0 -2
  217. package/dist/components/buttons/DefaultButton/index.es.js +0 -4
  218. package/dist/components/buttons/IconButton.stories.cjs.js +0 -1
  219. package/dist/components/buttons/IconButton.stories.es.js +0 -28
  220. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +0 -1
  221. package/dist/components/buttons/PrimaryButton/PrimaryButton.d.ts +0 -6
  222. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +0 -13
  223. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +0 -1
  224. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +0 -25
  225. package/dist/components/buttons/PrimaryButton/index.cjs.js +0 -1
  226. package/dist/components/buttons/PrimaryButton/index.d.ts +0 -2
  227. package/dist/components/buttons/PrimaryButton/index.es.js +0 -4
  228. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +0 -1
  229. package/dist/components/buttons/SecondaryButton/SecondaryButton.d.ts +0 -6
  230. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +0 -6
  231. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +0 -1
  232. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +0 -25
  233. package/dist/components/buttons/SecondaryButton/index.cjs.js +0 -1
  234. package/dist/components/buttons/SecondaryButton/index.d.ts +0 -2
  235. package/dist/components/buttons/SecondaryButton/index.es.js +0 -4
  236. package/dist/components/buttons/index.cjs.js +0 -1
  237. package/dist/components/buttons/index.d.ts +0 -3
  238. package/dist/components/buttons/index.es.js +0 -8
  239. package/dist/components/feedback/Alert/Alert.cjs.js +0 -1
  240. package/dist/components/feedback/Alert/Alert.stories.cjs.js +0 -1
  241. package/dist/components/feedback/QueryError/QueryError.cjs.js +0 -1
  242. package/dist/components/feedback/QueryError/QueryError.es.js +0 -19
  243. package/dist/components/feedback/index.cjs.js +0 -1
  244. package/dist/components/feedback/index.d.ts +0 -2
  245. package/dist/components/feedback/index.es.js +0 -6
  246. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +0 -1
  247. package/dist/components/inputs/PasswordInput/PasswordInput.stories.es.js +0 -16
  248. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +0 -1
  249. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +0 -1
  250. package/dist/components/inputs/TextInput/TextInput.cjs.js +0 -1
  251. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +0 -1
  252. package/dist/components/inputs/index.cjs.js +0 -1
  253. package/dist/components/inputs/index.d.ts +0 -3
  254. package/dist/components/inputs/index.es.js +0 -8
  255. package/dist/components/lists/FileList/FileList.cjs.js +0 -1
  256. package/dist/components/lists/FileList/FileList.stories.cjs.js +0 -1
  257. package/dist/components/lists/FileList/FileListItem.cjs.js +0 -1
  258. package/dist/components/lists/FileList/FileListItem.d.ts +0 -14
  259. package/dist/components/lists/FileList/FileListItem.es.js +0 -42
  260. package/dist/components/lists/TabList.stories.cjs.js +0 -1
  261. package/dist/components/lists/index.cjs.js +0 -1
  262. package/dist/components/lists/index.d.ts +0 -1
  263. package/dist/components/lists/index.es.js +0 -6
  264. package/dist/components/pickers/DatePicker/DatePicker.cjs.js +0 -1
  265. package/dist/components/pickers/DatePicker/DatePicker.es.js +0 -6
  266. package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +0 -1
  267. package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +0 -16
  268. package/dist/components/pickers/DatePicker/index.cjs.js +0 -1
  269. package/dist/components/pickers/DatePicker/index.es.js +0 -4
  270. package/dist/components/pickers/index.d.ts +0 -1
  271. package/dist/components/pickers/index.es.js +0 -4
  272. package/dist/createStyled-CzVedz8V.js +0 -142
  273. package/dist/createStyled-LobpFGWo.cjs +0 -1
  274. package/dist/createSvgIcon-B8vHI3I6.js +0 -183
  275. package/dist/createSvgIcon-BGm-SWUB.cjs +0 -1
  276. package/dist/createSvgIcon-CKlvKClV.cjs +0 -2
  277. package/dist/createSvgIcon-DjuUwmEp.js +0 -75
  278. package/dist/identifier-4KVhx666.cjs +0 -50
  279. package/dist/identifier-D-ng7Qqa.js +0 -3047
  280. package/dist/isHostComponent-PydJW4A4.cjs +0 -1
  281. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  282. package/dist/refType-BhXrhWFB.cjs +0 -1
  283. package/dist/refType-COGEdfch.js +0 -29
  284. package/dist/styled-ZF_yhfMW.cjs +0 -17
  285. package/dist/styled-xiAudcD_.js +0 -533
  286. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  287. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  288. package/dist/useControlled-DKpcyPsg.cjs +0 -3
  289. package/dist/useControlled-DoRrpN8o.js +0 -48
  290. package/dist/useForkRef-CGd3Nhyb.cjs +0 -1
  291. package/dist/useForkRef-DwN_Iz9R.js +0 -17
  292. package/dist/useId-BW-oWmul.js +0 -19
  293. package/dist/useId-Cw0TtD-8.cjs +0 -1
  294. package/dist/useIsFocusVisible-Bv_7uvif.cjs +0 -1
  295. package/dist/useIsFocusVisible-DhASXQ4o.js +0 -69
  296. package/dist/useTheme-B5RCz7rY.cjs +0 -1
  297. package/dist/useTheme-iNHILPzK.js +0 -99
  298. package/dist/useTheme-kqsjFBnC.cjs +0 -1
  299. package/dist/useThemeProps-B-Oq4Y2j.cjs +0 -1
  300. package/dist/useThemeProps-BHAsCmc4.cjs +0 -1
  301. package/dist/useThemeProps-BVvSbkPP.js +0 -17
  302. package/dist/useTimeout-BdvDipeg.js +0 -47
  303. package/dist/useTimeout-XUWYBnl6.cjs +0 -1
  304. package/dist/vite-env.d.cjs.js +0 -1
  305. package/dist/vite-env.d.es.js +0 -1
  306. /package/dist/components/{feedback/Alert → Alert}/Alert.es.js +0 -0
  307. /package/dist/components/{feedback/Alert → Alert}/index.cjs.js +0 -0
  308. /package/dist/components/{feedback/Alert → Alert}/index.d.ts +0 -0
  309. /package/dist/components/{feedback/Alert → Alert}/index.es.js +0 -0
  310. /package/dist/components/{pickers/DatePicker → DatePicker}/index.d.ts +0 -0
  311. /package/dist/components/{lists/FileList → FileList}/index.cjs.js +0 -0
  312. /package/dist/components/{lists/FileList → FileList}/index.d.ts +0 -0
  313. /package/dist/components/{lists/FileList → FileList}/index.es.js +0 -0
  314. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.cjs.js +0 -0
  315. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.d.ts +0 -0
  316. /package/dist/components/{inputs/PasswordInput → PasswordInput}/index.es.js +0 -0
  317. /package/dist/components/{feedback/QueryError → QueryError}/helpers.cjs.js +0 -0
  318. /package/dist/components/{feedback/QueryError → QueryError}/helpers.es.js +0 -0
  319. /package/dist/components/{feedback/QueryError → QueryError}/index.cjs.js +0 -0
  320. /package/dist/components/{feedback/QueryError → QueryError}/index.d.ts +0 -0
  321. /package/dist/components/{feedback/QueryError → QueryError}/index.es.js +0 -0
  322. /package/dist/components/{inputs/SearchInput → SearchInput}/index.cjs.js +0 -0
  323. /package/dist/components/{inputs/SearchInput → SearchInput}/index.d.ts +0 -0
  324. /package/dist/components/{inputs/SearchInput → SearchInput}/index.es.js +0 -0
  325. /package/dist/components/{inputs/TextInput → TextInput}/index.cjs.js +0 -0
  326. /package/dist/components/{inputs/TextInput → TextInput}/index.d.ts +0 -0
  327. /package/dist/components/{inputs/TextInput → TextInput}/index.es.js +0 -0
@@ -0,0 +1,789 @@
1
+ import * as j from "react";
2
+ import F from "react";
3
+ import { P as t, I as Z, J as tt, L as et } from "./identifier-Bu3vgTzE.js";
4
+ import { r as nt, m as ot, a as it, u as rt } from "./useTheme-B_3HWqyi.js";
5
+ import { c as W, u as X } from "./useForkRef-D-DyzOXj.js";
6
+ import { jsx as B } from "react/jsx-runtime";
7
+ import { s as st, u as at, c as pt } from "./DefaultPropsProvider-7QnSWHxy.js";
8
+ import { _ as ut, a as ct, T as $ } from "./TransitionGroupContext-DMJLhY9-.js";
9
+ import I from "react-dom";
10
+ function lt(r) {
11
+ const {
12
+ prototype: s = {}
13
+ } = r;
14
+ return !!s.isReactComponent;
15
+ }
16
+ function H(r, s, a, i, n) {
17
+ const e = r[s], o = n || s;
18
+ if (e == null || // When server-side rendering React doesn't warn either.
19
+ // This is not an accurate check for SSR.
20
+ // This is only in place for Emotion compat.
21
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
22
+ typeof window > "u")
23
+ return null;
24
+ let p;
25
+ const u = e.type;
26
+ return typeof u == "function" && !lt(u) && (p = "Did you accidentally use a plain function component for an element instead?"), p !== void 0 ? new Error(`Invalid ${i} \`${o}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${p} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
27
+ }
28
+ const z = W(t.element, H);
29
+ z.isRequired = W(t.element.isRequired, H);
30
+ function dt(r) {
31
+ var s;
32
+ return parseInt(j.version, 10) >= 19 ? ((s = r == null ? void 0 : r.props) == null ? void 0 : s.ref) || null : (r == null ? void 0 : r.ref) || null;
33
+ }
34
+ function A(r, s) {
35
+ const {
36
+ className: a,
37
+ elementType: i,
38
+ ownerState: n,
39
+ externalForwardedProps: e,
40
+ getSlotOwnerState: o,
41
+ internalForwardedProps: p,
42
+ ...u
43
+ } = s, {
44
+ component: l,
45
+ slots: d = {
46
+ [r]: void 0
47
+ },
48
+ slotProps: v = {
49
+ [r]: void 0
50
+ },
51
+ ...y
52
+ } = e, T = d[r] || i, b = nt(v[r], n), {
53
+ props: {
54
+ component: C,
55
+ ...m
56
+ },
57
+ internalRef: g
58
+ } = ot({
59
+ className: a,
60
+ ...u,
61
+ externalForwardedProps: r === "root" ? y : void 0,
62
+ externalSlotProps: b
63
+ }), k = X(g, b == null ? void 0 : b.ref, s.ref), O = o ? o(m) : {}, E = {
64
+ ...n,
65
+ ...O
66
+ }, N = r === "root" ? C || l : C, f = it(T, {
67
+ ...r === "root" && !l && !d[r] && p,
68
+ ...r !== "root" && !d[r] && p,
69
+ ...m,
70
+ ...N && {
71
+ as: N
72
+ },
73
+ ref: k
74
+ }, E);
75
+ return Object.keys(O).forEach((w) => {
76
+ delete f[w];
77
+ }), [T, f];
78
+ }
79
+ const G = {
80
+ disabled: !1
81
+ };
82
+ var ft = process.env.NODE_ENV !== "production" ? t.oneOfType([t.number, t.shape({
83
+ enter: t.number,
84
+ exit: t.number,
85
+ appear: t.number
86
+ }).isRequired]) : null, wt = process.env.NODE_ENV !== "production" ? t.oneOfType([t.string, t.shape({
87
+ enter: t.string,
88
+ exit: t.string,
89
+ active: t.string
90
+ }), t.shape({
91
+ enter: t.string,
92
+ enterDone: t.string,
93
+ enterActive: t.string,
94
+ exit: t.string,
95
+ exitDone: t.string,
96
+ exitActive: t.string
97
+ })]) : null, mt = function(s) {
98
+ return s.scrollTop;
99
+ }, M = "unmounted", S = "exited", R = "entering", D = "entered", q = "exiting", x = /* @__PURE__ */ function(r) {
100
+ ut(s, r);
101
+ function s(i, n) {
102
+ var e;
103
+ e = r.call(this, i, n) || this;
104
+ var o = n, p = o && !o.isMounting ? i.enter : i.appear, u;
105
+ return e.appearStatus = null, i.in ? p ? (u = S, e.appearStatus = R) : u = D : i.unmountOnExit || i.mountOnEnter ? u = M : u = S, e.state = {
106
+ status: u
107
+ }, e.nextCallback = null, e;
108
+ }
109
+ s.getDerivedStateFromProps = function(n, e) {
110
+ var o = n.in;
111
+ return o && e.status === M ? {
112
+ status: S
113
+ } : null;
114
+ };
115
+ var a = s.prototype;
116
+ return a.componentDidMount = function() {
117
+ this.updateStatus(!0, this.appearStatus);
118
+ }, a.componentDidUpdate = function(n) {
119
+ var e = null;
120
+ if (n !== this.props) {
121
+ var o = this.state.status;
122
+ this.props.in ? o !== R && o !== D && (e = R) : (o === R || o === D) && (e = q);
123
+ }
124
+ this.updateStatus(!1, e);
125
+ }, a.componentWillUnmount = function() {
126
+ this.cancelNextCallback();
127
+ }, a.getTimeouts = function() {
128
+ var n = this.props.timeout, e, o, p;
129
+ return e = o = p = n, n != null && typeof n != "number" && (e = n.exit, o = n.enter, p = n.appear !== void 0 ? n.appear : o), {
130
+ exit: e,
131
+ enter: o,
132
+ appear: p
133
+ };
134
+ }, a.updateStatus = function(n, e) {
135
+ if (n === void 0 && (n = !1), e !== null)
136
+ if (this.cancelNextCallback(), e === R) {
137
+ if (this.props.unmountOnExit || this.props.mountOnEnter) {
138
+ var o = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this);
139
+ o && mt(o);
140
+ }
141
+ this.performEnter(n);
142
+ } else
143
+ this.performExit();
144
+ else this.props.unmountOnExit && this.state.status === S && this.setState({
145
+ status: M
146
+ });
147
+ }, a.performEnter = function(n) {
148
+ var e = this, o = this.props.enter, p = this.context ? this.context.isMounting : n, u = this.props.nodeRef ? [p] : [I.findDOMNode(this), p], l = u[0], d = u[1], v = this.getTimeouts(), y = p ? v.appear : v.enter;
149
+ if (!n && !o || G.disabled) {
150
+ this.safeSetState({
151
+ status: D
152
+ }, function() {
153
+ e.props.onEntered(l);
154
+ });
155
+ return;
156
+ }
157
+ this.props.onEnter(l, d), this.safeSetState({
158
+ status: R
159
+ }, function() {
160
+ e.props.onEntering(l, d), e.onTransitionEnd(y, function() {
161
+ e.safeSetState({
162
+ status: D
163
+ }, function() {
164
+ e.props.onEntered(l, d);
165
+ });
166
+ });
167
+ });
168
+ }, a.performExit = function() {
169
+ var n = this, e = this.props.exit, o = this.getTimeouts(), p = this.props.nodeRef ? void 0 : I.findDOMNode(this);
170
+ if (!e || G.disabled) {
171
+ this.safeSetState({
172
+ status: S
173
+ }, function() {
174
+ n.props.onExited(p);
175
+ });
176
+ return;
177
+ }
178
+ this.props.onExit(p), this.safeSetState({
179
+ status: q
180
+ }, function() {
181
+ n.props.onExiting(p), n.onTransitionEnd(o.exit, function() {
182
+ n.safeSetState({
183
+ status: S
184
+ }, function() {
185
+ n.props.onExited(p);
186
+ });
187
+ });
188
+ });
189
+ }, a.cancelNextCallback = function() {
190
+ this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
191
+ }, a.safeSetState = function(n, e) {
192
+ e = this.setNextCallback(e), this.setState(n, e);
193
+ }, a.setNextCallback = function(n) {
194
+ var e = this, o = !0;
195
+ return this.nextCallback = function(p) {
196
+ o && (o = !1, e.nextCallback = null, n(p));
197
+ }, this.nextCallback.cancel = function() {
198
+ o = !1;
199
+ }, this.nextCallback;
200
+ }, a.onTransitionEnd = function(n, e) {
201
+ this.setNextCallback(e);
202
+ var o = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this), p = n == null && !this.props.addEndListener;
203
+ if (!o || p) {
204
+ setTimeout(this.nextCallback, 0);
205
+ return;
206
+ }
207
+ if (this.props.addEndListener) {
208
+ var u = this.props.nodeRef ? [this.nextCallback] : [o, this.nextCallback], l = u[0], d = u[1];
209
+ this.props.addEndListener(l, d);
210
+ }
211
+ n != null && setTimeout(this.nextCallback, n);
212
+ }, a.render = function() {
213
+ var n = this.state.status;
214
+ if (n === M)
215
+ return null;
216
+ var e = this.props, o = e.children;
217
+ 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;
218
+ var p = ct(e, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
219
+ return (
220
+ // allows for nested Transitions
221
+ /* @__PURE__ */ F.createElement($.Provider, {
222
+ value: null
223
+ }, typeof o == "function" ? o(n, p) : F.cloneElement(F.Children.only(o), p))
224
+ );
225
+ }, s;
226
+ }(F.Component);
227
+ x.contextType = $;
228
+ x.propTypes = process.env.NODE_ENV !== "production" ? {
229
+ /**
230
+ * A React reference to DOM element that need to transition:
231
+ * https://stackoverflow.com/a/51127130/4671932
232
+ *
233
+ * - When `nodeRef` prop is used, `node` is not passed to callback functions
234
+ * (e.g. `onEnter`) because user already has direct access to the node.
235
+ * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
236
+ * `nodeRef` need to be provided to `Transition` with changed `key` prop
237
+ * (see
238
+ * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
239
+ */
240
+ nodeRef: t.shape({
241
+ current: typeof Element > "u" ? t.any : function(r, s, a, i, n, e) {
242
+ var o = r[s];
243
+ return t.instanceOf(o && "ownerDocument" in o ? o.ownerDocument.defaultView.Element : Element)(r, s, a, i, n, e);
244
+ }
245
+ }),
246
+ /**
247
+ * A `function` child can be used instead of a React element. This function is
248
+ * called with the current transition status (`'entering'`, `'entered'`,
249
+ * `'exiting'`, `'exited'`), which can be used to apply context
250
+ * specific props to a component.
251
+ *
252
+ * ```jsx
253
+ * <Transition in={this.state.in} timeout={150}>
254
+ * {state => (
255
+ * <MyComponent className={`fade fade-${state}`} />
256
+ * )}
257
+ * </Transition>
258
+ * ```
259
+ */
260
+ children: t.oneOfType([t.func.isRequired, t.element.isRequired]).isRequired,
261
+ /**
262
+ * Show the component; triggers the enter or exit states
263
+ */
264
+ in: t.bool,
265
+ /**
266
+ * By default the child component is mounted immediately along with
267
+ * the parent `Transition` component. If you want to "lazy mount" the component on the
268
+ * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
269
+ * mounted, even on "exited", unless you also specify `unmountOnExit`.
270
+ */
271
+ mountOnEnter: t.bool,
272
+ /**
273
+ * By default the child component stays mounted after it reaches the `'exited'` state.
274
+ * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
275
+ */
276
+ unmountOnExit: t.bool,
277
+ /**
278
+ * By default the child component does not perform the enter transition when
279
+ * it first mounts, regardless of the value of `in`. If you want this
280
+ * behavior, set both `appear` and `in` to `true`.
281
+ *
282
+ * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
283
+ * > only adds an additional enter transition. However, in the
284
+ * > `<CSSTransition>` component that first enter transition does result in
285
+ * > additional `.appear-*` classes, that way you can choose to style it
286
+ * > differently.
287
+ */
288
+ appear: t.bool,
289
+ /**
290
+ * Enable or disable enter transitions.
291
+ */
292
+ enter: t.bool,
293
+ /**
294
+ * Enable or disable exit transitions.
295
+ */
296
+ exit: t.bool,
297
+ /**
298
+ * The duration of the transition, in milliseconds.
299
+ * Required unless `addEndListener` is provided.
300
+ *
301
+ * You may specify a single timeout for all transitions:
302
+ *
303
+ * ```jsx
304
+ * timeout={500}
305
+ * ```
306
+ *
307
+ * or individually:
308
+ *
309
+ * ```jsx
310
+ * timeout={{
311
+ * appear: 500,
312
+ * enter: 300,
313
+ * exit: 500,
314
+ * }}
315
+ * ```
316
+ *
317
+ * - `appear` defaults to the value of `enter`
318
+ * - `enter` defaults to `0`
319
+ * - `exit` defaults to `0`
320
+ *
321
+ * @type {number | { enter?: number, exit?: number, appear?: number }}
322
+ */
323
+ timeout: function(s) {
324
+ var a = ft;
325
+ s.addEndListener || (a = a.isRequired);
326
+ for (var i = arguments.length, n = new Array(i > 1 ? i - 1 : 0), e = 1; e < i; e++)
327
+ n[e - 1] = arguments[e];
328
+ return a.apply(void 0, [s].concat(n));
329
+ },
330
+ /**
331
+ * Add a custom transition end trigger. Called with the transitioning
332
+ * DOM node and a `done` callback. Allows for more fine grained transition end
333
+ * logic. Timeouts are still used as a fallback if provided.
334
+ *
335
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
336
+ *
337
+ * ```jsx
338
+ * addEndListener={(node, done) => {
339
+ * // use the css transitionend event to mark the finish of a transition
340
+ * node.addEventListener('transitionend', done, false);
341
+ * }}
342
+ * ```
343
+ */
344
+ addEndListener: t.func,
345
+ /**
346
+ * Callback fired before the "entering" status is applied. An extra parameter
347
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
348
+ *
349
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
350
+ *
351
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
352
+ */
353
+ onEnter: t.func,
354
+ /**
355
+ * Callback fired after the "entering" status is applied. An extra parameter
356
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
357
+ *
358
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
359
+ *
360
+ * @type Function(node: HtmlElement, isAppearing: bool)
361
+ */
362
+ onEntering: t.func,
363
+ /**
364
+ * Callback fired after the "entered" status is applied. An extra parameter
365
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
366
+ *
367
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
368
+ *
369
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
370
+ */
371
+ onEntered: t.func,
372
+ /**
373
+ * Callback fired before the "exiting" status is applied.
374
+ *
375
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
376
+ *
377
+ * @type Function(node: HtmlElement) -> void
378
+ */
379
+ onExit: t.func,
380
+ /**
381
+ * Callback fired after the "exiting" status is applied.
382
+ *
383
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
384
+ *
385
+ * @type Function(node: HtmlElement) -> void
386
+ */
387
+ onExiting: t.func,
388
+ /**
389
+ * Callback fired after the "exited" status is applied.
390
+ *
391
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
392
+ *
393
+ * @type Function(node: HtmlElement) -> void
394
+ */
395
+ onExited: t.func
396
+ } : {};
397
+ function P() {
398
+ }
399
+ x.defaultProps = {
400
+ in: !1,
401
+ mountOnEnter: !1,
402
+ unmountOnExit: !1,
403
+ appear: !1,
404
+ enter: !0,
405
+ exit: !0,
406
+ onEnter: P,
407
+ onEntering: P,
408
+ onEntered: P,
409
+ onExit: P,
410
+ onExiting: P,
411
+ onExited: P
412
+ };
413
+ x.UNMOUNTED = M;
414
+ x.EXITED = S;
415
+ x.ENTERING = R;
416
+ x.ENTERED = D;
417
+ x.EXITING = q;
418
+ const Et = (r) => r.scrollTop;
419
+ function V(r, s) {
420
+ const {
421
+ timeout: a,
422
+ easing: i,
423
+ style: n = {}
424
+ } = r;
425
+ return {
426
+ duration: n.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
427
+ easing: n.transitionTimingFunction ?? (typeof i == "object" ? i[s.mode] : i),
428
+ delay: n.transitionDelay
429
+ };
430
+ }
431
+ const ht = {
432
+ entering: {
433
+ opacity: 1
434
+ },
435
+ entered: {
436
+ opacity: 1
437
+ }
438
+ }, J = /* @__PURE__ */ j.forwardRef(function(s, a) {
439
+ const i = rt(), n = {
440
+ enter: i.transitions.duration.enteringScreen,
441
+ exit: i.transitions.duration.leavingScreen
442
+ }, {
443
+ addEndListener: e,
444
+ appear: o = !0,
445
+ children: p,
446
+ easing: u,
447
+ in: l,
448
+ onEnter: d,
449
+ onEntered: v,
450
+ onEntering: y,
451
+ onExit: T,
452
+ onExited: b,
453
+ onExiting: C,
454
+ style: m,
455
+ timeout: g = n,
456
+ // eslint-disable-next-line react/prop-types
457
+ TransitionComponent: k = x,
458
+ ...O
459
+ } = s, E = j.useRef(null), N = X(E, dt(p), a), f = (c) => (h) => {
460
+ if (c) {
461
+ const L = E.current;
462
+ h === void 0 ? c(L) : c(L, h);
463
+ }
464
+ }, w = f(y), U = f((c, h) => {
465
+ Et(c);
466
+ const L = V({
467
+ style: m,
468
+ timeout: g,
469
+ easing: u
470
+ }, {
471
+ mode: "enter"
472
+ });
473
+ c.style.webkitTransition = i.transitions.create("opacity", L), c.style.transition = i.transitions.create("opacity", L), d && d(c, h);
474
+ }), _ = f(v), K = f(C), Q = f((c) => {
475
+ const h = V({
476
+ style: m,
477
+ timeout: g,
478
+ easing: u
479
+ }, {
480
+ mode: "exit"
481
+ });
482
+ c.style.webkitTransition = i.transitions.create("opacity", h), c.style.transition = i.transitions.create("opacity", h), T && T(c);
483
+ }), Y = f(b);
484
+ return /* @__PURE__ */ B(k, {
485
+ appear: o,
486
+ in: l,
487
+ nodeRef: E,
488
+ onEnter: U,
489
+ onEntered: _,
490
+ onEntering: w,
491
+ onExit: Q,
492
+ onExited: Y,
493
+ onExiting: K,
494
+ addEndListener: (c) => {
495
+ e && e(E.current, c);
496
+ },
497
+ timeout: g,
498
+ ...O,
499
+ children: (c, h) => /* @__PURE__ */ j.cloneElement(p, {
500
+ style: {
501
+ opacity: 0,
502
+ visibility: c === "exited" && !l ? "hidden" : void 0,
503
+ ...ht[c],
504
+ ...m,
505
+ ...p.props.style
506
+ },
507
+ ref: N,
508
+ ...h
509
+ })
510
+ });
511
+ });
512
+ process.env.NODE_ENV !== "production" && (J.propTypes = {
513
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
514
+ // │ These PropTypes are generated from the TypeScript type definitions. │
515
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
516
+ // └─────────────────────────────────────────────────────────────────────┘
517
+ /**
518
+ * Add a custom transition end trigger. Called with the transitioning DOM
519
+ * node and a done callback. Allows for more fine grained transition end
520
+ * logic. Note: Timeouts are still used as a fallback if provided.
521
+ */
522
+ addEndListener: t.func,
523
+ /**
524
+ * Perform the enter transition when it first mounts if `in` is also `true`.
525
+ * Set this to `false` to disable this behavior.
526
+ * @default true
527
+ */
528
+ appear: t.bool,
529
+ /**
530
+ * A single child content element.
531
+ */
532
+ children: z.isRequired,
533
+ /**
534
+ * The transition timing function.
535
+ * You may specify a single easing or a object containing enter and exit values.
536
+ */
537
+ easing: t.oneOfType([t.shape({
538
+ enter: t.string,
539
+ exit: t.string
540
+ }), t.string]),
541
+ /**
542
+ * If `true`, the component will transition in.
543
+ */
544
+ in: t.bool,
545
+ /**
546
+ * @ignore
547
+ */
548
+ onEnter: t.func,
549
+ /**
550
+ * @ignore
551
+ */
552
+ onEntered: t.func,
553
+ /**
554
+ * @ignore
555
+ */
556
+ onEntering: t.func,
557
+ /**
558
+ * @ignore
559
+ */
560
+ onExit: t.func,
561
+ /**
562
+ * @ignore
563
+ */
564
+ onExited: t.func,
565
+ /**
566
+ * @ignore
567
+ */
568
+ onExiting: t.func,
569
+ /**
570
+ * @ignore
571
+ */
572
+ style: t.object,
573
+ /**
574
+ * The duration for the transition, in milliseconds.
575
+ * You may specify a single timeout for all transitions, or individually with an object.
576
+ * @default {
577
+ * enter: theme.transitions.duration.enteringScreen,
578
+ * exit: theme.transitions.duration.leavingScreen,
579
+ * }
580
+ */
581
+ timeout: t.oneOfType([t.number, t.shape({
582
+ appear: t.number,
583
+ enter: t.number,
584
+ exit: t.number
585
+ })])
586
+ });
587
+ function xt(r) {
588
+ return Z("MuiBackdrop", r);
589
+ }
590
+ const Lt = tt("MuiBackdrop", ["root", "invisible"]), vt = (r) => {
591
+ const {
592
+ ownerState: s,
593
+ ...a
594
+ } = r;
595
+ return a;
596
+ }, bt = (r) => {
597
+ const {
598
+ classes: s,
599
+ invisible: a
600
+ } = r;
601
+ return pt({
602
+ root: ["root", a && "invisible"]
603
+ }, xt, s);
604
+ }, gt = st("div", {
605
+ name: "MuiBackdrop",
606
+ slot: "Root",
607
+ overridesResolver: (r, s) => {
608
+ const {
609
+ ownerState: a
610
+ } = r;
611
+ return [s.root, a.invisible && s.invisible];
612
+ }
613
+ })({
614
+ position: "fixed",
615
+ display: "flex",
616
+ alignItems: "center",
617
+ justifyContent: "center",
618
+ right: 0,
619
+ bottom: 0,
620
+ top: 0,
621
+ left: 0,
622
+ backgroundColor: "rgba(0, 0, 0, 0.5)",
623
+ WebkitTapHighlightColor: "transparent",
624
+ variants: [{
625
+ props: {
626
+ invisible: !0
627
+ },
628
+ style: {
629
+ backgroundColor: "transparent"
630
+ }
631
+ }]
632
+ }), yt = /* @__PURE__ */ j.forwardRef(function(s, a) {
633
+ const i = at({
634
+ props: s,
635
+ name: "MuiBackdrop"
636
+ }), {
637
+ children: n,
638
+ className: e,
639
+ component: o = "div",
640
+ invisible: p = !1,
641
+ open: u,
642
+ components: l = {},
643
+ componentsProps: d = {},
644
+ slotProps: v = {},
645
+ slots: y = {},
646
+ TransitionComponent: T,
647
+ transitionDuration: b,
648
+ ...C
649
+ } = i, m = {
650
+ ...i,
651
+ component: o,
652
+ invisible: p
653
+ }, g = bt(m), k = {
654
+ transition: T,
655
+ root: l.Root,
656
+ ...y
657
+ }, O = {
658
+ ...d,
659
+ ...v
660
+ }, E = {
661
+ slots: k,
662
+ slotProps: O
663
+ }, [N, f] = A("root", {
664
+ elementType: gt,
665
+ externalForwardedProps: E,
666
+ className: et(g.root, e),
667
+ ownerState: m
668
+ }), [w, U] = A("transition", {
669
+ elementType: J,
670
+ externalForwardedProps: E,
671
+ ownerState: m
672
+ }), _ = vt(U);
673
+ return /* @__PURE__ */ B(w, {
674
+ in: u,
675
+ timeout: b,
676
+ ...C,
677
+ ..._,
678
+ children: /* @__PURE__ */ B(N, {
679
+ "aria-hidden": !0,
680
+ ...f,
681
+ classes: g,
682
+ ref: a,
683
+ children: n
684
+ })
685
+ });
686
+ });
687
+ process.env.NODE_ENV !== "production" && (yt.propTypes = {
688
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
689
+ // │ These PropTypes are generated from the TypeScript type definitions. │
690
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
691
+ // └─────────────────────────────────────────────────────────────────────┘
692
+ /**
693
+ * The content of the component.
694
+ */
695
+ children: t.node,
696
+ /**
697
+ * Override or extend the styles applied to the component.
698
+ */
699
+ classes: t.object,
700
+ /**
701
+ * @ignore
702
+ */
703
+ className: t.string,
704
+ /**
705
+ * The component used for the root node.
706
+ * Either a string to use a HTML element or a component.
707
+ */
708
+ component: t.elementType,
709
+ /**
710
+ * The components used for each slot inside.
711
+ *
712
+ * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
713
+ *
714
+ * @default {}
715
+ */
716
+ components: t.shape({
717
+ Root: t.elementType
718
+ }),
719
+ /**
720
+ * The extra props for the slot components.
721
+ * You can override the existing props or add new ones.
722
+ *
723
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
724
+ *
725
+ * @default {}
726
+ */
727
+ componentsProps: t.shape({
728
+ root: t.object
729
+ }),
730
+ /**
731
+ * If `true`, the backdrop is invisible.
732
+ * It can be used when rendering a popover or a custom select component.
733
+ * @default false
734
+ */
735
+ invisible: t.bool,
736
+ /**
737
+ * If `true`, the component is shown.
738
+ */
739
+ open: t.bool.isRequired,
740
+ /**
741
+ * The props used for each slot inside.
742
+ * @default {}
743
+ */
744
+ slotProps: t.shape({
745
+ root: t.oneOfType([t.func, t.object]),
746
+ transition: t.oneOfType([t.func, t.object])
747
+ }),
748
+ /**
749
+ * The components used for each slot inside.
750
+ * @default {}
751
+ */
752
+ slots: t.shape({
753
+ root: t.elementType,
754
+ transition: t.elementType
755
+ }),
756
+ /**
757
+ * The system prop that allows defining system overrides as well as additional CSS styles.
758
+ */
759
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
760
+ /**
761
+ * The component used for the transition.
762
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
763
+ * @default Fade
764
+ */
765
+ TransitionComponent: t.elementType,
766
+ /**
767
+ * The duration for the transition, in milliseconds.
768
+ * You may specify a single timeout for all transitions, or individually with an object.
769
+ */
770
+ transitionDuration: t.oneOfType([t.number, t.shape({
771
+ appear: t.number,
772
+ enter: t.number,
773
+ exit: t.number
774
+ })])
775
+ });
776
+ export {
777
+ yt as B,
778
+ J as F,
779
+ x as T,
780
+ dt as a,
781
+ Lt as b,
782
+ V as c,
783
+ wt as d,
784
+ z as e,
785
+ mt as f,
786
+ xt as g,
787
+ Et as r,
788
+ A as u
789
+ };