@drivy/cobalt 1.3.1 → 1.3.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drivy/cobalt",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "Opinionated design system for Drivy's projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "types/src/index.d.ts",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@types/lodash.throttle": "4.1.9",
|
|
61
61
|
"@types/media-typer": "1.1.3",
|
|
62
62
|
"@types/node": "22.14.1",
|
|
63
|
-
"@types/react": "18.3.
|
|
64
|
-
"@types/react-dom": "18.3.
|
|
63
|
+
"@types/react": "18.3.20",
|
|
64
|
+
"@types/react-dom": "18.3.6",
|
|
65
65
|
"autoprefixer": "10.4.21",
|
|
66
66
|
"core-js": "3.41.0",
|
|
67
67
|
"css-loader": "7.1.2",
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
.cobalt- {
|
|
2
|
-
&alerter {
|
|
3
|
-
// Force alerts to display bottom-end when larger than mobile
|
|
4
|
-
@include breakpoint($from: "md") {
|
|
5
|
-
align-items: flex-end !important;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
2
|
&alert {
|
|
10
3
|
@apply c-text-body-md c-p-sm c-mx-sm c-mb-sm c-shadow-md c-rounded-md;
|
|
11
4
|
z-index: var(--z-index);
|
|
@@ -15,25 +15,19 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
&[data-placement^="top"] > .tippy-arrow::before {
|
|
18
|
-
border-top-color:
|
|
18
|
+
border-top-color: theme("semanticBackgroundColor.secondary") !important;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
&[data-placement^="bottom"] > .tippy-arrow::before {
|
|
22
|
-
border-bottom-color:
|
|
23
|
-
--theme-semanticBackgroundColor-secondary
|
|
24
|
-
) !important;
|
|
22
|
+
border-bottom-color: theme("semanticBackgroundColor.secondary") !important;
|
|
25
23
|
}
|
|
26
24
|
|
|
27
25
|
&[data-placement^="left"] > .tippy-arrow::before {
|
|
28
|
-
border-left-color:
|
|
29
|
-
--theme-semanticBackgroundColor-secondary
|
|
30
|
-
) !important;
|
|
26
|
+
border-left-color: theme("semanticBackgroundColor.secondary") !important;
|
|
31
27
|
}
|
|
32
28
|
|
|
33
29
|
&[data-placement^="right"] > .tippy-arrow::before {
|
|
34
|
-
border-right-color:
|
|
35
|
-
--theme-semanticBackgroundColor-secondary
|
|
36
|
-
) !important;
|
|
30
|
+
border-right-color: theme("semanticBackgroundColor.secondary") !important;
|
|
37
31
|
}
|
|
38
32
|
}
|
|
39
33
|
|
|
@@ -59,13 +53,13 @@
|
|
|
59
53
|
|
|
60
54
|
.use-cobalt-dark-theme {
|
|
61
55
|
[data-theme~="cobalt-popover"] {
|
|
62
|
-
box-shadow: 0 0 0 1px
|
|
56
|
+
box-shadow: 0 0 0 1px theme("semanticBorderColor.base");
|
|
63
57
|
|
|
64
58
|
&[data-placement^="top"] > .tippy-arrow {
|
|
65
59
|
bottom: -1px;
|
|
66
60
|
|
|
67
61
|
&::before {
|
|
68
|
-
border-top-color:
|
|
62
|
+
border-top-color: theme("semanticBorderColor.base") !important;
|
|
69
63
|
}
|
|
70
64
|
}
|
|
71
65
|
|
|
@@ -73,7 +67,7 @@
|
|
|
73
67
|
top: -1px;
|
|
74
68
|
|
|
75
69
|
&::before {
|
|
76
|
-
border-bottom-color:
|
|
70
|
+
border-bottom-color: theme("semanticBorderColor.base") !important;
|
|
77
71
|
}
|
|
78
72
|
}
|
|
79
73
|
|
|
@@ -81,7 +75,7 @@
|
|
|
81
75
|
right: -1px;
|
|
82
76
|
|
|
83
77
|
&::before {
|
|
84
|
-
border-left-color:
|
|
78
|
+
border-left-color: theme("semanticBorderColor.base") !important;
|
|
85
79
|
}
|
|
86
80
|
}
|
|
87
81
|
|
|
@@ -89,7 +83,7 @@
|
|
|
89
83
|
left: -1px;
|
|
90
84
|
|
|
91
85
|
&::before {
|
|
92
|
-
border-right-color:
|
|
86
|
+
border-right-color: theme("semanticBorderColor.base") !important;
|
|
93
87
|
}
|
|
94
88
|
}
|
|
95
89
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.cobalt-circularProgressBar {
|
|
2
2
|
--content-size: 64px;
|
|
3
3
|
--total-size: calc((var(--content-size) / 4) + var(--content-size));
|
|
4
|
-
--progress-color:
|
|
4
|
+
--progress-color: theme("semanticFillColor.base");
|
|
5
5
|
|
|
6
6
|
position: relative;
|
|
7
7
|
|
|
@@ -72,14 +72,14 @@
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
&--info {
|
|
75
|
-
--progress-color:
|
|
75
|
+
--progress-color: theme("semanticFillColor.secondary");
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&--error {
|
|
79
|
-
--progress-color:
|
|
79
|
+
--progress-color: theme("semanticFillColor.error");
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
&--success {
|
|
83
|
-
--progress-color:
|
|
83
|
+
--progress-color: theme("semanticFillColor.success");
|
|
84
84
|
}
|
|
85
85
|
}
|