@cgi-learning-hub/ui 1.2.0-dev.1730801938 → 1.2.0-dev.1730814068

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-NYR-wJpx.js → Backdrop-CxHwPsCX.js} +313 -312
  2. package/dist/Backdrop-ZCTs-Ws8.cjs +1 -0
  3. package/dist/Box-D61CmHcZ.cjs +1 -0
  4. package/dist/{Box-BOwB0WGP.js → Box-a6v7fn61.js} +3 -3
  5. package/dist/{Button-DOz72eRZ.js → Button-B8Vr_qVd.js} +72 -76
  6. package/dist/Button-elp97nQ8.cjs +1 -0
  7. package/dist/ButtonBase-S0mFlojL.cjs +75 -0
  8. package/dist/{ButtonBase-Cc4QJr0W.js → ButtonBase-Y5TK5SRu.js} +140 -141
  9. package/dist/CircularProgress-DDIZxeFH.cjs +28 -0
  10. package/dist/{CircularProgress-CQAqrfVo.js → CircularProgress-DU3DJQfF.js} +60 -59
  11. package/dist/{DatePicker-DLbJ-Y35.js → DatePicker-CALU8PZA.js} +5492 -5523
  12. package/dist/DatePicker-Dxu_4hra.cjs +17 -0
  13. package/dist/{DefaultPropsProvider-3gIWHkeE.js → DefaultPropsProvider-7QnSWHxy.js} +47 -46
  14. package/dist/DefaultPropsProvider-eEVEiLDf.cjs +17 -0
  15. package/dist/{IconButton-DQ115lN0.js → IconButton-C7H_G1LX.js} +60 -70
  16. package/dist/IconButton-DfmbM9nO.cjs +2 -0
  17. package/dist/{InputAdornment-CQEOPpj_.cjs → InputAdornment-C-EbfNtT.cjs} +1 -1
  18. package/dist/{InputAdornment-C91s059c.js → InputAdornment-CPJFY_m_.js} +5 -5
  19. package/dist/{InputBase-BqiRpsZm.js → InputBase-5GB2c2J6.js} +76 -77
  20. package/dist/InputBase-CPtGhJye.cjs +3 -0
  21. package/dist/Stack-656bqKiW.cjs +1 -0
  22. package/dist/{Stack-CRf_NOj5.js → Stack-CutIWKkG.js} +13 -13
  23. package/dist/{Tabs-ClaQRksF.js → Tabs-CKic46Op.js} +13 -14
  24. package/dist/Tabs-DzrxYlm-.cjs +4 -0
  25. package/dist/TextField-CnyxYYzR.cjs +14 -0
  26. package/dist/{TextField-poQmKhLJ.js → TextField-DjQM2ffb.js} +1457 -1415
  27. package/dist/Tooltip-DmCabXFN.cjs +100 -0
  28. package/dist/{Tooltip-h4eHRca2.js → Tooltip-kMJPjug-.js} +1422 -1404
  29. package/dist/Typography-CreZW2v6.cjs +1 -0
  30. package/dist/{Typography-Brk7us7e.js → Typography-DsJC595c.js} +38 -37
  31. package/dist/components/Alert/Alert.cjs.js +1 -1
  32. package/dist/components/Alert/Alert.stories.cjs.js +1 -1
  33. package/dist/components/Button/Button.cjs.js +1 -0
  34. package/dist/components/Button/Button.d.ts +4 -0
  35. package/dist/{DefaultButton-xBiX39mb.js → components/Button/Button.es.js} +90 -110
  36. package/dist/components/Button/Button.stories.cjs.js +1 -0
  37. package/dist/components/{PrimaryButton/PrimaryButton.stories.d.ts → Button/Button.stories.d.ts} +3 -1
  38. package/dist/components/Button/Button.stories.es.js +45 -0
  39. package/dist/components/Button/index.cjs.js +1 -0
  40. package/dist/components/Button/index.d.ts +2 -0
  41. package/dist/components/Button/index.es.js +4 -0
  42. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  43. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  44. package/dist/components/DatePicker/DatePicker.stories.cjs.js +1 -1
  45. package/dist/components/DatePicker/DatePicker.stories.es.js +1 -1
  46. package/dist/components/DatePicker/index.cjs.js +1 -1
  47. package/dist/components/DatePicker/index.es.js +1 -1
  48. package/dist/components/Dropzone/Dropzone.cjs.js +5 -5
  49. package/dist/components/Dropzone/Dropzone.es.js +1675 -679
  50. package/dist/components/Dropzone/Dropzone.stories.cjs.js +1 -1
  51. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  52. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  53. package/dist/components/EmptyState/EmptyState.stories.cjs.js +1 -1
  54. package/dist/components/FileList/FileList.cjs.js +1 -1
  55. package/dist/components/FileList/FileList.es.js +1 -1
  56. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  57. package/dist/components/FileList/FileListItem.es.js +21 -33
  58. package/dist/components/Heading/Heading.cjs.js +1 -0
  59. package/dist/components/{PaperHeader/PaperHeader.d.ts → Heading/Heading.d.ts} +3 -3
  60. package/dist/components/{PaperHeader/PaperHeader.es.js → Heading/Heading.es.js} +15 -15
  61. package/dist/components/Heading/Heading.stories.cjs.js +1 -0
  62. package/dist/components/Heading/Heading.stories.es.js +22 -0
  63. package/dist/components/Heading/index.cjs.js +1 -0
  64. package/dist/components/Heading/index.d.ts +2 -0
  65. package/dist/components/Heading/index.es.js +4 -0
  66. package/dist/components/IconButton.stories.cjs.js +1 -1
  67. package/dist/components/IconButton.stories.es.js +11 -17
  68. package/dist/components/Loader/Loader.cjs.js +1 -1
  69. package/dist/components/Loader/Loader.es.js +1 -1
  70. package/dist/components/Loader/Loader.stories.cjs.js +1 -1
  71. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  72. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  73. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  74. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  75. package/dist/components/PasswordInput/PasswordInput.stories.cjs.js +1 -1
  76. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  77. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  78. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  79. package/dist/components/SearchInput/SearchInput.stories.cjs.js +1 -1
  80. package/dist/components/TabList.stories.cjs.js +1 -1
  81. package/dist/components/TabList.stories.es.js +11 -12
  82. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  83. package/dist/components/TextInput/TextInput.es.js +1 -1
  84. package/dist/components/TextInput/TextInput.stories.cjs.js +1 -1
  85. package/dist/components/index.cjs.js +1 -1
  86. package/dist/components/index.d.ts +2 -8
  87. package/dist/components/index.es.js +174 -185
  88. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  89. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  90. package/dist/{createSvgIcon-CWZXMIY6.js → createSvgIcon-Ae1vF9Lv.js} +3 -3
  91. package/dist/{createSvgIcon-BHNwYp0k.cjs → createSvgIcon-PXjVOXDY.cjs} +1 -1
  92. package/dist/{extendSxProp-Cr6SqfyU.js → extendSxProp-BzTGWWcy.js} +1 -1
  93. package/dist/{extendSxProp-h_vH_Efx.cjs → extendSxProp-DLhbnNxc.cjs} +1 -1
  94. package/dist/{fr-CrUmNQ8y.js → fr-B0c4Eu-I.js} +1 -1
  95. package/dist/{fr-Dh4vpkIL.cjs → fr-BtINyNRC.cjs} +1 -1
  96. package/dist/identifier-B_IiMbpZ.cjs +59 -0
  97. package/dist/{identifier-vL3mZxtO.js → identifier-Bu3vgTzE.js} +1041 -1053
  98. package/dist/{index-DJfvQgvG.cjs → index-BDy6VH40.cjs} +1 -1
  99. package/dist/{index-PJSlkMUh.js → index-D4YvqRSh.js} +3 -3
  100. package/dist/{index-CrWaTytV.js → index-DNmEgr4X.js} +4 -4
  101. package/dist/index-Dl4BXU0b.cjs +1 -0
  102. package/dist/index.cjs.js +1 -1
  103. package/dist/index.es.js +174 -185
  104. package/dist/memoTheme-C4_nd-x4.js +15 -0
  105. package/dist/memoTheme-DvW891YJ.cjs +1 -0
  106. package/dist/refType-DYRsy3ld.cjs +1 -0
  107. package/dist/{refType-CslmN23s.js → refType-DvOnKTmB.js} +12 -9
  108. package/dist/useForkRef-D-DyzOXj.js +21 -0
  109. package/dist/useForkRef-D81w5oMb.cjs +1 -0
  110. package/dist/{useTheme-Cs6W-67J.js → useTheme-B_3HWqyi.js} +3 -3
  111. package/dist/{useTheme-Cy30-54x.cjs → useTheme-BvsnROiB.cjs} +1 -1
  112. package/dist/{useTheme-BZN9T64v.js → useTheme-DhYab2-0.js} +1 -1
  113. package/dist/{useTheme-BcsinTgi.cjs → useTheme-vN32oV1t.cjs} +1 -1
  114. package/dist/useThemeProps-5hp2m3Xl.cjs +1 -0
  115. package/dist/useThemeProps-Bmkt_XOR.js +27 -0
  116. package/dist/useThemeProps-D_gKWuk1.cjs +1 -0
  117. package/dist/useThemeProps-DftpgVZ0.js +24 -0
  118. package/dist/useTimeout-Bx22KOcH.js +53 -0
  119. package/dist/useTimeout-gEG15bRo.cjs +1 -0
  120. package/package.json +10 -10
  121. package/dist/Backdrop-2u2eUNhW.cjs +0 -1
  122. package/dist/Box-BM-kEZ6w.cjs +0 -1
  123. package/dist/Button-DF4FLm9c.cjs +0 -1
  124. package/dist/ButtonBase-D-LBunY3.cjs +0 -75
  125. package/dist/CircularProgress-Bc4Jb-wh.cjs +0 -28
  126. package/dist/DatePicker-B7Kxulzh.cjs +0 -19
  127. package/dist/DefaultButton-BiytyhNr.cjs +0 -1
  128. package/dist/DefaultPropsProvider-D5gdl0ZP.cjs +0 -17
  129. package/dist/IconButton-C1Q6F-WI.cjs +0 -2
  130. package/dist/InputBase-BhTvM4pD.cjs +0 -3
  131. package/dist/Stack-C-pSEK_U.cjs +0 -1
  132. package/dist/Tabs-DQQR_Rej.cjs +0 -4
  133. package/dist/TextField-ESuNQ6_j.cjs +0 -12
  134. package/dist/Tooltip-iexr64ud.cjs +0 -100
  135. package/dist/Typography-DXUkMq5K.cjs +0 -1
  136. package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
  137. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  138. package/dist/components/DefaultButton/DefaultButton.cjs.js +0 -1
  139. package/dist/components/DefaultButton/DefaultButton.d.ts +0 -8
  140. package/dist/components/DefaultButton/DefaultButton.es.js +0 -8
  141. package/dist/components/DefaultButton/DefaultButtonIcon.cjs.js +0 -1
  142. package/dist/components/DefaultButton/DefaultButtonIcon.d.ts +0 -8
  143. package/dist/components/DefaultButton/DefaultButtonIcon.es.js +0 -185
  144. package/dist/components/DefaultButton/index.cjs.js +0 -1
  145. package/dist/components/DefaultButton/index.d.ts +0 -2
  146. package/dist/components/DefaultButton/index.es.js +0 -4
  147. package/dist/components/PaperHeader/PaperHeader.cjs.js +0 -1
  148. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +0 -1
  149. package/dist/components/PaperHeader/PaperHeader.stories.es.js +0 -28
  150. package/dist/components/PaperHeader/index.cjs.js +0 -1
  151. package/dist/components/PaperHeader/index.d.ts +0 -2
  152. package/dist/components/PaperHeader/index.es.js +0 -4
  153. package/dist/components/PrimaryButton/PrimaryButton.cjs.js +0 -1
  154. package/dist/components/PrimaryButton/PrimaryButton.d.ts +0 -5
  155. package/dist/components/PrimaryButton/PrimaryButton.es.js +0 -13
  156. package/dist/components/PrimaryButton/PrimaryButton.stories.cjs.js +0 -1
  157. package/dist/components/PrimaryButton/PrimaryButton.stories.es.js +0 -25
  158. package/dist/components/PrimaryButton/index.cjs.js +0 -1
  159. package/dist/components/PrimaryButton/index.d.ts +0 -2
  160. package/dist/components/PrimaryButton/index.es.js +0 -4
  161. package/dist/components/SecondaryButton/SecondaryButton.cjs.js +0 -1
  162. package/dist/components/SecondaryButton/SecondaryButton.d.ts +0 -5
  163. package/dist/components/SecondaryButton/SecondaryButton.es.js +0 -6
  164. package/dist/components/SecondaryButton/SecondaryButton.stories.cjs.js +0 -1
  165. package/dist/components/SecondaryButton/SecondaryButton.stories.d.ts +0 -4
  166. package/dist/components/SecondaryButton/SecondaryButton.stories.es.js +0 -25
  167. package/dist/components/SecondaryButton/index.cjs.js +0 -1
  168. package/dist/components/SecondaryButton/index.d.ts +0 -2
  169. package/dist/components/SecondaryButton/index.es.js +0 -4
  170. package/dist/composeClasses-B_ETVugV.cjs +0 -1
  171. package/dist/composeClasses-zmPRtZOg.js +0 -16
  172. package/dist/createSvgIcon-C9v8HKxu.cjs +0 -2
  173. package/dist/createSvgIcon-ampgkdBR.js +0 -89
  174. package/dist/identifier-lU3TQXv0.cjs +0 -59
  175. package/dist/index-B4-7REI3.cjs +0 -1
  176. package/dist/memoTheme-B2EWpIp3.cjs +0 -1
  177. package/dist/memoTheme-O-hJ9iBh.js +0 -13
  178. package/dist/refType-xt9KmJ1e.cjs +0 -1
  179. package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
  180. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  181. package/dist/useControlled-Bf7_InaL.cjs +0 -3
  182. package/dist/useControlled-D59BLg1S.js +0 -48
  183. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  184. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  185. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  186. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  187. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  188. package/dist/useForkRef-C_4o__cU.js +0 -15
  189. package/dist/useThemeProps-CjDUEYiA.js +0 -40
  190. package/dist/useThemeProps-DxowsTec.cjs +0 -1
  191. package/dist/useTimeout-COCrDKz-.cjs +0 -1
  192. package/dist/useTimeout-CcRdgCDK.js +0 -42
  193. /package/dist/components/{PaperHeader/PaperHeader.stories.d.ts → Heading/Heading.stories.d.ts} +0 -0
