@fangzsx/component-library 0.0.20 → 0.0.22

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.
@@ -1,11 +1,11 @@
1
1
  import { jsx as d, jsxs as x } from "react/jsx-runtime";
2
- import { B as A } from "../../index-B08hLYdM.js";
2
+ import { B as A } from "../../index-BPIwhwks.js";
3
3
  import * as u from "react";
4
4
  import { g as m, a as f, P as e } from "../../generateUtilityClasses-BCID9NF1.js";
5
- import { u as C, s as g, c as y, a as b } from "../../useForkRef-gLJikozA.js";
6
- import { P as U } from "../../Paper-DZg6u5tT.js";
5
+ import { u as C, s as g, c as y, a as b } from "../../DefaultPropsProvider-DVX_ssOt.js";
6
+ import { P as U } from "../../Paper-oafkOzNM.js";
7
7
  import { a as N } from "../../useTimeout-DmOXPFt0.js";
8
- import { T as v } from "../../Typography-DMROEdKW.js";
8
+ import { T as v } from "../../Typography-CTrRb9FL.js";
9
9
  function I(o) {
10
10
  return m("MuiCard", o);
11
11
  }
@@ -1,16 +1,17 @@
1
1
  import { jsx as l, jsxs as I } from "react/jsx-runtime";
2
2
  import * as u from "react";
3
3
  import { useState as Z } from "react";
4
- import { f as X, c as lo, F as io, a as co, b as po } from "../../FormLabel-DLyFlUyL.js";
4
+ import { f as X, c as lo, F as io, a as co, b as po } from "../../FormLabel-D4ON51Wt.js";
5
5
  import { a as $, g as B, c as M, P as o } from "../../generateUtilityClasses-BCID9NF1.js";
6
- import { u as _, c as G, s as N, a as L, m as V, r as Y, b as uo } from "../../useForkRef-gLJikozA.js";
7
- import { a as A, u as fo } from "../../useFormControl-BGLuGvqS.js";
6
+ import { u as _, c as G, s as N, a as L, m as V, r as Y } from "../../DefaultPropsProvider-DVX_ssOt.js";
7
+ import { a as A, u as uo } from "../../useFormControl-BGLuGvqS.js";
8
+ import { u as fo } from "../../useForkRef-9kN4DArm.js";
8
9
  import { u as mo } from "../../useId-CK6Kn3Tn.js";
9
- import { u as oo } from "../../useSlot-jPRhj-MO.js";
10
- import { T as J } from "../../Typography-DMROEdKW.js";
10
+ import { u as oo } from "../../useSlot-DKccmcQE.js";
11
+ import { T as J } from "../../Typography-CTrRb9FL.js";
11
12
  import { r as eo, c as K } from "../../useTimeout-DmOXPFt0.js";
12
- import { S as bo } from "../../SwitchBase-BPRcMkqu.js";
13
- import { c as ro } from "../../createSvgIcon-ChKzptBc.js";
13
+ import { S as bo } from "../../SwitchBase-V2UoemN5.js";
14
+ import { c as ro } from "../../createSvgIcon-C0YrvByi.js";
14
15
  function yo(e) {
15
16
  return B("MuiFormControlLabel", e);
16
17
  }
@@ -711,7 +712,7 @@ const Go = (e) => {
711
712
  onChange: d,
712
713
  value: m,
713
714
  ...f
714
- } = r, h = u.useRef(null), P = Go(r), [S, R] = fo({
715
+ } = r, h = u.useRef(null), P = Go(r), [S, R] = uo({
715
716
  controlled: m,
716
717
  default: p,
717
718
  name: "RadioGroup"
@@ -722,7 +723,7 @@ const Go = (e) => {
722
723
  n || (n = h.current.querySelector("input:not(:disabled)")), n && n.focus();
723
724
  }
724
725
  }), []);
