@hybridcore/ui 1.3.2 → 1.3.4

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 (68) hide show
  1. package/dist/{ButtonBase-C875Ww3z.js → ButtonBase-DJz-TFGO.js} +200 -208
  2. package/dist/{CardContent-pWhEcyoR.js → CardContent-DZnCVGy9.js} +15 -15
  3. package/dist/{Checkbox-COCZU8Yl.js → Checkbox-DzmWBCrt.js} +154 -144
  4. package/dist/{Collapse-CZFw4GZs.js → Collapse-NqW0GIK_.js} +79 -77
  5. package/dist/DialogContent-D51w7KVX.js +2119 -0
  6. package/dist/FormControl-aXQs42m6.js +1363 -0
  7. package/dist/FormControlLabel-hDa-xf_q.js +639 -0
  8. package/dist/{IconButton-DM-0JFx9.js → IconButton-SnBOFQ43.js} +22 -22
  9. package/dist/{Input-DgIhcA8j.js → Input-CeVb6kjv.js} +34 -34
  10. package/dist/InputAdornment-fM3loNyx.js +155 -0
  11. package/dist/{List-Dz3Z1qJk.js → List-DLIiXc6r.js} +10 -10
  12. package/dist/{ListItem-DnyWDeDF.js → ListItem-BkxmqFI8.js} +23 -23
  13. package/dist/{MenuItem-BjC83iWq.js → MenuItem-BEW28T9O.js} +27 -27
  14. package/dist/{OutlinedInput-CS2BwiVg.js → OutlinedInput-DkzLHRTd.js} +75 -78
  15. package/dist/{Paper-seBMlMwu.js → Paper-Dp3qO0cK.js} +18 -18
  16. package/dist/Select-Cdmu0dQ4.js +2175 -0
  17. package/dist/Typography-CXe5ytr0.js +201 -0
  18. package/dist/components/card/index.js +17 -17
  19. package/dist/components/card/styled.js +1 -1
  20. package/dist/components/collapsible-card/style.js +222 -302
  21. package/dist/components/confirm/dialog.js +13 -13
  22. package/dist/components/container/index.js +19 -19
  23. package/dist/components/context-menu/index.js +32 -32
  24. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  25. package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
  26. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  27. package/dist/components/date-time-picker/index.js +4 -4
  28. package/dist/components/geometry-picker/index.js +7 -6
  29. package/dist/components/icon-button/index.js +1 -1
  30. package/dist/components/map/styled.js +14 -14
  31. package/dist/components/search-input/index.js +10 -9
  32. package/dist/components/template-property-filters/index.js +1 -1
  33. package/dist/components/template-property-filters/property.js +4 -4
  34. package/dist/components/tree-select/index.js +4 -4
  35. package/dist/components/treeview-filter/index.js +29 -30
  36. package/dist/components/treeview-filter/item/index.js +1 -1
  37. package/dist/components/treeview-filter/item-label/index.js +2 -2
  38. package/dist/createStyled-liRRhQcN.js +1910 -0
  39. package/dist/createSvgIcon-B4TFefhd.js +73 -0
  40. package/dist/{createSvgIcon-pajAAvTK.js → createSvgIcon-Cl8kMTkx.js} +82 -85
  41. package/dist/{exactProp-D0xuoiRB.js → exactProp-CT2wqJXE.js} +2 -2
  42. package/dist/{index-tNZngrO0.js → index-D9TdkXAs.js} +10 -10
  43. package/dist/{index-DlFdC7eU.js → index-DRy8nExS.js} +205 -218
  44. package/dist/{listItemTextClasses-DRMkDW2V.js → listItemTextClasses-BrCbmCR1.js} +2 -2
  45. package/dist/main.js +248 -326
  46. package/dist/property-BsU8ijQF.js +6857 -0
  47. package/dist/requirePropFactory-BItwGLRQ.js +18 -0
  48. package/dist/styled-Dm8rXzIG.js +677 -0
  49. package/dist/useTheme-CTuK-wFF.js +10 -0
  50. package/dist/useThemeProps-BXn-nVhw.js +107 -0
  51. package/dist/{utils-Cbb4HUTT.js → utils-DY9Jk4Ah.js} +2 -2
  52. package/package.json +4 -4
  53. package/dist/DialogContent-DhcqAG-q.js +0 -1982
  54. package/dist/FormControl-BhwmBUAq.js +0 -1479
  55. package/dist/FormControlLabel-BL6c4YAN.js +0 -827
  56. package/dist/Select-C8Iimh3g.js +0 -2305
  57. package/dist/Typography-CqyjdT7p.js +0 -178
  58. package/dist/chainPropTypes-CwfDfLEA.js +0 -96
  59. package/dist/createSvgIcon-CTQMsmqJ.js +0 -77
  60. package/dist/createTheme-CCwx9ptk.js +0 -2395
  61. package/dist/property-CKak9_tn.js +0 -7020
  62. package/dist/resolveComponentProps-DVsx78bV.js +0 -54
  63. package/dist/styled-CPg13iuX.js +0 -142
  64. package/dist/styled-fcu13kUF.js +0 -1033
  65. package/dist/useTheme-BWgLzAUj.js +0 -18
  66. package/dist/useTheme-pp7LSyyX.js +0 -10
  67. package/dist/useThemeProps-CDWnyqCh.js +0 -62
  68. package/dist/useThemeProps-DOuXhu3E.js +0 -27