@@ -1,102 +1,142 @@
1
1
  import * as j from "react";
2
- import I from "react";
3
- import { P as e, I as Z, J as ee, L as te } from "./identifier-vL3mZxtO.js";
4
- import { r as ne, m as oe, a as ie, u as re } from "./useTheme-Cs6W-67J.js";
5
- import { u as V } from "./useForkRef-C_4o__cU.js";
6
- import { jsx as _ } from "react/jsx-runtime";
7
- import { s as se, u as ae, c as pe } from "./DefaultPropsProvider-3gIWHkeE.js";
8
- import { c as W } from "./chainPropTypes-D9lkm76m.js";
9
- import { _ as le, a as ue, T as X } from "./TransitionGroupContext-DMJLhY9-.js";
10
- import U from "react-dom";
11
- function ce(r) {
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) {
12
11
  const {
13
- prototype: p = {}
12
+ prototype: s = {}
14
13
  } = r;
15
- return !!p.isReactComponent;
14
+ return !!s.isReactComponent;
16
15
  }
17
- function $(r, p, s, i, n) {
18
- const t = r[p], o = n || p;
19
- if (t == null || // When server-side rendering React doesn't warn either.
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.
20
19
  // This is not an accurate check for SSR.
21
20
  // This is only in place for Emotion compat.
22
21
  // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
23
22
  typeof window > "u")
24
23
  return null;
25
- let a;
26
- const l = t.type;
27
- return typeof l == "function" && !ce(l) && (a = "Did you accidentally use a plain function component for an element instead?"), a !== void 0 ? new Error(`Invalid ${i} \`${o}\` supplied to \`${s}\`. Expected an element that can hold a ref. ${a} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
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;
28
27
  }
29
- const H = W(e.element, $);
30
- H.isRequired = W(e.element.isRequired, $);
31
- function de(r) {
32
- return !r || !/* @__PURE__ */ j.isValidElement(r) ? null : r.props.propertyIsEnumerable("ref") ? r.props.ref : (
33
- // @ts-expect-error element.ref is not included in the ReactElement type
34
- // We cannot check for it, but isValidElement is true at this point
35
- // https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/70189
36
- r.ref
37
- );
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;
38
33
  }
39
- const q = {
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 = {
40
80
  disabled: !1
41
81
  };
42
- var fe = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
43
- enter: e.number,
44
- exit: e.number,
45
- appear: e.number
46
- }).isRequired]) : null, we = process.env.NODE_ENV !== "production" ? e.oneOfType([e.string, e.shape({
47
- enter: e.string,
48
- exit: e.string,
49
- active: e.string
50
- }), e.shape({
51
- enter: e.string,
52
- enterDone: e.string,
53
- enterActive: e.string,
54
- exit: e.string,
55
- exitDone: e.string,
56
- exitActive: e.string
57
- })]) : null, me = function(p) {
58
- return p.scrollTop;
59
- }, M = "unmounted", S = "exited", R = "entering", D = "entered", B = "exiting", x = /* @__PURE__ */ function(r) {
60
- le(p, r);
61
- function p(i, n) {
62
- var t;
63
- t = r.call(this, i, n) || this;
64
- var o = n, a = o && !o.isMounting ? i.enter : i.appear, l;
65
- return t.appearStatus = null, i.in ? a ? (l = S, t.appearStatus = R) : l = D : i.unmountOnExit || i.mountOnEnter ? l = M : l = S, t.state = {
66
- status: l
67
- }, t.nextCallback = null, t;
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;
68
108
  }
69
- p.getDerivedStateFromProps = function(n, t) {
109
+ s.getDerivedStateFromProps = function(n, e) {
70
110
  var o = n.in;
71
- return o && t.status === M ? {
111
+ return o && e.status === M ? {
72
112
  status: S
73
113
  } : null;
74
114
  };
75
- var s = p.prototype;
76
- return s.componentDidMount = function() {
115
+ var a = s.prototype;
116
+ return a.componentDidMount = function() {
77
117
  this.updateStatus(!0, this.appearStatus);
78
- }, s.componentDidUpdate = function(n) {
79
- var t = null;
118
+ }, a.componentDidUpdate = function(n) {
119
+ var e = null;
80
120
  if (n !== this.props) {
81
121
  var o = this.state.status;
82
- this.props.in ? o !== R && o !== D && (t = R) : (o === R || o === D) && (t = B);
122
+ this.props.in ? o !== R && o !== D && (e = R) : (o === R || o === D) && (e = q);
83
123
  }
84
- this.updateStatus(!1, t);
85
- }, s.componentWillUnmount = function() {
124
+ this.updateStatus(!1, e);
125
+ }, a.componentWillUnmount = function() {
86
126
  this.cancelNextCallback();
87
- }, s.getTimeouts = function() {
88
- var n = this.props.timeout, t, o, a;
89
- return t = o = a = n, n != null && typeof n != "number" && (t = n.exit, o = n.enter, a = n.appear !== void 0 ? n.appear : o), {
90
- exit: t,
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,
91
131
  enter: o,
92
- appear: a
132
+ appear: p
93
133
  };
94
- }, s.updateStatus = function(n, t) {
95
- if (n === void 0 && (n = !1), t !== null)
96
- if (this.cancelNextCallback(), t === R) {
134
+ }, a.updateStatus = function(n, e) {
135
+ if (n === void 0 && (n = !1), e !== null)
136
+ if (this.cancelNextCallback(), e === R) {
97
137
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
98
- var o = this.props.nodeRef ? this.props.nodeRef.current : U.findDOMNode(this);
99
- o && me(o);
138
+ var o = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this);
139
+ o && mt(o);
100
140
  }
101
141
  this.performEnter(n);
102
142
  } else
@@ -104,87 +144,87 @@ var fe = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape(
104
144
  else this.props.unmountOnExit && this.state.status === S && this.setState({
105
145
  status: M
106
146
  });
107
- }, s.performEnter = function(n) {
108
- var t = this, o = this.props.enter, a = this.context ? this.context.isMounting : n, l = this.props.nodeRef ? [a] : [U.findDOMNode(this), a], c = l[0], d = l[1], b = this.getTimeouts(), y = a ? b.appear : b.enter;
109
- if (!n && !o || q.disabled) {
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) {
110
150
  this.safeSetState({
111
151
  status: D
112
152
  }, function() {
113
- t.props.onEntered(c);
153
+ e.props.onEntered(l);
114
154
  });
115
155
  return;
116
156
  }
117
- this.props.onEnter(c, d), this.safeSetState({
157
+ this.props.onEnter(l, d), this.safeSetState({
118
158
  status: R
119
159
  }, function() {
120
- t.props.onEntering(c, d), t.onTransitionEnd(y, function() {
121
- t.safeSetState({
160
+ e.props.onEntering(l, d), e.onTransitionEnd(y, function() {
161
+ e.safeSetState({
122
162
  status: D
123
163
  }, function() {
124
- t.props.onEntered(c, d);
164
+ e.props.onEntered(l, d);
125
165
  });
126
166
  });
127
167
  });
128
- }, s.performExit = function() {
129
- var n = this, t = this.props.exit, o = this.getTimeouts(), a = this.props.nodeRef ? void 0 : U.findDOMNode(this);
130
- if (!t || q.disabled) {
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) {
131
171
  this.safeSetState({
132
172
  status: S
133
173
  }, function() {
134
- n.props.onExited(a);
174
+ n.props.onExited(p);
135
175
  });
136
176
  return;
137
177
  }
138
- this.props.onExit(a), this.safeSetState({
139
- status: B
178
+ this.props.onExit(p), this.safeSetState({
179
+ status: q
140
180
  }, function() {
141
- n.props.onExiting(a), n.onTransitionEnd(o.exit, function() {
181
+ n.props.onExiting(p), n.onTransitionEnd(o.exit, function() {
142
182
  n.safeSetState({
143
183
  status: S
144
184
  }, function() {
145
- n.props.onExited(a);
185
+ n.props.onExited(p);
146
186
  });
147
187
  });
148
188
  });
149
- }, s.cancelNextCallback = function() {
189
+ }, a.cancelNextCallback = function() {
150
190
  this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
151
- }, s.safeSetState = function(n, t) {
152
- t = this.setNextCallback(t), this.setState(n, t);
153
- }, s.setNextCallback = function(n) {
154
- var t = this, o = !0;
155
- return this.nextCallback = function(a) {
156
- o && (o = !1, t.nextCallback = null, n(a));
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));
157
197
  }, this.nextCallback.cancel = function() {
158
198
  o = !1;
159
199
  }, this.nextCallback;
160
- }, s.onTransitionEnd = function(n, t) {
161
- this.setNextCallback(t);
162
- var o = this.props.nodeRef ? this.props.nodeRef.current : U.findDOMNode(this), a = n == null && !this.props.addEndListener;
163
- if (!o || a) {
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) {
164
204
  setTimeout(this.nextCallback, 0);
165
205
  return;
166
206
  }
167
207
  if (this.props.addEndListener) {
168
- var l = this.props.nodeRef ? [this.nextCallback] : [o, this.nextCallback], c = l[0], d = l[1];
169
- this.props.addEndListener(c, d);
208
+ var u = this.props.nodeRef ? [this.nextCallback] : [o, this.nextCallback], l = u[0], d = u[1];
209
+ this.props.addEndListener(l, d);
170
210
  }
171
211
  n != null && setTimeout(this.nextCallback, n);
172
- }, s.render = function() {
212
+ }, a.render = function() {
173
213
  var n = this.state.status;
174
214
  if (n === M)
175
215
  return null;
176
- var t = this.props, o = t.children;
177
- t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
178
- var a = ue(t, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
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"]);
179
219
  return (
180
220
  // allows for nested Transitions
181
- /* @__PURE__ */ I.createElement(X.Provider, {
221
+ /* @__PURE__ */ F.createElement($.Provider, {
182
222
  value: null
183
- }, typeof o == "function" ? o(n, a) : I.cloneElement(I.Children.only(o), a))
223
+ }, typeof o == "function" ? o(n, p) : F.cloneElement(F.Children.only(o), p))
184
224
  );
185
- }, p;
186
- }(I.Component);
187
- x.contextType = X;
225
+ }, s;
226
+ }(F.Component);
227
+ x.contextType = $;
188
228
  x.propTypes = process.env.NODE_ENV !== "production" ? {
189
229
  /**
190
230
  * A React reference to DOM element that need to transition:
@@ -197,10 +237,10 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
197
237
  * (see
198
238
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
199
239
  */
200
- nodeRef: e.shape({
201
- current: typeof Element > "u" ? e.any : function(r, p, s, i, n, t) {
202
- var o = r[p];
203
- return e.instanceOf(o && "ownerDocument" in o ? o.ownerDocument.defaultView.Element : Element)(r, p, s, i, n, t);
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);
204
244
  }
205
245
  }),
206
246
  /**
@@ -217,23 +257,23 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
217
257
  * </Transition>
218
258
  * ```
219
259
  */
220
- children: e.oneOfType([e.func.isRequired, e.element.isRequired]).isRequired,
260
+ children: t.oneOfType([t.func.isRequired, t.element.isRequired]).isRequired,
221
261
  /**
222
262
  * Show the component; triggers the enter or exit states
223
263
  */
224
- in: e.bool,
264
+ in: t.bool,
225
265
  /**
226
266
  * By default the child component is mounted immediately along with
227
267
  * the parent `Transition` component. If you want to "lazy mount" the component on the
228
268
  * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
229
269
  * mounted, even on "exited", unless you also specify `unmountOnExit`.
230
270
  */
231
- mountOnEnter: e.bool,
271
+ mountOnEnter: t.bool,
232
272
  /**
233
273
  * By default the child component stays mounted after it reaches the `'exited'` state.
234
274
  * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
235
275
  */
236
- unmountOnExit: e.bool,
276
+ unmountOnExit: t.bool,
237
277
  /**
238
278
  * By default the child component does not perform the enter transition when
239
279
  * it first mounts, regardless of the value of `in`. If you want this
@@ -245,15 +285,15 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
245
285
  * > additional `.appear-*` classes, that way you can choose to style it
246
286
  * > differently.
247
287
  */
248
- appear: e.bool,
288
+ appear: t.bool,
249
289
  /**
250
290
  * Enable or disable enter transitions.
251
291
  */
252
- enter: e.bool,
292
+ enter: t.bool,
253
293
  /**
254
294
  * Enable or disable exit transitions.
255
295
  */
256
- exit: e.bool,
296
+ exit: t.bool,
257
297
  /**
258
298
  * The duration of the transition, in milliseconds.
259
299
  * Required unless `addEndListener` is provided.
@@ -280,12 +320,12 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
280
320
  *
281
321
  * @type {number | { enter?: number, exit?: number, appear?: number }}
282
322
  */
283
- timeout: function(p) {
284
- var s = fe;
285
- p.addEndListener || (s = s.isRequired);
286
- for (var i = arguments.length, n = new Array(i > 1 ? i - 1 : 0), t = 1; t < i; t++)
287
- n[t - 1] = arguments[t];
288
- return s.apply(void 0, [p].concat(n));
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));
289
329
  },