725
- const w = uo(t, h), b = mo(c), F = u.useMemo(() => ({
726
+ const w = fo(t, h), b = mo(c), F = u.useMemo(() => ({
726
727
  name: b,
727
728
  onChange(n) {
728
729
  R(n.target.value), d && d(n, n.target.value);
@@ -775,7 +776,7 @@ process.env.NODE_ENV !== "production" && (no.propTypes = {
775
776
  */
776
777
  value: o.any
777
778
  });
778
- function Jo({
779
+ function Ko({
779
780
  label: e,
780
781
  options: r,
781
782
  defaultValue: t,
@@ -834,5 +835,5 @@ function Jo({
834
835
  );
835
836
  }
836
837
  export {
837
- Jo as RadioButtonGroup
838
+ Ko as RadioButtonGroup
838
839
  };
@@ -1,10 +1,7 @@
1
- import { SxProps, Theme } from '@mui/material/styles';
2
-
3
1
  interface HorizontalLinearStepperProps {
4
2
  steps: string[];
5
3
  activeStep?: number;
6
- sx?: SxProps<Theme>;
7
- stepperSx?: SxProps<Theme>;
4
+ alternativeLabel?: boolean;
8
5
  }
9
- export declare function Stepper({ steps, activeStep, sx, stepperSx, }: HorizontalLinearStepperProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function Stepper({ steps, activeStep, alternativeLabel, }: HorizontalLinearStepperProps): import("react/jsx-runtime").JSX.Element;
10
7
  export {};
@@ -1,31 +1,31 @@
1
- import { jsxs as P, jsx as s } from "react/jsx-runtime";
1
+ import { jsxs as w, jsx as s } from "react/jsx-runtime";
2
2
  import { Stepper as ee } from "@mui/material";
3
3
  import { B as te } from "../../Box-DPlM16yK.js";
4
- import * as m from "react";
4
+ import * as b from "react";
5
5
  import { g as D, a as V, P as e } from "../../generateUtilityClasses-BCID9NF1.js";
6
- import { u as W, s as C, c as j, a as _, m as R } from "../../useForkRef-gLJikozA.js";
6
+ import { u as _, s as L, c as j, a as k, m as R } from "../../DefaultPropsProvider-DVX_ssOt.js";
7
7
  import { i as oe } from "../../integerPropType-BihGt2aU.js";
8
- import { u as E } from "../../useSlot-jPRhj-MO.js";
9
- import { c as H, S as ne } from "../../createSvgIcon-ChKzptBc.js";
10
- const k = /* @__PURE__ */ m.createContext({});
11
- process.env.NODE_ENV !== "production" && (k.displayName = "StepperContext");
12
- const A = /* @__PURE__ */ m.createContext({});
13
- process.env.NODE_ENV !== "production" && (A.displayName = "StepContext");
14
- function re(t) {
8
+ import { u as z } from "../../useSlot-DKccmcQE.js";
9
+ import { c as H, S as ne } from "../../createSvgIcon-C0YrvByi.js";
10
+ const F = /* @__PURE__ */ b.createContext({});
11
+ process.env.NODE_ENV !== "production" && (F.displayName = "StepperContext");
12
+ const W = /* @__PURE__ */ b.createContext({});
13
+ process.env.NODE_ENV !== "production" && (W.displayName = "StepContext");
14
+ function ae(t) {
15
15
  return D("MuiStep", t);
16
16
  }
17
17
  V("MuiStep", ["root", "horizontal", "vertical", "alternativeLabel", "completed"]);
18
- const ae = (t) => {
18
+ const re = (t) => {
19
19
  const {
20
20
  classes: o,
21
21
  orientation: n,
22
- alternativeLabel: r,
23
- completed: a
22
+ alternativeLabel: a,
23
+ completed: r
24
24
  } = t;
25
- return _({
26
- root: ["root", n, r && "alternativeLabel", a && "completed"]
27
- }, re, o);
28
- }, le = C("div", {
25
+ return k({
26
+ root: ["root", n, a && "alternativeLabel", r && "completed"]
27
+ }, ae, o);
28
+ }, se = L("div", {
29
29
  name: "MuiStep",
30
30
  slot: "Root",
31
31
  overridesResolver: (t, o) => {
@@ -52,60 +52,60 @@ const ae = (t) => {
52
52
  position: "relative"
53
53
  }
54
54
  }]
55
- }), J = /* @__PURE__ */ m.forwardRef(function(o, n) {
56
- const r = W({
55
+ }), J = /* @__PURE__ */ b.forwardRef(function(o, n) {
56
+ const a = _({
57
57
  props: o,
58
58
  name: "MuiStep"
59
59
  }), {
60
- active: a,
61
- children: l,
62
- className: b,
63
- component: i = "div",
60
+ active: r,
61
+ children: c,
62
+ className: m,
63
+ component: l = "div",
64
64
  completed: p,
65
65
  disabled: u,
66
66
  expanded: d = !1,
67
- index: c,
68
- last: S,
67
+ index: i,
68
+ last: v,
69
69
  ...$
70
- } = r, {
70
+ } = a, {
71
71
  activeStep: I,
72
- connector: L,
73
- alternativeLabel: M,
74
- orientation: w,
72
+ connector: C,
73
+ alternativeLabel: T,
74
+ orientation: M,
75
75
  nonLinear: O
76
- } = m.useContext(k);
77
- let [x = !1, g = !1, v = !1] = [a, p, u];
78
- I === c ? x = a !== void 0 ? a : !0 : !O && I > c ? g = p !== void 0 ? p : !0 : !O && I < c && (v = u !== void 0 ? u : !0);
79
- const T = m.useMemo(() => ({
80
- index: c,
81
- last: S,
76
+ } = b.useContext(F);
77
+ let [x = !1, g = !1, S = !1] = [r, p, u];
78
+ I === i ? x = r !== void 0 ? r : !0 : !O && I > i ? g = p !== void 0 ? p : !0 : !O && I < i && (S = u !== void 0 ? u : !0);
79
+ const P = b.useMemo(() => ({
80
+ index: i,
81
+ last: v,
82
82
  expanded: d,
83
- icon: c + 1,
83
+ icon: i + 1,
84
84
  active: x,
85
85
  completed: g,
86
- disabled: v
87
- }), [c, S, d, x, g, v]), f = {
88
- ...r,
86
+ disabled: S
87
+ }), [i, v, d, x, g, S]), f = {
88
+ ...a,
89
89
  active: x,
90
- orientation: w,
91
- alternativeLabel: M,
90
+ orientation: M,
91
+ alternativeLabel: T,
92
92
  completed: g,
93
- disabled: v,
93
+ disabled: S,
94
94
  expanded: d,
95
- component: i
96
- }, h = ae(f), N = /* @__PURE__ */ P(le, {
97
- as: i,
98
- className: j(h.root, b),
95
+ component: l
96
+ }, N = re(f), h = /* @__PURE__ */ w(se, {
97
+ as: l,
98
+ className: j(N.root, m),
99
99
  ref: n,
100
100
  ownerState: f,
101
101
  ...$,
102
- children: [L && M && c !== 0 ? L : null, l]
102
+ children: [C && T && i !== 0 ? C : null, c]
103
103
  });
104
- return /* @__PURE__ */ s(A.Provider, {
105
- value: T,
106
- children: L && !M && c !== 0 ? /* @__PURE__ */ P(m.Fragment, {
107
- children: [L, N]
108
- }) : N
104
+ return /* @__PURE__ */ s(W.Provider, {
105
+ value: P,
106
+ children: C && !T && i !== 0 ? /* @__PURE__ */ w(b.Fragment, {
107
+ children: [C, h]
108
+ }) : h
109
109
  });
110
110
  });
111
111
  process.env.NODE_ENV !== "production" && (J.propTypes = {
@@ -163,7 +163,7 @@ process.env.NODE_ENV !== "production" && (J.propTypes = {
163
163
  */
164
164
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
165
165
  });
166
- const se = H(/* @__PURE__ */ s("path", {
166
+ const le = H(/* @__PURE__ */ s("path", {
167
167
  d: "M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"
168
168
  }), "CheckCircle"), ie = H(/* @__PURE__ */ s("path", {
169
169
  d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"
@@ -171,20 +171,20 @@ const se = H(/* @__PURE__ */ s("path", {
171
171
  function ce(t) {
172
172
  return D("MuiStepIcon", t);
173
173
  }
174
- const z = V("MuiStepIcon", ["root", "active", "completed", "error", "text"]);
174
+ const E = V("MuiStepIcon", ["root", "active", "completed", "error", "text"]);
175
175
  var G;
176
176
  const pe = (t) => {
177
177
  const {
178
178
  classes: o,
179
179
  active: n,
180
- completed: r,
181
- error: a
180
+ completed: a,
181
+ error: r
182
182
  } = t;
183
- return _({
184
- root: ["root", n && "active", r && "completed", a && "error"],
183
+ return k({
184
+ root: ["root", n && "active", a && "completed", r && "error"],
185
185
  text: ["text"]
186
186
  }, ce, o);
187
- }, U = C(ne, {
187
+ }, U = L(ne, {
188
188
  name: "MuiStepIcon",
189
189
  slot: "Root"
190
190
  })(R(({
@@ -195,16 +195,16 @@ const pe = (t) => {
195
195
  duration: t.transitions.duration.shortest
196
196
  }),
197
197
  color: (t.vars || t).palette.text.disabled,
198
- [`&.${z.completed}`]: {
198
+ [`&.${E.completed}`]: {
199
199
  color: (t.vars || t).palette.primary.main
200
200
  },
201
- [`&.${z.active}`]: {
201
+ [`&.${E.active}`]: {
202
202
  color: (t.vars || t).palette.primary.main
203
203
  },
204
- [`&.${z.error}`]: {
204
+ [`&.${E.error}`]: {
205
205
  color: (t.vars || t).palette.error.main
206
206
  }
207
- }))), de = C("text", {
207
+ }))), de = L("text", {
208
208
  name: "MuiStepIcon",
209
209
  slot: "Text"
210
210
  })(R(({
@@ -213,39 +213,39 @@ const pe = (t) => {
213
213
  fill: (t.vars || t).palette.primary.contrastText,
214
214
  fontSize: t.typography.caption.fontSize,
215
215
  fontFamily: t.typography.fontFamily
216
- }))), K = /* @__PURE__ */ m.forwardRef(function(o, n) {
217
- const r = W({
216
+ }))), K = /* @__PURE__ */ b.forwardRef(function(o, n) {
217
+ const a = _({
218
218
  props: o,
219
219
  name: "MuiStepIcon"
220
220
  }), {
221
- active: a = !1,
222
- className: l,
223
- completed: b = !1,
224
- error: i = !1,
221
+ active: r = !1,
222
+ className: c,
223
+ completed: m = !1,
224
+ error: l = !1,
225
225
  icon: p,
226
226
  ...u
227
- } = r, d = {
228
- ...r,
229
- active: a,
230
- completed: b,
231
- error: i
232
- }, c = pe(d);
227
+ } = a, d = {
228
+ ...a,
229
+ active: r,
230
+ completed: m,
231
+ error: l
232
+ }, i = pe(d);
233
233
  if (typeof p == "number" || typeof p == "string") {
234
- const S = j(l, c.root);
235
- return i ? /* @__PURE__ */ s(U, {
234
+ const v = j(c, i.root);
235
+ return l ? /* @__PURE__ */ s(U, {
236
236
  as: ie,
237
- className: S,
237
+ className: v,
238
238
  ref: n,
239
239
  ownerState: d,
240
240
  ...u
241
- }) : b ? /* @__PURE__ */ s(U, {
242
- as: se,
243
- className: S,
241
+ }) : m ? /* @__PURE__ */ s(U, {
242
+ as: le,
243
+ className: v,
244
244
  ref: n,
245
245
  ownerState: d,
246
246
  ...u
247
- }) : /* @__PURE__ */ P(U, {
248
- className: S,
247
+ }) : /* @__PURE__ */ w(U, {
248
+ className: v,
249
249
  ref: n,
250
250
  ownerState: d,
251
251
  ...u,
@@ -254,7 +254,7 @@ const pe = (t) => {
254
254
  cy: "12",
255
255
  r: "12"
256
256
  })), /* @__PURE__ */ s(de, {
257
- className: c.text,
257
+ className: i.text,
258
258
  x: "12",
259
259
  y: "12",
260
260
  textAnchor: "middle",
@@ -303,26 +303,26 @@ process.env.NODE_ENV !== "production" && (K.propTypes = {
303
303
  */
304
304
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
305
305
  });
306
- function be(t) {
306
+ function me(t) {
307
307
  return D("MuiStepLabel", t);
308
308
  }
309
- const y = V("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active", "completed", "error", "disabled", "iconContainer", "alternativeLabel", "labelContainer"]), me = (t) => {
309
+ const y = V("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active", "completed", "error", "disabled", "iconContainer", "alternativeLabel", "labelContainer"]), be = (t) => {
310
310
  const {
311
311
  classes: o,
312
312
  orientation: n,
313
- active: r,
314
- completed: a,
315
- error: l,
316
- disabled: b,
317
- alternativeLabel: i
313
+ active: a,
314
+ completed: r,
315
+ error: c,
316
+ disabled: m,
317
+ alternativeLabel: l
318
318
  } = t;
319
- return _({
320
- root: ["root", n, l && "error", b && "disabled", i && "alternativeLabel"],
321
- label: ["label", r && "active", a && "completed", l && "error", b && "disabled", i && "alternativeLabel"],
322
- iconContainer: ["iconContainer", r && "active", a && "completed", l && "error", b && "disabled", i && "alternativeLabel"],
323
- labelContainer: ["labelContainer", i && "alternativeLabel"]
324
- }, be, o);
325
- }, ue = C("span", {
319
+ return k({
320
+ root: ["root", n, c && "error", m && "disabled", l && "alternativeLabel"],
321
+ label: ["label", a && "active", r && "completed", c && "error", m && "disabled", l && "alternativeLabel"],
322
+ iconContainer: ["iconContainer", a && "active", r && "completed", c && "error", m && "disabled", l && "alternativeLabel"],
323
+ labelContainer: ["labelContainer", l && "alternativeLabel"]
324
+ }, me, o);
325
+ }, ue = L("span", {
326
326
  name: "MuiStepLabel",
327
327
  slot: "Root",
328
328
  overridesResolver: (t, o) => {
@@ -349,7 +349,7 @@ const y = V("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
349
349
  padding: "8px 0"
350
350
  }
351
351
  }]
352
- }), fe = C("span", {
352
+ }), fe = L("span", {
353
353
  name: "MuiStepLabel",
354
354
  slot: "Label"
355
355
  })(R(({
@@ -374,7 +374,7 @@ const y = V("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
374
374
  [`&.${y.error}`]: {
375
375
  color: (t.vars || t).palette.error.main
376
376
  }
377
- }))), Se = C("span", {
377
+ }))), ve = L("span", {
378
378
  name: "MuiStepLabel",
379
379
  slot: "IconContainer"
380
380
  })({
@@ -384,7 +384,7 @@ const y = V("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
384
384
  [`&.${y.alternativeLabel}`]: {
385
385
  paddingRight: 0
386
386
  }
387
- }), ve = C("span", {
387
+ }), Se = L("span", {
388
388
  name: "MuiStepLabel",
389
389
  slot: "LabelContainer"
390
390
  })(R(({
@@ -395,90 +395,90 @@ const y = V("MuiStepLabel", ["root", "horizontal", "vertical", "label", "active"
395
395
  [`&.${y.alternativeLabel}`]: {
396
396
  textAlign: "center"
397
397
  }
398
- }))), F = /* @__PURE__ */ m.forwardRef(function(o, n) {
399
- const r = W({
398
+ }))), A = /* @__PURE__ */ b.forwardRef(function(o, n) {
399
+ const a = _({
400
400
  props: o,
401
401
  name: "MuiStepLabel"
402
402
  }), {
403
- children: a,
404
- className: l,
405
- componentsProps: b = {},
406
- error: i = !1,
403
+ children: r,
404
+ className: c,
405
+ componentsProps: m = {},
406
+ error: l = !1,
407
407
  icon: p,
408
408
  optional: u,
409
409
  slots: d = {},
410
- slotProps: c = {},
411
- StepIconComponent: S,
410
+ slotProps: i = {},
411
+ StepIconComponent: v,
412
412
  StepIconProps: $,
413
413
  ...I
414
- } = r, {
415
- alternativeLabel: L,
416
- orientation: M
417
- } = m.useContext(k), {
418
- active: w,
414
+ } = a, {
415
+ alternativeLabel: C,
416
+ orientation: T
417
+ } = b.useContext(F), {
418
+ active: M,
419
419
  disabled: O,
420
420
  completed: x,
421
421
  icon: g
422
- } = m.useContext(A), v = p || g;
423
- let T = S;
424
- v && !T && (T = K);
422
+ } = b.useContext(W), S = p || g;
423
+ let P = v;
424
+ S && !P && (P = K);
425
425
  const f = {
426
- ...r,
427
- active: w,
428
- alternativeLabel: L,
426
+ ...a,
427
+ active: M,
428
+ alternativeLabel: C,
429
429
  completed: x,
430
430
  disabled: O,
431
- error: i,
432
- orientation: M
433
- }, h = me(f), N = {
431
+ error: l,
432
+ orientation: T
433
+ }, N = be(f), h = {
434
434
  slots: d,
435
435
  slotProps: {
436
436
  stepIcon: $,
437
- ...b,
438
- ...c
437
+ ...m,
438
+ ...i
439
439
  }
440
- }, [Q, X] = E("root", {
440
+ }, [Q, X] = z("root", {
441
441
  elementType: ue,
442
442
  externalForwardedProps: {
443
- ...N,
443
+ ...h,
444
444
  ...I
445
445
  },
446
446
  ownerState: f,
447
447
  ref: n,
448
- className: j(h.root, l)
449
- }), [Y, B] = E("label", {
448
+ className: j(N.root, c)
449
+ }), [Y, B] = z("label", {
450
450
  elementType: fe,
451
- externalForwardedProps: N,
451
+ externalForwardedProps: h,
452
452
  ownerState: f
453
- }), [q, Z] = E("stepIcon", {
454
- elementType: T,
455
- externalForwardedProps: N,
453
+ }), [q, Z] = z("stepIcon", {
454
+ elementType: P,
455
+ externalForwardedProps: h,
456
456
  ownerState: f
457
457
  });
458
- return /* @__PURE__ */ P(Q, {
458
+ return /* @__PURE__ */ w(Q, {
459
459
  ...X,
460
- children: [v || q ? /* @__PURE__ */ s(Se, {
461
- className: h.iconContainer,
460
+ children: [S || q ? /* @__PURE__ */ s(ve, {
461
+ className: N.iconContainer,
462
462
  ownerState: f,
463
463
  children: /* @__PURE__ */ s(q, {
464
464
  completed: x,
465
- active: w,
466
- error: i,
467
- icon: v,
465
+ active: M,
466
+ error: l,
467
+ icon: S,
468
468
  ...Z
469
469
  })
470
- }) : null, /* @__PURE__ */ P(ve, {
471
- className: h.labelContainer,
470
+ }) : null, /* @__PURE__ */ w(Se, {
471
+ className: N.labelContainer,
472
472
  ownerState: f,
473
- children: [a ? /* @__PURE__ */ s(Y, {
473
+ children: [r ? /* @__PURE__ */ s(Y, {
474
474
  ...B,
475
- className: j(h.label, B?.className),
476
- children: a
475
+ className: j(N.label, B?.className),
476
+ children: r
477
477
  }) : null, u]
478
478
  })]
479
479
  });
480
480
  });
481
- process.env.NODE_ENV !== "production" && (F.propTypes = {
481
+ process.env.NODE_ENV !== "production" && (A.propTypes = {
482
482
  // ┌────────────────────────────── Warning ──────────────────────────────┐
483
483
  // │ These PropTypes are generated from the TypeScript type definitions. │
484
484
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -549,38 +549,14 @@ process.env.NODE_ENV !== "production" && (F.propTypes = {
549
549
  */
550
550
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
551
551
  });
552
- F.muiName = "StepLabel";
553
- function Me({
552
+ A.muiName = "StepLabel";
553
+ function Te({
554
554
  steps: t,
555
555
  activeStep: o = 0,
556
- sx: n,
557
- stepperSx: r
556
+ alternativeLabel: n = !0
558
557
  }) {
559
- const a = {
560
- "& .MuiStepIcon-root": {
561
- color: "#bdbdbd",
562
- width: 32,
563
- height: 32,
564
- "&.Mui-active": { color: "#27A4E8" },
565
- "&.Mui-completed": { color: "#27A4E8" }
566
- },
567
- "& .MuiStepLabel-root .Mui-active .MuiStepIcon-text": {
568
- fill: "white"
569
- },
570
- "& .MuiStepLabel-label": {
571
- color: "#6B7C93",
572
- fontSize: "14px",
573
- "&.Mui-active": { color: "#000000", fontWeight: 600 },
574
- "&.Mui-completed": { color: "#000000" }
575
- },
576
- "& .MuiStepConnector-line": {
577
- borderColor: "#e0e0e0",
578
- borderTopWidth: 1
579
- },
580
- ...r ?? {}
581
- };
582
- return /* @__PURE__ */ s(te, { sx: { width: "100%", ...n ?? {} }, children: /* @__PURE__ */ s(ee, { activeStep: o, sx: a, children: t.map((l) => /* @__PURE__ */ s(J, { children: /* @__PURE__ */ s(F, { children: l }) }, l)) }) });
558
+ return /* @__PURE__ */ s(te, { sx: { width: "100%" }, children: /* @__PURE__ */ s(ee, { activeStep: o, alternativeLabel: n, children: t.map((a) => /* @__PURE__ */ s(J, { children: /* @__PURE__ */ s(A, { children: a }) }, a)) }) });
583
559
  }
584
560
  export {
585
- Me as Stepper
561
+ Te as Stepper
586
562
  };