@slotted/angular 0.1.0-beta.29 → 0.1.0-beta.30
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/AGENTS.snippet.md +1 -1
- package/docs/accordion.json +5 -5
- package/docs/accordion.md +12 -12
- package/docs/action-bar.json +20 -20
- package/docs/action-bar.md +28 -28
- package/docs/action-sheet.json +4 -4
- package/docs/action-sheet.md +12 -12
- package/docs/alert.json +10 -10
- package/docs/alert.md +16 -16
- package/docs/app-shell.examples.md +7 -7
- package/docs/app-shell.json +13 -13
- package/docs/app-shell.md +3 -3
- package/docs/avatar-group.json +1 -1
- package/docs/avatar-group.md +1 -1
- package/docs/avatar.json +10 -10
- package/docs/avatar.md +9 -9
- package/docs/badge.json +3 -3
- package/docs/badge.md +3 -3
- package/docs/breadcrumb.json +2 -2
- package/docs/breadcrumb.md +2 -2
- package/docs/button-group.json +1 -1
- package/docs/button-group.md +1 -1
- package/docs/button.json +11 -11
- package/docs/button.md +7 -7
- package/docs/calendar.json +4 -4
- package/docs/calendar.md +3 -3
- package/docs/card.json +2 -2
- package/docs/card.md +2 -2
- package/docs/carousel.json +10 -10
- package/docs/carousel.md +11 -11
- package/docs/chart.examples.md +32 -32
- package/docs/chart.json +33 -33
- package/docs/chart.md +4 -4
- package/docs/checkbox-group.examples.md +13 -13
- package/docs/checkbox-group.json +7 -7
- package/docs/checkbox-group.md +2 -2
- package/docs/checkbox.examples.md +7 -7
- package/docs/checkbox.json +6 -6
- package/docs/checkbox.md +3 -3
- package/docs/code-block.json +1 -1
- package/docs/code-block.md +1 -1
- package/docs/collapsible.json +11 -11
- package/docs/collapsible.md +19 -19
- package/docs/color-picker.json +26 -26
- package/docs/color-picker.md +16 -16
- package/docs/combobox.json +2 -2
- package/docs/combobox.md +2 -2
- package/docs/context-menu.json +1 -1
- package/docs/context-menu.md +1 -1
- package/docs/currency-field.examples.md +3 -3
- package/docs/currency-field.json +6 -6
- package/docs/currency-field.md +4 -4
- package/docs/dashboard-grid.json +1 -1
- package/docs/data-grid.examples.md +1 -1
- package/docs/data-grid.json +2 -2
- package/docs/data-grid.props.md +1 -1
- package/docs/date-field.json +3 -3
- package/docs/date-field.md +5 -5
- package/docs/date-picker.json +1 -1
- package/docs/date-range-picker.json +1 -1
- package/docs/datetime-field.json +4 -4
- package/docs/datetime-field.md +9 -9
- package/docs/datetime-picker.json +1 -1
- package/docs/datetime-range-picker.examples.md +3 -3
- package/docs/datetime-range-picker.json +4 -4
- package/docs/datetime-range-picker.md +2 -2
- package/docs/description-list.json +5 -5
- package/docs/description-list.md +4 -4
- package/docs/detail-panel.json +10 -10
- package/docs/detail-panel.md +12 -12
- package/docs/dialog.examples.md +5 -5
- package/docs/dialog.json +10 -10
- package/docs/dialog.md +2 -2
- package/docs/dialog.props.md +2 -2
- package/docs/drawer.examples.md +13 -13
- package/docs/drawer.json +6 -6
- package/docs/event-calendar.examples.md +3 -3
- package/docs/event-calendar.json +5 -5
- package/docs/event-calendar.md +2 -2
- package/docs/field-group.json +6 -6
- package/docs/field-group.md +11 -11
- package/docs/field.examples.md +3 -3
- package/docs/field.json +4 -4
- package/docs/field.md +1 -1
- package/docs/form.json +8 -8
- package/docs/form.md +12 -12
- package/docs/fullscreen.json +4 -4
- package/docs/fullscreen.md +7 -7
- package/docs/guidelines/async-feedback.md +2 -2
- package/docs/guidelines/builders.md +1 -1
- package/docs/guidelines/composition.md +4 -4
- package/docs/guidelines/conversations.md +1 -1
- package/docs/guidelines/index.md +2 -2
- package/docs/guidelines/layout-alignment.md +5 -5
- package/docs/guidelines/overviews.md +3 -3
- package/docs/guidelines/own-elements.md +7 -7
- package/docs/guidelines/record-pages.md +1 -1
- package/docs/highlight.json +9 -9
- package/docs/highlight.md +14 -14
- package/docs/icon.json +2 -2
- package/docs/icon.md +2 -2
- package/docs/image.json +3 -3
- package/docs/image.md +3 -3
- package/docs/import-export-center.json +23 -23
- package/docs/import-export-center.md +17 -17
- package/docs/inline-message.json +15 -15
- package/docs/inline-message.md +22 -22
- package/docs/inline.json +1 -1
- package/docs/inline.md +1 -1
- package/docs/kbd.json +2 -2
- package/docs/kbd.md +2 -2
- package/docs/link.json +6 -6
- package/docs/link.md +6 -6
- package/docs/list-item.json +1 -1
- package/docs/list-item.md +1 -1
- package/docs/list.json +1 -1
- package/docs/listbox.json +1 -1
- package/docs/listbox.md +1 -1
- package/docs/loading-overlay.json +3 -3
- package/docs/loading-overlay.md +3 -3
- package/docs/message-scroller.json +1 -1
- package/docs/message-scroller.md +1 -1
- package/docs/message.json +11 -11
- package/docs/message.md +17 -17
- package/docs/multi-select.json +1 -1
- package/docs/notification-center.json +16 -16
- package/docs/notification-center.md +18 -22
- package/docs/number-field.examples.md +3 -3
- package/docs/number-field.json +3 -3
- package/docs/otp-input.json +10 -10
- package/docs/otp-input.md +13 -13
- package/docs/page-header.json +9 -9
- package/docs/page-header.md +20 -22
- package/docs/pagination.json +2 -2
- package/docs/pagination.md +1 -1
- package/docs/popover.examples.md +1 -1
- package/docs/popover.json +3 -3
- package/docs/popover.md +1 -1
- package/docs/progress-indicator.json +4 -4
- package/docs/progress-indicator.md +4 -4
- package/docs/prompt-composer.json +4 -4
- package/docs/prompt-composer.md +5 -5
- package/docs/prose.json +1 -1
- package/docs/prose.md +1 -1
- package/docs/radio-group.examples.md +19 -19
- package/docs/radio-group.json +12 -12
- package/docs/radio-group.md +3 -3
- package/docs/rating.json +23 -23
- package/docs/rating.md +25 -34
- package/docs/result-state.json +12 -12
- package/docs/result-state.md +17 -17
- package/docs/saved-views.json +1 -1
- package/docs/scroll-area.json +5 -5
- package/docs/scroll-area.md +6 -6
- package/docs/section.json +6 -6
- package/docs/section.md +12 -12
- package/docs/segmented-control.json +14 -14
- package/docs/segmented-control.md +32 -32
- package/docs/skeleton.json +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +3 -3
- package/docs/skills/compose-screen/SKILL.md +2 -2
- package/docs/skills/index.md +2 -2
- package/docs/skills/review-screen/SKILL.md +3 -3
- package/docs/skills/theme-app/SKILL.md +9 -9
- package/docs/skills/waiting-states/SKILL.md +1 -1
- package/docs/slider.json +8 -8
- package/docs/slider.md +12 -12
- package/docs/sparkline.json +8 -8
- package/docs/sparkline.md +6 -6
- package/docs/split-button.json +11 -11
- package/docs/split-button.md +25 -27
- package/docs/stack.json +1 -1
- package/docs/stack.md +1 -1
- package/docs/stat-card.json +3 -3
- package/docs/stat-card.md +2 -2
- package/docs/status-indicator.json +8 -8
- package/docs/status-indicator.md +5 -5
- package/docs/stepper.json +4 -4
- package/docs/stepper.md +4 -4
- package/docs/switch.json +5 -5
- package/docs/switch.md +7 -7
- package/docs/table-of-contents.json +11 -11
- package/docs/table-of-contents.md +12 -12
- package/docs/table.examples.md +1 -1
- package/docs/table.json +1 -1
- package/docs/tabs.json +1 -1
- package/docs/tabs.md +1 -1
- package/docs/tag.json +17 -17
- package/docs/tag.md +14 -14
- package/docs/tags-input.json +1 -1
- package/docs/tags-input.md +1 -1
- package/docs/text-field.examples.md +6 -6
- package/docs/text-field.json +4 -4
- package/docs/textarea.examples.md +7 -7
- package/docs/textarea.json +3 -3
- package/docs/time-field.json +3 -3
- package/docs/time-field.md +6 -6
- package/docs/time-picker.json +5 -5
- package/docs/time-picker.md +6 -6
- package/docs/time-range-picker.examples.md +5 -5
- package/docs/time-range-picker.json +5 -5
- package/docs/time-range-picker.md +1 -1
- package/docs/toast.json +6 -6
- package/docs/toast.md +6 -6
- package/docs/toggle-group.json +12 -12
- package/docs/toggle-group.md +28 -28
- package/docs/toggle.json +8 -8
- package/docs/toggle.md +7 -7
- package/docs/tokens.md +15 -15
- package/docs/toolbar.json +11 -11
- package/docs/toolbar.md +23 -23
- package/docs/tooltip.json +3 -3
- package/docs/tooltip.md +3 -3
- package/docs/top-navigation.examples.md +11 -15
- package/docs/top-navigation.json +9 -9
- package/docs/top-navigation.md +7 -7
- package/docs/tour.json +9 -9
- package/docs/tour.md +6 -6
- package/docs/typography.json +2 -2
- package/docs/typography.md +2 -2
- package/docs/upload.examples.md +3 -3
- package/docs/upload.json +9 -9
- package/docs/upload.md +4 -4
- package/fesm2022/slotted-angular-alert.mjs +2 -2
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +10 -10
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +4 -4
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +3 -3
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +1 -1
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +1 -1
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +2 -2
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +1 -1
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +2 -2
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +1 -1
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +6 -6
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +3 -1
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +2 -2
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +6 -6
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +3 -3
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +3 -3
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +1 -1
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +3 -3
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +2 -2
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +6 -6
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +2 -2
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +1 -1
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +3 -3
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +10 -10
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +4 -4
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +3 -3
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +1 -1
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +2 -2
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +3 -3
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-menu.mjs +2 -2
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +3 -3
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +1 -1
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +2 -2
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +2 -2
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +2 -2
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +5 -5
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +3 -3
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +2 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +2 -2
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +1 -1
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +6 -6
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +2 -2
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +3 -3
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +1 -1
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +2 -2
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +6 -6
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +15 -3
- package/types/slotted-angular-alert.d.ts +3 -3
- package/types/slotted-angular-app-shell.d.ts +4 -4
- package/types/slotted-angular-avatar-group.d.ts +3 -3
- package/types/slotted-angular-avatar.d.ts +6 -6
- package/types/slotted-angular-badge.d.ts +3 -3
- package/types/slotted-angular-breadcrumb.d.ts +1 -1
- package/types/slotted-angular-button-group.d.ts +1 -1
- package/types/slotted-angular-button.d.ts +2 -2
- package/types/slotted-angular-card.d.ts +1 -1
- package/types/slotted-angular-chart.d.ts +2 -2
- package/types/slotted-angular-checkbox.d.ts +1 -1
- package/types/slotted-angular-code-block.d.ts +1 -1
- package/types/slotted-angular-collapsible.d.ts +1 -1
- package/types/slotted-angular-color-picker.d.ts +6 -6
- package/types/slotted-angular-column-manager.d.ts +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +1 -1
- package/types/slotted-angular-data-grid.d.ts +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +1 -1
- package/types/slotted-angular-description-list.d.ts +1 -1
- package/types/slotted-angular-field.d.ts +2 -2
- package/types/slotted-angular-form.d.ts +1 -1
- package/types/slotted-angular-highlight.d.ts +1 -1
- package/types/slotted-angular-icon.d.ts +2 -2
- package/types/slotted-angular-import-export-center.d.ts +9 -9
- package/types/slotted-angular-inline-message.d.ts +3 -3
- package/types/slotted-angular-inline.d.ts +1 -1
- package/types/slotted-angular-kbd.d.ts +1 -1
- package/types/slotted-angular-list.d.ts +1 -1
- package/types/slotted-angular-listbox.d.ts +2 -2
- package/types/slotted-angular-loading-overlay.d.ts +3 -3
- package/types/slotted-angular-menu.d.ts +1 -1
- package/types/slotted-angular-message-scroller.d.ts +1 -1
- package/types/slotted-angular-notification-center.d.ts +4 -4
- package/types/slotted-angular-otp-input.d.ts +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +2 -2
- package/types/slotted-angular-radio-group.d.ts +2 -2
- package/types/slotted-angular-rating.d.ts +2 -2
- package/types/slotted-angular-result-state.d.ts +1 -1
- package/types/slotted-angular-segmented-control.d.ts +2 -2
- package/types/slotted-angular-status-indicator.d.ts +2 -2
- package/types/slotted-angular-switch.d.ts +1 -1
- package/types/slotted-angular-table.d.ts +1 -1
- package/types/slotted-angular-tabs.d.ts +1 -1
- package/types/slotted-angular-tag.d.ts +3 -3
- package/types/slotted-angular-tags-input.d.ts +1 -1
- package/types/slotted-angular-theme.d.ts +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +1 -1
- package/types/slotted-angular-toast.d.ts +4 -4
- package/types/slotted-angular-toggle-group.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-tour.d.ts +2 -2
- package/types/slotted-angular-wizard.d.ts +1 -1
|
@@ -58,13 +58,13 @@ Excerpt — not a complete module
|
|
|
58
58
|
| --- | --- | --- | --- | --- |
|
|
59
59
|
| `items` | `readonly NotificationItem[]` | — | SlNotificationCenter | The consumer’s array: key, title, description, time (a PlainDateTime or an ISO instant), read, href, tone, data. Required. The family holds none of its facts |
|
|
60
60
|
| `view` | `string \| undefined` | all | SlNotificationCenter | The current view, as a model: [(view)] for two-way, [view] alone to read. all shows every shown item; unread the ones whose read is false; any other value what the consumer gave |
|
|
61
|
-
| `defaultView` | `string` | — | SlNotificationCenter | The view an unbound
|
|
61
|
+
| `defaultView` | `string` | — | SlNotificationCenter | The view an unbound center starts on, read once. With neither, the first entry of views |
|
|
62
62
|
| `views` | `readonly { value, label, count? }[]` | all, unread | SlNotificationCenter | The strip’s entries. Unstated, the built-in All and Unread with the unread count; one entry draws no strip |
|
|
63
63
|
| `size` | `'sm' \| 'md'` | md | SlNotificationCenter, provideNotificationCenterDefaults | sm for the popover: the small type steps, tighter insets, the small inner-control box, a floor width of 22rem. md for the page |
|
|
64
64
|
| `level` | `'2' \| '3' \| '4'` | 2 | SlNotificationCenter, provideNotificationCenterDefaults | The rank of the header’s heading; group labels take the rank below |
|
|
65
65
|
| `growing` | `'none' \| 'button' \| 'scroll'` | none | SlNotificationCenter, provideNotificationCenterDefaults | How more is loaded: never, on a button, or when the sentinel under the feed enters the scrollport |
|
|
66
66
|
| `arrivals` | `'hold' \| 'show'` | hold | SlNotificationCenter, provideNotificationCenterDefaults | Whether a key that arrives while focus is in the feed or the feed’s scroller is past its start waits behind fresh. show holds nothing |
|
|
67
|
-
| `timeFormat` | `'relative' \| 'absolute'` | relative | SlNotificationCenter, provideNotificationCenterDefaults | How time is written:
|
|
67
|
+
| `timeFormat` | `'relative' \| 'absolute'` | relative | SlNotificationCenter, provideNotificationCenterDefaults | How time is written: 2 hours ago with the absolute reading in title, or the absolute reading alone |
|
|
68
68
|
| `controls` | `'both' \| 'read' \| 'dismiss' \| 'none'` | both | SlNotificationCenter, provideNotificationCenterDefaults | Which of the family’s two item controls are drawn |
|
|
69
69
|
| `loading` | `boolean` | false | SlNotificationCenter | aria-busy on the feed and data-loading on the host; skeleton rows while nothing is loaded, the waiting row under the feed otherwise |
|
|
70
70
|
| `count` | `number` | — | SlNotificationCenter | How many items exist in all, for aria-setsize. Unstated, the loaded number under growing="none" and -1 while more may come |
|
|
@@ -74,7 +74,7 @@ Excerpt — not a complete module
|
|
|
74
74
|
| `[slNotificationCenterActions], [slNotificationCenterFooter], [slNotificationCenterEmpty]` | `projected elements` | — | inside the host | The consumer’s controls in the header after mark-all; the link from the popover to the page; the result-state in place of the family’s empty words |
|
|
75
75
|
| `ng-template[slNotificationItem], [slNotificationVisual], [slNotificationActions]` | `templates with NotificationItemContext` | — | inside the host | The item’s content, its visual, its actions. The context carries the item as $implicit, the position, the resolved tone, the formatted time and the ids for the title and the description; the article, its wiring and its controls stay the family’s |
|
|
76
76
|
| `exportAs slNotificationCenter` | `SlNotificationCenter` | — | a template reference | focus(), which lands on fresh when arrivals are held and on the first article otherwise; reveal(); markAllRead(); selectView(value, reason) — the last three with the reason programmatic when unstated |
|
|
77
|
-
| `provideNotificationCenterDefaults` | `{ size, level, growing, arrivals, timeFormat, controls, timeZone }` | — | an injector | The decisions an application takes once. A
|
|
77
|
+
| `provideNotificationCenterDefaults` | `{ size, level, growing, arrivals, timeFormat, controls, timeZone }` | — | an injector | The decisions an application takes once. A center that states any of them itself still wins |
|
|
78
78
|
| `host attributes` | `section[slNotificationCenter]` | — | SlNotificationCenter | aria-*, data-*, class, style and listeners reach the section; a consumer’s aria-label or aria-labelledby written on the element replaces the title wiring |
|
|
79
79
|
|
|
80
80
|
## Events
|
|
@@ -107,7 +107,7 @@ Excerpt — not a complete module
|
|
|
107
107
|
|
|
108
108
|
- The governing pattern is the WAI-ARIA Authoring Practices Feed (w3.org/WAI/ARIA/apg/patterns/feed/): the feed is role="feed" named by the title, every item is an article with tabindex="0", aria-labelledby its title, aria-describedby its description, aria-posinset its position and aria-setsize the consumer’s count, the loaded number under growing="none", or -1 while more may come. PageDown and PageUp move between articles, Control+End and Control+Home leave the feed on either side, and the feed is aria-busy while a page is on its way. The keys are @slotted/core/timeline’s, shared with the timeline family.
|
|
109
109
|
- The root is a section — a region — named by aria-labelledby its own heading, Notifications in English, so a reader finds it in the landmark list under the words it shows; a consumer’s aria-label or aria-labelledby written on the element wins. The strip is the tabs family’s list with the feed as its one panel: every tab carries aria-controls naming the feed, and ArrowLeft, ArrowRight, Home and End are the tabs family’s.
|
|
110
|
-
- Read is said three ways and none of them is
|
|
110
|
+
- Read is said three ways and none of them is color alone: the wash under the row, the semibold title, and the read-toggle’s name — Mark as read while unread, Mark as unread once read — so a reader hears the state on the control that changes it. The family’s tone glyphs are all circles; a triangle is refused in this library.
|
|
111
111
|
- Held arrivals are announced politely once per change of their count, and the unread count once per change after the first, through the shared live announcer. A keyboard reveal moves focus to the first revealed article; a keyboard removal moves it to the next article, the previous, or the first control of the region, so focus never lands on a row that left.
|
|
112
112
|
- While loading with nothing loaded, the three skeleton rows are aria-hidden and the feed is busy; the tabs stay, because the views are known before the items are. The article’s focus ring is drawn inward because the rows touch, and every control’s ring outward; the controls are muted at rest and take the text ink on the row under the pointer or holding focus, so they are visible before they are needed and legible when they are.
|
|
113
113
|
|
|
@@ -119,18 +119,18 @@ Excerpt — not a complete module
|
|
|
119
119
|
|
|
120
120
|
### Every part, written out
|
|
121
121
|
|
|
122
|
-
The header with the title, its count and a preferences link; the strip with three views; the feed grouped under
|
|
122
|
+
The header with the title, its count and a preferences link; the strip with three views; the feed grouped under Today and Yesterday with an avatar, a family visual and no visual; a button for more; a footer link. Every part the contract names, in one box.
|
|
123
123
|
|
|
124
124
|
Excerpt — not a complete module
|
|
125
125
|
|
|
126
126
|
```html
|
|
127
127
|
<section slNotificationCenter growing="button" [items]="items()" [views]="views" [groupBy]="dayOf">
|
|
128
|
-
<div slNotificationCenterActions><a slLink href="/
|
|
128
|
+
<div slNotificationCenterActions><a slLink href="/preferences">Preferences</a></div>
|
|
129
129
|
<ng-template slNotificationVisual let-item>
|
|
130
130
|
<span slAvatar decorative [name]="item.data.name" shape="circle" size="sm"></span>
|
|
131
131
|
</ng-template>
|
|
132
132
|
<div slNotificationCenterFooter>
|
|
133
|
-
<a slLink href="/
|
|
133
|
+
<a slLink href="/notifications">See all notifications</a>
|
|
134
134
|
</div>
|
|
135
135
|
</section>
|
|
136
136
|
```
|
|
@@ -219,10 +219,10 @@ Excerpt — not a complete module
|
|
|
219
219
|
|
|
220
220
|
```html
|
|
221
221
|
<section slNotificationCenter controls="dismiss" [items]="items()">
|
|
222
|
-
<div slNotificationCenterActions><a slLink href="/
|
|
222
|
+
<div slNotificationCenterActions><a slLink href="/preferences">Preferences</a></div>
|
|
223
223
|
<ng-template slNotificationActions let-item>
|
|
224
224
|
@if (item.data.shipment) {
|
|
225
|
-
<button slButton size="sm" type="button">
|
|
225
|
+
<button slButton size="sm" type="button">View shipment</button>
|
|
226
226
|
}
|
|
227
227
|
</ng-template>
|
|
228
228
|
</section>
|
|
@@ -230,7 +230,7 @@ Excerpt — not a complete module
|
|
|
230
230
|
|
|
231
231
|
### Hosts
|
|
232
232
|
|
|
233
|
-
The bell is a popover trigger with the store’s unread count — the
|
|
233
|
+
The bell is a popover trigger with the store’s unread count — the center reports the same through unreadChange while it is mounted; inside, the center at size="sm" with a footer to the page. Open it, press PageDown through the articles, press Escape. The page host is the same family at size="md" with groups.
|
|
234
234
|
|
|
235
235
|
Excerpt — not a complete module
|
|
236
236
|
|
|
@@ -240,15 +240,15 @@ Excerpt — not a complete module
|
|
|
240
240
|
slButton
|
|
241
241
|
slPopoverTrigger
|
|
242
242
|
type="button"
|
|
243
|
-
[attr.aria-label]="'
|
|
243
|
+
[attr.aria-label]="'Notifications, ' + unread() + ' unread'"
|
|
244
244
|
>
|
|
245
245
|
<ng-icon name="lucideBell"></ng-icon>
|
|
246
246
|
</button>
|
|
247
247
|
<ng-template slPopoverLayer>
|
|
248
|
-
<div slPopoverContent aria-label="
|
|
248
|
+
<div slPopoverContent aria-label="Notifications">
|
|
249
249
|
<section slNotificationCenter size="sm" level="3" [items]="items()">
|
|
250
250
|
<div slNotificationCenterFooter>
|
|
251
|
-
<a slLink href="/
|
|
251
|
+
<a slLink href="/notifications">See all notifications</a>
|
|
252
252
|
</div>
|
|
253
253
|
</section>
|
|
254
254
|
</div>
|
|
@@ -276,8 +276,8 @@ Excerpt — not a complete module
|
|
|
276
276
|
<section slNotificationCenter [items]="[]">
|
|
277
277
|
<section slNotificationCenterEmpty slResultState status="success" reach="inline" live="off">
|
|
278
278
|
<div slResultStateContent>
|
|
279
|
-
<div slResultStateTitle>
|
|
280
|
-
<p slResultStateDescription>
|
|
279
|
+
<div slResultStateTitle>All caught up</div>
|
|
280
|
+
<p slResultStateDescription>Nothing is waiting for your attention.</p>
|
|
281
281
|
</div>
|
|
282
282
|
</section>
|
|
283
283
|
</section>
|
|
@@ -308,7 +308,7 @@ Excerpt — not a complete module
|
|
|
308
308
|
|
|
309
309
|
### Composition
|
|
310
310
|
|
|
311
|
-
The families a
|
|
311
|
+
The families a center is made of: Avatar in the visual template, Button in the item’s actions and in mark-all, Tabs in the strip, Skeleton while loading, ResultState when empty, Link in the header and the footer. The slNotificationItem template substitutes the content of a row — a Badge with the tone here — while the article, its wiring and its controls stay the family’s.
|
|
312
312
|
|
|
313
313
|
Excerpt — not a complete module
|
|
314
314
|
|
|
@@ -324,7 +324,7 @@ Excerpt — not a complete module
|
|
|
324
324
|
|
|
325
325
|
### Defaults and the instance
|
|
326
326
|
|
|
327
|
-
Two
|
|
327
|
+
Two centers under one provider: neither states a size or a growing mode, and both read small and paged by button; the second states its own controls and wins. The instance, reached through exportAs, focuses the first article, reveals held arrivals and marks every shown item read with the reason programmatic.
|
|
328
328
|
|
|
329
329
|
Excerpt — not a complete module
|
|
330
330
|
|
|
@@ -364,9 +364,5 @@ The region is named by its heading, the feed by the same, every article by its t
|
|
|
364
364
|
Excerpt — not a complete module
|
|
365
365
|
|
|
366
366
|
```html
|
|
367
|
-
<section
|
|
368
|
-
slNotificationCenter
|
|
369
|
-
aria-label="Caixa de entrada da equipa de vendas"
|
|
370
|
-
[items]="items()"
|
|
371
|
-
></section>
|
|
367
|
+
<section slNotificationCenter aria-label="Sales team inbox" [items]="items()"></section>
|
|
372
368
|
```
|
|
@@ -17,7 +17,7 @@ Excerpt — not a complete module
|
|
|
17
17
|
<div slNumberField>
|
|
18
18
|
<input slNumberFieldInput defaultValue="3" min="1" max="99" />
|
|
19
19
|
</div>
|
|
20
|
-
<span slFieldDescription>
|
|
20
|
+
<span slFieldDescription>Maximum of 99 units per order.</span>
|
|
21
21
|
</div>
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -112,7 +112,7 @@ export class NumberFieldVariants {}
|
|
|
112
112
|
|
|
113
113
|
### Where the two buttons sit, and whether they sit at all
|
|
114
114
|
|
|
115
|
-
stacked is one column at the inline end; split puts decrement and increment at either end of the frame with the value
|
|
115
|
+
stacked is one column at the inline end; split puts decrement and increment at either end of the frame with the value centerd between them, which is the only arrangement whose targets clear 24 pixels in both axes.
|
|
116
116
|
|
|
117
117
|
Excerpt — not a complete module
|
|
118
118
|
|
|
@@ -414,7 +414,7 @@ export class NumberFieldScrubExample {}
|
|
|
414
414
|
|
|
415
415
|
### The states the frame paints
|
|
416
416
|
|
|
417
|
-
Read-only keeps full-strength ink and softens its edge, because the value is real and still submitted; disabled is muted to a measured
|
|
417
|
+
Read-only keeps full-strength ink and softens its edge, because the value is real and still submitted; disabled is muted to a measured color rather than faded, and both withdraw the steppers by disabling them rather than removing them.
|
|
418
418
|
|
|
419
419
|
Example
|
|
420
420
|
|
package/docs/number-field.json
CHANGED
|
@@ -470,7 +470,7 @@
|
|
|
470
470
|
"title": "Playground",
|
|
471
471
|
"note": "One control with every axis on it, driven by the controls below the canvas. Type a number, then hold the increment button: it steps once, waits, and then repeats.",
|
|
472
472
|
"language": "html",
|
|
473
|
-
"source": "<div slField>\n <label slFieldLabel>Quantidade</label>\n <div slNumberField>\n <input slNumberFieldInput defaultValue=\"3\" min=\"1\" max=\"99\" />\n </div>\n <span slFieldDescription>
|
|
473
|
+
"source": "<div slField>\n <label slFieldLabel>Quantidade</label>\n <div slNumberField>\n <input slNumberFieldInput defaultValue=\"3\" min=\"1\" max=\"99\" />\n </div>\n <span slFieldDescription>Maximum of 99 units per order.</span>\n</div>\n",
|
|
474
474
|
"verdict": "excerpt"
|
|
475
475
|
},
|
|
476
476
|
{
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
{
|
|
493
493
|
"id": "stepper",
|
|
494
494
|
"title": "Where the two buttons sit, and whether they sit at all",
|
|
495
|
-
"note": "stacked is one column at the inline end; split puts decrement and increment at either end of the frame with the value
|
|
495
|
+
"note": "stacked is one column at the inline end; split puts decrement and increment at either end of the frame with the value centerd between them, which is the only arrangement whose targets clear 24 pixels in both axes.",
|
|
496
496
|
"language": "html",
|
|
497
497
|
"source": "<div slNumberField stepper=\"stacked\"><input slNumberFieldInput defaultValue=\"12\" /></div>\n\n<!-- The arrangement a thumb can hit, and the one a quantity wants. -->\n<div slNumberField stepper=\"split\">\n <input slNumberFieldInput defaultValue=\"3\" min=\"1\" max=\"99\" />\n</div>\n\n<!-- Typed and never spun, which is what a dense table asks for. -->\n<div slNumberField stepper=\"none\"><input slNumberFieldInput defaultValue=\"1480\" /></div>\n",
|
|
498
498
|
"verdict": "excerpt"
|
|
@@ -548,7 +548,7 @@
|
|
|
548
548
|
{
|
|
549
549
|
"id": "states",
|
|
550
550
|
"title": "The states the frame paints",
|
|
551
|
-
"note": "Read-only keeps full-strength ink and softens its edge, because the value is real and still submitted; disabled is muted to a measured
|
|
551
|
+
"note": "Read-only keeps full-strength ink and softens its edge, because the value is real and still submitted; disabled is muted to a measured color rather than faded, and both withdraw the steppers by disabling them rather than removing them.",
|
|
552
552
|
"language": "ts",
|
|
553
553
|
"source": "import { Component } from '@angular/core';\nimport { SlField, SlFieldDescription, SlFieldError, SlFieldLabel } from '@slotted/angular/field';\nimport { SlNumberField, SlNumberFieldInput } from '@slotted/angular/number-field';\nimport { SlStack } from '@slotted/angular/stack';\n\n@Component({\n selector: 'app-number-field-states',\n imports: [\n SlField,\n SlFieldDescription,\n SlFieldError,\n SlFieldLabel,\n SlNumberField,\n SlNumberFieldInput,\n SlStack,\n ],\n template: `\n <div slStack [gap]=\"5\">\n <div slField invalid>\n <label slFieldLabel>Quantity to ship</label>\n <div slNumberField><input slNumberFieldInput defaultValue=\"120\" min=\"1\" /></div>\n <span slFieldError>Only 39 units of Chai are in stock.</span>\n </div>\n <div slField readOnly>\n <label slFieldLabel>Units on order</label>\n <div slNumberField><input slNumberFieldInput defaultValue=\"40\" /></div>\n <span slFieldDescription>Counted from open purchase orders.</span>\n </div>\n <div slField disabled>\n <label slFieldLabel>Units reserved</label>\n <div slNumberField><input slNumberFieldInput defaultValue=\"12\" /></div>\n <span slFieldDescription>Released when the order ships.</span>\n </div>\n </div>\n `,\n})\nexport class NumberFieldStates {}\n",
|
|
554
554
|
"verdict": "example"
|
package/docs/otp-input.json
CHANGED
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"type": "boolean",
|
|
216
216
|
"defaultValue": "from the field, or false",
|
|
217
217
|
"appliesTo": "slOtpInputControl",
|
|
218
|
-
"description": "Unstated rather than false. The native readonly, which stays focusable, selectable and submitted; a readonly attribute the consumer wrote is
|
|
218
|
+
"description": "Unstated rather than false. The native readonly, which stays focusable, selectable and submitted; a readonly attribute the consumer wrote is honored"
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"name": "invalid",
|
|
@@ -300,11 +300,11 @@
|
|
|
300
300
|
],
|
|
301
301
|
"accessibility": [
|
|
302
302
|
"There is no WAI-ARIA APG pattern for a verification code: the APG lists no such entry, so the control is the platform’s own textbox and the sources are the HTML specification for the element, the autocomplete attribute’s one-time-code token, and the WebOTP API.",
|
|
303
|
-
"One control, one tab stop, one accessible name, one value. Ark, Chakra and Mantine render one input per box and pay for it with N tab stops and no real label; here the boxes are aria-hidden paint over one input, so a screen reader hears \"
|
|
303
|
+
"One control, one tab stop, one accessible name, one value. Ark, Chakra and Mantine render one input per box and pay for it with N tab stops and no real label; here the boxes are aria-hidden paint over one input, so a screen reader hears \"Verification code, edit text, 482\" and nothing about boxes.",
|
|
304
304
|
"The control takes its name from the field’s label, through for pointing at the identifier the field derived, and its description and error through aria-describedby merged after anything the consumer wrote.",
|
|
305
|
-
"aria-required, never the native required: the native attribute engages browser constraint validation and changes submit
|
|
306
|
-
"Every key is the browser’s. The family binds nothing — no Escape, no arrow handling — and only
|
|
307
|
-
"The focus ring sits on the box where the cursor is, in the theme’s ring
|
|
305
|
+
"aria-required, never the native required: the native attribute engages browser constraint validation and changes submit behavior. disabled and readonly are native, because that is what those two words mean, and a form’s setDisabledState reaches the same attribute.",
|
|
306
|
+
"Every key is the browser’s. The family binds nothing — no Escape, no arrow handling — and only normalizes the selection after the fact, so a reader who knows a text field knows this one; WCAG 2.1.4 exists for the class of defect single-key shortcuts produce.",
|
|
307
|
+
"The focus ring sits on the box where the cursor is, in the theme’s ring color, and the invalid state retargets that color rather than repainting it. Invalid is never color alone: aria-invalid announces it and the field’s error says it in words.",
|
|
308
308
|
"mask is a platform decision, not paint: the control becomes type=\"password\", so the screen reader counts the characters instead of reading a PIN aloud and the keyboard keeps nothing. The cost is that a password manager may offer to save it; the autocomplete the consumer wrote decides."
|
|
309
309
|
]
|
|
310
310
|
}
|
|
@@ -385,7 +385,7 @@
|
|
|
385
385
|
"title": "Playground",
|
|
386
386
|
"note": "The second step of a sign-in, driven by the controls below the canvas. Type into it: the value is one string, the boxes paint it, and the sixth digit completes it.",
|
|
387
387
|
"language": "html",
|
|
388
|
-
"source": "<div slField>\n <label slFieldLabel>
|
|
388
|
+
"source": "<div slField>\n <label slFieldLabel>Verification code</label>\n <div slOtpInput [groups]=\"[3, 3]\">\n <input slOtpInputControl name=\"code\" (complete)=\"verify($event)\" />\n </div>\n <span slFieldDescription>We sent an SMS to +1 206 •••-4821.</span>\n</div>\n",
|
|
389
389
|
"verdict": "excerpt"
|
|
390
390
|
},
|
|
391
391
|
{
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
"title": "What the code accepts",
|
|
418
418
|
"note": "type decides the characters and the keyboard a phone offers; pattern outranks it per character; transform runs over every edit before the filter. What an edit loses is reported, so the page can say why nothing appeared.",
|
|
419
419
|
"language": "html",
|
|
420
|
-
"source": "<div slOtpInput><input slOtpInputControl type=\"numeric\" /></div>\n<div slOtpInput length=\"8\"><input slOtpInputControl type=\"alphanumeric\" /></div>\n\n<!-- A backup code is printed in uppercase with a prefix nobody types. -->\n<div slOtpInput length=\"8\">\n <input\n slOtpInputControl\n type=\"alphanumeric\"\n [transform]=\"stripPrefix\"\n (rejected)=\"hint = $event.text + '
|
|
420
|
+
"source": "<div slOtpInput><input slOtpInputControl type=\"numeric\" /></div>\n<div slOtpInput length=\"8\"><input slOtpInputControl type=\"alphanumeric\" /></div>\n\n<!-- A backup code is printed in uppercase with a prefix nobody types. -->\n<div slOtpInput length=\"8\">\n <input\n slOtpInputControl\n type=\"alphanumeric\"\n [transform]=\"stripPrefix\"\n (rejected)=\"hint = $event.text + ' is not part of the code'\"\n />\n</div>\n\n<!-- Only the characters a hexadecimal code has. -->\n<div slOtpInput><input slOtpInputControl [pattern]=\"hex\" /></div>\n",
|
|
421
421
|
"verdict": "excerpt"
|
|
422
422
|
},
|
|
423
423
|
{
|
|
@@ -425,13 +425,13 @@
|
|
|
425
425
|
"title": "A code nobody should read over your shoulder",
|
|
426
426
|
"note": "mask makes the control type=\"password\": the platform treats the value as a secret — the screen reader counts characters instead of reading them — and each filled box shows a bullet.",
|
|
427
427
|
"language": "html",
|
|
428
|
-
"source": "<div slField>\n <label slFieldLabel>PIN
|
|
428
|
+
"source": "<div slField>\n <label slFieldLabel>Authorization PIN</label>\n <div slOtpInput length=\"4\" mask attached>\n <input slOtpInputControl autocomplete=\"off\" />\n </div>\n</div>\n",
|
|
429
429
|
"verdict": "excerpt"
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
432
|
"id": "states",
|
|
433
433
|
"title": "The four states the frame paints",
|
|
434
|
-
"note": "Invalid keeps its danger edge on every box while the ring says where the cursor is; read-only keeps full-strength ink and only its ground changes; disabled is muted to a measured
|
|
434
|
+
"note": "Invalid keeps its danger edge on every box while the ring says where the cursor is; read-only keeps full-strength ink and only its ground changes; disabled is muted to a measured color rather than faded, so a disabled form still says what it holds.",
|
|
435
435
|
"language": "html",
|
|
436
436
|
"source": "<!-- Unstated rather than false, so the control defers to its field. -->\n<div slOtpInput><input slOtpInputControl invalid defaultValue=\"482910\" /></div>\n<div slOtpInput><input slOtpInputControl readOnly defaultValue=\"482915\" /></div>\n<div slOtpInput><input slOtpInputControl disabled defaultValue=\"48\" /></div>\n\n<!-- A control inside a disabled fieldset is painted too, because the\n stylesheet matches :disabled beside the attribute. -->\n",
|
|
437
437
|
"verdict": "excerpt"
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
"title": "In a field, with a resend",
|
|
466
466
|
"note": "The field names the control, describes it and carries its error; the resend is a button and a countdown the page owns, because the family has no clock. provideOtpInputDefaults sets the length once for an application whose codes are all four digits.",
|
|
467
467
|
"language": "html",
|
|
468
|
-
"source": "<div slField [invalid]=\"error() !== null\">\n <label slFieldLabel>
|
|
468
|
+
"source": "<div slField [invalid]=\"error() !== null\">\n <label slFieldLabel>Verification code</label>\n <div slOtpInput [groups]=\"[3, 3]\">\n <input slOtpInputControl name=\"code\" (complete)=\"verify($event)\" />\n </div>\n <span slFieldDescription>We sent an SMS to +1 206 •••-4821.</span>\n <span slFieldError>{{ error() }}</span>\n</div>\n<button slButton variant=\"ghost\" [disabled]=\"seconds() > 0\" (click)=\"resend()\">\n {{ seconds() > 0 ? 'Resend in 0:' + pad(seconds()) : 'Resend code' }}\n</button>\n\n<!-- Every code in this application is four digits:\n providers: [provideOtpInputDefaults({ length: 4, attached: true })] -->\n",
|
|
469
469
|
"verdict": "excerpt"
|
|
470
470
|
},
|
|
471
471
|
{
|
package/docs/otp-input.md
CHANGED
|
@@ -21,11 +21,11 @@ Excerpt — not a complete module
|
|
|
21
21
|
|
|
22
22
|
```html
|
|
23
23
|
<div slField>
|
|
24
|
-
<label slFieldLabel>
|
|
24
|
+
<label slFieldLabel>Verification code</label>
|
|
25
25
|
<div slOtpInput [groups]="[3, 3]">
|
|
26
26
|
<input slOtpInputControl name="code" (complete)="verify($event)" />
|
|
27
27
|
</div>
|
|
28
|
-
<span slFieldDescription>
|
|
28
|
+
<span slFieldDescription>We sent an SMS to +1 206 •••-4821.</span>
|
|
29
29
|
</div>
|
|
30
30
|
```
|
|
31
31
|
|
|
@@ -58,7 +58,7 @@ Excerpt — not a complete module
|
|
|
58
58
|
| `autoSubmit` | `boolean` | false | slOtpInputControl | Calls requestSubmit() on the owning form the moment the code is complete |
|
|
59
59
|
| `webOtp` | `boolean` | false | slOtpInputControl | Asks the platform for the code from the SMS where the WebOTP API exists, and abandons the request when the form submits or the directive is destroyed. Opt-in, because the request opens a permission prompt |
|
|
60
60
|
| `disabled` | `boolean` | from the form, the field, or false | slOtpInputControl | Unstated rather than false, so the control defers to the form’s setDisabledState and then to the field. Stated, it wins, and it is the native attribute |
|
|
61
|
-
| `readOnly` | `boolean` | from the field, or false | slOtpInputControl | Unstated rather than false. The native readonly, which stays focusable, selectable and submitted; a readonly attribute the consumer wrote is
|
|
61
|
+
| `readOnly` | `boolean` | from the field, or false | slOtpInputControl | Unstated rather than false. The native readonly, which stays focusable, selectable and submitted; a readonly attribute the consumer wrote is honored |
|
|
62
62
|
| `invalid` | `boolean` | from the field, or false | slOtpInputControl | Unstated rather than false. Writes aria-invalid on the control and data-invalid on the frame |
|
|
63
63
|
| `required` | `boolean` | — | slOtpInputControl | The element’s own attribute, left where the consumer wrote it and never written by the family. A field marks necessity with aria-required instead, because the native attribute engages browser constraint validation |
|
|
64
64
|
| `autocomplete` | `string` | one-time-code | slOtpInputControl | The element’s own attribute, read before the host binding computes; unwritten, the token that asks the keyboard for the code it just received |
|
|
@@ -88,11 +88,11 @@ Excerpt — not a complete module
|
|
|
88
88
|
## Rules
|
|
89
89
|
|
|
90
90
|
- There is no WAI-ARIA APG pattern for a verification code: the APG lists no such entry, so the control is the platform’s own textbox and the sources are the HTML specification for the element, the autocomplete attribute’s one-time-code token, and the WebOTP API.
|
|
91
|
-
- One control, one tab stop, one accessible name, one value. Ark, Chakra and Mantine render one input per box and pay for it with N tab stops and no real label; here the boxes are aria-hidden paint over one input, so a screen reader hears "
|
|
91
|
+
- One control, one tab stop, one accessible name, one value. Ark, Chakra and Mantine render one input per box and pay for it with N tab stops and no real label; here the boxes are aria-hidden paint over one input, so a screen reader hears "Verification code, edit text, 482" and nothing about boxes.
|
|
92
92
|
- The control takes its name from the field’s label, through for pointing at the identifier the field derived, and its description and error through aria-describedby merged after anything the consumer wrote.
|
|
93
|
-
- aria-required, never the native required: the native attribute engages browser constraint validation and changes submit
|
|
94
|
-
- Every key is the browser’s. The family binds nothing — no Escape, no arrow handling — and only
|
|
95
|
-
- The focus ring sits on the box where the cursor is, in the theme’s ring
|
|
93
|
+
- aria-required, never the native required: the native attribute engages browser constraint validation and changes submit behavior. disabled and readonly are native, because that is what those two words mean, and a form’s setDisabledState reaches the same attribute.
|
|
94
|
+
- Every key is the browser’s. The family binds nothing — no Escape, no arrow handling — and only normalizes the selection after the fact, so a reader who knows a text field knows this one; WCAG 2.1.4 exists for the class of defect single-key shortcuts produce.
|
|
95
|
+
- The focus ring sits on the box where the cursor is, in the theme’s ring color, and the invalid state retargets that color rather than repainting it. Invalid is never color alone: aria-invalid announces it and the field’s error says it in words.
|
|
96
96
|
- mask is a platform decision, not paint: the control becomes type="password", so the screen reader counts the characters instead of reading a PIN aloud and the keyboard keeps nothing. The cost is that a password manager may offer to save it; the autocomplete the consumer wrote decides.
|
|
97
97
|
|
|
98
98
|
## Tokens
|
|
@@ -160,7 +160,7 @@ Excerpt — not a complete module
|
|
|
160
160
|
slOtpInputControl
|
|
161
161
|
type="alphanumeric"
|
|
162
162
|
[transform]="stripPrefix"
|
|
163
|
-
(rejected)="hint = $event.text + '
|
|
163
|
+
(rejected)="hint = $event.text + ' is not part of the code'"
|
|
164
164
|
/>
|
|
165
165
|
</div>
|
|
166
166
|
|
|
@@ -176,7 +176,7 @@ Excerpt — not a complete module
|
|
|
176
176
|
|
|
177
177
|
```html
|
|
178
178
|
<div slField>
|
|
179
|
-
<label slFieldLabel>PIN
|
|
179
|
+
<label slFieldLabel>Authorization PIN</label>
|
|
180
180
|
<div slOtpInput length="4" mask attached>
|
|
181
181
|
<input slOtpInputControl autocomplete="off" />
|
|
182
182
|
</div>
|
|
@@ -185,7 +185,7 @@ Excerpt — not a complete module
|
|
|
185
185
|
|
|
186
186
|
### The four states the frame paints
|
|
187
187
|
|
|
188
|
-
Invalid keeps its danger edge on every box while the ring says where the cursor is; read-only keeps full-strength ink and only its ground changes; disabled is muted to a measured
|
|
188
|
+
Invalid keeps its danger edge on every box while the ring says where the cursor is; read-only keeps full-strength ink and only its ground changes; disabled is muted to a measured color rather than faded, so a disabled form still says what it holds.
|
|
189
189
|
|
|
190
190
|
Excerpt — not a complete module
|
|
191
191
|
|
|
@@ -260,15 +260,15 @@ Excerpt — not a complete module
|
|
|
260
260
|
|
|
261
261
|
```html
|
|
262
262
|
<div slField [invalid]="error() !== null">
|
|
263
|
-
<label slFieldLabel>
|
|
263
|
+
<label slFieldLabel>Verification code</label>
|
|
264
264
|
<div slOtpInput [groups]="[3, 3]">
|
|
265
265
|
<input slOtpInputControl name="code" (complete)="verify($event)" />
|
|
266
266
|
</div>
|
|
267
|
-
<span slFieldDescription>
|
|
267
|
+
<span slFieldDescription>We sent an SMS to +1 206 •••-4821.</span>
|
|
268
268
|
<span slFieldError>{{ error() }}</span>
|
|
269
269
|
</div>
|
|
270
270
|
<button slButton variant="ghost" [disabled]="seconds() > 0" (click)="resend()">
|
|
271
|
-
{{ seconds() > 0 ? '
|
|
271
|
+
{{ seconds() > 0 ? 'Resend in 0:' + pad(seconds()) : 'Resend code' }}
|
|
272
272
|
</button>
|
|
273
273
|
|
|
274
274
|
<!-- Every code in this application is four digits:
|
package/docs/page-header.json
CHANGED
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
"part": "marks",
|
|
155
155
|
"element": "the element carrying slPageHeaderMarks",
|
|
156
156
|
"required": false,
|
|
157
|
-
"purpose": "The status beside the heading — an slTag, an slBadge, an slStatusIndicator —
|
|
157
|
+
"purpose": "The status beside the heading — an slTag, an slBadge, an slStatusIndicator — centerd on the heading’s line. It wraps when there are many. Below 600 pixels it takes a line of its own under the heading, so the header is as tall waiting as loaded whatever the marks say."
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"part": "subheading",
|
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
"type": "boolean",
|
|
257
257
|
"defaultValue": "false",
|
|
258
258
|
"appliesTo": "slPageHeader, providePageHeaderDefaults",
|
|
259
|
-
"description": "Once content passes under the chrome (data-stuck), its ground is the theme’s --slotted-surface-material and its backdrop filter --slotted-material-backdrop, in every variant; at rest each variant keeps its ground. --slotted-page-header-background and --slotted-page-header-backdrop-filter still win. The theme makes both opaque under prefers-reduced-transparency and forced
|
|
259
|
+
"description": "Once content passes under the chrome (data-stuck), its ground is the theme’s --slotted-surface-material and its backdrop filter --slotted-material-backdrop, in every variant; at rest each variant keeps its ground. --slotted-page-header-background and --slotted-page-header-backdrop-filter still win. The theme makes both opaque under prefers-reduced-transparency and forced colors"
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"name": "size",
|
|
@@ -472,7 +472,7 @@
|
|
|
472
472
|
"title": "Every part, written out",
|
|
473
473
|
"note": "The way back and the breadcrumbs above; the visual, the heading with its mark and subheading, the actions and the record navigation on the title row; the description and the facts in the area that collapses; the pill on the edge; the tabs under it.",
|
|
474
474
|
"language": "html",
|
|
475
|
-
"source": "<header slPageHeader>\n <div slPageHeaderTitleArea>\n <div slPageHeaderNav>\n <a slPageHeaderBack routerLink=\"/
|
|
475
|
+
"source": "<header slPageHeader>\n <div slPageHeaderTitleArea>\n <div slPageHeaderNav>\n <a slPageHeaderBack routerLink=\"/orders\">Purchase orders</a>\n <div slPageHeaderBreadcrumbs><nav slBreadcrumb>…</nav></div>\n </div>\n <div slPageHeaderTitleRow>\n <span slPageHeaderVisual\n ><span slAvatar name=\"Aurora Logistics\" shape=\"square\" size=\"lg\" [src]=\"logo\"></span\n ></span>\n <div slPageHeaderTitle>\n <h1 slPageHeaderHeading>Purchase order PC-2026-004521</h1>\n <span slPageHeaderMarks\n ><span slTag tone=\"warning\"><span slTagBody>Under review</span></span></span\n >\n <p slPageHeaderSubheading>Aurora Logistics Inc.</p>\n </div>\n <div slPageHeaderActions>\n <div slToolbar aria-label=\"Order actions\" overflow=\"menu\">…</div>\n </div>\n <div slPageHeaderNavigation>…</div>\n </div>\n </div>\n <div slPageHeaderArea>\n <div slPageHeaderFigure>…</div>\n <div slPageHeaderContent><p slPageHeaderDescription>…</p></div>\n </div>\n <div slPageHeaderControls>\n <button slPageHeaderToggle></button>\n <button slPageHeaderPin></button>\n </div>\n <div slPageHeaderTabs><div slTabs>…</div></div>\n</header>\n",
|
|
476
476
|
"verdict": "excerpt"
|
|
477
477
|
},
|
|
478
478
|
{
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
"title": "A title for the bar, and a title for the header",
|
|
497
497
|
"note": "The long title is written for expanded and the short one for snapped; the stylesheet shows one, so the accessibility tree has one heading at a time. Scroll to watch them swap.",
|
|
498
498
|
"language": "html",
|
|
499
|
-
"source": "<div slPageHeaderTitle>\n <h1 slPageHeaderHeading data-when=\"expanded\"
|
|
499
|
+
"source": "<div slPageHeaderTitle>\n <h1 slPageHeaderHeading data-when=\"expanded\">Third-quarter tax compliance report</h1>\n <h1 slPageHeaderHeading data-when=\"snapped\">Tax compliance · Q3</h1>\n <p slPageHeaderSubheading data-when=\"expanded\">Consolidated across the 14 branches</p>\n</div>\n",
|
|
500
500
|
"verdict": "excerpt"
|
|
501
501
|
},
|
|
502
502
|
{
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
"title": "Previous and next record",
|
|
513
513
|
"note": "The two arrows at the far end of the title row move between orders without leaving the screen; the heading, the mark and the subheading follow. Below 600 pixels the pair wraps under the title with the actions.",
|
|
514
514
|
"language": "html",
|
|
515
|
-
"source": "<div slPageHeaderNavigation>\n <button slIconButton aria-label=\"
|
|
515
|
+
"source": "<div slPageHeaderNavigation>\n <button slIconButton aria-label=\"Previous order\" variant=\"ghost\" (click)=\"previous()\">…</button>\n <button slIconButton aria-label=\"Next order\" variant=\"ghost\" (click)=\"next()\">…</button>\n</div>\n",
|
|
516
516
|
"verdict": "excerpt"
|
|
517
517
|
},
|
|
518
518
|
{
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
"title": "Actions that fold",
|
|
521
521
|
"note": "Six actions in an slToolbar with overflow=\"menu\". Drag the stage narrower: what does not fit folds into the toolbar’s menu, in priority order, and the header itself decides nothing about it.",
|
|
522
522
|
"language": "html",
|
|
523
|
-
"source": "<div slPageHeaderActions>\n <div slToolbar aria-label=\"
|
|
523
|
+
"source": "<div slPageHeaderActions>\n <div slToolbar aria-label=\"Order actions\" overflow=\"menu\">\n <div slToolbarItem [slToolbarItemCounterpart]=\"reprovar\">\n <button slButton variant=\"outline\">Reject</button>\n </div>\n <div slToolbarItem><button slButton tone=\"accent\">Aprovar</button></div>\n <sl-toolbar-overflow />\n </div>\n</div>\n<ng-template #reprovar><button slMenuItem>Reprovar</button></ng-template>\n",
|
|
524
524
|
"verdict": "excerpt"
|
|
525
525
|
},
|
|
526
526
|
{
|
|
@@ -528,13 +528,13 @@
|
|
|
528
528
|
"title": "Tabs under the header",
|
|
529
529
|
"note": "The tabs are the last thing in the root, so once the area has scrolled past they sit under the title with nothing between; the body switches with them. Scroll, then switch tabs: the header does not move.",
|
|
530
530
|
"language": "html",
|
|
531
|
-
"source": "<div slPageHeaderTabs>\n <div slTabs [(value)]=\"tab\">\n <div slTabList aria-label=\"
|
|
531
|
+
"source": "<div slPageHeaderTabs>\n <div slTabs [(value)]=\"tab\">\n <div slTabList aria-label=\"Order sections\">\n <div slTab value=\"itens\">Items</div>\n <div slTab value=\"historico\">History</div>\n </div>\n </div>\n</div>\n",
|
|
532
532
|
"verdict": "excerpt"
|
|
533
533
|
},
|
|
534
534
|
{
|
|
535
535
|
"id": "loading",
|
|
536
536
|
"title": "While the record arrives",
|
|
537
|
-
"note": "Press
|
|
537
|
+
"note": "Press Load: the heading, the subheading and the description stand as slSkeletonText of their own width, the root says aria-busy, and the actions stay operable. Nothing moves when the words arrive.",
|
|
538
538
|
"language": "html",
|
|
539
539
|
"source": "<header slPageHeader [loading]=\"order() === undefined\">…</header>\n",
|
|
540
540
|
"verdict": "excerpt"
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
"title": "Content the family did not choose",
|
|
553
553
|
"note": "A nine-word title clamps at two lines; five marks wrap; a subheading of fifteen words wraps expanded and truncates snapped; a translated description keeps its measure. Scroll to see the bar hold one line.",
|
|
554
554
|
"language": "html",
|
|
555
|
-
"source": "<h1 slPageHeaderHeading>\n
|
|
555
|
+
"source": "<h1 slPageHeaderHeading>\n Renewal of the continuing supply contract for tires, tubes and retreading services for the heavy\n fleet of the Southeast region\n</h1>\n",
|
|
556
556
|
"verdict": "excerpt"
|
|
557
557
|
},
|
|
558
558
|
{
|
package/docs/page-header.md
CHANGED
|
@@ -64,7 +64,7 @@ Excerpt — not a complete module
|
|
|
64
64
|
| `expanded` | `model<boolean>` | true | slPageHeader | Whether the header area is open. Two-way, so [(expanded)] follows it; true at rest, pinned or revealed, false while scrolled past or collapsed by the control |
|
|
65
65
|
| `pinned` | `model<boolean>` | false | slPageHeader | Whether the pin holds the area open. Two-way. Pinned, the whole header stays while the page scrolls |
|
|
66
66
|
| `variant` | `'band' \| 'plain' \| 'floating'` | band | slPageHeader, providePageHeaderDefaults | band is a strip of the surface with a hairline under it, the page’s own header; plain paints no ground at rest and takes the surface back once content passes under the chrome (data-stuck), for a header inside a region with a ground of its own; floating is a box with the hairline all round and rounded corners that, once stuck, slides to an inset below the scroller’s edge and lifts by a shadow, for a header that stands inside padding. The ground changes over --slotted-page-header-ground-duration (the medium duration) with --slotted-page-header-ground-easing (the standard easing); a duration of 0s makes the change instant |
|
|
67
|
-
| `material` | `boolean` | false | slPageHeader, providePageHeaderDefaults | Once content passes under the chrome (data-stuck), its ground is the theme’s --slotted-surface-material and its backdrop filter --slotted-material-backdrop, in every variant; at rest each variant keeps its ground. --slotted-page-header-background and --slotted-page-header-backdrop-filter still win. The theme makes both opaque under prefers-reduced-transparency and forced
|
|
67
|
+
| `material` | `boolean` | false | slPageHeader, providePageHeaderDefaults | Once content passes under the chrome (data-stuck), its ground is the theme’s --slotted-surface-material and its backdrop filter --slotted-material-backdrop, in every variant; at rest each variant keeps its ground. --slotted-page-header-background and --slotted-page-header-backdrop-filter still win. The theme makes both opaque under prefers-reduced-transparency and forced colors |
|
|
68
68
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slPageHeader, providePageHeaderDefaults | The step the title sits at, on the type scale. The snapped title takes the step below |
|
|
69
69
|
| `level` | `'1' \| '2' \| '3'` | 1 | slPageHeader, providePageHeaderDefaults | The rank of the heading. A native heading element written by the consumer is left alone; any other element carrying slPageHeaderHeading gets role="heading" and this level |
|
|
70
70
|
| `collapse` | `'scroll' \| 'manual'` | scroll | slPageHeader, providePageHeaderDefaults | scroll collapses the area when it leaves the scrollport and re-opens it when it returns; manual leaves it to the toggle, the pin and the application, and the whole header stays while the page scrolls |
|
|
@@ -123,22 +123,22 @@ Excerpt — not a complete module
|
|
|
123
123
|
<header slPageHeader>
|
|
124
124
|
<div slPageHeaderTitleArea>
|
|
125
125
|
<div slPageHeaderNav>
|
|
126
|
-
<a slPageHeaderBack routerLink="/
|
|
126
|
+
<a slPageHeaderBack routerLink="/orders">Purchase orders</a>
|
|
127
127
|
<div slPageHeaderBreadcrumbs><nav slBreadcrumb>…</nav></div>
|
|
128
128
|
</div>
|
|
129
129
|
<div slPageHeaderTitleRow>
|
|
130
130
|
<span slPageHeaderVisual
|
|
131
|
-
><span slAvatar name="Aurora
|
|
131
|
+
><span slAvatar name="Aurora Logistics" shape="square" size="lg" [src]="logo"></span
|
|
132
132
|
></span>
|
|
133
133
|
<div slPageHeaderTitle>
|
|
134
|
-
<h1 slPageHeaderHeading>
|
|
134
|
+
<h1 slPageHeaderHeading>Purchase order PC-2026-004521</h1>
|
|
135
135
|
<span slPageHeaderMarks
|
|
136
|
-
><span slTag tone="warning"><span slTagBody>
|
|
136
|
+
><span slTag tone="warning"><span slTagBody>Under review</span></span></span
|
|
137
137
|
>
|
|
138
|
-
<p slPageHeaderSubheading>Aurora
|
|
138
|
+
<p slPageHeaderSubheading>Aurora Logistics Inc.</p>
|
|
139
139
|
</div>
|
|
140
140
|
<div slPageHeaderActions>
|
|
141
|
-
<div slToolbar aria-label="
|
|
141
|
+
<div slToolbar aria-label="Order actions" overflow="menu">…</div>
|
|
142
142
|
</div>
|
|
143
143
|
<div slPageHeaderNavigation>…</div>
|
|
144
144
|
</div>
|
|
@@ -183,11 +183,9 @@ Excerpt — not a complete module
|
|
|
183
183
|
|
|
184
184
|
```html
|
|
185
185
|
<div slPageHeaderTitle>
|
|
186
|
-
<h1 slPageHeaderHeading data-when="expanded">
|
|
187
|
-
|
|
188
|
-
</
|
|
189
|
-
<h1 slPageHeaderHeading data-when="snapped">Conformidade fiscal · T3</h1>
|
|
190
|
-
<p slPageHeaderSubheading data-when="expanded">Consolidado das 14 filiais</p>
|
|
186
|
+
<h1 slPageHeaderHeading data-when="expanded">Third-quarter tax compliance report</h1>
|
|
187
|
+
<h1 slPageHeaderHeading data-when="snapped">Tax compliance · Q3</h1>
|
|
188
|
+
<p slPageHeaderSubheading data-when="expanded">Consolidated across the 14 branches</p>
|
|
191
189
|
</div>
|
|
192
190
|
```
|
|
193
191
|
|
|
@@ -209,8 +207,8 @@ Excerpt — not a complete module
|
|
|
209
207
|
|
|
210
208
|
```html
|
|
211
209
|
<div slPageHeaderNavigation>
|
|
212
|
-
<button slIconButton aria-label="
|
|
213
|
-
<button slIconButton aria-label="
|
|
210
|
+
<button slIconButton aria-label="Previous order" variant="ghost" (click)="previous()">…</button>
|
|
211
|
+
<button slIconButton aria-label="Next order" variant="ghost" (click)="next()">…</button>
|
|
214
212
|
</div>
|
|
215
213
|
```
|
|
216
214
|
|
|
@@ -222,9 +220,9 @@ Excerpt — not a complete module
|
|
|
222
220
|
|
|
223
221
|
```html
|
|
224
222
|
<div slPageHeaderActions>
|
|
225
|
-
<div slToolbar aria-label="
|
|
223
|
+
<div slToolbar aria-label="Order actions" overflow="menu">
|
|
226
224
|
<div slToolbarItem [slToolbarItemCounterpart]="reprovar">
|
|
227
|
-
<button slButton variant="outline">
|
|
225
|
+
<button slButton variant="outline">Reject</button>
|
|
228
226
|
</div>
|
|
229
227
|
<div slToolbarItem><button slButton tone="accent">Aprovar</button></div>
|
|
230
228
|
<sl-toolbar-overflow />
|
|
@@ -242,9 +240,9 @@ Excerpt — not a complete module
|
|
|
242
240
|
```html
|
|
243
241
|
<div slPageHeaderTabs>
|
|
244
242
|
<div slTabs [(value)]="tab">
|
|
245
|
-
<div slTabList aria-label="
|
|
246
|
-
<div slTab value="itens">
|
|
247
|
-
<div slTab value="historico">
|
|
243
|
+
<div slTabList aria-label="Order sections">
|
|
244
|
+
<div slTab value="itens">Items</div>
|
|
245
|
+
<div slTab value="historico">History</div>
|
|
248
246
|
</div>
|
|
249
247
|
</div>
|
|
250
248
|
</div>
|
|
@@ -252,7 +250,7 @@ Excerpt — not a complete module
|
|
|
252
250
|
|
|
253
251
|
### While the record arrives
|
|
254
252
|
|
|
255
|
-
Press
|
|
253
|
+
Press Load: the heading, the subheading and the description stand as slSkeletonText of their own width, the root says aria-busy, and the actions stay operable. Nothing moves when the words arrive.
|
|
256
254
|
|
|
257
255
|
Excerpt — not a complete module
|
|
258
256
|
|
|
@@ -283,8 +281,8 @@ Excerpt — not a complete module
|
|
|
283
281
|
|
|
284
282
|
```html
|
|
285
283
|
<h1 slPageHeaderHeading>
|
|
286
|
-
|
|
287
|
-
|
|
284
|
+
Renewal of the continuing supply contract for tires, tubes and retreading services for the heavy
|
|
285
|
+
fleet of the Southeast region
|
|
288
286
|
</h1>
|
|
289
287
|
```
|
|
290
288
|
|
package/docs/pagination.json
CHANGED
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"part": "page-size",
|
|
131
131
|
"element": "select",
|
|
132
132
|
"required": false,
|
|
133
|
-
"purpose": "How many items a page holds. A native select, so its popup follows the
|
|
133
|
+
"purpose": "How many items a page holds. A native select, so its popup follows the color scheme the theme already emits."
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"part": "page-size-label",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"The page being read carries aria-current=\"page\" — the value the ARIA specification names for a link within a set of pagination links — and that attribute is also what paints its fill, so what a screen reader announces and what the eye sees are one fact rather than two.",
|
|
280
280
|
"The range is a polite live region, and it is the only one: a paginator that also announced its label would say the same thing twice. It reports the new range after the page settles, and live=\"off\" silences it where an application announces the page itself.",
|
|
281
281
|
"A trigger at a bound stays in the page rather than disappearing, so the row does not reflow under the pointer. In button mode it takes the native disabled; in link mode it loses its href and says aria-disabled, because an anchor has no disabled attribute and one that kept its destination would still navigate on a middle click.",
|
|
282
|
-
"The page size is a native select wrapped by its own label, which gives the control its accessible name from the platform with no generated id, and its popup follows the
|
|
282
|
+
"The page size is a native select wrapped by its own label, which gives the control its accessible name from the platform with no generated id, and its popup follows the color scheme the theme already emits.",
|
|
283
283
|
"Below 22rem of the family’s own inline size the numbered row is replaced by \"Page 3 of 24\". Both are rendered and exactly one is displayed, so neither is announced twice — and where no summary exists to replace it, as in a cursor paginator, the range is kept instead.",
|
|
284
284
|
"A disabled or loading paginator mutes the current page’s chip into the disabled palette while keeping its shape: the reader still sees which page they are on, and nothing in a greyed row reads as the one thing still operable."
|
|
285
285
|
]
|