@umbraco-ui/uui-toggle 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.
Files changed (2) hide show
  1. package/lib/index.js +25 -5
  2. 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(250, 250, 250))
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(70, 86, 200));
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(70, 86, 200));
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(226, 226, 226));
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(191, 33, 78));
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.1",
3
+ "version": "1.14.0",
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.1",
34
- "@umbraco-ui/uui-boolean-input": "1.14.0-rc.1"
33
+ "@umbraco-ui/uui-base": "1.14.0",
34
+ "@umbraco-ui/uui-boolean-input": "1.14.0"
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": "c3c2fc0f8a68b897b5c88e0c3e09f549150f1034"
45
+ "gitHead": "ce9a4d14f93b626822ebed268f92cf44295f13bd"
46
46
  }