@cgi-learning-hub/ui 1.3.2 → 1.3.3-dev.1732123246

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (275) hide show
  1. package/dist/Backdrop-DorR8O-b.js +359 -0
  2. package/dist/Backdrop-cE8nccLi.cjs +1 -0
  3. package/dist/{Box-a6v7fn61.js → Box-BTNw-FYi.js} +8 -8
  4. package/dist/{Box-D61CmHcZ.cjs → Box-Y_dUbq3W.cjs} +1 -1
  5. package/dist/{Button-B8Vr_qVd.js → Button--paERYBc.js} +4 -4
  6. package/dist/{Button-elp97nQ8.cjs → Button-TBA8S65S.cjs} +1 -1
  7. package/dist/{ButtonBase-Y5TK5SRu.js → ButtonBase-B0gJT_ti.js} +228 -236
  8. package/dist/ButtonBase-DKxpvXo7.cjs +74 -0
  9. package/dist/Card-BVJgnURR.js +74 -0
  10. package/dist/Card-DBGYwd3H.cjs +1 -0
  11. package/dist/Checkbox-OTMaikud.cjs +1 -0
  12. package/dist/Checkbox-aBoDjdQG.js +241 -0
  13. package/dist/{CircularProgress-DU3DJQfF.js → CircularProgress-CIqTwP6H.js} +4 -4
  14. package/dist/{CircularProgress-DDIZxeFH.cjs → CircularProgress-DjNvPtUm.cjs} +7 -7
  15. package/dist/DatePicker-DGRD-CdO.cjs +14 -0
  16. package/dist/DatePicker-DXgVCuAd.js +10814 -0
  17. package/dist/{DefaultPropsProvider-7QnSWHxy.js → DefaultPropsProvider-StV_SUuk.js} +25 -25
  18. package/dist/{DefaultPropsProvider-eEVEiLDf.cjs → DefaultPropsProvider-eVMpAUQg.cjs} +1 -1
  19. package/dist/DialogContent-C0L4r0-p.cjs +1 -0
  20. package/dist/DialogContent-CP2NOfUr.js +602 -0
  21. package/dist/DialogTitle-Couh2TzJ.js +134 -0
  22. package/dist/DialogTitle-DemSKN6H.cjs +1 -0
  23. package/dist/FormGroup-CcM69JIS.js +348 -0
  24. package/dist/FormGroup-KOLND6rE.cjs +1 -0
  25. package/dist/FormLabel-C506NT5o.cjs +2 -0
  26. package/dist/FormLabel-wDh-AEMQ.js +417 -0
  27. package/dist/Grow-4QU1bnXQ.js +193 -0
  28. package/dist/Grow-C_nN9VuE.cjs +1 -0
  29. package/dist/IconButton-5LMERRPL.cjs +2 -0
  30. package/dist/{IconButton-C7H_G1LX.js → IconButton-CsqR1453.js} +5 -5
  31. package/dist/InputAdornment-DgT008NI.cjs +1 -0
  32. package/dist/{InputAdornment-CPJFY_m_.js → InputAdornment-bXTpzNQ2.js} +5 -5
  33. package/dist/InputBase-Cpx39cny.cjs +3 -0
  34. package/dist/{InputBase-5GB2c2J6.js → InputBase-VKt_ajuq.js} +185 -207
  35. package/dist/Link-6UH3Aljp.cjs +1 -0
  36. package/dist/Link-CPyeYGpa.js +266 -0
  37. package/dist/MenuItem-BFkBwBkN.js +277 -0
  38. package/dist/MenuItem-BxXCEc8h.cjs +1 -0
  39. package/dist/Modal-BDx2_UzP.js +750 -0
  40. package/dist/Modal-BLMnkdGb.cjs +2 -0
  41. package/dist/Paper-CMUbp6SX.js +185 -0
  42. package/dist/Paper-n4KgM09K.cjs +2 -0
  43. package/dist/Popper-D_UryU8v.js +1407 -0
  44. package/dist/Popper-DzQZEFYT.cjs +4 -0
  45. package/dist/Portal-C4QgaMKl.cjs +1 -0
  46. package/dist/Portal-DVy9JFBN.js +86 -0
  47. package/dist/Select-CcnCBhBN.js +3555 -0
  48. package/dist/Select-CnFa2_je.cjs +9 -0
  49. package/dist/{Stack-CutIWKkG.js → Stack-CKjrTRJB.js} +12 -12
  50. package/dist/{Stack-656bqKiW.cjs → Stack-elRjtOGk.cjs} +1 -1
  51. package/dist/SwitchBase-DWfUIgEW.cjs +1 -0
  52. package/dist/SwitchBase-DYa1wGSu.js +261 -0
  53. package/dist/{Tooltip-DqLAZimE.js → TableSortLabel-Czgy_sW5.js} +2998 -5191
  54. package/dist/TableSortLabel-Ppl9Q-SZ.cjs +98 -0
  55. package/dist/Tabs-CUpcnsPl.cjs +4 -0
  56. package/dist/{Tabs-CKic46Op.js → Tabs-RxcUgknI.js} +284 -282
  57. package/dist/TextField-DorMAtUh.js +547 -0
  58. package/dist/TextField-DvGLmvG1.cjs +1 -0
  59. package/dist/Tooltip-B4e9QdHI.js +697 -0
  60. package/dist/Tooltip-CPAH20AZ.cjs +4 -0
  61. package/dist/{Typography-DsJC595c.js → Typography-B29dnCv3.js} +4 -4
  62. package/dist/{Typography-CreZW2v6.cjs → Typography-DyMSnhvs.cjs} +1 -1
  63. package/dist/assets/styles.css +1 -1
  64. package/dist/assets/styles2.css +1 -1
  65. package/dist/chainPropTypes-CEUi6Jb4.cjs +1 -0
  66. package/dist/chainPropTypes-D9lkm76m.js +8 -0
  67. package/dist/components/Button/Button.cjs.js +1 -1
  68. package/dist/components/Button/Button.es.js +6 -6
  69. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  70. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  71. package/dist/components/DatePicker/index.cjs.js +1 -1
  72. package/dist/components/DatePicker/index.es.js +1 -1
  73. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  74. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  75. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  76. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  77. package/dist/components/FileList/FileList.cjs.js +1 -1
  78. package/dist/components/FileList/FileList.es.js +1 -1
  79. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  80. package/dist/components/FileList/FileListItem.es.js +6 -6
  81. package/dist/components/Heading/Heading.cjs.js +1 -1
  82. package/dist/components/Heading/Heading.es.js +2 -2
  83. package/dist/components/Loader/Loader.cjs.js +1 -1
  84. package/dist/components/Loader/Loader.es.js +2 -2
  85. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  86. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +3 -3
  87. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  88. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  89. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  90. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  91. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  92. package/dist/components/TextInput/TextInput.es.js +1 -1
  93. package/dist/components/index.cjs.js +1 -1
  94. package/dist/components/index.es.js +280 -269
  95. package/dist/components/stories/Alert.stories.cjs.js +1 -0
  96. package/dist/components/stories/Alert.stories.d.ts +9 -0
  97. package/dist/components/stories/Alert.stories.es.js +32 -0
  98. package/dist/components/stories/Button.stories.cjs.js +1 -0
  99. package/dist/components/stories/Button.stories.d.ts +8 -0
  100. package/dist/components/stories/Button.stories.es.js +43 -0
  101. package/dist/components/stories/Card.stories.cjs.js +1 -0
  102. package/dist/components/stories/Card.stories.d.ts +7 -0
  103. package/dist/components/stories/Card.stories.es.js +193 -0
  104. package/dist/components/stories/Checkbox.stories.cjs.js +1 -0
  105. package/dist/components/stories/Checkbox.stories.d.ts +10 -0
  106. package/dist/components/stories/Checkbox.stories.es.js +28 -0
  107. package/dist/components/stories/DatePicker.stories.cjs.js +1 -0
  108. package/dist/components/stories/DatePicker.stories.d.ts +6 -0
  109. package/dist/components/stories/DatePicker.stories.es.js +13 -0
  110. package/dist/components/stories/Dialog.stories.cjs.js +1 -0
  111. package/dist/components/stories/Dialog.stories.d.ts +7 -0
  112. package/dist/components/stories/Dialog.stories.es.js +33 -0
  113. package/dist/components/stories/Dropzone.stories.cjs.js +1 -0
  114. package/dist/components/stories/Dropzone.stories.d.ts +6 -0
  115. package/dist/components/stories/Dropzone.stories.es.js +14 -0
  116. package/dist/components/stories/EmptyState.stories.cjs.js +1 -0
  117. package/dist/components/stories/EmptyState.stories.d.ts +6 -0
  118. package/dist/components/stories/EmptyState.stories.es.js +14 -0
  119. package/dist/components/stories/FileList.stories.cjs.js +1 -0
  120. package/dist/components/stories/FileList.stories.d.ts +6 -0
  121. package/dist/components/stories/FileList.stories.es.js +26 -0
  122. package/dist/components/stories/Heading.stories.cjs.js +1 -0
  123. package/dist/components/stories/Heading.stories.d.ts +6 -0
  124. package/dist/components/stories/Heading.stories.es.js +20 -0
  125. package/dist/components/stories/IconButton.stories.cjs.js +1 -0
  126. package/dist/components/stories/IconButton.stories.d.ts +6 -0
  127. package/dist/components/{IconButton.stories.es.js → stories/IconButton.stories.es.js} +12 -14
  128. package/dist/components/stories/Link.stories.cjs.js +1 -0
  129. package/dist/components/stories/Link.stories.d.ts +7 -0
  130. package/dist/components/stories/Link.stories.es.js +43 -0
  131. package/dist/components/stories/Loader.stories.cjs.js +1 -0
  132. package/dist/components/stories/Loader.stories.d.ts +6 -0
  133. package/dist/components/stories/Loader.stories.es.js +11 -0
  134. package/dist/components/stories/LoaderBackdrop.stories.cjs.js +1 -0
  135. package/dist/components/stories/LoaderBackdrop.stories.d.ts +6 -0
  136. package/dist/components/stories/LoaderBackdrop.stories.es.js +11 -0
  137. package/dist/components/stories/Paper.stories.cjs.js +1 -0
  138. package/dist/components/stories/Paper.stories.d.ts +7 -0
  139. package/dist/components/stories/Paper.stories.es.js +28 -0
  140. package/dist/components/stories/PasswordInput.stories.cjs.js +1 -0
  141. package/dist/components/stories/PasswordInput.stories.d.ts +6 -0
  142. package/dist/components/stories/PasswordInput.stories.es.js +13 -0
  143. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -0
  144. package/dist/components/stories/RadioGroup.stories.d.ts +8 -0
  145. package/dist/components/stories/RadioGroup.stories.es.js +435 -0
  146. package/dist/components/stories/SearchInput.stories.cjs.js +1 -0
  147. package/dist/components/stories/SearchInput.stories.d.ts +6 -0
  148. package/dist/components/stories/SearchInput.stories.es.js +13 -0
  149. package/dist/components/stories/Select.stories.cjs.js +1 -0
  150. package/dist/components/stories/Select.stories.d.ts +10 -0
  151. package/dist/components/stories/Select.stories.es.js +52 -0
  152. package/dist/components/stories/TabList.stories.cjs.js +1 -0
  153. package/dist/components/stories/TabList.stories.d.ts +7 -0
  154. package/dist/components/{TabList.stories.es.js → stories/TabList.stories.es.js} +45 -52
  155. package/dist/components/stories/TextField.stories.cjs.js +1 -0
  156. package/dist/components/stories/TextField.stories.d.ts +10 -0
  157. package/dist/components/stories/TextField.stories.es.js +69 -0
  158. package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
  159. package/dist/components/stories/Tooltip.stories.d.ts +7 -0
  160. package/dist/components/stories/Tooltip.stories.es.js +46 -0
  161. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  162. package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
  163. package/dist/{createSvgIcon-PXjVOXDY.cjs → createSvgIcon-DQqazotA.cjs} +1 -1
  164. package/dist/{createSvgIcon-Ae1vF9Lv.js → createSvgIcon-VByplk-r.js} +3 -3
  165. package/dist/debounce-46wSf_lW.js +15 -0
  166. package/dist/debounce-DpCj7ugL.cjs +1 -0
  167. package/dist/elementTypeAcceptingRef-BPhL72td.js +23 -0
  168. package/dist/elementTypeAcceptingRef-DiSL8-Ea.cjs +1 -0
  169. package/dist/{extendSxProp-BzTGWWcy.js → extendSxProp-BYB-kybW.js} +1 -1
  170. package/dist/{extendSxProp-DLhbnNxc.cjs → extendSxProp-BZ8P8fbI.cjs} +1 -1
  171. package/dist/formControlState-DCkDUdfO.cjs +1 -0
  172. package/dist/formControlState-DdQP43Uo.js +21 -0
  173. package/dist/{fr-B0c4Eu-I.js → fr-B4aeA9th.js} +23 -23
  174. package/dist/{fr-BtINyNRC.cjs → fr-CSCQhSqi.cjs} +1 -1
  175. package/dist/{identifier-Bu3vgTzE.js → identifier-BewKgEhI.js} +487 -486
  176. package/dist/{identifier-B_IiMbpZ.cjs → identifier-DTh6b5Gz.cjs} +17 -17
  177. package/dist/{index-D4YvqRSh.js → index-BAjSgP8k.js} +3 -3
  178. package/dist/{index-BDy6VH40.cjs → index-B_acx8gh.cjs} +1 -1
  179. package/dist/{index-DNmEgr4X.js → index-_oi9ph20.js} +4 -4
  180. package/dist/index-oINGa1MV.cjs +1 -0
  181. package/dist/index.cjs.js +1 -1
  182. package/dist/index.es.js +280 -269
  183. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  184. package/dist/isFocusVisible-DlSijby6.cjs +2 -0
  185. package/dist/{memoTheme-C4_nd-x4.js → memoTheme-B9kDhX1-.js} +1 -1
  186. package/dist/{memoTheme-DvW891YJ.cjs → memoTheme-DJBS0nbO.cjs} +1 -1
  187. package/dist/ownerDocument-4MViGo3k.cjs +1 -0
  188. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  189. package/dist/ownerWindow-DDHucZi0.cjs +1 -0
  190. package/dist/ownerWindow-niciwP7I.js +7 -0
  191. package/dist/refType-3o3c-kYx.js +7 -0
  192. package/dist/refType-DNB-r0Bp.cjs +1 -0
  193. package/dist/{useTheme-B_3HWqyi.js → resolveComponentProps-BQQ-uUKZ.js} +18 -26
  194. package/dist/resolveComponentProps-R_l8gy3y.cjs +1 -0
  195. package/dist/useControlled-BYdyS7Pn.js +31 -0
  196. package/dist/useControlled-Ysk4KqoX.cjs +3 -0
  197. package/dist/useForkRef-CTI33h-3.cjs +1 -0
  198. package/dist/useForkRef-C_4o__cU.js +15 -0
  199. package/dist/useFormControl-CatNKXAi.js +10 -0
  200. package/dist/useFormControl-haP0iPhl.cjs +1 -0
  201. package/dist/useSlot-B2hCpx8C.js +50 -0
  202. package/dist/useSlot-i7AZwCRV.cjs +1 -0
  203. package/dist/useTheme-0u9_WhjM.js +11 -0
  204. package/dist/{useTheme-DhYab2-0.js → useTheme-BrFhq4dW.js} +1 -1
  205. package/dist/useTheme-DfN3sBzg.cjs +1 -0
  206. package/dist/{useTheme-vN32oV1t.cjs → useTheme-w4BoR6ol.cjs} +1 -1
  207. package/dist/{useThemeProps-5hp2m3Xl.cjs → useThemeProps-BoO3MMZc.cjs} +1 -1
  208. package/dist/{useThemeProps-D_gKWuk1.cjs → useThemeProps-CkGODfms.cjs} +1 -1
  209. package/dist/{useThemeProps-Bmkt_XOR.js → useThemeProps-CwWORfXn.js} +4 -4
  210. package/dist/{useThemeProps-DftpgVZ0.js → useThemeProps-cERu5xHk.js} +3 -3
  211. package/dist/{useTimeout-Bx22KOcH.js → useTimeout-Br8oWWYt.js} +4 -4
  212. package/dist/{useTimeout-gEG15bRo.cjs → useTimeout-DnTtyB2y.cjs} +1 -1
  213. package/dist/utils-CH0HZgJe.js +391 -0
  214. package/dist/utils-D2bhwE7x.cjs +1 -0
  215. package/package.json +1 -1
  216. package/dist/Backdrop-CxHwPsCX.js +0 -789
  217. package/dist/Backdrop-ZCTs-Ws8.cjs +0 -1
  218. package/dist/ButtonBase-S0mFlojL.cjs +0 -75
  219. package/dist/DatePicker-BigDV0IN.cjs +0 -17
  220. package/dist/DatePicker-ZdjLD9eR.js +0 -12779
  221. package/dist/IconButton-DfmbM9nO.cjs +0 -2
  222. package/dist/InputAdornment-C-EbfNtT.cjs +0 -1
  223. package/dist/InputBase-CPtGhJye.cjs +0 -3
  224. package/dist/Tabs-DzrxYlm-.cjs +0 -4
  225. package/dist/TextField-BLEvZwPH.cjs +0 -14
  226. package/dist/TextField-CGMPbx_J.js +0 -5686
  227. package/dist/Tooltip-BJefPCe7.cjs +0 -100
  228. package/dist/components/Alert/Alert.stories.cjs.js +0 -1
  229. package/dist/components/Alert/Alert.stories.d.ts +0 -4
  230. package/dist/components/Alert/Alert.stories.es.js +0 -17
  231. package/dist/components/Button/Button.stories.cjs.js +0 -1
  232. package/dist/components/Button/Button.stories.d.ts +0 -6
  233. package/dist/components/Button/Button.stories.es.js +0 -45
  234. package/dist/components/DatePicker/DatePicker.stories.cjs.js +0 -1
  235. package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -4
  236. package/dist/components/DatePicker/DatePicker.stories.es.js +0 -16
  237. package/dist/components/Dropzone/Dropzone.stories.cjs.js +0 -1
  238. package/dist/components/Dropzone/Dropzone.stories.d.ts +0 -4
  239. package/dist/components/Dropzone/Dropzone.stories.es.js +0 -17
  240. package/dist/components/EmptyState/EmptyState.stories.cjs.js +0 -1
  241. package/dist/components/EmptyState/EmptyState.stories.d.ts +0 -4
  242. package/dist/components/EmptyState/EmptyState.stories.es.js +0 -17
  243. package/dist/components/FileList/FileList.stories.cjs.js +0 -1
  244. package/dist/components/FileList/FileList.stories.d.ts +0 -4
  245. package/dist/components/FileList/FileList.stories.es.js +0 -28
  246. package/dist/components/Heading/Heading.stories.cjs.js +0 -1
  247. package/dist/components/Heading/Heading.stories.d.ts +0 -4
  248. package/dist/components/Heading/Heading.stories.es.js +0 -22
  249. package/dist/components/IconButton.stories.cjs.js +0 -1
  250. package/dist/components/IconButton.stories.d.ts +0 -4
  251. package/dist/components/Loader/Loader.stories.cjs.js +0 -1
  252. package/dist/components/Loader/Loader.stories.d.ts +0 -4
  253. package/dist/components/Loader/Loader.stories.es.js +0 -14
  254. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.cjs.js +0 -1
  255. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.d.ts +0 -4
  256. package/dist/components/LoaderBackdrop/LoaderBackdrop.stories.es.js +0 -14
  257. package/dist/components/PasswordInput/PasswordInput.stories.cjs.js +0 -1
  258. package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -4
  259. package/dist/components/PasswordInput/PasswordInput.stories.es.js +0 -16
  260. package/dist/components/SearchInput/SearchInput.stories.cjs.js +0 -1
  261. package/dist/components/SearchInput/SearchInput.stories.d.ts +0 -4
  262. package/dist/components/SearchInput/SearchInput.stories.es.js +0 -16
  263. package/dist/components/TabList.stories.cjs.js +0 -1
  264. package/dist/components/TabList.stories.d.ts +0 -4
  265. package/dist/components/TextInput/TextInput.stories.cjs.js +0 -1
  266. package/dist/components/TextInput/TextInput.stories.d.ts +0 -7
  267. package/dist/components/TextInput/TextInput.stories.es.js +0 -43
  268. package/dist/index-Dl4BXU0b.cjs +0 -1
  269. package/dist/ownerWindow-BoRkeomM.js +0 -23
  270. package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
  271. package/dist/refType-DYRsy3ld.cjs +0 -1
  272. package/dist/refType-DvOnKTmB.js +0 -27
  273. package/dist/useForkRef-D-DyzOXj.js +0 -21
  274. package/dist/useForkRef-D81w5oMb.cjs +0 -1
  275. package/dist/useTheme-BvsnROiB.cjs +0 -1
