@nordcode/ui 2.1.2 → 2.1.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/CHANGELOG.md
CHANGED
package/out/complete.css
CHANGED
|
@@ -2248,7 +2248,7 @@
|
|
|
2248
2248
|
}
|
|
2249
2249
|
|
|
2250
2250
|
:where(input[type="checkbox"], input[type="radio"], .nc-input-checkbox, .nc-input-radio, .nc-input-switch):checked:hover, :where(input[type="checkbox"], input[type="radio"], .nc-input-checkbox, .nc-input-radio, .nc-input-switch):checked:focus-visible {
|
|
2251
|
-
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background)
|
|
2251
|
+
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background) 8%);
|
|
2252
2252
|
}
|
|
2253
2253
|
|
|
2254
2254
|
:where(input[type="checkbox"], .nc-input-checkbox) {
|
|
@@ -2414,7 +2414,7 @@
|
|
|
2414
2414
|
}
|
|
2415
2415
|
|
|
2416
2416
|
:where(.nc-checkbox-wrapper):hover input:checked {
|
|
2417
|
-
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background)
|
|
2417
|
+
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background) 8%);
|
|
2418
2418
|
}
|
|
2419
2419
|
|
|
2420
2420
|
:where(.nc-radio-field, .nc-checkbox-field) {
|
|
@@ -2040,7 +2040,7 @@
|
|
|
2040
2040
|
}
|
|
2041
2041
|
|
|
2042
2042
|
:where(input[type="checkbox"], input[type="radio"], .nc-input-checkbox, .nc-input-radio, .nc-input-switch):checked:hover, :where(input[type="checkbox"], input[type="radio"], .nc-input-checkbox, .nc-input-radio, .nc-input-switch):checked:focus-visible {
|
|
2043
|
-
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background)
|
|
2043
|
+
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background) 8%);
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
2046
2046
|
:where(input[type="checkbox"], .nc-input-checkbox) {
|
|
@@ -2206,7 +2206,7 @@
|
|
|
2206
2206
|
}
|
|
2207
2207
|
|
|
2208
2208
|
:where(.nc-checkbox-wrapper):hover input:checked {
|
|
2209
|
-
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background)
|
|
2209
|
+
background-color: color-mix(in oklch, var(--current-checkbox-bg), var(--_input-hover-background) 8%);
|
|
2210
2210
|
}
|
|
2211
2211
|
|
|
2212
2212
|
:where(.nc-radio-field, .nc-checkbox-field) {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@layer components.buttons {
|
|
2
|
-
:where(button,
|
|
2
|
+
:where(button, input[type="button"], input[type="submit"], input[type="reset"], input[type="file"], input[type="file"]::-webkit-file-upload-button, input[type="file"]::file-selector-button, .nc-button) {
|
|
3
3
|
--_button-background: var(--button-background, var(--surface-hover));
|
|
4
4
|
--_button-color: var(--button-color, var(--text-hover));
|
|
5
5
|
--_button-border-color: var(--button-border-color, var(--surface-hover));
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
justify-content: center;
|
|
36
36
|
text-align: center;
|
|
37
37
|
position: relative;
|
|
38
|
-
transition: var(--transition-duration-
|
|
38
|
+
transition: var(--transition-duration-quick-2) var(--ease-2);
|
|
39
39
|
transition-property: box-shadow, transform;
|
|
40
40
|
text-decoration: unset;
|
|
41
41
|
box-shadow: var(--_button-box-shadow);
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
* it is assumed that an `aria-label` is that
|
|
174
174
|
* and the button will be styled as an icon button.
|
|
175
175
|
*/
|
|
176
|
-
:is([aria-label], .-icon):where(button, button
|
|
176
|
+
:is([aria-label], .-icon):where(button, button, input[type="button"], input[type="submit"], input[type="reset"], .nc-button) {
|
|
177
177
|
--_button-border-radius: var(--border-radius-round);
|
|
178
178
|
padding: 0;
|
|
179
179
|
aspect-ratio: 1;
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
[disabled]:where(button,
|
|
196
|
+
[disabled]:where(button, input[type="button"], input[type="submit"], input[type="reset"], .nc-button) {
|
|
197
197
|
--_button-background: none !important;
|
|
198
198
|
--_button-background-hover: none !important;
|
|
199
199
|
--_button-color: var(--color-text-subtle) !important;
|