@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,14 +1,14 @@
1
1
  import { _ as t, a as h } from "./extends-Cyw62AD_.js";
2
2
  import * as d from "react";
3
- import { a as n, P as r } from "./createTheme-CCwx9ptk.js";
4
- import { g as z, u as R, c as C, b as B, a as I } from "./chainPropTypes-CwfDfLEA.js";
5
- import { g as O, s as x, a as g } from "./styled-fcu13kUF.js";
6
- import { jsx as T } from "react/jsx-runtime";
7
- import { B as $ } from "./ButtonBase-C875Ww3z.js";
3
+ import { a as n, P as r } from "./createStyled-liRRhQcN.js";
4
+ import { g as z, u as R, c as C, d as B, a as I } from "./useThemeProps-BXn-nVhw.js";
5
+ import { g as O, s as T, a as f } from "./styled-Dm8rXzIG.js";
6
+ import { jsx as x } from "react/jsx-runtime";
7
+ import { B as $ } from "./ButtonBase-DJz-TFGO.js";
8
8
  function k(o) {
9
9
  return O("MuiIconButton", o);
10
10
  }
11
- const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), _ = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], j = (o) => {
11
+ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge"]), j = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"], E = (o) => {
12
12
  const {
13
13
  classes: e,
14
14
  disabled: a,
@@ -19,7 +19,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
19
19
  root: ["root", a && "disabled", s !== "default" && `color${n(s)}`, i && `edge${n(i)}`, `size${n(l)}`]
20
20
  };
21
21
  return I(c, k, e);
22
- }, E = x($, {
22
+ }, M = T($, {
23
23
  name: "MuiIconButton",
24
24
  slot: "Root",
25
25
  overridesResolver: (o, e) => {
@@ -45,7 +45,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
45
45
  })
46
46
  }, !e.disableRipple && {
47
47
  "&:hover": {
48
- backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : g(o.palette.action.active, o.palette.action.hoverOpacity),
48
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : f(o.palette.action.active, o.palette.action.hoverOpacity),
49
49
  // Reset on touch devices, it doesn't add specificity
50
50
  "@media (hover: none)": {
51
51
  backgroundColor: "transparent"
@@ -67,7 +67,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
67
67
  color: s == null ? void 0 : s.main
68
68
  }, !e.disableRipple && {
69
69
  "&:hover": t({}, s && {
70
- backgroundColor: o.vars ? `rgba(${s.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : g(s.main, o.palette.action.hoverOpacity)
70
+ backgroundColor: o.vars ? `rgba(${s.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : f(s.main, o.palette.action.hoverOpacity)
71
71
  }, {
72
72
  // Reset on touch devices, it doesn't add specificity
73
73
  "@media (hover: none)": {
@@ -86,7 +86,7 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
86
86
  color: (o.vars || o).palette.action.disabled
87
87
  }
88
88
  });
89
- }), M = /* @__PURE__ */ d.forwardRef(function(e, a) {
89
+ }), N = /* @__PURE__ */ d.forwardRef(function(e, a) {
90
90
  const s = R({
91
91
  props: e,
92
92
  name: "MuiIconButton"
@@ -98,29 +98,29 @@ const P = z("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary"
98
98
  disabled: p = !1,
99
99
  disableFocusRipple: u = !1,
100
100
  size: v = "medium"
101
- } = s, m = h(s, _), f = t({}, s, {
101
+ } = s, m = h(s, j), g = t({}, s, {
102
102
  edge: i,
103
103
  color: b,
104
104
  disabled: p,
105
105
  disableFocusRipple: u,
106
106
  size: v
107
- }), y = j(f);
108
- return /* @__PURE__ */ T(E, t({
107
+ }), y = E(g);
108
+ return /* @__PURE__ */ x(M, t({
109
109
  className: C(y.root, c),
110
110
  centerRipple: !0,
111
111
  focusRipple: !u,
112
112
  disabled: p,
113
- ref: a
113
+ ref: a,
114
+ ownerState: g
114
115
  }, m, {
115
- ownerState: f,
116
116
  children: l
117
117
  }));
118
118
  });
119
- process.env.NODE_ENV !== "production" && (M.propTypes = {
120
- // ┌────────────────────────────── Warning ──────────────────────────────┐
121
- // These PropTypes are generated from the TypeScript type definitions.
122
- // To update them, edit the d.ts file and run `pnpm proptypes`.
123
- // └─────────────────────────────────────────────────────────────────────┘
119
+ process.env.NODE_ENV !== "production" && (N.propTypes = {
120
+ // ----------------------------- Warning --------------------------------
121
+ // | These PropTypes are generated from the TypeScript type definitions |
122
+ // | To update them edit the d.ts file and run "yarn proptypes" |
123
+ // ----------------------------------------------------------------------
124
124
  /**
125
125
  * The icon to display.
126
126
  */
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
137
137
  /**
138
138
  * The color of the component.
139
139
  * It supports both default and custom theme colors, which can be added as shown in the
140
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
140
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
141
141
  * @default 'default'
142
142
  */
143
143
  color: r.oneOfType([r.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), r.string]),
@@ -179,5 +179,5 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
179
179
  sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
180
180
  });
181
181
  export {
182
- M as I
182
+ N as I
183
183
  };
@@ -1,24 +1,24 @@
1
- import { _ as a, a as U } from "./extends-Cyw62AD_.js";
2
- import * as h from "react";
3
- import { d as j, P as o } from "./createTheme-CCwx9ptk.js";
4
- import { g as _, s as y, r as w } from "./styled-fcu13kUF.js";
5
- import { i as M, b as S, r as W, c as E, d as F, e as N } from "./FormControl-BhwmBUAq.js";
6
- import { g as X, u as A, a as D } from "./chainPropTypes-CwfDfLEA.js";
7
- import { jsx as L } from "react/jsx-runtime";
8
- import { r as V } from "./ButtonBase-C875Ww3z.js";
9
- function k(t) {
1
+ import { _ as a, a as B } from "./extends-Cyw62AD_.js";
2
+ import * as U from "react";
3
+ import { b as j, P as o } from "./createStyled-liRRhQcN.js";
4
+ import { g as _, s as y, r as w } from "./styled-Dm8rXzIG.js";
5
+ import { g as M, u as S, a as W } from "./useThemeProps-BXn-nVhw.js";
6
+ import { i as E, a as F, r as N, b as X, c as A, d as L } from "./FormControl-aXQs42m6.js";
7
+ import { jsx as V } from "react/jsx-runtime";
8
+ import { r as k } from "./ButtonBase-DJz-TFGO.js";
9
+ function q(t) {
10
10
  return _("MuiInput", t);
11
11
  }
12
- const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], z = (t) => {
12
+ const r = a({}, E, M("MuiInput", ["root", "underline", "input"])), D = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], z = (t) => {
13
13
  const {
14
14
  classes: e,
15
15
  disableUnderline: s
16
- } = t, i = D({
16
+ } = t, i = W({
17
17
  root: ["root", !s && "underline"],
18
18
  input: ["input"]
19
- }, k, e);
19
+ }, q, e);
20
20
  return a({}, e, i);
21
- }, G = y(S, {
21
+ }, G = y(F, {
22
22
  shouldForwardProp: (t) => w(t) || t === "classes",
23
23
  name: "MuiInput",
24
24
  slot: "Root",
@@ -26,7 +26,7 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
26
26
  const {
27
27
  ownerState: s
28
28
  } = t;
29
- return [...W(t, e), !s.disableUnderline && e.underline];
29
+ return [...N(t, e), !s.disableUnderline && e.underline];
30
30
  }
31
31
  })(({
32
32
  theme: t,
@@ -40,7 +40,7 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
40
40
  marginTop: 16
41
41
  }
42
42
  }, !e.disableUnderline && {
43
- "&::after": {
43
+ "&:after": {
44
44
  borderBottom: `2px solid ${(t.vars || t).palette[e.color].main}`,
45
45
  left: 0,
46
46
  bottom: 0,
@@ -62,11 +62,11 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
62
62
  transform: "scaleX(1) translateX(0)"
63
63
  },
64
64
  [`&.${r.error}`]: {
65
- "&::before, &::after": {
65
+ "&:before, &:after": {
66
66
  borderBottomColor: (t.vars || t).palette.error.main
67
67
  }
68
68
  },
69
- "&::before": {
69
+ "&:before": {
70
70
  borderBottom: `1px solid ${n}`,
71
71
  left: 0,
72
72
  bottom: 0,
@@ -91,13 +91,13 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
91
91
  borderBottomStyle: "dotted"
92
92
  }
93
93
  });
94
- }), H = y(E, {
94
+ }), H = y(X, {
95
95
  name: "MuiInput",
96
96
  slot: "Input",
97
- overridesResolver: F
98
- })({}), g = /* @__PURE__ */ h.forwardRef(function(e, s) {
97
+ overridesResolver: A
98
+ })({}), g = /* @__PURE__ */ U.forwardRef(function(e, s) {
99
99
  var n, i, u, d;
100
- const p = A({
100
+ const p = S({
101
101
  props: e,
102
102
  name: "MuiInput"
103
103
  }), {
@@ -109,34 +109,34 @@ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disable
109
109
  multiline: P = !1,
110
110
  slotProps: l,
111
111
  slots: b = {},
112
- type: R = "text"
113
- } = p, T = U(p, q), O = z(p), f = {
112
+ type: T = "text"
113
+ } = p, R = B(p, D), O = z(p), f = {
114
114
  root: {
115
115
  ownerState: {
116
116
  disableUnderline: v
117
117
  }
118
118
  }
119
- }, $ = l ?? m ? j(l ?? m, f) : f, x = (n = (i = b.root) != null ? i : c.Root) != null ? n : G, B = (u = (d = b.input) != null ? d : c.Input) != null ? u : H;
120
- return /* @__PURE__ */ L(N, a({
119
+ }, $ = l ?? m ? j(l ?? m, f) : f, x = (n = (i = b.root) != null ? i : c.Root) != null ? n : G, h = (u = (d = b.input) != null ? d : c.Input) != null ? u : H;
120
+ return /* @__PURE__ */ V(L, a({
121
121
  slots: {
122
122
  root: x,
123
- input: B
123
+ input: h
124
124
  },
125
125
  slotProps: $,
126
126
  fullWidth: C,
127
127
  inputComponent: I,
128
128
  multiline: P,
129
129
  ref: s,
130
- type: R
131
- }, T, {
130
+ type: T
131
+ }, R, {
132
132
  classes: O
133
133
  }));
134
134
  });
135
135
  process.env.NODE_ENV !== "production" && (g.propTypes = {
136
- // ┌────────────────────────────── Warning ──────────────────────────────┐
137
- // These PropTypes are generated from the TypeScript type definitions.
138
- // To update them, edit the d.ts file and run `pnpm proptypes`.
139
- // └─────────────────────────────────────────────────────────────────────┘
136
+ // ----------------------------- Warning --------------------------------
137
+ // | These PropTypes are generated from the TypeScript type definitions |
138
+ // | To update them edit the d.ts file and run "yarn proptypes" |
139
+ // ----------------------------------------------------------------------
140
140
  /**
141
141
  * This prop helps users to fill forms faster, especially on mobile devices.
142
142
  * The name can be confusing, as it's more like an autofill.
@@ -154,7 +154,7 @@ process.env.NODE_ENV !== "production" && (g.propTypes = {
154
154
  /**
155
155
  * The color of the component.
156
156
  * It supports both default and custom theme colors, which can be added as shown in the
157
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
157
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
158
158
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
159
159
  */
160
160
  color: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
@@ -228,7 +228,7 @@ process.env.NODE_ENV !== "production" && (g.propTypes = {
228
228
  /**
229
229
  * Pass a ref to the `input` element.
230
230
  */
231
- inputRef: V,
231
+ inputRef: k,
232
232
  /**
233
233
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
234
234
  * FormControl.
@@ -0,0 +1,155 @@
1
+ import { _ as u, a as I } from "./extends-Cyw62AD_.js";
2
+ import * as b from "react";
3
+ import { P as e, a as v } from "./createStyled-liRRhQcN.js";
4
+ import { g as x, u as A, c as C, a as N } from "./useThemeProps-BXn-nVhw.js";
5
+ import { u as L, F as O } from "./useFormControl-CatNKXAi.js";
6
+ import { g as R, s as _ } from "./styled-Dm8rXzIG.js";
7
+ import { jsx as l, jsxs as j } from "react/jsx-runtime";
8
+ import { T as z } from "./Typography-CXe5ytr0.js";
9
+ function F(t) {
10
+ return R("MuiInputAdornment", t);
11
+ }
12
+ const y = x("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
13
+ var g;
14
+ const M = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"], U = (t, o) => {
15
+ const {
16
+ ownerState: n
17
+ } = t;
18
+ return [o.root, o[`position${v(n.position)}`], n.disablePointerEvents === !0 && o.disablePointerEvents, o[n.variant]];
19
+ }, $ = (t) => {
20
+ const {
21
+ classes: o,
22
+ disablePointerEvents: n,
23
+ hiddenLabel: r,
24
+ position: s,
25
+ size: a,
26
+ variant: p
27
+ } = t, d = {
28
+ root: ["root", n && "disablePointerEvents", s && `position${v(s)}`, p, r && "hiddenLabel", a && `size${v(a)}`]
29
+ };
30
+ return N(d, F, o);
31
+ }, S = _("div", {
32
+ name: "MuiInputAdornment",
33
+ slot: "Root",
34
+ overridesResolver: U
35
+ })(({
36
+ theme: t,
37
+ ownerState: o
38
+ }) => u({
39
+ display: "flex",
40
+ height: "0.01em",
41
+ // Fix IE11 flexbox alignment. To remove at some point.
42
+ maxHeight: "2em",
43
+ alignItems: "center",
44
+ whiteSpace: "nowrap",
45
+ color: (t.vars || t).palette.action.active
46
+ }, o.variant === "filled" && {
47
+ // Styles applied to the root element if `variant="filled"`.
48
+ [`&.${y.positionStart}&:not(.${y.hiddenLabel})`]: {
49
+ marginTop: 16
50
+ }
51
+ }, o.position === "start" && {
52
+ // Styles applied to the root element if `position="start"`.
53
+ marginRight: 8
54
+ }, o.position === "end" && {
55
+ // Styles applied to the root element if `position="end"`.
56
+ marginLeft: 8
57
+ }, o.disablePointerEvents === !0 && {
58
+ // Styles applied to the root element if `disablePointerEvents={true}`.
59
+ pointerEvents: "none"
60
+ })), w = /* @__PURE__ */ b.forwardRef(function(o, n) {
61
+ const r = A({
62
+ props: o,
63
+ name: "MuiInputAdornment"
64
+ }), {
65
+ children: s,
66
+ className: a,
67
+ component: p = "div",
68
+ disablePointerEvents: d = !1,
69
+ disableTypography: E = !1,
70
+ position: f,
71
+ variant: c
72
+ } = r, P = I(r, M), i = L() || {};
73
+ let m = c;
74
+ c && i.variant && process.env.NODE_ENV !== "production" && c === i.variant && console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."), i && !m && (m = i.variant);
75
+ const h = u({}, r, {
76
+ hiddenLabel: i.hiddenLabel,
77
+ size: i.size,
78
+ disablePointerEvents: d,
79
+ position: f,
80
+ variant: m
81
+ }), T = $(h);
82
+ return /* @__PURE__ */ l(O.Provider, {
83
+ value: null,
84
+ children: /* @__PURE__ */ l(S, u({
85
+ as: p,
86
+ ownerState: h,
87
+ className: C(T.root, a),
88
+ ref: n
89
+ }, P, {
90
+ children: typeof s == "string" && !E ? /* @__PURE__ */ l(z, {
91
+ color: "text.secondary",
92
+ children: s
93
+ }) : /* @__PURE__ */ j(b.Fragment, {
94
+ children: [f === "start" ? (
95
+ /* notranslate needed while Google Translate will not fix zero-width space issue */
96
+ g || (g = /* @__PURE__ */ l("span", {
97
+ className: "notranslate",
98
+ children: "​"
99
+ }))
100
+ ) : null, s]
101
+ })
102
+ }))
103
+ });
104
+ });
105
+ process.env.NODE_ENV !== "production" && (w.propTypes = {
106
+ // ----------------------------- Warning --------------------------------
107
+ // | These PropTypes are generated from the TypeScript type definitions |
108
+ // | To update them edit the d.ts file and run "yarn proptypes" |
109
+ // ----------------------------------------------------------------------
110
+ /**
111
+ * The content of the component, normally an `IconButton` or string.
112
+ */
113
+ children: e.node,
114
+ /**
115
+ * Override or extend the styles applied to the component.
116
+ */
117
+ classes: e.object,
118
+ /**
119
+ * @ignore
120
+ */
121
+ className: e.string,
122
+ /**
123
+ * The component used for the root node.
124
+ * Either a string to use a HTML element or a component.
125
+ */
126
+ component: e.elementType,
127
+ /**
128
+ * Disable pointer events on the root.
129
+ * This allows for the content of the adornment to focus the `input` on click.
130
+ * @default false
131
+ */
132
+ disablePointerEvents: e.bool,
133
+ /**
134
+ * If children is a string then disable wrapping in a Typography component.
135
+ * @default false
136
+ */
137
+ disableTypography: e.bool,
138
+ /**
139
+ * The position this adornment should appear relative to the `Input`.
140
+ */
141
+ position: e.oneOf(["end", "start"]).isRequired,
142
+ /**
143
+ * The system prop that allows defining system overrides as well as additional CSS styles.
144
+ */
145
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
146
+ /**
147
+ * The variant to use.
148
+ * Note: If you are using the `TextField` component or the `FormControl` component
149
+ * you do not have to set this manually.
150
+ */
151
+ variant: e.oneOf(["filled", "outlined", "standard"])
152
+ });
153
+ export {
154
+ w as I
155
+ };
@@ -1,8 +1,8 @@
1
1
  import { _ as i, a as L } from "./extends-Cyw62AD_.js";
2
2
  import * as d from "react";
3
- import { P as e } from "./createTheme-CCwx9ptk.js";
4
- import { g as x, u as P, c as y, a as N } from "./chainPropTypes-CwfDfLEA.js";
5
- import { g as v, s as C } from "./styled-fcu13kUF.js";
3
+ import { P as e } from "./createStyled-liRRhQcN.js";
4
+ import { g as x, u as P, c as y, a as N } from "./useThemeProps-BXn-nVhw.js";
5
+ import { g as v, s as C } from "./styled-Dm8rXzIG.js";
6
6
  import { jsx as T, jsxs as j } from "react/jsx-runtime";
7
7
  const u = /* @__PURE__ */ d.createContext({});
8
8
  process.env.NODE_ENV !== "production" && (u.displayName = "ListContext");
@@ -52,7 +52,7 @@ const M = ["children", "className", "component", "dense", "disablePadding", "sub
52
52
  dense: r = !1,
53
53
  disablePadding: m = !1,
54
54
  subheader: b
55
- } = n, f = L(n, M), g = d.useMemo(() => ({
55
+ } = n, g = L(n, M), f = d.useMemo(() => ({
56
56
  dense: r
57
57
  }), [r]), p = i({}, n, {
58
58
  component: l,
@@ -60,22 +60,22 @@ const M = ["children", "className", "component", "dense", "disablePadding", "sub
60
60
  disablePadding: m
61
61
  }), h = O(p);
62
62
  return /* @__PURE__ */ T(u.Provider, {
63
- value: g,
63
+ value: f,
64
64
  children: /* @__PURE__ */ j(R, i({
65
65
  as: l,
66
66
  className: y(h.root, c),
67
67
  ref: t,
68
68
  ownerState: p
69
- }, f, {
69
+ }, g, {
70
70
  children: [b, a]
71
71
  }))
72
72
  });
73
73
  });
74
74
  process.env.NODE_ENV !== "production" && (E.propTypes = {
75
- // ┌────────────────────────────── Warning ──────────────────────────────┐
76
- // These PropTypes are generated from the TypeScript type definitions.
77
- // To update them, edit the d.ts file and run `pnpm proptypes`.
78
- // └─────────────────────────────────────────────────────────────────────┘
75
+ // ----------------------------- Warning --------------------------------
76
+ // | These PropTypes are generated from the TypeScript type definitions |
77
+ // | To update them edit the d.ts file and run "yarn proptypes" |
78
+ // ----------------------------------------------------------------------
79
79
  /**
80
80
  * The content of the component.
81
81
  */
@@ -1,11 +1,11 @@
1
1
  import { _ as a, a as S } from "./extends-Cyw62AD_.js";
2
2
  import * as r from "react";
3
- import { P as e } from "./createTheme-CCwx9ptk.js";
4
- import { g as R, u as Y, c as L, a as z, b as ot } from "./chainPropTypes-CwfDfLEA.js";
5
- import { g as $, s as M, a as x } from "./styled-fcu13kUF.js";
6
- import { a as h } from "./List-Dz3Z1qJk.js";
3
+ import { P as e } from "./createStyled-liRRhQcN.js";
4
+ import { g as R, u as Y, c as L, a as z, d as ot } from "./useThemeProps-BXn-nVhw.js";
5
+ import { g as $, s as M, a as x } from "./styled-Dm8rXzIG.js";
6
+ import { a as h } from "./List-DLIiXc6r.js";
7
7
  import { jsx as v, jsxs as w } from "react/jsx-runtime";
8
- import { u as st, b as nt, e as at, B as it } from "./ButtonBase-C875Ww3z.js";
8
+ import { b as st, u as nt, e as at, B as it } from "./ButtonBase-DJz-TFGO.js";
9
9
  import { i as H } from "./isMuiElement-CxT3_ACP.js";
10
10
  import { i as D } from "./isHostComponent-kiaBvYVo.js";
11
11
  function rt(t) {
@@ -46,7 +46,7 @@ const dt = ["className"], pt = (t) => {
46
46
  transform: "translateY(-50%)"
47
47
  }, t.disableGutters && {
48
48
  right: 0
49
- })), G = /* @__PURE__ */ r.forwardRef(function(o, s) {
49
+ })), T = /* @__PURE__ */ r.forwardRef(function(o, s) {
50
50
  const n = Y({
51
51
  props: o,
52
52
  name: "MuiListItemSecondaryAction"
@@ -61,11 +61,11 @@ const dt = ["className"], pt = (t) => {
61
61
  ref: s
62
62
  }, c));
63
63
  });
64
- process.env.NODE_ENV !== "production" && (G.propTypes = {
65
- // ┌────────────────────────────── Warning ──────────────────────────────┐
66
- // These PropTypes are generated from the TypeScript type definitions.
67
- // To update them, edit the d.ts file and run `pnpm proptypes`.
68
- // └─────────────────────────────────────────────────────────────────────┘
64
+ process.env.NODE_ENV !== "production" && (T.propTypes = {
65
+ // ----------------------------- Warning --------------------------------
66
+ // | These PropTypes are generated from the TypeScript type definitions |
67
+ // | To update them edit the d.ts file and run "yarn proptypes" |
68
+ // ----------------------------------------------------------------------
69
69
  /**
70
70
  * The content of the component, normally an `IconButton` or selection control.
71
71
  */
@@ -83,7 +83,7 @@ process.env.NODE_ENV !== "production" && (G.propTypes = {
83
83
  */
84
84
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
85
85
  });
86
- G.muiName = "ListItemSecondaryAction";
86
+ T.muiName = "ListItemSecondaryAction";
87
87
  const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"], ft = (t, o) => {
88
88
  const {
89
89
  ownerState: s
@@ -198,7 +198,7 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
198
198
  className: f,
199
199
  component: g,
200
200
  components: A = {},
201
- componentsProps: T = {},
201
+ componentsProps: G = {},
202
202
  ContainerComponent: j = "li",
203
203
  ContainerProps: {
204
204
  className: W
@@ -232,8 +232,8 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
232
232
  divider: J,
233
233
  hasSecondaryAction: U,
234
234
  selected: Q
235
- }), _ = gt(C), F = nt(O, s), I = Z.root || A.Root || yt, y = X.root || T.root || {}, l = a({
236
- className: L(_.root, y.className, f),
235
+ }), F = gt(C), _ = nt(O, s), I = Z.root || A.Root || yt, y = X.root || G.root || {}, l = a({
236
+ className: L(F.root, y.className, f),
237
237
  disabled: k
238
238
  }, et);
239
239
  let d = g || "li";
@@ -241,8 +241,8 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
241
241
  value: N,
242
242
  children: /* @__PURE__ */ w(vt, a({
243
243
  as: j,
244
- className: L(_.container, W),
245
- ref: F,
244
+ className: L(F.container, W),
245
+ ref: _,
246
246
  ownerState: C
247
247
  }, tt, {
248
248
  children: [/* @__PURE__ */ v(I, a({}, y, !D(I) && {
@@ -256,21 +256,21 @@ const mt = ["className"], bt = ["alignItems", "autoFocus", "button", "children",
256
256
  value: N,
257
257
  children: /* @__PURE__ */ w(I, a({}, y, {
258
258
  as: d,
259
- ref: F
259
+ ref: _
260
260
  }, !D(I) && {
261
261
  ownerState: a({}, C, y.ownerState)
262
262
  }, l, {
263
- children: [m, B && /* @__PURE__ */ v(G, {
263
+ children: [m, B && /* @__PURE__ */ v(T, {
264
264
  children: B
265
265
  })]
266
266
  }))
267
267
  });
268
268
  });
269
269
  process.env.NODE_ENV !== "production" && (Ct.propTypes = {
270
- // ┌────────────────────────────── Warning ──────────────────────────────┐
271
- // These PropTypes are generated from the TypeScript type definitions.
272
- // To update them, edit the d.ts file and run `pnpm proptypes`.
273
- // └─────────────────────────────────────────────────────────────────────┘
270
+ // ----------------------------- Warning --------------------------------
271
+ // | These PropTypes are generated from the TypeScript type definitions |
272
+ // | To update them edit the d.ts file and run "yarn proptypes" |
273
+ // ----------------------------------------------------------------------
274
274
  /**
275
275
  * Defines the `align-items` style property.
276
276
  * @default 'center'