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

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 (103) hide show
  1. package/dist/{Box-vGRO-On_.js → Box-BwHGDK_A.js} +10 -10
  2. package/dist/Button-BF7P0rje.js +359 -0
  3. package/dist/Button-BtjHaBJr.cjs +1 -0
  4. package/dist/{ButtonBase-vONl_zxO.js → ButtonBase-CWCHPphi.js} +36 -36
  5. package/dist/{CircularProgress-BDwTzcEn.js → CircularProgress-C_9OsPYJ.js} +17 -17
  6. package/dist/DatePicker-BE1RETq3.cjs +19 -0
  7. package/dist/DatePicker-DXoI-rbr.js +12663 -0
  8. package/dist/DefaultButton-BYqGgydF.cjs +1 -0
  9. package/dist/DefaultButton-CKAvlaVi.js +253 -0
  10. package/dist/{IconButton-Ctm1Peef.js → IconButton-De3-6K2r.js} +7 -7
  11. package/dist/{SearchInput-Clr0qHPm.js → InputAdornment-CdamqNqi.js} +55 -87
  12. package/dist/InputAdornment-UyNuc0Mc.cjs +1 -0
  13. package/dist/{InputBase-Dqfior4W.js → InputBase-DYf00QVg.js} +25 -25
  14. package/dist/Stack-D1lCED40.cjs +1 -0
  15. package/dist/Stack-DIH86N4F.js +172 -0
  16. package/dist/{Tabs-D-RPVuW4.js → Tabs-D1zibo7D.js} +118 -131
  17. package/dist/Tabs-DZDo7UqF.cjs +4 -0
  18. package/dist/{TextInput-BxI4zwrY.js → TextField-BAVYnvQj.js} +411 -414
  19. package/dist/{TextInput-Ba5ly1H9.cjs → TextField-CH-kzN1l.cjs} +11 -11
  20. package/dist/Tooltip-BEg5oYwE.js +7463 -0
  21. package/dist/Tooltip-DppWsdRm.cjs +95 -0
  22. package/dist/{Typography-Cl3kH-A8.js → Typography-CbZkNGSr.js} +11 -11
  23. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  24. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  25. package/dist/components/Loader/Loader.es.js +1 -1
  26. package/dist/components/PaperHeader/PaperHeader.cjs.js +1 -1
  27. package/dist/components/PaperHeader/PaperHeader.es.js +2 -2
  28. package/dist/components/PaperHeader/PaperHeader.stories.es.js +2 -2
  29. package/dist/components/buttons/DefaultButton/DefaultButton.cjs.js +1 -1
  30. package/dist/components/buttons/DefaultButton/DefaultButton.es.js +2 -2
  31. package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +2 -2
  32. package/dist/components/buttons/DefaultButton/index.cjs.js +1 -1
  33. package/dist/components/buttons/DefaultButton/index.es.js +1 -1
  34. package/dist/components/buttons/IconButton.stories.es.js +3 -3
  35. package/dist/components/buttons/PrimaryButton/PrimaryButton.cjs.js +1 -1
  36. package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +1 -1
  37. package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
  38. package/dist/components/buttons/SecondaryButton/SecondaryButton.cjs.js +1 -1
  39. package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +1 -1
  40. package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
  41. package/dist/components/buttons/index.cjs.js +1 -1
  42. package/dist/components/buttons/index.es.js +1 -1
  43. package/dist/components/feedback/QueryError/QueryError.es.js +1 -1
  44. package/dist/components/index.cjs.js +1 -1
  45. package/dist/components/index.d.ts +1 -5
  46. package/dist/components/index.es.js +269 -278
  47. package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +1 -1
  48. package/dist/components/inputs/PasswordInput/PasswordInput.es.js +18 -16
  49. package/dist/components/inputs/SearchInput/SearchInput.cjs.js +1 -1
  50. package/dist/components/inputs/SearchInput/SearchInput.es.js +36 -5
  51. package/dist/components/inputs/SearchInput/SearchInput.stories.cjs.js +1 -1
  52. package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +4 -4
  53. package/dist/components/inputs/SearchInput/index.cjs.js +1 -1
  54. package/dist/components/inputs/SearchInput/index.es.js +2 -2
  55. package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
  56. package/dist/components/inputs/TextInput/TextInput.es.js +4 -3
  57. package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
  58. package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
  59. package/dist/components/inputs/TextInput/index.cjs.js +1 -1
  60. package/dist/components/inputs/TextInput/index.es.js +2 -2
  61. package/dist/components/inputs/index.cjs.js +1 -1
  62. package/dist/components/inputs/index.es.js +6 -6
  63. package/dist/components/lists/FileList/FileList.es.js +1 -1
  64. package/dist/components/lists/FileList/FileListItem.es.js +6 -6
  65. package/dist/components/lists/TabList.stories.cjs.js +1 -1
  66. package/dist/components/lists/TabList.stories.es.js +16 -15
  67. package/dist/components/pickers/DatePicker/DatePicker.cjs.js +1 -0
  68. package/dist/components/pickers/DatePicker/DatePicker.d.ts +8 -0
  69. package/dist/components/pickers/DatePicker/DatePicker.es.js +6 -0
  70. package/dist/components/pickers/DatePicker/DatePicker.stories.cjs.js +1 -0
  71. package/dist/components/pickers/DatePicker/DatePicker.stories.d.ts +5 -0
  72. package/dist/components/pickers/DatePicker/DatePicker.stories.es.js +16 -0
  73. package/dist/components/pickers/DatePicker/index.cjs.js +1 -0
  74. package/dist/components/pickers/DatePicker/index.d.ts +2 -0
  75. package/dist/components/pickers/DatePicker/index.es.js +4 -0
  76. package/dist/components/pickers/index.cjs.js +1 -0
  77. package/dist/components/pickers/index.d.ts +1 -0
  78. package/dist/components/pickers/index.es.js +4 -0
  79. package/dist/createStyled-CXNF_m2b.js +142 -0
  80. package/dist/createStyled-CcHh6cyo.cjs +1 -0
  81. package/dist/{createSvgIcon-BwGNMrhW.js → createSvgIcon-B6V0jwwg.js} +5 -5
  82. package/dist/{createSvgIcon-Blbo0WDd.js → createSvgIcon-CGvnINlY.js} +15 -15
  83. package/dist/fr-BWMVjh4G.js +307 -0
  84. package/dist/fr-CzL4IYLw.cjs +1 -0
  85. package/dist/{identifier-wKuu0zOr.js → identifier-C_DzvlWx.js} +24 -24
  86. package/dist/index.cjs.js +1 -1
  87. package/dist/index.es.js +270 -279
  88. package/dist/{refType-Bqz8QGtc.js → refType-KXZNSMpq.js} +1 -1
  89. package/dist/{styled-CFCmdTd8.js → styled-DCjqF2JO.js} +29 -29
  90. package/dist/{useTheme-DWyCcDbs.js → useTheme-8G-WLfhQ.js} +7 -7
  91. package/dist/{useTheme-D5vjhuQC.js → useTheme-D2TR379g.js} +1 -1
  92. package/dist/useThemeProps-DhHzyU0Y.cjs +1 -0
  93. package/dist/useThemeProps-DjJkz40D.js +17 -0
  94. package/dist/{useThemeProps-CZSYSmRG.js → useThemeProps-fXKB99fl.js} +2 -2
  95. package/package.json +1 -1
  96. package/dist/DefaultButton-BD1TIeNP.js +0 -604
  97. package/dist/DefaultButton-DV0j1bMY.cjs +0 -1
  98. package/dist/SearchInput-CruiB2CO.cjs +0 -1
  99. package/dist/Stack-CwklSaeG.js +0 -308
  100. package/dist/Stack-v4g12Xre.cjs +0 -1
  101. package/dist/Tabs-CLr003cV.cjs +0 -4
  102. package/dist/TimePicker-DK-Q99ep.js +0 -26252
  103. package/dist/TimePicker-DYEkxpHp.cjs +0 -113
