@starci/grammar 0.9.13 → 0.9.14
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/dist/.build-stamp.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "starci/grammar-build-stamp@1",
|
|
3
3
|
"package": "@starci/grammar",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.14",
|
|
5
5
|
"algorithm": "starci/grammar-source-digest@1",
|
|
6
|
-
"sourceDigest": "sha256:
|
|
7
|
-
"distDigest": "sha256:
|
|
8
|
-
"builtAt": "2026-10-
|
|
6
|
+
"sourceDigest": "sha256:98d511367ac1024c0a1e0f84421c01ec88c789856d1363f5df15654e9995523b",
|
|
7
|
+
"distDigest": "sha256:e15143a55457cc430323229d27806df022dc3a93a972c4ffb6b6e24331c6837d",
|
|
8
|
+
"builtAt": "2026-10-13T10:07:57.785Z"
|
|
9
9
|
}
|
|
@@ -212,6 +212,29 @@
|
|
|
212
212
|
border-radius: var(--field-radius, calc(var(--radius, 0.5rem) * 1.5));
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
+
/*
|
|
216
|
+
* ONE FOCUS RING PER FIELD (0.9.14, owner ruling 2026-10-12, FOCUS-1). The ring is drawn once, on the field frame:
|
|
217
|
+
* the group of SearchField, NumberField, ComboBox and the date fields, the trigger of Select, the control itself
|
|
218
|
+
* for Input and a native control handed to Field. The inner text input of a grouped field never draws a ring,
|
|
219
|
+
* outline or shadow of its own, whatever the page's global `:focus-visible` rule says, so the wrapper and the input
|
|
220
|
+
* are never both outlined. The frame keeps the ring for every way focus arrives (`:focus-within`), so keyboard
|
|
221
|
+
* focus stays visible; forced-colors draws it as a system outline on the same frame.
|
|
222
|
+
*/
|
|
223
|
+
:is(.starci-core-search-field-input, .starci-core-number-field-input, .starci-core-combo-box-input):is(:focus, :focus-visible, [data-focused="true"], [data-focus-visible="true"]) {
|
|
224
|
+
outline: none;
|
|
225
|
+
box-shadow: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.starci-core-combo-box-group:focus-within {
|
|
229
|
+
box-shadow: 0 0 0 2px var(--focus, Highlight);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
@media (forced-colors: active) {
|
|
233
|
+
:is(.starci-core-search-field-group, .starci-core-number-field-group, .starci-core-combo-box-group, .starci-core-date-group):focus-within {
|
|
234
|
+
outline: 2px solid Highlight;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
215
238
|
.starci-core-select-trigger {
|
|
216
239
|
align-items: center;
|
|
217
240
|
padding-inline: 0.75rem 1.75rem;
|