@fangzsx/component-library 0.0.14 → 0.0.16

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 (27) hide show
  1. package/dist/{ButtonBase-qMhxbNdC.js → ButtonBase-DxZEqM87.js} +15 -14
  2. package/dist/{FormLabel-DKoCtSGZ.js → FormLabel-DLyFlUyL.js} +7 -6
  3. package/dist/{Paper-DyRh03We.js → Paper-DZg6u5tT.js} +50 -77
  4. package/dist/{SwitchBase-DStPyUhD.js → SwitchBase-BPRcMkqu.js} +23 -21
  5. package/dist/{Typography-B0rSrz7H.js → Typography-DMROEdKW.js} +5 -4
  6. package/dist/components/AppBarPublic/index.js +8 -7
  7. package/dist/components/Button/index.js +1 -1
  8. package/dist/components/Checkbox/index.js +23 -22
  9. package/dist/components/CheckboxGroup/index.js +47 -34
  10. package/dist/components/MediaCardWithAction/index.js +7 -6
  11. package/dist/components/RadioButtonGroup/index.js +20 -18
  12. package/dist/components/Stepper/index.d.ts +11 -0
  13. package/dist/components/Stepper/index.js +607 -0
  14. package/dist/components/TextFieldInput/index.js +503 -482
  15. package/dist/{createSvgIcon-Dj0SJuc1.js → createSvgIcon-ChKzptBc.js} +2 -1
  16. package/dist/{index-o1i1vy-V.js → index-1CH5DDiw.js} +1 -1
  17. package/dist/{index-CoBGCD2e.js → index-B08hLYdM.js} +24 -23
  18. package/dist/integerPropType-BihGt2aU.js +31 -0
  19. package/dist/main.d.ts +1 -0
  20. package/dist/main.js +7 -5
  21. package/dist/{mergeSlotProps-C-n2ing7.js → mergeSlotProps-CADAqXOb.js} +1 -1
  22. package/dist/{useTimeout-BWi4JTOH.js → useForkRef-gLJikozA.js} +170 -277
  23. package/dist/useFormControl-BGLuGvqS.js +38 -0
  24. package/dist/useSlot-jPRhj-MO.js +125 -0
  25. package/dist/useTimeout-DmOXPFt0.js +111 -0
  26. package/package.json +1 -1
  27. package/dist/useSlot-S2pEBHE8.js +0 -161
@@ -1,8 +1,9 @@
1
1
  import * as f from "react";
2
2
  import W, { isValidElement as H, cloneElement as G, Children as Ve } from "react";
3
3
  import { P as e, a as ce, g as Se } from "./generateUtilityClasses-BCID9NF1.js";
4
- import { i as Be, _ as Oe, j as Le, T as ae, c as v, u as pe, k as je, s as ne, h as ue, l as J, a as ke, n as Fe, d as Ie } from "./useTimeout-BWi4JTOH.js";
5
- import { jsx as $, jsxs as Ue } from "react/jsx-runtime";
4
+ import { c as v, u as pe, s as ne, b as ae, a as Be } from "./useForkRef-gLJikozA.js";
5
+ import { jsx as $, jsxs as Oe } from "react/jsx-runtime";
6
+ import { u as Le, _ as je, b as ke, T as ue, d as Fe, e as J, f as Ie, r as Ue } from "./useTimeout-DmOXPFt0.js";
6
7
  import { keyframes as oe } from "@mui/system";