@@ -1,6 +1,6 @@
1
- import { x as h, y as T, u as y, s as B, _ as N, t as C, m as b, d as _, T as P, C as g, P as e } from "./identifier-wKuu0zOr.js";
2
- import * as j from "react";
3
- import { u as v } from "./useTheme-D5vjhuQC.js";
1
+ import { s as h, t as T, z as B, _ as N, m as y, x as C, v as b, d as _, T as P, C as v, P as e } from "./identifier-C_DzvlWx.js";
2
+ import * as g from "react";
3
+ import { u as j } from "./useTheme-D2TR379g.js";
4
4
  import { jsx as E } from "react/jsx-runtime";
5
5
  const O = ["className", "component"];
6
6
  function I(m = {}) {
@@ -12,12 +12,12 @@ function I(m = {}) {
12
12
  } = m, x = h("div", {
13
13
  shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
14
14
  })(T);
15
- return /* @__PURE__ */ j.forwardRef(function(d, u) {
16
- const s = v(l), r = y(d), {
15
+ return /* @__PURE__ */ g.forwardRef(function(d, u) {
16
+ const s = j(l), r = B(d), {
17
17
  className: f,
18
18
  component: i = "div"
19
- } = r, p = B(r, O);
20
- return /* @__PURE__ */ E(x, N({
19
+ } = r, p = N(r, O);
20
+ return /* @__PURE__ */ E(x, y({
21
21
  as: i,
22
22
  ref: u,
23
23
  className: C(f, n ? n(a) : a),
@@ -29,7 +29,7 @@ const M = b("MuiBox", ["root"]), R = M, S = _(), c = I({
29
29
  themeId: P,
30
30
  defaultTheme: S,
31
31
  defaultClassName: R.root,
32
- generateClassName: g.generate
32
+ generateClassName: v.generate
33
33
  });
34
34
  process.env.NODE_ENV !== "production" && (c.propTypes = {
35
35
  // ┌────────────────────────────── Warning ──────────────────────────────┐
@@ -50,8 +50,8 @@ process.env.NODE_ENV !== "production" && (c.propTypes = {
50
50
  */
51
51
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
52
52
  });
53
- const G = c;
53
+ const z = c;
54
54
  export {
55
- G as B,
55
+ z as B,
56
56
  R as b
57
57
  };
@@ -0,0 +1,359 @@
1
+ import { w as D, v as F, q as r, m as t, y as v, _ as G, x as m, P as n } from "./identifier-C_DzvlWx.js";
2
+ import * as p from "react";
3
+ import { s as f, a as U, r as H, u as q, c as A } from "./styled-DCjqF2JO.js";
4
+ import { jsx as R, jsxs as J } from "react/jsx-runtime";
5
+ import { B as K } from "./ButtonBase-CWCHPphi.js";
6
+ function Q(o) {
7
+ return D("MuiButton", o);
8
+ }
9
+ const X = F("MuiButton", ["root", "text", "textInherit", "textPrimary", "textSecondary", "textSuccess", "textError", "textInfo", "textWarning", "outlined", "outlinedInherit", "outlinedPrimary", "outlinedSecondary", "outlinedSuccess", "outlinedError", "outlinedInfo", "outlinedWarning", "contained", "containedInherit", "containedPrimary", "containedSecondary", "containedSuccess", "containedError", "containedInfo", "containedWarning", "disableElevation", "focusVisible", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorSuccess", "colorError", "colorInfo", "colorWarning", "textSizeSmall", "textSizeMedium", "textSizeLarge", "outlinedSizeSmall", "outlinedSizeMedium", "outlinedSizeLarge", "containedSizeSmall", "containedSizeMedium", "containedSizeLarge", "sizeMedium", "sizeSmall", "sizeLarge", "fullWidth", "startIcon", "endIcon", "icon", "iconSizeSmall", "iconSizeMedium", "iconSizeLarge"]), b = X, E = /* @__PURE__ */ p.createContext({});
10
+ process.env.NODE_ENV !== "production" && (E.displayName = "ButtonGroupContext");
11
+ const N = /* @__PURE__ */ p.createContext(void 0);
12
+ process.env.NODE_ENV !== "production" && (N.displayName = "ButtonGroupButtonContext");
13
+ const Y = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"], Z = (o) => {
14
+ const {
15
+ color: a,
16
+ disableElevation: i,
17
+ fullWidth: l,
18
+ size: s,
19
+ variant: e,
20
+ classes: c
21
+ } = o, g = {
22
+ root: ["root", e, `${e}${r(a)}`, `size${r(s)}`, `${e}Size${r(s)}`, `color${r(a)}`, i && "disableElevation", l && "fullWidth"],
23
+ label: ["label"],
24
+ startIcon: ["icon", "startIcon", `iconSize${r(s)}`],
25
+ endIcon: ["icon", "endIcon", `iconSize${r(s)}`]
26
+ }, x = A(g, Q, c);
27
+ return t({}, c, x);
28
+ }, h = (o) => t({}, o.size === "small" && {
29
+ "& > *:nth-of-type(1)": {
30
+ fontSize: 18
31
+ }
32
+ }, o.size === "medium" && {
33
+ "& > *:nth-of-type(1)": {
34
+ fontSize: 20
35
+ }
36
+ }, o.size === "large" && {
37
+ "& > *:nth-of-type(1)": {
38
+ fontSize: 22
39
+ }
40
+ }), w = f(K, {
41
+ shouldForwardProp: (o) => U(o) || o === "classes",
42
+ name: "MuiButton",
43
+ slot: "Root",
44
+ overridesResolver: (o, a) => {
45
+ const {
46
+ ownerState: i
47
+ } = o;
48
+ return [a.root, a[i.variant], a[`${i.variant}${r(i.color)}`], a[`size${r(i.size)}`], a[`${i.variant}Size${r(i.size)}`], i.color === "inherit" && a.colorInherit, i.disableElevation && a.disableElevation, i.fullWidth && a.fullWidth];
49
+ }
50
+ })(({
51
+ theme: o,
52
+ ownerState: a
53
+ }) => {
54
+ var i, l;
55
+ const s = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], e = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
56
+ return t({}, o.typography.button, {
57
+ minWidth: 64,
58
+ padding: "6px 16px",
59
+ borderRadius: (o.vars || o).shape.borderRadius,
60
+ transition: o.transitions.create(["background-color", "box-shadow", "border-color", "color"], {
61
+ duration: o.transitions.duration.short
62
+ }),
63
+ "&:hover": t({
64
+ textDecoration: "none",
65
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette.text.primary, o.palette.action.hoverOpacity),
66
+ // Reset on touch devices, it doesn't add specificity
67
+ "@media (hover: none)": {
68
+ backgroundColor: "transparent"
69
+ }
70
+ }, a.variant === "text" && a.color !== "inherit" && {
71
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette[a.color].main, o.palette.action.hoverOpacity),
72
+ // Reset on touch devices, it doesn't add specificity
73
+ "@media (hover: none)": {
74
+ backgroundColor: "transparent"
75
+ }
76
+ }, a.variant === "outlined" && a.color !== "inherit" && {
77
+ border: `1px solid ${(o.vars || o).palette[a.color].main}`,
78
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[a.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : v(o.palette[a.color].main, o.palette.action.hoverOpacity),
79
+ // Reset on touch devices, it doesn't add specificity
80
+ "@media (hover: none)": {
81
+ backgroundColor: "transparent"
82
+ }
83
+ }, a.variant === "contained" && {
84
+ backgroundColor: o.vars ? o.vars.palette.Button.inheritContainedHoverBg : e,
85
+ boxShadow: (o.vars || o).shadows[4],
86
+ // Reset on touch devices, it doesn't add specificity
87
+ "@media (hover: none)": {
88
+ boxShadow: (o.vars || o).shadows[2],
89
+ backgroundColor: (o.vars || o).palette.grey[300]
90
+ }
91
+ }, a.variant === "contained" && a.color !== "inherit" && {
92
+ backgroundColor: (o.vars || o).palette[a.color].dark,
93
+ // Reset on touch devices, it doesn't add specificity
94
+ "@media (hover: none)": {
95
+ backgroundColor: (o.vars || o).palette[a.color].main
96
+ }
97
+ }),
98
+ "&:active": t({}, a.variant === "contained" && {
99
+ boxShadow: (o.vars || o).shadows[8]
100
+ }),
101
+ [`&.${b.focusVisible}`]: t({}, a.variant === "contained" && {
102
+ boxShadow: (o.vars || o).shadows[6]
103
+ }),
104
+ [`&.${b.disabled}`]: t({
105
+ color: (o.vars || o).palette.action.disabled
106
+ }, a.variant === "outlined" && {
107
+ border: `1px solid ${(o.vars || o).palette.action.disabledBackground}`
108
+ }, a.variant === "contained" && {
109
+ color: (o.vars || o).palette.action.disabled,
110
+ boxShadow: (o.vars || o).shadows[0],
111
+ backgroundColor: (o.vars || o).palette.action.disabledBackground
112
+ })
113
+ }, a.variant === "text" && {
114
+ padding: "6px 8px"
115
+ }, a.variant === "text" && a.color !== "inherit" && {
116
+ color: (o.vars || o).palette[a.color].main
117
+ }, a.variant === "outlined" && {
118
+ padding: "5px 15px",
119
+ border: "1px solid currentColor"
120
+ }, a.variant === "outlined" && a.color !== "inherit" && {
121
+ color: (o.vars || o).palette[a.color].main,
122
+ border: o.vars ? `1px solid rgba(${o.vars.palette[a.color].mainChannel} / 0.5)` : `1px solid ${v(o.palette[a.color].main, 0.5)}`
123
+ }, a.variant === "contained" && {
124
+ color: o.vars ? (
125
+ // this is safe because grey does not change between default light/dark mode
126
+ o.vars.palette.text.primary
127
+ ) : (i = (l = o.palette).getContrastText) == null ? void 0 : i.call(l, o.palette.grey[300]),
128
+ backgroundColor: o.vars ? o.vars.palette.Button.inheritContainedBg : s,
129
+ boxShadow: (o.vars || o).shadows[2]
130
+ }, a.variant === "contained" && a.color !== "inherit" && {
131
+ color: (o.vars || o).palette[a.color].contrastText,
132
+ backgroundColor: (o.vars || o).palette[a.color].main
133
+ }, a.color === "inherit" && {
134
+ color: "inherit",
135
+ borderColor: "currentColor"
136
+ }, a.size === "small" && a.variant === "text" && {
137
+ padding: "4px 5px",
138
+ fontSize: o.typography.pxToRem(13)
139
+ }, a.size === "large" && a.variant === "text" && {
140
+ padding: "8px 11px",
141
+ fontSize: o.typography.pxToRem(15)
142
+ }, a.size === "small" && a.variant === "outlined" && {
143
+ padding: "3px 9px",
144
+ fontSize: o.typography.pxToRem(13)
145
+ }, a.size === "large" && a.variant === "outlined" && {
146
+ padding: "7px 21px",
147
+ fontSize: o.typography.pxToRem(15)
148
+ }, a.size === "small" && a.variant === "contained" && {
149
+ padding: "4px 10px",
150
+ fontSize: o.typography.pxToRem(13)
151
+ }, a.size === "large" && a.variant === "contained" && {
152
+ padding: "8px 22px",
153
+ fontSize: o.typography.pxToRem(15)
154
+ }, a.fullWidth && {
155
+ width: "100%"
156
+ });
157
+ }, ({
158
+ ownerState: o
159
+ }) => o.disableElevation && {
160
+ boxShadow: "none",
161
+ "&:hover": {
162
+ boxShadow: "none"
163
+ },
164
+ [`&.${b.focusVisible}`]: {
165
+ boxShadow: "none"
166
+ },
167
+ "&:active": {
168
+ boxShadow: "none"
169
+ },
170
+ [`&.${b.disabled}`]: {
171
+ boxShadow: "none"
172
+ }
173
+ }), oo = f("span", {
174
+ name: "MuiButton",
175
+ slot: "StartIcon",
176
+ overridesResolver: (o, a) => {
177
+ const {
178
+ ownerState: i
179
+ } = o;
180
+ return [a.startIcon, a[`iconSize${r(i.size)}`]];
181
+ }
182
+ })(({
183
+ ownerState: o
184
+ }) => t({
185
+ display: "inherit",
186
+ marginRight: 8,
187
+ marginLeft: -4
188
+ }, o.size === "small" && {
189
+ marginLeft: -2
190
+ }, h(o))), ao = f("span", {
191
+ name: "MuiButton",
192
+ slot: "EndIcon",
193
+ overridesResolver: (o, a) => {
194
+ const {
195
+ ownerState: i
196
+ } = o;
197
+ return [a.endIcon, a[`iconSize${r(i.size)}`]];
198
+ }
199
+ })(({
200
+ ownerState: o
201
+ }) => t({
202
+ display: "inherit",
203
+ marginRight: -4,
204
+ marginLeft: 8
205
+ }, o.size === "small" && {
206
+ marginRight: -2
207
+ }, h(o))), O = /* @__PURE__ */ p.forwardRef(function(a, i) {
208
+ const l = p.useContext(E), s = p.useContext(N), e = H(l, a), c = q({
209
+ props: e,
210
+ name: "MuiButton"
211
+ }), {
212
+ children: g,
213
+ color: x = "primary",
214
+ component: y = "button",
215
+ className: k,
216
+ disabled: z = !1,
217
+ disableElevation: T = !1,
218
+ disableFocusRipple: C = !1,
219
+ endIcon: I,
220
+ focusVisibleClassName: P,
221
+ fullWidth: W = !1,
222
+ size: S = "medium",
223
+ startIcon: $,
224
+ type: B,
225
+ variant: M = "text"
226
+ } = c, V = G(c, Y), u = t({}, c, {
227
+ color: x,
228
+ component: y,
229
+ disabled: z,
230
+ disableElevation: T,
231
+ disableFocusRipple: C,
232
+ fullWidth: W,
233
+ size: S,
234
+ type: B,
235
+ variant: M
236
+ }), d = Z(u), _ = $ && /* @__PURE__ */ R(oo, {
237
+ className: d.startIcon,
238
+ ownerState: u,
239
+ children: $
240
+ }), L = I && /* @__PURE__ */ R(ao, {
241
+ className: d.endIcon,
242
+ ownerState: u,
243
+ children: I
244
+ }), j = s || "";
245
+ return /* @__PURE__ */ J(w, t({
246
+ ownerState: u,
247
+ className: m(l.className, d.root, k, j),
248
+ component: y,
249
+ disabled: z,
250
+ focusRipple: !C,
251
+ focusVisibleClassName: m(d.focusVisible, P),
252
+ ref: i,
253
+ type: B
254
+ }, V, {
255
+ classes: d,
256
+ children: [_, g, L]
257
+ }));
258
+ });
259
+ process.env.NODE_ENV !== "production" && (O.propTypes = {
260
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
261
+ // │ These PropTypes are generated from the TypeScript type definitions. │
262
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
263
+ // └─────────────────────────────────────────────────────────────────────┘
264
+ /**
265
+ * The content of the component.
266
+ */
267
+ children: n.node,
268
+ /**
269
+ * Override or extend the styles applied to the component.
270
+ */
271
+ classes: n.object,
272
+ /**
273
+ * @ignore
274
+ */
275
+ className: n.string,
276
+ /**
277
+ * The color of the component.
278
+ * It supports both default and custom theme colors, which can be added as shown in the
279
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
280
+ * @default 'primary'
281
+ */
282
+ color: n.oneOfType([n.oneOf(["inherit", "primary", "secondary", "success", "error", "info", "warning"]), n.string]),
283
+ /**
284
+ * The component used for the root node.
285
+ * Either a string to use a HTML element or a component.
286
+ */
287
+ component: n.elementType,
288
+ /**
289
+ * If `true`, the component is disabled.
290
+ * @default false
291
+ */
292
+ disabled: n.bool,
293
+ /**
294
+ * If `true`, no elevation is used.
295
+ * @default false
296
+ */
297
+ disableElevation: n.bool,
298
+ /**
299
+ * If `true`, the keyboard focus ripple is disabled.
300
+ * @default false
301
+ */
302
+ disableFocusRipple: n.bool,
303
+ /**
304
+ * If `true`, the ripple effect is disabled.
305
+ *
306
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
307
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
308
+ * @default false
309
+ */
310
+ disableRipple: n.bool,
311
+ /**
312
+ * Element placed after the children.
313
+ */
314
+ endIcon: n.node,
315
+ /**
316
+ * @ignore
317
+ */
318
+ focusVisibleClassName: n.string,
319
+ /**
320
+ * If `true`, the button will take up the full width of its container.
321
+ * @default false
322
+ */
323
+ fullWidth: n.bool,
324
+ /**
325
+ * The URL to link to when the button is clicked.
326
+ * If defined, an `a` element will be used as the root node.
327
+ */
328
+ href: n.string,
329
+ /**
330
+ * The size of the component.
331
+ * `small` is equivalent to the dense button styling.
332
+ * @default 'medium'
333
+ */
334
+ size: n.oneOfType([n.oneOf(["small", "medium", "large"]), n.string]),
335
+ /**
336
+ * Element placed before the children.
337
+ */
338
+ startIcon: n.node,
339
+ /**
340
+ * The system prop that allows defining system overrides as well as additional CSS styles.
341
+ */
342
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
343
+ /**
344
+ * @ignore
345
+ */
346
+ type: n.oneOfType([n.oneOf(["button", "reset", "submit"]), n.string]),
347
+ /**
348
+ * The variant to use.
349
+ * @default 'text'
350
+ */
351
+ variant: n.oneOfType([n.oneOf(["contained", "outlined", "text"]), n.string])
352
+ });
353
+ const so = O;
354
+ export {
355
+ so as B,
356
+ E as a,
357
+ b,
358
+ Q as g
359
+ };
@@ -0,0 +1 @@
1
+ "use strict";const a=require("./identifier-J0ZxxQLU.cjs"),j=require("react"),s=require("./styled-C04Dz9vm.cjs"),b=require("react/jsx-runtime"),V=require("./ButtonBase-VIKeNyAr.cjs");function L(o){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const i in o)if(i!=="default"){const t=Object.getOwnPropertyDescriptor(o,i);Object.defineProperty(n,i,t.get?t:{enumerable:!0,get:()=>o[i]})}}return n.default=o,Object.freeze(n)}const d=L(j);function $(o){return a.generateUtilityClass("MuiButton",o)}const D=a.generateUtilityClasses("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),p=D,x=d.createContext({});process.env.NODE_ENV!=="production"&&(x.displayName="ButtonGroupContext");const B=d.createContext(void 0);process.env.NODE_ENV!=="production"&&(B.displayName="ButtonGroupButtonContext");const q=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],G=o=>{const{color:n,disableElevation:i,fullWidth:t,size:r,variant:e,classes:l}=o,v={root:["root",e,`${e}${a.capitalize(n)}`,`size${a.capitalize(r)}`,`${e}Size${a.capitalize(r)}`,`color${a.capitalize(n)}`,i&&"disableElevation",t&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${a.capitalize(r)}`],endIcon:["icon","endIcon",`iconSize${a.capitalize(r)}`]},y=s.composeClasses(v,$,l);return a._extends({},l,y)},I=o=>a._extends({},o.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},o.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},o.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),F=s.styled(V.ButtonBase,{shouldForwardProp:o=>s.rootShouldForwardProp(o)||o==="classes",name:"MuiButton",slot:"Root",overridesResolver:(o,n)=>{const{ownerState:i}=o;return[n.root,n[i.variant],n[`${i.variant}${a.capitalize(i.color)}`],n[`size${a.capitalize(i.size)}`],n[`${i.variant}Size${a.capitalize(i.size)}`],i.color==="inherit"&&n.colorInherit,i.disableElevation&&n.disableElevation,i.fullWidth&&n.fullWidth]}})(({theme:o,ownerState:n})=>{var i,t;const r=o.palette.mode==="light"?o.palette.grey[300]:o.palette.grey[800],e=o.palette.mode==="light"?o.palette.grey.A100:o.palette.grey[700];return a._extends({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":a._extends({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:a.alpha_1(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="text"&&n.color!=="inherit"&&{backgroundColor:o.vars?`rgba(${o.vars.palette[n.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:a.alpha_1(o.palette[n.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="outlined"&&n.color!=="inherit"&&{border:`1px solid ${(o.vars||o).palette[n.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[n.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:a.alpha_1(o.palette[n.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},n.variant==="contained"&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:e,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},n.variant==="contained"&&n.color!=="inherit"&&{backgroundColor:(o.vars||o).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[n.color].main}}),"&:active":a._extends({},n.variant==="contained"&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${p.focusVisible}`]:a._extends({},n.variant==="contained"&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${p.disabled}`]:a._extends({color:(o.vars||o).palette.action.disabled},n.variant==="outlined"&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},n.variant==="contained"&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},n.variant==="text"&&{padding:"6px 8px"},n.variant==="text"&&n.color!=="inherit"&&{color:(o.vars||o).palette[n.color].main},n.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},n.variant==="outlined"&&n.color!=="inherit"&&{color:(o.vars||o).palette[n.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[n.color].mainChannel} / 0.5)`:`1px solid ${a.alpha_1(o.palette[n.color].main,.5)}`},n.variant==="contained"&&{color:o.vars?o.vars.palette.text.primary:(i=(t=o.palette).getContrastText)==null?void 0:i.call(t,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:r,boxShadow:(o.vars||o).shadows[2]},n.variant==="contained"&&n.color!=="inherit"&&{color:(o.vars||o).palette[n.color].contrastText,backgroundColor:(o.vars||o).palette[n.color].main},n.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},n.size==="small"&&n.variant==="text"&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},n.size==="large"&&n.variant==="text"&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},n.size==="small"&&n.variant==="outlined"&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},n.size==="large"&&n.variant==="outlined"&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},n.size==="small"&&n.variant==="contained"&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},n.size==="large"&&n.variant==="contained"&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},n.fullWidth&&{width:"100%"})},({ownerState:o})=>o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${p.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${p.disabled}`]:{boxShadow:"none"}}),U=s.styled("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(o,n)=>{const{ownerState:i}=o;return[n.startIcon,n[`iconSize${a.capitalize(i.size)}`]]}})(({ownerState:o})=>a._extends({display:"inherit",marginRight:8,marginLeft:-4},o.size==="small"&&{marginLeft:-2},I(o))),H=s.styled("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(o,n)=>{const{ownerState:i}=o;return[n.endIcon,n[`iconSize${a.capitalize(i.size)}`]]}})(({ownerState:o})=>a._extends({display:"inherit",marginRight:-4,marginLeft:8},o.size==="small"&&{marginRight:-2},I(o))),O=d.forwardRef(function(n,i){const t=d.useContext(x),r=d.useContext(B),e=s.resolveProps(t,n),l=s.useDefaultProps({props:e,name:"MuiButton"}),{children:v,color:y="primary",component:g="button",className:_,disabled:f=!1,disableElevation:R=!1,disableFocusRipple:z=!1,endIcon:C,focusVisibleClassName:h,fullWidth:N=!1,size:E="medium",startIcon:T,type:P,variant:k="text"}=l,m=a._objectWithoutPropertiesLoose(l,q),u=a._extends({},l,{color:y,component:g,disabled:f,disableElevation:R,disableFocusRipple:z,fullWidth:N,size:E,type:P,variant:k}),c=G(u),W=T&&b.jsx(U,{className:c.startIcon,ownerState:u,children:T}),S=C&&b.jsx(H,{className:c.endIcon,ownerState:u,children:C}),M=r||"";return b.jsxs(F,a._extends({ownerState:u,className:a.clsx(t.className,c.root,_,M),component:g,disabled:f,focusRipple:!z,focusVisibleClassName:a.clsx(c.focusVisible,h),ref:i,type:P},m,{classes:c,children:[W,v,S]}))});process.env.NODE_ENV!=="production"&&(O.propTypes={children:a.PropTypes.node,classes:a.PropTypes.object,className:a.PropTypes.string,color:a.PropTypes.oneOfType([a.PropTypes.oneOf(["inherit","primary","secondary","success","error","info","warning"]),a.PropTypes.string]),component:a.PropTypes.elementType,disabled:a.PropTypes.bool,disableElevation:a.PropTypes.bool,disableFocusRipple:a.PropTypes.bool,disableRipple:a.PropTypes.bool,endIcon:a.PropTypes.node,focusVisibleClassName:a.PropTypes.string,fullWidth:a.PropTypes.bool,href:a.PropTypes.string,size:a.PropTypes.oneOfType([a.PropTypes.oneOf(["small","medium","large"]),a.PropTypes.string]),startIcon:a.PropTypes.node,sx:a.PropTypes.oneOfType([a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.func,a.PropTypes.object,a.PropTypes.bool])),a.PropTypes.func,a.PropTypes.object]),type:a.PropTypes.oneOfType([a.PropTypes.oneOf(["button","reset","submit"]),a.PropTypes.string]),variant:a.PropTypes.oneOfType([a.PropTypes.oneOf(["contained","outlined","text"]),a.PropTypes.string])});const A=O;exports.Button=A;exports.ButtonGroupContext=x;exports.buttonClasses=p;exports.getButtonUtilityClass=$;
@@ -1,14 +1,14 @@
1
- import { _ as Y, s as ie, P as e, t as x, m as ye, k as Ke } from "./identifier-wKuu0zOr.js";
1
+ import { m as Y, _ as ie, P as e, x, v as ye, w as Ke } from "./identifier-C_DzvlWx.js";
2
2
  import * as p from "react";
3
3
  import W, { Children as Xe, isValidElement as G, cloneElement as J } from "react";
4
- import { s as re, u as Te, c as Ye } from "./styled-CFCmdTd8.js";
4
+ import { s as re, u as Te, c as Ye } from "./styled-DCjqF2JO.js";
5
5
  import { jsx as U, jsxs as Ae } from "react/jsx-runtime";
6
6
  import { a as qe, u as H } from "./useTimeout-BdvDipeg.js";
7
7
  import { _ as We, T as de } from "./TransitionGroupContext-BkoHK5Kx.js";
8
8
  import { keyframes as se } from "@emotion/react";
9
9
  import { a as he } from "./useForkRef-DwN_Iz9R.js";
10
10
  import { u as He } from "./useIsFocusVisible-DhASXQ4o.js";
11
- import { r as Ge, e as Je } from "./refType-Bqz8QGtc.js";
11
+ import { r as Ge, e as Je } from "./refType-KXZNSMpq.js";
12
12
  function Qe(t) {
13
13
  if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14
14
  return t;
@@ -371,7 +371,7 @@ const oe = 550, rt = 80, st = se(me || (me = Q`
371
371
  const {
372
372
  pulsate: M,
373
373
  rippleX: E,
374
- rippleY: k,
374
+ rippleY: S,
375
375
  rippleSize: I,
376
376
  cb: z
377
377
  } = d;
@@ -387,13 +387,13 @@ const oe = 550, rt = 80, st = se(me || (me = Q`
387
387
  timeout: oe,
388
388
  pulsate: M,
389
389
  rippleX: E,
390
- rippleY: k,
390
+ rippleY: S,
391
391
  rippleSize: I
392
392
  }, h.current)]), h.current += 1, y.current = z;
393
393
  }, [n]), _ = p.useCallback((d = {}, M = {}, E = () => {
394
394
  }) => {
395
395
  const {
396
- pulsate: k = !1,
396
+ pulsate: S = !1,
397
397
  center: I = o || M.pulsate,
398
398
  fakeElement: z = !1
399
399
  // For test purposes
@@ -409,37 +409,37 @@ const oe = 550, rt = 80, st = se(me || (me = Q`
409
409
  left: 0,
410
410
  top: 0
411
411
  };
412
- let V, B, S;
412
+ let V, B, w;
413
413
  if (I || d === void 0 || d.clientX === 0 && d.clientY === 0 || !d.clientX && !d.touches)
414
414
  V = Math.round(P.width / 2), B = Math.round(P.height / 2);
415
415
  else {
416
416
  const {
417
- clientX: w,
417
+ clientX: L,
418
418
  clientY: N
419
419
  } = d.touches && d.touches.length > 0 ? d.touches[0] : d;
420
- V = Math.round(w - P.left), B = Math.round(N - P.top);
420
+ V = Math.round(L - P.left), B = Math.round(N - P.top);
421
421
  }
422
422
  if (I)
423
- S = Math.sqrt((2 * P.width ** 2 + P.height ** 2) / 3), S % 2 === 0 && (S += 1);
423
+ w = Math.sqrt((2 * P.width ** 2 + P.height ** 2) / 3), w % 2 === 0 && (w += 1);
424
424
  else {
425
- const w = Math.max(Math.abs((C ? C.clientWidth : 0) - V), V) * 2 + 2, N = Math.max(Math.abs((C ? C.clientHeight : 0) - B), B) * 2 + 2;
426
- S = Math.sqrt(w ** 2 + N ** 2);
425
+ const L = Math.max(Math.abs((C ? C.clientWidth : 0) - V), V) * 2 + 2, N = Math.max(Math.abs((C ? C.clientHeight : 0) - B), B) * 2 + 2;
426
+ w = Math.sqrt(L ** 2 + N ** 2);
427
427
  }
428
428
  d != null && d.touches ? m.current === null && (m.current = () => {
429
429
  $({
430
- pulsate: k,
430
+ pulsate: S,
431
431
  rippleX: V,
432
432
  rippleY: B,
433
- rippleSize: S,
433
+ rippleSize: w,
434
434
  cb: E
435
435
  });
436
436
  }, v.start(rt, () => {
437
437
  m.current && (m.current(), m.current = null);
438
438
  })) : $({
439
- pulsate: k,
439
+ pulsate: S,
440
440
  rippleX: V,
441
441
  rippleY: B,
442
- rippleSize: S,
442
+ rippleSize: w,
443
443
  cb: E
444
444
  });
445
445
  }, [o, $, v]), j = p.useCallback(() => {
@@ -565,22 +565,22 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
565
565
  onKeyDown: d,
566
566
  onKeyUp: M,
567
567
  onMouseDown: E,
568
- onMouseLeave: k,
568
+ onMouseLeave: S,
569
569
  onMouseUp: I,
570
570
  onTouchEnd: z,
571
571
  onTouchMove: C,
572
572
  onTouchStart: P,
573
573
  tabIndex: V = 0,
574
574
  TouchRippleProps: B,
575
- touchRippleRef: S,
576
- type: w
577
- } = l, N = ie(l, dt), K = p.useRef(null), R = p.useRef(null), Ce = he(R, S), {
575
+ touchRippleRef: w,
576
+ type: L
577
+ } = l, N = ie(l, dt), K = p.useRef(null), R = p.useRef(null), Ce = he(R, w), {
578
578
  isFocusVisibleRef: ue,
579
579
  onFocus: xe,
580
580
  onBlur: ve,
581
581
  ref: Ve
582
- } = He(), [L, A] = p.useState(!1);
583
- f && L && A(!1), p.useImperativeHandle(o, () => ({
582
+ } = He(), [k, A] = p.useState(!1);
583
+ f && k && A(!1), p.useImperativeHandle(o, () => ({
584
584
  focusVisible: () => {
585
585
  A(!0), K.current.focus();
586
586
  }
@@ -591,14 +591,14 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
591
591
  }, []);
592
592
  const ee = Z && !h && !f;
593
593
  p.useEffect(() => {
594
- L && g && !h && Z && R.current.pulsate();
595
- }, [h, g, L, Z]);
594
+ k && g && !h && Z && R.current.pulsate();
595
+ }, [h, g, k, Z]);
596
596
  function D(r, pe, ze = y) {
597
597
  return H((fe) => (pe && pe(fe), !ze && R.current && R.current[r](fe), !0));
598
598
  }
599
- const De = D("start", E), Pe = D("stop", $), Be = D("stop", _), Se = D("stop", I), ke = D("stop", (r) => {
600
- L && r.preventDefault(), k && k(r);
601
- }), we = D("start", P), Le = D("stop", z), Fe = D("stop", C), _e = D("stop", (r) => {
599
+ const De = D("start", E), Pe = D("stop", $), Be = D("stop", _), we = D("stop", I), Se = D("stop", (r) => {
600
+ k && r.preventDefault(), S && S(r);
601
+ }), Le = D("start", P), ke = D("stop", z), Fe = D("stop", C), _e = D("stop", (r) => {
602
602
  ve(r), ue.current === !1 && A(!1), m && m(r);
603
603
  }, !1), Oe = H((r) => {
604
604
  K.current || (K.current = r.currentTarget), xe(r), ue.current === !0 && (A(!0), O && O(r)), j && j(r);
@@ -606,18 +606,18 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
606
606
  const r = K.current;
607
607
  return u && u !== "button" && !(r.tagName === "A" && r.href);
608
608
  }, ne = p.useRef(!1), Ie = H((r) => {
609
- g && !ne.current && L && R.current && r.key === " " && (ne.current = !0, R.current.stop(r, () => {
609
+ g && !ne.current && k && R.current && r.key === " " && (ne.current = !0, R.current.stop(r, () => {
610
610
  R.current.start(r);
611
611
  })), r.target === r.currentTarget && te() && r.key === " " && r.preventDefault(), d && d(r), r.target === r.currentTarget && te() && r.key === "Enter" && !f && (r.preventDefault(), T && T(r));
612
612
  }), Ue = H((r) => {
613
- g && r.key === " " && R.current && L && !r.defaultPrevented && (ne.current = !1, R.current.stop(r, () => {
613
+ g && r.key === " " && R.current && k && !r.defaultPrevented && (ne.current = !1, R.current.stop(r, () => {
614
614
  R.current.pulsate(r);
615
615
  })), M && M(r), T && r.target === r.currentTarget && te() && r.key === " " && !r.defaultPrevented && T(r);
616
616
  });
617
617
  let q = u;
618
618
  q === "button" && (N.href || N.to) && (q = v);
619
619
  const X = {};
620
- q === "button" ? (X.type = w === void 0 ? "button" : w, X.disabled = f) : (!N.href && !N.to && (X.role = "button"), f && (X["aria-disabled"] = f));
620
+ q === "button" ? (X.type = L === void 0 ? "button" : L, X.disabled = f) : (!N.href && !N.to && (X.role = "button"), f && (X["aria-disabled"] = f));
621
621
  const $e = he(a, Ve, K);
622
622
  process.env.NODE_ENV !== "production" && p.useEffect(() => {
623
623
  ee && !R.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
@@ -631,7 +631,7 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
631
631
  disableTouchRipple: y,
632
632
  focusRipple: g,
633
633
  tabIndex: V,
634
- focusVisible: L
634
+ focusVisible: k
635
635
  }), je = ht(ce);
636
636
  return /* @__PURE__ */ Ae(mt, Y({
637
637
  as: q,
@@ -644,15 +644,15 @@ const ft = ye("MuiButtonBase", ["root", "disabled", "focusVisible"]), dt = ["act
644
644
  onKeyDown: Ie,
645
645
  onKeyUp: Ue,
646
646
  onMouseDown: De,
647
- onMouseLeave: ke,
648
- onMouseUp: Se,
647
+ onMouseLeave: Se,
648
+ onMouseUp: we,
649
649
  onDragLeave: Be,
650
- onTouchEnd: Le,
650
+ onTouchEnd: ke,
651
651
  onTouchMove: Fe,
652
- onTouchStart: we,
652
+ onTouchStart: Le,
653
653
  ref: $e,
654
654
  tabIndex: f ? -1 : V,
655
- type: w
655
+ type: L
656
656
  }, X, N, {
657
657
  children: [i, ee ? (
658
658
  /* TouchRipple is only needed client-side, x2 boost on the server. */