jcicl 0.0.57 → 0.0.58

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 (46) hide show
  1. package/.chunks/ButtonBase.js +202 -209
  2. package/.chunks/Input.js +6722 -0
  3. package/.chunks/Portal.js +824 -0
  4. package/.chunks/TransitionGroupContext.js +60 -78
  5. package/.chunks/elementTypeAcceptingRef.js +23 -0
  6. package/.chunks/isFocusVisible.js +12 -0
  7. package/animation/Spin/Spin.d.ts +5 -0
  8. package/animation/Spin/Spin.js +22 -0
  9. package/animation/Spin/index.d.ts +1 -0
  10. package/animation/Spin/index.js +4 -0
  11. package/animation/index.d.ts +1 -0
  12. package/animation/index.js +4 -2
  13. package/base/Button/Button.d.ts +1 -1
  14. package/base/Button/Button.js +66 -64
  15. package/base/Input/Input.d.ts +4 -1
  16. package/base/Input/Input.js +6 -7486
  17. package/base/Input/index.d.ts +1 -1
  18. package/base/Input/index.js +2 -2
  19. package/base/LabeledValue/LabeledValue.js +23 -12
  20. package/base/index.js +6 -6
  21. package/composite/Accordion/Accordion.d.ts +15 -0
  22. package/composite/Accordion/Accordion.js +65 -0
  23. package/composite/Accordion/index.d.ts +1 -0
  24. package/composite/Accordion/index.js +4 -0
  25. package/composite/InfoCard/InfoCard.d.ts +3 -0
  26. package/composite/InfoCard/InfoCard.js +13 -11
  27. package/composite/LabeledInput/LabeledInput.d.ts +9 -0
  28. package/composite/LabeledInput/LabeledInput.js +35 -0
  29. package/composite/LabeledInput/index.d.ts +1 -0
  30. package/composite/LabeledInput/index.js +4 -0
  31. package/composite/Tooltip/Tooltip.d.ts +7 -0
  32. package/composite/Tooltip/Tooltip.js +2092 -0
  33. package/composite/Tooltip/index.d.ts +1 -0
  34. package/composite/Tooltip/index.js +4 -0
  35. package/composite/index.d.ts +3 -0
  36. package/composite/index.js +16 -10
  37. package/index.d.ts +3 -3
  38. package/index.js +50 -40
  39. package/package.json +1 -1
  40. package/supercomposite/AppHeader/AppHeader.js +1 -1
  41. package/supercomposite/EditableInfoCard/EditableInfoCard.d.ts +29 -0
  42. package/supercomposite/EditableInfoCard/EditableInfoCard.js +223 -0
  43. package/supercomposite/EditableInfoCard/index.d.ts +1 -0
  44. package/supercomposite/EditableInfoCard/index.js +4 -0
  45. package/supercomposite/index.d.ts +1 -0
  46. package/supercomposite/index.js +6 -4
