@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,17 +0,0 @@
|
|
|
1
|
-
import * as n from "react";
|
|
2
|
-
import { ThemeContext as o } from "@emotion/react";
|
|
3
|
-
import { l as m } from "./createTheme-C3DKplhE.js";
|
|
4
|
-
function r(e) {
|
|
5
|
-
return Object.keys(e).length === 0;
|
|
6
|
-
}
|
|
7
|
-
function s(e = null) {
|
|
8
|
-
const t = n.useContext(o);
|
|
9
|
-
return !t || r(t) ? e : t;
|
|
10
|
-
}
|
|
11
|
-
const u = m();
|
|
12
|
-
function h(e = u) {
|
|
13
|
-
return s(e);
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
h as u
|
|
17
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as o from "react";
|
|
2
|
-
import { d as r, T as s } from "./styled-iyoioZCr.js";
|
|
3
|
-
import { u as t } from "./useTheme--x3BjP9A.js";
|
|
4
|
-
function a() {
|
|
5
|
-
const e = t(r);
|
|
6
|
-
return process.env.NODE_ENV !== "production" && o.useDebugValue(e), e[s] || e;
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
a as u
|
|
10
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
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
|
-
function g(e, t = 0, s = 1) {
|
|
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
|
-
}
|
|
7
|
-
function l(e) {
|
|
8
|
-
e = e.slice(1);
|
|
9
|
-
const t = new RegExp(`.{1,${e.length >= 6 ? 2 : 1}}`, "g");
|
|
10
|
-
let s = e.match(t);
|
|
11
|
-
return s && s[0].length === 1 && (s = s.map((r) => r + r)), s ? `rgb${s.length === 4 ? "a" : ""}(${s.map((r, n) => n < 3 ? parseInt(r, 16) : Math.round(parseInt(r, 16) / 255 * 1e3) / 1e3).join(", ")})` : "";
|
|
12
|
-
}
|
|
13
|
-
function i(e) {
|
|
14
|
-
if (e.type)
|
|
15
|
-
return e;
|
|
16
|
-
if (e.charAt(0) === "#")
|
|
17
|
-
return i(l(e));
|
|
18
|
-
const t = e.indexOf("("), s = e.substring(0, t);
|
|
19
|
-
if (["rgb", "rgba", "hsl", "hsla", "color"].indexOf(s) === -1)
|
|
20
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported \`${e}\` color.
|
|
21
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : o(9, e));
|
|
22
|
-
let r = e.substring(t + 1, e.length - 1), n;
|
|
23
|
-
if (s === "color") {
|
|
24
|
-
if (r = r.split(" "), n = r.shift(), r.length === 4 && r[3].charAt(0) === "/" && (r[3] = r[3].slice(1)), ["srgb", "display-p3", "a98-rgb", "prophoto-rgb", "rec-2020"].indexOf(n) === -1)
|
|
25
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: unsupported \`${n}\` color space.
|
|
26
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : o(10, n));
|
|
27
|
-
} else
|
|
28
|
-
r = r.split(",");
|
|
29
|
-
return r = r.map((p) => parseFloat(p)), {
|
|
30
|
-
type: s,
|
|
31
|
-
values: r,
|
|
32
|
-
colorSpace: n
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function c(e) {
|
|
36
|
-
const {
|
|
37
|
-
type: t,
|
|
38
|
-
colorSpace: s
|
|
39
|
-
} = e;
|
|
40
|
-
let {
|
|
41
|
-
values: r
|
|
42
|
-
} = e;
|
|
43
|
-
return t.indexOf("rgb") !== -1 ? r = r.map((n, p) => p < 3 ? parseInt(n, 10) : n) : t.indexOf("hsl") !== -1 && (r[1] = `${r[1]}%`, r[2] = `${r[2]}%`), t.indexOf("color") !== -1 ? r = `${s} ${r.join(" ")}` : r = `${r.join(", ")}`, `${t}(${r})`;
|
|
44
|
-
}
|
|
45
|
-
function b(e, t) {
|
|
46
|
-
return e = i(e), t = g(t), (e.type === "rgb" || e.type === "hsl") && (e.type += "a"), e.type === "color" ? e.values[3] = `/${t}` : e.values[3] = t, c(e);
|
|
47
|
-
}
|
|
48
|
-
function E({
|
|
49
|
-
props: e,
|
|
50
|
-
name: t
|
|
51
|
-
}) {
|
|
52
|
-
return h({
|
|
53
|
-
props: e,
|
|
54
|
-
name: t,
|
|
55
|
-
defaultTheme: f,
|
|
56
|
-
themeId: u
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
export {
|
|
60
|
-
b as a,
|
|
61
|
-
E as u
|
|
62
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { r as n } from "./chainPropTypes-GRMJ22CO.js";
|
|
2
|
-
import { u as p } from "./useTheme--x3BjP9A.js";
|
|
3
|
-
function m(t) {
|
|
4
|
-
const {
|
|
5
|
-
theme: e,
|
|
6
|
-
name: o,
|
|
7
|
-
props: r
|
|
8
|
-
} = t;
|
|
9
|
-
return !e || !e.components || !e.components[o] || !e.components[o].defaultProps ? r : n(e.components[o].defaultProps, r);
|
|
10
|
-
}
|
|
11
|
-
function P({
|
|
12
|
-
props: t,
|
|
13
|
-
name: e,
|
|
14
|
-
defaultTheme: o,
|
|
15
|
-
themeId: r
|
|
16
|
-
}) {
|
|
17
|
-
let s = p(o);
|
|
18
|
-
return r && (s = s[r] || s), m({
|
|
19
|
-
theme: s,
|
|
20
|
-
name: e,
|
|
21
|
-
props: t
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
P as u
|
|
26
|
-
};
|