@umbraco-ui/uui-checkbox 1.14.0-rc.1 → 1.14.0
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/lib/index.js +35 -7
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -68,7 +68,11 @@ UUICheckboxElement.styles = [
|
|
|
68
68
|
);
|
|
69
69
|
background-color: var(
|
|
70
70
|
--uui-checkbox-background-color-hover,
|
|
71
|
-
var(--uui-color-surface-emphasis,rgb(
|
|
71
|
+
var(--uui-color-surface-emphasis,rgb(
|
|
72
|
+
250,
|
|
73
|
+
250,
|
|
74
|
+
250
|
|
75
|
+
))
|
|
72
76
|
);
|
|
73
77
|
}
|
|
74
78
|
label:focus #ticker {
|
|
@@ -78,7 +82,11 @@ UUICheckboxElement.styles = [
|
|
|
78
82
|
);
|
|
79
83
|
background-color: var(
|
|
80
84
|
--uui-checkbox-background-color-focus,
|
|
81
|
-
var(--uui-color-surface-emphasis,rgb(
|
|
85
|
+
var(--uui-color-surface-emphasis,rgb(
|
|
86
|
+
250,
|
|
87
|
+
250,
|
|
88
|
+
250
|
|
89
|
+
))
|
|
82
90
|
);
|
|
83
91
|
}
|
|
84
92
|
input:checked:not([disabled]) + #ticker,
|
|
@@ -88,12 +96,20 @@ UUICheckboxElement.styles = [
|
|
|
88
96
|
|
|
89
97
|
label:hover input:checked:not([disabled]) + #ticker,
|
|
90
98
|
label:hover input:indeterminate:not([disabled]) + #ticker {
|
|
91
|
-
border-color: var(--uui-color-selected-emphasis,rgb(
|
|
99
|
+
border-color: var(--uui-color-selected-emphasis,rgb(
|
|
100
|
+
70,
|
|
101
|
+
86,
|
|
102
|
+
200
|
|
103
|
+
));
|
|
92
104
|
}
|
|
93
105
|
|
|
94
106
|
label:focus input:checked + #ticker,
|
|
95
107
|
label:focus input:indeterminate + #ticker {
|
|
96
|
-
border-color: var(--uui-color-selected-emphasis,rgb(
|
|
108
|
+
border-color: var(--uui-color-selected-emphasis,rgb(
|
|
109
|
+
70,
|
|
110
|
+
86,
|
|
111
|
+
200
|
|
112
|
+
));
|
|
97
113
|
}
|
|
98
114
|
|
|
99
115
|
#icon-check {
|
|
@@ -129,7 +145,11 @@ UUICheckboxElement.styles = [
|
|
|
129
145
|
}
|
|
130
146
|
label:hover input:checked:not([disabled]) + #ticker::before,
|
|
131
147
|
label:hover input:indeterminate:not([disabled]) + #ticker::before {
|
|
132
|
-
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
148
|
+
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
149
|
+
70,
|
|
150
|
+
86,
|
|
151
|
+
200
|
|
152
|
+
));
|
|
133
153
|
}
|
|
134
154
|
|
|
135
155
|
input:checked + #ticker::before,
|
|
@@ -143,7 +163,11 @@ UUICheckboxElement.styles = [
|
|
|
143
163
|
}
|
|
144
164
|
label:focus input:checked + #ticker,
|
|
145
165
|
label:focus input:indeterminate + #ticker {
|
|
146
|
-
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
166
|
+
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
167
|
+
70,
|
|
168
|
+
86,
|
|
169
|
+
200
|
|
170
|
+
));
|
|
147
171
|
}
|
|
148
172
|
|
|
149
173
|
input:focus + #ticker {
|
|
@@ -180,7 +204,11 @@ UUICheckboxElement.styles = [
|
|
|
180
204
|
:host(:not([pristine])[internals-invalid]) label:hover input:indeterminate:not([disabled]) + #ticker,
|
|
181
205
|
:host(:not([pristine])[internals-invalid]) label:focus input:checked + #ticker,
|
|
182
206
|
:host(:not([pristine])[internals-invalid]) label:focus input:indeterminate + #ticker {
|
|
183
|
-
border: 1px solid var(--uui-color-invalid-standalone,rgb(
|
|
207
|
+
border: 1px solid var(--uui-color-invalid-standalone,rgb(
|
|
208
|
+
191,
|
|
209
|
+
33,
|
|
210
|
+
78
|
|
211
|
+
));
|
|
184
212
|
}
|
|
185
213
|
|
|
186
214
|
:host([disabled]) #ticker {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-checkbox",
|
|
3
|
-
"version": "1.14.0
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"custom-elements.json"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@umbraco-ui/uui-base": "1.14.0
|
|
37
|
-
"@umbraco-ui/uui-boolean-input": "1.14.0
|
|
38
|
-
"@umbraco-ui/uui-icon-registry-essential": "1.14.0
|
|
36
|
+
"@umbraco-ui/uui-base": "1.14.0",
|
|
37
|
+
"@umbraco-ui/uui-boolean-input": "1.14.0",
|
|
38
|
+
"@umbraco-ui/uui-icon-registry-essential": "1.14.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-checkbox",
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "ce9a4d14f93b626822ebed268f92cf44295f13bd"
|
|
50
50
|
}
|