7
8
  function le(n) {
8
9
  try {
@@ -23,7 +24,7 @@ class Q {
23
24
  return new Q();
24
25
  }
25
26
  static use() {
26
- const t = Be(Q.create).current, [o, u] = f.useState(!1);
27
+ const t = Le(Q.create).current, [o, u] = f.useState(!1);
27
28
  return t.shouldMount = o, t.setShouldMount = u, f.useEffect(t.mountEffect, [o]), t;
28
29
  }
29
30
  constructor() {
@@ -148,7 +149,7 @@ var Ke = Object.values || function(n) {
148
149
  return t;
149
150
  }
150
151
  }, se = /* @__PURE__ */ (function(n) {
151
- Oe(t, n);
152
+ je(t, n);
152
153
  function t(u, i) {
153
154
  var s;
154
155
  s = n.call(this, u, i) || this;
@@ -185,10 +186,10 @@ var Ke = Object.values || function(n) {
185
186
  };
186
187
  }));
187
188
  }, o.render = function() {
188
- var i = this.props, s = i.component, r = i.childFactory, c = Le(i, ["component", "childFactory"]), l = this.state.contextValue, p = Ke(this.state.children).map(r);
189
- return delete c.appear, delete c.enter, delete c.exit, s === null ? /* @__PURE__ */ W.createElement(ae.Provider, {
189
+ var i = this.props, s = i.component, r = i.childFactory, c = ke(i, ["component", "childFactory"]), l = this.state.contextValue, p = Ke(this.state.children).map(r);
190
+ return delete c.appear, delete c.enter, delete c.exit, s === null ? /* @__PURE__ */ W.createElement(ue.Provider, {
190
191
  value: l
191
- }, p) : /* @__PURE__ */ W.createElement(ae.Provider, {
192
+ }, p) : /* @__PURE__ */ W.createElement(ue.Provider, {
192
193
  value: l
193
194
  }, /* @__PURE__ */ W.createElement(s, c, p));
194
195
  }, t;
@@ -424,7 +425,7 @@ const y = ce("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsat
424
425
  f.useEffect(() => {
425
426
  m.current && (m.current(), m.current = null);
426
427
  }, [l]);
427
- const M = f.useRef(!1), N = je(), g = f.useRef(null), S = f.useRef(null), C = f.useCallback((d) => {
428
+ const M = f.useRef(!1), N = Fe(), g = f.useRef(null), S = f.useRef(null), C = f.useCallback((d) => {
428
429
  const {
429
430
  pulsate: T,
430
431
  rippleX: R,
@@ -551,7 +552,7 @@ const tt = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), nt = (n) =
551
552
  focusVisible: o,
552
553
  focusVisibleClassName: u,
553
554
  classes: i
554
- } = n, r = ke({
555
+ } = n, r = Be({
555
556
  root: ["root", t && "disabled", o && "focusVisible"]
556
557
  }, et, i);
557
558
  return o && u && (r.root += ` ${u}`), r;
@@ -632,7 +633,7 @@ const tt = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), nt = (n) =
632
633
  touchRippleRef: A,
633
634
  type: O,
634
635
  ...U
635
- } = u, _ = f.useRef(null), b = $e(), he = ue(b.ref, A), [L, K] = f.useState(!1);
636
+ } = u, _ = f.useRef(null), b = $e(), he = ae(b.ref, A), [L, K] = f.useState(!1);
636
637
  p && L && K(!1), f.useImperativeHandle(i, () => ({
637
638
  focusVisible: () => {
638
639
  K(!0), _.current.focus();
@@ -668,7 +669,7 @@ const tt = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), nt = (n) =
668
669
  X.type = O === void 0 && !a ? "button" : O, X.disabled = p;
669
670
  } else
670
671
  !U.href && !U.to && (X.role = "button"), p && (X["aria-disabled"] = p);
671
- const we = ue(o, _), re = {
672
+ const we = ae(o, _), re = {
672
673
  ...u,
673
674
  centerRipple: s,
674
675
  component: l,
@@ -679,7 +680,7 @@ const tt = ce("MuiButtonBase", ["root", "disabled", "focusVisible"]), nt = (n) =
679
680
  tabIndex: x,
680
681
  focusVisible: L
681
682
  }, De = nt(re);
682
- return /* @__PURE__ */ Ue(ot, {
683
+ return /* @__PURE__ */ Oe(ot, {
683
684
  as: q,
684
685
  className: v(De.root, c),
685
686
  ownerState: re,
@@ -720,7 +721,7 @@ process.env.NODE_ENV !== "production" && (it.propTypes = {
720
721
  * A ref for imperative actions.
721
722
  * It currently only supports `focusVisible()` action.
722
723
  */
723
- action: Ie,
724
+ action: Ue,
724
725
  /**
725
726
  * If `true`, the ripples are centered.
726
727
  * They won't start at the cursor interaction position.
@@ -743,7 +744,7 @@ process.env.NODE_ENV !== "production" && (it.propTypes = {
743
744
  * The component used for the root node.
744
745
  * Either a string to use a HTML element or a component.
745
746
  */
746
- component: Fe,
747
+ component: Ie,
747
748
  /**
748
749
  * If `true`, the component is disabled.
749
750
  * @default false
@@ -1,9 +1,10 @@
1
1
  import * as a from "react";
2
2
  import { g as z, a as E, c as T, P as e } from "./generateUtilityClasses-BCID9NF1.js";
3
- import { u as L, s as N, c as $, a as A, m as H, b as re } from "./useTimeout-BWi4JTOH.js";
4
- import { F as oe, a as Q } from "./useSlot-S2pEBHE8.js";
3
+ import { u as L, s as N, c as $, a as A, m as H } from "./useForkRef-gLJikozA.js";
4
+ import { F as re, a as Q } from "./useFormControl-BGLuGvqS.js";
5
5
  import { jsx as O, jsxs as P } from "react/jsx-runtime";
6
- function Ce(...r) {
6
+ import { c as oe } from "./useTimeout-DmOXPFt0.js";
7
+ function he(...r) {
7
8
  return r.reduce((o, t) => t == null ? o : function(...s) {
8
9
  o.apply(this, s), t.apply(this, s);
9
10
  }, () => {
@@ -163,7 +164,7 @@ const ne = (r) => {
163
164
  required: y,
164
165
  variant: l
165
166
  }), [j, d, c, b, U, k, g, v, w, D, B, y, i, l]);
166
- return /* @__PURE__ */ O(oe.Provider, {
167
+ return /* @__PURE__ */ O(re.Provider, {
167
168
  value: ee,
168
169
  children: /* @__PURE__ */ O(le, {
169
170
  as: f,
@@ -464,7 +465,7 @@ const x = E("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "e
464
465
  lineHeight: "1.4375em",
465
466
  padding: 0,
466
467
  position: "relative",
467
- variants: [...Object.entries(r.palette).filter(re()).map(([o]) => ({
468
+ variants: [...Object.entries(r.palette).filter(oe()).map(([o]) => ({
468
469
  props: {
469
470
  color: o
470
471
  },
@@ -593,7 +594,7 @@ export {
593
594
  ie as F,
594
595
  ye as a,
595
596
  ue as b,
596
- Ce as c,
597
+ he as c,
597
598
  x as d,
598
599
  X as f,
599
600
  G as i
@@ -1,55 +1,29 @@
1
- import * as m from "react";
2
- import { T as g, g as T, a as N, e as d, f, P as a } from "./generateUtilityClasses-BCID9NF1.js";
3
- import { e as w, u as $, s as E, c as O, a as R, m as x, f as V } from "./useTimeout-BWi4JTOH.js";
4
- import { useTheme as q } from "@mui/system";
5
- import { jsx as I } from "react/jsx-runtime";
6
- function M() {
7
- const e = q(w);
8
- return process.env.NODE_ENV !== "production" && m.useDebugValue(e), e[g] || e;
1
+ import * as f from "react";
2
+ import { T as h, g as P, a as b, e as d, f as c, P as a } from "./generateUtilityClasses-BCID9NF1.js";
3
+ import { d as T, u as g, s as w, c as E, a as $, m as N } from "./useForkRef-gLJikozA.js";
4
+ import { useTheme as O } from "@mui/system";
5
+ import { jsx as x } from "react/jsx-runtime";
6
+ import { a as C } from "./useTimeout-DmOXPFt0.js";
7
+ import { i as M } from "./integerPropType-BihGt2aU.js";
8
+ function R() {
9
+ const e = O(T);
10
+ return process.env.NODE_ENV !== "production" && f.useDebugValue(e), e[h] || e;
9
11
  }
10
12
  function j(e) {
11
- const o = typeof e;
12
- switch (o) {
13
- case "number":
14
- return Number.isNaN(e) ? "NaN" : Number.isFinite(e) ? e !== Math.floor(e) ? "float" : "number" : "Infinity";
15
- case "object":
16
- return e === null ? "null" : e.constructor.name;
17
- default:
18
- return o;
19
- }
20
- }
21
- function y(e, o, t, n) {
22
- const r = e[o];
23
- if (r == null || !Number.isInteger(r)) {
24
- const s = j(r);
25
- return new RangeError(`Invalid ${n} \`${o}\` of type \`${s}\` supplied to \`${t}\`, expected \`integer\`.`);
26
- }
27
- return null;
28
- }
29
- function b(e, o, t, n) {
30
- return e[o] === void 0 ? null : y(e, o, t, n);
31
- }
32
- function l() {
33
- return null;
34
- }
35
- b.isRequired = y;
36
- l.isRequired = l;
37
- const C = process.env.NODE_ENV === "production" ? l : b;
38
- function D(e) {
39
- return T("MuiPaper", e);
13
+ return P("MuiPaper", e);
40
14
  }
41
- N("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
42
- const U = (e) => {
15
+ b("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
16
+ const D = (e) => {
43
17
  const {
44
18
  square: o,
45
19
  elevation: t,
46
- variant: n,
20
+ variant: s,
47
21
  classes: r
48
- } = e, s = {
49
- root: ["root", n, !o && "rounded", n === "elevation" && `elevation${t}`]
22
+ } = e, i = {
23
+ root: ["root", s, !o && "rounded", s === "elevation" && `elevation${t}`]
50
24
  };
51
- return R(s, D, r);
52
- }, k = E("div", {
25
+ return $(i, j, r);
26
+ }, U = w("div", {
53
27
  name: "MuiPaper",
54
28
  slot: "Root",
55
29
  overridesResolver: (e, o) => {
@@ -58,7 +32,7 @@ const U = (e) => {
58
32
  } = e;
59
33
  return [o.root, o[t.variant], !t.square && o.rounded, t.variant === "elevation" && o[`elevation${t.elevation}`]];
60
34
  }
61
- })(x(({
35
+ })(N(({
62
36
  theme: e
63
37
  }) => ({
64
38
  backgroundColor: (e.vars || e).palette.background.paper,
@@ -87,46 +61,46 @@ const U = (e) => {
87
61
  backgroundImage: "var(--Paper-overlay)"
88
62
  }
89
63
  }]
90
- }))), _ = /* @__PURE__ */ m.forwardRef(function(o, t) {
91
- const n = $({
64
+ }))), k = /* @__PURE__ */ f.forwardRef(function(o, t) {
65
+ const s = g({
92
66
  props: o,
93
67
  name: "MuiPaper"
94
- }), r = M(), {
95
- className: s,
96
- component: u = "div",
97
- elevation: i = 1,
98
- square: h = !1,
99
- variant: p = "elevation",
100
- ...v
101
- } = n, c = {
102
- ...n,
103
- component: u,
104
- elevation: i,
105
- square: h,
106
- variant: p
107
- }, P = U(c);
108
- return process.env.NODE_ENV !== "production" && r.shadows[i] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${i}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${i}]\` is defined.`].join(`
109
- `)), /* @__PURE__ */ I(k, {
110
- as: u,
111
- ownerState: c,
112
- className: O(P.root, s),
68
+ }), r = R(), {
69
+ className: i,
70
+ component: l = "div",
71
+ elevation: n = 1,
72
+ square: m = !1,
73
+ variant: v = "elevation",
74
+ ...p
75
+ } = s, u = {
76
+ ...s,
77
+ component: l,
78
+ elevation: n,
79
+ square: m,
80
+ variant: v
81
+ }, y = D(u);
82
+ return process.env.NODE_ENV !== "production" && r.shadows[n] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${n}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${n}]\` is defined.`].join(`
83
+ `)), /* @__PURE__ */ x(U, {
84
+ as: l,
85
+ ownerState: u,
86
+ className: E(y.root, i),
113
87
  ref: t,
114
- ...v,
88
+ ...p,
115
89
  style: {
116
- ...p === "elevation" && {
117
- "--Paper-shadow": (r.vars || r).shadows[i],
90
+ ...v === "elevation" && {
91
+ "--Paper-shadow": (r.vars || r).shadows[n],
118
92
  ...r.vars && {
119
- "--Paper-overlay": r.vars.overlays?.[i]
93
+ "--Paper-overlay": r.vars.overlays?.[n]
120
94
  },
121
95
  ...!r.vars && r.palette.mode === "dark" && {
122
- "--Paper-overlay": `linear-gradient(${d("#fff", f(i))}, ${d("#fff", f(i))})`
96
+ "--Paper-overlay": `linear-gradient(${d("#fff", c(n))}, ${d("#fff", c(n))})`
123
97
  }
124
98
  },
125
- ...v.style
99
+ ...p.style
126
100
  }
127
101
  });
128
102
  });
129
- process.env.NODE_ENV !== "production" && (_.propTypes = {
103
+ process.env.NODE_ENV !== "production" && (k.propTypes = {
130
104
  // ┌────────────────────────────── Warning ──────────────────────────────┐
131
105
  // │ These PropTypes are generated from the TypeScript type definitions. │
132
106
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -153,7 +127,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
153
127
  * It accepts values between 0 and 24 inclusive.
154
128
  * @default 1
155
129
  */
156
- elevation: V(C, (e) => {
130
+ elevation: C(M, (e) => {
157
131
  const {
158
132
  elevation: o,
159
133
  variant: t
@@ -180,7 +154,6 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
180
154
  variant: a.oneOfType([a.oneOf(["elevation", "outlined"]), a.string])
181
155
  });
182
156
  export {
183
- _ as P,
184
- C as i,
185
- M as u
157
+ k as P,
158
+ R as u
186
159
  };
@@ -1,25 +1,27 @@
1
1
  import * as H from "react";
2
2
  import { g as J, a as K, c as Q, P as e } from "./generateUtilityClasses-BCID9NF1.js";
3
- import { s as k, a as W, r as X, d as Y } from "./useTimeout-BWi4JTOH.js";
4
- import { u as Z, a as ee, b as F } from "./useSlot-S2pEBHE8.js";
5
- import { jsxs as oe, jsx as te } from "react/jsx-runtime";
6
- import { B as se } from "./ButtonBase-qMhxbNdC.js";
3
+ import { s as k, a as W, r as X } from "./useForkRef-gLJikozA.js";
4
+ import { u as Y, a as Z } from "./useFormControl-BGLuGvqS.js";
5
+ import { u as F } from "./useSlot-jPRhj-MO.js";
6
+ import { jsxs as ee, jsx as oe } from "react/jsx-runtime";
7
+ import { B as te } from "./ButtonBase-DxZEqM87.js";
8
+ import { r as se } from "./useTimeout-DmOXPFt0.js";
7
9
  function ne(s) {
8
10
  return J("PrivateSwitchBase", s);
9
11
  }
10
12
  K("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
11
- const ae = (s) => {
13
+ const re = (s) => {
12
14
  const {
13
15
  classes: n,
14
16
  checked: c,
15
17
  disabled: d,
16
- edge: r
18
+ edge: a
17
19
  } = s, p = {
18
- root: ["root", c && "checked", d && "disabled", r && `edge${Q(r)}`],
20
+ root: ["root", c && "checked", d && "disabled", a && `edge${Q(a)}`],
19
21
  input: ["input"]
20
22
  };
21
23
  return W(p, ne, n);
22
- }, re = k(se, {
24
+ }, ae = k(te, {
23
25
  name: "MuiSwitchBase"
24
26
  })({
25
27
  padding: 9,
@@ -74,7 +76,7 @@ const ae = (s) => {
74
76
  }), le = /* @__PURE__ */ H.forwardRef(function(n, c) {
75
77
  const {
76
78
  autoFocus: d,
77
- checked: r,
79
+ checked: a,
78
80
  checkedIcon: p,
79
81
  defaultChecked: f,
80
82
  disabled: C,
@@ -96,15 +98,15 @@ const ae = (s) => {
96
98
  slots: N = {},
97
99
  slotProps: E = {},
98
100
  ...U
99
- } = n, [S, v] = Z({
100
- controlled: r,
101
+ } = n, [S, v] = Y({
102
+ controlled: a,
101
103
  default: !!f,
102
104
  name: "SwitchBase",
103
105
  state: "checked"
104
- }), a = ee(), L = (o) => {
105
- b && b(o), a && a.onFocus && a.onFocus(o);
106
+ }), r = Z(), L = (o) => {
107
+ b && b(o), r && r.onFocus && r.onFocus(o);
106
108
  }, M = (o) => {
107
- m && m(o), a && a.onBlur && a.onBlur(o);
109
+ m && m(o), r && r.onBlur && r.onBlur(o);
108
110
  }, D = (o) => {
109
111
  if (o.nativeEvent.defaultPrevented || y)
110
112
  return;
@@ -112,14 +114,14 @@ const ae = (s) => {
112
114
  v(t), g && g(o, t);
113
115
  };
114
116
  let i = C;
115
- a && typeof i > "u" && (i = a.disabled);
117
+ r && typeof i > "u" && (i = r.disabled);
116
118
  const V = l === "checkbox" || l === "radio", u = {
117
119
  ...n,
118
120
  checked: S,
119
121
  disabled: i,
120
122
  disableFocusRipple: h,
121
123
  edge: R
122
- }, B = ae(u), w = {
124
+ }, B = re(u), w = {
123
125
  slots: N,
124
126
  slotProps: {
125
127
  input: I,
@@ -127,7 +129,7 @@ const ae = (s) => {
127
129
  }
128
130
  }, [_, $] = F("root", {
129
131
  ref: c,
130
- elementType: re,
132
+ elementType: ae,
131
133
  className: B.root,
132
134
  shouldForwardComponentProp: !0,
133
135
  externalForwardedProps: {
@@ -166,7 +168,7 @@ const ae = (s) => {
166
168
  ownerState: u,
167
169
  additionalProps: {
168
170
  autoFocus: d,
169
- checked: r,
171
+ checked: a,
170
172
  defaultChecked: f,
171
173
  disabled: i,
172
174
  id: V ? T : void 0,
@@ -180,9 +182,9 @@ const ae = (s) => {
180
182
  }
181
183
  }
182
184
  });
183
- return /* @__PURE__ */ oe(_, {
185
+ return /* @__PURE__ */ ee(_, {
184
186
  ...$,
185
- children: [/* @__PURE__ */ te(A, {
187
+ children: [/* @__PURE__ */ oe(A, {
186
188
  ...G
187
189
  }), S ? p : x]
188
190
  });
@@ -244,7 +246,7 @@ process.env.NODE_ENV !== "production" && (le.propTypes = {
244
246
  /**
245
247
  * Pass a ref to the `input` element.
246
248
  */
247
- inputRef: Y,
249
+ inputRef: se,
248
250
  /*
249
251
  * @ignore
250
252
  */
@@ -1,7 +1,8 @@
1
1
  import * as O from "react";
2
2
  import { g as j, a as B, c, P as e } from "./generateUtilityClasses-BCID9NF1.js";
3
- import { u as S, s as w, c as C, a as P, m as W, b as M } from "./useTimeout-BWi4JTOH.js";
4
- import { i as R } from "./index-o1i1vy-V.js";
3
+ import { u as S, s as w, c as C, a as P, m as W } from "./useForkRef-gLJikozA.js";
4
+ import { i as M } from "./index-1CH5DDiw.js";
5
+ import { c as R } from "./useTimeout-DmOXPFt0.js";
5
6
  import { jsx as N } from "react/jsx-runtime";
6
7
  function D(o) {
7
8
  return j("MuiTypography", o);
@@ -17,7 +18,7 @@ const U = {
17
18
  textPrimary: !0,
18
19
  textSecondary: !0,
19
20
  textDisabled: !0
20
- }, A = R(), E = (o) => {
21
+ }, A = M(), E = (o) => {
21
22
  const {
22
23
  align: t,
23
24
  gutterBottom: r,
@@ -57,7 +58,7 @@ const U = {
57
58
  variant: t
58
59
  },
59
60
  style: r
60
- })), ...Object.entries(o.palette).filter(M()).map(([t]) => ({
61
+ })), ...Object.entries(o.palette).filter(R()).map(([t]) => ({
61
62
  props: {
62
63
  color: t
63
64
  },
@@ -1,14 +1,15 @@
1
1
  import { jsx as n, jsxs as y } from "react/jsx-runtime";
2
- import { c as E } from "../../createSvgIcon-Dj0SJuc1.js";
2
+ import { c as E } from "../../createSvgIcon-ChKzptBc.js";
3
3
  import { Stack as w, Popper as $, ClickAwayListener as D, Paper as U } from "@mui/material";
4
4
  import * as C from "react";
5
5
  import { useState as Z } from "react";
6
- import { C as G, B as b } from "../../index-CoBGCD2e.js";
6
+ import { C as G, B as b } from "../../index-B08hLYdM.js";
7
7
  import { g as V, a as A, c as l, P as r } from "../../generateUtilityClasses-BCID9NF1.js";
8
- import { u as H, s as B, c as T, a as h, m as v, b as I, f as F } from "../../useTimeout-BWi4JTOH.js";
9
- import { P as W } from "../../Paper-DyRh03We.js";
8
+ import { u as H, s as B, c as T, a as h, m as v } from "../../useForkRef-gLJikozA.js";
9
+ import { c as I, a as F } from "../../useTimeout-DmOXPFt0.js";
10
+ import { P as W } from "../../Paper-DZg6u5tT.js";
10
11
  import { u as _ } from "../../useId-CK6Kn3Tn.js";
11
- import { B as q } from "../../ButtonBase-qMhxbNdC.js";
12
+ import { B as q } from "../../ButtonBase-DxZEqM87.js";
12
13
  import { B as Y } from "../../Box-DPlM16yK.js";
13
14
  const J = E(/* @__PURE__ */ n("path", {
14
15
  d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
@@ -629,7 +630,7 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
629
630
  variant: r.oneOfType([r.oneOf(["dense", "regular"]), r.string])
630
631
  });
631
632
  const i2 = "data:image/svg+xml,%3csvg%20width='107'%20height='40'%20viewBox='0%200%20107%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200V32.1252L3.0277%2033.8762L10.5965%2038.2503L13.6243%2040L16.652%2038.2503L24.2208%2033.8762L27.2485%2032.1261V0H0ZM24.2208%2030.3751L13.6243%2036.5002L3.0277%2030.3751V3.03121H24.2208V30.3751Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M16.6808%2017.1008V10.8984H10.5728C10.5728%2012.1316%209.54697%2013.1315%208.28221%2013.1315V16.1098H10.5728V18.5895H22.7887V29.3101L13.6268%2034.4681L4.46484%2029.3101V22.3121H10.5728V25.7586L13.6226%2027.4759L16.6808%2025.7527V20.8352H4.46484V4.94531H22.7887V17.1008H16.6808Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M46.0749%208.7868C46.0749%208.81752%2046.0749%208.84824%2046.0749%208.87896C46.0749%2011.1917%2046.0749%2013.5044%2046.0749%2015.8172C46.0738%2015.8325%2046.0738%2015.8479%2046.0749%2015.8632C46.0826%2015.9214%2046.0573%2015.9378%2046.0003%2015.9378C44.792%2015.9378%2043.5836%2015.9378%2042.3752%2015.9378C42.3127%2015.9378%2042.2996%2015.9175%2042.2996%2015.8589C42.2996%2014.731%2042.2996%2013.6032%2042.2996%2012.4753C42.2996%2012.3826%2042.2996%2012.3821%2042.2058%2012.3821H40.6888C40.5989%2012.3821%2040.5989%2012.3821%2040.5989%2012.4737V17.7859C40.5989%2017.8743%2040.5988%2017.8743%2040.6904%2017.8743C41.7058%2017.8743%2042.719%2017.8655%2043.7365%2017.877C44.6746%2017.8885%2045.3748%2018.3246%2045.8391%2019.1354C46.0038%2019.4378%2046.0855%2019.7785%2046.076%2020.1228C46.076%2023.0587%2046.076%2025.9946%2046.076%2028.9305C46.0789%2028.974%2046.0617%2029.0165%2046.0294%2029.0457C45.2655%2029.7632%2044.5019%2030.4813%2043.7387%2031.1999C43.7144%2031.2167%2043.6867%2031.2279%2043.6576%2031.2328C43.6394%2031.2353%2043.621%2031.2353%2043.6028%2031.2328H36.8323V24.0664H40.5989V27.5618C40.5989%2027.6557%2040.5988%2027.6557%2040.691%2027.6557C41.2019%2027.6557%2041.7129%2027.6557%2042.2261%2027.6557C42.2908%2027.6557%2042.3056%2027.6359%2042.3056%2027.5739C42.3056%2025.5574%2042.3056%2023.5409%2042.3056%2021.5244C42.3056%2021.4597%2042.2864%2021.4443%2042.2239%2021.4448C41.1997%2021.4448%2040.1756%2021.4498%2039.1536%2021.4448C38.5073%2021.4512%2037.8866%2021.1925%2037.4359%2020.729C37.1138%2020.4131%2036.9071%2019.9981%2036.8487%2019.5507C36.8368%2019.4528%2036.8311%2019.3542%2036.8317%2019.2555C36.8317%2016.5435%2036.8317%2013.8314%2036.8317%2011.1193C36.8273%2011.0738%2036.8441%2011.0289%2036.8773%2010.9975C37.6393%2010.2778%2038.4001%209.55698%2039.1597%208.83508C39.1739%208.81944%2039.1869%208.80275%2039.1986%208.78516L46.0749%208.7868Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M57.369%208.78711C57.369%208.82002%2057.369%208.85294%2057.369%208.8853V12.2864C57.369%2012.3802%2057.369%2012.3802%2057.2769%2012.3802H53.0334C53.0115%2012.3802%2052.989%2012.3802%2052.9676%2012.3802C52.9128%2012.3741%2052.8925%2012.395%2052.8925%2012.4537C52.8925%2014.1301%2052.8925%2015.8065%2052.8925%2017.4829C52.8925%2017.5043%2052.8925%2017.5262%2052.8958%2017.5548H56.5329V21.1275C56.5044%2021.1275%2056.4748%2021.1314%2056.4452%2021.1314H52.9912C52.8925%2021.1314%2052.8925%2021.1314%2052.8925%2021.2323V27.5605C52.8925%2027.6565%2052.8925%2027.6565%2052.9884%2027.6565H57.5977V31.2271C57.5763%2031.2271%2057.5533%2031.2309%2057.5302%2031.2309C54.7524%2031.2309%2051.9745%2031.2309%2049.1967%2031.2309C49.1347%2031.2309%2049.1133%2031.2112%2049.1205%2031.1525C49.1216%2031.1328%2049.1216%2031.113%2049.1205%2031.0932V8.89902C49.1205%208.86171%2049.1205%208.82441%2049.1205%208.7893L57.369%208.78711Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M62.8666%208.78906H69.7501V16.0685H65.9643V12.3898H64.2433V27.653H65.9643V23.9272H69.7501V29.0304L67.3415%2031.2378H60.4883V11.0431L62.8666%208.78906Z'%20fill='%230B6B9F'/%3e%3cpath%20d='M94.9616%208.84635V31.1432C94.9616%2031.2339%2094.9616%2031.2339%2094.8728%2031.2339H94.6875C93.4341%2031.2339%2092.1808%2031.2339%2090.9275%2031.2339H90.8271C90.8075%2031.2348%2090.7878%2031.2314%2090.7696%2031.2238C90.7453%2031.2088%2090.7294%2031.1832%2090.7268%2031.1547C90.5415%2030.3406%2090.3547%2029.5266%2090.1665%2028.7125L89.3326%2025.092C89.0632%2023.9217%2088.794%2022.7515%2088.525%2021.5812C88.5135%2021.5291%2088.4987%2021.4781%2088.4855%2021.4271H88.4685V31.232H84.8149C84.68%2031.232%2084.6938%2031.2534%2084.6938%2031.1092C84.6938%2023.7014%2084.6938%2016.2938%2084.6938%208.8864C84.6938%208.85349%2084.6938%208.82057%2084.6938%208.78766H89.0491C89.0483%208.79422%2089.0483%208.80085%2089.0491%208.80741L89.4455%2010.6067C89.6542%2011.5524%2089.8629%2012.4981%2090.0716%2013.4438C90.2504%2014.2524%2090.4291%2015.0612%2090.6078%2015.8701C90.6612%2016.1104%2090.714%2016.3509%2090.7663%2016.5915L90.9242%2017.3085C90.9823%2017.574%2091.0406%2017.8396%2091.0991%2018.1055C91.1259%2018.2284%2091.1539%2018.3507%2091.1819%2018.4731H91.1983V8.86555C91.1983%208.83922%2091.1983%208.81344%2091.1939%208.78711H94.9572C94.961%208.80686%2094.9616%208.82661%2094.9616%208.84635Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M78.1551%208.76172H81.971C81.971%208.79628%2081.9672%208.83139%2081.9672%208.86649C81.9672%2015.5304%2081.9672%2022.1941%2081.9672%2028.8577C81.9725%2028.9054%2081.9557%2028.9529%2081.9217%2028.9866C81.1596%2029.7118%2080.3977%2030.4377%2079.636%2031.1644C79.6073%2031.1893%2079.5708%2031.2034%2079.5329%2031.2044C77.3267%2031.2066%2075.1205%2031.2066%2072.9143%2031.2044C72.8913%2031.2044%2072.8682%2031.2044%2072.8408%2031.2001V8.87143C72.8408%208.83468%2072.8408%208.79738%2072.8408%208.76172H76.6567C76.6567%208.78531%2076.6523%208.80944%2076.6523%208.83358C76.6523%2015.036%2076.6523%2021.2386%2076.6523%2027.4413C76.6523%2027.5082%2076.6693%2027.5263%2076.7362%2027.5263C77.1748%2027.5231%2077.6178%2027.5263%2078.0586%2027.5263C78.1622%2027.5263%2078.1622%2027.5263%2078.1622%2027.4238C78.1622%2021.2323%2078.1622%2015.0405%2078.1622%208.84839C78.1584%208.81657%2078.1562%208.7886%2078.1551%208.76172Z'%20fill='%2327A4E8'/%3e%3cpath%20d='M100.474%208.76172L98.0066%2011.2302L98%2011.1907V31.2335C99.2526%2031.2313%20100.506%2031.2313%20101.76%2031.2335V24.0666H103.099V31.2335C104.352%2031.2313%20105.605%2031.2313%20106.859%2031.2335V8.76172H100.474ZM101.76%2020.6106V12.2177H103.099V20.6106H101.76Z'%20fill='%2327A4E8'/%3e%3c/svg%3e";
632
- function B2({ onLogin: o, onSignUp: e }) {
633
+ function m2({ onLogin: o, onSignUp: e }) {
633
634
  const [a, t] = Z(null), s = !!a;
634
635
  return /* @__PURE__ */ n(
635
636
  M,
@@ -694,5 +695,5 @@ function B2({ onLogin: o, onSignUp: e }) {
694
695
  );
695
696
  }
696
697
  export {
697
- B2 as AppBarPublic
698
+ m2 as AppBarPublic
698
699
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../colors-BYtTt7gN.js";
3
- import { B as p } from "../../index-CoBGCD2e.js";
3
+ import { B as p } from "../../index-B08hLYdM.js";
4
4
  export {
5
5
  p as Button
6
6
  };
@@ -1,16 +1,17 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as r } from "react/jsx-runtime";
2
2
  import * as f from "react";
3
3
  import { a as j, g as w, c as l, P as e } from "../../generateUtilityClasses-BCID9NF1.js";
4
- import { u as M, c as $, s as N, a as V, r as F, m as H, b as I } from "../../useTimeout-BWi4JTOH.js";
5
- import { S as E } from "../../SwitchBase-DStPyUhD.js";
6
- import { c as h } from "../../createSvgIcon-Dj0SJuc1.js";
7
- import { b as U } from "../../useSlot-S2pEBHE8.js";
8
- import { m as D } from "../../mergeSlotProps-C-n2ing7.js";
9
- const L = h(/* @__PURE__ */ n("path", {
4
+ import { u as M, c as $, s as N, a as V, r as F, m as H } from "../../useForkRef-gLJikozA.js";
5
+ import { S as E } from "../../SwitchBase-BPRcMkqu.js";
6
+ import { c as h } from "../../createSvgIcon-ChKzptBc.js";
7
+ import { c as I } from "../../useTimeout-DmOXPFt0.js";
8
+ import { u as U } from "../../useSlot-jPRhj-MO.js";
9
+ import { m as D } from "../../mergeSlotProps-CADAqXOb.js";
10
+ const L = h(/* @__PURE__ */ r("path", {
10
11
  d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
11
- }), "CheckBoxOutlineBlank"), q = h(/* @__PURE__ */ n("path", {
12
+ }), "CheckBoxOutlineBlank"), q = h(/* @__PURE__ */ r("path", {
12
13
  d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
13
- }), "CheckBox"), _ = h(/* @__PURE__ */ n("path", {
14
+ }), "CheckBox"), _ = h(/* @__PURE__ */ r("path", {
14
15
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
15
16
  }), "IndeterminateCheckBox");
16
17
  function A(o) {
@@ -20,10 +21,10 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
20
21
  const {
21
22
  classes: t,
22
23
  indeterminate: s,
23
- color: r,
24
+ color: n,
24
25
  size: c
25
26
  } = o, a = {
26
- root: ["root", s && "indeterminate", `color${l(r)}`, `size${l(c)}`]
27
+ root: ["root", s && "indeterminate", `color${l(n)}`, `size${l(c)}`]
27
28
  }, p = V(a, A, t);
28
29
  return {
29
30
  ...t,
@@ -90,8 +91,8 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
90
91
  }
91
92
  }
92
93
  }]
93
- }))), K = /* @__PURE__ */ n(q, {}), Q = /* @__PURE__ */ n(L, {}), W = /* @__PURE__ */ n(_, {}), S = /* @__PURE__ */ f.forwardRef(function(t, s) {
94
- const r = M({
94
+ }))), K = /* @__PURE__ */ r(q, {}), Q = /* @__PURE__ */ r(L, {}), W = /* @__PURE__ */ r(_, {}), S = /* @__PURE__ */ f.forwardRef(function(t, s) {
95
+ const n = M({
95
96
  props: t,
96
97
  name: "MuiCheckbox"
97
98
  }), {
@@ -107,13 +108,13 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
107
108
  slots: C = {},
108
109
  slotProps: v = {},
109
110
  ...T
110
- } = r, x = i ? k : p, P = i ? k : c, u = {
111
- ...r,
111
+ } = n, x = i ? k : p, P = i ? k : c, m = {
112
+ ...n,
112
113
  disableRipple: y,
113
114
  color: a,
114
115
  indeterminate: i,
115
116
  size: d
116
- }, z = G(u), m = v.input ?? O, [R, B] = U("root", {
117
+ }, z = G(m), u = v.input ?? O, [R, B] = U("root", {
117
118
  ref: s,
118
119
  elementType: J,
119
120
  className: $(z.root, g),
@@ -123,7 +124,7 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
123
124
  slotProps: v,
124
125
  ...T
125
126
  },
126
- ownerState: u,
127
+ ownerState: m,
127
128
  additionalProps: {
128
129
  type: "checkbox",
129
130
  icon: /* @__PURE__ */ f.cloneElement(x, {
@@ -135,13 +136,13 @@ const b = j("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
135
136
  disableRipple: y,
136
137
  slots: C,
137
138
  slotProps: {
138
- input: D(typeof m == "function" ? m(u) : m, {
139
+ input: D(typeof u == "function" ? u(m) : u, {
139
140
  "data-indeterminate": i
140
141
  })
141
142
  }
142
143
  }
143
144
  });
144
- return /* @__PURE__ */ n(R, {
145
+ return /* @__PURE__ */ r(R, {
145
146
  ...B,
146
147
  classes: z
147
148
  });
@@ -261,12 +262,12 @@ process.env.NODE_ENV !== "production" && (S.propTypes = {
261
262
  value: e.any
262
263
  });
263
264
  function ne(o) {
264
- const { className: t, sx: s, disabled: r, color: c = "blue", ...a } = o;
265
- return /* @__PURE__ */ n(
265
+ const { className: t, sx: s, disabled: n, color: c = "blue", ...a } = o;
266
+ return /* @__PURE__ */ r(
266
267
  S,
267
268
  {
268
269
  className: t,
269
- disabled: r,
270
+ disabled: n,
270
271
  ...a,
271
272
  sx: {
272
273
  ...s