@slotted/styles 0.1.0-beta.27 → 0.1.0-beta.28
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/package.json
CHANGED
package/src/field/field.css
CHANGED
|
@@ -209,7 +209,9 @@
|
|
|
209
209
|
[data-ui-field] > [data-part-label] > [data-part-mark],
|
|
210
210
|
[data-ui-field] > [data-part-header] > [data-part-label] > [data-part-mark] {
|
|
211
211
|
color: var(--slotted-field-mark-color, var(--slotted-tone-danger-text));
|
|
212
|
-
|
|
212
|
+
/* The distance is the space written before the mark, which the accessible
|
|
213
|
+
name needs as text; the token adds to it. */
|
|
214
|
+
margin-inline-start: var(--slotted-field-mark-gap, 0);
|
|
213
215
|
/* The label breaks anywhere; the necessity word never does. `(required)`
|
|
214
216
|
split across two lines as `(re` and `quired)` in the 240-pixel capture,
|
|
215
217
|
because a rule for one unbreakable German noun had reached the one part
|
|
@@ -112,7 +112,8 @@
|
|
|
112
112
|
*/
|
|
113
113
|
[data-ui-field-group] > [data-part-legend] > [data-part-mark] {
|
|
114
114
|
color: var(--slotted-field-group-mark-color, var(--slotted-tone-danger-text));
|
|
115
|
-
|
|
115
|
+
/* The space written before the mark is the distance; the token adds to it. */
|
|
116
|
+
margin-inline-start: var(--slotted-field-group-mark-gap, 0);
|
|
116
117
|
overflow-wrap: normal;
|
|
117
118
|
/* Its own bidi run, for the reason the field's marker records: a Latin
|
|
118
119
|
legend in a right-to-left document is one left-to-right run, and a marker
|