@cgi-learning-hub/ui 1.0.0-dev.1721225898 → 1.0.0-dev.1721824898

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 (130) hide show
  1. package/dist/Box-CsYXR6Le.cjs +1 -0
  2. package/dist/{Box-VYRU2gLm.js → Box-vGRO-On_.js} +18 -19
  3. package/dist/ButtonBase-VIKeNyAr.cjs +75 -0
  4. package/dist/{ButtonBase-BN5QfC5l.js → ButtonBase-vONl_zxO.js} +29 -30
  5. package/dist/{CircularProgress-CgjNSTmB.js → CircularProgress-BDwTzcEn.js} +18 -19
  6. package/dist/CircularProgress-C0MOR9P7.cjs +28 -0
  7. package/dist/{DefaultButton-DVHllq2U.js → DefaultButton-BD1TIeNP.js} +31 -33
  8. package/dist/DefaultButton-DV0j1bMY.cjs +1 -0
  9. package/dist/IconButton-4zP9d1M9.cjs +2 -0
  10. package/dist/{IconButton-ysdlpOVe.js → IconButton-Ctm1Peef.js} +6 -7
  11. package/dist/InputBase-DMbFw6s1.cjs +3 -0
  12. package/dist/{InputBase-CR3zhf1t.js → InputBase-Dqfior4W.js} +41 -43
  13. package/dist/{SearchInput-DGF3NOLB.js → SearchInput-Clr0qHPm.js} +33 -34
  14. package/dist/SearchInput-CruiB2CO.cjs +1 -0
  15. package/dist/{Stack-BzRRUmUj.js → Stack-CwklSaeG.js} +43 -44
  16. package/dist/Stack-v4g12Xre.cjs +1 -0
  17. package/dist/Tabs-CLr003cV.cjs +4 -0
  18. package/dist/{Tabs-CObzeuUj.js → Tabs-D-RPVuW4.js} +131 -119
  19. package/dist/{TextInput-61DYDrkn.cjs → TextInput-Ba5ly1H9.cjs} +11 -11
  20. package/dist/{TextInput-CjRiCEow.js → TextInput-BxI4zwrY.js} +258 -258
  21. package/dist/{TimePicker-BaGeKkSS.js → TimePicker-DK-Q99ep.js} +9091 -7190
  22. package/dist/TimePicker-DYEkxpHp.cjs +113 -0
  23. package/dist/Typography-C5AoCX91.cjs +1 -0
  24. package/dist/{Typography-DDYzN_3X.js → Typography-Cl3kH-A8.js} +12 -13
  25. package/dist/components/Dropzone/Dropzone.cjs.js +3 -3
  26. package/dist/components/Dropzone/Dropzone.es.js +33 -33
  27. package/dist/components/Loader/Loader.cjs.js +1 -1
  28. package/dist/components/Loader/Loader.es.js +1 -1
  29. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  30. package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
  31. package/dist/components/PaperHeader/PaperHeader.stories.cjs.js +1 -1
  32. package/dist/components/PaperHeader/PaperHeader.stories.es.js +2 -2
  33. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  34. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
  35. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.cjs.js +1 -1
  36. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +8 -9
  37. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  38. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  39. package/dist/components/buttons/IconButton.stories.cjs.js +1 -1
  40. package/dist/components/buttons/IconButton.stories.es.js +3 -3
  41. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  42. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  43. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.cjs.js +1 -1
  44. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  45. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  46. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  47. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.cjs.js +1 -1
  48. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  49. package/dist/components/buttons/index.cjs.js +1 -1
  50. package/dist/components/buttons/index.es.js +1 -1
  51. package/dist/components/feedback/QueryError/QueryError.cjs.js +1 -1
  52. package/dist/components/feedback/QueryError/QueryError.es.js +1 -1
  53. package/dist/components/index.cjs.js +1 -1
  54. package/dist/components/index.d.ts +3 -1
  55. package/dist/components/index.es.js +273 -226
  56. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  57. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +14 -15
  58. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  59. package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
  60. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  61. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
  62. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  63. package/dist/components/inputs/SearchInput/index.es.js +1 -1
  64. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  65. package/dist/components/inputs/TextInput/TextInput.es.js +1 -1
  66. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  67. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  68. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  69. package/dist/components/inputs/TextInput/index.es.js +1 -1
  70. package/dist/components/inputs/index.cjs.js +1 -1
  71. package/dist/components/inputs/index.es.js +2 -2
  72. package/dist/components/lists/FileList/FileList.cjs.js +1 -1
  73. package/dist/components/lists/FileList/FileList.es.js +1 -1
  74. package/dist/components/lists/FileList/FileListItem.cjs.js +1 -1
  75. package/dist/components/lists/FileList/FileListItem.es.js +6 -6
  76. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  77. package/dist/components/lists/TabList.stories.es.js +36 -38
  78. package/dist/{createSvgIcon-DtHN6kOe.cjs → createSvgIcon-B70pkSwO.cjs} +2 -2
  79. package/dist/{createSvgIcon-XuLYHpIN.js → createSvgIcon-Blbo0WDd.js} +12 -12
  80. package/dist/{createSvgIcon-D0vr-xfg.js → createSvgIcon-BwGNMrhW.js} +9 -10
  81. package/dist/createSvgIcon-n-HUhGNK.cjs +1 -0
  82. package/dist/identifier-J0ZxxQLU.cjs +50 -0
  83. package/dist/identifier-wKuu0zOr.js +3047 -0
  84. package/dist/index.cjs.js +1 -1
  85. package/dist/index.es.js +273 -226
  86. package/dist/{refType-DNsX9F1k.js → refType-Bqz8QGtc.js} +1 -1
  87. package/dist/{refType-P4W7j6GU.cjs → refType-DNJbSwsx.cjs} +1 -1
  88. package/dist/styled-C04Dz9vm.cjs +17 -0
  89. package/dist/styled-CFCmdTd8.js +533 -0
  90. package/dist/{useTheme-BlWZbBeO.cjs → useTheme-B4p2k0PU.cjs} +1 -1
  91. package/dist/useTheme-C65ChbGW.cjs +1 -0
  92. package/dist/{useTheme-DmZo1zFM.js → useTheme-D5vjhuQC.js} +1 -1
  93. package/dist/{useTheme-0LP2yOaO.js → useTheme-DWyCcDbs.js} +43 -32
  94. package/dist/useThemeProps-CEfrd8SJ.cjs +1 -0
  95. package/dist/{useThemeProps-CuBdueUZ.js → useThemeProps-CZSYSmRG.js} +2 -2
  96. package/package.json +1 -1
  97. package/dist/Box-BQxBYVZt.cjs +0 -1
  98. package/dist/ButtonBase-BZD9sI_c.cjs +0 -75
  99. package/dist/CircularProgress-C_a44--B.cjs +0 -28
  100. package/dist/DefaultButton-BOHgRr6G.cjs +0 -1
  101. package/dist/IconButton-DQ2kDyxh.cjs +0 -2
  102. package/dist/InputBase-CCpgZdXG.cjs +0 -3
  103. package/dist/LocalizationProvider-BGJCD07W.js +0 -592
  104. package/dist/LocalizationProvider-C0yQiDF6.cjs +0 -5
  105. package/dist/SearchInput-CvqVbm-Q.cjs +0 -1
  106. package/dist/Stack-DjqxU_kp.cjs +0 -1
  107. package/dist/Tabs-C91eu1Uw.cjs +0 -4
  108. package/dist/TimePicker-C24cztnp.cjs +0 -74
  109. package/dist/Typography-CX8IJDUK.cjs +0 -1
  110. package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +0 -1
  111. package/dist/components/LocalizationProvider/LocalizationProvider.d.ts +0 -7
  112. package/dist/components/LocalizationProvider/LocalizationProvider.es.js +0 -6
  113. package/dist/components/LocalizationProvider/index.cjs.js +0 -1
  114. package/dist/components/LocalizationProvider/index.d.ts +0 -2
  115. package/dist/components/LocalizationProvider/index.es.js +0 -4
  116. package/dist/createSvgIcon-BhmdtpFQ.cjs +0 -1
  117. package/dist/defaultTheme-43URU5cB.cjs +0 -1
  118. package/dist/defaultTheme-kWAisKX-.js +0 -19
  119. package/dist/extendSxProp-BH27e4Uq.js +0 -738
  120. package/dist/extendSxProp-DguFtn4z.cjs +0 -10
  121. package/dist/fr-Cv05qO2i.cjs +0 -1
  122. package/dist/fr-VAA6DQIZ.js +0 -321
  123. package/dist/identifier-DN9zMdjb.cjs +0 -42
  124. package/dist/identifier-wD7TMRod.js +0 -2358
  125. package/dist/styled-DBkKGFww.js +0 -496
  126. package/dist/styled-vrKxhnRS.cjs +0 -17
  127. package/dist/useTheme-BjiEuL2C.cjs +0 -1
  128. package/dist/useThemeProps-BbYOXO_x.cjs +0 -1
  129. package/dist/useThemeProps-C1QhfJXI.js +0 -17
  130. package/dist/useThemeProps-zfqmINoS.cjs +0 -1
