@hybridcore/ui 1.3.3 → 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 (64) hide show
  1. package/dist/{ButtonBase-DE8d_U2E.js → ButtonBase-DJz-TFGO.js} +199 -207
  2. package/dist/{CardContent-Du2i427Y.js → CardContent-DZnCVGy9.js} +15 -15
  3. package/dist/{Checkbox-BGNAqLl0.js → Checkbox-DzmWBCrt.js} +154 -144
  4. package/dist/{Collapse-FRd0_2Pt.js → Collapse-NqW0GIK_.js} +79 -77
  5. package/dist/DialogContent-D51w7KVX.js +2119 -0
  6. package/dist/{FormControl-ChTmxscy.js → FormControl-aXQs42m6.js} +496 -466
  7. package/dist/FormControlLabel-hDa-xf_q.js +639 -0
  8. package/dist/{IconButton-Cu_XEJB2.js → IconButton-SnBOFQ43.js} +22 -22
  9. package/dist/{Input-DU22-Zbo.js → Input-CeVb6kjv.js} +34 -34
  10. package/dist/{InputAdornment-6aeADcPO.js → InputAdornment-fM3loNyx.js} +12 -12
  11. package/dist/{List-nOXr-cFJ.js → List-DLIiXc6r.js} +10 -10
  12. package/dist/{ListItem-RJvRMwkZ.js → ListItem-BkxmqFI8.js} +23 -23
  13. package/dist/{MenuItem-DF45rx2m.js → MenuItem-BEW28T9O.js} +27 -27
  14. package/dist/{OutlinedInput-DJCHjkR3.js → OutlinedInput-DkzLHRTd.js} +75 -78
  15. package/dist/{Paper-CD_ma6NJ.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/geometry-picker/index.js +3 -3
  28. package/dist/components/icon-button/index.js +1 -1
  29. package/dist/components/map/styled.js +14 -14
  30. package/dist/components/search-input/index.js +4 -4
  31. package/dist/components/template-property-filters/index.js +1 -1
  32. package/dist/components/template-property-filters/property.js +4 -4
  33. package/dist/components/tree-select/index.js +4 -4
  34. package/dist/components/treeview-filter/index.js +29 -30
  35. package/dist/components/treeview-filter/item/index.js +1 -1
  36. package/dist/components/treeview-filter/item-label/index.js +2 -2
  37. package/dist/createStyled-liRRhQcN.js +1910 -0
  38. package/dist/createSvgIcon-B4TFefhd.js +73 -0
  39. package/dist/{createSvgIcon-DPZ7UbxM.js → createSvgIcon-Cl8kMTkx.js} +82 -85
  40. package/dist/{exactProp--3vlJ9a9.js → exactProp-CT2wqJXE.js} +2 -2
  41. package/dist/{index-CtuBGOmk.js → index-D9TdkXAs.js} +5 -5
  42. package/dist/{index-DzFccwzL.js → index-DRy8nExS.js} +205 -218
  43. package/dist/{listItemTextClasses-2BAu-hye.js → listItemTextClasses-BrCbmCR1.js} +2 -2
  44. package/dist/main.js +2 -2
  45. package/dist/{property-BSufYw1E.js → property-BsU8ijQF.js} +1056 -1087
  46. package/dist/styled-Dm8rXzIG.js +677 -0
  47. package/dist/useTheme-CTuK-wFF.js +10 -0
  48. package/dist/useThemeProps-BXn-nVhw.js +107 -0
  49. package/dist/{utils-qcu0RzdN.js → utils-DY9Jk4Ah.js} +2 -2
  50. package/package.json +3 -3
  51. package/dist/DialogContent-CKeAZ3Ts.js +0 -1982
  52. package/dist/FormControlLabel-Df7csguX.js +0 -827
  53. package/dist/Select-C1jD_gBQ.js +0 -2305
  54. package/dist/Typography-C2BkMNk-.js +0 -178
  55. package/dist/chainPropTypes-GRMJ22CO.js +0 -96
  56. package/dist/createSvgIcon-6wv0RQr3.js +0 -63
  57. package/dist/createTheme-C3DKplhE.js +0 -2395
  58. package/dist/resolveComponentProps-DozbaB8e.js +0 -54
  59. package/dist/styled-CVWGE9ik.js +0 -142
  60. package/dist/styled-iyoioZCr.js +0 -1033
  61. package/dist/useTheme--x3BjP9A.js +0 -17
  62. package/dist/useTheme-pWltVFb2.js +0 -10
  63. package/dist/useThemeProps-C90JF0Qc.js +0 -62
  64. package/dist/useThemeProps-DNZoozBw.js +0 -26
@@ -1,54 +0,0 @@
1
- import { _ as o } from "./extends-Cyw62AD_.js";
2
- import { i as g } from "./isHostComponent-kiaBvYVo.js";
3
- import { c as v } from "./chainPropTypes-GRMJ22CO.js";
4
- function O(n, s, e) {
5
- return n === void 0 || g(n) ? s : o({}, s, {
6
- ownerState: o({}, s.ownerState, e)
7
- });
8
- }
9
- function p(n, s = []) {
10
- if (n === void 0)
11
- return {};
12
- const e = {};
13
- return Object.keys(n).filter((t) => t.match(/^on[A-Z]/) && typeof n[t] == "function" && !s.includes(t)).forEach((t) => {
14
- e[t] = n[t];
15
- }), e;
16
- }
17
- function y(n) {
18
- if (n === void 0)
19
- return {};
20
- const s = {};
21
- return Object.keys(n).filter((e) => !(e.match(/^on[A-Z]/) && typeof n[e] == "function")).forEach((e) => {
22
- s[e] = n[e];
23
- }), s;
24
- }
25
- function P(n) {
26
- const {
27
- getSlotProps: s,
28
- additionalProps: e,
29
- externalSlotProps: t,
30
- externalForwardedProps: l,
31
- className: u
32
- } = n;
33
- if (!s) {
34
- const f = v(e == null ? void 0 : e.className, u, l == null ? void 0 : l.className, t == null ? void 0 : t.className), m = o({}, e == null ? void 0 : e.style, l == null ? void 0 : l.style, t == null ? void 0 : t.style), a = o({}, e, l, t);
35
- return f.length > 0 && (a.className = f), Object.keys(m).length > 0 && (a.style = m), {
36
- props: a,
37
- internalRef: void 0
38
- };
39
- }
40
- const N = p(o({}, l, t)), h = y(t), S = y(l), r = s(N), d = v(r == null ? void 0 : r.className, e == null ? void 0 : e.className, u, l == null ? void 0 : l.className, t == null ? void 0 : t.className), c = o({}, r == null ? void 0 : r.style, e == null ? void 0 : e.style, l == null ? void 0 : l.style, t == null ? void 0 : t.style), i = o({}, r, e, S, h);
41
- return d.length > 0 && (i.className = d), Object.keys(c).length > 0 && (i.style = c), {
42
- props: i,
43
- internalRef: r.ref
44
- };
45
- }
46
- function k(n, s, e) {
47
- return typeof n == "function" ? n(s, e) : n;
48
- }
49
- export {
50
- O as a,
51
- p as e,
52
- P as m,
53
- k as r
54
- };
@@ -1,142 +0,0 @@
1
- import { a as E, _ as l } from "./extends-Cyw62AD_.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
- const J = ["ownerState"], K = ["variants"], Q = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
4
- function U(e) {
5
- return Object.keys(e).length === 0;
6
- }
7
- function X(e) {
8
- return typeof e == "string" && // 96 is one less than the char code
9
- // for "a" so this is checking that
10
- // it's a lowercase character
11
- e.charCodeAt(0) > 96;
12
- }
13
- function A(e) {
14
- return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
15
- }
16
- const Y = W(), V = (e) => e && e.charAt(0).toLowerCase() + e.slice(1);
17
- function w({
18
- defaultTheme: e,
19
- theme: i,
20
- themeId: o
21
- }) {
22
- return U(i) ? e : i[o] || i;
23
- }
24
- function Z(e) {
25
- return e ? (i, o) => o[e] : null;
26
- }
27
- function x(e, i) {
28
- let {
29
- ownerState: o
30
- } = i, m = E(i, J);
31
- const u = typeof e == "function" ? e(l({
32
- ownerState: o
33
- }, m)) : e;
34
- if (Array.isArray(u))
35
- return u.flatMap((h) => x(h, l({
36
- ownerState: o
37
- }, m)));
38
- if (u && typeof u == "object" && Array.isArray(u.variants)) {
39
- const {
40
- variants: h = []
41
- } = u;
42
- let d = E(u, K);
43
- return h.forEach((t) => {
44
- let s = !0;
45
- typeof t.props == "function" ? s = t.props(l({
46
- ownerState: o
47
- }, m, o)) : Object.keys(t.props).forEach((p) => {
48
- (o == null ? void 0 : o[p]) !== t.props[p] && m[p] !== t.props[p] && (s = !1);
49
- }), s && (Array.isArray(d) || (d = [d]), d.push(typeof t.style == "function" ? t.style(l({
50
- ownerState: o
51
- }, m, o)) : t.style));
52
- }), d;
53
- }
54
- return u;
55
- }
56
- function g(e = {}) {
57
- const {
58
- themeId: i,
59
- defaultTheme: o = Y,
60
- rootShouldForwardProp: m = A,
61
- slotShouldForwardProp: u = A
62
- } = e, h = (a) => G(l({}, a, {
63
- theme: w(l({}, a, {
64
- defaultTheme: o,
65
- themeId: i
66
- }))
67
- }));
68
- return h.__mui_systemSx = !0, (a, d = {}) => {
69
- q(a, (n) => n.filter((f) => !(f != null && f.__mui_systemSx)));
70
- const {
71
- name: t,
72
- slot: s,
73
- skipVariantsResolver: p,
74
- skipSx: $,
75
- // TODO v6: remove `lowercaseFirstLetter()` in the next major release
76
- // For more details: https://github.com/mui/material-ui/pull/37908
77
- overridesResolver: F = Z(V(s))
78
- } = d, T = E(d, Q), b = p !== void 0 ? p : (
79
- // TODO v6: remove `Root` in the next major release
80
- // For more details: https://github.com/mui/material-ui/pull/37908
81
- s && s !== "Root" && s !== "root" || !1
82
- ), D = $ || !1;
83
- let j;
84
- process.env.NODE_ENV !== "production" && t && (j = `${t}-${V(s || "Root")}`);
85
- let v = A;
86
- s === "Root" || s === "root" ? v = m : s ? v = u : X(a) && (v = void 0);
87
- const O = z(a, l({
88
- shouldForwardProp: v,
89
- label: j
90
- }, T)), k = (n) => typeof n == "function" && n.__emotion_real !== n || H(n) ? (f) => x(n, l({}, f, {
91
- theme: w({
92
- theme: f.theme,
93
- defaultTheme: o,
94
- themeId: i
95
- })
96
- })) : n, C = (n, ...f) => {
97
- let R = k(n);
98
- const y = f ? f.map(k) : [];
99
- t && F && y.push((r) => {
100
- const c = w(l({}, r, {
101
- defaultTheme: o,
102
- themeId: i
103
- }));
104
- if (!c.components || !c.components[t] || !c.components[t].styleOverrides)
105
- return null;
106
- const S = c.components[t].styleOverrides, _ = {};
107
- return Object.entries(S).forEach(([L, M]) => {
108
- _[L] = x(M, l({}, r, {
109
- theme: c
110
- }));
111
- }), F(r, _);
112
- }), t && !b && y.push((r) => {
113
- var c;
114
- const S = w(l({}, r, {
115
- defaultTheme: o,
116
- themeId: i
117
- })), _ = S == null || (c = S.components) == null || (c = c[t]) == null ? void 0 : c.variants;
118
- return x({
119
- variants: _
120
- }, l({}, r, {
121
- theme: S
122
- }));
123
- }), D || y.push(h);
124
- const P = y.length - f.length;
125
- if (Array.isArray(n) && P > 0) {
126
- const r = new Array(P).fill("");
127
- R = [...n, ...r], R.raw = [...n.raw, ...r];
128
- }
129
- const N = O(R, ...y);
130
- if (process.env.NODE_ENV !== "production") {
131
- let r;
132
- t && (r = `${t}${I(s || "")}`), r === void 0 && (r = `Styled(${B(a)})`), N.displayName = r;
133
- }
134
- return a.muiName && (N.muiName = a.muiName), N;
135
- };
136
- return O.withConfig && (C.withConfig = O.withConfig), C;
137
- };
138
- }
139
- const oe = g();
140
- export {
141
- oe as s
142
- };