@nordcode/ui 1.1.5 → 1.1.6

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
@@ -95,3 +95,9 @@ Lots of spring cleaning
95
95
  ### Fixes
96
96
 
97
97
  - Fix text colors for `<ins>` and `<del>`
98
+
99
+ ## 1.1.6 (2025-01-09)
100
+
101
+ ### Improvements
102
+
103
+ - Small changes to spacings.
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": "1.1.5",
15
+ "version": "1.1.6",
16
16
  "publishConfig": {
17
17
  "access": "public"
18
18
  },
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  &[data-size="inline"] {
35
- --icon-size: 0.8lh;
35
+ --icon-size: 0.75lh;
36
36
  }
37
37
 
38
38
  &[data-size="button"] {
@@ -44,7 +44,7 @@
44
44
  }
45
45
  }
46
46
 
47
- :where(button, .nc-button) > .nc-icon {
47
+ :where(button, .nc-button)>.nc-icon {
48
48
  --icon-size: 2ex;
49
49
  }
50
50
 
@@ -6,7 +6,7 @@
6
6
  color: var(--color-text-base);
7
7
  display: inline-flex;
8
8
  font-size: inherit;
9
- gap: 0.15lh;
9
+ gap: 0;
10
10
  align-items: center;
11
11
  }
12
12
 
@@ -1,7 +1,7 @@
1
1
  @layer components.input-fields {
2
2
  :where(.nc-input-field) {
3
3
  display: grid;
4
- gap: 0.3lh;
4
+ gap: 0.25lh;
5
5
  grid-template-columns: minmax(0, 1fr);
6
6
  inline-size: 100%;
7
7
  min-inline-size: var(--input-field-min-inline-size);
@@ -10,7 +10,7 @@
10
10
 
11
11
  &>label,
12
12
  &>.nc-stack {
13
- gap: 0.15lh;
13
+ gap: 0;
14
14
  }
15
15
 
16
16
  &>.nc-cluster {
@@ -9,7 +9,7 @@
9
9
 
10
10
  container: segmented-control / inline-size;
11
11
 
12
- --nc-legend-spacing: 0.3lh;
12
+ --nc-legend-spacing: 0.25lh;
13
13
  }
14
14
 
15
15
  :where(.nc-segmented-control) {
@@ -5,7 +5,7 @@
5
5
  --_tag-select-checked-surface-color: var(--tag-select-checked-surface-color,
6
6
  var(--color-brand-primary-base));
7
7
  --_tag-select-border-radius: var(--tag-select-border-radius, var(--_input-border-radius));
8
- --nc-legend-spacing: 0.3lh;
8
+ --nc-legend-spacing: 0.25lh;
9
9
 
10
10
  &:focus-within:has(:focus-visible) {
11
11
  outline-offset: 1ch;
@@ -78,12 +78,12 @@
78
78
  display: block;
79
79
  color: var(--color-surface-subtle);
80
80
  background-color: var(--color-text-base);
81
- padding: 0.3lh 1ch;
81
+ padding: 0.25lh 1ch;
82
82
  }
83
83
 
84
84
  :where(details) {
85
85
  --p-x-details: 2ch;
86
- --p-y-details: 0.8lh;
86
+ --p-y-details: 0.75lh;
87
87
  --b-r-details: var(--border-radius-medium);
88
88
 
89
89
  background-color: var(--color-surface-muted);
@@ -410,6 +410,6 @@
410
410
  }
411
411
 
412
412
  :where(li > :is(ul, ol)) {
413
- margin-block-start: 0.3lh;
413
+ margin-block-start: 0.25lh;
414
414
  }
415
415
  }
@@ -55,7 +55,7 @@
55
55
 
56
56
  :where(.nc-flow) {
57
57
  >*+* {
58
- margin-block-start: var(--flow-gap, 0.8lh);
58
+ margin-block-start: var(--flow-gap, 1lh);
59
59
  }
60
60
 
61
61
  >* {
@@ -64,11 +64,11 @@
64
64
 
65
65
  >*:is(h1, h2, h3, h4, h5, h6) {
66
66
  max-inline-size: var(--flow-headline-meassure, 32ch);
67
- --flow-gap: 1.3lh;
67
+ --flow-gap: 1.5lh;
68
68
  }
69
69
 
70
70
  >*:is(h1, h2, h3, h4, h5, h6)+ :not([class]) {
71
- --flow-gap: 0.3lh;
71
+ --flow-gap: 0.5lh;
72
72
  }
73
73
 
74
74
  >figure {