@slotted/react 0.1.0-beta.28 → 0.1.0-beta.29
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/attachment-AAjprQyU.js +292 -0
- package/dist/attachment-kinds-x-DEOvCy.js +17 -0
- package/dist/attachment.js +3 -2
- package/dist/{checkbox-group-DZZbowG-.js → checkbox-group-Ben6o9Ze.js} +1 -1
- package/dist/checkbox-group.js +1 -1
- package/dist/{checkbox-D67PWyL0.js → checkbox-ruvmi9cK.js} +2 -2
- package/dist/checkbox.js +1 -1
- package/dist/{column-manager-C3iL_I5T.js → column-manager-NN-ZCcy9.js} +1 -1
- package/dist/column-manager.js +1 -1
- package/dist/{data-grid-BKOFLdSD.js → data-grid-DSI_LFmJ.js} +8 -8
- package/dist/data-grid.js +1 -1
- package/dist/{data-list-BDYbrO3V.js → data-list-fAeBMZZT.js} +1 -1
- package/dist/data-list.js +1 -1
- package/dist/{date-picker-DJMET62H.js → date-picker-CB3pyJob.js} +94 -73
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker-Dyp5_teF.js +522 -0
- package/dist/date-range-picker.js +1 -1
- package/dist/datetime-picker-D-fhwe8l.js +683 -0
- package/dist/datetime-picker.js +1 -1
- package/dist/{datetime-range-picker-DTT_CvkE.js → datetime-range-picker-Bh3mAEsM.js} +380 -359
- package/dist/datetime-range-picker.js +1 -1
- package/dist/docs/command-palette.json +1 -0
- package/dist/docs/command-palette.md +1 -1
- package/dist/docs/date-picker.json +11 -0
- package/dist/docs/date-picker.md +2 -1
- package/dist/docs/date-range-picker.json +11 -0
- package/dist/docs/date-range-picker.md +2 -1
- package/dist/docs/datetime-picker.json +11 -0
- package/dist/docs/datetime-picker.md +2 -1
- package/dist/docs/datetime-range-picker.json +11 -0
- package/dist/docs/datetime-range-picker.md +2 -1
- package/dist/docs/description-list.json +2 -1
- package/dist/docs/description-list.md +2 -2
- package/dist/docs/drawer.json +2 -0
- package/dist/docs/drawer.md +1 -1
- package/dist/docs/entity-picker.json +1 -0
- package/dist/docs/entity-picker.md +1 -1
- package/dist/docs/field-group.json +8 -1
- package/dist/docs/field-group.md +3 -2
- package/dist/docs/guidelines/forms.md +14 -2
- package/dist/docs/guidelines/index.md +2 -1
- package/dist/docs/guidelines/overviews.md +6 -6
- package/dist/docs/index.md +1 -0
- package/dist/docs/media-viewer.json +575 -0
- package/dist/docs/media-viewer.md +235 -0
- package/dist/docs/skills/theme-app/SKILL.md +8 -2
- package/dist/docs/stat-card.json +16 -1
- package/dist/docs/stat-card.md +3 -1
- package/dist/docs/tag.json +1 -0
- package/dist/docs/tag.md +1 -1
- package/dist/docs/time-picker.json +11 -0
- package/dist/docs/time-picker.md +2 -1
- package/dist/docs/time-range-picker.json +11 -0
- package/dist/docs/time-range-picker.md +2 -1
- package/dist/{event-calendar-CFw9KKAm.js → event-calendar-BiGeWzAG.js} +1 -1
- package/dist/event-calendar.js +1 -1
- package/dist/{field-group-Ctwd3EUR.js → field-group-DQI8pfDT.js} +1 -0
- package/dist/field-group.js +1 -1
- package/dist/{filter-bar-BJGqeIKl.js → filter-bar-Bb_8T3nU.js} +4 -4
- package/dist/filter-bar.js +1 -1
- package/dist/{import-export-center-yxNcKfQX.js → import-export-center-Do0zrdSV.js} +1 -1
- package/dist/import-export-center.js +1 -1
- package/dist/index.js +59 -57
- package/dist/{markdown-D2EB46zY.js → markdown-B_niyRIl.js} +1 -1
- package/dist/markdown.js +1 -1
- package/dist/media-viewer-zEXcwfEY.js +629 -0
- package/dist/media-viewer.js +2 -0
- package/dist/{radio-group-Dct1Kkuf.js → radio-group-doL7tde1.js} +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{segmented-control-BINpaKhI.js → segmented-control-Dl-nryCN.js} +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/{stat-card-BpKP2yxe.js → stat-card-BGtnZpnK.js} +43 -42
- package/dist/stat-card.js +1 -1
- package/dist/styles/action-sheet.css +1 -1
- package/dist/styles/attachment.css +1 -1
- package/dist/styles/cascader.css +1 -1
- package/dist/styles/checkbox-group.css +1 -1
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/column-manager.css +2 -2
- package/dist/styles/command-palette.css +2 -2
- package/dist/styles/data-grid.css +8 -8
- package/dist/styles/data-list.css +1 -1
- package/dist/styles/date-picker.css +1 -1
- package/dist/styles/date-range-picker.css +1 -1
- package/dist/styles/datetime-picker.css +1 -1
- package/dist/styles/datetime-range-picker.css +1 -1
- package/dist/styles/description-list.css +1 -1
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/entity-picker.css +2 -2
- package/dist/styles/event-calendar.css +2 -2
- package/dist/styles/field-group.css +1 -1
- package/dist/styles/filter-bar.css +6 -6
- package/dist/styles/import-export-center.css +8 -8
- package/dist/styles/index.css +19 -17
- package/dist/styles/markdown.css +1 -1
- package/dist/styles/media-viewer.css +6 -0
- package/dist/styles/message-scroller.css +1 -1
- package/dist/styles/message.css +1 -1
- package/dist/styles/multi-select.css +1 -1
- package/dist/styles/radio-group.css +1 -1
- package/dist/styles/segmented-control.css +1 -1
- package/dist/styles/select.css +1 -1
- package/dist/styles/stat-card.css +1 -1
- package/dist/styles/table.css +8 -8
- package/dist/styles/tag.css +1 -1
- package/dist/styles/tags-input.css +1 -1
- package/dist/styles/time-picker.css +1 -1
- package/dist/styles/time-range-picker.css +1 -1
- package/dist/styles/transfer.css +1 -1
- package/dist/styles/upload.css +1 -1
- package/dist/styles/wizard.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/{table-b7Wt5A88.js → table-Bm-PAtCn.js} +8 -8
- package/dist/table.js +1 -1
- package/dist/{time-picker-VJegeX4j.js → time-picker-Cw9NezUE.js} +157 -136
- package/dist/time-picker.js +1 -1
- package/dist/{time-range-picker-DFOxymH_.js → time-range-picker-DmmUqGjV.js} +302 -281
- package/dist/time-range-picker.js +1 -1
- package/dist/{transfer-BrYBBjaG.js → transfer-CmPxesyZ.js} +2 -2
- package/dist/transfer.js +1 -1
- package/dist/types/date-picker/date-picker.d.ts.map +1 -1
- package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
- package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
- package/dist/types/field-group/field-group.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/media-viewer/index.d.ts +9 -0
- package/dist/types/media-viewer/index.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-anatomy.d.ts +3 -0
- package/dist/types/media-viewer/media-viewer-anatomy.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-bar.d.ts +16 -0
- package/dist/types/media-viewer/media-viewer-bar.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-context.d.ts +25 -0
- package/dist/types/media-viewer/media-viewer-context.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-controls.d.ts +14 -0
- package/dist/types/media-viewer/media-viewer-controls.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-defaults.d.ts +15 -0
- package/dist/types/media-viewer/media-viewer-defaults.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-fallback.d.ts +5 -0
- package/dist/types/media-viewer/media-viewer-fallback.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-media.d.ts +3 -0
- package/dist/types/media-viewer/media-viewer-media.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer-stage.d.ts +9 -0
- package/dist/types/media-viewer/media-viewer-stage.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer.d.ts +10 -0
- package/dist/types/media-viewer/media-viewer.d.ts.map +1 -0
- package/dist/types/media-viewer/media-viewer.types.d.ts +75 -0
- package/dist/types/media-viewer/media-viewer.types.d.ts.map +1 -0
- package/dist/types/media-viewer/use-media-viewer-state.d.ts +29 -0
- package/dist/types/media-viewer/use-media-viewer-state.d.ts.map +1 -0
- package/dist/types/stat-card/index.d.ts +1 -1
- package/dist/types/stat-card/index.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card.d.ts +1 -1
- package/dist/types/stat-card/stat-card.d.ts.map +1 -1
- package/dist/types/stat-card/stat-card.types.d.ts +8 -0
- package/dist/types/stat-card/stat-card.types.d.ts.map +1 -1
- package/dist/types/time-picker/time-picker.d.ts.map +1 -1
- package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
- package/package.json +10 -6
- package/dist/attachment-C1wBuup6.js +0 -307
- package/dist/date-range-picker-CinTpTme.js +0 -501
- package/dist/datetime-picker-COew4Y_B.js +0 -662
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./datetime-range-picker-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./datetime-range-picker-Bh3mAEsM.js";
|
|
2
2
|
export { n as DATETIME_RANGE_PICKER_MAX_OPTIONS, e as DATETIME_RANGE_PICKER_MONTHS, a as DATETIME_RANGE_PICKER_STEP, c as DateTimeRangePicker, s as DateTimeRangePickerDefaultsProvider, i as DateTimeRangePickerPreset, t as dateTimeRangePickerLengthLabel, o as isSameDateTimeRange, r as useDateTimeRangePickerDefaults };
|
|
@@ -600,6 +600,7 @@
|
|
|
600
600
|
"--slotted-command-palette-backdrop-filter",
|
|
601
601
|
"--slotted-command-palette-border-color",
|
|
602
602
|
"--slotted-command-palette-footer-surface",
|
|
603
|
+
"--slotted-command-palette-group-label-height",
|
|
603
604
|
"--slotted-command-palette-highlight",
|
|
604
605
|
"--slotted-command-palette-highlight-ring",
|
|
605
606
|
"--slotted-command-palette-hover",
|
|
@@ -130,7 +130,7 @@ Excerpt — not a complete module
|
|
|
130
130
|
|
|
131
131
|
## Tokens
|
|
132
132
|
|
|
133
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-command-palette-active`, `--slotted-command-palette-backdrop-filter`, `--slotted-command-palette-border-color`, `--slotted-command-palette-footer-surface`, `--slotted-command-palette-highlight`, `--slotted-command-palette-highlight-ring`, `--slotted-command-palette-hover`, `--slotted-command-palette-item-radius`, `--slotted-command-palette-list-max-block-size`, `--slotted-command-palette-list-padding`, `--slotted-command-palette-measure`, `--slotted-command-palette-page-surface`, `--slotted-command-palette-placeholder-fade`, `--slotted-command-palette-radius`, `--slotted-command-palette-separator-color`, `--slotted-command-palette-shadow`, `--slotted-command-palette-surface`, `--slotted-command-palette-text`, `--slotted-command-palette-text-muted`, `--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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
133
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-command-palette-active`, `--slotted-command-palette-backdrop-filter`, `--slotted-command-palette-border-color`, `--slotted-command-palette-footer-surface`, `--slotted-command-palette-group-label-height`, `--slotted-command-palette-highlight`, `--slotted-command-palette-highlight-ring`, `--slotted-command-palette-hover`, `--slotted-command-palette-item-radius`, `--slotted-command-palette-list-max-block-size`, `--slotted-command-palette-list-padding`, `--slotted-command-palette-measure`, `--slotted-command-palette-page-surface`, `--slotted-command-palette-placeholder-fade`, `--slotted-command-palette-radius`, `--slotted-command-palette-separator-color`, `--slotted-command-palette-shadow`, `--slotted-command-palette-surface`, `--slotted-command-palette-text`, `--slotted-command-palette-text-muted`, `--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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
134
134
|
|
|
135
135
|
## Examples
|
|
136
136
|
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"trigger",
|
|
76
76
|
"positioner",
|
|
77
77
|
"content",
|
|
78
|
+
"grip",
|
|
78
79
|
"presets",
|
|
79
80
|
"footer"
|
|
80
81
|
]
|
|
@@ -116,6 +117,12 @@
|
|
|
116
117
|
"required": true,
|
|
117
118
|
"purpose": "The painted surface, with the same accessible name as the trigger. Its width comes from the calendar inside it, not from the field it opens from."
|
|
118
119
|
},
|
|
120
|
+
{
|
|
121
|
+
"part": "grip",
|
|
122
|
+
"element": "span, aria-hidden",
|
|
123
|
+
"required": false,
|
|
124
|
+
"purpose": "The pill at the top of the sheet, drawn only while data-presentation is sheet, in the drawer grip’s geometry and line colour. A pull down past half the sheet, or a flick down, closes it with the reason pointer; Escape and the press outside stay the accessible ways out."
|
|
125
|
+
},
|
|
119
126
|
{
|
|
120
127
|
"part": "presets",
|
|
121
128
|
"element": "div",
|
|
@@ -401,6 +408,7 @@
|
|
|
401
408
|
}
|
|
402
409
|
},
|
|
403
410
|
"tokens": [
|
|
411
|
+
"--slotted-border-strong",
|
|
404
412
|
"--slotted-border-subtle",
|
|
405
413
|
"--slotted-border-width-thin",
|
|
406
414
|
"--slotted-control-border-width",
|
|
@@ -427,6 +435,7 @@
|
|
|
427
435
|
"--slotted-date-picker-trigger-hover-background",
|
|
428
436
|
"--slotted-date-picker-trigger-size",
|
|
429
437
|
"--slotted-disabled-foreground",
|
|
438
|
+
"--slotted-drawer-resizer-line-color",
|
|
430
439
|
"--slotted-duration-medium",
|
|
431
440
|
"--slotted-duration-short",
|
|
432
441
|
"--slotted-easing-enter",
|
|
@@ -435,8 +444,10 @@
|
|
|
435
444
|
"--slotted-focus-ring-color-invalid",
|
|
436
445
|
"--slotted-focus-ring-offset",
|
|
437
446
|
"--slotted-focus-ring-width",
|
|
447
|
+
"--slotted-radius-full",
|
|
438
448
|
"--slotted-radius-lg",
|
|
439
449
|
"--slotted-shadow-md",
|
|
450
|
+
"--slotted-space-11",
|
|
440
451
|
"--slotted-space-2",
|
|
441
452
|
"--slotted-space-4",
|
|
442
453
|
"--slotted-space-5",
|
package/dist/docs/date-picker.md
CHANGED
|
@@ -37,6 +37,7 @@ export default function DatePickerBasic() {
|
|
|
37
37
|
| `trigger` | button | yes |
|
|
38
38
|
| `positioner` | div, portalled to the end of the document | yes |
|
|
39
39
|
| `content` | div with role="dialog" | yes |
|
|
40
|
+
| `grip` | span, aria-hidden | no |
|
|
40
41
|
| `presets` | div | no |
|
|
41
42
|
| `footer` | div | no |
|
|
42
43
|
|
|
@@ -108,7 +109,7 @@ export default function DatePickerBasic() {
|
|
|
108
109
|
|
|
109
110
|
## Tokens
|
|
110
111
|
|
|
111
|
-
`--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-date-picker-content-backdrop-filter`, `--slotted-date-picker-content-border-color`, `--slotted-date-picker-content-color`, `--slotted-date-picker-content-padding`, `--slotted-date-picker-content-radius`, `--slotted-date-picker-content-shadow`, `--slotted-date-picker-invalid-focus-ring-color`, `--slotted-date-picker-radius`, `--slotted-date-picker-surface`, `--slotted-date-picker-trigger-active-background`, `--slotted-date-picker-trigger-color`, `--slotted-date-picker-trigger-hover-background`, `--slotted-date-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-radius-lg`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
112
|
+
`--slotted-border-strong`, `--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-date-picker-content-backdrop-filter`, `--slotted-date-picker-content-border-color`, `--slotted-date-picker-content-color`, `--slotted-date-picker-content-padding`, `--slotted-date-picker-content-radius`, `--slotted-date-picker-content-shadow`, `--slotted-date-picker-invalid-focus-ring-color`, `--slotted-date-picker-radius`, `--slotted-date-picker-surface`, `--slotted-date-picker-trigger-active-background`, `--slotted-date-picker-trigger-color`, `--slotted-date-picker-trigger-hover-background`, `--slotted-date-picker-trigger-size`, `--slotted-disabled-foreground`, `--slotted-drawer-resizer-line-color`, `--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-full`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
112
113
|
|
|
113
114
|
## Examples
|
|
114
115
|
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"trigger",
|
|
94
94
|
"positioner",
|
|
95
95
|
"content",
|
|
96
|
+
"grip",
|
|
96
97
|
"head",
|
|
97
98
|
"head-start",
|
|
98
99
|
"head-end",
|
|
@@ -165,6 +166,12 @@
|
|
|
165
166
|
"required": false,
|
|
166
167
|
"purpose": "The painted surface, with the same accessible name as the trigger. Its width is capped by the room available, so two months that do not fit side by side wrap."
|
|
167
168
|
},
|
|
169
|
+
{
|
|
170
|
+
"part": "grip",
|
|
171
|
+
"element": "span, aria-hidden",
|
|
172
|
+
"required": false,
|
|
173
|
+
"purpose": "The pill at the top of the sheet, drawn only while data-presentation is sheet, in the drawer grip’s geometry and line colour. A pull down past half the sheet, or a flick down, closes it with the reason pointer; Escape and the press outside stay the accessible ways out."
|
|
174
|
+
},
|
|
168
175
|
{
|
|
169
176
|
"part": "head",
|
|
170
177
|
"element": "div",
|
|
@@ -540,6 +547,7 @@
|
|
|
540
547
|
}
|
|
541
548
|
},
|
|
542
549
|
"tokens": [
|
|
550
|
+
"--slotted-border-strong",
|
|
543
551
|
"--slotted-border-subtle",
|
|
544
552
|
"--slotted-border-width-thin",
|
|
545
553
|
"--slotted-control-border-color",
|
|
@@ -609,6 +617,7 @@
|
|
|
609
617
|
"--slotted-disabled-background",
|
|
610
618
|
"--slotted-disabled-border",
|
|
611
619
|
"--slotted-disabled-foreground",
|
|
620
|
+
"--slotted-drawer-resizer-line-color",
|
|
612
621
|
"--slotted-duration-medium",
|
|
613
622
|
"--slotted-duration-short",
|
|
614
623
|
"--slotted-easing-enter",
|
|
@@ -623,11 +632,13 @@
|
|
|
623
632
|
"--slotted-font-weight-regular",
|
|
624
633
|
"--slotted-font-weight-semibold",
|
|
625
634
|
"--slotted-line-height-sm",
|
|
635
|
+
"--slotted-radius-full",
|
|
626
636
|
"--slotted-radius-lg",
|
|
627
637
|
"--slotted-radius-none",
|
|
628
638
|
"--slotted-radius-xs",
|
|
629
639
|
"--slotted-shadow-md",
|
|
630
640
|
"--slotted-space-1",
|
|
641
|
+
"--slotted-space-11",
|
|
631
642
|
"--slotted-space-2",
|
|
632
643
|
"--slotted-space-3",
|
|
633
644
|
"--slotted-space-4",
|
|
@@ -41,6 +41,7 @@ export default function DateRangePickerBasic() {
|
|
|
41
41
|
| `trigger` | button | yes |
|
|
42
42
|
| `positioner` | div, portalled to the end of the document | no |
|
|
43
43
|
| `content` | div with role="dialog" | no |
|
|
44
|
+
| `grip` | span, aria-hidden | no |
|
|
44
45
|
| `head` | div | no |
|
|
45
46
|
| `head-start` | span | no |
|
|
46
47
|
| `head-end` | span | no |
|
|
@@ -129,7 +130,7 @@ export default function DateRangePickerBasic() {
|
|
|
129
130
|
|
|
130
131
|
## Tokens
|
|
131
132
|
|
|
132
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--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-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-date-range-picker-action-active-background`, `--slotted-date-range-picker-action-color`, `--slotted-date-range-picker-action-hover-background`, `--slotted-date-range-picker-action-size`, `--slotted-date-range-picker-background`, `--slotted-date-range-picker-border-color`, `--slotted-date-range-picker-color`, `--slotted-date-range-picker-content-border-color`, `--slotted-date-range-picker-content-color`, `--slotted-date-range-picker-content-padding`, `--slotted-date-range-picker-content-radius`, `--slotted-date-range-picker-content-shadow`, `--slotted-date-range-picker-current-color`, `--slotted-date-range-picker-current-size`, `--slotted-date-range-picker-disabled-background`, `--slotted-date-range-picker-disabled-border-color`, `--slotted-date-range-picker-disabled-color`, `--slotted-date-range-picker-hover-border-color`, `--slotted-date-range-picker-invalid-border-color`, `--slotted-date-range-picker-invalid-edge-width`, `--slotted-date-range-picker-invalid-focus-ring-color`, `--slotted-date-range-picker-length-color`, `--slotted-date-range-picker-limit-color`, `--slotted-date-range-picker-pending-color`, `--slotted-date-range-picker-placeholder-color`, `--slotted-date-range-picker-plain-hover-background`, `--slotted-date-range-picker-preset-active-background`, `--slotted-date-range-picker-preset-hover-background`, `--slotted-date-range-picker-preset-selected-background`, `--slotted-date-range-picker-preset-selected-color`, `--slotted-date-range-picker-radius`, `--slotted-date-range-picker-readonly-background`, `--slotted-date-range-picker-separator-color`, `--slotted-date-range-picker-shadow`, `--slotted-date-range-picker-sheet-inline-size`, `--slotted-date-range-picker-subtle-background`, `--slotted-date-range-picker-subtle-border-color`, `--slotted-date-range-picker-subtle-hover-background`, `--slotted-date-range-picker-surface`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--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-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--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-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
133
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--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-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-date-range-picker-action-active-background`, `--slotted-date-range-picker-action-color`, `--slotted-date-range-picker-action-hover-background`, `--slotted-date-range-picker-action-size`, `--slotted-date-range-picker-background`, `--slotted-date-range-picker-border-color`, `--slotted-date-range-picker-color`, `--slotted-date-range-picker-content-border-color`, `--slotted-date-range-picker-content-color`, `--slotted-date-range-picker-content-padding`, `--slotted-date-range-picker-content-radius`, `--slotted-date-range-picker-content-shadow`, `--slotted-date-range-picker-current-color`, `--slotted-date-range-picker-current-size`, `--slotted-date-range-picker-disabled-background`, `--slotted-date-range-picker-disabled-border-color`, `--slotted-date-range-picker-disabled-color`, `--slotted-date-range-picker-hover-border-color`, `--slotted-date-range-picker-invalid-border-color`, `--slotted-date-range-picker-invalid-edge-width`, `--slotted-date-range-picker-invalid-focus-ring-color`, `--slotted-date-range-picker-length-color`, `--slotted-date-range-picker-limit-color`, `--slotted-date-range-picker-pending-color`, `--slotted-date-range-picker-placeholder-color`, `--slotted-date-range-picker-plain-hover-background`, `--slotted-date-range-picker-preset-active-background`, `--slotted-date-range-picker-preset-hover-background`, `--slotted-date-range-picker-preset-selected-background`, `--slotted-date-range-picker-preset-selected-color`, `--slotted-date-range-picker-radius`, `--slotted-date-range-picker-readonly-background`, `--slotted-date-range-picker-separator-color`, `--slotted-date-range-picker-shadow`, `--slotted-date-range-picker-sheet-inline-size`, `--slotted-date-range-picker-subtle-background`, `--slotted-date-range-picker-subtle-border-color`, `--slotted-date-range-picker-subtle-hover-background`, `--slotted-date-range-picker-surface`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-drawer-resizer-line-color`, `--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-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--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-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
133
134
|
|
|
134
135
|
## Examples
|
|
135
136
|
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"trigger",
|
|
101
101
|
"positioner",
|
|
102
102
|
"content",
|
|
103
|
+
"grip",
|
|
103
104
|
"panels",
|
|
104
105
|
"date-panel",
|
|
105
106
|
"time-panel",
|
|
@@ -150,6 +151,12 @@
|
|
|
150
151
|
"required": false,
|
|
151
152
|
"purpose": "The painted panel, with the same accessible name as the trigger. It holds a grid and a listbox, the arrangement the APG Date Picker Combobox example uses for its popup. data-open-to names the surface that takes focus on open."
|
|
152
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"part": "grip",
|
|
156
|
+
"element": "span, aria-hidden",
|
|
157
|
+
"required": false,
|
|
158
|
+
"purpose": "The pill at the top of the sheet, drawn only while data-presentation is sheet, in the drawer grip’s geometry and line colour. A pull down past half the sheet, or a flick down, closes it with the reason pointer; Escape and the press outside stay the accessible ways out."
|
|
159
|
+
},
|
|
153
160
|
{
|
|
154
161
|
"part": "head",
|
|
155
162
|
"element": "div",
|
|
@@ -564,6 +571,7 @@
|
|
|
564
571
|
}
|
|
565
572
|
},
|
|
566
573
|
"tokens": [
|
|
574
|
+
"--slotted-border-strong",
|
|
567
575
|
"--slotted-border-subtle",
|
|
568
576
|
"--slotted-border-width-thin",
|
|
569
577
|
"--slotted-control-border-color",
|
|
@@ -609,6 +617,7 @@
|
|
|
609
617
|
"--slotted-datetime-picker-trigger-hover-background",
|
|
610
618
|
"--slotted-datetime-picker-trigger-size",
|
|
611
619
|
"--slotted-disabled-foreground",
|
|
620
|
+
"--slotted-drawer-resizer-line-color",
|
|
612
621
|
"--slotted-duration-medium",
|
|
613
622
|
"--slotted-duration-short",
|
|
614
623
|
"--slotted-easing-enter",
|
|
@@ -619,9 +628,11 @@
|
|
|
619
628
|
"--slotted-focus-ring-width",
|
|
620
629
|
"--slotted-font-size-sm",
|
|
621
630
|
"--slotted-font-weight-medium",
|
|
631
|
+
"--slotted-radius-full",
|
|
622
632
|
"--slotted-radius-lg",
|
|
623
633
|
"--slotted-shadow-md",
|
|
624
634
|
"--slotted-space-1",
|
|
635
|
+
"--slotted-space-11",
|
|
625
636
|
"--slotted-space-2",
|
|
626
637
|
"--slotted-space-3",
|
|
627
638
|
"--slotted-space-4",
|
|
@@ -42,6 +42,7 @@ export default function DateTimePickerBasic() {
|
|
|
42
42
|
| `trigger` | button | yes |
|
|
43
43
|
| `positioner` | div, portalled to the end of the document | no |
|
|
44
44
|
| `content` | div with role="dialog" | no |
|
|
45
|
+
| `grip` | span, aria-hidden | no |
|
|
45
46
|
| `head` | div | no |
|
|
46
47
|
| `head-value` | span | no |
|
|
47
48
|
| `now` | button | no |
|
|
@@ -137,7 +138,7 @@ export default function DateTimePickerBasic() {
|
|
|
137
138
|
|
|
138
139
|
## Tokens
|
|
139
140
|
|
|
140
|
-
`--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`
|
|
141
|
+
`--slotted-border-strong`, `--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-drawer-resizer-line-color`, `--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-full`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--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`
|
|
141
142
|
|
|
142
143
|
## Examples
|
|
143
144
|
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
"hidden-input",
|
|
105
105
|
"positioner",
|
|
106
106
|
"content",
|
|
107
|
+
"grip",
|
|
107
108
|
"head",
|
|
108
109
|
"tabs",
|
|
109
110
|
"tab",
|
|
@@ -181,6 +182,12 @@
|
|
|
181
182
|
"required": false,
|
|
182
183
|
"purpose": "The painted surface, carrying role=\"dialog\" and the same name as the trigger. Sized by the calendar and the list, capped at thirty rems and by the room the positioner measured."
|
|
183
184
|
},
|
|
185
|
+
{
|
|
186
|
+
"part": "grip",
|
|
187
|
+
"element": "span, aria-hidden",
|
|
188
|
+
"required": false,
|
|
189
|
+
"purpose": "The pill at the top of the sheet, drawn only while data-presentation is sheet, in the drawer grip’s geometry and line colour. A pull down past half the sheet, or a flick down, closes it with the reason pointer; Escape and the press outside stay the accessible ways out."
|
|
190
|
+
},
|
|
184
191
|
{
|
|
185
192
|
"part": "head",
|
|
186
193
|
"element": "div",
|
|
@@ -723,6 +730,7 @@
|
|
|
723
730
|
}
|
|
724
731
|
},
|
|
725
732
|
"tokens": [
|
|
733
|
+
"--slotted-border-strong",
|
|
726
734
|
"--slotted-border-subtle",
|
|
727
735
|
"--slotted-border-width-thin",
|
|
728
736
|
"--slotted-control-border-color",
|
|
@@ -810,6 +818,7 @@
|
|
|
810
818
|
"--slotted-disabled-background",
|
|
811
819
|
"--slotted-disabled-border",
|
|
812
820
|
"--slotted-disabled-foreground",
|
|
821
|
+
"--slotted-drawer-resizer-line-color",
|
|
813
822
|
"--slotted-duration-medium",
|
|
814
823
|
"--slotted-duration-short",
|
|
815
824
|
"--slotted-easing-enter",
|
|
@@ -825,6 +834,7 @@
|
|
|
825
834
|
"--slotted-font-weight-semibold",
|
|
826
835
|
"--slotted-letter-spacing-wide",
|
|
827
836
|
"--slotted-line-height-sm",
|
|
837
|
+
"--slotted-radius-full",
|
|
828
838
|
"--slotted-radius-lg",
|
|
829
839
|
"--slotted-radius-none",
|
|
830
840
|
"--slotted-radius-pill",
|
|
@@ -832,6 +842,7 @@
|
|
|
832
842
|
"--slotted-radius-xs",
|
|
833
843
|
"--slotted-shadow-md",
|
|
834
844
|
"--slotted-space-1",
|
|
845
|
+
"--slotted-space-11",
|
|
835
846
|
"--slotted-space-2",
|
|
836
847
|
"--slotted-space-3",
|
|
837
848
|
"--slotted-space-4",
|
|
@@ -37,6 +37,7 @@ Excerpt — not a complete module
|
|
|
37
37
|
| `hidden-input` | input | yes |
|
|
38
38
|
| `positioner` | div | no |
|
|
39
39
|
| `content` | div | no |
|
|
40
|
+
| `grip` | span, aria-hidden | no |
|
|
40
41
|
| `head` | div | no |
|
|
41
42
|
| `tabs` | div | no |
|
|
42
43
|
| `tab` | button | no |
|
|
@@ -151,7 +152,7 @@ Excerpt — not a complete module
|
|
|
151
152
|
|
|
152
153
|
## Tokens
|
|
153
154
|
|
|
154
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--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-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-datetime-range-picker-action-active-background`, `--slotted-datetime-range-picker-action-color`, `--slotted-datetime-range-picker-action-hover-background`, `--slotted-datetime-range-picker-action-size`, `--slotted-datetime-range-picker-background`, `--slotted-datetime-range-picker-border-color`, `--slotted-datetime-range-picker-color`, `--slotted-datetime-range-picker-content-border-color`, `--slotted-datetime-range-picker-content-color`, `--slotted-datetime-range-picker-content-max-inline-size`, `--slotted-datetime-range-picker-content-padding`, `--slotted-datetime-range-picker-content-radius`, `--slotted-datetime-range-picker-content-shadow`, `--slotted-datetime-range-picker-current-color`, `--slotted-datetime-range-picker-current-size`, `--slotted-datetime-range-picker-disabled-background`, `--slotted-datetime-range-picker-disabled-border-color`, `--slotted-datetime-range-picker-disabled-color`, `--slotted-datetime-range-picker-done-active-background`, `--slotted-datetime-range-picker-done-background`, `--slotted-datetime-range-picker-done-color`, `--slotted-datetime-range-picker-done-hover-background`, `--slotted-datetime-range-picker-hint-color`, `--slotted-datetime-range-picker-hover-border-color`, `--slotted-datetime-range-picker-invalid-border-color`, `--slotted-datetime-range-picker-invalid-color`, `--slotted-datetime-range-picker-invalid-edge-width`, `--slotted-datetime-range-picker-invalid-focus-ring-color`, `--slotted-datetime-range-picker-label-color`, `--slotted-datetime-range-picker-length-color`, `--slotted-datetime-range-picker-limit-color`, `--slotted-datetime-range-picker-list-block-size`, `--slotted-datetime-range-picker-list-min-inline-size`, `--slotted-datetime-range-picker-now-color`, `--slotted-datetime-range-picker-option-current-background`, `--slotted-datetime-range-picker-option-hover-background`, `--slotted-datetime-range-picker-option-radius`, `--slotted-datetime-range-picker-option-selected-background`, `--slotted-datetime-range-picker-option-selected-color`, `--slotted-datetime-range-picker-option-selected-hover-background`, `--slotted-datetime-range-picker-placeholder-color`, `--slotted-datetime-range-picker-plain-hover-background`, `--slotted-datetime-range-picker-preset-active-background`, `--slotted-datetime-range-picker-preset-background`, `--slotted-datetime-range-picker-preset-hover-background`, `--slotted-datetime-range-picker-preset-radius`, `--slotted-datetime-range-picker-preset-selected-background`, `--slotted-datetime-range-picker-preset-selected-color`, `--slotted-datetime-range-picker-radius`, `--slotted-datetime-range-picker-readonly-background`, `--slotted-datetime-range-picker-shadow`, `--slotted-datetime-range-picker-sheet-inline-size`, `--slotted-datetime-range-picker-subtle-background`, `--slotted-datetime-range-picker-subtle-border-color`, `--slotted-datetime-range-picker-subtle-hover-background`, `--slotted-datetime-range-picker-surface`, `--slotted-datetime-range-picker-tab-block-size`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--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-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-wide`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-pill`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--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-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
155
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--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-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-datetime-range-picker-action-active-background`, `--slotted-datetime-range-picker-action-color`, `--slotted-datetime-range-picker-action-hover-background`, `--slotted-datetime-range-picker-action-size`, `--slotted-datetime-range-picker-background`, `--slotted-datetime-range-picker-border-color`, `--slotted-datetime-range-picker-color`, `--slotted-datetime-range-picker-content-border-color`, `--slotted-datetime-range-picker-content-color`, `--slotted-datetime-range-picker-content-max-inline-size`, `--slotted-datetime-range-picker-content-padding`, `--slotted-datetime-range-picker-content-radius`, `--slotted-datetime-range-picker-content-shadow`, `--slotted-datetime-range-picker-current-color`, `--slotted-datetime-range-picker-current-size`, `--slotted-datetime-range-picker-disabled-background`, `--slotted-datetime-range-picker-disabled-border-color`, `--slotted-datetime-range-picker-disabled-color`, `--slotted-datetime-range-picker-done-active-background`, `--slotted-datetime-range-picker-done-background`, `--slotted-datetime-range-picker-done-color`, `--slotted-datetime-range-picker-done-hover-background`, `--slotted-datetime-range-picker-hint-color`, `--slotted-datetime-range-picker-hover-border-color`, `--slotted-datetime-range-picker-invalid-border-color`, `--slotted-datetime-range-picker-invalid-color`, `--slotted-datetime-range-picker-invalid-edge-width`, `--slotted-datetime-range-picker-invalid-focus-ring-color`, `--slotted-datetime-range-picker-label-color`, `--slotted-datetime-range-picker-length-color`, `--slotted-datetime-range-picker-limit-color`, `--slotted-datetime-range-picker-list-block-size`, `--slotted-datetime-range-picker-list-min-inline-size`, `--slotted-datetime-range-picker-now-color`, `--slotted-datetime-range-picker-option-current-background`, `--slotted-datetime-range-picker-option-hover-background`, `--slotted-datetime-range-picker-option-radius`, `--slotted-datetime-range-picker-option-selected-background`, `--slotted-datetime-range-picker-option-selected-color`, `--slotted-datetime-range-picker-option-selected-hover-background`, `--slotted-datetime-range-picker-placeholder-color`, `--slotted-datetime-range-picker-plain-hover-background`, `--slotted-datetime-range-picker-preset-active-background`, `--slotted-datetime-range-picker-preset-background`, `--slotted-datetime-range-picker-preset-hover-background`, `--slotted-datetime-range-picker-preset-radius`, `--slotted-datetime-range-picker-preset-selected-background`, `--slotted-datetime-range-picker-preset-selected-color`, `--slotted-datetime-range-picker-radius`, `--slotted-datetime-range-picker-readonly-background`, `--slotted-datetime-range-picker-shadow`, `--slotted-datetime-range-picker-sheet-inline-size`, `--slotted-datetime-range-picker-subtle-background`, `--slotted-datetime-range-picker-subtle-border-color`, `--slotted-datetime-range-picker-subtle-hover-background`, `--slotted-datetime-range-picker-surface`, `--slotted-datetime-range-picker-tab-block-size`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-drawer-resizer-line-color`, `--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-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-wide`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-pill`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--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-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
155
156
|
|
|
156
157
|
## Examples
|
|
157
158
|
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"type": "string",
|
|
175
175
|
"defaultValue": "14rem",
|
|
176
176
|
"appliesTo": "DescriptionList",
|
|
177
|
-
"description": "The maximum width of the term column; the terms share one track sized to the widest of them, up to this"
|
|
177
|
+
"description": "The maximum width of the term column, as a length (not a percentage); the terms share one track sized to the widest of them, up to this. A row list narrower than this width plus --slotted-description-list-value-min (12rem) stacks each term over its value"
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"name": "messages",
|
|
@@ -343,6 +343,7 @@
|
|
|
343
343
|
"--slotted-description-list-term-width",
|
|
344
344
|
"--slotted-description-list-toggle-color",
|
|
345
345
|
"--slotted-description-list-underline-offset",
|
|
346
|
+
"--slotted-description-list-value-min",
|
|
346
347
|
"--slotted-focus-ring-color",
|
|
347
348
|
"--slotted-focus-ring-offset",
|
|
348
349
|
"--slotted-focus-ring-width",
|
|
@@ -54,7 +54,7 @@ Excerpt — not a complete module
|
|
|
54
54
|
| `columns` | `1 \| 2 \| 3` | 1 | DescriptionList | How many pairs stand side by side |
|
|
55
55
|
| `variant` | `'plain' \| 'ruled' \| 'framed'` | plain | DescriptionList | Nothing between pairs, a rule between them, or a framed table |
|
|
56
56
|
| `minColumnWidth` | `'sm' \| 'md'` | md | DescriptionList | The narrowest column before the count folds: md holds two columns to 34rem of the list and three to 48rem; sm holds two to 25rem and three to 37.5rem |
|
|
57
|
-
| `termWidth` | `string` | 14rem | DescriptionList | The maximum width of the term column; the terms share one track sized to the widest of them, up to this |
|
|
57
|
+
| `termWidth` | `string` | 14rem | DescriptionList | The maximum width of the term column, as a length (not a percentage); the terms share one track sized to the widest of them, up to this. A row list narrower than this width plus --slotted-description-list-value-min (12rem) stacks each term over its value |
|
|
58
58
|
| `messages` | `PartialMessages<DescriptionListMessages>` | — | DescriptionList | Words laid over the language in force, key by key: copy, copied, copyBlocked, reveal, collapse, placeholder |
|
|
59
59
|
| `span` | `1 \| 2 \| 3` | 1 | DescriptionListItem | How many columns the pair takes, clamped to the count the list has |
|
|
60
60
|
| `clamp` | `number` | 0 | DescriptionListDescription | Lines the value is held to before it is revealed; 0 never clamps |
|
|
@@ -99,7 +99,7 @@ Excerpt — not a complete module
|
|
|
99
99
|
|
|
100
100
|
## Tokens
|
|
101
101
|
|
|
102
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-description-list-cell-padding-block`, `--slotted-description-list-cell-padding-inline`, `--slotted-description-list-clamp`, `--slotted-description-list-color`, `--slotted-description-list-column-gap`, `--slotted-description-list-control-color`, `--slotted-description-list-control-color-complete`, `--slotted-description-list-control-color-hover`, `--slotted-description-list-control-surface-active`, `--slotted-description-list-control-surface-hover`, `--slotted-description-list-font-family`, `--slotted-description-list-font-size`, `--slotted-description-list-frame-radius`, `--slotted-description-list-glyph-size`, `--slotted-description-list-group-gap`, `--slotted-description-list-hint-color`, `--slotted-description-list-hint-font-size`, `--slotted-description-list-line-height`, `--slotted-description-list-placeholder-color`, `--slotted-description-list-radius`, `--slotted-description-list-row-gap`, `--slotted-description-list-rule-color`, `--slotted-description-list-stack-gap`, `--slotted-description-list-surface`, `--slotted-description-list-term-color`, `--slotted-description-list-term-min`, `--slotted-description-list-term-surface`, `--slotted-description-list-term-weight`, `--slotted-description-list-term-width`, `--slotted-description-list-toggle-color`, `--slotted-description-list-underline-offset`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-success-text`
|
|
102
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-description-list-cell-padding-block`, `--slotted-description-list-cell-padding-inline`, `--slotted-description-list-clamp`, `--slotted-description-list-color`, `--slotted-description-list-column-gap`, `--slotted-description-list-control-color`, `--slotted-description-list-control-color-complete`, `--slotted-description-list-control-color-hover`, `--slotted-description-list-control-surface-active`, `--slotted-description-list-control-surface-hover`, `--slotted-description-list-font-family`, `--slotted-description-list-font-size`, `--slotted-description-list-frame-radius`, `--slotted-description-list-glyph-size`, `--slotted-description-list-group-gap`, `--slotted-description-list-hint-color`, `--slotted-description-list-hint-font-size`, `--slotted-description-list-line-height`, `--slotted-description-list-placeholder-color`, `--slotted-description-list-radius`, `--slotted-description-list-row-gap`, `--slotted-description-list-rule-color`, `--slotted-description-list-stack-gap`, `--slotted-description-list-surface`, `--slotted-description-list-term-color`, `--slotted-description-list-term-min`, `--slotted-description-list-term-surface`, `--slotted-description-list-term-weight`, `--slotted-description-list-term-width`, `--slotted-description-list-toggle-color`, `--slotted-description-list-underline-offset`, `--slotted-description-list-value-min`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-success-text`
|
|
103
103
|
|
|
104
104
|
## Examples
|
|
105
105
|
|
package/dist/docs/drawer.json
CHANGED
|
@@ -475,6 +475,8 @@
|
|
|
475
475
|
"--slotted-drawer-extent-xl",
|
|
476
476
|
"--slotted-drawer-footer-backdrop-filter",
|
|
477
477
|
"--slotted-drawer-footer-surface",
|
|
478
|
+
"--slotted-drawer-header-backdrop-filter",
|
|
479
|
+
"--slotted-drawer-header-surface",
|
|
478
480
|
"--slotted-drawer-radius",
|
|
479
481
|
"--slotted-drawer-radius-expanded",
|
|
480
482
|
"--slotted-drawer-resizer-line-active-color",
|
package/dist/docs/drawer.md
CHANGED
|
@@ -181,7 +181,7 @@ export default function DrawerBasic() {
|
|
|
181
181
|
|
|
182
182
|
## Tokens
|
|
183
183
|
|
|
184
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-drawer-backdrop-filter`, `--slotted-drawer-body-color`, `--slotted-drawer-border-color`, `--slotted-drawer-close-active-background`, `--slotted-drawer-close-color`, `--slotted-drawer-close-hover-background`, `--slotted-drawer-color`, `--slotted-drawer-description-color`, `--slotted-drawer-extent`, `--slotted-drawer-extent-lg`, `--slotted-drawer-extent-md`, `--slotted-drawer-extent-sm`, `--slotted-drawer-extent-xl`, `--slotted-drawer-footer-backdrop-filter`, `--slotted-drawer-footer-surface`, `--slotted-drawer-radius`, `--slotted-drawer-radius-expanded`, `--slotted-drawer-resizer-line-active-color`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-rule-color`, `--slotted-drawer-scrim`, `--slotted-drawer-sheet-dim`, `--slotted-drawer-sheet-floor`, `--slotted-drawer-sheet-height`, `--slotted-drawer-sheet-inline-size`, `--slotted-drawer-sheet-travel`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-drawer-title-color`, `--slotted-drawer-title-font-family`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-overlay`
|
|
184
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-icon-size-md`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-drawer-backdrop-filter`, `--slotted-drawer-body-color`, `--slotted-drawer-border-color`, `--slotted-drawer-close-active-background`, `--slotted-drawer-close-color`, `--slotted-drawer-close-hover-background`, `--slotted-drawer-color`, `--slotted-drawer-description-color`, `--slotted-drawer-extent`, `--slotted-drawer-extent-lg`, `--slotted-drawer-extent-md`, `--slotted-drawer-extent-sm`, `--slotted-drawer-extent-xl`, `--slotted-drawer-footer-backdrop-filter`, `--slotted-drawer-footer-surface`, `--slotted-drawer-header-backdrop-filter`, `--slotted-drawer-header-surface`, `--slotted-drawer-radius`, `--slotted-drawer-radius-expanded`, `--slotted-drawer-resizer-line-active-color`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-rule-color`, `--slotted-drawer-scrim`, `--slotted-drawer-sheet-dim`, `--slotted-drawer-sheet-floor`, `--slotted-drawer-sheet-height`, `--slotted-drawer-sheet-inline-size`, `--slotted-drawer-sheet-travel`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-drawer-title-color`, `--slotted-drawer-title-font-family`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-overlay`
|
|
185
185
|
|
|
186
186
|
## Examples
|
|
187
187
|
|
|
@@ -808,6 +808,7 @@
|
|
|
808
808
|
"--slotted-entity-picker-error-color",
|
|
809
809
|
"--slotted-entity-picker-field-basis",
|
|
810
810
|
"--slotted-entity-picker-field-min",
|
|
811
|
+
"--slotted-entity-picker-group-label-height",
|
|
811
812
|
"--slotted-entity-picker-highlight",
|
|
812
813
|
"--slotted-entity-picker-highlight-active",
|
|
813
814
|
"--slotted-entity-picker-highlight-ring",
|
|
@@ -160,7 +160,7 @@ const directory: EntitySource = {
|
|
|
160
160
|
|
|
161
161
|
## Tokens
|
|
162
162
|
|
|
163
|
-
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xs`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-entity-picker-action-active-background`, `--slotted-entity-picker-action-color`, `--slotted-entity-picker-action-hover-background`, `--slotted-entity-picker-action-size`, `--slotted-entity-picker-autofill-background`, `--slotted-entity-picker-background`, `--slotted-entity-picker-border-color`, `--slotted-entity-picker-color`, `--slotted-entity-picker-content-backdrop-filter`, `--slotted-entity-picker-content-border-color`, `--slotted-entity-picker-content-radius`, `--slotted-entity-picker-content-shadow`, `--slotted-entity-picker-content-text`, `--slotted-entity-picker-content-text-muted`, `--slotted-entity-picker-disabled-background`, `--slotted-entity-picker-disabled-border-color`, `--slotted-entity-picker-disabled-color`, `--slotted-entity-picker-error-color`, `--slotted-entity-picker-field-basis`, `--slotted-entity-picker-field-min`, `--slotted-entity-picker-highlight`, `--slotted-entity-picker-highlight-active`, `--slotted-entity-picker-highlight-ring`, `--slotted-entity-picker-hover-border-color`, `--slotted-entity-picker-icon-size-min`, `--slotted-entity-picker-invalid-border-color`, `--slotted-entity-picker-invalid-edge-width`, `--slotted-entity-picker-invalid-focus-ring-color`, `--slotted-entity-picker-item-radius`, `--slotted-entity-picker-measure`, `--slotted-entity-picker-meta-measure`, `--slotted-entity-picker-offer-color`, `--slotted-entity-picker-open-border-color`, `--slotted-entity-picker-placeholder-color`, `--slotted-entity-picker-plain-hover-background`, `--slotted-entity-picker-radius`, `--slotted-entity-picker-readonly-background`, `--slotted-entity-picker-scope-inline-size`, `--slotted-entity-picker-selected-color`, `--slotted-entity-picker-shadow`, `--slotted-entity-picker-subtle-background`, `--slotted-entity-picker-subtle-border-color`, `--slotted-entity-picker-subtle-hover-background`, `--slotted-entity-picker-surface`, `--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-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
163
|
+
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xs`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-entity-picker-action-active-background`, `--slotted-entity-picker-action-color`, `--slotted-entity-picker-action-hover-background`, `--slotted-entity-picker-action-size`, `--slotted-entity-picker-autofill-background`, `--slotted-entity-picker-background`, `--slotted-entity-picker-border-color`, `--slotted-entity-picker-color`, `--slotted-entity-picker-content-backdrop-filter`, `--slotted-entity-picker-content-border-color`, `--slotted-entity-picker-content-radius`, `--slotted-entity-picker-content-shadow`, `--slotted-entity-picker-content-text`, `--slotted-entity-picker-content-text-muted`, `--slotted-entity-picker-disabled-background`, `--slotted-entity-picker-disabled-border-color`, `--slotted-entity-picker-disabled-color`, `--slotted-entity-picker-error-color`, `--slotted-entity-picker-field-basis`, `--slotted-entity-picker-field-min`, `--slotted-entity-picker-group-label-height`, `--slotted-entity-picker-highlight`, `--slotted-entity-picker-highlight-active`, `--slotted-entity-picker-highlight-ring`, `--slotted-entity-picker-hover-border-color`, `--slotted-entity-picker-icon-size-min`, `--slotted-entity-picker-invalid-border-color`, `--slotted-entity-picker-invalid-edge-width`, `--slotted-entity-picker-invalid-focus-ring-color`, `--slotted-entity-picker-item-radius`, `--slotted-entity-picker-measure`, `--slotted-entity-picker-meta-measure`, `--slotted-entity-picker-offer-color`, `--slotted-entity-picker-open-border-color`, `--slotted-entity-picker-placeholder-color`, `--slotted-entity-picker-plain-hover-background`, `--slotted-entity-picker-radius`, `--slotted-entity-picker-readonly-background`, `--slotted-entity-picker-scope-inline-size`, `--slotted-entity-picker-selected-color`, `--slotted-entity-picker-shadow`, `--slotted-entity-picker-subtle-background`, `--slotted-entity-picker-subtle-border-color`, `--slotted-entity-picker-subtle-hover-background`, `--slotted-entity-picker-surface`, `--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-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
164
164
|
|
|
165
165
|
## Examples
|
|
166
166
|
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
"summary": "Fieldset that groups related fields."
|
|
8
8
|
},
|
|
9
9
|
"axes": {
|
|
10
|
+
"kind": [
|
|
11
|
+
"question",
|
|
12
|
+
"section"
|
|
13
|
+
],
|
|
10
14
|
"size": [
|
|
11
15
|
"sm",
|
|
12
16
|
"md",
|
|
@@ -116,7 +120,7 @@
|
|
|
116
120
|
"type": "'question' | 'section'",
|
|
117
121
|
"defaultValue": "question",
|
|
118
122
|
"appliesTo": "FieldGroup",
|
|
119
|
-
"description": "A section names a topic rather than asking something, so its legend draws no necessity
|
|
123
|
+
"description": "A section names a topic rather than asking something, so its legend draws no necessity, its fields keep the style the application set, and its first field stands --slotted-field-group-section-content-gap (1.25rem) below the legend; a question's choices stand --slotted-field-group-content-gap (the field row gap) below it"
|
|
120
124
|
},
|
|
121
125
|
{
|
|
122
126
|
"name": "messages",
|
|
@@ -255,7 +259,9 @@
|
|
|
255
259
|
"--slotted-field-group-mark-gap",
|
|
256
260
|
"--slotted-field-group-mark-text-color",
|
|
257
261
|
"--slotted-field-group-message-gap",
|
|
262
|
+
"--slotted-field-group-section-content-gap",
|
|
258
263
|
"--slotted-field-group-track-min",
|
|
264
|
+
"--slotted-field-row-gap",
|
|
259
265
|
"--slotted-font-family-heading",
|
|
260
266
|
"--slotted-font-family-sans",
|
|
261
267
|
"--slotted-font-size-xs",
|
|
@@ -264,6 +270,7 @@
|
|
|
264
270
|
"--slotted-font-weight-semibold",
|
|
265
271
|
"--slotted-line-height-sm",
|
|
266
272
|
"--slotted-space-2",
|
|
273
|
+
"--slotted-space-3",
|
|
267
274
|
"--slotted-space-6",
|
|
268
275
|
"--slotted-space-7",
|
|
269
276
|
"--slotted-text",
|
package/dist/docs/field-group.md
CHANGED
|
@@ -48,7 +48,7 @@ Excerpt — not a complete module
|
|
|
48
48
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | FieldGroup | The type step of the legend, and the step provided to every field inside. The legend reads the control type scale one step above the labels under it, so a group in a dense table shrinks with them |
|
|
49
49
|
| `orientation` | `'vertical' \| 'horizontal'` | vertical | FieldGroup | How the fields inside flow. A row wraps rather than squeezing, so a field keeps enough width to hold what is being typed into it |
|
|
50
50
|
| `necessity` | `'mark' \| 'optional' \| 'words' \| 'none'` | mark | FieldGroup | How the set’s necessity is said on its legend — an asterisk, (optional) on an optional set only, both words, or nothing — and the style provided to every field inside |
|
|
51
|
-
| `kind` | `'question' \| 'section'` | question | FieldGroup | A section names a topic rather than asking something, so its legend draws no necessity
|
|
51
|
+
| `kind` | `'question' \| 'section'` | question | FieldGroup | A section names a topic rather than asking something, so its legend draws no necessity, its fields keep the style the application set, and its first field stands --slotted-field-group-section-content-gap (1.25rem) below the legend; a question's choices stand --slotted-field-group-content-gap (the field row gap) below it |
|
|
52
52
|
| `messages` | `Partial<FieldMessages>` | — | FieldGroup | Words laid over the language in force for the legend’s necessity word (optional, required); a field inside states its own |
|
|
53
53
|
| `labelPlacement` | `'top' \| 'side'` | from the field provider | FieldGroup | Provided to every field inside. The group has no label of its own, so this is the one axis it carries only to pass on |
|
|
54
54
|
| `required` | `boolean` | — | FieldGroup | Draws the necessity marker on the legend. It is deliberately not provided to the fields: required is a fact about one value, and a section cannot know it |
|
|
@@ -69,6 +69,7 @@ Excerpt — not a complete module
|
|
|
69
69
|
|
|
70
70
|
| Axis | Values | Default |
|
|
71
71
|
| --- | --- | --- |
|
|
72
|
+
| `kind` | `question`, `section` | `question` |
|
|
72
73
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
73
74
|
| `orientation` | `vertical`, `horizontal` | `vertical` |
|
|
74
75
|
| `necessity` | `mark`, `optional`, `words`, `none` | `mark` |
|
|
@@ -84,7 +85,7 @@ Excerpt — not a complete module
|
|
|
84
85
|
|
|
85
86
|
## Tokens
|
|
86
87
|
|
|
87
|
-
`--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-group-content-gap`, `--slotted-field-group-field-gap`, `--slotted-field-group-font-family`, `--slotted-field-group-legend-color`, `--slotted-field-group-legend-font-weight`, `--slotted-field-group-line-height`, `--slotted-field-group-mark-color`, `--slotted-field-group-mark-gap`, `--slotted-field-group-mark-text-color`, `--slotted-field-group-message-gap`, `--slotted-field-group-track-min`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-space-2`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-danger-text`
|
|
88
|
+
`--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-group-content-gap`, `--slotted-field-group-field-gap`, `--slotted-field-group-font-family`, `--slotted-field-group-legend-color`, `--slotted-field-group-legend-font-weight`, `--slotted-field-group-line-height`, `--slotted-field-group-mark-color`, `--slotted-field-group-mark-gap`, `--slotted-field-group-mark-text-color`, `--slotted-field-group-message-gap`, `--slotted-field-group-section-content-gap`, `--slotted-field-group-track-min`, `--slotted-field-row-gap`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-danger-text`
|
|
88
89
|
|
|
89
90
|
## Examples
|
|
90
91
|
|
|
@@ -21,6 +21,7 @@ triggers:
|
|
|
21
21
|
layout,
|
|
22
22
|
section,
|
|
23
23
|
width,
|
|
24
|
+
dialog,
|
|
24
25
|
]
|
|
25
26
|
families:
|
|
26
27
|
[
|
|
@@ -37,6 +38,7 @@ families:
|
|
|
37
38
|
section,
|
|
38
39
|
grid,
|
|
39
40
|
page-header,
|
|
41
|
+
dialog,
|
|
40
42
|
]
|
|
41
43
|
---
|
|
42
44
|
|
|
@@ -232,7 +234,7 @@ Check: In a page 80rem wide, no control of the form is wider than 40rem.
|
|
|
232
234
|
### FM-19 · Two fields share a row only when they are one answer
|
|
233
235
|
|
|
234
236
|
Level: SHOULD
|
|
235
|
-
Applies to: a row of a form that holds more than one field
|
|
237
|
+
Applies to: a row of a form that holds more than one field, except in a form inside a `dialog`, which FM-25 lays out
|
|
236
238
|
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
239
|
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
240
|
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.
|
|
@@ -242,7 +244,7 @@ Check: Every row with two or more fields is one `field-group`, and its legend na
|
|
|
242
244
|
### FM-20 · A field's width says what it expects
|
|
243
245
|
|
|
244
246
|
Level: SHOULD
|
|
245
|
-
Applies to: every field whose answer has a known length
|
|
247
|
+
Applies to: every field whose answer has a known length, except in a form inside a `dialog`, which FM-25 lays out
|
|
246
248
|
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
249
|
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
250
|
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.
|
|
@@ -288,3 +290,13 @@ Why: Help placed away from its question is read after the answer is given, or no
|
|
|
288
290
|
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
291
|
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
292
|
Check: Every help text of the form is a description, a help hint or the aside, and no description runs past one line.
|
|
293
|
+
|
|
294
|
+
### FM-25 · A dialog's form fills its body
|
|
295
|
+
|
|
296
|
+
Level: SHOULD
|
|
297
|
+
Applies to: a form inside a `dialog`, in place of FM-19 and FM-20
|
|
298
|
+
Rule: A form inside a `dialog` takes the dialog's body as its measure, with fields whose answers are short (an amount, a date, a count, a currency) two to a row in two equal columns in the order the reader answers them, each control filling its column, and a field whose answer is long (a name, free text, a picker of records) on a row of its own.
|
|
299
|
+
Why: The dialog's body is narrower than `--slotted-form-measure`, so a width step leaves a control at a fraction of the body, and the form reads as a ragged column of narrow boxes with nothing beside them to compare their widths against.
|
|
300
|
+
Do: Write consecutive short fields in a `grid` of two equal columns inside the form, each `field` at the default `width`, and every long field as a direct child of the form.
|
|
301
|
+
Don't: Set `width` to `short` or `medium` on a field inside a dialog, or leave a short field alone on a row when the next field is short too.
|
|
302
|
+
Check: No control of a dialog's form ends before its column ends, and no row of the form holds one short field while the next field is short.
|
|
@@ -63,6 +63,7 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
63
63
|
| FM-22 | MUST | A set of choices is a `field-group` whose legend asks the question the choices answer. | `forms.md` |
|
|
64
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
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` |
|
|
66
|
+
| FM-25 | SHOULD | A form inside a `dialog` takes the dialog's body as its measure, with fields whose answers are short (an amount, a date, a count, a currency) two to a row in two equal columns in the order the reader answers them, each control filling its column, and a field whose answer is long (a name, free text, a picker of records) on a row of its own. | `forms.md` |
|
|
66
67
|
| LA-01 | SHOULD | A pager under a paged region is aligned to the end of the line. | `layout-alignment.md` |
|
|
67
68
|
| 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` |
|
|
68
69
|
| 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` |
|
|
@@ -91,7 +92,7 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
91
92
|
| OV-01 | SHOULD | The figure leads to the list page of the records it counts, and that list opens with the figure's condition applied as the bar's own pills, which the reader removes like any other. | `overviews.md` |
|
|
92
93
|
| OV-02 | SHOULD | Below 600 pixels the figures are one `list` of rows that are destinations — label, comparison, number — followed by the records to act on, the work in flight, the charts, and the history last. | `overviews.md` |
|
|
93
94
|
| OV-03 | SHOULD | Where the reader's scope holds one category, the chart is not drawn and one sentence states the numbers it would have compared. | `overviews.md` |
|
|
94
|
-
| OV-04 | SHOULD | The thresholds are stated once in words beside the figures, and a figure past one says so in its own comparison line, on the line the placeholder reserves. | `overviews.md` |
|
|
95
|
+
| OV-04 | SHOULD | The thresholds are stated once in words beside the figures, and a figure past one says so in its own comparison line, on the line the placeholder reserves; the card takes `attention` at the threshold's level (`warning` or `danger`). | `overviews.md` |
|
|
95
96
|
| OV-05 | SHOULD | A chart takes the `card` `variant` when it is one of two or more peer tiles in one grid with no section heading of its own, and stays `plain` when it is the body of a titled section or the only content of a tab. | `overviews.md` |
|
|
96
97
|
| OV-06 | SHOULD | The cards of one row carry a label of at most three words, the figure, and the same optional parts on every card — a comparison of one line on each, or on none. | `overviews.md` |
|
|
97
98
|
| OV-07 | SHOULD | The overview is one `dashboard-grid` whose blocks are each one of its widgets, and each headline figure is a widget of its own whose title is the figure's label. | `overviews.md` |
|