@hybridcore/ui 1.5.0 → 1.5.2
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/components/confirm/dialog.js +1 -1
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/linear-indicator/styled.js +17 -17
- package/dist/components/template-form/components/property-list/index.js +1 -1
- package/dist/components/template-form/components/recognition-property-list/index.js +1 -1
- package/dist/{dialog-DrVArHYg.js → dialog-BDt1r9fh.js} +5 -4
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import "react-confirm";
|
|
|
3
3
|
import "@mui/material";
|
|
4
4
|
import "@mui/icons-material";
|
|
5
5
|
import "../../DialogContent-CtA2aNum.js";
|
|
6
|
-
import { a as f } from "../../dialog-
|
|
6
|
+
import { a as f } from "../../dialog-BDt1r9fh.js";
|
|
7
7
|
import "../../Button-jy67CcTH.js";
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const n = o
|
|
1
|
+
import { styled as a, Box as o } from "@mui/material";
|
|
2
|
+
const n = a(o, {
|
|
3
3
|
name: "HCLinearIndicator",
|
|
4
4
|
// The component name
|
|
5
5
|
slot: "root"
|
|
@@ -8,22 +8,22 @@ const n = o(r, {
|
|
|
8
8
|
display: "flex",
|
|
9
9
|
alignItems: "center",
|
|
10
10
|
gap: 6
|
|
11
|
-
}),
|
|
11
|
+
}), i = a(o, {
|
|
12
12
|
name: "HCLinearIndicator",
|
|
13
13
|
// The component name
|
|
14
14
|
slot: "barContainer"
|
|
15
15
|
// The slot name
|
|
16
|
-
})((
|
|
16
|
+
})(() => ({
|
|
17
17
|
display: "flex",
|
|
18
18
|
flex: 1,
|
|
19
|
-
backgroundColor:
|
|
19
|
+
backgroundColor: "white",
|
|
20
20
|
boxShadow: "inset 0px 5px 6px rgba(0,0,0,0.15)",
|
|
21
21
|
paddingTop: 7,
|
|
22
22
|
paddingBottom: 7,
|
|
23
23
|
paddingLeft: 6,
|
|
24
24
|
paddingRight: 6,
|
|
25
25
|
borderRadius: 10
|
|
26
|
-
})),
|
|
26
|
+
})), t = a(o, {
|
|
27
27
|
name: "HCLinearIndicator",
|
|
28
28
|
// The component name
|
|
29
29
|
slot: "barBackground"
|
|
@@ -33,40 +33,40 @@ const n = o(r, {
|
|
|
33
33
|
width: "100%",
|
|
34
34
|
background: "#ECECEC",
|
|
35
35
|
borderRadius: 10
|
|
36
|
-
})), e = o
|
|
36
|
+
})), e = a(o, {
|
|
37
37
|
name: "HCLinearIndicator",
|
|
38
38
|
// The component name
|
|
39
39
|
slot: "bar"
|
|
40
40
|
// The slot name
|
|
41
|
-
})(({ theme:
|
|
42
|
-
background:
|
|
41
|
+
})(({ theme: r }) => ({
|
|
42
|
+
background: r.palette.primary.main,
|
|
43
43
|
height: 7,
|
|
44
44
|
borderRadius: 10
|
|
45
|
-
})), c = o
|
|
45
|
+
})), c = a(o, {
|
|
46
46
|
name: "HCLinearIndicator",
|
|
47
47
|
// The component name
|
|
48
48
|
slot: "middleContainer"
|
|
49
49
|
// The slot name
|
|
50
|
-
})(({ theme:
|
|
51
|
-
backgroundColor:
|
|
50
|
+
})(({ theme: r }) => ({
|
|
51
|
+
backgroundColor: r.palette.background.default,
|
|
52
52
|
boxShadow: "inset 0px 5px 6px rgba(0,0,0,0.15)",
|
|
53
53
|
padding: 6,
|
|
54
54
|
borderRadius: "50%"
|
|
55
|
-
})), l = o
|
|
55
|
+
})), l = a(o, {
|
|
56
56
|
name: "HCLinearIndicator",
|
|
57
57
|
// The component name
|
|
58
58
|
slot: "middle"
|
|
59
59
|
// The slot name
|
|
60
|
-
})(({ theme:
|
|
61
|
-
background:
|
|
60
|
+
})(({ theme: r }) => ({
|
|
61
|
+
background: r.palette.primary.main,
|
|
62
62
|
height: 9,
|
|
63
63
|
width: 9,
|
|
64
64
|
borderRadius: "50%"
|
|
65
65
|
}));
|
|
66
66
|
export {
|
|
67
67
|
e as IndicatorBar,
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
t as IndicatorBarBackground,
|
|
69
|
+
i as IndicatorBarContainer,
|
|
70
70
|
l as IndicatorMiddle,
|
|
71
71
|
c as IndicatorMiddleContainer,
|
|
72
72
|
n as IndicatorRoot
|
|
@@ -8,7 +8,7 @@ import { B as f } from "../../../../Box-SSMZuKnS.js";
|
|
|
8
8
|
import { T as y } from "../../../../Typography-CLq43OVQ.js";
|
|
9
9
|
import { B as h } from "../../../../Button-jy67CcTH.js";
|
|
10
10
|
import { D as g, a as b } from "../../../../DialogContent-CtA2aNum.js";
|
|
11
|
-
import { D } from "../../../../dialog-
|
|
11
|
+
import { D } from "../../../../dialog-BDt1r9fh.js";
|
|
12
12
|
function v(t) {
|
|
13
13
|
var a;
|
|
14
14
|
const { state: o, action: r } = u(t);
|
|
@@ -8,7 +8,7 @@ import { B as g } from "../../../../Box-SSMZuKnS.js";
|
|
|
8
8
|
import { T as u } from "../../../../Typography-CLq43OVQ.js";
|
|
9
9
|
import { B as h } from "../../../../Button-jy67CcTH.js";
|
|
10
10
|
import { D as f, a as y } from "../../../../DialogContent-CtA2aNum.js";
|
|
11
|
-
import { D as b } from "../../../../dialog-
|
|
11
|
+
import { D as b } from "../../../../dialog-BDt1r9fh.js";
|
|
12
12
|
function L(i) {
|
|
13
13
|
const { state: l, action: t } = p(i);
|
|
14
14
|
return /* @__PURE__ */ r(g, { children: [
|
|
@@ -69,11 +69,11 @@ process.env.NODE_ENV !== "production" && (u.propTypes = {
|
|
|
69
69
|
*/
|
|
70
70
|
sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
|
|
71
71
|
});
|
|
72
|
-
const
|
|
72
|
+
const I = {
|
|
73
73
|
confirmButtonText: "OK",
|
|
74
74
|
cancelButtonText: "Cancel",
|
|
75
75
|
disableCancelButton: !1
|
|
76
|
-
},
|
|
76
|
+
}, A = ({
|
|
77
77
|
show: a = !0,
|
|
78
78
|
proceed: t = () => {
|
|
79
79
|
},
|
|
@@ -81,7 +81,7 @@ const A = {
|
|
|
81
81
|
description: i,
|
|
82
82
|
options: e
|
|
83
83
|
}) => {
|
|
84
|
-
e = { ...
|
|
84
|
+
e = { ...I, ...e };
|
|
85
85
|
const n = () => {
|
|
86
86
|
t(!1);
|
|
87
87
|
}, l = () => {
|
|
@@ -97,6 +97,7 @@ const A = {
|
|
|
97
97
|
"aria-labelledby": "dialog-title",
|
|
98
98
|
"aria-describedby": "dialog-description",
|
|
99
99
|
sx: {
|
|
100
|
+
zIndex: 9999,
|
|
100
101
|
"& .MuiDialog-paper": {
|
|
101
102
|
borderRadius: 3
|
|
102
103
|
},
|
|
@@ -146,7 +147,7 @@ const A = {
|
|
|
146
147
|
]
|
|
147
148
|
}
|
|
148
149
|
);
|
|
149
|
-
}, G = x(
|
|
150
|
+
}, G = x(A);
|
|
150
151
|
export {
|
|
151
152
|
u as D,
|
|
152
153
|
G as a
|