@hybridcore/ui 1.3.2 → 1.3.3

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 (59) hide show
  1. package/dist/{ButtonBase-C875Ww3z.js → ButtonBase-DE8d_U2E.js} +5 -5
  2. package/dist/{CardContent-pWhEcyoR.js → CardContent-Du2i427Y.js} +3 -3
  3. package/dist/{Checkbox-COCZU8Yl.js → Checkbox-BGNAqLl0.js} +6 -6
  4. package/dist/{Collapse-CZFw4GZs.js → Collapse-FRd0_2Pt.js} +6 -6
  5. package/dist/{DialogContent-DhcqAG-q.js → DialogContent-CKeAZ3Ts.js} +9 -9
  6. package/dist/{FormControl-BhwmBUAq.js → FormControl-ChTmxscy.js} +399 -545
  7. package/dist/{FormControlLabel-BL6c4YAN.js → FormControlLabel-Df7csguX.js} +43 -43
  8. package/dist/{IconButton-DM-0JFx9.js → IconButton-Cu_XEJB2.js} +4 -4
  9. package/dist/{Input-DgIhcA8j.js → Input-DU22-Zbo.js} +5 -5
  10. package/dist/InputAdornment-6aeADcPO.js +155 -0
  11. package/dist/{List-Dz3Z1qJk.js → List-nOXr-cFJ.js} +3 -3
  12. package/dist/{ListItem-DnyWDeDF.js → ListItem-RJvRMwkZ.js} +5 -5
  13. package/dist/{MenuItem-BjC83iWq.js → MenuItem-DF45rx2m.js} +6 -6
  14. package/dist/{OutlinedInput-CS2BwiVg.js → OutlinedInput-DJCHjkR3.js} +5 -5
  15. package/dist/{Paper-seBMlMwu.js → Paper-CD_ma6NJ.js} +4 -4
  16. package/dist/{Select-C8Iimh3g.js → Select-C1jD_gBQ.js} +14 -14
  17. package/dist/{Typography-CqyjdT7p.js → Typography-C2BkMNk-.js} +3 -3
  18. package/dist/{chainPropTypes-CwfDfLEA.js → chainPropTypes-GRMJ22CO.js} +2 -2
  19. package/dist/components/card/index.js +5 -5
  20. package/dist/components/card/styled.js +1 -1
  21. package/dist/components/collapsible-card/style.js +9 -9
  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 +9 -9
  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 +6 -6
  27. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  28. package/dist/components/date-time-picker/index.js +4 -4
  29. package/dist/components/geometry-picker/index.js +7 -6
  30. package/dist/components/icon-button/index.js +1 -1
  31. package/dist/components/map/styled.js +1 -1
  32. package/dist/components/search-input/index.js +10 -9
  33. package/dist/components/template-property-filters/index.js +1 -1
  34. package/dist/components/template-property-filters/property.js +4 -4
  35. package/dist/components/tree-select/index.js +4 -4
  36. package/dist/components/treeview-filter/index.js +9 -9
  37. package/dist/components/treeview-filter/item/index.js +1 -1
  38. package/dist/components/treeview-filter/item-label/index.js +2 -2
  39. package/dist/createSvgIcon-6wv0RQr3.js +63 -0
  40. package/dist/{createSvgIcon-pajAAvTK.js → createSvgIcon-DPZ7UbxM.js} +3 -3
  41. package/dist/{createTheme-CCwx9ptk.js → createTheme-C3DKplhE.js} +13 -13
  42. package/dist/{exactProp-D0xuoiRB.js → exactProp--3vlJ9a9.js} +2 -2
  43. package/dist/{index-tNZngrO0.js → index-CtuBGOmk.js} +10 -10
  44. package/dist/{index-DlFdC7eU.js → index-DzFccwzL.js} +6 -6
  45. package/dist/{listItemTextClasses-DRMkDW2V.js → listItemTextClasses-2BAu-hye.js} +2 -2
  46. package/dist/main.js +248 -326
  47. package/dist/property-BSufYw1E.js +6888 -0
  48. package/dist/requirePropFactory-BItwGLRQ.js +18 -0
  49. package/dist/{resolveComponentProps-DVsx78bV.js → resolveComponentProps-DozbaB8e.js} +1 -1
  50. package/dist/{styled-CPg13iuX.js → styled-CVWGE9ik.js} +4 -4
  51. package/dist/{styled-fcu13kUF.js → styled-iyoioZCr.js} +1 -1
  52. package/dist/{useTheme-BWgLzAUj.js → useTheme--x3BjP9A.js} +3 -4
  53. package/dist/{useTheme-pp7LSyyX.js → useTheme-pWltVFb2.js} +2 -2
  54. package/dist/{useThemeProps-CDWnyqCh.js → useThemeProps-C90JF0Qc.js} +3 -3
  55. package/dist/{useThemeProps-DOuXhu3E.js → useThemeProps-DNZoozBw.js} +4 -5
  56. package/dist/{utils-Cbb4HUTT.js → utils-qcu0RzdN.js} +2 -2
  57. package/package.json +2 -2
  58. package/dist/createSvgIcon-CTQMsmqJ.js +0 -77
  59. package/dist/property-CKak9_tn.js +0 -7020