@@ -1,16 +1,16 @@
1
- import { d as me, e as Le, _ as b, h as ae, P as o } from "./identifier-wD7TMRod.js";
1
+ import { d as st, s as _, u as me, c as ve, b as at } from "./styled-CFCmdTd8.js";
2
+ import { T as it, k as Se, m as ye, n as Le, _ as b, s as ae, t as k, P as o } from "./identifier-wKuu0zOr.js";
3
+ import { u as ct } from "./useThemeProps-CZSYSmRG.js";
2
4
  import * as u from "react";
3
- import { g as ve, c as k } from "./extendSxProp-BH27e4Uq.js";
4
- import { s as _, u as Se, c as ye, a as st } from "./styled-DBkKGFww.js";
5
5
  import { jsxs as Q, jsx as C } from "react/jsx-runtime";
6
- import { B as ke } from "./ButtonBase-BN5QfC5l.js";
7
- import { u as at } from "./unsupportedProp-BuVD30Gh.js";
8
- import { u as Fe, a as se, b as it } from "./useTheme-0LP2yOaO.js";
9
- import { u as ct } from "./useForkRef-DwN_Iz9R.js";
10
- import { a as $e, d as Ae, o as dt } from "./ownerWindow-C7EH1lr6.js";
6
+ import { B as ke } from "./ButtonBase-vONl_zxO.js";
7
+ import { u as dt } from "./unsupportedProp-BuVD30Gh.js";
8
+ import { a as $e, b as se, u as ut } from "./useTheme-DWyCcDbs.js";
9
+ import { u as pt } from "./useForkRef-DwN_Iz9R.js";
10
+ import { a as Fe, d as De, o as ft } from "./ownerWindow-C7EH1lr6.js";
11
11
  import { u as be } from "./useTimeout-BdvDipeg.js";
