@hybridcore/ui 1.5.0 → 1.5.1
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.
|
@@ -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
|