@nordcode/ui 2.1.3 → 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/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;
|