@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.
- package/dist/{ButtonBase-C875Ww3z.js → ButtonBase-DJz-TFGO.js} +200 -208
- package/dist/{CardContent-pWhEcyoR.js → CardContent-DZnCVGy9.js} +15 -15
- package/dist/{Checkbox-COCZU8Yl.js → Checkbox-DzmWBCrt.js} +154 -144
- package/dist/{Collapse-CZFw4GZs.js → Collapse-NqW0GIK_.js} +79 -77
- package/dist/DialogContent-D51w7KVX.js +2119 -0
- package/dist/FormControl-aXQs42m6.js +1363 -0
- package/dist/FormControlLabel-hDa-xf_q.js +639 -0
- package/dist/{IconButton-DM-0JFx9.js → IconButton-SnBOFQ43.js} +22 -22
- package/dist/{Input-DgIhcA8j.js → Input-CeVb6kjv.js} +34 -34
- package/dist/InputAdornment-fM3loNyx.js +155 -0
- package/dist/{List-Dz3Z1qJk.js → List-DLIiXc6r.js} +10 -10
- package/dist/{ListItem-DnyWDeDF.js → ListItem-BkxmqFI8.js} +23 -23
- package/dist/{MenuItem-BjC83iWq.js → MenuItem-BEW28T9O.js} +27 -27
- package/dist/{OutlinedInput-CS2BwiVg.js → OutlinedInput-DkzLHRTd.js} +75 -78
- package/dist/{Paper-seBMlMwu.js → Paper-Dp3qO0cK.js} +18 -18
- package/dist/Select-Cdmu0dQ4.js +2175 -0
- package/dist/Typography-CXe5ytr0.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 +32 -32
- 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/date-time-picker/index.js +4 -4
- package/dist/components/geometry-picker/index.js +7 -6
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/styled.js +14 -14
- package/dist/components/search-input/index.js +10 -9
- package/dist/components/template-property-filters/index.js +1 -1
- package/dist/components/template-property-filters/property.js +4 -4
- 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-liRRhQcN.js +1910 -0
- package/dist/createSvgIcon-B4TFefhd.js +73 -0
- package/dist/{createSvgIcon-pajAAvTK.js → createSvgIcon-Cl8kMTkx.js} +82 -85
- package/dist/{exactProp-D0xuoiRB.js → exactProp-CT2wqJXE.js} +2 -2
- package/dist/{index-tNZngrO0.js → index-D9TdkXAs.js} +10 -10
- package/dist/{index-DlFdC7eU.js → index-DRy8nExS.js} +205 -218
- package/dist/{listItemTextClasses-DRMkDW2V.js → listItemTextClasses-BrCbmCR1.js} +2 -2
- package/dist/main.js +248 -326
- package/dist/property-BsU8ijQF.js +6857 -0
- package/dist/requirePropFactory-BItwGLRQ.js +18 -0
- package/dist/styled-Dm8rXzIG.js +677 -0
- package/dist/useTheme-CTuK-wFF.js +10 -0
- package/dist/useThemeProps-BXn-nVhw.js +107 -0
- package/dist/{utils-Cbb4HUTT.js → utils-DY9Jk4Ah.js} +2 -2
- package/package.json +4 -4
- package/dist/DialogContent-DhcqAG-q.js +0 -1982
- package/dist/FormControl-BhwmBUAq.js +0 -1479
- package/dist/FormControlLabel-BL6c4YAN.js +0 -827
- package/dist/Select-C8Iimh3g.js +0 -2305
- package/dist/Typography-CqyjdT7p.js +0 -178
- package/dist/chainPropTypes-CwfDfLEA.js +0 -96
- package/dist/createSvgIcon-CTQMsmqJ.js +0 -77
- package/dist/createTheme-CCwx9ptk.js +0 -2395
- package/dist/property-CKak9_tn.js +0 -7020
- package/dist/resolveComponentProps-DVsx78bV.js +0 -54
- package/dist/styled-CPg13iuX.js +0 -142
- package/dist/styled-fcu13kUF.js +0 -1033
- package/dist/useTheme-BWgLzAUj.js +0 -18
- package/dist/useTheme-pp7LSyyX.js +0 -10
- package/dist/useThemeProps-CDWnyqCh.js +0 -62
- package/dist/useThemeProps-DOuXhu3E.js +0 -27
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as n from "react";
|
|
2
|
-
import { ThemeContext as o } from "@emotion/react";
|
|
3
|
-
import { j as m } from "./createTheme-CCwx9ptk.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 f(e = u) {
|
|
13
|
-
return s(e);
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
f as a,
|
|
17
|
-
s as u
|
|
18
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
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";
|
|
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-fcu13kUF.js";
|
|
2
|
-
import { f as o } from "./createTheme-CCwx9ptk.js";
|
|
3
|
-
import { u as h } from "./useThemeProps-DOuXhu3E.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,27 +0,0 @@
|
|
|
1
|
-
import { r as n } from "./chainPropTypes-CwfDfLEA.js";
|
|
2
|
-
import { a as p } from "./useTheme-BWgLzAUj.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 f({
|
|
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
|
-
m as g,
|
|
26
|
-
f as u
|
|
27
|
-
};
|