290
330
  /**
291
331
  * Add a custom transition end trigger. Called with the transitioning
@@ -301,7 +341,7 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
301
341
  * }}
302
342
  * ```
303
343
  */
304
- addEndListener: e.func,
344
+ addEndListener: t.func,
305
345
  /**
306
346
  * Callback fired before the "entering" status is applied. An extra parameter
307
347
  * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
@@ -310,7 +350,7 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
310
350
  *
311
351
  * @type Function(node: HtmlElement, isAppearing: bool) -> void
312
352
  */
313
- onEnter: e.func,
353
+ onEnter: t.func,
314
354
  /**
315
355
  * Callback fired after the "entering" status is applied. An extra parameter
316
356
  * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
@@ -319,7 +359,7 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
319
359
  *
320
360
  * @type Function(node: HtmlElement, isAppearing: bool)
321
361
  */
322
- onEntering: e.func,
362
+ onEntering: t.func,
323
363
  /**
324
364
  * Callback fired after the "entered" status is applied. An extra parameter
325
365
  * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
@@ -328,7 +368,7 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
328
368
  *
329
369
  * @type Function(node: HtmlElement, isAppearing: bool) -> void
330
370
  */
331
- onEntered: e.func,
371
+ onEntered: t.func,
332
372
  /**
333
373
  * Callback fired before the "exiting" status is applied.
334
374
  *
@@ -336,7 +376,7 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
336
376
  *
337
377
  * @type Function(node: HtmlElement) -> void
338
378
  */
