@hybridcore/ui 1.1.3 → 1.2.0

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 (72) hide show
  1. package/dist/{ButtonBase-BYmh3G5j.js → ButtonBase-C7CHOX3y.js} +8 -7
  2. package/dist/{CardContent-C8PxkJz4.js → CardContent-DDFwwGfd.js} +3 -3
  3. package/dist/Checkbox-DP6_qp1v.js +469 -0
  4. package/dist/Collapse-9egEADkh.js +296 -0
  5. package/dist/{DialogContent-2aPOjKE7.js → DialogContent-MMUsECN2.js} +746 -789
  6. package/dist/{FormControl-BiAFm76F.js → FormControl-Cj5nc-Nv.js} +151 -163
  7. package/dist/FormControlLabel-j_atSYQA.js +827 -0
  8. package/dist/{IconButton-CQJ8wZE8.js → IconButton-2FRFauye.js} +4 -4
  9. package/dist/{Input-Bf5G3tFN.js → Input-BY_yKOrF.js} +5 -5
  10. package/dist/{listItemTextClasses-BvXFz-Oc.js → List-CgBXAAKA.js} +50 -62
  11. package/dist/ListItem-BFDUUjHt.js +428 -0
  12. package/dist/MenuItem-BejUFNIP.js +233 -0
  13. package/dist/{OutlinedInput-BEVE8VZQ.js → OutlinedInput-CnzESIDi.js} +5 -5
  14. package/dist/{Paper-CaiWdndQ.js → Paper-k37cShvn.js} +4 -4
  15. package/dist/{Select-DxpxZbJp.js → Select-BGt6e73I.js} +804 -1025
  16. package/dist/{Typography-XIiVCSto.js → Typography-Bjo-B13o.js} +3 -3
  17. package/dist/{chainPropTypes-DtBfUj5o.js → chainPropTypes-BmidnkZm.js} +2 -2
  18. package/dist/components/card/index.js +5 -5
  19. package/dist/components/card/styled.js +1 -1
  20. package/dist/components/collapsible-card/index.js +34 -0
  21. package/dist/components/collapsible-card/style.js +575 -0
  22. package/dist/components/confirm/dialog.js +5 -5
  23. package/dist/components/container/index.js +6 -6
  24. package/dist/components/context-menu/index.js +191 -603
  25. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  26. package/dist/components/data-management/instance-form/components/variable/index.js +7 -5
  27. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  28. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  29. package/dist/components/geometry-picker/edit/index.js +1 -1
  30. package/dist/components/geometry-picker/geometry/index.js +1 -1
  31. package/dist/components/geometry-picker/index.js +2 -2
  32. package/dist/components/geometry-picker/kml/index.js +1 -1
  33. package/dist/components/geometry-picker/map/index.js +1 -1
  34. package/dist/components/geometry-picker/map/logic.js +1 -1
  35. package/dist/components/icon-button/index.js +1 -1
  36. package/dist/components/map/helpers/ol.js +2 -2
  37. package/dist/components/map/index.js +2 -2
  38. package/dist/components/map/logic.js +1 -1
  39. package/dist/components/map/styled.js +89 -6
  40. package/dist/components/search-input/index.js +3 -3
  41. package/dist/components/template-property-filters/index.js +78 -0
  42. package/dist/components/template-property-filters/property.js +7019 -0
  43. package/dist/components/tree-select/index.js +14 -13
  44. package/dist/components/treeview-filter/index.js +263 -328
  45. package/dist/components/treeview-filter/item/index.js +1 -1
  46. package/dist/components/treeview-filter/item-label/index.js +2 -2
  47. package/dist/createSvgIcon-DAR6Hwv8.js +77 -0
  48. package/dist/createSvgIcon-R_PakhKf.js +213 -0
  49. package/dist/{createTheme-agWfFD64.js → createTheme-oOCi1S_n.js} +5 -5
  50. package/dist/debounce-46wSf_lW.js +15 -0
  51. package/dist/{exactProp-CI8dagM-.js → exactProp-DhXxfU8X.js} +2 -2
  52. package/dist/index-C7W2wuUG.js +609 -0
  53. package/dist/index-DHnXB0CB.js +287 -0
  54. package/dist/{index-IvOfmM1F.js → index-JrtqxUdI.js} +6 -6
  55. package/dist/listItemTextClasses-CaI8l2PD.js +16 -0
  56. package/dist/main.d.ts +138 -0
  57. package/dist/main.js +1 -1
  58. package/dist/{ol-DXmSLlWv.js → ol-q6vTiF_t.js} +1 -1
  59. package/dist/resolveComponentProps-BwtY1IP3.js +54 -0
  60. package/dist/styled-CHMAYxVs.js +142 -0
  61. package/dist/{styled-Iq9jsO4F.js → styled-Wx2vv4j8.js} +1 -1
  62. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  63. package/dist/{useTheme-C0Dky5rV.js → useTheme-BI40KZ7w.js} +2 -1
  64. package/dist/{useTheme-CeyGVuQP.js → useTheme-CD5DEi5n.js} +2 -2
  65. package/dist/useThemeProps-D4or2IlT.js +62 -0
  66. package/dist/{useThemeProps-CzAjOL6F.js → useThemeProps-DT5EdhcP.js} +5 -4
  67. package/dist/{utils-DLpkeyhZ.js → utils-BEaBPoDF.js} +10 -10
  68. package/package.json +1 -1
  69. package/dist/Checkbox-DostZSwR.js +0 -673
  70. package/dist/index-Bw_m9ult.js +0 -1105
  71. package/dist/index-wW2D1aTG.js +0 -957
  72. package/dist/styled-C43K9x7T.js +0 -229