@@ -1,17 +1,17 @@
1
- import { _ as l, a as _ } from "./extends-Cyw62AD_.js";
1
+ import { _ as l, a as j } from "./extends-Cyw62AD_.js";
2
2
  import * as d from "react";
3
- import { P as t } from "./createTheme-CCwx9ptk.js";
4
- import { g as V, u as j, c as x, a as D } from "./chainPropTypes-CwfDfLEA.js";
5
- import { g as E, s as F, r as G, a as p } from "./styled-fcu13kUF.js";
6
- import { a as I } from "./List-Dz3Z1qJk.js";
3
+ import { P as t } from "./createStyled-liRRhQcN.js";
4
+ import { g as V, u as E, c as x, a as F } from "./useThemeProps-BXn-nVhw.js";
5
+ import { g as G, s as L, r as U, a as p } from "./styled-Dm8rXzIG.js";
6
+ import { a as I } from "./List-DLIiXc6r.js";
7
7
  import { jsx as $ } from "react/jsx-runtime";
8
- import { B as L, u as U, b as S } from "./ButtonBase-C875Ww3z.js";
9
- import { l as O, b as M } from "./listItemTextClasses-DRMkDW2V.js";
8
+ import { B as _, b as D, u as S } from "./ButtonBase-DJz-TFGO.js";
9
+ import { l as O, b as M } from "./listItemTextClasses-BrCbmCR1.js";
10
10
  const N = V("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
11
- function H(e) {
12
- return E("MuiMenuItem", e);
11
+ function h(e) {
12
+ return G("MuiMenuItem", e);
13
13
  }
14
- const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), W = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], h = (e, o) => {
14
+ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divider", "gutters", "selected"]), H = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"], W = (e, o) => {
15
15
  const {
16
16
  ownerState: s
17
17
  } = e;
@@ -24,15 +24,15 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
24
24
  disableGutters: c,
25
25
  selected: u,
26
26
  classes: i
27
- } = e, r = D({
27
+ } = e, r = F({
28
28
  root: ["root", s && "dense", o && "disabled", !c && "gutters", a && "divider", u && "selected"]
29
- }, H, i);
29
+ }, h, i);
30
30
  return l({}, i, r);
