@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,33 +1,32 @@
1
1
  import Ne, { jsx as C, jsxs as it, Fragment as ut } from "react/jsx-runtime";
2
2
  import * as f from "react";
3
3
  import Se from "react";
4
- import { g as dt, s as ft, i as Oe } from "../../styled-fcu13kUF.js";
5
- import { r as Te } from "../../createSvgIcon-CTQMsmqJ.js";
6
- import { T as pt, D as ht, c as mt, I as xt } from "../../index-DlFdC7eU.js";
4
+ import { r as Oe, i as Te } from "../../createSvgIcon-B4TFefhd.js";
5
+ import { T as dt, D as ft, I as pt } from "../../index-DRy8nExS.js";
7
6
  import we from "lodash";
8
- import { Box as gt } from "@mui/material";
9
- import { SearchInput as bt } from "../search-input/index.js";
10
- import { flattenNestedTemplates as St } from "../../utils/ontology.js";
11
- import { P as o } from "../../createTheme-CCwx9ptk.js";
12
- import { g as wt, a as yt } from "../../chainPropTypes-CwfDfLEA.js";
13
- import { u as It } from "../../useThemeProps-CDWnyqCh.js";
14
- import { u as Ct } from "../../useTheme-pp7LSyyX.js";
7
+ import { Box as ht } from "@mui/material";
8
+ import { SearchInput as mt } from "../search-input/index.js";
9
+ import { flattenNestedTemplates as xt } from "../../utils/ontology.js";
10
+ import { g as gt, u as bt, c as St, a as wt } from "../../useThemeProps-BXn-nVhw.js";
11
+ import { P as o } from "../../createStyled-liRRhQcN.js";
12
+ import { g as yt, s as It } from "../../styled-Dm8rXzIG.js";
13
+ import { u as Ct } from "../../useTheme-CTuK-wFF.js";
15
14
  import { u as Nt } from "../../useId-BHG98T5I.js";
16
- import { b as Ot } from "../../ButtonBase-C875Ww3z.js";
17
- import { u as ye } from "../../createSvgIcon-pajAAvTK.js";
15
+ import { u as Ot } from "../../ButtonBase-DJz-TFGO.js";
16
+ import { u as ye } from "../../createSvgIcon-Cl8kMTkx.js";
18
17
  import { o as Tt } from "../../ownerDocument-CUrv0DIK.js";
19
18
  function Rt(d) {
20
- return dt("MuiTreeView", d);
19
+ return yt("MuiTreeView", d);
21
20
  }
