@hybridcore/ui 1.3.3 → 1.3.5
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.
- package/dist/{ButtonBase-DE8d_U2E.js → ButtonBase-D6qhsxB0.js} +201 -210
- package/dist/{CardContent-Du2i427Y.js → CardContent-B8hqgH-I.js} +15 -15
- package/dist/{Checkbox-BGNAqLl0.js → Checkbox-BFWhj3s-.js} +154 -144
- package/dist/{Collapse-FRd0_2Pt.js → Collapse-D_TjnyE5.js} +96 -87
- package/dist/DialogContent-BCYm_d1s.js +864 -0
- package/dist/{FormControl-ChTmxscy.js → FormControl-BMRUQKHh.js} +479 -449
- package/dist/FormControlLabel-DENNVXWL.js +639 -0
- package/dist/{IconButton-Cu_XEJB2.js → IconButton-D8bwME9t.js} +22 -22
- package/dist/{Input-DU22-Zbo.js → Input-Dxzguyp5.js} +34 -34
- package/dist/{InputAdornment-6aeADcPO.js → InputAdornment-B8ERE7Zv.js} +12 -12
- package/dist/{List-nOXr-cFJ.js → List-DEWyK9IO.js} +12 -12
- package/dist/{MenuItem-DF45rx2m.js → MenuItem-DstAFfik.js} +26 -26
- package/dist/Modal-DNGEQJ1M.js +1267 -0
- package/dist/{OutlinedInput-DJCHjkR3.js → OutlinedInput-w2Cj9STF.js} +75 -78
- package/dist/{Paper-CD_ma6NJ.js → Paper-BseeergJ.js} +15 -15
- package/dist/Select-NDq3WyLt.js +2175 -0
- package/dist/Typography-Dg-ROiTA.js +201 -0
- package/dist/components/card/index.js +17 -17
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +222 -302
- package/dist/components/confirm/dialog.js +13 -13
- package/dist/components/container/index.js +19 -19
- package/dist/components/context-menu/index.js +616 -203
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/geometry-picker/index.js +3 -3
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/styled.js +14 -14
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/template-property-filters/index.js +1 -1
- package/dist/components/template-property-filters/property.js +209 -10
- package/dist/components/tree-select/index.js +4 -4
- package/dist/components/treeview-filter/index.js +29 -30
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +2 -2
- package/dist/createStyled-B96gjom1.js +1887 -0
- package/dist/createSvgIcon-B2WT0K4k.js +87 -0
- package/dist/{createSvgIcon-DPZ7UbxM.js → createSvgIcon-BNrb7rDY.js} +82 -85
- package/dist/{exactProp--3vlJ9a9.js → exactProp-CI_rjX83.js} +2 -2
- package/dist/{index-CtuBGOmk.js → index-B3Oj04nl.js} +5 -5
- package/dist/{index-DzFccwzL.js → index-CSfSVkKj.js} +204 -218
- package/dist/{listItemTextClasses-2BAu-hye.js → listItemTextClasses-CFiI_U7B.js} +2 -2
- package/dist/main.js +150 -144
- package/dist/styled-cPJbqF0E.js +677 -0
- package/dist/useTheme-C-T6Qisa.js +10 -0
- package/dist/useThemeProps-DeftUmqJ.js +107 -0
- package/dist/{utils-qcu0RzdN.js → utils-CCkxV0lZ.js} +15 -15
- package/package.json +3 -3
- package/dist/DialogContent-CKeAZ3Ts.js +0 -1982
- package/dist/FormControlLabel-Df7csguX.js +0 -827
- package/dist/ListItem-RJvRMwkZ.js +0 -428
- package/dist/Select-C1jD_gBQ.js +0 -2305
- package/dist/Typography-C2BkMNk-.js +0 -178
- package/dist/chainPropTypes-GRMJ22CO.js +0 -96
- package/dist/createSvgIcon-6wv0RQr3.js +0 -63
- package/dist/createTheme-C3DKplhE.js +0 -2395
- package/dist/property-BSufYw1E.js +0 -6888
- package/dist/requirePropFactory-BItwGLRQ.js +0 -18
- package/dist/resolveComponentProps-DozbaB8e.js +0 -54
- package/dist/styled-CVWGE9ik.js +0 -142
- package/dist/styled-iyoioZCr.js +0 -1033
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useTheme--x3BjP9A.js +0 -17
- package/dist/useTheme-pWltVFb2.js +0 -10
- package/dist/useThemeProps-C90JF0Qc.js +0 -62
- package/dist/useThemeProps-DNZoozBw.js +0 -26
|
@@ -1,18 +0,0 @@
|
|
|
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,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
|
-
};
|
package/dist/styled-CVWGE9ik.js
DELETED
|
@@ -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
|
-
};
|