31
- }, A = F(L, {
32
- shouldForwardProp: (e) => G(e) || e === "classes",
31
+ }, A = L(_, {
32
+ shouldForwardProp: (e) => U(e) || e === "classes",
33
33
  name: "MuiMenuItem",
34
34
  slot: "Root",
35
- overridesResolver: h
35
+ overridesResolver: W
36
36
  })(({
37
37
  theme: e,
38
38
  ownerState: o
@@ -112,7 +112,7 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
112
112
  fontSize: "1.25rem"
113
113
  }
114
114
  }))), q = /* @__PURE__ */ d.forwardRef(function(o, s) {
115
- const a = j({
115
+ const a = E({
116
116
  props: o,
117
117
  name: "MuiMenuItem"
118
118
  }), {
@@ -122,14 +122,14 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
122
122
  divider: m = !1,
123
123
  disableGutters: r = !1,
124
124
  focusVisibleClassName: R,
125
- role: k = "menuitem",
125
+ role: T = "menuitem",
126
126
  tabIndex: g,
127
- className: w
128
- } = a, T = _(a, W), v = d.useContext(I), y = d.useMemo(() => ({
127
+ className: k
128
+ } = a, w = j(a, H), v = d.useContext(I), y = d.useMemo(() => ({
129
129
  dense: i || v.dense || !1,
130
130
  disableGutters: r
131
131
  }), [v.dense, i, r]), b = d.useRef(null);
132
- U(() => {
132
+ D(() => {
133
133
  c && (b.current ? b.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
134
134
  }, [c]);
135
135
  const B = l({}, a, {
@@ -142,22 +142,22 @@ const n = V("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divide
142
142
  value: y,
143
143
  children: /* @__PURE__ */ $(A, l({
144
144
  ref: P,
145
- role: k,
145
+ role: T,
146
146
  tabIndex: C,
147
147
  component: u,
148
148
  focusVisibleClassName: x(f.focusVisible, R),
149
- className: x(f.root, w)
150
- }, T, {
149
+ className: x(f.root, k)
150
+ }, w, {
151
151
  ownerState: B,
152
152
  classes: f
153
153
  }))
154
154
  });
155
155
  });
156
156
  process.env.NODE_ENV !== "production" && (q.propTypes = {
157
- // ┌────────────────────────────── Warning ──────────────────────────────┐
158
- // These PropTypes are generated from the TypeScript type definitions.
159
- // To update them, edit the d.ts file and run `pnpm proptypes`.
160
- // └─────────────────────────────────────────────────────────────────────┘
157
+ // ----------------------------- Warning --------------------------------
158
+ // | These PropTypes are generated from the TypeScript type definitions |
159
+ // | To update them edit the d.ts file and run "yarn proptypes" |
160
+ // ----------------------------------------------------------------------
161
161
  /**
162
162
  * If `true`, the list item is focused during the first mount.
163
163
  * Focus will also be triggered if the value changes from false to true.
@@ -1,16 +1,14 @@
1
- import { a as $, _ as n } from "./extends-Cyw62AD_.js";
2
- import * as T from "react";
3
- import { P as e } from "./createTheme-CCwx9ptk.js";
4
- import { s as c, r as h, g as P } from "./styled-fcu13kUF.js";
5
- import { jsx as a, jsxs as A } from "react/jsx-runtime";
6
- import { u as S } from "./useFormControl-CatNKXAi.js";
7
- import { i as z, b as M, r as E, c as q, d as U, f as D, e as V } from "./FormControl-BhwmBUAq.js";
8
- import { g as H, u as G, a as J } from "./chainPropTypes-CwfDfLEA.js";
9
- import { r as K } from "./ButtonBase-C875Ww3z.js";
10
- var N;
11
- const Q = ["children", "classes", "className", "label", "notched"], X = c("fieldset", {
12
- shouldForwardProp: h
13
- })({
1
+ import { a as N, _ as n } from "./extends-Cyw62AD_.js";
2
+ import * as w from "react";
3
+ import { P as e } from "./createStyled-liRRhQcN.js";
4
+ import { s as c, g as F, r as A } from "./styled-Dm8rXzIG.js";
5
+ import { jsx as a, jsxs as S } from "react/jsx-runtime";
6
+ import { u as P } from "./useFormControl-CatNKXAi.js";
7
+ import { i as M, a as z, r as E, b as q, c as U, f as V, d as D } from "./FormControl-aXQs42m6.js";
8
+ import { g as H, u as G, a as J } from "./useThemeProps-BXn-nVhw.js";
9
+ import { r as K } from "./ButtonBase-DJz-TFGO.js";
10
+ var T;
11
+ const Q = ["children", "classes", "className", "label", "notched"], X = c("fieldset")({
14
12
  textAlign: "left",
15
13
  position: "absolute",
16
14
  bottom: 0,
@@ -25,9 +23,7 @@ const Q = ["children", "classes", "className", "label", "notched"], X = c("field
25
23
  borderWidth: 1,
26
24
  overflow: "hidden",
27
25
  minWidth: "0%"
28
- }), Y = c("legend", {
29
- shouldForwardProp: h
30
- })(({
26
+ }), Y = c("legend")(({
31
27
  ownerState: o,
32
28
  theme: t
33
29
  }) => n({
@@ -73,12 +69,12 @@ const Q = ["children", "classes", "className", "label", "notched"], X = c("field
73
69
  delay: 50
74
70
  })
75
71
  })));
76
- function W(o) {
72
+ function $(o) {
77
73
  const {
78
74
  className: t,
79
- label: r,
75
+ label: i,
80
76
  notched: l
81
- } = o, f = $(o, Q), d = r != null && r !== "", u = n({}, o, {
77
+ } = o, f = N(o, Q), d = i != null && i !== "", u = n({}, o, {
82
78
  notched: l,
83
79
  withLabel: d
84
80
  });
@@ -90,10 +86,10 @@ function W(o) {
90
86
  children: /* @__PURE__ */ a(Y, {
91
87
  ownerState: u,
92
88
  children: d ? /* @__PURE__ */ a("span", {
93
- children: r
89
+ children: i
94
90
  }) : (
95
91
  // notranslate needed while Google Translate will not fix zero-width space issue
96
- N || (N = /* @__PURE__ */ a("span", {
92
+ T || (T = /* @__PURE__ */ a("span", {
97
93
  className: "notranslate",
98
94
  children: "​"
99
95
  }))
@@ -101,13 +97,14 @@ function W(o) {
101
97
  })
102
98
  }));
103
99
  }
104
- process.env.NODE_ENV !== "production" && (W.propTypes = {
100
+ process.env.NODE_ENV !== "production" && ($.propTypes = {
105
101
  /**
106
102
  * The content of the component.
107
103
  */
108
104
  children: e.node,
109
105
  /**
110
106
  * Override or extend the styles applied to the component.
107
+ * See [CSS API](#css) below for more details.
111
108
  */
112
109
  classes: e.object,
113
110
  /**
@@ -128,9 +125,9 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
128
125
  style: e.object
129
126
  });
130
127
  function Z(o) {
131
- return P("MuiOutlinedInput", o);
128
+ return F("MuiOutlinedInput", o);
132
129
  }
133
- const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])), ee = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], oe = (o) => {
130
+ const r = n({}, M, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])), ee = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"], oe = (o) => {
134
131
  const {
135
132
  classes: t
136
133
  } = o, l = J({
@@ -139,8 +136,8 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
139
136
  input: ["input"]
140
137
  }, Z, t);
141
138
  return n({}, t, l);
142
- }, te = c(M, {
143
- shouldForwardProp: (o) => h(o) || o === "classes",
139
+ }, te = c(z, {
140
+ shouldForwardProp: (o) => A(o) || o === "classes",
144
141
  name: "MuiOutlinedInput",
145
142
  slot: "Root",
146
143
  overridesResolver: E
@@ -148,27 +145,27 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
148
145
  theme: o,
149
146
  ownerState: t
150
147
  }) => {
151
- const r = o.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
148
+ const i = o.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
152
149
  return n({
153
150
  position: "relative",
154
151
  borderRadius: (o.vars || o).shape.borderRadius,
155
- [`&:hover .${i.notchedOutline}`]: {
152
+ [`&:hover .${r.notchedOutline}`]: {
156
153
  borderColor: (o.vars || o).palette.text.primary
157
154
  },
158
155
  // Reset on touch devices, it doesn't add specificity
159
156
  "@media (hover: none)": {
160
- [`&:hover .${i.notchedOutline}`]: {
161
- borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : r
157
+ [`&:hover .${r.notchedOutline}`]: {
158
+ borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : i
162
159
  }
163
160
  },
164
- [`&.${i.focused} .${i.notchedOutline}`]: {
161
+ [`&.${r.focused} .${r.notchedOutline}`]: {
165
162
  borderColor: (o.vars || o).palette[t.color].main,
166
163
  borderWidth: 2
167
164
  },
168
- [`&.${i.error} .${i.notchedOutline}`]: {
165
+ [`&.${r.error} .${r.notchedOutline}`]: {
169
166
  borderColor: (o.vars || o).palette.error.main
170
167
  },
171
- [`&.${i.disabled} .${i.notchedOutline}`]: {
168
+ [`&.${r.disabled} .${r.notchedOutline}`]: {
172
169
  borderColor: (o.vars || o).palette.action.disabled
173
170
  }
174
171
  }, t.startAdornment && {
@@ -180,7 +177,7 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
180
177
  }, t.size === "small" && {
181
178
  padding: "8.5px 14px"
182
179
  }));
183
- }), ne = c(W, {
180
+ }), ne = c($, {
184
181
  name: "MuiOutlinedInput",
185
182
  slot: "NotchedOutline",
186
183
  overridesResolver: (o, t) => t.notchedOutline
@@ -191,7 +188,7 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
191
188
  return {
192
189
  borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
193
190
  };
194
- }), re = c(q, {
191
+ }), ie = c(q, {
195
192
  name: "MuiOutlinedInput",
196
193
  slot: "Input",
197
194
  overridesResolver: U
@@ -226,65 +223,65 @@ const i = n({}, z, H("MuiOutlinedInput", ["root", "notchedOutline", "input"])),
226
223
  paddingLeft: 0
227
224
  }, t.endAdornment && {
228
225
  paddingRight: 0
229
- })), _ = /* @__PURE__ */ T.forwardRef(function(t, r) {
230
- var l, f, d, u, g;
226
+ })), W = /* @__PURE__ */ w.forwardRef(function(t, i) {
227
+ var l, f, d, u, h;
231
228
  const p = G({
232
229
  props: t,
233
230
  name: "MuiOutlinedInput"
234
231
  }), {
235
- components: O = {},
236
- fullWidth: y = !1,
237
- inputComponent: k = "input",
238
- label: b,
239
- multiline: v = !1,
240
- notched: C,
241
- slots: x = {},
242
- type: R = "text"
243
- } = p, F = $(p, ee), I = oe(p), w = S(), s = D({
232
+ components: g = {},
233
+ fullWidth: O = !1,
234
+ inputComponent: _ = "input",
235
+ label: m,
236
+ multiline: y = !1,
237
+ notched: v,
238
+ slots: C = {},
239
+ type: x = "text"
240
+ } = p, k = N(p, ee), R = oe(p), I = P(), s = V({
244
241
  props: p,
245
- muiFormControl: w,
246
- states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
247
- }), L = n({}, p, {
242
+ muiFormControl: I,
243
+ states: ["required"]
244
+ }), B = n({}, p, {
248
245
  color: s.color || "primary",
249
246
  disabled: s.disabled,
250
247
  error: s.error,
251
248
  focused: s.focused,
252
- formControl: w,
253
- fullWidth: y,
249
+ formControl: I,
250
+ fullWidth: O,
254
251
  hiddenLabel: s.hiddenLabel,
255
- multiline: v,
252
+ multiline: y,
256
253
  size: s.size,
257
- type: R
258
- }), B = (l = (f = x.root) != null ? f : O.Root) != null ? l : te, j = (d = (u = x.input) != null ? u : O.Input) != null ? d : re;
259
- return /* @__PURE__ */ a(V, n({
254
+ type: x
255
+ }), L = (l = (f = C.root) != null ? f : g.Root) != null ? l : te, j = (d = (u = C.input) != null ? u : g.Input) != null ? d : ie;
256
+ return /* @__PURE__ */ a(D, n({
260
257
  slots: {
261
- root: B,
258
+ root: L,
262
259
  input: j
263
260
  },
264
- renderSuffix: (m) => /* @__PURE__ */ a(ne, {
265
- ownerState: L,
266
- className: I.notchedOutline,
267
- label: b != null && b !== "" && s.required ? g || (g = /* @__PURE__ */ A(T.Fragment, {
268
- children: [b, " ", "*"]
269
- })) : b,
270
- notched: typeof C < "u" ? C : !!(m.startAdornment || m.filled || m.focused)
261
+ renderSuffix: (b) => /* @__PURE__ */ a(ne, {
262
+ ownerState: B,
263
+ className: R.notchedOutline,
264
+ label: m != null && m !== "" && s.required ? h || (h = /* @__PURE__ */ S(w.Fragment, {
265
+ children: [m, " ", "*"]
266
+ })) : m,
267
+ notched: typeof v < "u" ? v : !!(b.startAdornment || b.filled || b.focused)
271
268
  }),
272
- fullWidth: y,
273
- inputComponent: k,
274
- multiline: v,
275
- ref: r,
276
- type: R
277
- }, F, {
278
- classes: n({}, I, {
269
+ fullWidth: O,
270
+ inputComponent: _,
271
+ multiline: y,
272
+ ref: i,
273
+ type: x
274
+ }, k, {
275
+ classes: n({}, R, {
279
276
  notchedOutline: null
280
277
  })
281
278
  }));
282
279
  });
283
- process.env.NODE_ENV !== "production" && (_.propTypes = {
284
- // ┌────────────────────────────── Warning ──────────────────────────────┐
285
- // These PropTypes are generated from the TypeScript type definitions.
286
- // To update them, edit the d.ts file and run `pnpm proptypes`.
287
- // └─────────────────────────────────────────────────────────────────────┘
280
+ process.env.NODE_ENV !== "production" && (W.propTypes = {
281
+ // ----------------------------- Warning --------------------------------
282
+ // | These PropTypes are generated from the TypeScript type definitions |
283
+ // | To update them edit the d.ts file and run "yarn proptypes" |
284
+ // ----------------------------------------------------------------------
288
285
  /**
289
286
  * This prop helps users to fill forms faster, especially on mobile devices.
290
287
  * The name can be confusing, as it's more like an autofill.
@@ -302,7 +299,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
302
299
  /**
303
300
  * The color of the component.
304
301
  * It supports both default and custom theme colors, which can be added as shown in the
305
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
302
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
306
303
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
307
304
  */
308
305
  color: e.oneOfType([e.oneOf(["primary", "secondary"]), e.string]),
@@ -446,7 +443,7 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
446
443
  */
447
444
  value: e.any
448
445
  });
449
- _.muiName = "Input";
446
+ W.muiName = "Input";
450
447
  export {
451
- _ as O
448
+ W as O
452
449
  };
@@ -1,9 +1,9 @@
1
- import { _ as l, a as P } from "./extends-Cyw62AD_.js";
2
- import * as h from "react";
3
- import { P as t } from "./createTheme-CCwx9ptk.js";
4
- import { g as N, u as $, c as T, b as I, a as R } from "./chainPropTypes-CwfDfLEA.js";
5
- import { g as q, s as x, a as p } from "./styled-fcu13kUF.js";
6
- import { u as E } from "./useTheme-pp7LSyyX.js";
1
+ import { _ as l, a as h } from "./extends-Cyw62AD_.js";
2
+ import * as P from "react";
3
+ import { P as t } from "./createStyled-liRRhQcN.js";
4
+ import { g as N, u as $, c as T, d as I, a as R } from "./useThemeProps-BXn-nVhw.js";
5
+ import { g as q, s as x, a as p } from "./styled-Dm8rXzIG.js";
6
+ import { u as E } from "./useTheme-CTuK-wFF.js";
7
7
  import { jsx as M } from "react/jsx-runtime";
8
8
  function O(e) {
9
9
  const o = typeof e;
@@ -16,13 +16,13 @@ function O(e) {
16
16
  return o;
17
17
  }
18
18
  }
19
- function _(e) {
19
+ function V(e) {
20
20
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e;
21
21
  }
22
- const V = Number.isInteger || _;
22
+ const _ = Number.isInteger || V;
23
23
  function d(e, o, n, a) {
24
24
  const r = e[o];
25
- if (r == null || !V(r)) {
25
+ if (r == null || !_(r)) {
26
26
  const i = O(r);
27
27
  return new RangeError(`Invalid ${a} \`${o}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`);
28
28
  }
@@ -83,7 +83,7 @@ const C = ["className", "component", "elevation", "square", "variant"], k = (e)
83
83
  }, e.vars && {
84
84
  backgroundImage: (n = e.vars.overlays) == null ? void 0 : n[o.elevation]
85
85
  }));
86
- }), D = /* @__PURE__ */ h.forwardRef(function(o, n) {
86
+ }), D = /* @__PURE__ */ P.forwardRef(function(o, n) {
87
87
  const a = $({
88
88
  props: o,
89
89
  name: "MuiPaper"
@@ -92,12 +92,12 @@ const C = ["className", "component", "elevation", "square", "variant"], k = (e)
92
92
  component: i = "div",
93
93
  elevation: s = 1,
94
94
  square: m = !1,
95
- variant: b = "elevation"
96
- } = a, g = P(a, C), v = l({}, a, {
95
+ variant: g = "elevation"
96
+ } = a, b = h(a, C), v = l({}, a, {
97
97
  component: i,
98
98
  elevation: s,
99
99
  square: m,
100
- variant: b
100
+ variant: g
101
101
  }), y = k(v);
102
102
  return process.env.NODE_ENV !== "production" && E().shadows[s] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
103
103
  `)), /* @__PURE__ */ M(U, l({
@@ -105,13 +105,13 @@ const C = ["className", "component", "elevation", "square", "variant"], k = (e)
105
105
  ownerState: v,
106
106
  className: T(y.root, r),
107
107
  ref: n
108
- }, g));
108
+ }, b));
109
109
  });
110
110
  process.env.NODE_ENV !== "production" && (D.propTypes = {
111
- // ┌────────────────────────────── Warning ──────────────────────────────┐
112
- // These PropTypes are generated from the TypeScript type definitions.
113
- // To update them, edit the d.ts file and run `pnpm proptypes`.
114
- // └─────────────────────────────────────────────────────────────────────┘
111
+ // ----------------------------- Warning --------------------------------
112
+ // | These PropTypes are generated from the TypeScript type definitions |
113
+ // | To update them edit the d.ts file and run "yarn proptypes" |
114
+ // ----------------------------------------------------------------------
115
115
  /**
116
116
  * The content of the component.
117
117
  */