@nordcode/ui 1.1.0 → 1.1.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 +7 -1
- package/package.json +1 -1
- package/src/styles/utils/base.css +10 -6
package/CHANGELOG.md
CHANGED
|
@@ -52,7 +52,7 @@ Be sure to checkout the updated markup for these components in the documentation
|
|
|
52
52
|
|
|
53
53
|
- Fix radius for real
|
|
54
54
|
|
|
55
|
-
## 1.0
|
|
55
|
+
## 1.1.0 (2025-01-03)
|
|
56
56
|
|
|
57
57
|
Lots of spring cleaning
|
|
58
58
|
|
|
@@ -61,3 +61,9 @@ Lots of spring cleaning
|
|
|
61
61
|
- Line height tokens now use unitless values to allow proper inheritance
|
|
62
62
|
- Changed default styling for details
|
|
63
63
|
- Cleanup unused styles
|
|
64
|
+
|
|
65
|
+
## 1.1.1 (2025-01-03)
|
|
66
|
+
|
|
67
|
+
### Fixes
|
|
68
|
+
|
|
69
|
+
- Made details full width again
|
package/package.json
CHANGED
|
@@ -88,17 +88,19 @@
|
|
|
88
88
|
border-radius: var(--border-radius-medium);
|
|
89
89
|
border: var(--border-width-thin) solid var(--color-border-base);
|
|
90
90
|
padding: var(--p-y-details) var(--p-x-details);
|
|
91
|
+
inline-size: 100%;
|
|
91
92
|
|
|
92
|
-
|
|
93
|
+
& > summary {
|
|
93
94
|
color: var(--color-text-base);
|
|
94
95
|
background: var(--color-surface-subtle);
|
|
95
96
|
border-radius: var(--border-radius-medium);
|
|
96
97
|
font-weight: var(--font-weight-heading);
|
|
97
98
|
padding: var(--p-y-details) var(--p-x-details);
|
|
98
|
-
margin: calc(-1 * var(--p-y-details))
|
|
99
|
+
margin: calc(-1 * var(--p-y-details))
|
|
100
|
+
calc(-1 * var(--p-x-details) + var(--border-width-thin));
|
|
99
101
|
}
|
|
100
102
|
|
|
101
|
-
&[open]>summary {
|
|
103
|
+
&[open] > summary {
|
|
102
104
|
border-end-start-radius: 0;
|
|
103
105
|
border-end-end-radius: 0;
|
|
104
106
|
margin-block-end: var(--p-y-details);
|
|
@@ -135,9 +137,11 @@
|
|
|
135
137
|
margin-block-start: var(--spacing-near);
|
|
136
138
|
font-size: var(--font-size-base);
|
|
137
139
|
max-inline-size: max-content;
|
|
138
|
-
color: color-mix(
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
color: color-mix(
|
|
141
|
+
in oklch,
|
|
142
|
+
currentColor calc(var(--transparency-weaker) * 100%),
|
|
143
|
+
transparent
|
|
144
|
+
);
|
|
141
145
|
}
|
|
142
146
|
|
|
143
147
|
& cite:before {
|