@slotted/angular 0.1.0-beta.3 → 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 +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 +30 -13
- package/docs/alert.md +29 -18
- package/docs/app-shell.examples.md +8 -8
- package/docs/app-shell.json +37 -20
- 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 +2 -2
- package/docs/card.md +2 -2
- package/docs/carousel.json +10 -10
- package/docs/carousel.md +11 -11
- package/docs/cascader.json +1 -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 +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 +5 -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 +32 -10
- package/docs/dashboard-grid.md +15 -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 +56 -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 +43 -17
- package/docs/drawer.md +10 -8
- package/docs/entity-picker.json +21 -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 +23 -11
- 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 +23 -23
- package/docs/import-export-center.md +17 -17
- 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.json +1 -1
- 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 +14 -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 +3 -1
- package/docs/multi-select.md +1 -1
- package/docs/notification-center.json +20 -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 +30 -13
- 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 +4 -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 +12 -12
- package/docs/result-state.md +17 -17
- 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 +43 -21
- package/docs/section.md +34 -31
- package/docs/segmented-control.json +21 -25
- package/docs/segmented-control.md +33 -33
- package/docs/select.json +3 -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 +54 -18
- package/docs/skills/index.md +2 -2
- package/docs/skills/review-screen/SKILL.md +28 -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 +14 -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 +45 -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 +9 -9
- package/docs/tour.md +6 -6
- 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 +295 -68
- 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 +74 -25
- 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 +63 -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 +11 -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/AGENTS.snippet.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
## Slotted UI (@slotted/angular)
|
|
2
2
|
|
|
3
|
+
Paths below are relative to the directory that holds node_modules.
|
|
4
|
+
|
|
3
5
|
Before writing or changing UI, read `node_modules/@slotted/angular/docs/index.md`, then the file of each family you use. These files match the installed version: prefer them over prior knowledge of the library.
|
|
4
6
|
|
|
5
7
|
- Import the standalone directives from the family entry point that each file's Import section shows (`@slotted/angular/<family>`), and place each on the native element its selector names: `<button slButton>`.
|
|
@@ -17,4 +19,4 @@ Read the skill before the task:
|
|
|
17
19
|
- Show what a screen draws while it waits, and its empty and error states: `node_modules/@slotted/angular/docs/skills/waiting-states/SKILL.md`
|
|
18
20
|
- Review a screen against the guidelines, or fix what a review found: `node_modules/@slotted/angular/docs/skills/review-screen/SKILL.md`
|
|
19
21
|
- Write a component or element that no family draws: `node_modules/@slotted/angular/docs/skills/build-own-element/SKILL.md`
|
|
20
|
-
- Change the brand
|
|
22
|
+
- Change the brand color, the scheme, the density or a control's shape: `node_modules/@slotted/angular/docs/skills/theme-app/SKILL.md`
|
package/docs/accordion.json
CHANGED
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
"title": "Playground",
|
|
259
259
|
"note": "One set with every input on it, driven by the controls below the canvas. Tab reaches every header; the arrows move between them without opening anything.",
|
|
260
260
|
"language": "html",
|
|
261
|
-
"source": "<div slAccordion [(value)]=\"open\">\n <div slCollapsible value=\"
|
|
261
|
+
"source": "<div slAccordion [(value)]=\"open\">\n <div slCollapsible value=\"delivery\">\n <h3 slCollapsibleHeader><button slCollapsibleTrigger>Delivery</button></h3>\n <div slCollapsiblePanel>Scheduled for September 12.</div>\n </div>\n <div slCollapsible value=\"payment\">\n <h3 slCollapsibleHeader><button slCollapsibleTrigger>Payment</button></h3>\n <div slCollapsiblePanel>Credit card, approved.</div>\n </div>\n</div>\n",
|
|
262
262
|
"verdict": "excerpt"
|
|
263
263
|
},
|
|
264
264
|
{
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"title": "One panel open, or several",
|
|
267
267
|
"note": "With multiple off, opening one closes the one that was — and that panel is told it closed with the reason select, not because the reader asked it to.",
|
|
268
268
|
"language": "html",
|
|
269
|
-
"source": "<div slAccordion [multiple]=\"true\" [value]=\"['
|
|
269
|
+
"source": "<div slAccordion [multiple]=\"true\" [value]=\"['delivery', 'payment']\">…</div>\n",
|
|
270
270
|
"verdict": "excerpt"
|
|
271
271
|
},
|
|
272
272
|
{
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"title": "A set that refuses to empty",
|
|
275
275
|
"note": "The one open header carries aria-disabled=\"true\", which is the pattern’s own instruction for an accordion that does not permit its panel to be collapsed. It stays focusable and announced.",
|
|
276
276
|
"language": "html",
|
|
277
|
-
"source": "<div slAccordion [requireOpen]=\"true\" [value]=\"['
|
|
277
|
+
"source": "<div slAccordion [requireOpen]=\"true\" [value]=\"['delivery']\">…</div>\n",
|
|
278
278
|
"verdict": "excerpt"
|
|
279
279
|
},
|
|
280
280
|
{
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
"title": "When each panel’s content exists",
|
|
299
299
|
"note": "The set hands the strategy to every item: eager keeps every panel ready to transition, lazy builds one on its first open, and active drops each one as it closes.",
|
|
300
300
|
"language": "html",
|
|
301
|
-
"source": "<div slAccordion mount=\"lazy\">\n <div slCollapsible value=\"
|
|
301
|
+
"source": "<div slAccordion mount=\"lazy\">\n <div slCollapsible value=\"delivery\">\n <h3 slCollapsibleHeader><button slCollapsibleTrigger>Delivery</button></h3>\n <div slCollapsiblePanel>\n <ng-template slCollapsibleContent>{{ delivery() }}</ng-template>\n </div>\n </div>\n</div>\n",
|
|
302
302
|
"verdict": "excerpt"
|
|
303
303
|
},
|
|
304
304
|
{
|
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
"title": "Opening and closing everything",
|
|
315
315
|
"note": "exportAs reaches the set from the template, so the pair Angular Material ships needs no component class in between and no handle to be passed down.",
|
|
316
316
|
"language": "html",
|
|
317
|
-
"source": "<div slAccordion #set=\"slAccordion\" [multiple]=\"true\">…</div>\n\n<button slButton (click)=\"set.openAll()\">
|
|
317
|
+
"source": "<div slAccordion #set=\"slAccordion\" [multiple]=\"true\">…</div>\n\n<button slButton (click)=\"set.openAll()\">Open all</button>\n<button slButton (click)=\"set.closeAll()\">Close all</button>\n",
|
|
318
318
|
"verdict": "excerpt"
|
|
319
319
|
},
|
|
320
320
|
{
|
package/docs/accordion.md
CHANGED
|
@@ -17,13 +17,13 @@ Excerpt — not a complete module
|
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
19
|
<div slAccordion [(value)]="open">
|
|
20
|
-
<div slCollapsible value="
|
|
21
|
-
<h3 slCollapsibleHeader><button slCollapsibleTrigger>
|
|
22
|
-
<div slCollapsiblePanel>
|
|
20
|
+
<div slCollapsible value="delivery">
|
|
21
|
+
<h3 slCollapsibleHeader><button slCollapsibleTrigger>Delivery</button></h3>
|
|
22
|
+
<div slCollapsiblePanel>Scheduled for September 12.</div>
|
|
23
23
|
</div>
|
|
24
|
-
<div slCollapsible value="
|
|
25
|
-
<h3 slCollapsibleHeader><button slCollapsibleTrigger>
|
|
26
|
-
<div slCollapsiblePanel>
|
|
24
|
+
<div slCollapsible value="payment">
|
|
25
|
+
<h3 slCollapsibleHeader><button slCollapsibleTrigger>Payment</button></h3>
|
|
26
|
+
<div slCollapsiblePanel>Credit card, approved.</div>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
29
29
|
```
|
|
@@ -97,7 +97,7 @@ With multiple off, opening one closes the one that was — and that panel is tol
|
|
|
97
97
|
Excerpt — not a complete module
|
|
98
98
|
|
|
99
99
|
```html
|
|
100
|
-
<div slAccordion [multiple]="true" [value]="['
|
|
100
|
+
<div slAccordion [multiple]="true" [value]="['delivery', 'payment']">…</div>
|
|
101
101
|
```
|
|
102
102
|
|
|
103
103
|
### A set that refuses to empty
|
|
@@ -107,7 +107,7 @@ The one open header carries aria-disabled="true", which is the pattern’s own i
|
|
|
107
107
|
Excerpt — not a complete module
|
|
108
108
|
|
|
109
109
|
```html
|
|
110
|
-
<div slAccordion [requireOpen]="true" [value]="['
|
|
110
|
+
<div slAccordion [requireOpen]="true" [value]="['delivery']">…</div>
|
|
111
111
|
```
|
|
112
112
|
|
|
113
113
|
### The four ways a set is drawn
|
|
@@ -138,8 +138,8 @@ Excerpt — not a complete module
|
|
|
138
138
|
|
|
139
139
|
```html
|
|
140
140
|
<div slAccordion mount="lazy">
|
|
141
|
-
<div slCollapsible value="
|
|
142
|
-
<h3 slCollapsibleHeader><button slCollapsibleTrigger>
|
|
141
|
+
<div slCollapsible value="delivery">
|
|
142
|
+
<h3 slCollapsibleHeader><button slCollapsibleTrigger>Delivery</button></h3>
|
|
143
143
|
<div slCollapsiblePanel>
|
|
144
144
|
<ng-template slCollapsibleContent>{{ delivery() }}</ng-template>
|
|
145
145
|
</div>
|
|
@@ -168,8 +168,8 @@ Excerpt — not a complete module
|
|
|
168
168
|
```html
|
|
169
169
|
<div slAccordion #set="slAccordion" [multiple]="true">…</div>
|
|
170
170
|
|
|
171
|
-
<button slButton (click)="set.openAll()">
|
|
172
|
-
<button slButton (click)="set.closeAll()">
|
|
171
|
+
<button slButton (click)="set.openAll()">Open all</button>
|
|
172
|
+
<button slButton (click)="set.closeAll()">Close all</button>
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
### Content the set did not choose
|
package/docs/action-bar.json
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"part": "actions",
|
|
84
84
|
"element": "an element carrying slActionBarActions",
|
|
85
85
|
"required": true,
|
|
86
|
-
"purpose": "The run that gives way, and the box the collapse measures. It carries margin-inline-start: auto, which anchors it to the bar’s end edge; below 24rem of container it becomes a full-width column with the action that confirms on top."
|
|
86
|
+
"purpose": "The run that gives way, and the box the collapse measures. It carries margin-inline-start: auto, which anchors it to the bar’s end edge; below 24rem of container, with no overflow control in the bar, it becomes a full-width column with the action that confirms on top."
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"part": "action",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"type": "string | ((hidden: number) => string)",
|
|
167
167
|
"defaultValue": "counted",
|
|
168
168
|
"appliesTo": "sl-action-bar-overflow",
|
|
169
|
-
"description": "The accessible name of the control that holds what did not fit. The default counts — \"3 more actions\" — because three dots say nothing about how much is behind them. An aria-label written on the host wins over it"
|
|
169
|
+
"description": "The accessible name of the control that holds what did not fit. The default counts — \"3 more actions\" — because three dots say nothing about how much is behind them, in the language in force, with its plural. An aria-label written on the host wins over it"
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
"name": "align, side, size",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"type": "an attribute on the consumer’s own element",
|
|
197
197
|
"defaultValue": "—",
|
|
198
198
|
"appliesTo": "every part but the overflow",
|
|
199
|
-
"description": "The bar is a footer, the status a p, the run a div — the family adds
|
|
199
|
+
"description": "The bar is a footer, the status a p, the run a div — the family adds behavior to the element the page already wanted rather than inserting one of its own"
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"name": "provideActionBarDefaults",
|
|
@@ -239,14 +239,15 @@
|
|
|
239
239
|
"There is no APG pattern for a bar of actions, and the closest official guidance is the Toolbar pattern (w3.org/WAI/ARIA/apg/patterns/toolbar/). This family departs from it deliberately: there is no roving focus, so Tab reaches every action in the order the author wrote it. The controls here are the page’s own form actions, and a reader walking a form expects to arrive at Cancel and then at Save; a composite would make the whole bar one tab stop and put Save behind an arrow key that announces nothing. The cost is written down — a bar of ten icon-only actions is ten tab stops, and that bar is the Toolbar family.",
|
|
240
240
|
"The role follows the departure. ARIA 1.2 makes toolbar a subclass of group, and the subclass is what is asserted when there is focus management to declare; without it, group is what is true. The bar names itself with the consumer’s aria-label or aria-labelledby, because only the page knows which task it finishes — and a role written on the host is read with HostAttributeToken before the host binding, so what the consumer wrote survives.",
|
|
241
241
|
"The only keyboard this family owns is the overflow trigger’s, and it is the Menu family’s: Enter, Space and ArrowDown open the surface, Escape closes it and returns focus to the trigger. Focus is moved onto the trigger before the action holding it is hidden, so a reader who was on the fifth button lands on the control that now holds it rather than on the document body.",
|
|
242
|
-
"The trigger’s accessible name carries the count rather than the mark, so a reader hears “3 more actions” instead of three dots
|
|
242
|
+
"The trigger’s accessible name carries the count rather than the mark, so a reader hears “3 more actions” instead of three dots, in the language in force with its plural. The count in the DOM, data-collapsed, is the same fact for a stylesheet or a test.",
|
|
243
243
|
"A bar out of action is a fieldset around it: the platform disables every control inside and takes them out of the tab order with it. The family writes no data-disabled and declares no disabled state, because it does not own the capability — a container that refused interaction while its controls still looked operable is the defect the state precedence exists to prevent.",
|
|
244
244
|
"A bar that is not present is painted out with display:none once its exit has finished, which takes it out of the accessibility tree and out of the tab order together. Carbon’s batch bar writes aria-hidden on its root instead and leaves the buttons inside reachable by Tab, which puts focus in a region the screen reader announces as absent. Appearing never moves focus either: the bar is not a dialog, and taking focus from a reader who is ticking boxes is exactly the jump a selection bar must not make.",
|
|
245
|
-
"Under forced
|
|
245
|
+
"Under forced colors the rule between two runs keeps its own paint, because a background flattens to Canvas and would take the boundary between a destructive action and a frequent one with it. Everything else the reader sees belongs to the controls the consumer placed, and each keeps its own states, its own focus ring and its own contrast."
|
|
246
246
|
]
|
|
247
247
|
}
|
|
248
248
|
},
|
|
249
249
|
"tokens": [
|
|
250
|
+
"--slotted-action-bar-backdrop-filter",
|
|
250
251
|
"--slotted-action-bar-background",
|
|
251
252
|
"--slotted-action-bar-border-color",
|
|
252
253
|
"--slotted-action-bar-gap",
|
|
@@ -302,15 +303,15 @@
|
|
|
302
303
|
"title": "Playground",
|
|
303
304
|
"note": "One bar with every axis on it, driven by the controls below the canvas. Tab through it: each action is its own stop, in the order the form is read, and no arrow key is bound.",
|
|
304
305
|
"language": "html",
|
|
305
|
-
"source": "<footer slActionBar aria-label=\"
|
|
306
|
+
"source": "<footer slActionBar aria-label=\"Order actions\">\n <div slActionBarStatus>Draft saved at 14:07</div>\n <div slActionBarActions>\n <div slActionBarAction>\n <button slButton variant=\"ghost\" tone=\"secondary\" type=\"button\">Cancelar</button>\n </div>\n <div slActionBarAction>\n <button slButton type=\"button\">Submit for approval</button>\n </div>\n </div>\n</footer>\n",
|
|
306
307
|
"verdict": "excerpt"
|
|
307
308
|
},
|
|
308
309
|
{
|
|
309
310
|
"id": "priority",
|
|
310
311
|
"title": "Which action gives way first",
|
|
311
|
-
"note": "Narrow the stage and watch the order: “
|
|
312
|
+
"note": "Narrow the stage and watch the order: “Preview” goes without a trace, “Duplicate” becomes a menu row, “Send back” follows it, and “Approve” never moves. Position decides nothing here — the rank does.",
|
|
312
313
|
"language": "html",
|
|
313
|
-
"source": "<div slActionBarActions>\n <!-- Gives way before every other rank, and is not offered in the menu. -->\n <div slActionBarAction=\"hide\">\n <button slButton variant=\"ghost\" type=\"button\">
|
|
314
|
+
"source": "<div slActionBarActions>\n <!-- Gives way before every other rank, and is not offered in the menu. -->\n <div slActionBarAction=\"hide\">\n <button slButton variant=\"ghost\" type=\"button\">Preview</button>\n </div>\n <!-- low is the default for an action that declares a counterpart. -->\n <div slActionBarAction [slActionBarActionCounterpart]=\"duplicate\">\n <button slButton variant=\"ghost\" type=\"button\">Duplicar</button>\n </div>\n <div slActionBarAction=\"high\" [slActionBarActionCounterpart]=\"send\">\n <button slButton variant=\"outline\" type=\"button\">Devolver</button>\n </div>\n <!-- No counterpart, so it is pinned: it has nowhere to go. -->\n <div slActionBarAction>\n <button slButton type=\"button\">Aprovar</button>\n </div>\n <sl-action-bar-overflow />\n</div>\n\n<ng-template #duplicate><button slMenuItem type=\"button\">Duplicar</button></ng-template>\n<ng-template #send><button slMenuItem type=\"button\">Devolver</button></ng-template>\n",
|
|
314
315
|
"verdict": "excerpt"
|
|
315
316
|
},
|
|
316
317
|
{
|
|
@@ -318,7 +319,7 @@
|
|
|
318
319
|
"title": "What is left over, behind one control",
|
|
319
320
|
"note": "The surface holds what gave way and what was never in the bar, in the bar’s own order, with a rule wherever one of the bar’s own rules divided two of them. The trigger’s name is the count, not three dots.",
|
|
320
321
|
"language": "html",
|
|
321
|
-
"source": "<div slActionBarActions>\n <div slActionBarAction=\"always\" [slActionBarActionCounterpart]=\"history\">\n <button slButton variant=\"ghost\" type=\"button\">
|
|
322
|
+
"source": "<div slActionBarActions>\n <div slActionBarAction=\"always\" [slActionBarActionCounterpart]=\"history\">\n <button slButton variant=\"ghost\" type=\"button\">View history</button>\n </div>\n <div slActionBarAction>\n <button slButton type=\"button\">Aprovar</button>\n </div>\n <sl-action-bar-overflow [label]=\"count\" />\n</div>\n\n<ng-template #history><button slMenuItem type=\"button\">View history</button></ng-template>\n",
|
|
322
323
|
"verdict": "excerpt"
|
|
323
324
|
},
|
|
324
325
|
{
|
|
@@ -326,15 +327,15 @@
|
|
|
326
327
|
"title": "The action that confirms does not move",
|
|
327
328
|
"note": "Four bars on one stage: no message, a short one, one that fills the bar, and a secondary action removed by a permission filter. Read the right edge — “Aprovar” is on the same pixel in all four.",
|
|
328
329
|
"language": "html",
|
|
329
|
-
"source": "<!-- The run carries margin-inline-start: auto, so what grows or leaves\n moves what is *before* the last action and never the last action. -->\n<footer slActionBar aria-label=\"
|
|
330
|
+
"source": "<!-- The run carries margin-inline-start: auto, so what grows or leaves\n moves what is *before* the last action and never the last action. -->\n<footer slActionBar aria-label=\"Order actions\">\n @if (dirty()) {\n <div slActionBarStatus>{{ message() }}</div>\n }\n <div slActionBarActions>\n @if (canReturn()) {\n <div slActionBarAction>\n <button slButton variant=\"ghost\" type=\"button\">Devolver</button>\n </div>\n }\n <div slActionBarAction>\n <button slButton [loading]=\"saving()\" type=\"button\">Aprovar</button>\n </div>\n </div>\n</footer>\n",
|
|
330
331
|
"verdict": "excerpt"
|
|
331
332
|
},
|
|
332
333
|
{
|
|
333
334
|
"id": "danger",
|
|
334
335
|
"title": "A destructive action, and the rule beside it",
|
|
335
|
-
"note": "The first bar keeps “
|
|
336
|
+
"note": "The first bar keeps “Void invoice” away from the two frequent actions with the bar’s own rule. The second is the case nobody writes down: the action that confirms *is* the destructive one, and the rule is what a hand about to press Keep reads.",
|
|
336
337
|
"language": "html",
|
|
337
|
-
"source": "<div slActionBarActions>\n <div slActionBarAction>\n <button slButton variant=\"ghost\" tone=\"danger\" type=\"button\">
|
|
338
|
+
"source": "<div slActionBarActions>\n <div slActionBarAction>\n <button slButton variant=\"ghost\" tone=\"danger\" type=\"button\">Void invoice</button>\n </div>\n <div slActionBarSeparator></div>\n <div slActionBarAction>\n <button slButton variant=\"ghost\" tone=\"secondary\" type=\"button\">Cancelar</button>\n </div>\n <div slActionBarAction>\n <button slButton type=\"button\">Guardar</button>\n </div>\n</div>\n",
|
|
338
339
|
"verdict": "excerpt"
|
|
339
340
|
},
|
|
340
341
|
{
|
|
@@ -350,7 +351,7 @@
|
|
|
350
351
|
"title": "The bar a selection brings",
|
|
351
352
|
"note": "Table owns the selection and its count; this family supplies the place, the ranks and the entry. Toggle the selection and watch the bar arrive from below rather than appear — and be painted out when it goes, rather than staying reachable by Tab.",
|
|
352
353
|
"language": "html",
|
|
353
|
-
"source": "<footer\n slActionBar\n aria-label=\"
|
|
354
|
+
"source": "<footer\n slActionBar\n aria-label=\"Selection actions\"\n variant=\"raised\"\n [present]=\"selected().length > 0\"\n>\n <div slActionBarStatus>\n <strong>{{ selected().length }} invoices selected</strong>\n <button slButton size=\"sm\" variant=\"ghost\" tone=\"accent\" type=\"button\" (click)=\"selectAll()\">\n Select all {{ total() }} in the filter\n </button>\n </div>\n <div slActionBarActions>\n <div slActionBarAction [slActionBarActionCounterpart]=\"exported\">\n <button slButton variant=\"ghost\" type=\"button\">Exportar</button>\n </div>\n <div slActionBarSeparator></div>\n <div slActionBarAction>\n <button slButton tone=\"danger\" type=\"button\">Anular</button>\n </div>\n </div>\n</footer>\n",
|
|
354
355
|
"verdict": "excerpt"
|
|
355
356
|
},
|
|
356
357
|
{
|
|
@@ -358,15 +359,15 @@
|
|
|
358
359
|
"title": "Stuck to the end of what scrolls",
|
|
359
360
|
"note": "Scroll the panel: the bar stays at the bottom and the last line of content scrolls up to it rather than under it. Inside a page it reads --slotted-page-sticky-bottom and stops above that page’s own footer instead of covering it.",
|
|
360
361
|
"language": "html",
|
|
361
|
-
"source": "<footer slActionBar aria-label=\"
|
|
362
|
+
"source": "<footer slActionBar aria-label=\"Form actions\" variant=\"raised\" sticky>\n <div slActionBarActions>\n <div slActionBarAction>\n <button slButton type=\"button\">Guardar</button>\n </div>\n </div>\n</footer>\n",
|
|
362
363
|
"verdict": "excerpt"
|
|
363
364
|
},
|
|
364
365
|
{
|
|
365
366
|
"id": "align",
|
|
366
367
|
"title": "Where the run sits",
|
|
367
|
-
"note": "end is the anchor and the default; start puts the run beside the status; center places it in what is left. The field disagrees about this one — Salesforce
|
|
368
|
+
"note": "end is the anchor and the default; start puts the run beside the status; center places it in what is left. The field disagrees about this one — Salesforce centers a docked footer, Polaris ends it, Fluent starts it — so it is an axis.",
|
|
368
369
|
"language": "html",
|
|
369
|
-
"source": "<footer slActionBar aria-label=\"
|
|
370
|
+
"source": "<footer slActionBar aria-label=\"Actions\" align=\"center\" variant=\"raised\"></footer>\n",
|
|
370
371
|
"verdict": "excerpt"
|
|
371
372
|
},
|
|
372
373
|
{
|
|
@@ -374,7 +375,7 @@
|
|
|
374
375
|
"title": "The step the bar sits at",
|
|
375
376
|
"note": "The size moves the bar’s own inset, gap, minimum height and rule — and it reaches the buttons through the Button family’s own defaults, so a bar does not make a consumer repeat size on every control. A button that states its own still wins.",
|
|
376
377
|
"language": "html",
|
|
377
|
-
"source": "<footer slActionBar aria-label=\"
|
|
378
|
+
"source": "<footer slActionBar aria-label=\"Actions\" size=\"sm\" variant=\"raised\">\n <div slActionBarActions>\n <!-- No size here: the bar hands its own down. -->\n <div slActionBarAction>\n <button slButton variant=\"ghost\" type=\"button\">Cancelar</button>\n </div>\n <div slActionBarAction>\n <button slButton size=\"lg\" type=\"button\">Guardar</button>\n </div>\n </div>\n</footer>\n",
|
|
378
379
|
"verdict": "excerpt"
|
|
379
380
|
},
|
|
380
381
|
{
|
|
@@ -382,15 +383,15 @@
|
|
|
382
383
|
"title": "Whether the bar paints a ground",
|
|
383
384
|
"note": "plain is the default and paints nothing — a bar inside a page footer is already standing on a ground that family painted. raised takes the surface and one hairline at the top, which is the bar with no page around it: a drawer, a dialog, a card.",
|
|
384
385
|
"language": "html",
|
|
385
|
-
"source": "<footer slActionBar aria-label=\"
|
|
386
|
+
"source": "<footer slActionBar aria-label=\"Actions\" variant=\"plain\"></footer>\n<footer slActionBar aria-label=\"Actions\" variant=\"raised\"></footer>\n",
|
|
386
387
|
"verdict": "excerpt"
|
|
387
388
|
},
|
|
388
389
|
{
|
|
389
390
|
"id": "stacked",
|
|
390
391
|
"title": "The bar on a phone",
|
|
391
|
-
"note": "Below 24rem of container
|
|
392
|
+
"note": "Below 24rem of container a bar with no overflow control becomes a full-width column with the action that confirms on top, and the collapse stops running — a column has room for everything, so there is no menu. A bar with an overflow control keeps one row: the actions without a counterpart stay and the rest fold into the menu. The DOM order does not change, so Tab still reads the form’s order.",
|
|
392
393
|
"language": "html",
|
|
393
|
-
"source": "<!-- The breakpoint lives in the stylesheet's container query, and the\n directive reads back the property that query raises rather than\n holding a copy of the number. -->\n<footer slActionBar aria-label=\"
|
|
394
|
+
"source": "<!-- The breakpoint lives in the stylesheet's container query, and the\n directive reads back the property that query raises rather than\n holding a copy of the number. -->\n<footer slActionBar aria-label=\"Order actions\" variant=\"raised\">\n <div slActionBarActions>\n <div slActionBarAction>\n <button slButton variant=\"ghost\" type=\"button\">Discard changes</button>\n </div>\n <div slActionBarAction>\n <button slButton type=\"button\">Save changes</button>\n </div>\n </div>\n</footer>\n",
|
|
394
395
|
"verdict": "excerpt"
|
|
395
396
|
},
|
|
396
397
|
{
|
|
@@ -406,7 +407,7 @@
|
|
|
406
407
|
"title": "Setting it once, and standing beside other families",
|
|
407
408
|
"note": "provideActionBarDefaults carries the four decisions an application takes once. The bar is what goes inside a page footer, inside a drawer and under a table — and every part is a directive on the consumer’s own element.",
|
|
408
409
|
"language": "ts",
|
|
409
|
-
"source": "bootstrapApplication(App, {\n providers: [provideActionBarDefaults({ size: 'sm', variant: 'plain' })],\n});\n\n// The bar is a directive, so the element is the page's own:\n// <footer slActionBar aria-label=\"
|
|
410
|
+
"source": "bootstrapApplication(App, {\n providers: [provideActionBarDefaults({ size: 'sm', variant: 'plain' })],\n});\n\n// The bar is a directive, so the element is the page's own:\n// <footer slActionBar aria-label=\"Order actions\">…</footer>\n",
|
|
410
411
|
"verdict": "excerpt"
|
|
411
412
|
},
|
|
412
413
|
{
|
|
@@ -414,7 +415,7 @@
|
|
|
414
415
|
"title": "The keyboard, and what a reader hears",
|
|
415
416
|
"note": "Tab reaches each action in the order the author wrote it. The bar is role=\"group\" with the consumer’s own name; a fieldset around it is how it goes out of action, and the platform takes the controls out of the tab order with it.",
|
|
416
417
|
"language": "html",
|
|
417
|
-
"source": "<fieldset [disabled]=\"submitting()\">\n <footer slActionBar aria-label=\"
|
|
418
|
+
"source": "<fieldset [disabled]=\"submitting()\">\n <footer slActionBar aria-label=\"Order actions\">\n <div slActionBarActions>\n <div slActionBarAction>\n <button slButton variant=\"ghost\" type=\"button\">Cancelar</button>\n </div>\n <div slActionBarAction>\n <button slButton type=\"button\">Guardar</button>\n </div>\n </div>\n </footer>\n</fieldset>\n",
|
|
418
419
|
"verdict": "excerpt"
|
|
419
420
|
}
|
|
420
421
|
]
|
package/docs/action-bar.md
CHANGED
|
@@ -16,14 +16,14 @@ Selector: `[slActionBar], [slActionBarStatus], [slActionBarActions], [slActionBa
|
|
|
16
16
|
Excerpt — not a complete module
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
|
-
<footer slActionBar aria-label="
|
|
20
|
-
<div slActionBarStatus>
|
|
19
|
+
<footer slActionBar aria-label="Order actions">
|
|
20
|
+
<div slActionBarStatus>Draft saved at 14:07</div>
|
|
21
21
|
<div slActionBarActions>
|
|
22
22
|
<div slActionBarAction>
|
|
23
23
|
<button slButton variant="ghost" tone="secondary" type="button">Cancelar</button>
|
|
24
24
|
</div>
|
|
25
25
|
<div slActionBarAction>
|
|
26
|
-
<button slButton type="button">
|
|
26
|
+
<button slButton type="button">Submit for approval</button>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
29
29
|
</footer>
|
|
@@ -52,11 +52,11 @@ Excerpt — not a complete module
|
|
|
52
52
|
| `overflowChange` | `EventEmitter<number>` | — | slActionBar | How many actions gave way, once per change. There is no two-way binding over the collapsed set: it is a measurement, and a consumer who owned it could assert that a bar fits when the layout says it does not |
|
|
53
53
|
| `slActionBarAction` | `'pinned' \| 'high' \| 'low' \| 'hide' \| 'always'` | low with a counterpart, pinned without | slActionBarAction | The selector’s own value is the rank. pinned never goes; high goes after low and hide; low is the first into the surface; hide goes first and is not offered in the surface at all; always is never in the bar. A rank that needs a counterpart and has none behaves as pinned, so a consumer error leaves the control on the bar |
|
|
54
54
|
| `slActionBarActionCounterpart` | `TemplateRef<unknown>` | — | slActionBarAction | What the action becomes in the surface, as an ng-template rendered only while the action is in it — so a menu item that is never reached builds nothing. An action that declares none is pinned: pinning is the absence of a counterpart rather than a second input |
|
|
55
|
-
| `label` | `string \| ((hidden: number) => string)` | counted | sl-action-bar-overflow | The accessible name of the control that holds what did not fit. The default counts — "3 more actions" — because three dots say nothing about how much is behind them. An aria-label written on the host wins over it |
|
|
55
|
+
| `label` | `string \| ((hidden: number) => string)` | counted | sl-action-bar-overflow | The accessible name of the control that holds what did not fit. The default counts — "3 more actions" — because three dots say nothing about how much is behind them, in the language in force, with its plural. An aria-label written on the host wins over it |
|
|
56
56
|
| `align, side, size` | `MenuAlign \| MenuSide \| MenuSize` | from the Menu defaults | sl-action-bar-overflow | Where the surface sits against the trigger, and its own measure. Everything else about the layer an application sets once with provideMenuDefaults |
|
|
57
57
|
| `aria-label` | `string` | — | slActionBar | The name of the bar. The family writes none: only the page knows which task the bar finishes. aria-labelledby works the same way |
|
|
58
58
|
| `role` | `string` | group | slActionBar | group, because there is no roving focus to declare — ARIA makes toolbar a subclass of group, and the subclass is what is asserted when there is focus management. A role written on the host is read with HostAttributeToken and survives, but a consumer who wants the composite wants the Toolbar family |
|
|
59
|
-
| `the directive form` | `an attribute on the consumer’s own element` | — | every part but the overflow | The bar is a footer, the status a p, the run a div — the family adds
|
|
59
|
+
| `the directive form` | `an attribute on the consumer’s own element` | — | every part but the overflow | The bar is a footer, the status a p, the run a div — the family adds behavior to the element the page already wanted rather than inserting one of its own |
|
|
60
60
|
| `provideActionBarDefaults` | `{ variant, size, align, sticky }` | — | an injector | The four decisions an application takes once. A bar that states any of them itself still wins |
|
|
61
61
|
| `exportAs` | `'slActionBar' and one per part` | — | a template | Reaches the instance from the template — surfaceUnits() for what the menu holds, and refresh() to measure again after something the DOM cannot report |
|
|
62
62
|
| `ng-template` | `TemplateRef` | — | slActionBarActionCounterpart | The counterpart is lazy: the outlet renders it only while the action is in the surface, and it is given an injector carrying the menu this component draws — so slMenuItem finds the surface it is actually inside |
|
|
@@ -77,20 +77,20 @@ Excerpt — not a complete module
|
|
|
77
77
|
- There is no APG pattern for a bar of actions, and the closest official guidance is the Toolbar pattern (w3.org/WAI/ARIA/apg/patterns/toolbar/). This family departs from it deliberately: there is no roving focus, so Tab reaches every action in the order the author wrote it. The controls here are the page’s own form actions, and a reader walking a form expects to arrive at Cancel and then at Save; a composite would make the whole bar one tab stop and put Save behind an arrow key that announces nothing. The cost is written down — a bar of ten icon-only actions is ten tab stops, and that bar is the Toolbar family.
|
|
78
78
|
- The role follows the departure. ARIA 1.2 makes toolbar a subclass of group, and the subclass is what is asserted when there is focus management to declare; without it, group is what is true. The bar names itself with the consumer’s aria-label or aria-labelledby, because only the page knows which task it finishes — and a role written on the host is read with HostAttributeToken before the host binding, so what the consumer wrote survives.
|
|
79
79
|
- The only keyboard this family owns is the overflow trigger’s, and it is the Menu family’s: Enter, Space and ArrowDown open the surface, Escape closes it and returns focus to the trigger. Focus is moved onto the trigger before the action holding it is hidden, so a reader who was on the fifth button lands on the control that now holds it rather than on the document body.
|
|
80
|
-
- The trigger’s accessible name carries the count rather than the mark, so a reader hears “3 more actions” instead of three dots
|
|
80
|
+
- The trigger’s accessible name carries the count rather than the mark, so a reader hears “3 more actions” instead of three dots, in the language in force with its plural. The count in the DOM, data-collapsed, is the same fact for a stylesheet or a test.
|
|
81
81
|
- A bar out of action is a fieldset around it: the platform disables every control inside and takes them out of the tab order with it. The family writes no data-disabled and declares no disabled state, because it does not own the capability — a container that refused interaction while its controls still looked operable is the defect the state precedence exists to prevent.
|
|
82
82
|
- A bar that is not present is painted out with display:none once its exit has finished, which takes it out of the accessibility tree and out of the tab order together. Carbon’s batch bar writes aria-hidden on its root instead and leaves the buttons inside reachable by Tab, which puts focus in a region the screen reader announces as absent. Appearing never moves focus either: the bar is not a dialog, and taking focus from a reader who is ticking boxes is exactly the jump a selection bar must not make.
|
|
83
|
-
- Under forced
|
|
83
|
+
- Under forced colors the rule between two runs keeps its own paint, because a background flattens to Canvas and would take the boundary between a destructive action and a frequent one with it. Everything else the reader sees belongs to the controls the consumer placed, and each keeps its own states, its own focus ring and its own contrast.
|
|
84
84
|
|
|
85
85
|
## Tokens
|
|
86
86
|
|
|
87
|
-
`--slotted-action-bar-background`, `--slotted-action-bar-border-color`, `--slotted-action-bar-gap`, `--slotted-action-bar-inset-block`, `--slotted-action-bar-inset-inline`, `--slotted-action-bar-overflow-active-background`, `--slotted-action-bar-overflow-color`, `--slotted-action-bar-overflow-hover-background`, `--slotted-action-bar-overflow-hover-color`, `--slotted-action-bar-overflow-open-background`, `--slotted-action-bar-separator-color`, `--slotted-action-bar-status-color`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
87
|
+
`--slotted-action-bar-backdrop-filter`, `--slotted-action-bar-background`, `--slotted-action-bar-border-color`, `--slotted-action-bar-gap`, `--slotted-action-bar-inset-block`, `--slotted-action-bar-inset-inline`, `--slotted-action-bar-overflow-active-background`, `--slotted-action-bar-overflow-color`, `--slotted-action-bar-overflow-hover-background`, `--slotted-action-bar-overflow-hover-color`, `--slotted-action-bar-overflow-open-background`, `--slotted-action-bar-separator-color`, `--slotted-action-bar-status-color`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
88
88
|
|
|
89
89
|
## Examples
|
|
90
90
|
|
|
91
91
|
### Which action gives way first
|
|
92
92
|
|
|
93
|
-
Narrow the stage and watch the order: “
|
|
93
|
+
Narrow the stage and watch the order: “Preview” goes without a trace, “Duplicate” becomes a menu row, “Send back” follows it, and “Approve” never moves. Position decides nothing here — the rank does.
|
|
94
94
|
|
|
95
95
|
Excerpt — not a complete module
|
|
96
96
|
|
|
@@ -98,7 +98,7 @@ Excerpt — not a complete module
|
|
|
98
98
|
<div slActionBarActions>
|
|
99
99
|
<!-- Gives way before every other rank, and is not offered in the menu. -->
|
|
100
100
|
<div slActionBarAction="hide">
|
|
101
|
-
<button slButton variant="ghost" type="button">
|
|
101
|
+
<button slButton variant="ghost" type="button">Preview</button>
|
|
102
102
|
</div>
|
|
103
103
|
<!-- low is the default for an action that declares a counterpart. -->
|
|
104
104
|
<div slActionBarAction [slActionBarActionCounterpart]="duplicate">
|
|
@@ -127,7 +127,7 @@ Excerpt — not a complete module
|
|
|
127
127
|
```html
|
|
128
128
|
<div slActionBarActions>
|
|
129
129
|
<div slActionBarAction="always" [slActionBarActionCounterpart]="history">
|
|
130
|
-
<button slButton variant="ghost" type="button">
|
|
130
|
+
<button slButton variant="ghost" type="button">View history</button>
|
|
131
131
|
</div>
|
|
132
132
|
<div slActionBarAction>
|
|
133
133
|
<button slButton type="button">Aprovar</button>
|
|
@@ -135,7 +135,7 @@ Excerpt — not a complete module
|
|
|
135
135
|
<sl-action-bar-overflow [label]="count" />
|
|
136
136
|
</div>
|
|
137
137
|
|
|
138
|
-
<ng-template #history><button slMenuItem type="button">
|
|
138
|
+
<ng-template #history><button slMenuItem type="button">View history</button></ng-template>
|
|
139
139
|
```
|
|
140
140
|
|
|
141
141
|
### The action that confirms does not move
|
|
@@ -147,7 +147,7 @@ Excerpt — not a complete module
|
|
|
147
147
|
```html
|
|
148
148
|
<!-- The run carries margin-inline-start: auto, so what grows or leaves
|
|
149
149
|
moves what is *before* the last action and never the last action. -->
|
|
150
|
-
<footer slActionBar aria-label="
|
|
150
|
+
<footer slActionBar aria-label="Order actions">
|
|
151
151
|
@if (dirty()) {
|
|
152
152
|
<div slActionBarStatus>{{ message() }}</div>
|
|
153
153
|
}
|
|
@@ -166,14 +166,14 @@ Excerpt — not a complete module
|
|
|
166
166
|
|
|
167
167
|
### A destructive action, and the rule beside it
|
|
168
168
|
|
|
169
|
-
The first bar keeps “
|
|
169
|
+
The first bar keeps “Void invoice” away from the two frequent actions with the bar’s own rule. The second is the case nobody writes down: the action that confirms *is* the destructive one, and the rule is what a hand about to press Keep reads.
|
|
170
170
|
|
|
171
171
|
Excerpt — not a complete module
|
|
172
172
|
|
|
173
173
|
```html
|
|
174
174
|
<div slActionBarActions>
|
|
175
175
|
<div slActionBarAction>
|
|
176
|
-
<button slButton variant="ghost" tone="danger" type="button">
|
|
176
|
+
<button slButton variant="ghost" tone="danger" type="button">Void invoice</button>
|
|
177
177
|
</div>
|
|
178
178
|
<div slActionBarSeparator></div>
|
|
179
179
|
<div slActionBarAction>
|
|
@@ -206,14 +206,14 @@ Excerpt — not a complete module
|
|
|
206
206
|
```html
|
|
207
207
|
<footer
|
|
208
208
|
slActionBar
|
|
209
|
-
aria-label="
|
|
209
|
+
aria-label="Selection actions"
|
|
210
210
|
variant="raised"
|
|
211
211
|
[present]="selected().length > 0"
|
|
212
212
|
>
|
|
213
213
|
<div slActionBarStatus>
|
|
214
|
-
<strong>{{ selected().length }}
|
|
214
|
+
<strong>{{ selected().length }} invoices selected</strong>
|
|
215
215
|
<button slButton size="sm" variant="ghost" tone="accent" type="button" (click)="selectAll()">
|
|
216
|
-
|
|
216
|
+
Select all {{ total() }} in the filter
|
|
217
217
|
</button>
|
|
218
218
|
</div>
|
|
219
219
|
<div slActionBarActions>
|
|
@@ -235,7 +235,7 @@ Scroll the panel: the bar stays at the bottom and the last line of content scrol
|
|
|
235
235
|
Excerpt — not a complete module
|
|
236
236
|
|
|
237
237
|
```html
|
|
238
|
-
<footer slActionBar aria-label="
|
|
238
|
+
<footer slActionBar aria-label="Form actions" variant="raised" sticky>
|
|
239
239
|
<div slActionBarActions>
|
|
240
240
|
<div slActionBarAction>
|
|
241
241
|
<button slButton type="button">Guardar</button>
|
|
@@ -246,12 +246,12 @@ Excerpt — not a complete module
|
|
|
246
246
|
|
|
247
247
|
### Where the run sits
|
|
248
248
|
|
|
249
|
-
end is the anchor and the default; start puts the run beside the status; center places it in what is left. The field disagrees about this one — Salesforce
|
|
249
|
+
end is the anchor and the default; start puts the run beside the status; center places it in what is left. The field disagrees about this one — Salesforce centers a docked footer, Polaris ends it, Fluent starts it — so it is an axis.
|
|
250
250
|
|
|
251
251
|
Excerpt — not a complete module
|
|
252
252
|
|
|
253
253
|
```html
|
|
254
|
-
<footer slActionBar aria-label="
|
|
254
|
+
<footer slActionBar aria-label="Actions" align="center" variant="raised"></footer>
|
|
255
255
|
```
|
|
256
256
|
|
|
257
257
|
### The step the bar sits at
|
|
@@ -261,7 +261,7 @@ The size moves the bar’s own inset, gap, minimum height and rule — and it re
|
|
|
261
261
|
Excerpt — not a complete module
|
|
262
262
|
|
|
263
263
|
```html
|
|
264
|
-
<footer slActionBar aria-label="
|
|
264
|
+
<footer slActionBar aria-label="Actions" size="sm" variant="raised">
|
|
265
265
|
<div slActionBarActions>
|
|
266
266
|
<!-- No size here: the bar hands its own down. -->
|
|
267
267
|
<div slActionBarAction>
|
|
@@ -281,13 +281,13 @@ plain is the default and paints nothing — a bar inside a page footer is alread
|
|
|
281
281
|
Excerpt — not a complete module
|
|
282
282
|
|
|
283
283
|
```html
|
|
284
|
-
<footer slActionBar aria-label="
|
|
285
|
-
<footer slActionBar aria-label="
|
|
284
|
+
<footer slActionBar aria-label="Actions" variant="plain"></footer>
|
|
285
|
+
<footer slActionBar aria-label="Actions" variant="raised"></footer>
|
|
286
286
|
```
|
|
287
287
|
|
|
288
288
|
### The bar on a phone
|
|
289
289
|
|
|
290
|
-
Below 24rem of container
|
|
290
|
+
Below 24rem of container a bar with no overflow control becomes a full-width column with the action that confirms on top, and the collapse stops running — a column has room for everything, so there is no menu. A bar with an overflow control keeps one row: the actions without a counterpart stay and the rest fold into the menu. The DOM order does not change, so Tab still reads the form’s order.
|
|
291
291
|
|
|
292
292
|
Excerpt — not a complete module
|
|
293
293
|
|
|
@@ -295,13 +295,13 @@ Excerpt — not a complete module
|
|
|
295
295
|
<!-- The breakpoint lives in the stylesheet's container query, and the
|
|
296
296
|
directive reads back the property that query raises rather than
|
|
297
297
|
holding a copy of the number. -->
|
|
298
|
-
<footer slActionBar aria-label="
|
|
298
|
+
<footer slActionBar aria-label="Order actions" variant="raised">
|
|
299
299
|
<div slActionBarActions>
|
|
300
300
|
<div slActionBarAction>
|
|
301
|
-
<button slButton variant="ghost" type="button">
|
|
301
|
+
<button slButton variant="ghost" type="button">Discard changes</button>
|
|
302
302
|
</div>
|
|
303
303
|
<div slActionBarAction>
|
|
304
|
-
<button slButton type="button">
|
|
304
|
+
<button slButton type="button">Save changes</button>
|
|
305
305
|
</div>
|
|
306
306
|
</div>
|
|
307
307
|
</footer>
|
|
@@ -339,7 +339,7 @@ bootstrapApplication(App, {
|
|
|
339
339
|
});
|
|
340
340
|
|
|
341
341
|
// The bar is a directive, so the element is the page's own:
|
|
342
|
-
// <footer slActionBar aria-label="
|
|
342
|
+
// <footer slActionBar aria-label="Order actions">…</footer>
|
|
343
343
|
```
|
|
344
344
|
|
|
345
345
|
### The keyboard, and what a reader hears
|
|
@@ -350,7 +350,7 @@ Excerpt — not a complete module
|
|
|
350
350
|
|
|
351
351
|
```html
|
|
352
352
|
<fieldset [disabled]="submitting()">
|
|
353
|
-
<footer slActionBar aria-label="
|
|
353
|
+
<footer slActionBar aria-label="Order actions">
|
|
354
354
|
<div slActionBarActions>
|
|
355
355
|
<div slActionBarAction>
|
|
356
356
|
<button slButton variant="ghost" type="button">Cancelar</button>
|