@slotted/angular 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/docs/command-palette.json +1 -0
- package/docs/command-palette.md +1 -1
- package/docs/date-picker.json +11 -0
- package/docs/date-picker.md +2 -1
- package/docs/date-range-picker.json +11 -0
- package/docs/date-range-picker.md +2 -1
- package/docs/datetime-picker.json +11 -0
- package/docs/datetime-picker.md +2 -1
- package/docs/datetime-range-picker.json +11 -0
- package/docs/datetime-range-picker.md +2 -1
- package/docs/description-list.json +2 -1
- package/docs/description-list.md +2 -2
- package/docs/drawer.json +2 -0
- package/docs/drawer.md +1 -1
- package/docs/entity-picker.json +1 -0
- package/docs/entity-picker.md +1 -1
- package/docs/field-group.json +8 -1
- package/docs/field-group.md +3 -2
- package/docs/guidelines/forms.md +14 -2
- package/docs/guidelines/index.md +2 -1
- package/docs/guidelines/overviews.md +6 -6
- package/docs/index.md +1 -0
- package/docs/media-viewer.json +521 -0
- package/docs/media-viewer.md +188 -0
- package/docs/skills/theme-app/SKILL.md +8 -2
- package/docs/stat-card.json +16 -1
- package/docs/stat-card.md +3 -1
- package/docs/tag.json +1 -0
- package/docs/tag.md +1 -1
- package/docs/time-picker.json +11 -0
- package/docs/time-picker.md +2 -1
- package/docs/time-range-picker.json +11 -0
- package/docs/time-range-picker.md +2 -1
- package/fesm2022/slotted-angular-attachment.mjs +2 -2
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +2 -2
- package/fesm2022/slotted-angular-cascader.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-date-picker.mjs +25 -2
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +25 -2
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +25 -2
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +25 -2
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +4 -4
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +4 -4
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +2 -2
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +2 -2
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +4 -3
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-media-viewer.mjs +962 -0
- package/fesm2022/slotted-angular-media-viewer.mjs.map +1 -0
- package/fesm2022/slotted-angular-message-scroller.mjs +2 -2
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +4 -4
- package/fesm2022/slotted-angular-message.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-select.mjs +2 -2
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +13 -3
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +2 -2
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +2 -2
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +25 -2
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +25 -2
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/package.json +7 -3
- package/types/slotted-angular-date-picker.d.ts +1 -0
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts +1 -0
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-picker.d.ts +1 -0
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +1 -0
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- package/types/slotted-angular-media-viewer.d.ts +140 -0
- package/types/slotted-angular-media-viewer.d.ts.map +1 -0
- package/types/slotted-angular-stat-card.d.ts +10 -2
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +1 -0
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +1 -0
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
|
@@ -567,6 +567,7 @@
|
|
|
567
567
|
"--slotted-command-palette-backdrop-filter",
|
|
568
568
|
"--slotted-command-palette-border-color",
|
|
569
569
|
"--slotted-command-palette-footer-surface",
|
|
570
|
+
"--slotted-command-palette-group-label-height",
|
|
570
571
|
"--slotted-command-palette-highlight",
|
|
571
572
|
"--slotted-command-palette-highlight-ring",
|
|
572
573
|
"--slotted-command-palette-hover",
|
package/docs/command-palette.md
CHANGED
|
@@ -131,7 +131,7 @@ Excerpt — not a complete module
|
|
|
131
131
|
|
|
132
132
|
## Tokens
|
|
133
133
|
|
|
134
|
-
`--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`
|
|
134
|
+
`--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`
|
|
135
135
|
|
|
136
136
|
## Examples
|
|
137
137
|
|
package/docs/date-picker.json
CHANGED
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"trigger",
|
|
76
76
|
"positioner",
|
|
77
77
|
"content",
|
|
78
|
+
"grip",
|
|
78
79
|
"presets",
|
|
79
80
|
"footer"
|
|
80
81
|
]
|
|
@@ -118,6 +119,12 @@
|
|
|
118
119
|
"required": true,
|
|
119
120
|
"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."
|
|
120
121
|
},
|
|
122
|
+
{
|
|
123
|
+
"part": "grip",
|
|
124
|
+
"element": "span, aria-hidden",
|
|
125
|
+
"required": false,
|
|
126
|
+
"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."
|
|
127
|
+
},
|
|
121
128
|
{
|
|
122
129
|
"part": "presets",
|
|
123
130
|
"element": "your own element carrying slDatePickerPresets",
|
|
@@ -410,6 +417,7 @@
|
|
|
410
417
|
}
|
|
411
418
|
},
|
|
412
419
|
"tokens": [
|
|
420
|
+
"--slotted-border-strong",
|
|
413
421
|
"--slotted-border-subtle",
|
|
414
422
|
"--slotted-border-width-thin",
|
|
415
423
|
"--slotted-control-border-width",
|
|
@@ -436,6 +444,7 @@
|
|
|
436
444
|
"--slotted-date-picker-trigger-hover-background",
|
|
437
445
|
"--slotted-date-picker-trigger-size",
|
|
438
446
|
"--slotted-disabled-foreground",
|
|
447
|
+
"--slotted-drawer-resizer-line-color",
|
|
439
448
|
"--slotted-duration-medium",
|
|
440
449
|
"--slotted-duration-short",
|
|
441
450
|
"--slotted-easing-enter",
|
|
@@ -444,8 +453,10 @@
|
|
|
444
453
|
"--slotted-focus-ring-color-invalid",
|
|
445
454
|
"--slotted-focus-ring-offset",
|
|
446
455
|
"--slotted-focus-ring-width",
|
|
456
|
+
"--slotted-radius-full",
|
|
447
457
|
"--slotted-radius-lg",
|
|
448
458
|
"--slotted-shadow-md",
|
|
459
|
+
"--slotted-space-11",
|
|
449
460
|
"--slotted-space-2",
|
|
450
461
|
"--slotted-space-4",
|
|
451
462
|
"--slotted-space-5",
|
package/docs/date-picker.md
CHANGED
|
@@ -43,6 +43,7 @@ export class DatePickerBasic {}
|
|
|
43
43
|
| `trigger` | button | yes |
|
|
44
44
|
| `positioner` | div, after the control inside the root | yes |
|
|
45
45
|
| `content` | div with role="dialog" | yes |
|
|
46
|
+
| `grip` | span, aria-hidden | no |
|
|
46
47
|
| `presets` | your own element carrying slDatePickerPresets | no |
|
|
47
48
|
| `footer` | your own element carrying slDatePickerFooter | no |
|
|
48
49
|
|
|
@@ -115,7 +116,7 @@ export class DatePickerBasic {}
|
|
|
115
116
|
|
|
116
117
|
## Tokens
|
|
117
118
|
|
|
118
|
-
`--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`
|
|
119
|
+
`--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`
|
|
119
120
|
|
|
120
121
|
## Examples
|
|
121
122
|
|
|
@@ -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",
|
|
@@ -167,6 +168,12 @@
|
|
|
167
168
|
"required": false,
|
|
168
169
|
"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."
|
|
169
170
|
},
|
|
171
|
+
{
|
|
172
|
+
"part": "grip",
|
|
173
|
+
"element": "span, aria-hidden",
|
|
174
|
+
"required": false,
|
|
175
|
+
"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."
|
|
176
|
+
},
|
|
170
177
|
{
|
|
171
178
|
"part": "head",
|
|
172
179
|
"element": "div",
|
|
@@ -542,6 +549,7 @@
|
|
|
542
549
|
}
|
|
543
550
|
},
|
|
544
551
|
"tokens": [
|
|
552
|
+
"--slotted-border-strong",
|
|
545
553
|
"--slotted-border-subtle",
|
|
546
554
|
"--slotted-border-width-thin",
|
|
547
555
|
"--slotted-control-border-color",
|
|
@@ -611,6 +619,7 @@
|
|
|
611
619
|
"--slotted-disabled-background",
|
|
612
620
|
"--slotted-disabled-border",
|
|
613
621
|
"--slotted-disabled-foreground",
|
|
622
|
+
"--slotted-drawer-resizer-line-color",
|
|
614
623
|
"--slotted-duration-medium",
|
|
615
624
|
"--slotted-duration-short",
|
|
616
625
|
"--slotted-easing-enter",
|
|
@@ -625,11 +634,13 @@
|
|
|
625
634
|
"--slotted-font-weight-regular",
|
|
626
635
|
"--slotted-font-weight-semibold",
|
|
627
636
|
"--slotted-line-height-sm",
|
|
637
|
+
"--slotted-radius-full",
|
|
628
638
|
"--slotted-radius-lg",
|
|
629
639
|
"--slotted-radius-none",
|
|
630
640
|
"--slotted-radius-xs",
|
|
631
641
|
"--slotted-shadow-md",
|
|
632
642
|
"--slotted-space-1",
|
|
643
|
+
"--slotted-space-11",
|
|
633
644
|
"--slotted-space-2",
|
|
634
645
|
"--slotted-space-3",
|
|
635
646
|
"--slotted-space-4",
|
|
@@ -47,6 +47,7 @@ export class DateRangePickerBasic {}
|
|
|
47
47
|
| `trigger` | button | yes |
|
|
48
48
|
| `positioner` | div | no |
|
|
49
49
|
| `content` | div with role="dialog" | no |
|
|
50
|
+
| `grip` | span, aria-hidden | no |
|
|
50
51
|
| `head` | div | no |
|
|
51
52
|
| `head-start` | span | no |
|
|
52
53
|
| `head-end` | span | no |
|
|
@@ -135,7 +136,7 @@ export class DateRangePickerBasic {}
|
|
|
135
136
|
|
|
136
137
|
## Tokens
|
|
137
138
|
|
|
138
|
-
`--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`
|
|
139
|
+
`--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`
|
|
139
140
|
|
|
140
141
|
## Examples
|
|
141
142
|
|
|
@@ -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",
|
|
@@ -152,6 +153,12 @@
|
|
|
152
153
|
"required": false,
|
|
153
154
|
"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."
|
|
154
155
|
},
|
|
156
|
+
{
|
|
157
|
+
"part": "grip",
|
|
158
|
+
"element": "span, aria-hidden",
|
|
159
|
+
"required": false,
|
|
160
|
+
"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."
|
|
161
|
+
},
|
|
155
162
|
{
|
|
156
163
|
"part": "head",
|
|
157
164
|
"element": "div",
|
|
@@ -566,6 +573,7 @@
|
|
|
566
573
|
}
|
|
567
574
|
},
|
|
568
575
|
"tokens": [
|
|
576
|
+
"--slotted-border-strong",
|
|
569
577
|
"--slotted-border-subtle",
|
|
570
578
|
"--slotted-border-width-thin",
|
|
571
579
|
"--slotted-control-border-color",
|
|
@@ -611,6 +619,7 @@
|
|
|
611
619
|
"--slotted-datetime-picker-trigger-hover-background",
|
|
612
620
|
"--slotted-datetime-picker-trigger-size",
|
|
613
621
|
"--slotted-disabled-foreground",
|
|
622
|
+
"--slotted-drawer-resizer-line-color",
|
|
614
623
|
"--slotted-duration-medium",
|
|
615
624
|
"--slotted-duration-short",
|
|
616
625
|
"--slotted-easing-enter",
|
|
@@ -621,9 +630,11 @@
|
|
|
621
630
|
"--slotted-focus-ring-width",
|
|
622
631
|
"--slotted-font-size-sm",
|
|
623
632
|
"--slotted-font-weight-medium",
|
|
633
|
+
"--slotted-radius-full",
|
|
624
634
|
"--slotted-radius-lg",
|
|
625
635
|
"--slotted-shadow-md",
|
|
626
636
|
"--slotted-space-1",
|
|
637
|
+
"--slotted-space-11",
|
|
627
638
|
"--slotted-space-2",
|
|
628
639
|
"--slotted-space-3",
|
|
629
640
|
"--slotted-space-4",
|
package/docs/datetime-picker.md
CHANGED
|
@@ -48,6 +48,7 @@ export class DateTimePickerBasic {
|
|
|
48
48
|
| `trigger` | button | yes |
|
|
49
49
|
| `positioner` | div, after the control inside the root | no |
|
|
50
50
|
| `content` | div with role="dialog" | no |
|
|
51
|
+
| `grip` | span, aria-hidden | no |
|
|
51
52
|
| `head` | div | no |
|
|
52
53
|
| `head-value` | span | no |
|
|
53
54
|
| `now` | button | no |
|
|
@@ -143,7 +144,7 @@ export class DateTimePickerBasic {
|
|
|
143
144
|
|
|
144
145
|
## Tokens
|
|
145
146
|
|
|
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
|
+
`--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`
|
|
147
148
|
|
|
148
149
|
## Examples
|
|
149
150
|
|
|
@@ -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",
|
|
@@ -183,6 +184,12 @@
|
|
|
183
184
|
"required": false,
|
|
184
185
|
"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."
|
|
185
186
|
},
|
|
187
|
+
{
|
|
188
|
+
"part": "grip",
|
|
189
|
+
"element": "span, aria-hidden",
|
|
190
|
+
"required": false,
|
|
191
|
+
"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."
|
|
192
|
+
},
|
|
186
193
|
{
|
|
187
194
|
"part": "head",
|
|
188
195
|
"element": "div",
|
|
@@ -732,6 +739,7 @@
|
|
|
732
739
|
}
|
|
733
740
|
},
|
|
734
741
|
"tokens": [
|
|
742
|
+
"--slotted-border-strong",
|
|
735
743
|
"--slotted-border-subtle",
|
|
736
744
|
"--slotted-border-width-thin",
|
|
737
745
|
"--slotted-control-border-color",
|
|
@@ -819,6 +827,7 @@
|
|
|
819
827
|
"--slotted-disabled-background",
|
|
820
828
|
"--slotted-disabled-border",
|
|
821
829
|
"--slotted-disabled-foreground",
|
|
830
|
+
"--slotted-drawer-resizer-line-color",
|
|
822
831
|
"--slotted-duration-medium",
|
|
823
832
|
"--slotted-duration-short",
|
|
824
833
|
"--slotted-easing-enter",
|
|
@@ -834,6 +843,7 @@
|
|
|
834
843
|
"--slotted-font-weight-semibold",
|
|
835
844
|
"--slotted-letter-spacing-wide",
|
|
836
845
|
"--slotted-line-height-sm",
|
|
846
|
+
"--slotted-radius-full",
|
|
837
847
|
"--slotted-radius-lg",
|
|
838
848
|
"--slotted-radius-none",
|
|
839
849
|
"--slotted-radius-pill",
|
|
@@ -841,6 +851,7 @@
|
|
|
841
851
|
"--slotted-radius-xs",
|
|
842
852
|
"--slotted-shadow-md",
|
|
843
853
|
"--slotted-space-1",
|
|
854
|
+
"--slotted-space-11",
|
|
844
855
|
"--slotted-space-2",
|
|
845
856
|
"--slotted-space-3",
|
|
846
857
|
"--slotted-space-4",
|
|
@@ -40,6 +40,7 @@ Excerpt — not a complete module
|
|
|
40
40
|
| `hidden-input` | input | yes |
|
|
41
41
|
| `positioner` | div | no |
|
|
42
42
|
| `content` | div | no |
|
|
43
|
+
| `grip` | span, aria-hidden | no |
|
|
43
44
|
| `head` | div | no |
|
|
44
45
|
| `tabs` | div | no |
|
|
45
46
|
| `tab` | button | no |
|
|
@@ -155,7 +156,7 @@ Excerpt — not a complete module
|
|
|
155
156
|
|
|
156
157
|
## Tokens
|
|
157
158
|
|
|
158
|
-
`--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`
|
|
159
|
+
`--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`
|
|
159
160
|
|
|
160
161
|
## Examples
|
|
161
162
|
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"type": "string",
|
|
177
177
|
"defaultValue": "14rem",
|
|
178
178
|
"appliesTo": "slDescriptionList",
|
|
179
|
-
"description": "The maximum width of the term column; the terms share one track sized to the widest of them, up to this"
|
|
179
|
+
"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"
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"name": "messages",
|
|
@@ -345,6 +345,7 @@
|
|
|
345
345
|
"--slotted-description-list-term-width",
|
|
346
346
|
"--slotted-description-list-toggle-color",
|
|
347
347
|
"--slotted-description-list-underline-offset",
|
|
348
|
+
"--slotted-description-list-value-min",
|
|
348
349
|
"--slotted-focus-ring-color",
|
|
349
350
|
"--slotted-focus-ring-offset",
|
|
350
351
|
"--slotted-focus-ring-width",
|
package/docs/description-list.md
CHANGED
|
@@ -56,7 +56,7 @@ Excerpt — not a complete module
|
|
|
56
56
|
| `columns` | `1 \| 2 \| 3` | 1 | slDescriptionList | How many pairs stand side by side |
|
|
57
57
|
| `variant` | `'plain' \| 'ruled' \| 'framed'` | plain | slDescriptionList | Nothing between pairs, a rule between them, or a framed table |
|
|
58
58
|
| `minColumnWidth` | `'sm' \| 'md'` | md | slDescriptionList | 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 |
|
|
59
|
-
| `termWidth` | `string` | 14rem | slDescriptionList | The maximum width of the term column; the terms share one track sized to the widest of them, up to this |
|
|
59
|
+
| `termWidth` | `string` | 14rem | slDescriptionList | 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 |
|
|
60
60
|
| `messages` | `PartialMessages<DescriptionListMessages>` | — | slDescriptionList | Words laid over the language in force, key by key: copy, copied, copyBlocked, reveal, collapse, placeholder |
|
|
61
61
|
| `span` | `1 \| 2 \| 3` | 1 | slDescriptionListItem | How many columns the pair takes, clamped to the count the list has |
|
|
62
62
|
| `clamp` | `number` | 0 | slDescriptionListDescription | Lines the value is held to before it is revealed; 0 never clamps |
|
|
@@ -101,7 +101,7 @@ Excerpt — not a complete module
|
|
|
101
101
|
|
|
102
102
|
## Tokens
|
|
103
103
|
|
|
104
|
-
`--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`
|
|
104
|
+
`--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`
|
|
105
105
|
|
|
106
106
|
## Examples
|
|
107
107
|
|
package/docs/drawer.json
CHANGED
|
@@ -472,6 +472,8 @@
|
|
|
472
472
|
"--slotted-drawer-extent-xl",
|
|
473
473
|
"--slotted-drawer-footer-backdrop-filter",
|
|
474
474
|
"--slotted-drawer-footer-surface",
|
|
475
|
+
"--slotted-drawer-header-backdrop-filter",
|
|
476
|
+
"--slotted-drawer-header-surface",
|
|
475
477
|
"--slotted-drawer-radius",
|
|
476
478
|
"--slotted-drawer-radius-expanded",
|
|
477
479
|
"--slotted-drawer-resizer-line-active-color",
|
package/docs/drawer.md
CHANGED
|
@@ -194,7 +194,7 @@ export class DrawerBasic {
|
|
|
194
194
|
|
|
195
195
|
## Tokens
|
|
196
196
|
|
|
197
|
-
`--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`
|
|
197
|
+
`--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`
|
|
198
198
|
|
|
199
199
|
## Examples
|
|
200
200
|
|
package/docs/entity-picker.json
CHANGED
|
@@ -756,6 +756,7 @@
|
|
|
756
756
|
"--slotted-entity-picker-error-color",
|
|
757
757
|
"--slotted-entity-picker-field-basis",
|
|
758
758
|
"--slotted-entity-picker-field-min",
|
|
759
|
+
"--slotted-entity-picker-group-label-height",
|
|
759
760
|
"--slotted-entity-picker-highlight",
|
|
760
761
|
"--slotted-entity-picker-highlight-active",
|
|
761
762
|
"--slotted-entity-picker-highlight-ring",
|
package/docs/entity-picker.md
CHANGED
|
@@ -149,7 +149,7 @@ Excerpt — not a complete module
|
|
|
149
149
|
|
|
150
150
|
## Tokens
|
|
151
151
|
|
|
152
|
-
`--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`
|
|
152
|
+
`--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`
|
|
153
153
|
|
|
154
154
|
## Examples
|
|
155
155
|
|
package/docs/field-group.json
CHANGED
|
@@ -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",
|
|
@@ -118,7 +122,7 @@
|
|
|
118
122
|
"type": "'question' | 'section'",
|
|
119
123
|
"defaultValue": "question",
|
|
120
124
|
"appliesTo": "slFieldGroup",
|
|
121
|
-
"description": "A section names a topic rather than asking something, so its legend draws no necessity
|
|
125
|
+
"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"
|
|
122
126
|
},
|
|
123
127
|
{
|
|
124
128
|
"name": "messages",
|
|
@@ -257,7 +261,9 @@
|
|
|
257
261
|
"--slotted-field-group-mark-gap",
|
|
258
262
|
"--slotted-field-group-mark-text-color",
|
|
259
263
|
"--slotted-field-group-message-gap",
|
|
264
|
+
"--slotted-field-group-section-content-gap",
|
|
260
265
|
"--slotted-field-group-track-min",
|
|
266
|
+
"--slotted-field-row-gap",
|
|
261
267
|
"--slotted-font-family-heading",
|
|
262
268
|
"--slotted-font-family-sans",
|
|
263
269
|
"--slotted-font-size-xs",
|
|
@@ -266,6 +272,7 @@
|
|
|
266
272
|
"--slotted-font-weight-semibold",
|
|
267
273
|
"--slotted-line-height-sm",
|
|
268
274
|
"--slotted-space-2",
|
|
275
|
+
"--slotted-space-3",
|
|
269
276
|
"--slotted-space-6",
|
|
270
277
|
"--slotted-space-7",
|
|
271
278
|
"--slotted-text",
|
package/docs/field-group.md
CHANGED
|
@@ -47,7 +47,7 @@ Excerpt — not a complete module
|
|
|
47
47
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slFieldGroup | 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 |
|
|
48
48
|
| `orientation` | `'vertical' \| 'horizontal'` | vertical | slFieldGroup | 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 |
|
|
49
49
|
| `necessity` | `'mark' \| 'optional' \| 'words' \| 'none'` | mark | slFieldGroup | 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 |
|
|
50
|
-
| `kind` | `'question' \| 'section'` | question | slFieldGroup | A section names a topic rather than asking something, so its legend draws no necessity
|
|
50
|
+
| `kind` | `'question' \| 'section'` | question | slFieldGroup | 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 |
|
|
51
51
|
| `messages` | `Partial<FieldMessages>` | — | slFieldGroup | Words laid over the language in force for the legend’s necessity word (optional, required); a field inside states its own |
|
|
52
52
|
| `labelPlacement` | `'top' \| 'side'` | from the field token | slFieldGroup | Provided to every field inside. The group has no label of its own, so this is the one input it carries only to pass on |
|
|
53
53
|
| `required` | `boolean` | — | slFieldGroup | 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 |
|
|
@@ -68,6 +68,7 @@ Excerpt — not a complete module
|
|
|
68
68
|
|
|
69
69
|
| Axis | Values | Default |
|
|
70
70
|
| --- | --- | --- |
|
|
71
|
+
| `kind` | `question`, `section` | `question` |
|
|
71
72
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
72
73
|
| `orientation` | `vertical`, `horizontal` | `vertical` |
|
|
73
74
|
| `necessity` | `mark`, `optional`, `words`, `none` | `mark` |
|
|
@@ -83,7 +84,7 @@ Excerpt — not a complete module
|
|
|
83
84
|
|
|
84
85
|
## Tokens
|
|
85
86
|
|
|
86
|
-
`--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`
|
|
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-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`
|
|
87
88
|
|
|
88
89
|
## Examples
|
|
89
90
|
|
package/docs/guidelines/forms.md
CHANGED
|
@@ -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.
|
package/docs/guidelines/index.md
CHANGED
|
@@ -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` |
|