@kerfjs/ui 5.0.0-beta.113 → 5.0.0-beta.114
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Public API signatures for the UI authoring corpus
|
|
2
2
|
|
|
3
|
-
Generated from emitted declarations for `@kerfjs/ui@5.0.0-beta.
|
|
3
|
+
Generated from emitted declarations for `@kerfjs/ui@5.0.0-beta.114` and `kerfjs@5.0.0-beta.114`. This bounded reference covers only APIs used by the seven-task corpus. It is interface evidence, not an implementation or runtime guarantee.
|
|
4
4
|
|
|
5
5
|
## `@kerfjs/ui/css-values`
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Web Awesome JSX signatures for the UI authoring corpus
|
|
2
2
|
|
|
3
|
-
Generated from the emitted `@kerfjs/ui@5.0.0-beta.
|
|
3
|
+
Generated from the emitted `@kerfjs/ui@5.0.0-beta.114` declaration boundary. Import `@kerfjs/ui/webawesome` for type effects when authoring direct `wa-*` JSX. The module emits no runtime behavior and does not register custom elements.
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
import { KerfCustomElement } from 'kerfjs/jsx-runtime';
|
|
@@ -153,9 +153,23 @@
|
|
|
153
153
|
:has(> .kui-choice-chips__input:checked),
|
|
154
154
|
[aria-selected="true"]
|
|
155
155
|
) {
|
|
156
|
+
--_kui-choice-chips-border: Highlight;
|
|
157
|
+
|
|
156
158
|
border-color: Highlight;
|
|
157
159
|
color: HighlightText;
|
|
158
160
|
background: Highlight;
|
|
161
|
+
/* Chromium otherwise paints a contrast backplate over the selected text
|
|
162
|
+
and icon despite the system-color pair above. Keep the opt-out local to
|
|
163
|
+
the selected pill so the remaining controls retain UA adjustments. */
|
|
164
|
+
box-shadow: inset 0 0 0 1px HighlightText;
|
|
165
|
+
forced-color-adjust: none;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.kui-choice-chips__chip:is(
|
|
169
|
+
:has(> .kui-choice-chips__input:checked),
|
|
170
|
+
[aria-selected="true"]
|
|
171
|
+
):is(:has(> .kui-choice-chips__input:focus-visible), :focus-visible) {
|
|
172
|
+
outline-color: Highlight;
|
|
159
173
|
}
|
|
160
174
|
|
|
161
175
|
.kui-choice-chips__swatch {
|
|
@@ -153,9 +153,23 @@
|
|
|
153
153
|
:has(> .kui-choice-chips__input:checked),
|
|
154
154
|
[aria-selected="true"]
|
|
155
155
|
) {
|
|
156
|
+
--_kui-choice-chips-border: Highlight;
|
|
157
|
+
|
|
156
158
|
border-color: Highlight;
|
|
157
159
|
color: HighlightText;
|
|
158
160
|
background: Highlight;
|
|
161
|
+
/* Chromium otherwise paints a contrast backplate over the selected text
|
|
162
|
+
and icon despite the system-color pair above. Keep the opt-out local to
|
|
163
|
+
the selected pill so the remaining controls retain UA adjustments. */
|
|
164
|
+
box-shadow: inset 0 0 0 1px HighlightText;
|
|
165
|
+
forced-color-adjust: none;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.kui-choice-chips__chip:is(
|
|
169
|
+
:has(> .kui-choice-chips__input:checked),
|
|
170
|
+
[aria-selected="true"]
|
|
171
|
+
):is(:has(> .kui-choice-chips__input:focus-visible), :focus-visible) {
|
|
172
|
+
outline-color: Highlight;
|
|
159
173
|
}
|
|
160
174
|
|
|
161
175
|
.kui-choice-chips__swatch {
|
package/docs/accessibility.md
CHANGED
|
@@ -503,7 +503,10 @@ radio's accessible name is the visible label; a `swatch` or `icon` is
|
|
|
503
503
|
`aria-hidden` decoration. The focus ring is drawn on the pill around the
|
|
504
504
|
focused radio, and the checked pill adds a second pixel of border so the
|
|
505
505
|
selection does not rely on hue alone; forced-colors mode paints it with
|
|
506
|
-
`Highlight`.
|
|
506
|
+
`Highlight` and `HighlightText`. Selected pills opt out of the browser's
|
|
507
|
+
automatic color adjustment only within the pill: Chromium otherwise paints a
|
|
508
|
+
backplate over the label and icon. The selected edge and focus ring use system
|
|
509
|
+
colors; unselected and disabled pills retain normal forced-colors adjustment.
|
|
507
510
|
|
|
508
511
|
With `multiple: 'toggle'`, the group renders `role="group"` with the same
|
|
509
512
|
naming, and each choice is a native `<input type="checkbox">` inside its pill.
|