@nordcode/ui 2.2.0 → 2.2.1

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.2.1 (2026-01-03)
2
+
3
+ ### fixes
4
+
5
+ - fix non input label font weights
6
+
1
7
  ## 2.2.0 (2026-01-03)
2
8
 
3
9
  ### features
package/out/complete.css CHANGED
@@ -2148,6 +2148,10 @@
2148
2148
  display: inline-flex;
2149
2149
  }
2150
2150
 
2151
+ :where(label, .nc-input-label) .nc-hint, :where(label, .nc-input-label) .nc-input-error {
2152
+ font-weight: var(--font-weight-default);
2153
+ }
2154
+
2151
2155
  :where(input, textarea, select, .nc-input, .nc-select, .nc-textarea, .nc-input-checkbox, .nc-input-radio, .nc-input-label, .nc-input-color, .nc-input-field, .nc-input-error, .nc-checkbox-wrapper, .nc-input-switch, .nc-radio-field, .nc-checkbox-field) {
2152
2156
  --_input-background: var(--input-background, var(--color-surface-subtle));
2153
2157
  --_input-background-active: var(--input-background-active, var(--color-surface-base));
@@ -1932,6 +1932,10 @@
1932
1932
  display: inline-flex;
1933
1933
  }
1934
1934
 
1935
+ :where(label, .nc-input-label) .nc-hint, :where(label, .nc-input-label) .nc-input-error {
1936
+ font-weight: var(--font-weight-default);
1937
+ }
1938
+
1935
1939
  :where(input, textarea, select, .nc-input, .nc-select, .nc-textarea, .nc-input-checkbox, .nc-input-radio, .nc-input-label, .nc-input-color, .nc-input-field, .nc-input-error, .nc-checkbox-wrapper, .nc-input-switch, .nc-radio-field, .nc-checkbox-field) {
1936
1940
  --_input-background: var(--input-background, var(--color-surface-subtle));
1937
1941
  --_input-background-active: var(--input-background-active, var(--color-surface-base));
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.2.0",
15
+ "version": "2.2.1",
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },
@@ -8,6 +8,10 @@
8
8
  font-size: inherit;
9
9
  gap: 0;
10
10
  align-items: center;
11
+
12
+ & .nc-hint, & .nc-input-error {
13
+ font-weight: var(--font-weight-default);
14
+ }
11
15
  }
12
16
 
13
17
  :where(input, textarea, select, .nc-input, .nc-select, .nc-textarea, .nc-input-checkbox, .nc-input-radio, .nc-input-label, .nc-input-color, .nc-input-field, .nc-input-error, .nc-checkbox-wrapper, .nc-input-switch, .nc-radio-field, .nc-checkbox-field) {