@cgi-learning-hub/ui 1.3.3-dev.1732021842 → 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 (193) hide show
  1. package/dist/Backdrop-DorR8O-b.js +359 -0
  2. package/dist/Backdrop-cE8nccLi.cjs +1 -0
  3. package/dist/{Box-UE-zctbJ.js → Box-BTNw-FYi.js} +8 -8
  4. package/dist/{Box-H49yQEt_.cjs → Box-Y_dUbq3W.cjs} +1 -1
  5. package/dist/{Button-Bjy0iPNm.js → Button--paERYBc.js} +4 -4
  6. package/dist/{Button-qc45QbX6.cjs → Button-TBA8S65S.cjs} +1 -1
  7. package/dist/{ButtonBase-CFD7NVUc.js → ButtonBase-B0gJT_ti.js} +229 -237
  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-CuYTY0gd.cjs → Checkbox-OTMaikud.cjs} +1 -1
  12. package/dist/{Checkbox-Ct5E_6h7.js → Checkbox-aBoDjdQG.js} +6 -6
  13. package/dist/{CircularProgress-By02Sdoh.js → CircularProgress-CIqTwP6H.js} +4 -4
  14. package/dist/{CircularProgress-BPHINMQw.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-CaRoy5OV.js → DefaultPropsProvider-StV_SUuk.js} +40 -40
  18. package/dist/{DefaultPropsProvider-BrX6iuA3.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-BVtE8Mrv.js → FormGroup-CcM69JIS.js} +6 -6
  24. package/dist/{FormGroup-BBYEQB4C.cjs → FormGroup-KOLND6rE.cjs} +1 -1
  25. package/dist/FormLabel-C506NT5o.cjs +2 -0
  26. package/dist/{FormLabel-B4QlkhhB.js → FormLabel-wDh-AEMQ.js} +50 -57
  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-Av8eJ5IG.js → IconButton-CsqR1453.js} +5 -5
  31. package/dist/{InputAdornment-BJfpEQAa.cjs → InputAdornment-DgT008NI.cjs} +1 -1
  32. package/dist/{InputAdornment-COPtZlSD.js → InputAdornment-bXTpzNQ2.js} +4 -4
  33. package/dist/{InputBase-Ctmib7Br.cjs → InputBase-Cpx39cny.cjs} +3 -3
  34. package/dist/{InputBase-Bbgoz8GV.js → InputBase-VKt_ajuq.js} +21 -19
  35. package/dist/Link-6UH3Aljp.cjs +1 -0
  36. package/dist/Link-CPyeYGpa.js +266 -0
  37. package/dist/{MenuItem-D7HWYhF3.js → MenuItem-BFkBwBkN.js} +15 -15
  38. package/dist/{MenuItem-Els-vJZW.cjs → MenuItem-BxXCEc8h.cjs} +1 -1
  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-y1PjTHKX.js → Stack-CKjrTRJB.js} +16 -16
  50. package/dist/{Stack-CEjx3KHM.cjs → Stack-elRjtOGk.cjs} +1 -1
  51. package/dist/{SwitchBase-URM3X3YZ.cjs → SwitchBase-DWfUIgEW.cjs} +1 -1
  52. package/dist/{SwitchBase-yCuH0Tqk.js → SwitchBase-DYa1wGSu.js} +4 -4
  53. package/dist/{Tooltip-DO9GIhWC.js → TableSortLabel-Czgy_sW5.js} +1684 -2801
  54. package/dist/TableSortLabel-Ppl9Q-SZ.cjs +98 -0
  55. package/dist/Tabs-CUpcnsPl.cjs +4 -0
  56. package/dist/{Tabs-DK4Bc5xo.js → Tabs-RxcUgknI.js} +284 -282
  57. package/dist/{TextField-C-B529_r.js → TextField-DorMAtUh.js} +7 -7
  58. package/dist/{TextField-BVAkADOb.cjs → TextField-DvGLmvG1.cjs} +1 -1
  59. package/dist/Tooltip-B4e9QdHI.js +697 -0
  60. package/dist/Tooltip-CPAH20AZ.cjs +4 -0
  61. package/dist/{Typography-C_ESP41L.js → Typography-B29dnCv3.js} +4 -4
  62. package/dist/{Typography-5OodZ94T.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 -274
  95. package/dist/components/stories/Button.stories.cjs.js +1 -1
  96. package/dist/components/stories/Button.stories.es.js +1 -1
  97. package/dist/components/stories/Card.stories.cjs.js +1 -0
  98. package/dist/components/stories/Card.stories.d.ts +7 -0
  99. package/dist/components/stories/Card.stories.es.js +193 -0
  100. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  101. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  102. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  103. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  104. package/dist/components/stories/Dialog.stories.cjs.js +1 -0
  105. package/dist/components/stories/Dialog.stories.d.ts +7 -0
  106. package/dist/components/stories/Dialog.stories.es.js +33 -0
  107. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  108. package/dist/components/stories/Heading.stories.es.js +2 -2
  109. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  110. package/dist/components/stories/IconButton.stories.es.js +2 -2
  111. package/dist/components/stories/Link.stories.cjs.js +1 -0
  112. package/dist/components/stories/Link.stories.d.ts +7 -0
  113. package/dist/components/stories/Link.stories.es.js +43 -0
  114. package/dist/components/stories/Paper.stories.cjs.js +1 -0
  115. package/dist/components/stories/Paper.stories.d.ts +7 -0
  116. package/dist/components/stories/Paper.stories.es.js +28 -0
  117. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  118. package/dist/components/stories/RadioGroup.stories.es.js +28 -27
  119. package/dist/components/stories/Select.stories.cjs.js +1 -1
  120. package/dist/components/stories/Select.stories.es.js +3 -3
  121. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  122. package/dist/components/stories/TabList.stories.es.js +10 -10
  123. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  124. package/dist/components/stories/TextField.stories.es.js +1 -1
  125. package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
  126. package/dist/components/stories/Tooltip.stories.d.ts +7 -0
  127. package/dist/components/stories/Tooltip.stories.es.js +46 -0
  128. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  129. package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
  130. package/dist/{createSvgIcon-GU7fqNnI.cjs → createSvgIcon-DQqazotA.cjs} +1 -1
  131. package/dist/{createSvgIcon-DxbvMQd7.js → createSvgIcon-VByplk-r.js} +3 -3
  132. package/dist/debounce-46wSf_lW.js +15 -0
  133. package/dist/debounce-DpCj7ugL.cjs +1 -0
  134. package/dist/elementTypeAcceptingRef-BPhL72td.js +23 -0
  135. package/dist/elementTypeAcceptingRef-DiSL8-Ea.cjs +1 -0
  136. package/dist/{extendSxProp-XQwkK0m7.js → extendSxProp-BYB-kybW.js} +1 -1
  137. package/dist/{extendSxProp-D11-pC6h.cjs → extendSxProp-BZ8P8fbI.cjs} +1 -1
  138. package/dist/{fr-B8_MxRl5.js → fr-B4aeA9th.js} +23 -23
  139. package/dist/{fr-Nvp7C-vS.cjs → fr-CSCQhSqi.cjs} +1 -1
  140. package/dist/{identifier-BqadgaK7.js → identifier-BewKgEhI.js} +488 -487
  141. package/dist/{identifier-BQH88SE0.cjs → identifier-DTh6b5Gz.cjs} +17 -17
  142. package/dist/{index-CRT92bm7.js → index-BAjSgP8k.js} +3 -3
  143. package/dist/{index-CNv8ppur.cjs → index-B_acx8gh.cjs} +1 -1
  144. package/dist/{index-BUxqDIr9.js → index-_oi9ph20.js} +4 -4
  145. package/dist/{index-D7nFYLYq.cjs → index-oINGa1MV.cjs} +1 -1
  146. package/dist/index.cjs.js +1 -1
  147. package/dist/index.es.js +280 -274
  148. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  149. package/dist/isFocusVisible-DlSijby6.cjs +2 -0
  150. package/dist/{memoTheme-DfGVDRrB.js → memoTheme-B9kDhX1-.js} +1 -1
  151. package/dist/{memoTheme-B6o2KVgJ.cjs → memoTheme-DJBS0nbO.cjs} +1 -1
  152. package/dist/ownerDocument-4MViGo3k.cjs +1 -0
  153. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  154. package/dist/ownerWindow-DDHucZi0.cjs +1 -0
  155. package/dist/ownerWindow-niciwP7I.js +7 -0
  156. package/dist/refType-3o3c-kYx.js +7 -0
  157. package/dist/refType-DNB-r0Bp.cjs +1 -0
  158. package/dist/{resolveComponentProps-CxJ2yAJn.js → resolveComponentProps-BQQ-uUKZ.js} +1 -1
  159. package/dist/{resolveComponentProps-DTv6xPbb.cjs → resolveComponentProps-R_l8gy3y.cjs} +1 -1
  160. package/dist/useForkRef-CTI33h-3.cjs +1 -0
  161. package/dist/useForkRef-C_4o__cU.js +15 -0
  162. package/dist/{useSlot-Co14PUn6.js → useSlot-B2hCpx8C.js} +2 -2
  163. package/dist/{useSlot-42jgZftI.cjs → useSlot-i7AZwCRV.cjs} +1 -1
  164. package/dist/{useTheme-CtT7O-Wk.js → useTheme-0u9_WhjM.js} +3 -3
  165. package/dist/{useTheme-oM_SFWy4.js → useTheme-BrFhq4dW.js} +1 -1
  166. package/dist/{useTheme-tZYpFplW.cjs → useTheme-DfN3sBzg.cjs} +1 -1
  167. package/dist/{useTheme-cVN-YQNB.cjs → useTheme-w4BoR6ol.cjs} +1 -1
  168. package/dist/{useThemeProps-r0DnR8FJ.cjs → useThemeProps-BoO3MMZc.cjs} +1 -1
  169. package/dist/{useThemeProps-HLq2mDKk.cjs → useThemeProps-CkGODfms.cjs} +1 -1
  170. package/dist/{useThemeProps-BlQ3SLfB.js → useThemeProps-CwWORfXn.js} +2 -2
  171. package/dist/{useThemeProps-FiA8ivG-.js → useThemeProps-cERu5xHk.js} +3 -3
  172. package/dist/{useTimeout-D16vpBhn.js → useTimeout-Br8oWWYt.js} +4 -4
  173. package/dist/{useTimeout-DWEGwfTA.cjs → useTimeout-DnTtyB2y.cjs} +1 -1
  174. package/dist/utils-CH0HZgJe.js +391 -0
  175. package/dist/utils-D2bhwE7x.cjs +1 -0
  176. package/package.json +1 -1
  177. package/dist/Backdrop-KAJqifAq.cjs +0 -1
  178. package/dist/Backdrop-RBPtVAPX.js +0 -744
  179. package/dist/ButtonBase-UEHzzfUL.cjs +0 -75
  180. package/dist/DatePicker-rhgpaD-r.cjs +0 -17
  181. package/dist/DatePicker-u4rtXGeo.js +0 -12791
  182. package/dist/FormLabel-D8jYibc1.cjs +0 -2
  183. package/dist/IconButton-CVyLtjcH.cjs +0 -2
  184. package/dist/Select-BlPQngVF.js +0 -4720
  185. package/dist/Select-ipcMZ4iK.cjs +0 -11
  186. package/dist/Tabs-Nvk94RTW.cjs +0 -4
  187. package/dist/Tooltip-DvPL2M0E.cjs +0 -100
  188. package/dist/ownerWindow-BoRkeomM.js +0 -23
  189. package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
  190. package/dist/refType-DlHf9HvO.js +0 -27
  191. package/dist/refType-Do7KaOvv.cjs +0 -1
  192. package/dist/useForkRef-D-DyzOXj.js +0 -21
  193. package/dist/useForkRef-D81w5oMb.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
+ };