@umbraco-ui/uui-toggle 1.14.0-rc.1 → 1.14.0-rc.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/lib/index.js +25 -5
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -78,7 +78,11 @@ UUIToggleElement.styles = [
|
|
|
78
78
|
);
|
|
79
79
|
background-color: var(
|
|
80
80
|
--uui-toggle-background-color-focus,
|
|
81
|
-
var(--uui-color-surface-emphasis,rgb(
|
|
81
|
+
var(--uui-color-surface-emphasis,rgb(
|
|
82
|
+
250,
|
|
83
|
+
250,
|
|
84
|
+
250
|
|
85
|
+
))
|
|
82
86
|
);
|
|
83
87
|
}
|
|
84
88
|
|
|
@@ -87,11 +91,19 @@ UUIToggleElement.styles = [
|
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
label:hover input:checked:not([disabled]) ~ #toggle {
|
|
90
|
-
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
94
|
+
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
95
|
+
70,
|
|
96
|
+
86,
|
|
97
|
+
200
|
|
98
|
+
));
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
label:focus input:checked ~ #toggle {
|
|
94
|
-
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
102
|
+
background-color: var(--uui-color-selected-emphasis,rgb(
|
|
103
|
+
70,
|
|
104
|
+
86,
|
|
105
|
+
200
|
|
106
|
+
));
|
|
95
107
|
}
|
|
96
108
|
|
|
97
109
|
#icon-checked,
|
|
@@ -152,7 +164,11 @@ UUIToggleElement.styles = [
|
|
|
152
164
|
}
|
|
153
165
|
|
|
154
166
|
:host([disabled]) #toggle {
|
|
155
|
-
background-color: var(--uui-color-disabled-standalone,rgb(
|
|
167
|
+
background-color: var(--uui-color-disabled-standalone,rgb(
|
|
168
|
+
226,
|
|
169
|
+
226,
|
|
170
|
+
226
|
|
171
|
+
));
|
|
156
172
|
}
|
|
157
173
|
:host([disabled]) input:checked ~ #toggle {
|
|
158
174
|
background-color: var(--uui-color-disabled-contrast,#c4c4c4);
|
|
@@ -175,7 +191,11 @@ UUIToggleElement.styles = [
|
|
|
175
191
|
/* polyfill support */
|
|
176
192
|
:host(:not([pristine])[internals-invalid]) #toggle,
|
|
177
193
|
:host(:not([pristine])[internals-invalid]) label:hover #toggle {
|
|
178
|
-
border: 1px solid var(--uui-color-invalid-standalone,rgb(
|
|
194
|
+
border: 1px solid var(--uui-color-invalid-standalone,rgb(
|
|
195
|
+
191,
|
|
196
|
+
33,
|
|
197
|
+
78
|
|
198
|
+
));
|
|
179
199
|
}
|
|
180
200
|
`
|
|
181
201
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui-toggle",
|
|
3
|
-
"version": "1.14.0-rc.
|
|
3
|
+
"version": "1.14.0-rc.4",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Umbraco",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"custom-elements.json"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@umbraco-ui/uui-base": "1.14.0-rc.
|
|
34
|
-
"@umbraco-ui/uui-boolean-input": "1.14.0-rc.
|
|
33
|
+
"@umbraco-ui/uui-base": "1.14.0-rc.4",
|
|
34
|
+
"@umbraco-ui/uui-boolean-input": "1.14.0-rc.4"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "npm run analyze && tsc --build && rollup -c rollup.config.js",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://uui.umbraco.com/?path=/story/uui-toggle",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "8f89db559dfdb60e8afd8a0dc297e2f248f2fb9d"
|
|
46
46
|
}
|