339
- onExit: e.func,
379
+ onExit: t.func,
340
380
  /**
341
381
  * Callback fired after the "exiting" status is applied.
342
382
  *
@@ -344,7 +384,7 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
344
384
  *
345
385
  * @type Function(node: HtmlElement) -> void
346
386
  */
347
- onExiting: e.func,
387
+ onExiting: t.func,
348
388
  /**
349
389
  * Callback fired after the "exited" status is applied.
350
390
  *
@@ -352,7 +392,7 @@ x.propTypes = process.env.NODE_ENV !== "production" ? {
352
392
  *
353
393
  * @type Function(node: HtmlElement) -> void
354
394
  */
355
- onExited: e.func
395
+ onExited: t.func
356
396
  } : {};
357
397
  function P() {
358
398
  }
@@ -374,147 +414,102 @@ x.UNMOUNTED = M;
374
414
  x.EXITED = S;
375
415
  x.ENTERING = R;
376
416
  x.ENTERED = D;
377
- x.EXITING = B;
378
- function A(r, p) {
379
- const {
380
- className: s,
381
- elementType: i,
382
- ownerState: n,
383
- externalForwardedProps: t,
384
- getSlotOwnerState: o,
385
- internalForwardedProps: a,
386
- ...l
387
- } = p, {
388
- component: c,
389
- slots: d = {
390
- [r]: void 0
391
- },
392
- slotProps: b = {
393
- [r]: void 0
394
- },
395
- ...y
396
- } = t, T = d[r] || i, v = ne(b[r], n), {
397
- props: {
398
- component: C,
399
- ...m
400
- },
401
- internalRef: g
402
- } = oe({
403
- className: s,
404
- ...l,
405
- externalForwardedProps: r === "root" ? y : void 0,
406
- externalSlotProps: v
407
- }), k = V(g, v == null ? void 0 : v.ref, p.ref), N = o ? o(m) : {}, E = {
408
- ...n,
409
- ...N
410
- }, O = r === "root" ? C || c : C, f = ie(T, {
411
- ...r === "root" && !c && !d[r] && a,
412
- ...r !== "root" && !d[r] && a,
413
- ...m,
414
- ...O && {
415
- as: O
416
- },
417
- ref: k
418
- }, E);
419
- return Object.keys(N).forEach((w) => {
420
- delete f[w];
421
- }), [T, f];
422
- }
423
- const Ee = (r) => r.scrollTop;
424
- function G(r, p) {
417
+ x.EXITING = q;
418
+ const Et = (r) => r.scrollTop;
419
+ function V(r, s) {
425
420
  const {
426
- timeout: s,
421
+ timeout: a,
427
422
  easing: i,
428
423
  style: n = {}
429
424
  } = r;
430
425
  return {
431
- duration: n.transitionDuration ?? (typeof s == "number" ? s : s[p.mode] || 0),
432
- easing: n.transitionTimingFunction ?? (typeof i == "object" ? i[p.mode] : i),
426
+ duration: n.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
427
+ easing: n.transitionTimingFunction ?? (typeof i == "object" ? i[s.mode] : i),
433
428
  delay: n.transitionDelay
434
429
  };
435
430
  }
436
- const he = {
431
+ const ht = {
437
432
  entering: {
438
433
  opacity: 1
439
434
  },
440
435
  entered: {
441
436
  opacity: 1
442
437
  }
443
- }, z = /* @__PURE__ */ j.forwardRef(function(p, s) {
444
- const i = re(), n = {
438
+ }, J = /* @__PURE__ */ j.forwardRef(function(s, a) {
439
+ const i = rt(), n = {
445
440
  enter: i.transitions.duration.enteringScreen,
446
441
  exit: i.transitions.duration.leavingScreen
447
442
  }, {
448
- addEndListener: t,
443
+ addEndListener: e,
449
444
  appear: o = !0,
450
- children: a,
451
- easing: l,
452
- in: c,
445
+ children: p,
446
+ easing: u,
447
+ in: l,
453
448
  onEnter: d,
454
- onEntered: b,
449
+ onEntered: v,
455
450
  onEntering: y,
456
451
  onExit: T,
457
- onExited: v,
452
+ onExited: b,
458
453
  onExiting: C,
459
454
  style: m,
460
455
  timeout: g = n,
461
456
  // eslint-disable-next-line react/prop-types
462
457
  TransitionComponent: k = x,
463
- ...N
464
- } = p, E = j.useRef(null), O = V(E, de(a), s), f = (u) => (h) => {
465
- if (u) {
458
+ ...O
459
+ } = s, E = j.useRef(null), N = X(E, dt(p), a), f = (c) => (h) => {
460
+ if (c) {
466
461
  const L = E.current;
467
- h === void 0 ? u(L) : u(L, h);
462
+ h === void 0 ? c(L) : c(L, h);
468
463
  }
469
- }, w = f(y), F = f((u, h) => {
470
- Ee(u);
471
- const L = G({
464
+ }, w = f(y), U = f((c, h) => {
465
+ Et(c);
466
+ const L = V({
472
467
  style: m,
473
468
  timeout: g,
474
- easing: l
469
+ easing: u
475
470
  }, {
476
471
  mode: "enter"
477
472
  });
478
- u.style.webkitTransition = i.transitions.create("opacity", L), u.style.transition = i.transitions.create("opacity", L), d && d(u, h);
479
- }), J = f(b), K = f(C), Q = f((u) => {
480
- const h = G({
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({
481
476
  style: m,
482
477
  timeout: g,
483
- easing: l
478
+ easing: u
484
479
  }, {
485
480
  mode: "exit"
486
481
  });
487
- u.style.webkitTransition = i.transitions.create("opacity", h), u.style.transition = i.transitions.create("opacity", h), T && T(u);
488
- }), Y = f(v);
489
- return /* @__PURE__ */ _(k, {
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, {
490
485
  appear: o,
491
- in: c,
486
+ in: l,
492
487
  nodeRef: E,
493
- onEnter: F,
494
- onEntered: J,
488
+ onEnter: U,
489
+ onEntered: _,
495
490
  onEntering: w,
496
491
  onExit: Q,
497
492
  onExited: Y,
498
493
  onExiting: K,
499
- addEndListener: (u) => {
500
- t && t(E.current, u);
494
+ addEndListener: (c) => {
495
+ e && e(E.current, c);
501
496
  },
502
497
  timeout: g,
503
- ...N,
504
- children: (u, h) => /* @__PURE__ */ j.cloneElement(a, {
498
+ ...O,
499
+ children: (c, h) => /* @__PURE__ */ j.cloneElement(p, {
505
500
  style: {
506
501
  opacity: 0,
507
- visibility: u === "exited" && !c ? "hidden" : void 0,
508
- ...he[u],
502
+ visibility: c === "exited" && !l ? "hidden" : void 0,
503
+ ...ht[c],
509
504
  ...m,
510
- ...a.props.style
505
+ ...p.props.style
511
506
  },
512
- ref: O,
507
+ ref: N,
513
508
  ...h
514
509
  })
515
510
  });
516
511
  });
517
- process.env.NODE_ENV !== "production" && (z.propTypes = {
512
+ process.env.NODE_ENV !== "production" && (J.propTypes = {
518
513
  // ┌────────────────────────────── Warning ──────────────────────────────┐
519
514
  // │ These PropTypes are generated from the TypeScript type definitions. │
520
515
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -524,57 +519,57 @@ process.env.NODE_ENV !== "production" && (z.propTypes = {
524
519
  * node and a done callback. Allows for more fine grained transition end
525
520
  * logic. Note: Timeouts are still used as a fallback if provided.
526
521
  */
527
- addEndListener: e.func,
522
+ addEndListener: t.func,
528
523
  /**
529
524
  * Perform the enter transition when it first mounts if `in` is also `true`.
530
525
  * Set this to `false` to disable this behavior.
531
526
  * @default true
532
527
  */
533
- appear: e.bool,
528
+ appear: t.bool,
534
529
  /**
535
530
  * A single child content element.
536
531
  */
537
- children: H.isRequired,
532
+ children: z.isRequired,
538
533
  /**
539
534
  * The transition timing function.
540
535
  * You may specify a single easing or a object containing enter and exit values.
541
536
  */
542
- easing: e.oneOfType([e.shape({
543
- enter: e.string,
544
- exit: e.string
545
- }), e.string]),
537
+ easing: t.oneOfType([t.shape({
538
+ enter: t.string,
539
+ exit: t.string
540
+ }), t.string]),
546
541
  /**
547
542
  * If `true`, the component will transition in.
548
543
  */
549
- in: e.bool,
544
+ in: t.bool,
550
545
  /**
551
546
  * @ignore
552
547
  */
553
- onEnter: e.func,
548
+ onEnter: t.func,
554
549
  /**
555
550
  * @ignore
556
551
  */
557
- onEntered: e.func,
552
+ onEntered: t.func,
558
553
  /**
559
554
  * @ignore
560
555
  */
561
- onEntering: e.func,
556
+ onEntering: t.func,
562
557
  /**
563
558
  * @ignore
564
559
  */
565
- onExit: e.func,
560
+ onExit: t.func,
566
561
  /**
567
562
  * @ignore
568
563
  */
569
- onExited: e.func,
564
+ onExited: t.func,
570
565
  /**
571
566
  * @ignore
572
567
  */
573
- onExiting: e.func,
568
+ onExiting: t.func,
574
569
  /**
575
570
  * @ignore
576
571
  */
577
- style: e.object,
572
+ style: t.object,
578
573
  /**
579
574
  * The duration for the transition, in milliseconds.
580
575
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -583,31 +578,37 @@ process.env.NODE_ENV !== "production" && (z.propTypes = {
583
578
  * exit: theme.transitions.duration.leavingScreen,
584
579
  * }
585
580
  */
586
- timeout: e.oneOfType([e.number, e.shape({
587
- appear: e.number,
588
- enter: e.number,
589
- exit: e.number
581
+ timeout: t.oneOfType([t.number, t.shape({
582
+ appear: t.number,
583
+ enter: t.number,
584
+ exit: t.number
590
585
  })])
591
586
  });
592
- function xe(r) {
587
+ function xt(r) {
593
588
  return Z("MuiBackdrop", r);
594
589
  }
595
- const Le = ee("MuiBackdrop", ["root", "invisible"]), be = (r) => {
590
+ const Lt = tt("MuiBackdrop", ["root", "invisible"]), vt = (r) => {
591
+ const {
592
+ ownerState: s,
593
+ ...a
594
+ } = r;
595
+ return a;
596
+ }, bt = (r) => {
596
597
  const {
597
- classes: p,
598
- invisible: s
598
+ classes: s,
599
+ invisible: a
599
600
  } = r;
600
- return pe({
601
- root: ["root", s && "invisible"]
602
- }, xe, p);
603
- }, ve = se("div", {
601
+ return pt({
602
+ root: ["root", a && "invisible"]
603
+ }, xt, s);
604
+ }, gt = st("div", {
604
605
  name: "MuiBackdrop",
605
606
  slot: "Root",
606
- overridesResolver: (r, p) => {
607
+ overridesResolver: (r, s) => {
607
608
  const {
608
- ownerState: s
609
+ ownerState: a
609
610
  } = r;
610
- return [p.root, s.invisible && p.invisible];
611
+ return [s.root, a.invisible && s.invisible];
611
612
  }
612
613
  })({
613
614
  position: "fixed",
@@ -628,62 +629,62 @@ const Le = ee("MuiBackdrop", ["root", "invisible"]), be = (r) => {
628
629
  backgroundColor: "transparent"
629
630
  }
630
631
  }]
631
- }), ge = /* @__PURE__ */ j.forwardRef(function(p, s) {
632
- const i = ae({
633
- props: p,
632
+ }), yt = /* @__PURE__ */ j.forwardRef(function(s, a) {
633
+ const i = at({
634
+ props: s,
634
635
  name: "MuiBackdrop"
635
636
  }), {
636
637
  children: n,
637
- className: t,
638
+ className: e,
638
639
  component: o = "div",
639
- invisible: a = !1,
640
- open: l,
641
- components: c = {},
640
+ invisible: p = !1,
641
+ open: u,
642
+ components: l = {},
642
643
  componentsProps: d = {},
643
- slotProps: b = {},
644
+ slotProps: v = {},
644
645
  slots: y = {},
645
646
  TransitionComponent: T,
646
- transitionDuration: v,
647
+ transitionDuration: b,
647
648
  ...C
648
649
  } = i, m = {
649
650
  ...i,
650
651
  component: o,
651
- invisible: a
652
- }, g = be(m), k = {
652
+ invisible: p
653
+ }, g = bt(m), k = {
653
654
  transition: T,
654
- root: c.Root,
655
+ root: l.Root,
655
656
  ...y
656
- }, N = {
657
+ }, O = {
657
658
  ...d,
658
- ...b
659
+ ...v
659
660
  }, E = {
660
661
  slots: k,
661
- slotProps: N
662
- }, [O, f] = A("root", {
663
- elementType: ve,
662
+ slotProps: O
663
+ }, [N, f] = A("root", {
664
+ elementType: gt,
664
665
  externalForwardedProps: E,
665
- className: te(g.root, t),
666
+ className: et(g.root, e),
666
667
  ownerState: m
667
- }), [w, F] = A("transition", {
668
- elementType: z,
668
+ }), [w, U] = A("transition", {
669
+ elementType: J,
669
670
  externalForwardedProps: E,
670
671
  ownerState: m
671
- });
672
- return delete F.ownerState, /* @__PURE__ */ _(w, {
673
- in: l,
674
- timeout: v,
672
+ }), _ = vt(U);
673
+ return /* @__PURE__ */ B(w, {
674
+ in: u,
675
+ timeout: b,
675
676
  ...C,
676
- ...F,
677
- children: /* @__PURE__ */ _(O, {
677
+ ..._,
678
+ children: /* @__PURE__ */ B(N, {
678
679
  "aria-hidden": !0,
679
680
  ...f,
680
681
  classes: g,
681
- ref: s,
682
+ ref: a,
682
683
  children: n
683
684
  })
684
685
  });
685
686
  });
686
- process.env.NODE_ENV !== "production" && (ge.propTypes = {
687
+ process.env.NODE_ENV !== "production" && (yt.propTypes = {
687
688
  // ┌────────────────────────────── Warning ──────────────────────────────┐
688
689
  // │ These PropTypes are generated from the TypeScript type definitions. │
689
690
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -691,20 +692,20 @@ process.env.NODE_ENV !== "production" && (ge.propTypes = {
691
692
  /**
692
693
  * The content of the component.
693
694
  */
694
- children: e.node,
695
+ children: t.node,
695
696
  /**
696
697
  * Override or extend the styles applied to the component.
697
698
  */
698
- classes: e.object,
699
+ classes: t.object,
699
700
  /**
700
701
  * @ignore
701
702
  */
702
- className: e.string,
703
+ className: t.string,
703
704
  /**
704
705
  * The component used for the root node.
705
706
  * Either a string to use a HTML element or a component.
706
707
  */
707
- component: e.elementType,
708
+ component: t.elementType,
708
709
  /**
709
710
  * The components used for each slot inside.
710
711
  *
@@ -712,8 +713,8 @@ process.env.NODE_ENV !== "production" && (ge.propTypes = {
712
713
  *
713
714
  * @default {}
714
715
  */
715
- components: e.shape({
716
- Root: e.elementType
716
+ components: t.shape({
717
+ Root: t.elementType
717
718
  }),
718
719
  /**
719
720
  * The extra props for the slot components.
@@ -723,66 +724,66 @@ process.env.NODE_ENV !== "production" && (ge.propTypes = {
723
724
  *
724
725
  * @default {}
725
726
  */
726
- componentsProps: e.shape({
727
- root: e.object
727
+ componentsProps: t.shape({
728
+ root: t.object
728
729
  }),
729
730
  /**
730
731
  * If `true`, the backdrop is invisible.
731
732
  * It can be used when rendering a popover or a custom select component.
732
733
  * @default false
733
734
  */
734
- invisible: e.bool,
735
+ invisible: t.bool,
735
736
  /**
736
737
  * If `true`, the component is shown.
737
738
  */
738
- open: e.bool.isRequired,
739
+ open: t.bool.isRequired,
739
740
  /**
740
741
  * The props used for each slot inside.
741
742
  * @default {}
742
743
  */
743
- slotProps: e.shape({
744
- root: e.oneOfType([e.func, e.object]),
745
- transition: e.oneOfType([e.func, e.object])
744
+ slotProps: t.shape({
745
+ root: t.oneOfType([t.func, t.object]),
746
+ transition: t.oneOfType([t.func, t.object])
746
747
  }),
747
748
  /**
748
749
  * The components used for each slot inside.
749
750
  * @default {}
750
751
  */
751
- slots: e.shape({
752
- root: e.elementType,
753
- transition: e.elementType
752
+ slots: t.shape({
753
+ root: t.elementType,
754
+ transition: t.elementType
754
755
  }),
755
756
  /**
756
757
  * The system prop that allows defining system overrides as well as additional CSS styles.
757
758
  */
758
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
759
+ sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
759
760
  /**
760
761
  * The component used for the transition.
761
762
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
762
763
  * @default Fade
763
764
  */
764
- TransitionComponent: e.elementType,
765
+ TransitionComponent: t.elementType,
765
766
  /**
766
767
  * The duration for the transition, in milliseconds.
767
768
  * You may specify a single timeout for all transitions, or individually with an object.
768
769
  */
769
- transitionDuration: e.oneOfType([e.number, e.shape({
770
- appear: e.number,
771
- enter: e.number,
772
- exit: e.number
770
+ transitionDuration: t.oneOfType([t.number, t.shape({
771
+ appear: t.number,
772
+ enter: t.number,
773
+ exit: t.number
773
774
  })])
774
775
  });
775
776
  export {
776
- ge as B,
777
- z as F,
777
+ yt as B,
778
+ J as F,
778
779
  x as T,
779
- de as a,
780
- Le as b,
781
- G as c,
782
- we as d,
783
- H as e,
784
- me as f,
785
- xe as g,
786
- Ee as r,
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,
787
788
  A as u
788
789
  };