@@ -1,9 +1,9 @@
1
1
  import { a as Y, _ as ae } from "./extends-C3382pL0.js";
2
2
  import * as l from "react";
3
3
  import X, { Children as We, isValidElement as G, cloneElement as Z } from "react";
4
- import { P as n } from "./createTheme-agWfFD64.js";
5
- import { b as He, c as v, g as ve, u as xe, a as Ge } from "./chainPropTypes-DtBfUj5o.js";
6
- import { s as le, g as Ze } from "./styled-Iq9jsO4F.js";
4
+ import { P as n } from "./createTheme-oOCi1S_n.js";
5
+ import { b as He, c as v, g as ve, u as xe, a as Ge } from "./chainPropTypes-BmidnkZm.js";
6
+ import { s as le, g as Ze } from "./styled-Wx2vv4j8.js";
7
7
  import { jsx as $, jsxs as Je } from "react/jsx-runtime";
8
8
  import { _ as Qe, a as et } from "./assertThisInitialized-BUtkG-md.js";
9
9
  import { keyframes as ce } from "@emotion/react";
@@ -957,11 +957,12 @@ export {
957
957
  Re as T,
958
958
  Rt as _,
959
959
  ye as a,
960
- H as b,
961
- gt as c,
962
- ct as d,
960
+ tt as b,
961
+ H as c,
962
+ gt as d,
963
963
  rt as e,
964
+ fe as f,
964
965
  it as r,
965
966
  st as s,
966
- tt as u
967
+ ct as u
967
968
  };
@@ -1,8 +1,8 @@
1
1
  import { _ as d, a as c } from "./extends-C3382pL0.js";
2
2
  import * as m from "react";
3
- import { P as o } from "./createTheme-agWfFD64.js";
4
- import { g as C, u, c as f, a as y } from "./chainPropTypes-DtBfUj5o.js";
5
- import { g, s as v } from "./styled-Iq9jsO4F.js";
3
+ import { P as o } from "./createTheme-oOCi1S_n.js";
4
+ import { g as C, u, c as f, a as y } from "./chainPropTypes-BmidnkZm.js";
5
+ import { g, s as v } from "./styled-Wx2vv4j8.js";
6
6
  import { jsx as x } from "react/jsx-runtime";
