@neuravision/construct 1.1.4 → 1.1.5
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/components/accordion.css +16 -2
- package/components/chip.css +2 -0
- package/components/input.css +1 -1
- package/package.json +1 -1
package/components/accordion.css
CHANGED
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
.ct-accordion--bordered .ct-accordion__item {
|
|
96
96
|
border: var(--border-thin) solid var(--ct-accordion-border);
|
|
97
97
|
border-radius: var(--radius-md);
|
|
98
|
-
margin-
|
|
98
|
+
margin-block-end: var(--space-2);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ct-accordion--bordered .ct-accordion__item:last-child {
|
|
102
|
-
margin-
|
|
102
|
+
margin-block-end: 0;
|
|
103
103
|
border-bottom: var(--border-thin) solid var(--ct-accordion-border);
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -122,3 +122,17 @@
|
|
|
122
122
|
transition: none;
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
+
|
|
126
|
+
@media (forced-colors: active) {
|
|
127
|
+
.ct-accordion__trigger {
|
|
128
|
+
border: 1px solid transparent;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ct-accordion__trigger:focus-visible {
|
|
132
|
+
outline: 2px solid LinkText;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ct-accordion__icon {
|
|
136
|
+
forced-color-adjust: auto;
|
|
137
|
+
}
|
|
138
|
+
}
|
package/components/chip.css
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
--ct-chip-font-size: var(--font-size-xs);
|
|
37
37
|
--ct-chip-line-height: var(--line-height-xs);
|
|
38
38
|
--ct-chip-remove-size: var(--icon-sm);
|
|
39
|
+
--ct-chip-gap: var(--space-1);
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
.ct-chip--lg {
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
--ct-chip-font-size: var(--font-size-md);
|
|
45
46
|
--ct-chip-line-height: var(--line-height-md);
|
|
46
47
|
--ct-chip-remove-size: var(--icon-xl);
|
|
48
|
+
--ct-chip-gap: var(--space-3);
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
/* ── Interactive state ───────────────────────────────────────── */
|
package/components/input.css
CHANGED