@slotted/angular 0.1.0-beta.3 → 0.1.0-beta.31
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 +3 -1
- package/docs/accordion.json +5 -5
- package/docs/accordion.md +12 -12
- package/docs/action-bar.json +23 -22
- package/docs/action-bar.md +30 -30
- package/docs/action-sheet.json +391 -64
- package/docs/action-sheet.md +259 -0
- package/docs/alert.json +31 -14
- package/docs/alert.md +29 -18
- package/docs/app-shell.examples.md +8 -8
- package/docs/app-shell.json +38 -21
- package/docs/app-shell.md +9 -7
- package/docs/avatar-group.json +1 -1
- package/docs/avatar-group.md +1 -1
- package/docs/avatar.json +32 -11
- package/docs/avatar.md +13 -11
- package/docs/badge.json +10 -4
- package/docs/badge.md +5 -5
- package/docs/breadcrumb.json +2 -2
- package/docs/breadcrumb.md +2 -2
- package/docs/button-group.json +2 -1
- package/docs/button-group.md +2 -2
- package/docs/button.examples.md +15 -0
- package/docs/button.json +134 -14
- package/docs/button.md +32 -8
- package/docs/calendar.json +31 -6
- package/docs/calendar.md +9 -6
- package/docs/card.json +3 -2
- package/docs/card.md +3 -3
- package/docs/carousel.json +10 -10
- package/docs/carousel.md +11 -11
- package/docs/cascader.json +2 -0
- package/docs/cascader.md +1 -1
- package/docs/chart.examples.md +45 -31
- package/docs/chart.json +40 -35
- package/docs/chart.md +7 -7
- 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 +93 -93
- package/docs/code-block.md +70 -70
- package/docs/collapsible.json +12 -11
- package/docs/collapsible.md +20 -20
- package/docs/color-picker.json +26 -26
- package/docs/color-picker.md +16 -16
- package/docs/combobox.json +6 -2
- package/docs/combobox.md +3 -3
- package/docs/command-palette.json +2 -0
- package/docs/command-palette.md +1 -1
- 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 +14 -6
- package/docs/currency-field.md +6 -5
- package/docs/dashboard-grid.json +53 -10
- package/docs/dashboard-grid.md +18 -6
- package/docs/data-grid.examples.md +3 -3
- package/docs/data-grid.json +37 -11
- package/docs/data-grid.md +2 -1
- package/docs/data-grid.props.md +7 -5
- package/docs/data-list.json +2 -1
- package/docs/data-list.md +1 -1
- package/docs/date-field.json +12 -4
- package/docs/date-field.md +8 -7
- package/docs/date-picker.examples.md +36 -0
- package/docs/date-picker.json +32 -5
- package/docs/date-picker.md +7 -5
- package/docs/date-range-picker.json +11 -0
- package/docs/date-range-picker.md +2 -1
- package/docs/datetime-field.json +5 -4
- package/docs/datetime-field.md +10 -10
- package/docs/datetime-picker.json +11 -1
- package/docs/datetime-picker.md +2 -1
- package/docs/datetime-range-picker.examples.md +3 -3
- package/docs/datetime-range-picker.json +14 -3
- package/docs/datetime-range-picker.md +4 -3
- package/docs/description-list.json +16 -7
- package/docs/description-list.md +8 -7
- package/docs/detail-panel.json +14 -12
- package/docs/detail-panel.md +20 -15
- package/docs/dialog.examples.md +143 -141
- package/docs/dialog.json +58 -24
- package/docs/dialog.md +6 -4
- package/docs/dialog.props.md +9 -7
- package/docs/drawer.examples.md +14 -14
- package/docs/drawer.json +44 -17
- package/docs/drawer.md +10 -8
- package/docs/entity-picker.json +22 -4
- package/docs/entity-picker.md +8 -6
- package/docs/event-calendar.examples.md +3 -3
- package/docs/event-calendar.json +5 -5
- package/docs/event-calendar.md +4 -4
- package/docs/field-group.json +21 -6
- package/docs/field-group.md +14 -12
- package/docs/field.examples.md +3 -3
- package/docs/field.json +20 -5
- package/docs/field.md +4 -2
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/form.json +24 -12
- package/docs/form.md +15 -13
- package/docs/fullscreen.json +4 -4
- package/docs/fullscreen.md +7 -7
- package/docs/guidelines/README.md +2 -2
- package/docs/guidelines/async-feedback.md +25 -4
- package/docs/guidelines/builders.md +1 -1
- package/docs/guidelines/composition.md +37 -11
- package/docs/guidelines/conversations.md +1 -1
- package/docs/guidelines/errors-and-conflicts.md +7 -6
- package/docs/guidelines/forms.md +111 -1
- package/docs/guidelines/index.md +27 -7
- package/docs/guidelines/layout-alignment.md +24 -14
- package/docs/guidelines/list-pages.md +44 -3
- package/docs/guidelines/overviews.md +39 -9
- package/docs/guidelines/own-elements.md +8 -8
- package/docs/guidelines/reading-permissions.md +2 -2
- package/docs/guidelines/record-pages.md +1 -1
- package/docs/guidelines/reports.md +1 -1
- package/docs/highlight.json +9 -9
- package/docs/highlight.md +14 -14
- package/docs/icon.json +5 -3
- package/docs/icon.md +4 -4
- package/docs/image.json +3 -3
- package/docs/image.md +3 -3
- package/docs/import-export-center.json +24 -23
- package/docs/import-export-center.md +18 -18
- package/docs/index.md +3 -2
- package/docs/inline-message.json +34 -21
- package/docs/inline-message.md +32 -30
- package/docs/inline.json +1 -1
- package/docs/inline.md +1 -1
- package/docs/kbd.json +5 -2
- package/docs/kbd.md +3 -3
- package/docs/link.json +22 -6
- package/docs/link.md +9 -7
- package/docs/list-item.json +20 -4
- package/docs/list-item.md +20 -17
- package/docs/list.examples.md +907 -0
- package/docs/list.json +121 -33
- package/docs/list.md +73 -137
- package/docs/listbox.json +1 -2
- package/docs/listbox.md +2 -2
- package/docs/loading-overlay.json +3 -3
- package/docs/loading-overlay.md +3 -3
- package/docs/markdown.json +86 -79
- package/docs/markdown.md +66 -65
- package/docs/media-viewer.json +521 -0
- package/docs/media-viewer.md +188 -0
- package/docs/menu.json +15 -1
- package/docs/menu.md +3 -1
- package/docs/message-scroller.json +2 -2
- package/docs/message-scroller.md +1 -1
- package/docs/message.json +18 -12
- package/docs/message.md +20 -20
- package/docs/multi-select.json +4 -1
- package/docs/multi-select.md +1 -1
- package/docs/navigation-menu.json +1 -0
- package/docs/navigation-menu.md +1 -1
- package/docs/notification-center.json +21 -16
- package/docs/notification-center.md +20 -24
- package/docs/number-field.examples.md +3 -3
- package/docs/number-field.json +4 -3
- package/docs/number-field.md +1 -1
- package/docs/otp-input.json +11 -10
- package/docs/otp-input.md +14 -14
- package/docs/page-header.json +31 -14
- package/docs/page-header.md +25 -25
- package/docs/page.json +4 -2
- package/docs/page.md +3 -2
- package/docs/pagination.json +2 -2
- package/docs/pagination.md +1 -1
- package/docs/popover.examples.md +1 -1
- package/docs/popover.json +5 -3
- package/docs/popover.md +2 -2
- package/docs/progress-indicator.json +7 -5
- package/docs/progress-indicator.md +7 -7
- package/docs/prompt-composer.json +53 -6
- package/docs/prompt-composer.md +12 -6
- 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 +28 -26
- package/docs/rating.md +28 -37
- package/docs/result-state.json +13 -12
- package/docs/result-state.md +18 -18
- package/docs/saved-views.json +1 -1
- package/docs/scroll-area.json +266 -64
- package/docs/scroll-area.md +188 -0
- package/docs/section.json +44 -22
- package/docs/section.md +34 -31
- package/docs/segmented-control.json +21 -25
- package/docs/segmented-control.md +33 -33
- package/docs/select.json +4 -0
- package/docs/select.md +1 -1
- package/docs/side-navigation.json +1 -0
- package/docs/side-navigation.md +1 -1
- package/docs/skeleton.json +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +9 -9
- package/docs/skills/compose-screen/SKILL.md +59 -18
- package/docs/skills/index.md +2 -2
- package/docs/skills/review-screen/SKILL.md +29 -17
- package/docs/skills/theme-app/SKILL.md +66 -20
- package/docs/skills/waiting-states/SKILL.md +15 -11
- package/docs/slider.json +8 -8
- package/docs/slider.md +12 -12
- package/docs/sparkline.json +12 -9
- package/docs/sparkline.md +9 -9
- package/docs/split-button.json +14 -12
- package/docs/split-button.md +28 -30
- package/docs/splitter.json +279 -64
- package/docs/splitter.md +215 -0
- package/docs/stack.json +1 -1
- package/docs/stack.md +1 -1
- package/docs/stat-card.json +36 -9
- package/docs/stat-card.md +11 -8
- package/docs/status-indicator.json +22 -11
- package/docs/status-indicator.md +8 -6
- 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 +13 -12
- package/docs/table-of-contents.md +14 -14
- package/docs/table.examples.md +3 -3
- package/docs/table.json +17 -3
- package/docs/table.md +3 -1
- package/docs/tabs.json +16 -3
- package/docs/tabs.md +3 -2
- package/docs/tag.json +38 -26
- package/docs/tag.md +17 -17
- package/docs/tags-input.json +30 -3
- package/docs/tags-input.md +5 -2
- package/docs/text-field.examples.md +6 -6
- package/docs/text-field.json +6 -5
- package/docs/text-field.md +2 -2
- package/docs/textarea.examples.md +7 -7
- package/docs/textarea.json +4 -3
- package/docs/textarea.md +1 -1
- package/docs/time-field.json +4 -3
- package/docs/time-field.md +7 -7
- package/docs/time-picker.json +15 -5
- package/docs/time-picker.md +8 -7
- package/docs/time-range-picker.examples.md +5 -5
- package/docs/time-range-picker.json +15 -4
- package/docs/time-range-picker.md +3 -2
- package/docs/timeline.json +138 -132
- package/docs/timeline.md +125 -125
- package/docs/toast.json +15 -7
- package/docs/toast.md +8 -8
- 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 +53 -26
- package/docs/toolbar.json +11 -11
- package/docs/toolbar.md +23 -23
- package/docs/tooltip.json +4 -3
- package/docs/tooltip.md +4 -4
- 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 +10 -9
- package/docs/tour.md +7 -7
- package/docs/typography.json +6 -4
- package/docs/typography.md +5 -5
- package/docs/upload.examples.md +3 -3
- package/docs/upload.json +9 -9
- package/docs/upload.md +4 -4
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +27 -12
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +56 -18
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +85 -56
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
- package/fesm2022/slotted-angular-attachment.mjs +33 -22
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +13 -10
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +17 -10
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +15 -11
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +27 -19
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +8 -5
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +163 -28
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +263 -65
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +19 -17
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-carousel.mjs +22 -11
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +179 -65
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +26 -5
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +14 -9
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +30 -16
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +21 -16
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +83 -28
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +71 -32
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +108 -35
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +162 -54
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +100 -34
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +384 -88
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +461 -129
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +78 -27
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +135 -40
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +68 -22
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +49 -17
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +64 -29
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +144 -54
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +47 -24
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +81 -39
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-divider.mjs +7 -5
- package/fesm2022/slotted-angular-divider.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +236 -105
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +262 -105
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +30 -9
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +49 -18
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +111 -44
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +48 -17
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +6 -4
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +6 -4
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-hover-card.mjs +5 -4
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +191 -90
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-image.mjs +13 -10
- package/fesm2022/slotted-angular-image.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +185 -109
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +98 -23
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +7 -5
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs +11 -7
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-link.mjs +13 -4
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +63 -23
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +15 -11
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +41 -23
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +62 -25
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +57 -31
- package/fesm2022/slotted-angular-markdown.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-menu.mjs +62 -39
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +6 -3
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +35 -16
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +119 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +163 -60
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +111 -68
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +24 -12
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +14 -9
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-page-header.mjs +90 -48
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +60 -12
- package/fesm2022/slotted-angular-page.mjs.map +1 -1
- package/fesm2022/slotted-angular-pagination.mjs +35 -22
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +34 -21
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +238 -54
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
- package/fesm2022/slotted-angular-prose.mjs +14 -11
- package/fesm2022/slotted-angular-prose.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +17 -11
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +143 -87
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs +16 -12
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +43 -16
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
- package/fesm2022/slotted-angular-section.mjs +81 -19
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +16 -10
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +189 -69
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-skeleton.mjs +32 -16
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +34 -14
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-sparkline.mjs +41 -14
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +37 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +6 -4
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +120 -41
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +51 -20
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-stepper.mjs +40 -15
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs +15 -10
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +162 -79
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs +42 -18
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +20 -13
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +254 -29
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +55 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs +6 -3
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +55 -20
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +142 -52
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +147 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +50 -38
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +10 -6
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs +9 -4
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-toolbar.mjs +27 -12
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +15 -6
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
- package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +49 -24
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +69 -30
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-tree.mjs +80 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +9 -5
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +127 -59
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +169 -71
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +19 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- package/types/slotted-angular-action-bar.d.ts +2 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +17 -8
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts +10 -8
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
- package/types/slotted-angular-attachment.d.ts +2 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts +3 -3
- package/types/slotted-angular-avatar-group.d.ts.map +1 -1
- package/types/slotted-angular-avatar.d.ts +17 -9
- package/types/slotted-angular-avatar.d.ts.map +1 -1
- package/types/slotted-angular-badge.d.ts +4 -4
- package/types/slotted-angular-badge.d.ts.map +1 -1
- package/types/slotted-angular-breadcrumb.d.ts +1 -1
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts +2 -2
- package/types/slotted-angular-button-group.d.ts.map +1 -1
- package/types/slotted-angular-button.d.ts +45 -12
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +43 -2
- package/types/slotted-angular-calendar.d.ts.map +1 -1
- package/types/slotted-angular-card.d.ts +1 -1
- package/types/slotted-angular-card.d.ts.map +1 -1
- package/types/slotted-angular-carousel.d.ts.map +1 -1
- package/types/slotted-angular-cascader.d.ts.map +1 -1
- package/types/slotted-angular-chart.d.ts +14 -11
- package/types/slotted-angular-chart.d.ts.map +1 -1
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
- package/types/slotted-angular-checkbox.d.ts +1 -1
- package/types/slotted-angular-checkbox.d.ts.map +1 -1
- package/types/slotted-angular-code-block.d.ts +3 -2
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +3 -2
- package/types/slotted-angular-collapsible.d.ts.map +1 -1
- package/types/slotted-angular-color-picker.d.ts +6 -6
- package/types/slotted-angular-color-picker.d.ts.map +1 -1
- 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-combobox.d.ts +6 -1
- package/types/slotted-angular-combobox.d.ts.map +1 -1
- package/types/slotted-angular-command-palette.d.ts +10 -1
- package/types/slotted-angular-command-palette.d.ts.map +1 -1
- package/types/slotted-angular-container.d.ts.map +1 -1
- package/types/slotted-angular-context-menu.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +40 -14
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts +65 -7
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +63 -5
- package/types/slotted-angular-data-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-list.d.ts.map +1 -1
- package/types/slotted-angular-date-field.d.ts +12 -1
- package/types/slotted-angular-date-field.d.ts.map +1 -1
- package/types/slotted-angular-date-picker.d.ts +39 -12
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts +1 -1
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-field.d.ts.map +1 -1
- package/types/slotted-angular-datetime-picker.d.ts +1 -1
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +2 -2
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-description-list.d.ts +12 -4
- package/types/slotted-angular-description-list.d.ts.map +1 -1
- package/types/slotted-angular-detail-panel.d.ts.map +1 -1
- package/types/slotted-angular-dialog.d.ts +11 -3
- package/types/slotted-angular-dialog.d.ts.map +1 -1
- package/types/slotted-angular-divider.d.ts.map +1 -1
- package/types/slotted-angular-drawer.d.ts +29 -3
- package/types/slotted-angular-drawer.d.ts.map +1 -1
- package/types/slotted-angular-entity-picker.d.ts +63 -15
- package/types/slotted-angular-entity-picker.d.ts.map +1 -1
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts +10 -2
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- package/types/slotted-angular-field.d.ts +12 -4
- package/types/slotted-angular-field.d.ts.map +1 -1
- package/types/slotted-angular-filter-bar.d.ts.map +1 -1
- package/types/slotted-angular-form.d.ts +11 -2
- package/types/slotted-angular-form.d.ts.map +1 -1
- package/types/slotted-angular-fullscreen.d.ts.map +1 -1
- package/types/slotted-angular-grid.d.ts.map +1 -1
- package/types/slotted-angular-highlight.d.ts +1 -1
- package/types/slotted-angular-highlight.d.ts.map +1 -1
- package/types/slotted-angular-hover-card.d.ts.map +1 -1
- package/types/slotted-angular-icon.d.ts +15 -5
- package/types/slotted-angular-icon.d.ts.map +1 -1
- package/types/slotted-angular-image.d.ts.map +1 -1
- package/types/slotted-angular-import-export-center.d.ts +9 -9
- package/types/slotted-angular-import-export-center.d.ts.map +1 -1
- package/types/slotted-angular-inline-message.d.ts +32 -31
- package/types/slotted-angular-inline-message.d.ts.map +1 -1
- package/types/slotted-angular-inline.d.ts +1 -1
- package/types/slotted-angular-inline.d.ts.map +1 -1
- package/types/slotted-angular-kbd.d.ts +1 -1
- package/types/slotted-angular-kbd.d.ts.map +1 -1
- package/types/slotted-angular-link.d.ts +8 -2
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts +5 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +1 -1
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-listbox.d.ts +2 -2
- package/types/slotted-angular-listbox.d.ts.map +1 -1
- package/types/slotted-angular-loading-overlay.d.ts +3 -3
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
- package/types/slotted-angular-markdown.d.ts +6 -1
- package/types/slotted-angular-markdown.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-menu.d.ts +17 -3
- package/types/slotted-angular-menu.d.ts.map +1 -1
- package/types/slotted-angular-menubar.d.ts +5 -4
- package/types/slotted-angular-menubar.d.ts.map +1 -1
- package/types/slotted-angular-message-scroller.d.ts +1 -1
- package/types/slotted-angular-message-scroller.d.ts.map +1 -1
- package/types/slotted-angular-message.d.ts +1 -1
- package/types/slotted-angular-message.d.ts.map +1 -1
- package/types/slotted-angular-multi-select.d.ts +6 -1
- package/types/slotted-angular-multi-select.d.ts.map +1 -1
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
- package/types/slotted-angular-notification-center.d.ts +5 -5
- package/types/slotted-angular-notification-center.d.ts.map +1 -1
- package/types/slotted-angular-number-field.d.ts.map +1 -1
- package/types/slotted-angular-otp-input.d.ts +1 -1
- package/types/slotted-angular-otp-input.d.ts.map +1 -1
- package/types/slotted-angular-page-header.d.ts +15 -6
- package/types/slotted-angular-page-header.d.ts.map +1 -1
- package/types/slotted-angular-page.d.ts +7 -1
- package/types/slotted-angular-page.d.ts.map +1 -1
- package/types/slotted-angular-pagination.d.ts.map +1 -1
- package/types/slotted-angular-popover.d.ts.map +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +10 -3
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts +35 -3
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
- package/types/slotted-angular-prose.d.ts.map +1 -1
- package/types/slotted-angular-radio-group.d.ts +2 -2
- package/types/slotted-angular-radio-group.d.ts.map +1 -1
- package/types/slotted-angular-rating.d.ts +3 -3
- package/types/slotted-angular-rating.d.ts.map +1 -1
- package/types/slotted-angular-result-state.d.ts +1 -1
- package/types/slotted-angular-result-state.d.ts.map +1 -1
- package/types/slotted-angular-saved-views.d.ts.map +1 -1
- package/types/slotted-angular-scroll-area.d.ts.map +1 -1
- package/types/slotted-angular-section.d.ts +14 -4
- package/types/slotted-angular-section.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts +2 -2
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +13 -2
- package/types/slotted-angular-select.d.ts.map +1 -1
- package/types/slotted-angular-side-navigation.d.ts.map +1 -1
- package/types/slotted-angular-skeleton.d.ts.map +1 -1
- package/types/slotted-angular-slider.d.ts.map +1 -1
- package/types/slotted-angular-sparkline.d.ts +7 -1
- package/types/slotted-angular-sparkline.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts +2 -2
- package/types/slotted-angular-split-button.d.ts.map +1 -1
- package/types/slotted-angular-splitter.d.ts.map +1 -1
- package/types/slotted-angular-stack.d.ts.map +1 -1
- package/types/slotted-angular-stat-card.d.ts +31 -7
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +15 -5
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +2 -1
- package/types/slotted-angular-stepper.d.ts.map +1 -1
- package/types/slotted-angular-switch.d.ts +1 -1
- package/types/slotted-angular-switch.d.ts.map +1 -1
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
- package/types/slotted-angular-table.d.ts +21 -4
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-tabs.d.ts +4 -5
- package/types/slotted-angular-tabs.d.ts.map +1 -1
- package/types/slotted-angular-tag.d.ts +5 -5
- package/types/slotted-angular-tag.d.ts.map +1 -1
- package/types/slotted-angular-tags-input.d.ts +34 -2
- package/types/slotted-angular-tags-input.d.ts.map +1 -1
- package/types/slotted-angular-text-field.d.ts.map +1 -1
- package/types/slotted-angular-textarea.d.ts.map +1 -1
- package/types/slotted-angular-theme.d.ts +8 -6
- package/types/slotted-angular-theme.d.ts.map +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +1 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +2 -2
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-timeline.d.ts +1 -1
- package/types/slotted-angular-timeline.d.ts.map +1 -1
- package/types/slotted-angular-toast.d.ts +9 -7
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts +1 -1
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
- package/types/slotted-angular-toolbar.d.ts +2 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts +2 -2
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts +1 -1
- package/types/slotted-angular-typography.d.ts.map +1 -1
- package/types/slotted-angular-upload.d.ts +4 -2
- package/types/slotted-angular-upload.d.ts.map +1 -1
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
- package/types/slotted-angular-wizard.d.ts +1 -1
- package/types/slotted-angular-wizard.d.ts.map +1 -1
package/docs/result-state.json
CHANGED
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"type": "'center' | 'start'",
|
|
140
140
|
"defaultValue": "center",
|
|
141
141
|
"appliesTo": "slResultState",
|
|
142
|
-
"description": "Whether the region reads
|
|
142
|
+
"description": "Whether the region reads centerd or from the inline edge. start is for a data-dense screen, where a centerd column reads as an interruption"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"name": "live",
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
"There is no APG pattern for this family: the Authoring Practices list holds no empty, error or result state, and the nearest official guidance is the Region landmark practice, which states that “a region landmark must have a label”. The root is a section and the attribute is written only once a title exists, so an unlabelled region is a plain grouping element rather than a landmark with no name.",
|
|
213
213
|
"The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and this family has a row of buttons in it. The region that announces is slResultStateContent, which holds the title and the description alone; the mark, the actions and the footer are its siblings.",
|
|
214
214
|
"live defaults to polite, which is the one place this family and alert disagree. WCAG 2.2’s Understanding document for SC 4.1.3 names this family’s own text as its example: “brief text messages displayed about the completion or status of the search, such as ‘Searching…’, ‘18 results returned’ or ‘No results returned’ would be status updates”. An alert may be a standing notice that was on the page before it loaded; a result is always the outcome of an operation. None of the seven surveyed implementations writes a live role of any kind.",
|
|
215
|
-
"Status is never carried by
|
|
215
|
+
"Status is never carried by color alone, because the family paints no color for it: what happened is in the title and the description, which forced colors leave legible. The illustrations keep the theme’s system-color mapping under forced colors, so a stack is still three layers and not three outlines laid over one another.",
|
|
216
216
|
"The media box is hidden from assistive technology, with the projected glyph, the drawing made around it and any artwork the page supplies. The title and the description already say what the picture says; an illustration that adds information is not decorative, and what it adds belongs in the description.",
|
|
217
217
|
"The root carries tabindex=\"-1\" and is not in the tab sequence. A template that has just emptied a table calls focus() on the instance exportAs gives it; the family never does it, because moving focus unprompted is a change of context nobody asked for. A tabindex the page wrote is read with HostAttributeToken and kept.",
|
|
218
218
|
"The family holds no mutable value, so it has no model(), no output() and no ControlValueAccessor. Which status a region is in is a fact about the consumer’s own data — a region that decided it would be deciding whether the fetch failed.",
|
|
@@ -221,6 +221,7 @@
|
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
223
|
"tokens": [
|
|
224
|
+
"--slotted-action-gap",
|
|
224
225
|
"--slotted-border-strong",
|
|
225
226
|
"--slotted-border-subtle",
|
|
226
227
|
"--slotted-border-width-thin",
|
|
@@ -287,15 +288,15 @@
|
|
|
287
288
|
{
|
|
288
289
|
"id": "playground",
|
|
289
290
|
"title": "Playground",
|
|
290
|
-
"note": "One region with every axis on it, driven by the controls below the canvas. Change the status and the mark changes with it, which is what makes the seven distinguishable in
|
|
291
|
+
"note": "One region with every axis on it, driven by the controls below the canvas. Change the status and the mark changes with it, which is what makes the seven distinguishable in grayscale.",
|
|
291
292
|
"language": "html",
|
|
292
|
-
"source": "<section slResultState status=\"empty\">\n <div slResultStateContent>\n <div slResultStateTitle>
|
|
293
|
+
"source": "<section slResultState status=\"empty\">\n <div slResultStateContent>\n <div slResultStateTitle>No projects yet</div>\n <p slResultStateDescription>Create a project to start collecting runs.</p>\n </div>\n <div slResultStateActions>\n <button slButton type=\"button\">Create project</button>\n </div>\n</section>\n",
|
|
293
294
|
"verdict": "excerpt"
|
|
294
295
|
},
|
|
295
296
|
{
|
|
296
297
|
"id": "statuses",
|
|
297
298
|
"title": "What the region is reporting",
|
|
298
|
-
"note": "Seven semantics, seven silhouettes. Read in
|
|
299
|
+
"note": "Seven semantics, seven silhouettes. Read in grayscale, or under forced colors where every ground becomes one system color, the shape is the only thing left telling an absent collection from a failed request.",
|
|
299
300
|
"language": "html",
|
|
300
301
|
"source": "<!-- empty: the collection exists and holds nothing. -->\n<!-- no-results: a query or a filter matched nothing. -->\n<!-- not-found: the thing that was asked for is not here. -->\n<!-- error: a failure the reader can act on. -->\n<!-- forbidden: the reader is not allowed to see it. -->\n<!-- offline: the connection is gone. -->\n<!-- success: the flow finished and there is nothing left to do. -->\n<section slResultState status=\"no-results\"></section>\n",
|
|
301
302
|
"verdict": "excerpt"
|
|
@@ -305,15 +306,15 @@
|
|
|
305
306
|
"title": "How far the region reaches",
|
|
306
307
|
"note": "A row inside a table cell, a panel inside a card, the whole route — the same three words alert uses. The mark is the title’s own size at every reach and stands over the title at section and page; at inline it sits on the message’s first line and the actions join it, and at page the title takes the top step of the type scale.",
|
|
307
308
|
"language": "html",
|
|
308
|
-
"source": "<section slResultState reach=\"inline\" status=\"no-results\">\n <div slResultStateContent>\n <div slResultStateTitle>
|
|
309
|
+
"source": "<section slResultState reach=\"inline\" status=\"no-results\">\n <div slResultStateContent>\n <div slResultStateTitle>No rows match the filter</div>\n </div>\n <div slResultStateActions>\n <button slButton size=\"sm\" variant=\"ghost\" type=\"button\">Clear filters</button>\n </div>\n</section>\n\n<section slResultState reach=\"page\" status=\"not-found\"></section>\n",
|
|
309
310
|
"verdict": "excerpt"
|
|
310
311
|
},
|
|
311
312
|
{
|
|
312
313
|
"id": "align",
|
|
313
|
-
"title": "
|
|
314
|
-
"note": "Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations
|
|
314
|
+
"title": "Centerd, or from the inline edge",
|
|
315
|
+
"note": "Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations center unconditionally. Both readings are real, and align is one axis rather than a second family.",
|
|
315
316
|
"language": "html",
|
|
316
|
-
"source": "<!-- The default, for a panel or a route. -->\n<section slResultState align=\"center\"></section>\n\n<!-- For a data-dense screen, where a
|
|
317
|
+
"source": "<!-- The default, for a panel or a route. -->\n<section slResultState align=\"center\"></section>\n\n<!-- For a data-dense screen, where a centerd column reads as an interruption. -->\n<section slResultState align=\"start\" reach=\"inline\"></section>\n",
|
|
317
318
|
"verdict": "excerpt"
|
|
318
319
|
},
|
|
319
320
|
{
|
|
@@ -329,7 +330,7 @@
|
|
|
329
330
|
"title": "A drawing around the page’s glyph",
|
|
330
331
|
"note": "Three drawings in the neutral surface and border roles — a framed tile, three layers leaning back, a stack of cards — made around the projected glyph. None takes a tone, and inline reach draws none. A region that announces assembles its drawing as it arrives; under reduced motion it arrives assembled.",
|
|
331
332
|
"language": "html",
|
|
332
|
-
"source": "<section slResultState illustration=\"stack\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"bell\"></svg></span>\n <div slResultStateContent>\n <div slResultStateTitle>
|
|
333
|
+
"source": "<section slResultState illustration=\"stack\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"bell\"></svg></span>\n <div slResultStateContent>\n <div slResultStateTitle>No alerts configured</div>\n </div>\n</section>\n\n<!-- A framed tile, and a stack of cards standing in for rows. -->\n<section slResultState illustration=\"tile\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"inbox\"></svg></span>\n</section>\n<section slResultState illustration=\"cards\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"file-text\"></svg></span>\n</section>\n\n<!-- The cards draw their two lines with no glyph at all. -->\n<section slResultState illustration=\"cards\"></section>\n",
|
|
333
334
|
"verdict": "excerpt"
|
|
334
335
|
},
|
|
335
336
|
{
|
|
@@ -337,7 +338,7 @@
|
|
|
337
338
|
"title": "The way out of the situation",
|
|
338
339
|
"note": "The controls are the consumer’s own buttons in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. Narrow the window past 20rem and watch them stack.",
|
|
339
340
|
"language": "html",
|
|
340
|
-
"source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>
|
|
341
|
+
"source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>The run failed</div>\n </div>\n <div slResultStateActions>\n <button slButton tone=\"danger\" [loading]=\"retrying()\" type=\"button\">Try again</button>\n <button slButton variant=\"outline\" type=\"button\">Open log</button>\n </div>\n <div slResultStateFooter>\n <a slLink href=\"/docs/retries\">How retries are counted</a>\n </div>\n</section>\n",
|
|
341
342
|
"verdict": "excerpt"
|
|
342
343
|
},
|
|
343
344
|
{
|
|
@@ -353,7 +354,7 @@
|
|
|
353
354
|
"title": "Content the family did not choose",
|
|
354
355
|
"note": "A German compound with no break opportunity, a digest no language can break, a title standing alone and a region with no mark — all in a column narrow enough to make each of them a problem.",
|
|
355
356
|
"language": "html",
|
|
356
|
-
"source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>{{ longTranslatedTitle }}</div>\n <p slResultStateDescription>
|
|
357
|
+
"source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>{{ longTranslatedTitle }}</div>\n <p slResultStateDescription>Run {{ digest }} failed.</p>\n </div>\n</section>\n",
|
|
357
358
|
"verdict": "excerpt"
|
|
358
359
|
},
|
|
359
360
|
{
|
package/docs/result-state.md
CHANGED
|
@@ -27,11 +27,11 @@ Excerpt — not a complete module
|
|
|
27
27
|
```html
|
|
28
28
|
<section slResultState status="empty">
|
|
29
29
|
<div slResultStateContent>
|
|
30
|
-
<div slResultStateTitle>
|
|
31
|
-
<p slResultStateDescription>
|
|
30
|
+
<div slResultStateTitle>No projects yet</div>
|
|
31
|
+
<p slResultStateDescription>Create a project to start collecting runs.</p>
|
|
32
32
|
</div>
|
|
33
33
|
<div slResultStateActions>
|
|
34
|
-
<button slButton type="button">
|
|
34
|
+
<button slButton type="button">Create project</button>
|
|
35
35
|
</div>
|
|
36
36
|
</section>
|
|
37
37
|
```
|
|
@@ -54,7 +54,7 @@ Excerpt — not a complete module
|
|
|
54
54
|
| --- | --- | --- | --- | --- |
|
|
55
55
|
| `status` | `'empty' \| 'no-results' \| 'not-found' \| 'error' \| 'forbidden' \| 'offline' \| 'success'` | empty | slResultState | What the region is reporting, written on the root as data-status for a page to key its own artwork on. The family paints nothing for it (RS1): what happened is in the title |
|
|
56
56
|
| `reach` | `'inline' \| 'section' \| 'page'` | section | slResultState | The scope the message applies to. inline is a row for a table cell and draws no illustration; page takes the top step of the type scale and draws the illustration half again as large |
|
|
57
|
-
| `align` | `'center' \| 'start'` | center | slResultState | Whether the region reads
|
|
57
|
+
| `align` | `'center' \| 'start'` | center | slResultState | Whether the region reads centerd or from the inline edge. start is for a data-dense screen, where a centerd column reads as an interruption |
|
|
58
58
|
| `live` | `'off' \| 'polite' \| 'assertive'` | polite | slResultState | Whether the text announces itself. polite writes role="status" on the content part and assertive writes role="alert"; both imply aria-live and aria-atomic, and neither is written on the box |
|
|
59
59
|
| `illustration` | `'none' \| 'tile' \| 'stack' \| 'cards'` | none | slResultState | The drawing the family makes around the projected slResultStateMedia, in the neutral surface and border roles and never in a tone. tile and stack frame a glyph and draw nothing without one; cards draws its lines with or without it; none draws nothing of the family’s own |
|
|
60
60
|
| `slResultStateMedia` | `directive` | — | a projected element | The glyph an illustration is drawn around, or artwork the page supplies under illustration="none". It is projected into the box the family draws, so it keeps the height the reach gives it. React passes a media node instead |
|
|
@@ -80,7 +80,7 @@ Excerpt — not a complete module
|
|
|
80
80
|
- There is no APG pattern for this family: the Authoring Practices list holds no empty, error or result state, and the nearest official guidance is the Region landmark practice, which states that “a region landmark must have a label”. The root is a section and the attribute is written only once a title exists, so an unlabelled region is a plain grouping element rather than a landmark with no name.
|
|
81
81
|
- The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and this family has a row of buttons in it. The region that announces is slResultStateContent, which holds the title and the description alone; the mark, the actions and the footer are its siblings.
|
|
82
82
|
- live defaults to polite, which is the one place this family and alert disagree. WCAG 2.2’s Understanding document for SC 4.1.3 names this family’s own text as its example: “brief text messages displayed about the completion or status of the search, such as ‘Searching…’, ‘18 results returned’ or ‘No results returned’ would be status updates”. An alert may be a standing notice that was on the page before it loaded; a result is always the outcome of an operation. None of the seven surveyed implementations writes a live role of any kind.
|
|
83
|
-
- Status is never carried by
|
|
83
|
+
- Status is never carried by color alone, because the family paints no color for it: what happened is in the title and the description, which forced colors leave legible. The illustrations keep the theme’s system-color mapping under forced colors, so a stack is still three layers and not three outlines laid over one another.
|
|
84
84
|
- The media box is hidden from assistive technology, with the projected glyph, the drawing made around it and any artwork the page supplies. The title and the description already say what the picture says; an illustration that adds information is not decorative, and what it adds belongs in the description.
|
|
85
85
|
- The root carries tabindex="-1" and is not in the tab sequence. A template that has just emptied a table calls focus() on the instance exportAs gives it; the family never does it, because moving focus unprompted is a change of context nobody asked for. A tabindex the page wrote is read with HostAttributeToken and kept.
|
|
86
86
|
- The family holds no mutable value, so it has no model(), no output() and no ControlValueAccessor. Which status a region is in is a fact about the consumer’s own data — a region that decided it would be deciding whether the fetch failed.
|
|
@@ -88,13 +88,13 @@ Excerpt — not a complete module
|
|
|
88
88
|
|
|
89
89
|
## Tokens
|
|
90
90
|
|
|
91
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-3xl`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-3xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-result-state-actions-block-gap`, `--slotted-result-state-actions-gap`, `--slotted-result-state-column-gap`, `--slotted-result-state-description-font-size`, `--slotted-result-state-font-family`, `--slotted-result-state-media`, `--slotted-result-state-media-size`, `--slotted-result-state-padding-block`, `--slotted-result-state-padding-inline`, `--slotted-result-state-row-gap`, `--slotted-result-state-text-gap`, `--slotted-result-state-title-font-family`, `--slotted-result-state-title-font-size`, `--slotted-result-state-title-font-weight`, `--slotted-result-state-title-letter-spacing`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-text-muted`
|
|
91
|
+
`--slotted-action-gap`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-3xl`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-3xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-result-state-actions-block-gap`, `--slotted-result-state-actions-gap`, `--slotted-result-state-column-gap`, `--slotted-result-state-description-font-size`, `--slotted-result-state-font-family`, `--slotted-result-state-media`, `--slotted-result-state-media-size`, `--slotted-result-state-padding-block`, `--slotted-result-state-padding-inline`, `--slotted-result-state-row-gap`, `--slotted-result-state-text-gap`, `--slotted-result-state-title-font-family`, `--slotted-result-state-title-font-size`, `--slotted-result-state-title-font-weight`, `--slotted-result-state-title-letter-spacing`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-text-muted`
|
|
92
92
|
|
|
93
93
|
## Examples
|
|
94
94
|
|
|
95
95
|
### What the region is reporting
|
|
96
96
|
|
|
97
|
-
Seven semantics, seven silhouettes. Read in
|
|
97
|
+
Seven semantics, seven silhouettes. Read in grayscale, or under forced colors where every ground becomes one system color, the shape is the only thing left telling an absent collection from a failed request.
|
|
98
98
|
|
|
99
99
|
Excerpt — not a complete module
|
|
100
100
|
|
|
@@ -118,19 +118,19 @@ Excerpt — not a complete module
|
|
|
118
118
|
```html
|
|
119
119
|
<section slResultState reach="inline" status="no-results">
|
|
120
120
|
<div slResultStateContent>
|
|
121
|
-
<div slResultStateTitle>
|
|
121
|
+
<div slResultStateTitle>No rows match the filter</div>
|
|
122
122
|
</div>
|
|
123
123
|
<div slResultStateActions>
|
|
124
|
-
<button slButton size="sm" variant="ghost" type="button">
|
|
124
|
+
<button slButton size="sm" variant="ghost" type="button">Clear filters</button>
|
|
125
125
|
</div>
|
|
126
126
|
</section>
|
|
127
127
|
|
|
128
128
|
<section slResultState reach="page" status="not-found"></section>
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
###
|
|
131
|
+
### Centerd, or from the inline edge
|
|
132
132
|
|
|
133
|
-
Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations
|
|
133
|
+
Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations center unconditionally. Both readings are real, and align is one axis rather than a second family.
|
|
134
134
|
|
|
135
135
|
Excerpt — not a complete module
|
|
136
136
|
|
|
@@ -138,7 +138,7 @@ Excerpt — not a complete module
|
|
|
138
138
|
<!-- The default, for a panel or a route. -->
|
|
139
139
|
<section slResultState align="center"></section>
|
|
140
140
|
|
|
141
|
-
<!-- For a data-dense screen, where a
|
|
141
|
+
<!-- For a data-dense screen, where a centerd column reads as an interruption. -->
|
|
142
142
|
<section slResultState align="start" reach="inline"></section>
|
|
143
143
|
```
|
|
144
144
|
|
|
@@ -174,7 +174,7 @@ Excerpt — not a complete module
|
|
|
174
174
|
<section slResultState illustration="stack">
|
|
175
175
|
<span slIcon slResultStateMedia><svg slGlyph name="bell"></svg></span>
|
|
176
176
|
<div slResultStateContent>
|
|
177
|
-
<div slResultStateTitle>
|
|
177
|
+
<div slResultStateTitle>No alerts configured</div>
|
|
178
178
|
</div>
|
|
179
179
|
</section>
|
|
180
180
|
|
|
@@ -199,14 +199,14 @@ Excerpt — not a complete module
|
|
|
199
199
|
```html
|
|
200
200
|
<section slResultState status="error">
|
|
201
201
|
<div slResultStateContent>
|
|
202
|
-
<div slResultStateTitle>
|
|
202
|
+
<div slResultStateTitle>The run failed</div>
|
|
203
203
|
</div>
|
|
204
204
|
<div slResultStateActions>
|
|
205
|
-
<button slButton tone="danger" [loading]="retrying()" type="button">
|
|
206
|
-
<button slButton variant="outline" type="button">
|
|
205
|
+
<button slButton tone="danger" [loading]="retrying()" type="button">Try again</button>
|
|
206
|
+
<button slButton variant="outline" type="button">Open log</button>
|
|
207
207
|
</div>
|
|
208
208
|
<div slResultStateFooter>
|
|
209
|
-
<a slLink href="/docs/retries">
|
|
209
|
+
<a slLink href="/docs/retries">How retries are counted</a>
|
|
210
210
|
</div>
|
|
211
211
|
</section>
|
|
212
212
|
```
|
|
@@ -239,7 +239,7 @@ Excerpt — not a complete module
|
|
|
239
239
|
<section slResultState status="error">
|
|
240
240
|
<div slResultStateContent>
|
|
241
241
|
<div slResultStateTitle>{{ longTranslatedTitle }}</div>
|
|
242
|
-
<p slResultStateDescription>
|
|
242
|
+
<p slResultStateDescription>Run {{ digest }} failed.</p>
|
|
243
243
|
</div>
|
|
244
244
|
</section>
|
|
245
245
|
```
|
package/docs/saved-views.json
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"part": "modified",
|
|
70
70
|
"element": "span",
|
|
71
71
|
"required": false,
|
|
72
|
-
"purpose": "Inside the trigger while the grid differs from the view in use: a dot in the accent solid and the word Modified, so the state is never
|
|
72
|
+
"purpose": "Inside the trigger while the grid differs from the view in use: a dot in the accent solid and the word Modified, so the state is never color alone."
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"part": "revert",
|
package/docs/scroll-area.json
CHANGED
|
@@ -36,69 +36,174 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"docs": {
|
|
39
|
-
"
|
|
40
|
-
"imports":
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
39
|
+
"scrollArea": {
|
|
40
|
+
"imports": {
|
|
41
|
+
"source": "import { SlScrollArea, SlScrollAreaContent, provideScrollAreaDefaults } from '@slotted/angular/scroll-area';",
|
|
42
|
+
"selector": "[slScrollArea]",
|
|
43
|
+
"exportAs": "slScrollArea"
|
|
44
|
+
},
|
|
45
|
+
"anatomy": [
|
|
46
|
+
{
|
|
47
|
+
"part": "root",
|
|
48
|
+
"element": "the consumer’s own element, with slScrollArea",
|
|
49
|
+
"required": true,
|
|
50
|
+
"purpose": "The frame. It holds the maximum, the five measurement attributes and whatever border, radius and ground the consumer gives it — and it is the element the veil is not on, which is why it exists."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"part": "viewport",
|
|
54
|
+
"element": "div[role=region]",
|
|
55
|
+
"required": true,
|
|
56
|
+
"purpose": "The scrollport. It clips, scrolls, carries the platform scrollbar and the veil, and takes the tab stop and the name a scrolling region owes — role, tabindex and name written only while the content overflows. Rendered by the component inside the host; reached through the instance’s viewport."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"part": "content",
|
|
60
|
+
"element": "div",
|
|
61
|
+
"required": false,
|
|
62
|
+
"purpose": "The inset that scrolls with the content. Padding on a scrollport is not applied at its end edge in every engine, so an inset that has to survive a scroll to the end lives here. Content that carries its own inset needs no slScrollAreaContent at all."
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"api": [
|
|
66
|
+
{
|
|
67
|
+
"name": "axis",
|
|
68
|
+
"type": "'block' | 'inline' | 'both'",
|
|
69
|
+
"defaultValue": "block",
|
|
70
|
+
"appliesTo": "[slScrollArea]",
|
|
71
|
+
"description": "Which axes scroll. Logical, so a vertical writing mode needs no second vocabulary"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "scrollbars",
|
|
75
|
+
"type": "'auto' | 'always' | 'hover' | 'none'",
|
|
76
|
+
"defaultValue": "auto",
|
|
77
|
+
"appliesTo": "[slScrollArea]",
|
|
78
|
+
"description": "What the bar does: shown when needed, always reserved, painted only under a hand or the keyboard, or removed with the scrolling kept"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "gutter",
|
|
82
|
+
"type": "'auto' | 'stable' | 'both-edges'",
|
|
83
|
+
"defaultValue": "stable",
|
|
84
|
+
"appliesTo": "[slScrollArea]",
|
|
85
|
+
"description": "scrollbar-gutter. stable stops the content shifting when it first overflows; both-edges keeps a column centerd"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "fade",
|
|
89
|
+
"type": "'both' | 'end' | 'none'",
|
|
90
|
+
"defaultValue": "both",
|
|
91
|
+
"appliesTo": "[slScrollArea]",
|
|
92
|
+
"description": "Where the veil is drawn: over what the reader has passed as well as what is ahead, only what is ahead, or nowhere"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "overscroll",
|
|
96
|
+
"type": "'contain' | 'auto' | 'none'",
|
|
97
|
+
"defaultValue": "contain",
|
|
98
|
+
"appliesTo": "[slScrollArea]",
|
|
99
|
+
"description": "overscroll-behavior. contain keeps the last inch of scroll from moving the page behind the area"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "maxBlockSize",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"defaultValue": "—",
|
|
105
|
+
"appliesTo": "[slScrollArea]",
|
|
106
|
+
"description": "Scroll only past this size, as any CSS length. Mantine’s Autosize as one prop"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "maxInlineSize",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"defaultValue": "—",
|
|
112
|
+
"appliesTo": "[slScrollArea]",
|
|
113
|
+
"description": "The same bound on the inline axis"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "tabbable",
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"defaultValue": "true",
|
|
119
|
+
"appliesTo": "[slScrollArea]",
|
|
120
|
+
"description": "Whether the scrollport joins the tab sequence while it overflows. Off only when the content is reachable another way"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "messages",
|
|
124
|
+
"type": "Partial<ScrollAreaMessages>",
|
|
125
|
+
"defaultValue": "—",
|
|
126
|
+
"appliesTo": "[slScrollArea]",
|
|
127
|
+
"description": "Words laid over the language in force: the name the region is announced by (label), when nothing points at a heading"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "labelledBy",
|
|
131
|
+
"type": "string",
|
|
132
|
+
"defaultValue": "—",
|
|
133
|
+
"appliesTo": "[slScrollArea]",
|
|
134
|
+
"description": "The id of the element that names the region. Wins over messages.label"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"composition": [
|
|
138
|
+
{
|
|
139
|
+
"name": "provideScrollAreaDefaults",
|
|
140
|
+
"type": "Partial<ScrollAreaDefaults>",
|
|
141
|
+
"defaultValue": "—",
|
|
142
|
+
"appliesTo": "a provider",
|
|
143
|
+
"description": "An application decides once what its scroll areas look like; the region’s name comes from the language in force"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "exportAs",
|
|
147
|
+
"type": "slScrollArea",
|
|
148
|
+
"defaultValue": "—",
|
|
149
|
+
"appliesTo": "[slScrollArea]",
|
|
150
|
+
"description": "The instance: root, viewport, state(), position(), scrollTo(), scrollToEdge(), reveal(), refresh() and focus()"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "[slScrollAreaContent]",
|
|
154
|
+
"type": "directive",
|
|
155
|
+
"defaultValue": "—",
|
|
156
|
+
"appliesTo": "the consumer’s own element inside the host",
|
|
157
|
+
"description": "The inset that scrolls with the content; optional, and a plain element when the content carries its own"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "the host element",
|
|
161
|
+
"type": "any element",
|
|
162
|
+
"defaultValue": "—",
|
|
163
|
+
"appliesTo": "[slScrollArea]",
|
|
164
|
+
"description": "The frame is the consumer’s own element, with its own class, border and attributes; the family writes its wiring on the scrollport it renders inside, so nothing on the host is written over"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "data-focus-origin",
|
|
168
|
+
"type": "attribute",
|
|
169
|
+
"defaultValue": "—",
|
|
170
|
+
"appliesTo": "viewport",
|
|
171
|
+
"description": "keyboard or pointer while the viewport holds focus. The ring is drawn for keyboard only: a click on the content focuses the viewport, and the next Shift would make it match :focus-visible. createFocusOrigin in @slotted/core/focus writes it"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "data-overflowing, data-at-block-start, data-at-block-end, data-at-inline-start, data-at-inline-end",
|
|
175
|
+
"type": "attribute",
|
|
176
|
+
"defaultValue": "—",
|
|
177
|
+
"appliesTo": "root",
|
|
178
|
+
"description": "The measurement in the DOM, in logical names, for a consumer’s own CSS. An edge attribute says that end is showing"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "scrollbar-width: none on [data-part=viewport]",
|
|
182
|
+
"type": "CSS",
|
|
183
|
+
"defaultValue": "—",
|
|
184
|
+
"appliesTo": "the consumer’s stylesheet",
|
|
185
|
+
"description": "The composition for a product that needs a drawn thumb: hide the platform bar and draw one against the edge attributes"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"events": [
|
|
189
|
+
{
|
|
190
|
+
"name": "scrollChange",
|
|
191
|
+
"payload": "{ position: { block: number; inline: number }; source: Event }",
|
|
192
|
+
"when": "On every scroll, with the distance from each logical start. A report and not a request: the browser moves the position on a wheel, a fling, a Tab into a child and a printed page, and nothing here can refuse any of them."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "overflowChange",
|
|
196
|
+
"payload": "{ block: OverflowState; inline: OverflowState }",
|
|
197
|
+
"when": "Once on mount and once per change: whether each axis overflows and which of its ends show. The same measurement is written on the root as data-overflowing and the four data-at-* attributes."
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"accessibility": [
|
|
201
|
+
"There is no APG pattern for a scroll container; what governs is WCAG 2.1.1, tested by the scrollable-region-focusable rule, and 4.1.2, which is what a tab stop then owes. The viewport is role=\"region\" with tabindex=\"0\" and a name, written only while the content overflows — a tab stop on content that fits is a tab stop that does nothing.",
|
|
202
|
+
"The name resolves in one order: labelledBy, then messages.label, then the catalog of the language in force, so a product with fifty areas names them once. Base UI and Zag write role=\"presentation\" beside their tab stop, which answers the rule that is tested and breaks the one that is not.",
|
|
203
|
+
"Nine keys are the platform’s on a focused scrollport — the arrows, PageUp and PageDown, Home, End and Space — and the family binds none of them. The one key it owns is Tab, and [tabbable]=\"false\" gives that back when a consumer knows the content is reachable another way.",
|
|
204
|
+
"The scrollbar is the platform’s, themed through scrollbar-color and scrollbar-width. The trough click, the scrollbar context menu, the system’s own overlay behavior and the bar before hydration all survive; a drawn thumb loses every one of them.",
|
|
205
|
+
"The veil is a mask and is removed under forced-colors, where the system owns the palette and a veil over system text loses legibility for nothing. The scrollbar goes back to the system’s own there too."
|
|
206
|
+
]
|
|
102
207
|
}
|
|
103
208
|
},
|
|
104
209
|
"tokens": [
|
|
@@ -116,5 +221,102 @@
|
|
|
116
221
|
"--slotted-space-8",
|
|
117
222
|
"--slotted-surface-sunken"
|
|
118
223
|
],
|
|
119
|
-
"examples": [
|
|
224
|
+
"examples": [
|
|
225
|
+
{
|
|
226
|
+
"id": "playground",
|
|
227
|
+
"title": "A bounded region, and the platform’s own bar",
|
|
228
|
+
"note": "Scroll the notes. The bar is the browser’s, themed; the veil at the bottom says there is more and lifts when the end is reached. Tab reaches the region, and the arrows and page keys are the platform’s.",
|
|
229
|
+
"language": "html",
|
|
230
|
+
"source": "<div slScrollArea class=\"notes\" [messages]=\"{ label: 'Release notes' }\">\n <div slScrollAreaContent>…</div>\n</div>\n",
|
|
231
|
+
"verdict": "excerpt"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"id": "axis",
|
|
235
|
+
"title": "Which axes scroll",
|
|
236
|
+
"note": "block is the default and holds the inline axis still; inline runs a row past its box and mirrors with the document; both scrolls a log on both, with four veils meeting at the corners.",
|
|
237
|
+
"language": "html",
|
|
238
|
+
"source": "<div slScrollArea axis=\"inline\">…</div>\n<div slScrollArea axis=\"both\">…</div>\n",
|
|
239
|
+
"verdict": "excerpt"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "scrollbars",
|
|
243
|
+
"title": "Four things the bar can do",
|
|
244
|
+
"note": "auto shows the bar when needed; always reserves it on content that fits; hover keeps the gutter and paints nothing until a hand or the keyboard is inside; none removes the bar and leaves the veil to say there is more.",
|
|
245
|
+
"language": "html",
|
|
246
|
+
"source": "<div slScrollArea scrollbars=\"hover\">…</div>\n",
|
|
247
|
+
"verdict": "excerpt"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "fade",
|
|
251
|
+
"title": "The veil, and where it falls",
|
|
252
|
+
"note": "Each area is scrolled into the middle of its content. both dims what the reader has passed as well as what is ahead; end only what is ahead; none leaves the scrollbar as the only sign.",
|
|
253
|
+
"language": "html",
|
|
254
|
+
"source": "<div slScrollArea fade=\"end\">…</div>\n",
|
|
255
|
+
"verdict": "excerpt"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "gutter",
|
|
259
|
+
"title": "Room for a bar that is not there yet",
|
|
260
|
+
"note": "The painted inset is the measure. auto reaches the frame and will shift the moment the content overflows; stable holds a bar’s width back so nothing moves; both-edges holds it back on both sides, so a centerd column stays centerd.",
|
|
261
|
+
"language": "html",
|
|
262
|
+
"source": "<div slScrollArea gutter=\"both-edges\">…</div>\n",
|
|
263
|
+
"verdict": "excerpt"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "overscroll",
|
|
267
|
+
"title": "Where the last inch of scroll goes",
|
|
268
|
+
"note": "Scroll the inner area to its end and keep going. With contain the page behind it stays put; with auto the scroll chains to the page, which is the browser’s default and the defect the property was added for.",
|
|
269
|
+
"language": "html",
|
|
270
|
+
"source": "<div slScrollArea overscroll=\"auto\">…</div>\n",
|
|
271
|
+
"verdict": "excerpt"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "maximum",
|
|
275
|
+
"title": "Scroll only past a maximum",
|
|
276
|
+
"note": "A list of three items takes the height it needs and scrolls nothing. Add items and it grows until it meets the maximum, then scrolls — Mantine’s Autosize as one prop, and the region wiring appears at the same moment the overflow does.",
|
|
277
|
+
"language": "html",
|
|
278
|
+
"source": "<div slScrollArea maxBlockSize=\"12rem\">…</div>\n",
|
|
279
|
+
"verdict": "excerpt"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "keyboard",
|
|
283
|
+
"title": "One key the family owns, and nine it leaves alone",
|
|
284
|
+
"note": "Tab into the region and press the arrows, PageDown, End and Home: every one is the platform’s. The second area holds a link, so tabbable is off and Tab goes straight to the link — the scrollport is still focusable by pointer.",
|
|
285
|
+
"language": "html",
|
|
286
|
+
"source": "<div slScrollArea [tabbable]=\"false\">\n <a slLink href=\"#…\">…</a>\n</div>\n",
|
|
287
|
+
"verdict": "excerpt"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "content",
|
|
291
|
+
"title": "Content the family did not choose",
|
|
292
|
+
"note": "Three unbroken paths scroll on the inline axis and are veiled where they leave the box; a translated paragraph twice the length wraps and scrolls; three short lines fit, and the area is then a plain box with no veil, no bar and no tab stop.",
|
|
293
|
+
"language": "html",
|
|
294
|
+
"source": "<div slScrollArea axis=\"both\" class=\"log\">…</div>\n",
|
|
295
|
+
"verdict": "excerpt"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"id": "composition",
|
|
299
|
+
"title": "A handle, a report, and a different element",
|
|
300
|
+
"note": "The buttons drive the handle: to the end, back to the start, and to one row by reveal, which moves the area and nothing around it. The position is reported on every scroll and shown beside the area; the frame is rendered as a section.",
|
|
301
|
+
"language": "html",
|
|
302
|
+
"source": "<section slScrollArea #area=\"slScrollArea\" (scrollChange)=\"block = $event.position.block\">\n …\n</section>\n<button slButton (click)=\"area.scrollToEdge('block-end')\">Fim</button>\n",
|
|
303
|
+
"verdict": "excerpt"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"id": "print",
|
|
307
|
+
"title": "What the printer gets",
|
|
308
|
+
"note": "Open the print preview of this page. The area releases its maximum and its clipping under the print media query, so the whole content is on paper rather than the slice that happened to be in view — which is what every surveyed implementation prints.",
|
|
309
|
+
"language": "css",
|
|
310
|
+
"source": "@media print {\n [data-ui='scroll-area'] > [data-part='viewport'] {\n max-block-size: none;\n overflow: visible;\n mask-image: none;\n }\n}\n",
|
|
311
|
+
"verdict": "excerpt"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "accessibility",
|
|
315
|
+
"title": "What a screen reader is told",
|
|
316
|
+
"note": "The first area overflows and is a named region with a tab stop; the second fits and is nothing at all. The third is named by the heading above it rather than by a string, and a provider sets the fallback name once for the page.",
|
|
317
|
+
"language": "html",
|
|
318
|
+
"source": "<h3 id=\"notes\">Release notes</h3>\n<div slScrollArea labelledBy=\"notes\">…</div>\n",
|
|
319
|
+
"verdict": "excerpt"
|
|
320
|
+
}
|
|
321
|
+
]
|
|
120
322
|
}
|