7
7
  function N(t) {
8
8
  return g("MuiCardContent", t);
@@ -0,0 +1,469 @@
1
+ import { s as Z, b as ee, P as e, c as P } from "./createTheme-oOCi1S_n.js";
2
+ import { e as oe, f as ne, T as te, C as se, g as q, s as F, r as V, a as ce } from "./styled-Wx2vv4j8.js";
3
+ import { c as S, g as T, a as H, u as ae } from "./chainPropTypes-BmidnkZm.js";
4
+ import { _ as $, a as r } from "./extends-C3382pL0.js";
5
+ import * as I from "react";
6
+ import { u as re } from "./useTheme-BI40KZ7w.js";
7
+ import { jsx as u, jsxs as ie } from "react/jsx-runtime";
8
+ import { u as de } from "./useFormControl-CatNKXAi.js";
9
+ import { B as le, r as U } from "./ButtonBase-C7CHOX3y.js";
10
+ import { u as ue, c as w } from "./createSvgIcon-R_PakhKf.js";
11
+ const pe = ["className", "component"];
12
+ function fe(o = {}) {
13
+ const {
14
+ themeId: n,
15
+ defaultTheme: t,
16
+ defaultClassName: c = "MuiBox-root",
17
+ generateClassName: s
18
+ } = o, a = Z("div", {
19
+ shouldForwardProp: (i) => i !== "theme" && i !== "sx" && i !== "as"
20
+ })(ee);
21
+ return /* @__PURE__ */ I.forwardRef(function(C, d) {
22
+ const p = re(t), b = oe(C), {
23
+ className: m,
24
+ component: k = "div"
25
+ } = b, x = $(b, pe);
26
+ return /* @__PURE__ */ u(a, r({
27
+ as: k,
28
+ ref: d,
29
+ className: S(m, s ? s(c) : c),
30
+ theme: n && p[n] || p
31
+ }, x));
32
+ });
33
+ }
34
+ const me = T("MuiBox", ["root"]), he = ne(), be = fe({
35
+ themeId: te,
36
+ defaultTheme: he,
37
+ defaultClassName: me.root,
38
+ generateClassName: se.generate
39
+ });
40
+ process.env.NODE_ENV !== "production" && (be.propTypes = {
41
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
42
+ // │ These PropTypes are generated from the TypeScript type definitions. │
43
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
44
+ // └─────────────────────────────────────────────────────────────────────┘
45
+ /**
46
+ * @ignore
47
+ */
48
+ children: e.node,
49
+ /**
50
+ * The component used for the root node.
51
+ * Either a string to use a HTML element or a component.
52
+ */
53
+ component: e.elementType,
54
+ /**
55
+ * The system prop that allows defining system overrides as well as additional CSS styles.
56
+ */
57
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
58
+ });
59
+ function Ce(o) {
60
+ return q("PrivateSwitchBase", o);
61
+ }
62
+ T("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
63
+ const ke = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"], xe = (o) => {
64
+ const {
65
+ classes: n,
66
+ checked: t,
67
+ disabled: c,
68
+ edge: s
69
+ } = o, a = {
70
+ root: ["root", t && "checked", c && "disabled", s && `edge${P(s)}`],
71
+ input: ["input"]
72
+ };
73
+ return H(a, Ce, n);
74
+ }, ge = F(le)(({
75
+ ownerState: o
76
+ }) => r({
77
+ padding: 9,
78
+ borderRadius: "50%"
79
+ }, o.edge === "start" && {
80
+ marginLeft: o.size === "small" ? -3 : -12
81
+ }, o.edge === "end" && {
82
+ marginRight: o.size === "small" ? -3 : -12
83
+ })), ye = F("input", {
84
+ shouldForwardProp: V
85
+ })({
86
+ cursor: "inherit",
87
+ position: "absolute",
88
+ opacity: 0,
89
+ width: "100%",
90
+ height: "100%",
91
+ top: 0,
92
+ left: 0,
93
+ margin: 0,
94
+ padding: 0,
95
+ zIndex: 1
96
+ }), D = /* @__PURE__ */ I.forwardRef(function(n, t) {
97
+ const {
98
+ autoFocus: c,
99
+ checked: s,
100
+ checkedIcon: a,
101
+ className: h,
102
+ defaultChecked: i,
103
+ disabled: C,
104
+ disableFocusRipple: d = !1,
105
+ edge: p = !1,
106
+ icon: b,
107
+ id: m,
108
+ inputProps: k,
109
+ inputRef: x,
110
+ name: R,
111
+ onBlur: g,
112
+ onChange: y,
113
+ onFocus: v,
114
+ readOnly: L,
115
+ required: G = !1,
116
+ tabIndex: W,
117
+ type: z,
118
+ value: _
119
+ } = n, A = $(n, ke), [j, J] = ue({
120
+ controlled: s,
121
+ default: !!i,
122
+ name: "SwitchBase",
123
+ state: "checked"
124
+ }), f = de(), K = (l) => {
125
+ v && v(l), f && f.onFocus && f.onFocus(l);
126
+ }, Q = (l) => {
127
+ g && g(l), f && f.onBlur && f.onBlur(l);
128
+ }, X = (l) => {
129
+ if (l.nativeEvent.defaultPrevented)
130
+ return;
131
+ const M = l.target.checked;
132
+ J(M), y && y(l, M);
133
+ };
134
+ let B = C;
135
+ f && typeof B > "u" && (B = f.disabled);
136
+ const Y = z === "checkbox" || z === "radio", N = r({}, n, {
137
+ checked: j,
138
+ disabled: B,
139
+ disableFocusRipple: d,
140
+ edge: p
141
+ }), E = xe(N);
142
+ return /* @__PURE__ */ ie(ge, r({
143
+ component: "span",
144
+ className: S(E.root, h),
145
+ centerRipple: !0,
146
+ focusRipple: !d,
147
+ disabled: B,
148
+ tabIndex: null,
149
+ role: void 0,
150
+ onFocus: K,
151
+ onBlur: Q,
152
+ ownerState: N,
153
+ ref: t
154
+ }, A, {
155
+ children: [/* @__PURE__ */ u(ye, r({
156
+ autoFocus: c,
157
+ checked: s,
158
+ defaultChecked: i,
159
+ className: E.input,
160
+ disabled: B,
161
+ id: Y ? m : void 0,
162
+ name: R,
163
+ onChange: X,
164
+ readOnly: L,
165
+ ref: x,
166
+ required: G,
167
+ ownerState: N,
168
+ tabIndex: W,
169
+ type: z
170
+ }, z === "checkbox" && _ === void 0 ? {} : {
171
+ value: _
172
+ }, k)), j ? a : b]
173
+ }));
174
+ });
175
+ process.env.NODE_ENV !== "production" && (D.propTypes = {
176
+ /**
177
+ * If `true`, the `input` element is focused during the first mount.
178
+ */
179
+ autoFocus: e.bool,
180
+ /**
181
+ * If `true`, the component is checked.
182
+ */
183
+ checked: e.bool,
184
+ /**
185
+ * The icon to display when the component is checked.
186
+ */
187
+ checkedIcon: e.node.isRequired,
188
+ /**
189
+ * Override or extend the styles applied to the component.
190
+ */
191
+ classes: e.object,
192
+ /**
193
+ * @ignore
194
+ */
195
+ className: e.string,
196
+ /**
197
+ * @ignore
198
+ */
199
+ defaultChecked: e.bool,
200
+ /**
201
+ * If `true`, the component is disabled.
202
+ */
203
+ disabled: e.bool,
204
+ /**
205
+ * If `true`, the keyboard focus ripple is disabled.
206
+ * @default false
207
+ */
208
+ disableFocusRipple: e.bool,
209
+ /**
210
+ * If given, uses a negative margin to counteract the padding on one
211
+ * side (this is often helpful for aligning the left or right
212
+ * side of the icon with content above or below, without ruining the border
213
+ * size and shape).
214
+ * @default false
215
+ */
216
+ edge: e.oneOf(["end", "start", !1]),
217
+ /**
218
+ * The icon to display when the component is unchecked.
219
+ */
220
+ icon: e.node.isRequired,
221
+ /**
222
+ * The id of the `input` element.
223
+ */
224
+ id: e.string,
225
+ /**
226
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
227
+ */
228
+ inputProps: e.object,
229
+ /**
230
+ * Pass a ref to the `input` element.
231
+ */
232
+ inputRef: U,
233
+ /*
234
+ * @ignore
235
+ */
236
+ name: e.string,
237
+ /**
238
+ * @ignore
239
+ */
240
+ onBlur: e.func,
241
+ /**
242
+ * Callback fired when the state is changed.
243
+ *
244
+ * @param {object} event The event source of the callback.
245
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
246
+ */
247
+ onChange: e.func,
248
+ /**
249
+ * @ignore
250
+ */
251
+ onFocus: e.func,
252
+ /**
253
+ * It prevents the user from changing the value of the field
254
+ * (not from interacting with the field).
255
+ */
256
+ readOnly: e.bool,
257
+ /**
258
+ * If `true`, the `input` element is required.
259
+ */
260
+ required: e.bool,
261
+ /**
262
+ * The system prop that allows defining system overrides as well as additional CSS styles.
263
+ */
264
+ sx: e.object,
265
+ /**
266
+ * @ignore
267
+ */
268
+ tabIndex: e.oneOfType([e.number, e.string]),
269
+ /**
270
+ * The input component prop `type`.
271
+ */
272
+ type: e.string.isRequired,
273
+ /**
274
+ * The value of the component.
275
+ */
276
+ value: e.any
277
+ });
278
+ const ve = w(/* @__PURE__ */ u("path", {
279
+ d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
280
+ }), "CheckBoxOutlineBlank"), Be = w(/* @__PURE__ */ u("path", {
281
+ d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
282
+ }), "CheckBox"), Ie = w(/* @__PURE__ */ u("path", {
283
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
284
+ }), "IndeterminateCheckBox");
285
+ function Pe(o) {
286
+ return q("MuiCheckbox", o);
287
+ }
288
+ const O = T("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Re = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], ze = (o) => {
289
+ const {
290
+ classes: n,
291
+ indeterminate: t,
292
+ color: c,
293
+ size: s
294
+ } = o, a = {
295
+ root: ["root", t && "indeterminate", `color${P(c)}`, `size${P(s)}`]
296
+ }, h = H(a, Pe, n);
297
+ return r({}, n, h);
298
+ }, Ne = F(D, {
299
+ shouldForwardProp: (o) => V(o) || o === "classes",
300
+ name: "MuiCheckbox",
301
+ slot: "Root",
302
+ overridesResolver: (o, n) => {
303
+ const {
304
+ ownerState: t
305
+ } = o;
306
+ return [n.root, t.indeterminate && n.indeterminate, n[`size${P(t.size)}`], t.color !== "default" && n[`color${P(t.color)}`]];
307
+ }
308
+ })(({
309
+ theme: o,
310
+ ownerState: n
311
+ }) => r({
312
+ color: (o.vars || o).palette.text.secondary
313
+ }, !n.disableRipple && {
314
+ "&:hover": {
315
+ backgroundColor: o.vars ? `rgba(${n.color === "default" ? o.vars.palette.action.activeChannel : o.vars.palette[n.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : ce(n.color === "default" ? o.palette.action.active : o.palette[n.color].main, o.palette.action.hoverOpacity),
316
+ // Reset on touch devices, it doesn't add specificity
317
+ "@media (hover: none)": {
318
+ backgroundColor: "transparent"
319
+ }
320
+ }
321
+ }, n.color !== "default" && {
322
+ [`&.${O.checked}, &.${O.indeterminate}`]: {
323
+ color: (o.vars || o).palette[n.color].main
324
+ },
325
+ [`&.${O.disabled}`]: {
326
+ color: (o.vars || o).palette.action.disabled
327
+ }
328
+ })), Oe = /* @__PURE__ */ u(Be, {}), Fe = /* @__PURE__ */ u(ve, {}), Se = /* @__PURE__ */ u(Ie, {}), Te = /* @__PURE__ */ I.forwardRef(function(n, t) {
329
+ var c, s;
330
+ const a = ae({
331
+ props: n,
332
+ name: "MuiCheckbox"
333
+ }), {
334
+ checkedIcon: h = Oe,
335
+ color: i = "primary",
336
+ icon: C = Fe,
337
+ indeterminate: d = !1,
338
+ indeterminateIcon: p = Se,
339
+ inputProps: b,
340
+ size: m = "medium",
341
+ className: k
342
+ } = a, x = $(a, Re), R = d ? p : C, g = d ? p : h, y = r({}, a, {
343
+ color: i,
344
+ indeterminate: d,
345
+ size: m
346
+ }), v = ze(y);
347
+ return /* @__PURE__ */ u(Ne, r({
348
+ type: "checkbox",
349
+ inputProps: r({
350
+ "data-indeterminate": d
351
+ }, b),
352
+ icon: /* @__PURE__ */ I.cloneElement(R, {
353
+ fontSize: (c = R.props.fontSize) != null ? c : m
354
+ }),
355
+ checkedIcon: /* @__PURE__ */ I.cloneElement(g, {
356
+ fontSize: (s = g.props.fontSize) != null ? s : m
357
+ }),
358
+ ownerState: y,
359
+ ref: t,
360
+ className: S(v.root, k)
361
+ }, x, {
362
+ classes: v
363
+ }));
364
+ });
365
+ process.env.NODE_ENV !== "production" && (Te.propTypes = {
366
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
367
+ // │ These PropTypes are generated from the TypeScript type definitions. │
368
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
369
+ // └─────────────────────────────────────────────────────────────────────┘
370
+ /**
371
+ * If `true`, the component is checked.
372
+ */
373
+ checked: e.bool,
374
+ /**
375
+ * The icon to display when the component is checked.
376
+ * @default <CheckBoxIcon />
377
+ */
378
+ checkedIcon: e.node,
379
+ /**
380
+ * Override or extend the styles applied to the component.
381
+ */
382
+ classes: e.object,
383
+ /**
384
+ * @ignore
385
+ */
386
+ className: e.string,
387
+ /**
388
+ * The color of the component.
389
+ * It supports both default and custom theme colors, which can be added as shown in the
390
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
391
+ * @default 'primary'
392
+ */
393
+ color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
394
+ /**
395
+ * The default checked state. Use when the component is not controlled.
396
+ */
397
+ defaultChecked: e.bool,
398
+ /**
399
+ * If `true`, the component is disabled.
400
+ * @default false
401
+ */
402
+ disabled: e.bool,
403
+ /**
404
+ * If `true`, the ripple effect is disabled.
405
+ * @default false
406
+ */
407
+ disableRipple: e.bool,
408
+ /**
409
+ * The icon to display when the component is unchecked.
410
+ * @default <CheckBoxOutlineBlankIcon />
411
+ */
412
+ icon: e.node,
413
+ /**
414
+ * The id of the `input` element.
415
+ */
416
+ id: e.string,
417
+ /**
418
+ * If `true`, the component appears indeterminate.
419
+ * This does not set the native input element to indeterminate due
420
+ * to inconsistent behavior across browsers.
421
+ * However, we set a `data-indeterminate` attribute on the `input`.
422
+ * @default false
423
+ */
424
+ indeterminate: e.bool,
425
+ /**
426
+ * The icon to display when the component is indeterminate.
427
+ * @default <IndeterminateCheckBoxIcon />
428
+ */
429
+ indeterminateIcon: e.node,
430
+ /**
431
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
432
+ */
433
+ inputProps: e.object,
434
+ /**
435
+ * Pass a ref to the `input` element.
436
+ */
437
+ inputRef: U,
438
+ /**
439
+ * Callback fired when the state is changed.
440
+ *
441
+ * @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
442
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
443
+ */
444
+ onChange: e.func,
445
+ /**
446
+ * If `true`, the `input` element is required.
447
+ * @default false
448
+ */
449
+ required: e.bool,
450
+ /**
451
+ * The size of the component.
452
+ * `small` is equivalent to the dense checkbox styling.
453
+ * @default 'medium'
454
+ */
455
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
456
+ /**
457
+ * The system prop that allows defining system overrides as well as additional CSS styles.
458
+ */
459
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
460
+ /**
461
+ * The value of the component. The DOM API casts this to a string.
462
+ * The browser uses "on" as the default value.
463
+ */
464
+ value: e.any
465
+ });
466
+ export {
467
+ be as B,
468
+ Te as C
469
+ };