@hybridcore/ui 1.0.2 → 1.1.2

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 (105) hide show
  1. package/dist/ButtonBase-BYmh3G5j.js +967 -0
  2. package/dist/CardContent-C8PxkJz4.js +73 -0
  3. package/dist/Checkbox-DostZSwR.js +673 -0
  4. package/dist/DialogContent-2aPOjKE7.js +2025 -0
  5. package/dist/FormControl-BiAFm76F.js +1491 -0
  6. package/dist/IconButton-CQJ8wZE8.js +183 -0
  7. package/dist/Input-Bf5G3tFN.js +324 -0
  8. package/dist/OutlinedInput-BEVE8VZQ.js +452 -0
  9. package/dist/Paper-CaiWdndQ.js +162 -0
  10. package/dist/Select-DxpxZbJp.js +2526 -0
  11. package/dist/Source-CnCcu5UP.js +4374 -0
  12. package/dist/Text-BT5kPHOo.js +2192 -0
  13. package/dist/Typography-XIiVCSto.js +178 -0
  14. package/dist/assertThisInitialized-BUtkG-md.js +13 -0
  15. package/dist/assets/index.css +1 -0
  16. package/dist/assets/index2.css +1 -0
  17. package/dist/chainPropTypes-DtBfUj5o.js +96 -0
  18. package/dist/components/access/helpers.js +32 -0
  19. package/dist/components/access/index.js +15 -0
  20. package/dist/components/card/index.js +159 -469
  21. package/dist/components/card/styled.js +75 -7
  22. package/dist/components/conditional-wrapper/index.js +9 -0
  23. package/dist/components/confirm/dialog.js +151 -0
  24. package/dist/components/confirm/index.js +23 -0
  25. package/dist/components/container/index.js +270 -0
  26. package/dist/components/context-menu/index.js +973 -0
  27. package/dist/components/data-management/instance-form/components/composite-list/index.js +12 -0
  28. package/dist/components/data-management/instance-form/components/composite-list/styled.js +64 -0
  29. package/dist/components/data-management/instance-form/components/policy-list/index.js +86 -0
  30. package/dist/components/data-management/instance-form/components/variable/index.js +15 -0
  31. package/dist/components/data-management/instance-form/components/variables/index.js +39 -0
  32. package/dist/components/data-management/instance-form/index.js +437 -0
  33. package/dist/components/data-security-selectors/dissemination-list/index.js +3201 -0
  34. package/dist/components/data-security-selectors/security-level/index.js +81 -0
  35. package/dist/components/date-time-picker/index.js +103 -0
  36. package/dist/components/geometry-picker/coordinate/index.js +93 -0
  37. package/dist/components/geometry-picker/edit/index.js +71 -0
  38. package/dist/components/geometry-picker/geometry/index.js +160 -0
  39. package/dist/components/geometry-picker/geometry/map-overlay.js +22 -0
  40. package/dist/components/geometry-picker/index.js +140 -0
  41. package/dist/components/geometry-picker/kml/index.js +62 -0
  42. package/dist/components/geometry-picker/kml/select-input-method.js +75 -0
  43. package/dist/components/geometry-picker/logic.js +69 -0
  44. package/dist/components/geometry-picker/map/index.js +42 -0
  45. package/dist/components/geometry-picker/map/logic.js +2360 -0
  46. package/dist/components/geometry-picker/map/style.js +88 -0
  47. package/dist/components/geometry-picker/parser/coordinate-input/index.js +78 -0
  48. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1305 -0
  49. package/dist/components/geometry-picker/parser/index.js +179 -0
  50. package/dist/components/geometry-picker/parser/logic.js +84 -0
  51. package/dist/components/geometry-picker/parser/styled.js +25 -0
  52. package/dist/components/geometry-picker/styled.js +48 -0
  53. package/dist/components/geometry-picker/wkt/index.js +59 -0
  54. package/dist/components/geometry-picker/wkt/select-input-method.js +75 -0
  55. package/dist/components/icon-button/index.js +18 -0
  56. package/dist/components/icon-button/styled.js +51 -0
  57. package/dist/components/key-protection/index.js +4 -0
  58. package/dist/components/key-protection/menu.js +85 -0
  59. package/dist/components/key-protection/utils.js +10 -0
  60. package/dist/components/loading/index.js +7 -0
  61. package/dist/components/loading/styled.js +16 -0
  62. package/dist/components/map/helpers/kml.js +45 -0
  63. package/dist/components/map/helpers/mapbox.js +48 -0
  64. package/dist/components/map/helpers/ol.js +25 -0
  65. package/dist/components/map/helpers/wkt.js +29 -0
  66. package/dist/components/map/index.js +8 -0
  67. package/dist/components/map/logic.js +140 -0
  68. package/dist/components/map/styled.js +8 -0
  69. package/dist/components/phone-input/index.js +25 -0
  70. package/dist/components/phone-input/styled.js +26 -0
  71. package/dist/components/search-input/index.js +76 -0
  72. package/dist/components/tree-select/index.js +70 -0
  73. package/dist/components/tree-select/styled.js +64 -0
  74. package/dist/components/treeview-filter/index.js +621 -0
  75. package/dist/components/treeview-filter/item/index.js +7 -0
  76. package/dist/components/treeview-filter/item-label/index.js +44 -0
  77. package/dist/createTheme-agWfFD64.js +2392 -0
  78. package/dist/exactProp-CI8dagM-.js +36 -0
  79. package/dist/extends-C3382pL0.js +22 -0
  80. package/dist/has-9_asnBxn.js +688 -0
  81. package/dist/hooks/useMenuLogic.js +21 -0
  82. package/dist/hooks/useToggle.js +23 -0
  83. package/dist/index-Bw_m9ult.js +1105 -0
  84. package/dist/index-IvOfmM1F.js +34 -0
  85. package/dist/index-wW2D1aTG.js +957 -0
  86. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  87. package/dist/isMuiElement-CxT3_ACP.js +13 -0
  88. package/dist/listItemTextClasses-BvXFz-Oc.js +132 -0
  89. package/dist/main.d.ts +1317 -0
  90. package/dist/main.js +41 -2
  91. package/dist/ol-DXmSLlWv.js +15041 -0
  92. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  93. package/dist/ownerWindow-niciwP7I.js +7 -0
  94. package/dist/styled-C43K9x7T.js +229 -0
  95. package/dist/styled-Iq9jsO4F.js +1033 -0
  96. package/dist/useFormControl-CatNKXAi.js +10 -0
  97. package/dist/useId-BHG98T5I.js +26 -0
  98. package/dist/useTheme-C0Dky5rV.js +17 -0
  99. package/dist/useTheme-CeyGVuQP.js +10 -0
  100. package/dist/useThemeProps-CzAjOL6F.js +26 -0
  101. package/dist/utils/ontology.js +37 -0
  102. package/dist/utils-Bq0ye5vf.js +115 -0
  103. package/dist/utils-DLpkeyhZ.js +365 -0
  104. package/package.json +26 -5
  105. package/dist/styled-BG5UIpPU.js +0 -3459