@@ -1,58 +1,40 @@
1
- var y = Object.defineProperty;
2
- var m = (e, t, n) => t in e ? y(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var u = (e, t, n) => m(e, typeof t != "symbol" ? t + "" : t, n);
1
+ var a = Object.defineProperty;
2
+ var l = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var u = (t, e, r) => l(t, typeof e != "symbol" ? e + "" : e, r);
4
4
  import { P as c } from "./DefaultPropsProvider.js";
5
- import { c as h } from "./chainPropTypes.js";
6
- import * as o from "react";
7
- import T from "react";
8
- function E(e) {
9
- const {
10
- prototype: t = {}
11
- } = e;
12
- return !!t.isReactComponent;
5
+ import * as n from "react";
6
+ import p from "react";
7
+ const _ = c.oneOfType([c.func, c.object]);
8
+ function d(t, e) {
9
+ typeof t == "function" ? t(e) : t && (t.current = e);
13
10
  }
14
- function I(e, t, n, r, l) {
15
- const s = e[t], d = l || t;
16
- if (s == null || // When server-side rendering React doesn't warn either.
17
- // This is not an accurate check for SSR.
18
- // This is only in place for emotion compat.
19
- // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
20
- typeof window > "u")
21
- return null;
22
- let i;
23
- return typeof s == "function" && !E(s) && (i = "Did you accidentally provide a plain function component instead?"), i !== void 0 ? new Error(`Invalid ${r} \`${d}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
24
- }
25
- const L = h(c.elementType, I), $ = c.oneOfType([c.func, c.object]);
26
- function R(e, t) {
27
- typeof e == "function" ? e(t) : e && (e.current = t);
28
- }
29
- const P = typeof window < "u" ? o.useLayoutEffect : o.useEffect;
30
- function g(e) {
31
- const t = o.useRef(e);
32
- return P(() => {
33
- t.current = e;
34
- }), o.useRef((...n) => (
11
+ const y = typeof window < "u" ? n.useLayoutEffect : n.useEffect;
12
+ function b(t) {
13
+ const e = n.useRef(t);
14
+ return y(() => {
15
+ e.current = t;
16
+ }), n.useRef((...r) => (
35
17
  // @ts-expect-error hide `this`
36
- (0, t.current)(...n)
18
+ (0, e.current)(...r)
37
19
  )).current;
38
20
  }
39
- function x(...e) {
40
- return o.useMemo(() => e.every((t) => t == null) ? null : (t) => {
41
- e.forEach((n) => {
42
- R(n, t);
21
+ function P(...t) {
22
+ return n.useMemo(() => t.every((e) => e == null) ? null : (e) => {
23
+ t.forEach((r) => {
24
+ d(r, e);
43
25
  });
44
- }, e);
26
+ }, t);
45
27
  }
46
- const p = {};
47
- function w(e, t) {
48
- const n = o.useRef(p);
49
- return n.current === p && (n.current = e(t)), n;
28
+ const i = {};
29
+ function h(t, e) {
30
+ const r = n.useRef(i);
31
+ return r.current === i && (r.current = t(e)), r;
50
32
  }
51
- const O = [];
52
- function _(e) {
53
- o.useEffect(e, O);
33
+ const m = [];
34
+ function E(t) {
35
+ n.useEffect(t, m);
54
36
  }
55
- class a {
37
+ class f {
56
38
  constructor() {
57
39
  u(this, "currentId", null);
58
40
  u(this, "clear", () => {
@@ -61,49 +43,49 @@ class a {
61
43
  u(this, "disposeEffect", () => this.clear);
62
44
  }
63
45
  static create() {
64
- return new a();
46
+ return new f();
65
47
  }
66
48
  /**
67
49
  * Executes `fn` after `delay`, clearing any previously scheduled call.
68
50
  */
69
- start(t, n) {
51
+ start(e, r) {
70
52
  this.clear(), this.currentId = setTimeout(() => {
71
- this.currentId = null, n();
72
- }, t);
53
+ this.currentId = null, r();
54
+ }, e);
73
55
  }
74
56
  }
75
- function A() {
76
- const e = w(a.create).current;
77
- return _(e.disposeEffect), e;
57
+ function R() {
58
+ const t = h(f.create).current;
59
+ return E(t.disposeEffect), t;
78
60
  }
79
- function M(e, t) {
80
- if (e == null) return {};
81
- var n = {};
82
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
83
- if (t.includes(r)) continue;
84
- n[r] = e[r];
61
+ function j(t, e) {
62
+ if (t == null) return {};
63
+ var r = {};
64
+ for (var o in t) if ({}.hasOwnProperty.call(t, o)) {
65
+ if (e.includes(o)) continue;
66
+ r[o] = t[o];
85
67
  }
86
- return n;
68
+ return r;
87
69
  }
88
- function f(e, t) {
89
- return f = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
90
- return n.__proto__ = r, n;
91
- }, f(e, t);
70
+ function s(t, e) {
71
+ return s = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, o) {
72
+ return r.__proto__ = o, r;
73
+ }, s(t, e);
92
74
  }
93
- function k(e, t) {
94
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, f(e, t);
75
+ function L(t, e) {
76
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, s(t, e);
95
77
  }
96
- const D = T.createContext(null);
78
+ const w = p.createContext(null);
97
79
  export {
98
- D as T,
99
- k as _,
100
- M as a,
101
- A as b,
102
- x as c,
103
- g as d,
104
- L as e,
105
- P as f,
106
- $ as r,
107
- R as s,
108
- w as u
80
+ w as T,
81
+ L as _,
82
+ j as a,
83
+ R as b,
84
+ P as c,
85
+ b as d,
86
+ y as e,
87
+ f,
88
+ _ as r,
89
+ d as s,
90
+ h as u
109
91
  };
@@ -0,0 +1,23 @@
1
+ import { P as c } from "./DefaultPropsProvider.js";
2
+ import { c as l } from "./chainPropTypes.js";
3
+ function f(n) {
4
+ const {
5
+ prototype: e = {}
6
+ } = n;
7
+ return !!e.isReactComponent;
8
+ }
9
+ function s(n, e, i, r, p) {
10
+ const t = n[e], a = p || e;
11
+ if (t == null || // When server-side rendering React doesn't warn either.
12
+ // This is not an accurate check for SSR.
13
+ // This is only in place for emotion compat.
14
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
15
+ typeof window > "u")
16
+ return null;
17
+ let o;
18
+ return typeof t == "function" && !f(t) && (o = "Did you accidentally provide a plain function component instead?"), o !== void 0 ? new Error(`Invalid ${r} \`${a}\` supplied to \`${i}\`. Expected an element type that can hold a ref. ${o} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
19
+ }
20
+ const d = l(c.elementType, s);
21
+ export {
22
+ d as e
23
+ };
@@ -0,0 +1,12 @@
1
+ function s(o) {
2
+ try {
3
+ return o.matches(":focus-visible");
4
+ } catch {
5
+ process.env.NODE_ENV !== "production" && !/jsdom/.test(window.navigator.userAgent) && console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.", "Some components rely on this feature to work properly."].join(`
6
+ `));
7
+ }
8
+ return !1;
9
+ }
10
+ export {
11
+ s as i
12
+ };
@@ -0,0 +1,5 @@
1
+ declare const Spin: import('@emotion/styled').StyledComponent<{
2
+ theme?: import('@emotion/react').Theme;
3
+ as?: React.ElementType;
4
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export default Spin;
@@ -0,0 +1,22 @@
1
+ import { n as e } from "../../.chunks/emotion-styled.browser.esm.js";
2
+ import { c as r } from "../../.chunks/emotion-react.browser.esm.js";
3
+ const s = e("div")({
4
+ ...r`
5
+ transform-style: preserve-3d;
6
+ @keyframes spin {
7
+ 0% {
8
+ transform: rotateY(0deg);
9
+ }
10
+ 100% {
11
+ transform: rotateY(-360deg);
12
+ }
13
+ }
14
+
15
+ @media (prefers-reduced-motion: no-preference) {
16
+ animation: spin infinite 4.7s linear;
17
+ }
18
+ `
19
+ });
20
+ export {
21
+ s as default
22
+ };
@@ -0,0 +1 @@
1
+ export { default } from './Spin';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./Spin.js";
2
+ export {
3
+ o as default
4
+ };
@@ -1 +1,2 @@
1
+ export { default as Spin } from './Spin';
1
2
  export { default as ZoomEntrance } from './ZoomEntrance';
@@ -1,4 +1,6 @@
1
- import { default as e } from "./ZoomEntrance/ZoomEntrance.js";
1
+ import { default as e } from "./Spin/Spin.js";
2
+ import { default as t } from "./ZoomEntrance/ZoomEntrance.js";
2
3
  export {
3
- e as ZoomEntrance
4
+ e as Spin,
5
+ t as ZoomEntrance
4
6
  };
@@ -1,6 +1,6 @@
1
1
  import { ButtonProps as MuiButtonProps } from '@mui/material/Button/Button';
2
2
  export interface ButtonProps extends Omit<MuiButtonProps, 'variant'> {
3
- variant?: 1 | 2;
3
+ variant?: 1 | 2 | 'unstyled';
4
4
  }
5
5
  export declare const Button: React.FC<ButtonProps & {
6
6
  children: React.ReactNode;
@@ -1,37 +1,37 @@
1
- import { jsxs as D, jsx as d } from "react/jsx-runtime";
1
+ import { jsxs as F, jsx as s } from "react/jsx-runtime";
2
2
  import * as g from "react";
3
- import { g as F, a as U, s as c, r as _, c as e, f as H, u as A, b as w, P as t, d as q, e as b } from "../../.chunks/DefaultPropsProvider.js";
4
- import { m as J } from "../../.chunks/memoTheme.js";
5
- import { c as K } from "../../.chunks/createSimplePaletteValueFilter.js";
6
- import { B as Q } from "../../.chunks/ButtonBase.js";
3
+ import { g as U, a as _, s as l, r as H, c as e, f as A, u as q, b as w, P as t, d as J, e as b } from "../../.chunks/DefaultPropsProvider.js";
4
+ import { m as K } from "../../.chunks/memoTheme.js";
5
+ import { c as Q } from "../../.chunks/createSimplePaletteValueFilter.js";
6
+ import { B as I } from "../../.chunks/ButtonBase.js";
7
7
  import i from "../../theme.js";
8
8
  function X(o) {
9
- return F("MuiButton", o);
9
+ return U("MuiButton", o);
10
10
  }
11
- const l = U("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"]), I = /* @__PURE__ */ g.createContext({});
12
- process.env.NODE_ENV !== "production" && (I.displayName = "ButtonGroupContext");
13
- const h = /* @__PURE__ */ g.createContext(void 0);
14
- process.env.NODE_ENV !== "production" && (h.displayName = "ButtonGroupButtonContext");
11
+ const c = _("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"]), h = /* @__PURE__ */ g.createContext({});
12
+ process.env.NODE_ENV !== "production" && (h.displayName = "ButtonGroupContext");
13
+ const O = /* @__PURE__ */ g.createContext(void 0);
14
+ process.env.NODE_ENV !== "production" && (O.displayName = "ButtonGroupButtonContext");
15
15
  const Y = (o) => {
16
16
  const {
17
17
  color: a,
18
18
  disableElevation: n,
19
19
  fullWidth: r,
20
- size: s,
20
+ size: d,
21
21
  variant: p,
22
22
  classes: u
23
- } = o, f = {
24
- root: ["root", p, `${p}${e(a)}`, `size${e(s)}`, `${p}Size${e(s)}`, `color${e(a)}`, n && "disableElevation", r && "fullWidth"],
23
+ } = o, y = {
24
+ root: ["root", p, `${p}${e(a)}`, `size${e(d)}`, `${p}Size${e(d)}`, `color${e(a)}`, n && "disableElevation", r && "fullWidth"],
25
25
  label: ["label"],
26
- startIcon: ["icon", "startIcon", `iconSize${e(s)}`],
27
- endIcon: ["icon", "endIcon", `iconSize${e(s)}`]
28
- }, y = q(f, X, u);
26
+ startIcon: ["icon", "startIcon", `iconSize${e(d)}`],
27
+ endIcon: ["icon", "endIcon", `iconSize${e(d)}`]
28
+ }, f = J(y, X, u);
29
29
  return {
30
30
  ...u,
31
31
  // forward the focused, disabled, etc. classes to the ButtonBase
32
- ...y
32
+ ...f
33
33
  };
34
- }, O = [{
34
+ }, R = [{
35
35
  props: {
36
36
  size: "small"
37
37
  },
@@ -58,8 +58,8 @@ const Y = (o) => {
58
58
  fontSize: 22
59
59
  }
60
60
  }
61
- }], Z = c(Q, {
62
- shouldForwardProp: (o) => _(o) || o === "classes",
61
+ }], Z = l(I, {
62
+ shouldForwardProp: (o) => H(o) || o === "classes",
63
63
  name: "MuiButton",
64
64
  slot: "Root",
65
65
  overridesResolver: (o, a) => {
@@ -68,7 +68,7 @@ const Y = (o) => {
68
68
  } = o;
69
69
  return [a.root, a[n.variant], a[`${n.variant}${e(n.color)}`], a[`size${e(n.size)}`], a[`${n.variant}Size${e(n.size)}`], n.color === "inherit" && a.colorInherit, n.disableElevation && a.disableElevation, n.fullWidth && a.fullWidth];
70
70
  }
71
- })(J(({
71
+ })(K(({
72
72
  theme: o
73
73
  }) => {
74
74
  const a = o.palette.mode === "light" ? o.palette.grey[300] : o.palette.grey[800], n = o.palette.mode === "light" ? o.palette.grey.A100 : o.palette.grey[700];
@@ -84,7 +84,7 @@ const Y = (o) => {
84
84
  "&:hover": {
85
85
  textDecoration: "none"
86
86
  },
87
- [`&.${l.disabled}`]: {
87
+ [`&.${c.disabled}`]: {
88
88
  color: (o.vars || o).palette.action.disabled
89
89
  },
90
90
  variants: [{
@@ -105,10 +105,10 @@ const Y = (o) => {
105
105
  "&:active": {
106
106
  boxShadow: (o.vars || o).shadows[8]
107
107
  },
108
- [`&.${l.focusVisible}`]: {
108
+ [`&.${c.focusVisible}`]: {
109
109
  boxShadow: (o.vars || o).shadows[6]
110
110
  },
111
- [`&.${l.disabled}`]: {
111
+ [`&.${c.disabled}`]: {
112
112
  color: (o.vars || o).palette.action.disabled,
113
113
  boxShadow: (o.vars || o).shadows[0],
114
114
  backgroundColor: (o.vars || o).palette.action.disabledBackground
@@ -124,7 +124,7 @@ const Y = (o) => {
124
124
  borderColor: "var(--variant-outlinedBorder, currentColor)",
125
125
  backgroundColor: "var(--variant-outlinedBg)",
126
126
  color: "var(--variant-outlinedColor)",
127
- [`&.${l.disabled}`]: {
127
+ [`&.${c.disabled}`]: {
128
128
  border: `1px solid ${(o.vars || o).palette.action.disabledBackground}`
129
129
  }
130
130
  }
@@ -137,7 +137,7 @@ const Y = (o) => {
137
137
  color: "var(--variant-textColor)",
138
138
  backgroundColor: "var(--variant-textBg)"
139
139
  }
140
- }, ...Object.entries(o.palette).filter(K()).map(([r]) => ({
140
+ }, ...Object.entries(o.palette).filter(Q()).map(([r]) => ({
141
141
  props: {
142
142
  color: r
143
143
  },
@@ -235,13 +235,13 @@ const Y = (o) => {
235
235
  "&:hover": {
236
236
  boxShadow: "none"
237
237
  },
238
- [`&.${l.focusVisible}`]: {
238
+ [`&.${c.focusVisible}`]: {
239
239
  boxShadow: "none"
240
240
  },
241
241
  "&:active": {
242
242
  boxShadow: "none"
243
243
  },
244
- [`&.${l.disabled}`]: {
244
+ [`&.${c.disabled}`]: {
245
245
  boxShadow: "none"
246
246
  }
247
247
  }
@@ -254,7 +254,7 @@ const Y = (o) => {
254
254
  }
255
255
  }]
256
256
  };
257
- })), oo = c("span", {
257
+ })), oo = l("span", {
258
258
  name: "MuiButton",
259
259
  slot: "StartIcon",
260
260
  overridesResolver: (o, a) => {
@@ -274,8 +274,8 @@ const Y = (o) => {
274
274
  style: {
275
275
  marginLeft: -2
276
276
  }
277
- }, ...O]
278
- }), to = c("span", {
277
+ }, ...R]
278
+ }), to = l("span", {
279
279
  name: "MuiButton",
280
280
  slot: "EndIcon",
281
281
  overridesResolver: (o, a) => {
@@ -295,62 +295,62 @@ const Y = (o) => {
295
295
  style: {
296
296
  marginRight: -2
297
297
  }
298
- }, ...O]
299
- }), R = /* @__PURE__ */ g.forwardRef(function(a, n) {
300
- const r = g.useContext(I), s = g.useContext(h), p = H(r, a), u = A({
298
+ }, ...R]
299
+ }), E = /* @__PURE__ */ g.forwardRef(function(a, n) {
300
+ const r = g.useContext(h), d = g.useContext(O), p = A(r, a), u = q({
301
301
  props: p,
302
302
  name: "MuiButton"
303
303
  }), {
304
- children: f,
305
- color: y = "primary",
304
+ children: y,
305
+ color: f = "primary",
306
306
  component: S = "button",
307
- className: N,
307
+ className: k,
308
308
  disabled: z = !1,
309
- disableElevation: k = !1,
309
+ disableElevation: T = !1,
310
310
  disableFocusRipple: B = !1,
311
311
  endIcon: C,
312
- focusVisibleClassName: T,
313
- fullWidth: P = !1,
314
- size: W = "medium",
312
+ focusVisibleClassName: P,
313
+ fullWidth: W = !1,
314
+ size: M = "medium",
315
315
  startIcon: $,
316
316
  type: m,
317
- variant: M = "text",
318
- ...V
317
+ variant: V = "text",
318
+ ...L
319
319
  } = u, x = {
320
320
  ...u,
321
- color: y,
321
+ color: f,
322
322
  component: S,
323
323
  disabled: z,
324
- disableElevation: k,
324
+ disableElevation: T,
325
325
  disableFocusRipple: B,
326
- fullWidth: P,
327
- size: W,
326
+ fullWidth: W,
327
+ size: M,
328
328
  type: m,
329
- variant: M
330
- }, v = Y(x), L = $ && /* @__PURE__ */ d(oo, {
329
+ variant: V
330
+ }, v = Y(x), j = $ && /* @__PURE__ */ s(oo, {
331
331
  className: v.startIcon,
332
332
  ownerState: x,
333
333
  children: $
334
- }), j = C && /* @__PURE__ */ d(to, {
334
+ }), G = C && /* @__PURE__ */ s(to, {
335
335
  className: v.endIcon,
336
336
  ownerState: x,
337
337
  children: C
338
- }), G = s || "";
339
- return /* @__PURE__ */ D(Z, {
338
+ }), D = d || "";
339
+ return /* @__PURE__ */ F(Z, {
340
340
  ownerState: x,
341
- className: w(r.className, v.root, N, G),
341
+ className: w(r.className, v.root, k, D),
342
342
  component: S,
343
343
  disabled: z,
344
344
  focusRipple: !B,
345
- focusVisibleClassName: w(v.focusVisible, T),
345
+ focusVisibleClassName: w(v.focusVisible, P),
346
346
  ref: n,
347
347
  type: m,
348
- ...V,
348
+ ...L,
349
349
  classes: v,
350
- children: [L, f, j]
350
+ children: [j, y, G]
351
351
  });
352
352
  });
353
- process.env.NODE_ENV !== "production" && (R.propTypes = {
353
+ process.env.NODE_ENV !== "production" && (E.propTypes = {
354
354
  // ┌────────────────────────────── Warning ──────────────────────────────┐
355
355
  // │ These PropTypes are generated from the TypeScript type definitions. │
356
356
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -444,7 +444,7 @@ process.env.NODE_ENV !== "production" && (R.propTypes = {
444
444
  */
445
445
  variant: t.oneOfType([t.oneOf(["contained", "outlined", "text"]), t.string])
446
446
  });
447
- const E = c(R)`
447
+ const N = l(E)`
448
448
  text-transform: none;
449
449
  &:disabled {
450
450
  opacity: 0.5;
@@ -453,7 +453,7 @@ const E = c(R)`
453
453
  justify-content: center;
454
454
  align-items: center;
455
455
  }
456
- `, ao = c(E)`
456
+ `, ao = l(N)`
457
457
  background-color: ${i.colors.green};
458
458
  border-radius: 0;
459
459
  height: 2.5rem;
@@ -473,16 +473,18 @@ const E = c(R)`
473
473
  &:disabled {
474
474
  background-color: ${i.colors.darkGreen};
475
475
  }
476
- `, no = c(E)`
476
+ `, no = l(N)`
477
477
  color: ${i.colors.black};
478
478
  border: 3px solid ${i.colors.blue};
479
479
  padding: 0.5rem 2rem;
480
- `, po = ({
480
+ `, ro = l(I)`
481
+ border-radius: 8px;
482
+ `, uo = ({
481
483
  variant: o = 1,
482
484
  children: a,
483
485
  ...n
484
- }) => o === 2 ? /* @__PURE__ */ d(no, { ...n, children: /* @__PURE__ */ d("span", { children: a }) }) : /* @__PURE__ */ d(ao, { ...n, children: /* @__PURE__ */ d("span", { children: a }) });
486
+ }) => o === "unstyled" ? /* @__PURE__ */ s(ro, { ...n, children: a }) : o === 2 ? /* @__PURE__ */ s(no, { ...n, children: /* @__PURE__ */ s("span", { children: a }) }) : /* @__PURE__ */ s(ao, { ...n, children: /* @__PURE__ */ s("span", { children: a }) });
485
487
  export {
486
- po as Button,
487
- po as default
488
+ uo as Button,
489
+ uo as default
488
490
  };
@@ -1,3 +1,6 @@
1
1
  import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
2
- export declare const Input: React.FC<MuiTextFieldProps>;
2
+ export type InputProps = Omit<MuiTextFieldProps, 'variant'> & {
3
+ variant?: 'outlined' | 'simple';
4
+ };
5
+ export declare const Input: React.FC<InputProps>;
3
6
  export default Input;