@@ -0,0 +1,602 @@
1
+ import * as d from "react";
2
+ import { I as y, J as x, K as u, L as m, P as o } from "./identifier-BewKgEhI.js";
3
+ import { u as J } from "./useTheme-0u9_WhjM.js";
4
+ import { jsx as p } from "react/jsx-runtime";
5
+ import { s as f, u as S, c as w } from "./DefaultPropsProvider-StV_SUuk.js";
6
+ import { m as B } from "./memoTheme-B9kDhX1-.js";
7
+ import { B as G, F as Q } from "./Backdrop-DorR8O-b.js";
8
+ import { M as Z } from "./Modal-BDx2_UzP.js";
9
+ import { P as R } from "./Paper-CMUbp6SX.js";
10
+ import { u as oo } from "./useId-CK6Kn3Tn.js";
11
+ function eo(a) {
12
+ return y("MuiDialog", a);
13
+ }
14
+ const k = x("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), $ = /* @__PURE__ */ d.createContext({});
15
+ process.env.NODE_ENV !== "production" && ($.displayName = "DialogContext");
16
+ const ao = f(G, {
17
+ name: "MuiDialog",
18
+ slot: "Backdrop",
19
+ overrides: (a, e) => e.backdrop
20
+ })({
21
+ // Improve scrollable dialog support.
22
+ zIndex: -1
23
+ }), to = (a) => {
24
+ const {
25
+ classes: e,
26
+ scroll: t,
27
+ maxWidth: r,
28
+ fullWidth: s,
29
+ fullScreen: i
30
+ } = a, n = {
31
+ root: ["root"],
32
+ container: ["container", `scroll${u(t)}`],
33
+ paper: ["paper", `paperScroll${u(t)}`, `paperWidth${u(String(r))}`, s && "paperFullWidth", i && "paperFullScreen"]
34
+ };
35
+ return w(n, eo, e);
36
+ }, ro = f(Z, {
37
+ name: "MuiDialog",
38
+ slot: "Root",
39
+ overridesResolver: (a, e) => e.root
40
+ })({
41
+ "@media print": {
42
+ // Use !important to override the Modal inline-style.
43
+ position: "absolute !important"
44
+ }
45
+ }), so = f("div", {
46
+ name: "MuiDialog",
47
+ slot: "Container",
48
+ overridesResolver: (a, e) => {
49
+ const {
50
+ ownerState: t
51
+ } = a;
52
+ return [e.container, e[`scroll${u(t.scroll)}`]];
53
+ }
54
+ })({
55
+ height: "100%",
56
+ "@media print": {
57
+ height: "auto"
58
+ },
59
+ // We disable the focus ring for mouse, touch and keyboard users.
60
+ outline: 0,
61
+ variants: [{
62
+ props: {
63
+ scroll: "paper"
64
+ },
65
+ style: {
66
+ display: "flex",
67
+ justifyContent: "center",
68
+ alignItems: "center"
69
+ }
70
+ }, {
71
+ props: {
72
+ scroll: "body"
73
+ },
74
+ style: {
75
+ overflowY: "auto",
76
+ overflowX: "hidden",
77
+ textAlign: "center",
78
+ "&::after": {
79
+ content: '""',
80
+ display: "inline-block",
81
+ verticalAlign: "middle",
82
+ height: "100%",
83
+ width: "0"
84
+ }
85
+ }
86
+ }]
87
+ }), io = f(R, {
88
+ name: "MuiDialog",
89
+ slot: "Paper",
90
+ overridesResolver: (a, e) => {
91
+ const {
92
+ ownerState: t
93
+ } = a;
94
+ return [e.paper, e[`scrollPaper${u(t.scroll)}`], e[`paperWidth${u(String(t.maxWidth))}`], t.fullWidth && e.paperFullWidth, t.fullScreen && e.paperFullScreen];
95
+ }
96
+ })(B(({
97
+ theme: a
98
+ }) => ({
99
+ margin: 32,
100
+ position: "relative",
101
+ overflowY: "auto",
102
+ "@media print": {
103
+ overflowY: "visible",
104
+ boxShadow: "none"
105
+ },
106
+ variants: [{
107
+ props: {
108
+ scroll: "paper"
109
+ },
110
+ style: {
111
+ display: "flex",
112
+ flexDirection: "column",
113
+ maxHeight: "calc(100% - 64px)"
114
+ }
115
+ }, {
116
+ props: {
117
+ scroll: "body"
118
+ },
119
+ style: {
120
+ display: "inline-block",
121
+ verticalAlign: "middle",
122
+ textAlign: "initial"
123
+ }
124
+ }, {
125
+ props: ({
126
+ ownerState: e
127
+ }) => !e.maxWidth,
128
+ style: {
129
+ maxWidth: "calc(100% - 64px)"
130
+ }
131
+ }, {
132
+ props: {
133
+ maxWidth: "xs"
134
+ },
135
+ style: {
136
+ maxWidth: a.breakpoints.unit === "px" ? Math.max(a.breakpoints.values.xs, 444) : `max(${a.breakpoints.values.xs}${a.breakpoints.unit}, 444px)`,
137
+ [`&.${k.paperScrollBody}`]: {
138
+ [a.breakpoints.down(Math.max(a.breakpoints.values.xs, 444) + 32 * 2)]: {
139
+ maxWidth: "calc(100% - 64px)"
140
+ }
141
+ }
142
+ }
143
+ }, ...Object.keys(a.breakpoints.values).filter((e) => e !== "xs").map((e) => ({
144
+ props: {
145
+ maxWidth: e
146
+ },
147
+ style: {
148
+ maxWidth: `${a.breakpoints.values[e]}${a.breakpoints.unit}`,
149
+ [`&.${k.paperScrollBody}`]: {
150
+ [a.breakpoints.down(a.breakpoints.values[e] + 32 * 2)]: {
151
+ maxWidth: "calc(100% - 64px)"
152
+ }
153
+ }
154
+ }
155
+ })), {
156
+ props: ({
157
+ ownerState: e
158
+ }) => e.fullWidth,
159
+ style: {
160
+ width: "calc(100% - 64px)"
161
+ }
162
+ }, {
163
+ props: ({
164
+ ownerState: e
165
+ }) => e.fullScreen,
166
+ style: {
167
+ margin: 0,
168
+ width: "100%",
169
+ maxWidth: "100%",
170
+ height: "100%",
171
+ maxHeight: "none",
172
+ borderRadius: 0,
173
+ [`&.${k.paperScrollBody}`]: {
174
+ margin: 0,
175
+ maxWidth: "100%"
176
+ }
177
+ }
178
+ }]
179
+ }))), no = /* @__PURE__ */ d.forwardRef(function(e, t) {
180
+ const r = S({
181
+ props: e,
182
+ name: "MuiDialog"
183
+ }), s = J(), i = {
184
+ enter: s.transitions.duration.enteringScreen,
185
+ exit: s.transitions.duration.leavingScreen
186
+ }, {
187
+ "aria-describedby": n,
188
+ "aria-labelledby": l,
189
+ "aria-modal": g = !0,
190
+ BackdropComponent: j,
191
+ BackdropProps: A,
192
+ children: E,
193
+ className: F,
194
+ disableEscapeKeyDown: T = !1,
195
+ fullScreen: U = !1,
196
+ fullWidth: I = !1,
197
+ maxWidth: L = "sm",
198
+ onBackdropClick: W,
199
+ onClick: M,
200
+ onClose: v,
201
+ open: P,
202
+ PaperComponent: V = R,
203
+ PaperProps: N = {},
204
+ scroll: K = "paper",
205
+ TransitionComponent: Y = Q,
206
+ transitionDuration: O = i,
207
+ TransitionProps: _,
208
+ ...X
209
+ } = r, b = {
210
+ ...r,
211
+ disableEscapeKeyDown: T,
212
+ fullScreen: U,
213
+ fullWidth: I,
214
+ maxWidth: L,
215
+ scroll: K
216
+ }, h = to(b), D = d.useRef(), z = (c) => {
217
+ D.current = c.target === c.currentTarget;
218
+ }, H = (c) => {
219
+ M && M(c), D.current && (D.current = null, W && W(c), v && v(c, "backdropClick"));
220
+ }, C = oo(l), q = d.useMemo(() => ({
221
+ titleId: C
222
+ }), [C]);
223
+ return /* @__PURE__ */ p(ro, {
224
+ className: m(h.root, F),
225
+ closeAfterTransition: !0,
226
+ components: {
227
+ Backdrop: ao
228
+ },
229
+ componentsProps: {
230
+ backdrop: {
231
+ transitionDuration: O,
232
+ as: j,
233
+ ...A
234
+ }
235
+ },
236
+ disableEscapeKeyDown: T,
237
+ onClose: v,
238
+ open: P,
239
+ ref: t,
240
+ onClick: H,
241
+ ownerState: b,
242
+ ...X,
243
+ children: /* @__PURE__ */ p(Y, {
244
+ appear: !0,
245
+ in: P,
246
+ timeout: O,
247
+ role: "presentation",
248
+ ..._,
249
+ children: /* @__PURE__ */ p(so, {
250
+ className: m(h.container),
251
+ onMouseDown: z,
252
+ ownerState: b,
253
+ children: /* @__PURE__ */ p(io, {
254
+ as: V,
255
+ elevation: 24,
256
+ role: "dialog",
257
+ "aria-describedby": n,
258
+ "aria-labelledby": C,
259
+ "aria-modal": g,
260
+ ...N,
261
+ className: m(h.paper, N.className),
262
+ ownerState: b,
263
+ children: /* @__PURE__ */ p($.Provider, {
264
+ value: q,
265
+ children: E
266
+ })
267
+ })
268
+ })
269
+ })
270
+ });
271
+ });
272
+ process.env.NODE_ENV !== "production" && (no.propTypes = {
273
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
274
+ // │ These PropTypes are generated from the TypeScript type definitions. │
275
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
276
+ // └─────────────────────────────────────────────────────────────────────┘
277
+ /**
278
+ * The id(s) of the element(s) that describe the dialog.
279
+ */
280
+ "aria-describedby": o.string,
281
+ /**
282
+ * The id(s) of the element(s) that label the dialog.
283
+ */
284
+ "aria-labelledby": o.string,
285
+ /**
286
+ * Informs assistive technologies that the element is modal.
287
+ * It's added on the element with role="dialog".
288
+ * @default true
289
+ */
290
+ "aria-modal": o.oneOfType([o.oneOf(["false", "true"]), o.bool]),
291
+ /**
292
+ * A backdrop component. This prop enables custom backdrop rendering.
293
+ * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
294
+ * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
295
+ * @default styled(Backdrop, {
296
+ * name: 'MuiModal',
297
+ * slot: 'Backdrop',
298
+ * overridesResolver: (props, styles) => {
299
+ * return styles.backdrop;
300
+ * },
301
+ * })({
302
+ * zIndex: -1,
303
+ * })
304
+ */
305
+ BackdropComponent: o.elementType,
306
+ /**
307
+ * @ignore
308
+ */
309
+ BackdropProps: o.object,
310
+ /**
311
+ * Dialog children, usually the included sub-components.
312
+ */
313
+ children: o.node,
314
+ /**
315
+ * Override or extend the styles applied to the component.
316
+ */
317
+ classes: o.object,
318
+ /**
319
+ * @ignore
320
+ */
321
+ className: o.string,
322
+ /**
323
+ * If `true`, hitting escape will not fire the `onClose` callback.
324
+ * @default false
325
+ */
326
+ disableEscapeKeyDown: o.bool,
327
+ /**
328
+ * If `true`, the dialog is full-screen.
329
+ * @default false
330
+ */
331
+ fullScreen: o.bool,
332
+ /**
333
+ * If `true`, the dialog stretches to `maxWidth`.
334
+ *
335
+ * Notice that the dialog width grow is limited by the default margin.
336
+ * @default false
337
+ */
338
+ fullWidth: o.bool,
339
+ /**
340
+ * Determine the max-width of the dialog.
341
+ * The dialog width grows with the size of the screen.
342
+ * Set to `false` to disable `maxWidth`.
343
+ * @default 'sm'
344
+ */
345
+ maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
346
+ /**
347
+ * Callback fired when the backdrop is clicked.
348
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
349
+ */
350
+ onBackdropClick: o.func,
351
+ /**
352
+ * @ignore
353
+ */
354
+ onClick: o.func,
355
+ /**
356
+ * Callback fired when the component requests to be closed.
357
+ *
358
+ * @param {object} event The event source of the callback.
359
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
360
+ */
361
+ onClose: o.func,
362
+ /**
363
+ * If `true`, the component is shown.
364
+ */
365
+ open: o.bool.isRequired,
366
+ /**
367
+ * The component used to render the body of the dialog.
368
+ * @default Paper
369
+ */
370
+ PaperComponent: o.elementType,
371
+ /**
372
+ * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
373
+ * @default {}
374
+ */
375
+ PaperProps: o.object,
376
+ /**
377
+ * Determine the container for scrolling the dialog.
378
+ * @default 'paper'
379
+ */
380
+ scroll: o.oneOf(["body", "paper"]),
381
+ /**
382
+ * The system prop that allows defining system overrides as well as additional CSS styles.
383
+ */
384
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
385
+ /**
386
+ * The component used for the transition.
387
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
388
+ * @default Fade
389
+ */
390
+ TransitionComponent: o.elementType,
391
+ /**
392
+ * The duration for the transition, in milliseconds.
393
+ * You may specify a single timeout for all transitions, or individually with an object.
394
+ * @default {
395
+ * enter: theme.transitions.duration.enteringScreen,
396
+ * exit: theme.transitions.duration.leavingScreen,
397
+ * }
398
+ */
399
+ transitionDuration: o.oneOfType([o.number, o.shape({
400
+ appear: o.number,
401
+ enter: o.number,
402
+ exit: o.number
403
+ })]),
404
+ /**
405
+ * Props applied to the transition element.
406
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
407
+ */
408
+ TransitionProps: o.object
409
+ });
410
+ function lo(a) {
411
+ return y("MuiDialogActions", a);
412
+ }
413
+ const Wo = x("MuiDialogActions", ["root", "spacing"]), po = (a) => {
414
+ const {
415
+ classes: e,
416
+ disableSpacing: t
417
+ } = a;
418
+ return w({
419
+ root: ["root", !t && "spacing"]
420
+ }, lo, e);
421
+ }, co = f("div", {
422
+ name: "MuiDialogActions",
423
+ slot: "Root",
424
+ overridesResolver: (a, e) => {
425
+ const {
426
+ ownerState: t
427
+ } = a;
428
+ return [e.root, !t.disableSpacing && e.spacing];
429
+ }
430
+ })({
431
+ display: "flex",
432
+ alignItems: "center",
433
+ padding: 8,
434
+ justifyContent: "flex-end",
435
+ flex: "0 0 auto",
436
+ variants: [{
437
+ props: ({
438
+ ownerState: a
439
+ }) => !a.disableSpacing,
440
+ style: {
441
+ "& > :not(style) ~ :not(style)": {
442
+ marginLeft: 8
443
+ }
444
+ }
445
+ }]
446
+ }), uo = /* @__PURE__ */ d.forwardRef(function(e, t) {
447
+ const r = S({
448
+ props: e,
449
+ name: "MuiDialogActions"
450
+ }), {
451
+ className: s,
452
+ disableSpacing: i = !1,
453
+ ...n
454
+ } = r, l = {
455
+ ...r,
456
+ disableSpacing: i
457
+ }, g = po(l);
458
+ return /* @__PURE__ */ p(co, {
459
+ className: m(g.root, s),
460
+ ownerState: l,
461
+ ref: t,
462
+ ...n
463
+ });
464
+ });
465
+ process.env.NODE_ENV !== "production" && (uo.propTypes = {
466
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
467
+ // │ These PropTypes are generated from the TypeScript type definitions. │
468
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
469
+ // └─────────────────────────────────────────────────────────────────────┘
470
+ /**
471
+ * The content of the component.
472
+ */
473
+ children: o.node,
474
+ /**
475
+ * Override or extend the styles applied to the component.
476
+ */
477
+ classes: o.object,
478
+ /**
479
+ * @ignore
480
+ */
481
+ className: o.string,
482
+ /**
483
+ * If `true`, the actions do not have additional margin.
484
+ * @default false
485
+ */
486
+ disableSpacing: o.bool,
487
+ /**
488
+ * The system prop that allows defining system overrides as well as additional CSS styles.
489
+ */
490
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
491
+ });
492
+ function fo(a) {
493
+ return y("MuiDialogContent", a);
494
+ }
495
+ const Mo = x("MuiDialogContent", ["root", "dividers"]);
496
+ function Po(a) {
497
+ return y("MuiDialogTitle", a);
498
+ }
499
+ const go = x("MuiDialogTitle", ["root"]), mo = (a) => {
500
+ const {
501
+ classes: e,
502
+ dividers: t
503
+ } = a;
504
+ return w({
505
+ root: ["root", t && "dividers"]
506
+ }, fo, e);
507
+ }, bo = f("div", {
508
+ name: "MuiDialogContent",
509
+ slot: "Root",
510
+ overridesResolver: (a, e) => {
511
+ const {
512
+ ownerState: t
513
+ } = a;
514
+ return [e.root, t.dividers && e.dividers];
515
+ }
516
+ })(B(({
517
+ theme: a
518
+ }) => ({
519
+ flex: "1 1 auto",
520
+ // Add iOS momentum scrolling for iOS < 13.0
521
+ WebkitOverflowScrolling: "touch",
522
+ overflowY: "auto",
523
+ padding: "20px 24px",
524
+ variants: [{
525
+ props: ({
526
+ ownerState: e
527
+ }) => e.dividers,
528
+ style: {
529
+ padding: "16px 24px",
530
+ borderTop: `1px solid ${(a.vars || a).palette.divider}`,
531
+ borderBottom: `1px solid ${(a.vars || a).palette.divider}`
532
+ }
533
+ }, {
534
+ props: ({
535
+ ownerState: e
536
+ }) => !e.dividers,
537
+ style: {
538
+ [`.${go.root} + &`]: {
539
+ paddingTop: 0
540
+ }
541
+ }
542
+ }]
543
+ }))), yo = /* @__PURE__ */ d.forwardRef(function(e, t) {
544
+ const r = S({
545
+ props: e,
546
+ name: "MuiDialogContent"
547
+ }), {
548
+ className: s,
549
+ dividers: i = !1,
550
+ ...n
551
+ } = r, l = {
552
+ ...r,
553
+ dividers: i
554
+ }, g = mo(l);
555
+ return /* @__PURE__ */ p(bo, {
556
+ className: m(g.root, s),
557
+ ownerState: l,
558
+ ref: t,
559
+ ...n
560
+ });
561
+ });
562
+ process.env.NODE_ENV !== "production" && (yo.propTypes = {
563
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
564
+ // │ These PropTypes are generated from the TypeScript type definitions. │
565
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
566
+ // └─────────────────────────────────────────────────────────────────────┘
567
+ /**
568
+ * The content of the component.
569
+ */
570
+ children: o.node,
571
+ /**
572
+ * Override or extend the styles applied to the component.
573
+ */
574
+ classes: o.object,
575
+ /**
576
+ * @ignore
577
+ */
578
+ className: o.string,
579
+ /**
580
+ * Display the top and bottom dividers.
581
+ * @default false
582
+ */
583
+ dividers: o.bool,
584
+ /**
585
+ * The system prop that allows defining system overrides as well as additional CSS styles.
586
+ */
587
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
588
+ });
589
+ export {
590
+ no as D,
591
+ uo as a,
592
+ yo as b,
593
+ Wo as c,
594
+ k as d,
595
+ lo as e,
596
+ Mo as f,
597
+ eo as g,
598
+ fo as h,
599
+ go as i,
600
+ Po as j,
601
+ $ as k
602
+ };