@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
@@ -1,3 +1,9 @@
1
+ ## 2.1.4 (2025-11-15)
2
+
3
+ ### fixes
4
+
5
+ - cleanup button
6
+
1
7
  ## 2.1.3 (2025-11-15)
2
8
 
3
9
  ### improvements
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "type": "git",
13
13
  "url": "https://github.com/nordcode-agency/nordcode/tree/main/packages/ui"
14
14
  },
15
- "version": "2.1.3",
15
+ "version": "2.1.4",
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },
@@ -1,5 +1,5 @@
1
1
  @layer components.buttons {
2
- :where(button, 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) {
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-base) var(--ease-2);
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[type], input[type="button"], input[type="submit"], input[type="reset"], .nc-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, button[type], input[type="button"], input[type="submit"], input[type="reset"], .nc-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;