22
- wt("MuiTreeView", ["root"]);
21
+ gt("MuiTreeView", ["root"]);
23
22
  const kt = (d) => {
24
23
  const {
25
24
  classes: b
26
25
  } = d;
27
- return yt({
26
+ return wt({
28
27
  root: ["root"]
29
28
  }, Rt, b);
30
- }, Et = ft("ul", {
29
+ }, Et = It("ul", {
31
30
  name: "MuiTreeView",
32
31
  slot: "Root",
33
32
  overridesResolver: (d, b) => b.root
@@ -50,7 +49,7 @@ function Ce() {
50
49
  return !1;
51
50
  }
52
51
  const Pt = [], At = [], Re = /* @__PURE__ */ f.forwardRef(function(b, E) {
53
- const y = It({
52
+ const y = bt({
54
53
  props: b,
55
54
  name: "MuiTreeView"
56
55
  }), {
@@ -310,7 +309,7 @@ const Pt = [], At = [], Re = /* @__PURE__ */ f.forwardRef(function(b, E) {
310
309
  }, ot = (e) => {
311
310
  ne(null), D && D(e);
312
311
  }, at = i.current[a] ? i.current[a].idAttribute : null;
313
- return /* @__PURE__ */ C(pt.Provider, {
312
+ return /* @__PURE__ */ C(dt.Provider, {
314
313
  // TODO: fix this lint error
315
314
  // eslint-disable-next-line react/jsx-no-constructed-context-values
316
315
  value: {
@@ -337,13 +336,13 @@ const Pt = [], At = [], Re = /* @__PURE__ */ f.forwardRef(function(b, E) {
337
336
  unregisterNode: et,
338
337
  treeId: pe
339
338
  },
340
- children: /* @__PURE__ */ C(ht, {
339
+ children: /* @__PURE__ */ C(ft, {
341
340
  children: /* @__PURE__ */ C(Et, {
342
341
  role: "tree",
343
342
  id: pe,
344
343
  "aria-activedescendant": at,
345
344
  "aria-multiselectable": p,
346
- className: mt(Ae.root, Y),
345
+ className: St(Ae.root, Y),
347
346
  ref: De,
348
347
  tabIndex: 0,
349
348
  onKeyDown: nt,
@@ -470,23 +469,23 @@ process.env.NODE_ENV !== "production" && (Re.propTypes = {
470
469
  */
471
470
  sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
472
471
  });
473
- var ce = {}, Dt = Oe;
472
+ var ce = {}, Dt = Te;
474
473
  Object.defineProperty(ce, "__esModule", {
475
474
  value: !0
476
475
  });
477
- var ke = ce.default = void 0, Mt = Dt(Te()), _t = Ne;
476
+ var ke = ce.default = void 0, Mt = Dt(Oe()), _t = Ne;
478
477
  ke = ce.default = (0, Mt.default)(/* @__PURE__ */ (0, _t.jsx)("path", {
479
478
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
480
479
  }), "ExpandMore");
481
- var le = {}, jt = Oe;
480
+ var le = {}, jt = Te;
482
481
  Object.defineProperty(le, "__esModule", {
483
482
  value: !0
484
483
  });
485
- var Ee = le.default = void 0, Vt = jt(Te()), Kt = Ne;
484
+ var Ee = le.default = void 0, Vt = jt(Oe()), Kt = Ne;
486
485
  Ee = le.default = (0, Vt.default)(/* @__PURE__ */ (0, Kt.jsx)("path", {
487
486
  d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
488
487
  }), "ChevronRight");
489
- const nr = ({
488
+ const rr = ({
490
489
  data: d,
491
490
  idKey: b = "id",
492
491
  selected: E,
@@ -496,14 +495,14 @@ const nr = ({
496
495
  onChange: Z,
497
496
  onToggle: v
498
497
  }) => {
499
- const [A, ee] = Se.useState(""), te = St(d), q = Se.useMemo(() => A.length > 0 ? te.filter(
498
+ const [A, ee] = Se.useState(""), te = xt(d), q = Se.useMemo(() => A.length > 0 ? te.filter(
500
499
  (I) => I.name.toLowerCase().includes(A)
501
500
  ) : d, [A, d]);
502
501
  let N = null;
503
502
  const g = 500;
504
503
  return /* @__PURE__ */ it(ut, { children: [
505
- !Y && /* @__PURE__ */ C(gt, { px: 1, children: /* @__PURE__ */ C(
506
- bt,
504
+ !Y && /* @__PURE__ */ C(ht, { px: 1, children: /* @__PURE__ */ C(
505
+ mt,
507
506
  {
508
507
  fullWidth: !0,
509
508
  disableLabel: !0,
@@ -532,7 +531,7 @@ const nr = ({
532
531
  children: q.map((I, p) => {
533
532
  const D = String(I[b]), U = we.includes(E, D), z = we.includes($, D);
534
533
  return /* @__PURE__ */ C(
535
- xt,
534
+ pt,
536
535
  {
537
536
  id: D,
538
537
  idKey: b,
@@ -552,5 +551,5 @@ const nr = ({
552
551
  ] });
553
552
  };
554
553
  export {
555
- nr as TreeViewFilter
554
+ rr as TreeViewFilter
556
555
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../item-label/index.js";
3
3
  import "lodash";
4
- import { I as i } from "../../../index-DlFdC7eU.js";
4
+ import { I as i } from "../../../index-DRy8nExS.js";
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as a } from "react/jsx-runtime";
2
2
  import { RadioButtonUnchecked as l, CheckCircle as s } from "@mui/icons-material";
3
- import { B as p, C as h } from "../../../Checkbox-COCZU8Yl.js";
4
- import { T as d } from "../../../Typography-CqyjdT7p.js";
3
+ import { B as p, C as h } from "../../../Checkbox-DzmWBCrt.js";
4
+ import { T as d } from "../../../Typography-CXe5ytr0.js";
5
5
  function k({
6
6
  id: t,
7
7
  name: n,