@@ -0,0 +1,183 @@
1
+ import { a as t, _ as h } from "./extends-C3382pL0.js";
2
+ import * as d from "react";
3
+ import { c as n, P as r } from "./createTheme-agWfFD64.js";
4
+ import { g as z, u as R, c as C, b as B, a as I } from "./chainPropTypes-DtBfUj5o.js";
5
+ import { g as O, s as x, a as g } from "./styled-Iq9jsO4F.js";
6
+ import { jsx as T } from "react/jsx-runtime";
7
+ import { B as $ } from "./ButtonBase-BYmh3G5j.js";
8
+ function k(o) {
9
+ return O("MuiIconButton", o);
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) => {
12
+ const {
13
+ classes: e,
14
+ disabled: a,
15
+ color: s,
16
+ edge: i,
17
+ size: l
18
+ } = o, c = {
19
+ root: ["root", a && "disabled", s !== "default" && `color${n(s)}`, i && `edge${n(i)}`, `size${n(l)}`]
20
+ };
21
+ return I(c, k, e);
22
+ }, E = x($, {
23
+ name: "MuiIconButton",
24
+ slot: "Root",
25
+ overridesResolver: (o, e) => {
26
+ const {
27
+ ownerState: a
28
+ } = o;
29
+ return [e.root, a.color !== "default" && e[`color${n(a.color)}`], a.edge && e[`edge${n(a.edge)}`], e[`size${n(a.size)}`]];
30
+ }
31
+ })(({
32
+ theme: o,
33
+ ownerState: e
34
+ }) => t({
35
+ textAlign: "center",
36
+ flex: "0 0 auto",
37
+ fontSize: o.typography.pxToRem(24),
38
+ padding: 8,
39
+ borderRadius: "50%",
40
+ overflow: "visible",
41
+ // Explicitly set the default value to solve a bug on IE11.
42
+ color: (o.vars || o).palette.action.active,
43
+ transition: o.transitions.create("background-color", {
44
+ duration: o.transitions.duration.shortest
45
+ })
46
+ }, !e.disableRipple && {
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),
49
+ // Reset on touch devices, it doesn't add specificity
50
+ "@media (hover: none)": {
51
+ backgroundColor: "transparent"
52
+ }
53
+ }
54
+ }, e.edge === "start" && {
55
+ marginLeft: e.size === "small" ? -3 : -12
56
+ }, e.edge === "end" && {
57
+ marginRight: e.size === "small" ? -3 : -12
58
+ }), ({
59
+ theme: o,
60
+ ownerState: e
61
+ }) => {
62
+ var a;
63
+ const s = (a = (o.vars || o).palette) == null ? void 0 : a[e.color];
64
+ return t({}, e.color === "inherit" && {
65
+ color: "inherit"
66
+ }, e.color !== "inherit" && e.color !== "default" && t({
67
+ color: s == null ? void 0 : s.main
68
+ }, !e.disableRipple && {
69
+ "&:hover": t({}, s && {
70
+ backgroundColor: o.vars ? `rgba(${s.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : g(s.main, o.palette.action.hoverOpacity)
71
+ }, {
72
+ // Reset on touch devices, it doesn't add specificity
73
+ "@media (hover: none)": {
74
+ backgroundColor: "transparent"
75
+ }
76
+ })
77
+ }), e.size === "small" && {
78
+ padding: 5,
79
+ fontSize: o.typography.pxToRem(18)
80
+ }, e.size === "large" && {
81
+ padding: 12,
82
+ fontSize: o.typography.pxToRem(28)
83
+ }, {
84
+ [`&.${P.disabled}`]: {
85
+ backgroundColor: "transparent",
86
+ color: (o.vars || o).palette.action.disabled
87
+ }
88
+ });
89
+ }), M = /* @__PURE__ */ d.forwardRef(function(e, a) {
90
+ const s = R({
91
+ props: e,
92
+ name: "MuiIconButton"
93
+ }), {
94
+ edge: i = !1,
95
+ children: l,
96
+ className: c,
97
+ color: b = "default",
98
+ disabled: p = !1,
99
+ disableFocusRipple: u = !1,
100
+ size: v = "medium"
101
+ } = s, m = h(s, _), f = t({}, s, {
102
+ edge: i,
103
+ color: b,
104
+ disabled: p,
105
+ disableFocusRipple: u,
106
+ size: v
107
+ }), y = j(f);
108
+ return /* @__PURE__ */ T(E, t({
109
+ className: C(y.root, c),
110
+ centerRipple: !0,
111
+ focusRipple: !u,
112
+ disabled: p,
113
+ ref: a
114
+ }, m, {
115
+ ownerState: f,
116
+ children: l
117
+ }));
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
+ // └─────────────────────────────────────────────────────────────────────┘
124
+ /**
125
+ * The icon to display.
126
+ */
127
+ children: B(r.node, (o) => d.Children.toArray(o.children).some((a) => /* @__PURE__ */ d.isValidElement(a) && a.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
128
+ `)) : null),
129
+ /**
130
+ * Override or extend the styles applied to the component.
131
+ */
132
+ classes: r.object,
133
+ /**
134
+ * @ignore
135
+ */
136
+ className: r.string,
137
+ /**
138
+ * The color of the component.
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).
141
+ * @default 'default'
142
+ */
143
+ color: r.oneOfType([r.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), r.string]),
144
+ /**
145
+ * If `true`, the component is disabled.
146
+ * @default false
147
+ */
148
+ disabled: r.bool,
149
+ /**
150
+ * If `true`, the keyboard focus ripple is disabled.
151
+ * @default false
152
+ */
153
+ disableFocusRipple: r.bool,
154
+ /**
155
+ * If `true`, the ripple effect is disabled.
156
+ *
157
+ * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
158
+ * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
159
+ * @default false
160
+ */
161
+ disableRipple: r.bool,
162
+ /**
163
+ * If given, uses a negative margin to counteract the padding on one
164
+ * side (this is often helpful for aligning the left or right
165
+ * side of the icon with content above or below, without ruining the border
166
+ * size and shape).
167
+ * @default false
168
+ */
169
+ edge: r.oneOf(["end", "start", !1]),
170
+ /**
171
+ * The size of the component.
172
+ * `small` is equivalent to the dense button styling.
173
+ * @default 'medium'
174
+ */
175
+ size: r.oneOfType([r.oneOf(["small", "medium", "large"]), r.string]),
176
+ /**
177
+ * The system prop that allows defining system overrides as well as additional CSS styles.
178
+ */
179
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
180
+ });
181
+ export {
182
+ M as I
183
+ };
@@ -0,0 +1,324 @@
1
+ import { a, _ as U } from "./extends-C3382pL0.js";
2
+ import * as h from "react";
3
+ import { d as j, P as o } from "./createTheme-agWfFD64.js";
4
+ import { g as _, s as y, r as w } from "./styled-Iq9jsO4F.js";
5
+ import { i as M, b as S, r as W, c as E, d as F, e as N } from "./FormControl-BiAFm76F.js";
6
+ import { g as X, u as A, a as D } from "./chainPropTypes-DtBfUj5o.js";
7
+ import { jsx as L } from "react/jsx-runtime";
8
+ import { r as V } from "./ButtonBase-BYmh3G5j.js";
9
+ function k(t) {
10
+ return _("MuiInput", t);
11
+ }
12
+ const r = a({}, M, X("MuiInput", ["root", "underline", "input"])), q = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"], z = (t) => {
13
+ const {
14
+ classes: e,
15
+ disableUnderline: s
16
+ } = t, i = D({
17
+ root: ["root", !s && "underline"],
18
+ input: ["input"]
19
+ }, k, e);
20
+ return a({}, e, i);
21
+ }, G = y(S, {
22
+ shouldForwardProp: (t) => w(t) || t === "classes",
23
+ name: "MuiInput",
24
+ slot: "Root",
25
+ overridesResolver: (t, e) => {
26
+ const {
27
+ ownerState: s
28
+ } = t;
29
+ return [...W(t, e), !s.disableUnderline && e.underline];
30
+ }
31
+ })(({
32
+ theme: t,
33
+ ownerState: e
34
+ }) => {
35
+ let n = t.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
36
+ return t.vars && (n = `rgba(${t.vars.palette.common.onBackgroundChannel} / ${t.vars.opacity.inputUnderline})`), a({
37
+ position: "relative"
38
+ }, e.formControl && {
39
+ "label + &": {
40
+ marginTop: 16
41
+ }
42
+ }, !e.disableUnderline && {
43
+ "&::after": {
44
+ borderBottom: `2px solid ${(t.vars || t).palette[e.color].main}`,
45
+ left: 0,
46
+ bottom: 0,
47
+ // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
48
+ content: '""',
49
+ position: "absolute",
50
+ right: 0,
51
+ transform: "scaleX(0)",
52
+ transition: t.transitions.create("transform", {
53
+ duration: t.transitions.duration.shorter,
54
+ easing: t.transitions.easing.easeOut
55
+ }),
56
+ pointerEvents: "none"
57
+ // Transparent to the hover style.
58
+ },
59
+ [`&.${r.focused}:after`]: {
60
+ // translateX(0) is a workaround for Safari transform scale bug
61
+ // See https://github.com/mui/material-ui/issues/31766
62
+ transform: "scaleX(1) translateX(0)"
63
+ },
64
+ [`&.${r.error}`]: {
65
+ "&::before, &::after": {
66
+ borderBottomColor: (t.vars || t).palette.error.main
67
+ }
68
+ },
69
+ "&::before": {
70
+ borderBottom: `1px solid ${n}`,
71
+ left: 0,
72
+ bottom: 0,
73
+ // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
74
+ content: '"\\00a0"',
75
+ position: "absolute",
76
+ right: 0,
77
+ transition: t.transitions.create("border-bottom-color", {
78
+ duration: t.transitions.duration.shorter
79
+ }),
80
+ pointerEvents: "none"
81
+ // Transparent to the hover style.
82
+ },
83
+ [`&:hover:not(.${r.disabled}, .${r.error}):before`]: {
84
+ borderBottom: `2px solid ${(t.vars || t).palette.text.primary}`,
85
+ // Reset on touch devices, it doesn't add specificity
86
+ "@media (hover: none)": {
87
+ borderBottom: `1px solid ${n}`
88
+ }
89
+ },
90
+ [`&.${r.disabled}:before`]: {
91
+ borderBottomStyle: "dotted"
92
+ }
93
+ });
94
+ }), H = y(E, {
95
+ name: "MuiInput",
96
+ slot: "Input",
97
+ overridesResolver: F
98
+ })({}), g = /* @__PURE__ */ h.forwardRef(function(e, s) {
99
+ var n, i, u, d;
100
+ const p = A({
101
+ props: e,
102
+ name: "MuiInput"
103
+ }), {
104
+ disableUnderline: v,
105
+ components: c = {},
106
+ componentsProps: m,
107
+ fullWidth: C = !1,
108
+ inputComponent: I = "input",
109
+ multiline: P = !1,
110
+ slotProps: l,
111
+ slots: b = {},
112
+ type: R = "text"
113
+ } = p, T = U(p, q), O = z(p), f = {
114
+ root: {
115
+ ownerState: {
116
+ disableUnderline: v
117
+ }
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({
121
+ slots: {
122
+ root: x,
123
+ input: B
124
+ },
125
+ slotProps: $,
126
+ fullWidth: C,
127
+ inputComponent: I,
128
+ multiline: P,
129
+ ref: s,
130
+ type: R
131
+ }, T, {
132
+ classes: O
133
+ }));
134
+ });
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
+ // └─────────────────────────────────────────────────────────────────────┘
140
+ /**
141
+ * This prop helps users to fill forms faster, especially on mobile devices.
142
+ * The name can be confusing, as it's more like an autofill.
143
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
144
+ */
145
+ autoComplete: o.string,
146
+ /**
147
+ * If `true`, the `input` element is focused during the first mount.
148
+ */
149
+ autoFocus: o.bool,
150
+ /**
151
+ * Override or extend the styles applied to the component.
152
+ */
153
+ classes: o.object,
154
+ /**
155
+ * The color of the component.
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).
158
+ * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
159
+ */
160
+ color: o.oneOfType([o.oneOf(["primary", "secondary"]), o.string]),
161
+ /**
162
+ * The components used for each slot inside.
163
+ *
164
+ * This prop is an alias for the `slots` prop.
165
+ * It's recommended to use the `slots` prop instead.
166
+ *
167
+ * @default {}
168
+ */
169
+ components: o.shape({
170
+ Input: o.elementType,
171
+ Root: o.elementType
172
+ }),
173
+ /**
174
+ * The extra props for the slot components.
175
+ * You can override the existing props or add new ones.
176
+ *
177
+ * This prop is an alias for the `slotProps` prop.
178
+ * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
179
+ *
180
+ * @default {}
181
+ */
182
+ componentsProps: o.shape({
183
+ input: o.object,
184
+ root: o.object
185
+ }),
186
+ /**
187
+ * The default value. Use when the component is not controlled.
188
+ */
189
+ defaultValue: o.any,
190
+ /**
191
+ * If `true`, the component is disabled.
192
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
193
+ */
194
+ disabled: o.bool,
195
+ /**
196
+ * If `true`, the `input` will not have an underline.
197
+ */
198
+ disableUnderline: o.bool,
199
+ /**
200
+ * End `InputAdornment` for this component.
201
+ */
202
+ endAdornment: o.node,
203
+ /**
204
+ * If `true`, the `input` will indicate an error.
205
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
206
+ */
207
+ error: o.bool,
208
+ /**
209
+ * If `true`, the `input` will take up the full width of its container.
210
+ * @default false
211
+ */
212
+ fullWidth: o.bool,
213
+ /**
214
+ * The id of the `input` element.
215
+ */
216
+ id: o.string,
217
+ /**
218
+ * The component used for the `input` element.
219
+ * Either a string to use a HTML element or a component.
220
+ * @default 'input'
221
+ */
222
+ inputComponent: o.elementType,
223
+ /**
224
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
225
+ * @default {}
226
+ */
227
+ inputProps: o.object,
228
+ /**
229
+ * Pass a ref to the `input` element.
230
+ */
231
+ inputRef: V,
232
+ /**
233
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
234
+ * FormControl.
235
+ * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
236
+ */
237
+ margin: o.oneOf(["dense", "none"]),
238
+ /**
239
+ * Maximum number of rows to display when multiline option is set to true.
240
+ */
241
+ maxRows: o.oneOfType([o.number, o.string]),
242
+ /**
243
+ * Minimum number of rows to display when multiline option is set to true.
244
+ */
245
+ minRows: o.oneOfType([o.number, o.string]),
246
+ /**
247
+ * If `true`, a [TextareaAutosize](/material-ui/react-textarea-autosize/) element is rendered.
248
+ * @default false
249
+ */
250
+ multiline: o.bool,
251
+ /**
252
+ * Name attribute of the `input` element.
253
+ */
254
+ name: o.string,
255
+ /**
256
+ * Callback fired when the value is changed.
257
+ *
258
+ * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
259
+ * You can pull out the new value by accessing `event.target.value` (string).
260
+ */
261
+ onChange: o.func,
262
+ /**
263
+ * The short hint displayed in the `input` before the user enters a value.
264
+ */
265
+ placeholder: o.string,
266
+ /**
267
+ * It prevents the user from changing the value of the field
268
+ * (not from interacting with the field).
269
+ */
270
+ readOnly: o.bool,
271
+ /**
272
+ * If `true`, the `input` element is required.
273
+ * The prop defaults to the value (`false`) inherited from the parent FormControl component.
274
+ */
275
+ required: o.bool,
276
+ /**
277
+ * Number of rows to display when multiline option is set to true.
278
+ */
279
+ rows: o.oneOfType([o.number, o.string]),
280
+ /**
281
+ * The extra props for the slot components.
282
+ * You can override the existing props or add new ones.
283
+ *
284
+ * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
285
+ *
286
+ * @default {}
287
+ */
288
+ slotProps: o.shape({
289
+ input: o.object,
290
+ root: o.object
291
+ }),
292
+ /**
293
+ * The components used for each slot inside.
294
+ *
295
+ * This prop is an alias for the `components` prop, which will be deprecated in the future.
296
+ *
297
+ * @default {}
298
+ */
299
+ slots: o.shape({
300
+ input: o.elementType,
301
+ root: o.elementType
302
+ }),
303
+ /**
304
+ * Start `InputAdornment` for this component.
305
+ */
306
+ startAdornment: o.node,
307
+ /**
308
+ * The system prop that allows defining system overrides as well as additional CSS styles.
309
+ */
310
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
311
+ /**
312
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
313
+ * @default 'text'
314
+ */
315
+ type: o.string,
316
+ /**
317
+ * The value of the `input` element, required for a controlled component.
318
+ */
319
+ value: o.any
320
+ });
321
+ g.muiName = "Input";
322
+ export {
323
+ g as I
324
+ };