@slotted/angular 0.1.0-beta.23 → 0.1.0-beta.25
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/docs/data-grid.json +1 -1
- package/docs/data-grid.md +1 -1
- package/docs/datetime-picker.json +0 -1
- package/docs/datetime-picker.md +1 -1
- package/docs/field.json +16 -1
- package/docs/field.md +3 -1
- package/docs/form.json +14 -3
- package/docs/form.md +3 -1
- package/docs/guidelines/forms.md +89 -1
- package/docs/guidelines/index.md +7 -0
- package/docs/listbox.json +0 -1
- package/docs/listbox.md +1 -1
- package/docs/menu.json +0 -1
- package/docs/menu.md +1 -1
- package/docs/table.json +1 -0
- package/docs/table.md +1 -1
- package/docs/time-picker.json +0 -1
- package/docs/time-picker.md +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +2 -2
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +2 -2
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +2 -2
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +2 -2
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +7 -4
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +26 -3
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +2 -2
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-menu.mjs +11 -5
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +2 -2
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +2 -2
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +2 -2
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +2 -2
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +2 -2
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +3 -3
- package/types/slotted-angular-field.d.ts +10 -2
- package/types/slotted-angular-field.d.ts.map +1 -1
- package/types/slotted-angular-form.d.ts +10 -1
- package/types/slotted-angular-form.d.ts.map +1 -1
- package/types/slotted-angular-menu.d.ts +5 -0
- package/types/slotted-angular-menu.d.ts.map +1 -1
package/docs/data-grid.json
CHANGED
|
@@ -1160,6 +1160,7 @@
|
|
|
1160
1160
|
"--slotted-data-grid-resize-guide-color",
|
|
1161
1161
|
"--slotted-data-grid-resize-guide-width",
|
|
1162
1162
|
"--slotted-data-grid-row-block-size",
|
|
1163
|
+
"--slotted-data-grid-row-border-color-selected",
|
|
1163
1164
|
"--slotted-data-grid-row-color-selected",
|
|
1164
1165
|
"--slotted-data-grid-row-max-block-size",
|
|
1165
1166
|
"--slotted-data-grid-row-surface-hover",
|
|
@@ -1207,7 +1208,6 @@
|
|
|
1207
1208
|
"--slotted-text-muted",
|
|
1208
1209
|
"--slotted-tone-accent-border",
|
|
1209
1210
|
"--slotted-tone-accent-solid",
|
|
1210
|
-
"--slotted-tone-accent-subtle-hover",
|
|
1211
1211
|
"--slotted-tone-accent-surface",
|
|
1212
1212
|
"--slotted-tone-accent-text",
|
|
1213
1213
|
"--slotted-tone-danger-border",
|
package/docs/data-grid.md
CHANGED
|
@@ -231,7 +231,7 @@ See [data-grid.props.md](./data-grid.props.md).
|
|
|
231
231
|
|
|
232
232
|
## Tokens
|
|
233
233
|
|
|
234
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-resize-guide-color`, `--slotted-data-grid-resize-guide-width`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-
|
|
234
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-grid-band-surface`, `--slotted-data-grid-block-size`, `--slotted-data-grid-border-color`, `--slotted-data-grid-border-color-strong`, `--slotted-data-grid-border-width`, `--slotted-data-grid-cell-padding-block`, `--slotted-data-grid-cell-padding-inline`, `--slotted-data-grid-changed-surface`, `--slotted-data-grid-color`, `--slotted-data-grid-color-muted`, `--slotted-data-grid-control-radius`, `--slotted-data-grid-cursor-color`, `--slotted-data-grid-filter-operator-size`, `--slotted-data-grid-filter-panel-size`, `--slotted-data-grid-filter-panel-size-date`, `--slotted-data-grid-filter-panel-size-datetime`, `--slotted-data-grid-font-family`, `--slotted-data-grid-font-size`, `--slotted-data-grid-gap`, `--slotted-data-grid-head-block-size`, `--slotted-data-grid-header-surface`, `--slotted-data-grid-header-surface-hover`, `--slotted-data-grid-icon-size`, `--slotted-data-grid-indent`, `--slotted-data-grid-pin-shadow-color`, `--slotted-data-grid-pin-shadow-size`, `--slotted-data-grid-radius`, `--slotted-data-grid-range-surface`, `--slotted-data-grid-resize-guide-color`, `--slotted-data-grid-resize-guide-width`, `--slotted-data-grid-row-block-size`, `--slotted-data-grid-row-border-color-selected`, `--slotted-data-grid-row-color-selected`, `--slotted-data-grid-row-max-block-size`, `--slotted-data-grid-row-surface-hover`, `--slotted-data-grid-row-surface-selected`, `--slotted-data-grid-row-surface-selected-hover`, `--slotted-data-grid-row-surface-stripe`, `--slotted-data-grid-shadow`, `--slotted-data-grid-sticky-offset`, `--slotted-data-grid-sticky-offset-end`, `--slotted-data-grid-surface`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-popover-gap`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline-sm`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
235
235
|
|
|
236
236
|
## Examples
|
|
237
237
|
|
package/docs/datetime-picker.md
CHANGED
|
@@ -143,7 +143,7 @@ export class DateTimePickerBasic {
|
|
|
143
143
|
|
|
144
144
|
## Tokens
|
|
145
145
|
|
|
146
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-datetime-picker-content-border-color`, `--slotted-datetime-picker-content-color`, `--slotted-datetime-picker-content-padding`, `--slotted-datetime-picker-content-radius`, `--slotted-datetime-picker-content-shadow`, `--slotted-datetime-picker-invalid-focus-ring-color`, `--slotted-datetime-picker-label-color`, `--slotted-datetime-picker-list-block-size`, `--slotted-datetime-picker-now-active-background`, `--slotted-datetime-picker-now-background`, `--slotted-datetime-picker-now-border-color`, `--slotted-datetime-picker-now-color`, `--slotted-datetime-picker-now-hover-background`, `--slotted-datetime-picker-now-hover-border-color`, `--slotted-datetime-picker-now-icon-color`, `--slotted-datetime-picker-option-current-background`, `--slotted-datetime-picker-option-hover-background`, `--slotted-datetime-picker-option-radius`, `--slotted-datetime-picker-option-selected-background`, `--slotted-datetime-picker-option-selected-color`, `--slotted-datetime-picker-option-selected-hover-background`, `--slotted-datetime-picker-radius`, `--slotted-datetime-picker-sheet-inline-size`, `--slotted-datetime-picker-surface`, `--slotted-datetime-picker-time-panel-inline-size`, `--slotted-datetime-picker-trigger-active-background`, `--slotted-datetime-picker-trigger-color`, `--slotted-datetime-picker-trigger-hover-background`, `--slotted-datetime-picker-trigger-size`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-radius-lg`, `--slotted-
|
|
146
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-datetime-picker-content-border-color`, `--slotted-datetime-picker-content-color`, `--slotted-datetime-picker-content-padding`, `--slotted-datetime-picker-content-radius`, `--slotted-datetime-picker-content-shadow`, `--slotted-datetime-picker-invalid-focus-ring-color`, `--slotted-datetime-picker-label-color`, `--slotted-datetime-picker-list-block-size`, `--slotted-datetime-picker-now-active-background`, `--slotted-datetime-picker-now-background`, `--slotted-datetime-picker-now-border-color`, `--slotted-datetime-picker-now-color`, `--slotted-datetime-picker-now-hover-background`, `--slotted-datetime-picker-now-hover-border-color`, `--slotted-datetime-picker-now-icon-color`, `--slotted-datetime-picker-option-current-background`, `--slotted-datetime-picker-option-hover-background`, `--slotted-datetime-picker-option-radius`, `--slotted-datetime-picker-option-selected-background`, `--slotted-datetime-picker-option-selected-color`, `--slotted-datetime-picker-option-selected-hover-background`, `--slotted-datetime-picker-radius`, `--slotted-datetime-picker-sheet-inline-size`, `--slotted-datetime-picker-surface`, `--slotted-datetime-picker-time-panel-inline-size`, `--slotted-datetime-picker-trigger-active-background`, `--slotted-datetime-picker-trigger-color`, `--slotted-datetime-picker-trigger-hover-background`, `--slotted-datetime-picker-trigger-size`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
147
147
|
|
|
148
148
|
## Examples
|
|
149
149
|
|
package/docs/field.json
CHANGED
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"optional",
|
|
22
22
|
"words",
|
|
23
23
|
"none"
|
|
24
|
+
],
|
|
25
|
+
"width": [
|
|
26
|
+
"full",
|
|
27
|
+
"medium",
|
|
28
|
+
"short"
|
|
24
29
|
]
|
|
25
30
|
},
|
|
26
31
|
"members": {
|
|
@@ -29,7 +34,8 @@
|
|
|
29
34
|
"defaults": {
|
|
30
35
|
"size": "md",
|
|
31
36
|
"labelPlacement": "top",
|
|
32
|
-
"necessity": "mark"
|
|
37
|
+
"necessity": "mark",
|
|
38
|
+
"width": "full"
|
|
33
39
|
},
|
|
34
40
|
"capabilities": [
|
|
35
41
|
"appearance",
|
|
@@ -152,6 +158,13 @@
|
|
|
152
158
|
"appliesTo": "slField",
|
|
153
159
|
"description": "How necessity is written: an asterisk on a required field, (optional) on a field a reader may skip, both words, or nothing, for a form that says once that every field is required."
|
|
154
160
|
},
|
|
161
|
+
{
|
|
162
|
+
"name": "width",
|
|
163
|
+
"type": "'short' | 'medium' | 'full'",
|
|
164
|
+
"defaultValue": "full",
|
|
165
|
+
"appliesTo": "slField",
|
|
166
|
+
"description": "The longest the control stands, as a cue to the length of its answer: short (--slotted-field-width-short, 6rem) for an integer of up to four digits, medium (--slotted-field-width-medium, 15rem) for an amount, a code or a short word, full for free text, a name or a picker of records. The control still shrinks below the bound in a narrower field."
|
|
167
|
+
},
|
|
155
168
|
{
|
|
156
169
|
"name": "messages",
|
|
157
170
|
"type": "Partial<FieldMessages>",
|
|
@@ -359,6 +372,8 @@
|
|
|
359
372
|
"--slotted-field-mark-gap",
|
|
360
373
|
"--slotted-field-mark-text-color",
|
|
361
374
|
"--slotted-field-row-gap",
|
|
375
|
+
"--slotted-field-width-medium",
|
|
376
|
+
"--slotted-field-width-short",
|
|
362
377
|
"--slotted-focus-ring-color",
|
|
363
378
|
"--slotted-focus-ring-offset",
|
|
364
379
|
"--slotted-focus-ring-width",
|
package/docs/field.md
CHANGED
|
@@ -69,6 +69,7 @@ export class FieldBasic {}
|
|
|
69
69
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slField | The type step, matching the control the field wraps. The label, the messages and the counter read the control type scale, which the theme restates per density. |
|
|
70
70
|
| `labelPlacement` | `'top' \| 'side'` | top | slField | Where the label sits. side reflows to top when the field’s own inline size is below 320 pixels; the query is a container query, not a viewport query. |
|
|
71
71
|
| `necessity` | `'mark' \| 'optional' \| 'words' \| 'none'` | mark | slField | How necessity is written: an asterisk on a required field, (optional) on a field a reader may skip, both words, or nothing, for a form that says once that every field is required. |
|
|
72
|
+
| `width` | `'short' \| 'medium' \| 'full'` | full | slField | The longest the control stands, as a cue to the length of its answer: short (--slotted-field-width-short, 6rem) for an integer of up to four digits, medium (--slotted-field-width-medium, 15rem) for an amount, a code or a short word, full for free text, a name or a picker of records. The control still shrinks below the bound in a narrower field. |
|
|
72
73
|
| `messages` | `Partial<FieldMessages>` | — | slField | Words that replace the active language’s, key by key: the necessity words (optional, required) and the help button’s name (help). |
|
|
73
74
|
| `required` | `boolean` | — | slField | Unset rather than false. Reaches the control as aria-required, never as the native required, which would turn on browser constraint validation and change how the form submits. |
|
|
74
75
|
| `invalid` | `boolean` | — | slField, slFieldCounter | On slField: unset rather than false; writes aria-invalid on the control and data-invalid on the field, and leaves the label’s colour unchanged. On slFieldCounter: the count has passed its limit, which can happen before validation runs, so it is the counter’s own state and defaults to false. |
|
|
@@ -104,6 +105,7 @@ export class FieldBasic {}
|
|
|
104
105
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
105
106
|
| `labelPlacement` | `top`, `side` | `top` |
|
|
106
107
|
| `necessity` | `mark`, `optional`, `words`, `none` | `mark` |
|
|
108
|
+
| `width` | `full`, `medium`, `short` | `full` |
|
|
107
109
|
|
|
108
110
|
## Rules
|
|
109
111
|
|
|
@@ -120,7 +122,7 @@ export class FieldBasic {}
|
|
|
120
122
|
|
|
121
123
|
## Tokens
|
|
122
124
|
|
|
123
|
-
`--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-action-color`, `--slotted-field-action-color-active`, `--slotted-field-action-color-hover`, `--slotted-field-action-radius`, `--slotted-field-column-gap`, `--slotted-field-counter-color`, `--slotted-field-counter-invalid-color`, `--slotted-field-font-family`, `--slotted-field-header-gap`, `--slotted-field-help-color`, `--slotted-field-help-radius`, `--slotted-field-help-surface-active`, `--slotted-field-help-surface-hover`, `--slotted-field-icon-size-min`, `--slotted-field-label-color`, `--slotted-field-label-font-weight`, `--slotted-field-label-inline-size`, `--slotted-field-line-height`, `--slotted-field-mark-color`, `--slotted-field-mark-gap`, `--slotted-field-mark-text-color`, `--slotted-field-row-gap`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
125
|
+
`--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-action-color`, `--slotted-field-action-color-active`, `--slotted-field-action-color-hover`, `--slotted-field-action-radius`, `--slotted-field-column-gap`, `--slotted-field-counter-color`, `--slotted-field-counter-invalid-color`, `--slotted-field-font-family`, `--slotted-field-header-gap`, `--slotted-field-help-color`, `--slotted-field-help-radius`, `--slotted-field-help-surface-active`, `--slotted-field-help-surface-hover`, `--slotted-field-icon-size-min`, `--slotted-field-label-color`, `--slotted-field-label-font-weight`, `--slotted-field-label-inline-size`, `--slotted-field-line-height`, `--slotted-field-mark-color`, `--slotted-field-mark-gap`, `--slotted-field-mark-text-color`, `--slotted-field-row-gap`, `--slotted-field-width-medium`, `--slotted-field-width-short`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
124
126
|
|
|
125
127
|
## Examples
|
|
126
128
|
|
package/docs/form.json
CHANGED
|
@@ -60,14 +60,15 @@
|
|
|
60
60
|
"summary-title",
|
|
61
61
|
"summary-list",
|
|
62
62
|
"summary-item",
|
|
63
|
-
"actions"
|
|
63
|
+
"actions",
|
|
64
|
+
"aside"
|
|
64
65
|
]
|
|
65
66
|
}
|
|
66
67
|
},
|
|
67
68
|
"docs": {
|
|
68
69
|
"form": {
|
|
69
70
|
"imports": {
|
|
70
|
-
"source": "import {\n provideFormDefaults,\n provideFormErrorMessages,\n SlForm,\n SlFormActions,\n SlFormSummary,\n} from '@slotted/angular/form';",
|
|
71
|
+
"source": "import {\n provideFormDefaults,\n provideFormErrorMessages,\n SlForm,\n SlFormActions,\n SlFormAside,\n SlFormSummary,\n} from '@slotted/angular/form';",
|
|
71
72
|
"selector": "form[slForm]",
|
|
72
73
|
"exportAs": "slForm"
|
|
73
74
|
},
|
|
@@ -107,6 +108,12 @@
|
|
|
107
108
|
"element": "the element carrying slFormActions",
|
|
108
109
|
"required": false,
|
|
109
110
|
"purpose": "The row a form’s actions stand in, aligned to the reading end. Below 360 container pixels it becomes a column of full-width actions with the primary one first — a reader’s thumb is at the bottom of a phone and their eye at the end of a row. It carries data-ui=\"form\" beside its data-part, so a nested family’s actions — a section’s — keep their own row."
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"part": "aside",
|
|
114
|
+
"element": "the element carrying slFormAside",
|
|
115
|
+
"required": false,
|
|
116
|
+
"purpose": "What the form says about the whole record — a live preview, a summary in words, a help panel. From a form 75rem wide it stands beside the column of fields, --slotted-form-aside-size (20rem) wide at the end, and sticks under --slotted-page-sticky-top while the fields scroll; below that it follows in source order, so write it after the last field. With or without it, the fields, the summary and the actions stand at most --slotted-form-measure (40rem) wide."
|
|
110
117
|
}
|
|
111
118
|
],
|
|
112
119
|
"api": [
|
|
@@ -272,8 +279,11 @@
|
|
|
272
279
|
"--slotted-font-family-heading",
|
|
273
280
|
"--slotted-font-family-sans",
|
|
274
281
|
"--slotted-font-weight-semibold",
|
|
282
|
+
"--slotted-form-aside-size",
|
|
275
283
|
"--slotted-form-color",
|
|
276
284
|
"--slotted-form-field-gap",
|
|
285
|
+
"--slotted-form-measure",
|
|
286
|
+
"--slotted-form-section-gap",
|
|
277
287
|
"--slotted-form-summary-background",
|
|
278
288
|
"--slotted-form-summary-border-color",
|
|
279
289
|
"--slotted-form-summary-color",
|
|
@@ -289,6 +299,7 @@
|
|
|
289
299
|
"--slotted-space-5",
|
|
290
300
|
"--slotted-space-6",
|
|
291
301
|
"--slotted-space-8",
|
|
302
|
+
"--slotted-space-9",
|
|
292
303
|
"--slotted-text",
|
|
293
304
|
"--slotted-tone-danger-border",
|
|
294
305
|
"--slotted-tone-danger-surface",
|
|
@@ -298,7 +309,7 @@
|
|
|
298
309
|
{
|
|
299
310
|
"id": "playground",
|
|
300
311
|
"title": "Playground",
|
|
301
|
-
"note": "A form of two fields with the family’s whole lifecycle on it. Submit it empty: the platform’s own messages appear in the summary, focus moves there, and each link jumps to the field it names. Two fields written one after the other inside the form stand apart by --slotted-form-field-gap (space-6 by default); a layout the page draws itself — a Grid, a Stack — keeps its own gap.",
|
|
312
|
+
"note": "A form of two fields with the family’s whole lifecycle on it. Submit it empty: the platform’s own messages appear in the summary, focus moves there, and each link jumps to the field it names. Two fields written one after the other inside the form stand apart by --slotted-form-field-gap (space-6 by default), and two field groups by --slotted-form-section-gap (space-9 by default); a layout the page draws itself — a Grid, a Stack — keeps its own gap.",
|
|
302
313
|
"language": "html",
|
|
303
314
|
"source": "<form slForm (formSubmit)=\"save($event.values)\">\n <div slField>\n <label slFieldLabel>Nome completo</label>\n <div slTextField><input slTextFieldInput name=\"nome\" required /></div>\n </div>\n <div slFormActions>\n <button slButton type=\"submit\">Salvar</button>\n </div>\n</form>\n",
|
|
304
315
|
"verdict": "excerpt"
|
package/docs/form.md
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
provideFormErrorMessages,
|
|
12
12
|
SlForm,
|
|
13
13
|
SlFormActions,
|
|
14
|
+
SlFormAside,
|
|
14
15
|
SlFormSummary,
|
|
15
16
|
} from '@slotted/angular/form';
|
|
16
17
|
```
|
|
@@ -43,6 +44,7 @@ Excerpt — not a complete module
|
|
|
43
44
|
| `summary-list` | ul | no |
|
|
44
45
|
| `summary-item` | a[href], or span | no |
|
|
45
46
|
| `actions` | the element carrying slFormActions | no |
|
|
47
|
+
| `aside` | the element carrying slFormAside | no |
|
|
46
48
|
|
|
47
49
|
## Props
|
|
48
50
|
|
|
@@ -94,7 +96,7 @@ Excerpt — not a complete module
|
|
|
94
96
|
|
|
95
97
|
## Tokens
|
|
96
98
|
|
|
97
|
-
`--slotted-border-width-thick`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-form-color`, `--slotted-form-field-gap`, `--slotted-form-summary-background`, `--slotted-form-summary-border-color`, `--slotted-form-summary-color`, `--slotted-form-summary-radius`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`
|
|
99
|
+
`--slotted-border-width-thick`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-form-aside-size`, `--slotted-form-color`, `--slotted-form-field-gap`, `--slotted-form-measure`, `--slotted-form-section-gap`, `--slotted-form-summary-background`, `--slotted-form-summary-border-color`, `--slotted-form-summary-color`, `--slotted-form-summary-radius`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`
|
|
98
100
|
|
|
99
101
|
## Examples
|
|
100
102
|
|
package/docs/guidelines/forms.md
CHANGED
|
@@ -18,8 +18,26 @@ triggers:
|
|
|
18
18
|
read-only,
|
|
19
19
|
permission,
|
|
20
20
|
conflict,
|
|
21
|
+
layout,
|
|
22
|
+
section,
|
|
23
|
+
width,
|
|
24
|
+
]
|
|
25
|
+
families:
|
|
26
|
+
[
|
|
27
|
+
form,
|
|
28
|
+
field,
|
|
29
|
+
field-group,
|
|
30
|
+
text-field,
|
|
31
|
+
number-field,
|
|
32
|
+
select,
|
|
33
|
+
currency-field,
|
|
34
|
+
checkbox,
|
|
35
|
+
radio-group,
|
|
36
|
+
segmented-control,
|
|
37
|
+
section,
|
|
38
|
+
grid,
|
|
39
|
+
page-header,
|
|
21
40
|
]
|
|
22
|
-
families: [form, field, text-field, select, currency-field, checkbox, section, grid, page-header]
|
|
23
41
|
---
|
|
24
42
|
|
|
25
43
|
# Forms
|
|
@@ -200,3 +218,73 @@ Why: A form whose fields touch reads as one control, and a spacing written field
|
|
|
200
218
|
Do: Write one `field` after another inside the `form`; set `--slotted-form-field-gap` on the theme to change the step for every form.
|
|
201
219
|
Don't: Write a margin or a spacer element between two fields, or wrap each field in an element of the page's own that breaks the run of fields the form spaces.
|
|
202
220
|
Check: Two consecutive fields of a form stand apart by the form's step, and no field or wrapper between them carries its own margin.
|
|
221
|
+
|
|
222
|
+
### FM-18 · One column at a bounded measure
|
|
223
|
+
|
|
224
|
+
Level: SHOULD
|
|
225
|
+
Applies to: every form a page draws, on any page width
|
|
226
|
+
Rule: The fields of a form stand in one column no wider than `--slotted-form-measure` (40rem); a field never spans the page's whole measure, and the page's own width does not widen the column.
|
|
227
|
+
Why: A reader goes down one column without losing their place, and a field as wide as an 80rem page puts the label and the end of the answer a head turn apart (Baymard, "Avoid Multi-Column Forms"; CXL, "Form Field Usability").
|
|
228
|
+
Do: Write the fields as direct children of `form`, which holds them at the measure; let the page keep its own width for the header and the footer.
|
|
229
|
+
Don't: Set the page to `measure` to narrow the form, widen a field past the measure with a style of the page's own, or wrap the fields in a grid that fills the page.
|
|
230
|
+
Check: In a page 80rem wide, no control of the form is wider than 40rem.
|
|
231
|
+
|
|
232
|
+
### FM-19 · Two fields share a row only when they are one answer
|
|
233
|
+
|
|
234
|
+
Level: SHOULD
|
|
235
|
+
Applies to: a row of a form that holds more than one field
|
|
236
|
+
Rule: Two fields stand side by side only when together they answer one question — a start and an end, a frequency and its interval, an amount and its unit — in a `field-group` whose `orientation` is `horizontal`; unrelated fields never share a row to fill width.
|
|
237
|
+
Why: Two unrelated fields side by side make the reading order zig-zag, and a reader skips the field on the right (Baymard, "Avoid Multi-Column Forms").
|
|
238
|
+
Do: Write the pair in one horizontal `field-group` whose legend names the answer they make together; keep every other field on a row of its own.
|
|
239
|
+
Don't: Write a two-column `grid` of fields to fill the width, or pair a name with a date because both are short.
|
|
240
|
+
Check: Every row with two or more fields is one `field-group`, and its legend names one answer the fields make together.
|
|
241
|
+
|
|
242
|
+
### FM-20 · A field's width says what it expects
|
|
243
|
+
|
|
244
|
+
Level: SHOULD
|
|
245
|
+
Applies to: every field whose answer has a known length
|
|
246
|
+
Rule: A field's `width` follows its expected answer: `short` for an integer of up to four digits, `medium` for an amount, a code or a choice among short words, `full` (the default) for free text, a name or a picker of records.
|
|
247
|
+
Why: The width of a control is a cue to the length of its answer, and a two-digit field as wide as a description reads as a request for a sentence (Baymard, "Form Field Usability: Matching User Expectations").
|
|
248
|
+
Do: Set `width` to `short` on a day of the month or an interval, and to `medium` on an amount or a currency; change `--slotted-field-width-short` and `--slotted-field-width-medium` on the theme to change the steps for every form.
|
|
249
|
+
Don't: Write a class or a style that sizes one field, or leave a numeric field of two digits at full width.
|
|
250
|
+
Check: No field whose answer is an integer of up to four digits renders a control wider than `--slotted-field-width-short`.
|
|
251
|
+
|
|
252
|
+
### FM-21 · Sections group a topic
|
|
253
|
+
|
|
254
|
+
Level: SHOULD
|
|
255
|
+
Applies to: a form with more than six fields, or with two or more topics
|
|
256
|
+
Rule: The fields are split by topic into `field-group`s, each with a legend that names the topic; consecutive groups stand apart by `--slotted-form-section-gap`, a step larger than the gap between two fields.
|
|
257
|
+
Why: A long form whose fields all stand at one distance shows no structure, and a reader cannot tell where one topic ends.
|
|
258
|
+
Do: Write each topic as a `field-group` with a `legend`, the groups as direct children of `form`; set `--slotted-form-section-gap` on the theme to change the step.
|
|
259
|
+
Don't: Write a margin, a heading or a separator of the page's own between two groups, or hold seven fields in one run with no group.
|
|
260
|
+
Check: A form with more than six fields holds at least two `field-group`s, and two consecutive groups stand further apart than two fields of one group.
|
|
261
|
+
|
|
262
|
+
### FM-22 · Every set of choices is a question
|
|
263
|
+
|
|
264
|
+
Level: MUST
|
|
265
|
+
Applies to: a `segmented-control`, a `radio-group` or a set of checkboxes in a form
|
|
266
|
+
Rule: A set of choices is a `field-group` whose legend asks the question the choices answer.
|
|
267
|
+
Why: A set of options with no question above it is announced as a list of words, and a reader who sees it out of order cannot tell what is being chosen.
|
|
268
|
+
Do: Write the legend as the question — "How often does it run?" — and the options as its answers.
|
|
269
|
+
Don't: Leave a segmented control or a radio set with no legend, or put the question in a placeholder or a description under the options.
|
|
270
|
+
Check: Every segmented control, radio group and checkbox set of the form has a `field-group` legend as its accessible name.
|
|
271
|
+
|
|
272
|
+
### FM-23 · Necessity is said once, the same way
|
|
273
|
+
|
|
274
|
+
Level: SHOULD
|
|
275
|
+
Applies to: every application whose forms hold required and optional fields
|
|
276
|
+
Rule: One `necessity` holds for the whole application, set once through the field defaults provider; `optional` is preferred, which marks the fields a reader may skip and says nothing on the rest.
|
|
277
|
+
Why: A form that marks some fields with an asterisk and others with a word asks the reader to learn two conventions, and in a form where most fields are required the asterisk on every one says nothing (Adam Silver, "Don't mark required fields with an asterisk").
|
|
278
|
+
Do: Set `necessity` to `optional` on the field defaults provider at the application's root.
|
|
279
|
+
Don't: Set `necessity` field by field, or mix a mark and a word in one form.
|
|
280
|
+
Check: No field of the application sets `necessity` on itself, and every form renders one convention.
|
|
281
|
+
|
|
282
|
+
### FM-24 · Help sits where its question is
|
|
283
|
+
|
|
284
|
+
Level: SHOULD
|
|
285
|
+
Applies to: every text that helps a reader answer a form
|
|
286
|
+
Rule: A format or a consequence of one answer is a one-line `description` under its control; the definition of a term is the field's `help` beside the label; what the whole record will do is the form's `aside`, beside the fields on a wide form and after them on a narrow one.
|
|
287
|
+
Why: Help placed away from its question is read after the answer is given, or not at all, and a paragraph above the form is skipped.
|
|
288
|
+
Do: Write the format under the field it applies to, the definition behind the help control, and the summary of the record in the aside.
|
|
289
|
+
Don't: Write a paragraph of help above the form, a description of more than one line, or a summary of the record in a field's description.
|
|
290
|
+
Check: Every help text of the form is a description, a help hint or the aside, and no description runs past one line.
|
package/docs/guidelines/index.md
CHANGED
|
@@ -56,6 +56,13 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
56
56
|
| FM-15 | SHOULD | The action is written through the command whose record says the same thing, with a fixed prefix that names the document it is about, and the document reads its own entries back by that prefix; no endpoint is invented in the client. | `forms.md` |
|
|
57
57
|
| FM-16 | SHOULD | A date entered in a form is a `date-picker`, which keeps typing in its field and adds the calendar behind its trigger; a `date-field` alone is not used in a form. | `forms.md` |
|
|
58
58
|
| FM-17 | SHOULD | The fields of a form are written as its direct children, in a `field-group` or in a `grid` for fields that stand side by side; the form spaces consecutive fields by `--slotted-form-field-gap`, and no field carries a margin of its own. | `forms.md` |
|
|
59
|
+
| FM-18 | SHOULD | The fields of a form stand in one column no wider than `--slotted-form-measure` (40rem); a field never spans the page's whole measure, and the page's own width does not widen the column. | `forms.md` |
|
|
60
|
+
| FM-19 | SHOULD | Two fields stand side by side only when together they answer one question — a start and an end, a frequency and its interval, an amount and its unit — in a `field-group` whose `orientation` is `horizontal`; unrelated fields never share a row to fill width. | `forms.md` |
|
|
61
|
+
| FM-20 | SHOULD | A field's `width` follows its expected answer: `short` for an integer of up to four digits, `medium` for an amount, a code or a choice among short words, `full` (the default) for free text, a name or a picker of records. | `forms.md` |
|
|
62
|
+
| FM-21 | SHOULD | The fields are split by topic into `field-group`s, each with a legend that names the topic; consecutive groups stand apart by `--slotted-form-section-gap`, a step larger than the gap between two fields. | `forms.md` |
|
|
63
|
+
| FM-22 | MUST | A set of choices is a `field-group` whose legend asks the question the choices answer. | `forms.md` |
|
|
64
|
+
| FM-23 | SHOULD | One `necessity` holds for the whole application, set once through the field defaults provider; `optional` is preferred, which marks the fields a reader may skip and says nothing on the rest. | `forms.md` |
|
|
65
|
+
| FM-24 | SHOULD | A format or a consequence of one answer is a one-line `description` under its control; the definition of a term is the field's `help` beside the label; what the whole record will do is the form's `aside`, beside the fields on a wide form and after them on a narrow one. | `forms.md` |
|
|
59
66
|
| LA-01 | SHOULD | A pager under a paged region is aligned to the end of the line. | `layout-alignment.md` |
|
|
60
67
|
| LA-02 | MUST | A consumer's row in the navigation column's pinned parts is inset by `--slotted-app-shell-row-inset` and starts with a mark column `--slotted-app-shell-row-mark` wide, the avatar centred in it. | `layout-alignment.md` |
|
|
61
68
|
| LA-03 | SHOULD | Below the header's narrow step the header's actions occupy one row: one action beside a plain title becomes its icon-only form, and two or more stand in a `toolbar` that folds into its menu, each item with its counterpart and the primary one without, so it stays. Beside a plain title that row is the title's line; under a rich title (visual, marks, subheading) `page-header` gives the toolbar a full row of its own. | `layout-alignment.md` |
|
package/docs/listbox.json
CHANGED
|
@@ -622,7 +622,6 @@
|
|
|
622
622
|
"--slotted-control-padding-inline-lg",
|
|
623
623
|
"--slotted-control-padding-inline-md",
|
|
624
624
|
"--slotted-control-padding-inline-sm",
|
|
625
|
-
"--slotted-control-radius",
|
|
626
625
|
"--slotted-control-shadow",
|
|
627
626
|
"--slotted-control-transition-duration",
|
|
628
627
|
"--slotted-control-transition-easing",
|
package/docs/listbox.md
CHANGED
|
@@ -150,7 +150,7 @@ Excerpt — not a complete module
|
|
|
150
150
|
|
|
151
151
|
## Tokens
|
|
152
152
|
|
|
153
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-
|
|
153
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-loop`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-listbox-border-color`, `--slotted-listbox-columns`, `--slotted-listbox-group-border-color`, `--slotted-listbox-highlight`, `--slotted-listbox-highlight-active`, `--slotted-listbox-measure`, `--slotted-listbox-option-radius`, `--slotted-listbox-padding-block`, `--slotted-listbox-padding-inline`, `--slotted-listbox-radius`, `--slotted-listbox-rows`, `--slotted-listbox-selected-surface`, `--slotted-listbox-selected-text`, `--slotted-listbox-shadow`, `--slotted-listbox-surface`, `--slotted-listbox-text`, `--slotted-listbox-text-muted`, `--slotted-radius-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
154
154
|
|
|
155
155
|
## Examples
|
|
156
156
|
|
package/docs/menu.json
CHANGED
|
@@ -597,7 +597,6 @@
|
|
|
597
597
|
"--slotted-control-padding-inline-lg",
|
|
598
598
|
"--slotted-control-padding-inline-md",
|
|
599
599
|
"--slotted-control-padding-inline-sm",
|
|
600
|
-
"--slotted-control-radius",
|
|
601
600
|
"--slotted-control-transition-duration",
|
|
602
601
|
"--slotted-control-transition-easing",
|
|
603
602
|
"--slotted-disabled-foreground",
|
package/docs/menu.md
CHANGED
|
@@ -150,7 +150,7 @@ export class MenuBasic {}
|
|
|
150
150
|
|
|
151
151
|
## Tokens
|
|
152
152
|
|
|
153
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-
|
|
153
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-menu-backdrop-filter`, `--slotted-menu-border-color`, `--slotted-menu-gap`, `--slotted-menu-highlight`, `--slotted-menu-highlight-active`, `--slotted-menu-item-radius`, `--slotted-menu-measure`, `--slotted-menu-measure-lg`, `--slotted-menu-measure-sm`, `--slotted-menu-min-measure`, `--slotted-menu-padding-block`, `--slotted-menu-padding-inline`, `--slotted-menu-radius`, `--slotted-menu-separator-color`, `--slotted-menu-shadow`, `--slotted-menu-surface`, `--slotted-menu-text`, `--slotted-menu-text-muted`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`, `--slotted-z-index-popover`
|
|
154
154
|
|
|
155
155
|
## Examples
|
|
156
156
|
|
package/docs/table.json
CHANGED
package/docs/table.md
CHANGED
|
@@ -294,7 +294,7 @@ export class TableBasic {
|
|
|
294
294
|
|
|
295
295
|
## Tokens
|
|
296
296
|
|
|
297
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-surface`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
297
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-sticky-surface`, `--slotted-table-surface`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
298
298
|
|
|
299
299
|
## Examples
|
|
300
300
|
|
package/docs/time-picker.json
CHANGED
package/docs/time-picker.md
CHANGED
|
@@ -110,7 +110,7 @@ Excerpt — not a complete module
|
|
|
110
110
|
|
|
111
111
|
## Tokens
|
|
112
112
|
|
|
113
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-width`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-lg`, `--slotted-
|
|
113
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-width`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-time-picker-content-border-color`, `--slotted-time-picker-content-color`, `--slotted-time-picker-content-min-inline-size`, `--slotted-time-picker-content-padding`, `--slotted-time-picker-content-radius`, `--slotted-time-picker-content-shadow`, `--slotted-time-picker-invalid-focus-ring-color`, `--slotted-time-picker-label-color`, `--slotted-time-picker-list-block-size`, `--slotted-time-picker-now-color`, `--slotted-time-picker-option-current-background`, `--slotted-time-picker-option-hover-background`, `--slotted-time-picker-option-radius`, `--slotted-time-picker-option-selected-background`, `--slotted-time-picker-option-selected-color`, `--slotted-time-picker-option-selected-hover-background`, `--slotted-time-picker-radius`, `--slotted-time-picker-sheet-inline-size`, `--slotted-time-picker-surface`, `--slotted-time-picker-trigger-active-background`, `--slotted-time-picker-trigger-color`, `--slotted-time-picker-trigger-hover-background`, `--slotted-time-picker-trigger-size`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
114
114
|
|
|
115
115
|
## Examples
|
|
116
116
|
|