@@ -0,0 +1,18 @@
1
+ import { _ as d } from "./extends-Cyw62AD_.js";
2
+ function T(f, t) {
3
+ if (process.env.NODE_ENV === "production")
4
+ return () => null;
5
+ const n = t ? d({}, t.propTypes) : null;
6
+ return (o) => (e, r, l, p, u, ...y) => {
7
+ const c = u || r, i = n == null ? void 0 : n[c];
8
+ if (i) {
9
+ const s = i(e, r, l, p, u, ...y);
10
+ if (s)
11
+ return s;
12
+ }
13
+ return typeof e[r] < "u" && !e[o] ? new Error(`The prop \`${c}\` of \`${f}\` can only be used together with the \`${o}\` prop.`) : null;
14
+ };
15
+ }
16
+ export {
17
+ T as r
18
+ };
@@ -1,6 +1,6 @@
1
1
  import { _ as o } from "./extends-Cyw62AD_.js";
2
2
  import { i as g } from "./isHostComponent-kiaBvYVo.js";
3
- import { c as v } from "./chainPropTypes-CwfDfLEA.js";
3
+ import { c as v } from "./chainPropTypes-GRMJ22CO.js";
4
4
  function O(n, s, e) {
5
5
  return n === void 0 || g(n) ? s : o({}, s, {
6
6
  ownerState: o({}, s.ownerState, e)
@@ -1,5 +1,5 @@
1
1
  import { a as E, _ as l } from "./extends-Cyw62AD_.js";
2
- import { j as W, o as z, p as I, a as q, e as B, n as G, i as H } from "./createTheme-CCwx9ptk.js";
2
+ import { l as W, q, t as z, a as I, j as B, p as G, i as H } from "./createTheme-C3DKplhE.js";
3
3
  const J = ["ownerState"], K = ["variants"], Q = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
4
4
  function U(e) {
5
5
  return Object.keys(e).length === 0;
@@ -66,7 +66,7 @@ function g(e = {}) {
66
66
  }))
67
67
  }));