12
- import { r as ut } from "./refType-DNsX9F1k.js";
13
- import { c as De } from "./createSvgIcon-D0vr-xfg.js";
12
+ import { r as bt } from "./refType-Bqz8QGtc.js";
13
+ import { c as Ae } from "./createSvgIcon-BwGNMrhW.js";
14
14
  let X;
15
15
  function je() {
16
16
  if (X)
@@ -18,7 +18,7 @@ function je() {
18
18
  const e = document.createElement("div"), t = document.createElement("div");
19
19
  return t.style.width = "10px", t.style.height = "1px", e.appendChild(t), e.dir = "rtl", e.style.fontSize = "14px", e.style.width = "4px", e.style.height = "1px", e.style.position = "absolute", e.style.top = "-1000px", e.style.overflow = "scroll", document.body.appendChild(e), X = "reverse", e.scrollLeft > 0 ? X = "default" : (e.scrollLeft = 1, e.scrollLeft === 0 && (X = "negative")), document.body.removeChild(e), X;
20
20
  }
21
- function pt(e, t) {
21
+ function ht(e, t) {
22
22
  const n = e.scrollLeft;
23
23
  if (t !== "rtl")
24
24
  return n;
@@ -31,10 +31,21 @@ function pt(e, t) {
31
31
  return n;
32
32
  }
33
33
  }
34
- function ft(e) {
35
- return me("MuiTab", e);
34
+ function Zt({
35
+ props: e,
36
+ name: t
37
+ }) {
38
+ return ct({
39
+ props: e,
40
+ name: t,
41
+ defaultTheme: st,
42
+ themeId: it
43
+ });
44
+ }
45
+ function mt(e) {
46
+ return Se("MuiTab", e);
36
47
  }
37
- const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), L = bt, ht = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], mt = (e) => {
48
+ const vt = ye("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrimary", "textColorSecondary", "selected", "disabled", "fullWidth", "wrapped", "iconWrapper"]), L = vt, St = ["className", "disabled", "disableFocusRipple", "fullWidth", "icon", "iconPosition", "indicator", "label", "onChange", "onClick", "onFocus", "selected", "selectionFollowsFocus", "textColor", "value", "wrapped"], yt = (e) => {
38
49
  const {
39
50
  classes: t,
40
51
  textColor: n,
@@ -48,8 +59,8 @@ const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
48
59
  root: ["root", d && m && "labelIcon", `textColor${Le(n)}`, c && "fullWidth", i && "wrapped", h && "selected", p && "disabled"],
49
60
  iconWrapper: ["iconWrapper"]
50
61
  };
51
- return ye(y, ft, t);
52
- }, vt = _(ke, {
62
+ return ve(y, mt, t);
63
+ }, gt = _(ke, {
53
64
  name: "MuiTab",
54
65
  slot: "Root",
55
66
  overridesResolver: (e, t) => {
@@ -124,7 +135,7 @@ const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
124
135
  }, t.wrapped && {
125
136
  fontSize: e.typography.pxToRem(12)
126
137
  })), _e = /* @__PURE__ */ u.forwardRef(function(t, n) {
127
- const c = Se({
138
+ const c = me({
128
139
  props: t,
129
140
  name: "MuiTab"
130
141
  }), {
@@ -140,16 +151,16 @@ const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
140
151
  label: T,
141
152
  onChange: v,
142
153
  onClick: I,
143
- onFocus: F,
154
+ onFocus: $,
144
155
  // eslint-disable-next-line react/prop-types
145
156
  selected: E,
146
157
  // eslint-disable-next-line react/prop-types
147
158
  selectionFollowsFocus: g,
148
159
  // eslint-disable-next-line react/prop-types
149
160
  textColor: H = "inherit",
150
- value: N,
161
+ value: M,
151
162
  wrapped: ie = !1
152
- } = c, V = ae(c, ht), Y = b({}, c, {
163
+ } = c, V = ae(c, St), Y = b({}, c, {
153
164
  disabled: d,
154
165
  disableFocusRipple: m,
155
166
  selected: E,
@@ -159,14 +170,14 @@ const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
159
170
  fullWidth: h,
160
171
  textColor: H,
161
172
  wrapped: ie
162
- }), U = mt(Y), $ = p && T && /* @__PURE__ */ u.isValidElement(p) ? /* @__PURE__ */ u.cloneElement(p, {
173
+ }), U = yt(Y), F = p && T && /* @__PURE__ */ u.isValidElement(p) ? /* @__PURE__ */ u.cloneElement(p, {
163
174
  className: k(U.iconWrapper, p.props.className)
164
- }) : p, Z = (M) => {
165
- !E && v && v(M, N), I && I(M);
166
- }, P = (M) => {
167
- g && !E && v && v(M, N), F && F(M);
175
+ }) : p, Z = (N) => {
176
+ !E && v && v(N, M), I && I(N);
177
+ }, P = (N) => {
178
+ g && !E && v && v(N, M), $ && $(N);
168
179
  };
169
- return /* @__PURE__ */ Q(vt, b({
180
+ return /* @__PURE__ */ Q(gt, b({
170
181
  focusRipple: !m,
171
182
  className: k(U.root, i),
172
183
  ref: n,
@@ -179,9 +190,9 @@ const bt = ve("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
179
190
  tabIndex: E ? 0 : -1
180
191
  }, V, {
181
192
  children: [y === "top" || y === "start" ? /* @__PURE__ */ Q(u.Fragment, {
182
- children: [$, T]
193
+ children: [F, T]
183
194
  }) : /* @__PURE__ */ Q(u.Fragment, {
184
- children: [T, $]
195
+ children: [T, F]
185
196
  }), w]
186
197
  }));
187
198
  });
@@ -194,7 +205,7 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
194
205
  * This prop isn't supported.
195
206
  * Use the `component` prop if you need to change the children structure.
196
207
  */
197
- children: at,
208
+ children: dt,
198
209
  /**
199
210
  * Override or extend the styles applied to the component.
200
211
  */
@@ -261,18 +272,18 @@ process.env.NODE_ENV !== "production" && (_e.propTypes = {
261
272
  */
262
273
  wrapped: o.bool
263
274
  });
264
- const Gt = _e, St = De(/* @__PURE__ */ C("path", {
275
+ const eo = _e, Tt = Ae(/* @__PURE__ */ C("path", {
265
276
  d: "M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"
266
- }), "KeyboardArrowLeft"), yt = De(/* @__PURE__ */ C("path", {
277
+ }), "KeyboardArrowLeft"), xt = Ae(/* @__PURE__ */ C("path", {
267
278
  d: "M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"
268
279
  }), "KeyboardArrowRight");
269
- function gt(e) {
280
+ function Bt(e) {
270
281
  return (1 + Math.sin(Math.PI * e - Math.PI / 2)) / 2;
271
282
  }
272
- function Tt(e, t, n, c = {}, i = () => {
283
+ function Ct(e, t, n, c = {}, i = () => {
273
284
  }) {
274
285
  const {
275
- ease: d = gt,
286
+ ease: d = Bt,
276
287
  duration: m = 300
277
288
  // standard
278
289
  } = c;
@@ -298,7 +309,7 @@ function Tt(e, t, n, c = {}, i = () => {
298
309
  };
299
310
  return p === n ? (i(new Error("Element already at target position")), w) : (requestAnimationFrame(T), w);
300
311
  }
301
- const xt = ["onChange"], Bt = {
312
+ const wt = ["onChange"], It = {
302
313
  width: 99,
303
314
  height: 99,
304
315
  position: "absolute",
@@ -308,40 +319,40 @@ const xt = ["onChange"], Bt = {
308
319
  function He(e) {
309
320
  const {
310
321
  onChange: t
311
- } = e, n = ae(e, xt), c = u.useRef(), i = u.useRef(null), d = () => {
322
+ } = e, n = ae(e, wt), c = u.useRef(), i = u.useRef(null), d = () => {
312
323
  c.current = i.current.offsetHeight - i.current.clientHeight;
313
324
  };
314
- return ct(() => {
315
- const m = Ae(() => {
325
+ return pt(() => {
326
+ const m = De(() => {
316
327
  const p = c.current;
317
328
  d(), p !== c.current && t(c.current);
318
- }), h = $e(i.current);
329
+ }), h = Fe(i.current);
319
330
  return h.addEventListener("resize", m), () => {
320
331
  m.clear(), h.removeEventListener("resize", m);
321
332
  };
322
333
  }, [t]), u.useEffect(() => {
323
334
  d(), t(c.current);
324
335
  }, [t]), /* @__PURE__ */ C("div", b({
325
- style: Bt,
336
+ style: It,
326
337
  ref: i
327
338
  }, n));
328
339
  }
329
340
  process.env.NODE_ENV !== "production" && (He.propTypes = {
330
341
  onChange: o.func.isRequired
331
342
  });
332
- function Ct(e) {
333
- return me("MuiTabScrollButton", e);
343
+ function Et(e) {
344
+ return Se("MuiTabScrollButton", e);
334
345
  }
335
- const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), It = ["className", "slots", "slotProps", "direction", "orientation", "disabled"], Et = (e) => {
346
+ const Ot = ye("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled"]), Mt = ["className", "slots", "slotProps", "direction", "orientation", "disabled"], Nt = (e) => {
336
347
  const {
337
348
  classes: t,
338
349
  orientation: n,
339
350
  disabled: c
340
351
  } = e;
341
- return ye({
352
+ return ve({
342
353
  root: ["root", n, c && "disabled"]
343
- }, Ct, t);
344
- }, Ot = _(ke, {
354
+ }, Et, t);
355
+ }, Rt = _(ke, {
345
356
  name: "MuiTabScrollButton",
346
357
  slot: "Root",
347
358
  overridesResolver: (e, t) => {
@@ -356,7 +367,7 @@ const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
356
367
  width: 40,
357
368
  flexShrink: 0,
358
369
  opacity: 0.8,
359
- [`&.${wt.disabled}`]: {
370
+ [`&.${Ot.disabled}`]: {
360
371
  opacity: 0
361
372
  }
362
373
  }, e.orientation === "vertical" && {
@@ -367,7 +378,7 @@ const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
367
378
  }
368
379
  })), Ve = /* @__PURE__ */ u.forwardRef(function(t, n) {
369
380
  var c, i;
370
- const d = Se({
381
+ const d = me({
371
382
  props: t,
372
383
  name: "MuiTabScrollButton"
373
384
  }), {
@@ -375,10 +386,10 @@ const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
375
386
  slots: h = {},
376
387
  slotProps: p = {},
377
388
  direction: y
378
- } = d, w = ae(d, It), T = Fe(), v = b({
389
+ } = d, w = ae(d, Mt), T = $e(), v = b({
379
390
  isRtl: T
380
- }, d), I = Et(v), F = (c = h.StartScrollButtonIcon) != null ? c : St, E = (i = h.EndScrollButtonIcon) != null ? i : yt, g = se({
381
- elementType: F,
391
+ }, d), I = Nt(v), $ = (c = h.StartScrollButtonIcon) != null ? c : Tt, E = (i = h.EndScrollButtonIcon) != null ? i : xt, g = se({
392
+ elementType: $,
382
393
  externalSlotProps: p.startScrollButtonIcon,
383
394
  additionalProps: {
384
395
  fontSize: "small"
@@ -392,7 +403,7 @@ const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
392
403
  },
393
404
  ownerState: v
394
405
  });
395
- return /* @__PURE__ */ C(Ot, b({
406
+ return /* @__PURE__ */ C(Rt, b({
396
407
  component: "div",
397
408
  className: k(I.root, m),
398
409
  ref: n,
@@ -400,7 +411,7 @@ const wt = ve("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
400
411
  ownerState: v,
401
412
  tabIndex: null
402
413
  }, w, {
403
- children: y === "left" ? /* @__PURE__ */ C(F, b({}, g)) : /* @__PURE__ */ C(E, b({}, H))
414
+ children: y === "left" ? /* @__PURE__ */ C($, b({}, g)) : /* @__PURE__ */ C(E, b({}, H))
404
415
  }));
405
416
  });
406
417
  process.env.NODE_ENV !== "production" && (Ve.propTypes = {
@@ -455,10 +466,10 @@ process.env.NODE_ENV !== "production" && (Ve.propTypes = {
455
466
  */
456
467
  sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
457
468
  });
458
- function Nt(e) {
459
- return me("MuiTabs", e);
469
+ function Pt(e) {
470
+ return Se("MuiTabs", e);
460
471
  }
461
- const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), he = Mt, Rt = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"], Re = (e, t) => e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : e.firstChild, Pe = (e, t) => e === t ? e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : e.lastChild, ne = (e, t, n) => {
472
+ const Wt = ye("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVertical", "centered", "scroller", "fixed", "scrollableX", "scrollableY", "hideScrollbar", "scrollButtons", "scrollButtonsHideMobile", "indicator"]), he = Wt, zt = ["aria-label", "aria-labelledby", "action", "centered", "children", "className", "component", "allowScrollButtonsMobile", "indicatorColor", "onChange", "orientation", "ScrollButtonComponent", "scrollButtons", "selectionFollowsFocus", "slots", "slotProps", "TabIndicatorProps", "TabScrollButtonProps", "textColor", "value", "variant", "visibleScrollbar"], Re = (e, t) => e === t ? e.firstChild : t && t.nextElementSibling ? t.nextElementSibling : e.firstChild, Pe = (e, t) => e === t ? e.lastChild : t && t.previousElementSibling ? t.previousElementSibling : e.lastChild, ne = (e, t, n) => {
462
473
  let c = !1, i = n(e, t);
463
474
  for (; i; ) {
464
475
  if (i === e.firstChild) {
@@ -474,7 +485,7 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
474
485
  return;
475
486
  }
476
487
  }
477
- }, Pt = (e) => {
488
+ }, Lt = (e) => {
478
489
  const {
479
490
  vertical: t,
480
491
  fixed: n,
@@ -485,7 +496,7 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
485
496
  scrollButtonsHideMobile: h,
486
497
  classes: p
487
498
  } = e;
488
- return ye({
499
+ return ve({
489
500
  root: ["root", t && "vertical"],
490
501
  scroller: ["scroller", n && "fixed", c && "hideScrollbar", i && "scrollableX", d && "scrollableY"],
491
502
  flexContainer: ["flexContainer", t && "flexContainerVertical", m && "centered"],
@@ -493,8 +504,8 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
493
504
  scrollButtons: ["scrollButtons", h && "scrollButtonsHideMobile"],
494
505
  scrollableX: [i && "scrollableX"],
495
506
  hideScrollbar: [c && "hideScrollbar"]
496
- }, Nt, p);
497
- }, Wt = _("div", {
507
+ }, Pt, p);
508
+ }, kt = _("div", {
498
509
  name: "MuiTabs",
499
510
  slot: "Root",
500
511
  overridesResolver: (e, t) => {
@@ -524,7 +535,7 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
524
535
  display: "none"
525
536
  }
526
537
  }
527
- })), zt = _("div", {
538
+ })), $t = _("div", {
528
539
  name: "MuiTabs",
529
540
  slot: "Scroller",
530
541
  overridesResolver: (e, t) => {
@@ -557,7 +568,7 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
557
568
  }, e.scrollableY && {
558
569
  overflowY: "auto",
559
570
  overflowX: "hidden"
560
- })), Lt = _("div", {
571
+ })), Ft = _("div", {
561
572
  name: "MuiTabs",
562
573
  slot: "FlexContainer",
563
574
  overridesResolver: (e, t) => {
@@ -574,7 +585,7 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
574
585
  flexDirection: "column"
575
586
  }, e.centered && {
576
587
  justifyContent: "center"
577
- })), kt = _("span", {
588
+ })), Dt = _("span", {
578
589
  name: "MuiTabs",
579
590
  slot: "Indicator",
580
591
  overridesResolver: (e, t) => t.indicator
@@ -595,7 +606,7 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
595
606
  height: "100%",
596
607
  width: 2,
597
608
  right: 0
598
- })), Ft = _(He)({
609
+ })), At = _(He)({
599
610
  overflowX: "auto",
600
611
  overflowY: "hidden",
601
612
  // Hide dimensionless scrollbar on macOS
@@ -608,10 +619,10 @@ const Mt = ve("MuiTabs", ["root", "vertical", "flexContainer", "flexContainerVer
608
619
  }), We = {};
609
620
  let ze = !1;
610
621
  const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
611
- const c = Se({
622
+ const c = me({
612
623
  props: t,
613
624
  name: "MuiTabs"
614
- }), i = it(), d = Fe(), {
625
+ }), i = ut(), d = $e(), {
615
626
  "aria-label": m,
616
627
  "aria-labelledby": h,
617
628
  action: p,
@@ -620,29 +631,29 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
620
631
  className: T,
621
632
  component: v = "div",
622
633
  allowScrollButtonsMobile: I = !1,
623
- indicatorColor: F = "primary",
634
+ indicatorColor: $ = "primary",
624
635
  onChange: E,
625
636
  orientation: g = "horizontal",
626
637
  ScrollButtonComponent: H = Ve,
627
- scrollButtons: N = "auto",
638
+ scrollButtons: M = "auto",
628
639
  selectionFollowsFocus: ie,
629
640
  slots: V = {},
630
641
  slotProps: Y = {},
631
642
  TabIndicatorProps: U = {},
632
- TabScrollButtonProps: $ = {},
643
+ TabScrollButtonProps: F = {},
633
644
  textColor: Z = "primary",
634
645
  value: P,
635
- variant: M = "standard",
646
+ variant: N = "standard",
636
647
  visibleScrollbar: ce = !1
637
- } = c, Xe = ae(c, Rt), x = M === "scrollable", B = g === "vertical", K = B ? "scrollTop" : "scrollLeft", ee = B ? "top" : "left", te = B ? "bottom" : "right", de = B ? "clientHeight" : "clientWidth", q = B ? "height" : "width", A = b({}, c, {
648
+ } = c, Xe = ae(c, zt), x = N === "scrollable", B = g === "vertical", K = B ? "scrollTop" : "scrollLeft", ee = B ? "top" : "left", te = B ? "bottom" : "right", de = B ? "clientHeight" : "clientWidth", q = B ? "height" : "width", D = b({}, c, {
638
649
  component: v,
639
650
  allowScrollButtonsMobile: I,
640
- indicatorColor: F,
651
+ indicatorColor: $,
641
652
  orientation: g,
642
653
  vertical: B,
643
- scrollButtons: N,
654
+ scrollButtons: M,
644
655
  textColor: Z,
645
- variant: M,
656
+ variant: N,
646
657
  visibleScrollbar: ce,
647
658
  fixed: !x,
648
659
  hideScrollbar: x && !ce,
@@ -650,17 +661,17 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
650
661
  scrollableY: x && B,
651
662
  centered: y && !x,
652
663
  scrollButtonsHideMobile: !I
653
- }), W = Pt(A), Ye = se({
664
+ }), W = Lt(D), Ye = se({
654
665
  elementType: V.StartScrollButtonIcon,
655
666
  externalSlotProps: Y.startScrollButtonIcon,
656
- ownerState: A
667
+ ownerState: D
657
668
  }), Ke = se({
658
669
  elementType: V.EndScrollButtonIcon,
659
670
  externalSlotProps: Y.endScrollButtonIcon,
660
- ownerState: A
671
+ ownerState: D
661
672
  });
662
673
  process.env.NODE_ENV !== "production" && y && x && console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');
663
- const [ge, qe] = u.useState(!1), [D, Te] = u.useState(We), [xe, Ge] = u.useState(!1), [Be, Je] = u.useState(!1), [Ce, Qe] = u.useState(!1), [we, Ze] = u.useState({
674
+ const [ge, qe] = u.useState(!1), [A, Te] = u.useState(We), [xe, Ge] = u.useState(!1), [Be, Je] = u.useState(!1), [Ce, Qe] = u.useState(!1), [we, Ze] = u.useState({
664
675
  overflow: "hidden",
665
676
  scrollbarWidth: 0
666
677
  }), oe = /* @__PURE__ */ new Map(), R = u.useRef(null), j = u.useRef(null), Ie = () => {
@@ -672,7 +683,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
672
683
  clientWidth: r.clientWidth,
673
684
  scrollLeft: r.scrollLeft,
674
685
  scrollTop: r.scrollTop,
675
- scrollLeftNormalized: pt(r, d ? "rtl" : "ltr"),
686
+ scrollLeftNormalized: ht(r, d ? "rtl" : "ltr"),
676
687
  scrollWidth: r.scrollWidth,
677
688
  top: a.top,
678
689
  bottom: a.bottom,
@@ -712,16 +723,16 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
712
723
  // May be wrong until the font is loaded.
713
724
  [q]: l ? l[q] : 0
714
725
  };
715
- if (isNaN(D[a]) || isNaN(D[q]))
726
+ if (isNaN(A[a]) || isNaN(A[q]))
716
727
  Te(f);
717
728
  else {
718
- const S = Math.abs(D[a] - f[a]), O = Math.abs(D[q] - f[q]);
729
+ const S = Math.abs(A[a] - f[a]), O = Math.abs(A[q] - f[q]);
719
730
  (S >= 1 || O >= 1) && Te(f);
720
731
  }
721
732
  }), ue = (r, {
722
733
  animation: l = !0
723
734
  } = {}) => {
724
- l ? Tt(K, R.current, r, {
735
+ l ? Ct(K, R.current, r, {
725
736
  duration: i.transitions.duration.standard
726
737
  }) : R.current[K] = r;
727
738
  }, Ee = (r) => {
@@ -751,11 +762,11 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
751
762
  });
752
763
  }, []), rt = () => {
753
764
  const r = {};
754
- r.scrollbarSizeListener = x ? /* @__PURE__ */ C(Ft, {
765
+ r.scrollbarSizeListener = x ? /* @__PURE__ */ C(At, {
755
766
  onChange: ot,
756
767
  className: k(W.scrollableX, W.hideScrollbar)
757
768
  }) : null;
758
- const s = x && (N === "auto" && (xe || Be) || N === !0);
769
+ const s = x && (M === "auto" && (xe || Be) || M === !0);
759
770
  return r.scrollButtonStart = s ? /* @__PURE__ */ C(H, b({
760
771
  slots: {
761
772
  StartScrollButtonIcon: V.StartScrollButtonIcon
@@ -767,8 +778,8 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
767
778
  direction: d ? "right" : "left",
768
779
  onClick: et,
769
780
  disabled: !xe
770
- }, $, {
771
- className: k(W.scrollButtons, $.className)
781
+ }, F, {
782
+ className: k(W.scrollButtons, F.className)
772
783
  })) : null, r.scrollButtonEnd = s ? /* @__PURE__ */ C(H, b({
773
784
  slots: {
774
785
  EndScrollButtonIcon: V.EndScrollButtonIcon
@@ -780,10 +791,10 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
780
791
  direction: d ? "left" : "right",
781
792
  onClick: tt,
782
793
  disabled: !Be
783
- }, $, {
784
- className: k(W.scrollButtons, $.className)
794
+ }, F, {
795
+ className: k(W.scrollButtons, F.className)
785
796
  })) : null, r;
786
- }, Ne = be((r) => {
797
+ }, Me = be((r) => {
787
798
  const {
788
799
  tabsMeta: l,
789
800
  tabMeta: s
@@ -802,10 +813,10 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
802
813
  }
803
814
  }
804
815
  }), re = be(() => {
805
- x && N !== !1 && Qe(!Ce);
816
+ x && M !== !1 && Qe(!Ce);
806
817
  });
807
818
  u.useEffect(() => {
808
- const r = Ae(() => {
819
+ const r = De(() => {
809
820
  R.current && G();
810
821
  });
811
822
  let l;
@@ -819,7 +830,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
819
830
  (z = l) == null || z.observe(J);
820
831
  });
821
832
  }), r(), re();
822
- }, a = $e(R.current);
833
+ }, a = Fe(R.current);
823
834
  a.addEventListener("resize", r);
824
835
  let f;
825
836
  return typeof ResizeObserver < "u" && (l = new ResizeObserver(r), Array.from(j.current.children).forEach((S) => {
@@ -832,7 +843,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
832
843
  };
833
844
  }, [G, re]), u.useEffect(() => {
834
845
  const r = Array.from(j.current.children), l = r.length;
835
- if (typeof IntersectionObserver < "u" && l > 0 && x && N !== !1) {
846
+ if (typeof IntersectionObserver < "u" && l > 0 && x && M !== !1) {
836
847
  const s = r[0], a = r[l - 1], f = {
837
848
  root: R.current,
838
849
  threshold: 0.99
@@ -847,33 +858,33 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
847
858
  O.disconnect(), z.disconnect();
848
859
  };
849
860
  }
850
- }, [x, N, Ce, w == null ? void 0 : w.length]), u.useEffect(() => {
861
+ }, [x, M, Ce, w == null ? void 0 : w.length]), u.useEffect(() => {
851
862
  qe(!0);
852
863
  }, []), u.useEffect(() => {
853
864
  G();
854
865
  }), u.useEffect(() => {
855
- Ne(We !== D);
856
- }, [Ne, D]), u.useImperativeHandle(p, () => ({
866
+ Me(We !== A);
867
+ }, [Me, A]), u.useImperativeHandle(p, () => ({
857
868
  updateIndicator: G,
858
869
  updateScrollButtons: re
859
870
  }), [G, re]);
860
- const Me = /* @__PURE__ */ C(kt, b({}, U, {
871
+ const Ne = /* @__PURE__ */ C(Dt, b({}, U, {
861
872
  className: k(W.indicator, U.className),
862
- ownerState: A,
863
- style: b({}, D, U.style)
873
+ ownerState: D,
874
+ style: b({}, A, U.style)
864
875
  }));
865
876
  let le = 0;
866
877
  const lt = u.Children.map(w, (r) => {
867
878
  if (!/* @__PURE__ */ u.isValidElement(r))
868
879
  return null;
869
- process.env.NODE_ENV !== "production" && st.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
880
+ process.env.NODE_ENV !== "production" && at.isFragment(r) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
870
881
  `));
871
882
  const l = r.props.value === void 0 ? le : r.props.value;
872
883
  oe.set(l, le);
873
884
  const s = l === P;
874
885
  return le += 1, /* @__PURE__ */ u.cloneElement(r, b({
875
- fullWidth: M === "fullWidth",
876
- indicator: s && !ge && Me,
886
+ fullWidth: N === "fullWidth",
887
+ indicator: s && !ge && Ne,
877
888
  selected: s,
878
889
  selectionFollowsFocus: ie,
879
890
  onChange: E,
@@ -883,7 +894,7 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
883
894
  tabIndex: 0
884
895
  } : {}));
885
896
  }), nt = (r) => {
886
- const l = j.current, s = dt(l).activeElement;
897
+ const l = j.current, s = ft(l).activeElement;
887
898
  if (s.getAttribute("role") !== "tab")
888
899
  return;
889
900
  let f = g === "horizontal" ? "ArrowLeft" : "ArrowUp", S = g === "horizontal" ? "ArrowRight" : "ArrowDown";
@@ -902,31 +913,31 @@ const Ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
902
913
  break;
903
914
  }
904
915
  }, pe = rt();
905
- return /* @__PURE__ */ Q(Wt, b({
916
+ return /* @__PURE__ */ Q(kt, b({
906
917
  className: k(W.root, T),
907
- ownerState: A,
918
+ ownerState: D,
908
919
  ref: n,
909
920
  as: v
910
921
  }, Xe, {
911
- children: [pe.scrollButtonStart, pe.scrollbarSizeListener, /* @__PURE__ */ Q(zt, {
922
+ children: [pe.scrollButtonStart, pe.scrollbarSizeListener, /* @__PURE__ */ Q($t, {
912
923
  className: W.scroller,
913
- ownerState: A,
924
+ ownerState: D,
914
925
  style: {
915
926
  overflow: we.overflow,
916
927
  [B ? `margin${d ? "Left" : "Right"}` : "marginBottom"]: ce ? void 0 : -we.scrollbarWidth
917
928
  },
918
929
  ref: R,
919
- children: [/* @__PURE__ */ C(Lt, {
930
+ children: [/* @__PURE__ */ C(Ft, {
920
931
  "aria-label": m,
921
932
  "aria-labelledby": h,
922
933
  "aria-orientation": g === "vertical" ? "vertical" : null,
923
934
  className: W.flexContainer,
924
- ownerState: A,
935
+ ownerState: D,
925
936
  onKeyDown: nt,
926
937
  ref: j,
927
938
  role: "tablist",
928
939
  children: lt
929
- }), ge && Me]
940
+ }), ge && Ne]
930
941
  }), pe.scrollButtonEnd]
931
942
  }));
932
943
  });
@@ -943,7 +954,7 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
943
954
  * @param {object} actions This object contains all possible actions
944
955
  * that can be triggered programmatically.
945
956
  */
946
- action: ut,
957
+ action: bt,
947
958
  /**
948
959
  * If `true`, the scroll buttons aren't forced hidden on mobile.
949
960
  * By default the scroll buttons are hidden on mobile and takes precedence over `scrollButtons`.
@@ -1079,14 +1090,15 @@ process.env.NODE_ENV !== "production" && (Ue.propTypes = {
1079
1090
  */
1080
1091
  visibleScrollbar: o.bool
1081
1092
  });
1082
- const Jt = Ue;
1093
+ const to = Ue;
1083
1094
  export {
1084
- yt as K,
1085
- Gt as T,
1086
- Jt as a,
1095
+ xt as K,
1096
+ eo as T,
1097
+ to as a,
1087
1098
  he as b,
1088
- Nt as c,
1089
- St as d,
1090
- ft as g,
1091
- L as t
1099
+ Pt as c,
1100
+ Tt as d,
1101
+ mt as g,
1102
+ L as t,
1103
+ Zt as u
1092
1104
  };