68
68
  return h.__mui_systemSx = !0, (a, d = {}) => {
69
- z(a, (n) => n.filter((f) => !(f != null && f.__mui_systemSx)));
69
+ q(a, (n) => n.filter((f) => !(f != null && f.__mui_systemSx)));
70
70
  const {
71
71
  name: t,
72
72
  slot: s,
@@ -84,7 +84,7 @@ function g(e = {}) {
84
84
  process.env.NODE_ENV !== "production" && t && (j = `${t}-${V(s || "Root")}`);
85
85
  let v = A;
86
86
  s === "Root" || s === "root" ? v = m : s ? v = u : X(a) && (v = void 0);
87
- const O = I(a, l({
87
+ const O = z(a, l({
88
88
  shouldForwardProp: v,
89
89
  label: j
90
90
  }, T)), k = (n) => typeof n == "function" && n.__emotion_real !== n || H(n) ? (f) => x(n, l({}, f, {
@@ -129,7 +129,7 @@ function g(e = {}) {
129
129
  const N = O(R, ...y);
130
130
  if (process.env.NODE_ENV !== "production") {
131
131
  let r;
132
- t && (r = `${t}${q(s || "")}`), r === void 0 && (r = `Styled(${B(a)})`), N.displayName = r;
132
+ t && (r = `${t}${I(s || "")}`), r === void 0 && (r = `Styled(${B(a)})`), N.displayName = r;
133
133
  }
134
134
  return a.muiName && (N.muiName = a.muiName), N;
135
135
  };
@@ -1,4 +1,4 @@
1
- import { b as A, s as De, d as P, i as _e, f as K, a as Pe, e as Re, h as Ie, j as xe, k as Ve, l as ze, m as ne, n as Oe, u as Fe } from "./createTheme-CCwx9ptk.js";
1
+ import { e as A, s as De, d as P, i as _e, f as K, a as Pe, j as Re, k as Ie, l as xe, m as Ve, n as ze, o as ne, p as Oe, u as Fe } from "./createTheme-C3DKplhE.js";
2
2
  import { a as q, _ } from "./extends-Cyw62AD_.js";
3
3
  var U = {}, $e = { exports: {} };
4
4
  (function(e) {
@@ -1,6 +1,6 @@
1
1
  import * as n from "react";
2
2
  import { ThemeContext as o } from "@emotion/react";
3
- import { j as m } from "./createTheme-CCwx9ptk.js";
3
+ import { l as m } from "./createTheme-C3DKplhE.js";
4
4
  function r(e) {
5
5
  return Object.keys(e).length === 0;
6
6
  }
@@ -9,10 +9,9 @@ function s(e = null) {
9
9
  return !t || r(t) ? e : t;
10
10
  }
11
11
  const u = m();
12
- function f(e = u) {
12
+ function h(e = u) {
13
13
  return s(e);
14
14
  }
15
15
  export {
16
- f as a,
17
- s as u
16
+ h as u
18
17
  };
@@ -1,6 +1,6 @@
1
1
  import * as o from "react";
2
- import { d as r, T as s } from "./styled-fcu13kUF.js";
3
- import { a as t } from "./useTheme-BWgLzAUj.js";
2
+ import { d as r, T as s } from "./styled-iyoioZCr.js";
3
+ import { u as t } from "./useTheme--x3BjP9A.js";
4
4
  function a() {
5
5
  const e = t(r);
6
6
  return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[s] || e;
@@ -1,6 +1,6 @@
1
- import { c as a, d as f, T as u } from "./styled-fcu13kUF.js";
2
- import { f as o } from "./createTheme-CCwx9ptk.js";
3
- import { u as h } from "./useThemeProps-DOuXhu3E.js";
1
+ import { c as a, d as f, T as u } from "./styled-iyoioZCr.js";
2
+ import { f as o } from "./createTheme-C3DKplhE.js";
3
+ import { u as h } from "./useThemeProps-DNZoozBw.js";
4
4
  function g(e, t = 0, s = 1) {
5
5
  return process.env.NODE_ENV !== "production" && (e < t || e > s) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${s}].`), a(e, t, s);
6
6
  }
@@ -1,5 +1,5 @@
1
- import { r as n } from "./chainPropTypes-CwfDfLEA.js";
2
- import { a as p } from "./useTheme-BWgLzAUj.js";
1
+ import { r as n } from "./chainPropTypes-GRMJ22CO.js";
2
+ import { u as p } from "./useTheme--x3BjP9A.js";
3
3
  function m(t) {
4
4
  const {
5
5
  theme: e,
@@ -8,7 +8,7 @@ function m(t) {
8
8
  } = t;
9
9
  return !e || !e.components || !e.components[o] || !e.components[o].defaultProps ? r : n(e.components[o].defaultProps, r);
10
10
  }
11
- function f({
11
+ function P({
12
12
  props: t,
13
13
  name: e,
14
14
  defaultTheme: o,
@@ -22,6 +22,5 @@ function f({
22
22
  });
23
23
  }
24
24
  export {
25
- m as g,
26
- f as u
25
+ P as u
27
26
  };
@@ -1,6 +1,6 @@
1
1
  import { a as D } from "./extends-Cyw62AD_.js";
2
- import { _ as C, f as S } from "./ButtonBase-C875Ww3z.js";
3
- import { P as i } from "./createTheme-CCwx9ptk.js";
2
+ import { _ as C, f as S } from "./ButtonBase-DE8d_U2E.js";
3
+ import { P as i } from "./createTheme-C3DKplhE.js";
4
4
  import v from "react";
5
5
  import b from "react-dom";
6
6
  const N = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hybridcore/ui",
3
3
  "description": "Hybrid Core UI Library",
4
- "version": "1.3.2",
4
+ "version": "1.3.3",
5
5
  "author": "Hybrid Core",
6
6
  "license": "ISC",
7
7
  "type": "module",
@@ -30,7 +30,7 @@
30
30
  "@mui/lab": "5.0.0-alpha.130",
31
31
  "@mui/material": "^5.11.13",
32
32
  "@mui/x-data-grid": "^6.0.4",
33
- "@mui/x-date-pickers": "^6.3.0",
33
+ "@mui/x-date-pickers": "6.3.0",
34
34
  "@turf/turf": "^7.0.0",
35
35
  "dayjs": "^1.11.7",
36
36
  "fast-xml-parser": "^4.2.2",
@@ -1,77 +0,0 @@
1
- import { a as g, b as v } from "./createTheme-CCwx9ptk.js";
2
- import { c as b, u as _ } from "./createSvgIcon-pajAAvTK.js";
3
- import { C as y } from "./styled-fcu13kUF.js";
4
- import { c as E, u as C } from "./useId-BHG98T5I.js";
5
- import { d as N } from "./debounce-46wSf_lW.js";
6
- import { o as S } from "./ownerWindow-niciwP7I.js";
7
- import { _ as I } from "./extends-Cyw62AD_.js";
8
- import { s as $, u as T, a as P, b as w, d as O } from "./ButtonBase-C875Ww3z.js";
9
- import { i as j } from "./isMuiElement-CxT3_ACP.js";
10
- import { o as q } from "./ownerDocument-CUrv0DIK.js";
11
- import { u as F } from "./unsupportedProp-BuVD30Gh.js";
12
- function k(e, r) {
13
- return process.env.NODE_ENV === "production" ? () => null : (n, u, s, t, o) => {
14
- const a = s || "<<anonymous>>", i = o || u;
15
- return typeof n[u] < "u" ? new Error(`The ${t} \`${i}\` of \`${a}\` is deprecated. ${r}`) : null;
16
- };
17
- }
18
- function D(e, r) {
19
- if (process.env.NODE_ENV === "production")
20
- return () => null;
21
- const n = r ? I({}, r.propTypes) : null;
22
- return (s) => (t, o, a, i, l, ...h) => {
23
- const m = l || o, f = n == null ? void 0 : n[m];
24
- if (f) {
25
- const d = f(t, o, a, i, l, ...h);
26
- if (d)
27
- return d;
28
- }
29
- return typeof t[o] < "u" && !t[s] ? new Error(`The prop \`${m}\` of \`${e}\` can only be used together with the \`${s}\` prop.`) : null;
30
- };
31
- }
32
- const G = {
33
- configure: (e) => {
34
- process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
35
- `)), y.configure(e);
36
- }
37
- }, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
38
- __proto__: null,
39
- capitalize: g,
40
- createChainedFunction: E,
41
- createSvgIcon: b,
42
- debounce: N,
43
- deprecatedPropType: k,
44
- isMuiElement: j,
45
- ownerDocument: q,
46
- ownerWindow: S,
47
- requirePropFactory: D,
48
- setRef: $,
49
- unstable_ClassNameGenerator: G,
50
- unstable_useEnhancedEffect: T,
51
- unstable_useId: C,
52
- unsupportedProp: F,
53
- useControlled: _,
54
- useEventCallback: P,
55
- useForkRef: w,
56
- useIsFocusVisible: O
57
- }, Symbol.toStringTag, { value: "Module" }));
58
- var c = {};
59
- const R = /* @__PURE__ */ v(M);
60
- var p;
61
- function L() {
62
- return p || (p = 1, function(e) {
63
- "use client";
64
- Object.defineProperty(e, "__esModule", {
65
- value: !0
66
- }), Object.defineProperty(e, "default", {
67
- enumerable: !0,
68
- get: function() {
69
- return r.createSvgIcon;
70
- }
71
- });
72
- var r = R;
73
- }(c)), c;
74
- }
75
- export {
76
- L as r
77
- };