@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/tokens.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
The theme states every value the families draw with. An element of the application's own reads the groups on this page, never a literal, and never a token of a group under "Read by their family only" (CP-05, OE-01).
|
|
4
4
|
|
|
5
|
-
A primitive is a step on a scale; a semantic token says what a value is for. Values are the default theme's. A
|
|
5
|
+
A primitive is a step on a scale; a semantic token says what a value is for. Values are the default theme's. A color has no value here: it changes with the scheme — light, dark, high-contrast — and is chosen by its role. A value that follows density is given for comfortable, compact and dense.
|
|
6
6
|
|
|
7
7
|
## space
|
|
8
8
|
|
|
@@ -205,7 +205,7 @@ Names: --slotted-z-index-{layer}
|
|
|
205
205
|
|
|
206
206
|
## shadow
|
|
207
207
|
|
|
208
|
-
What elevation a surface has above the one under it, smallest first; under forced
|
|
208
|
+
What elevation a surface has above the one under it, smallest first; under forced colors every step is none.
|
|
209
209
|
|
|
210
210
|
Names: --slotted-shadow-{step}
|
|
211
211
|
|
|
@@ -228,12 +228,12 @@ The grounds content stands on.
|
|
|
228
228
|
| `--slotted-surface-inverse` | A ground in the opposite lightness, with `--slotted-text-inverse` on it. | by scheme |
|
|
229
229
|
| `--slotted-surface-inverse-hover` | The inverse ground under the pointer: `--slotted-surface-inverse` moved a share toward the opposite lightness. | by scheme |
|
|
230
230
|
| `--slotted-surface-inverse-active` | The inverse ground while pressed, a step beyond the hover. | by scheme |
|
|
231
|
-
| `--slotted-surface-material` | The ground of a bar that floats over scrolling content, drawn as a material: `--slotted-surface` at a partial share over transparency, behind `--slotted-material-backdrop`. Under `prefers-reduced-transparency: reduce` it is `--slotted-surface`, and under forced
|
|
232
|
-
| `--slotted-material-backdrop` | The backdrop filter a material is drawn with: the content scrolling under it, saturated and blurred. Under `prefers-reduced-transparency: reduce` it is `none`. |
|
|
231
|
+
| `--slotted-surface-material` | The ground of a bar that floats over scrolling content, drawn as a material: `--slotted-surface` at a partial share over transparency, behind `--slotted-material-backdrop`. Under `prefers-reduced-transparency: reduce` it is `--slotted-surface`, and under forced colors the Canvas system color. | by scheme |
|
|
232
|
+
| `--slotted-material-backdrop` | The backdrop filter a material is drawn with: the content scrolling under it, saturated and blurred. Each scheme states its own, because a light page holds less contrast for a blur to keep. Under `prefers-reduced-transparency: reduce` and forced colors it is `none`. | by scheme |
|
|
233
233
|
|
|
234
234
|
## text
|
|
235
235
|
|
|
236
|
-
The
|
|
236
|
+
The colors text is painted in.
|
|
237
237
|
|
|
238
238
|
| Token | Meaning | Default value |
|
|
239
239
|
| --- | --- | --- |
|
|
@@ -243,7 +243,7 @@ The colours text is painted in.
|
|
|
243
243
|
|
|
244
244
|
## border
|
|
245
245
|
|
|
246
|
-
The
|
|
246
|
+
The colors of lines between and inside surfaces.
|
|
247
247
|
|
|
248
248
|
| Token | Meaning | Default value |
|
|
249
249
|
| --- | --- | --- |
|
|
@@ -270,8 +270,8 @@ The outline every focused element draws.
|
|
|
270
270
|
| --- | --- | --- |
|
|
271
271
|
| `--slotted-focus-ring-width` | The thickness of the focus outline. | 2px |
|
|
272
272
|
| `--slotted-focus-ring-offset` | The distance between the element and its focus outline. | 2px |
|
|
273
|
-
| `--slotted-focus-ring-color` | The
|
|
274
|
-
| `--slotted-focus-ring-color-invalid` | The
|
|
273
|
+
| `--slotted-focus-ring-color` | The color of the focus outline. | by scheme |
|
|
274
|
+
| `--slotted-focus-ring-color-invalid` | The color of the focus outline of a control in error; an element in error points `--slotted-focus-ring-color` at it. | by scheme |
|
|
275
275
|
|
|
276
276
|
## target
|
|
277
277
|
|
|
@@ -284,7 +284,7 @@ How small an interactive target may be.
|
|
|
284
284
|
|
|
285
285
|
## tone
|
|
286
286
|
|
|
287
|
-
What an element carrying an intent is painted with:
|
|
287
|
+
What an element carrying an intent is painted with: seven tones, each with the same nine roles.
|
|
288
288
|
|
|
289
289
|
Names: --slotted-tone-{tone}-{role}
|
|
290
290
|
|
|
@@ -292,7 +292,8 @@ Names: --slotted-tone-{tone}-{role}
|
|
|
292
292
|
| --- | --- |
|
|
293
293
|
| accent | The product's intent: the primary action, the chosen option, the current place. |
|
|
294
294
|
| secondary | A second intent beside accent, for an action or a mark that must not compete with it. |
|
|
295
|
-
| neutral | Ink: the inverse surface as a fill and the text
|
|
295
|
+
| neutral | Ink: the inverse surface as a fill and the text color as a label, for a primary action in a product that keeps the accent for data. |
|
|
296
|
+
| info | A fact the reader is told with no judgement of it: a note, a transfer, a change of state that is neither good nor bad. Its own seed, so it stays apart from an accent that shares a hue with success. |
|
|
296
297
|
| success | A result that completed or a state that is healthy. |
|
|
297
298
|
| warning | A state that needs attention before it becomes a failure. |
|
|
298
299
|
| danger | A failure, an error or an action that destroys data. |
|
|
@@ -315,16 +316,33 @@ What a series of data is painted with: a line, a bar, a slice. Slots are assigne
|
|
|
315
316
|
|
|
316
317
|
Names: --slotted-data-{slot}
|
|
317
318
|
|
|
318
|
-
|
|
|
319
|
-
| --- | --- |
|
|
320
|
-
|
|
|
321
|
-
|
|
|
322
|
-
|
|
|
323
|
-
|
|
|
324
|
-
|
|
|
325
|
-
|
|
|
326
|
-
|
|
|
327
|
-
|
|
|
319
|
+
| slot | Meaning |
|
|
320
|
+
| --- | --- |
|
|
321
|
+
| 1 | The first series. |
|
|
322
|
+
| 2 | The second series. |
|
|
323
|
+
| 3 | The third series. |
|
|
324
|
+
| 4 | The fourth series. |
|
|
325
|
+
| 5 | The fifth series. |
|
|
326
|
+
| 6 | The sixth series. |
|
|
327
|
+
| 7 | The seventh series. |
|
|
328
|
+
| 8 | The eighth series. |
|
|
329
|
+
|
|
330
|
+
## data-on
|
|
331
|
+
|
|
332
|
+
The ink drawn on a data slot used as a ground — an icon on a category tile — at the non-text ratio (3:1, WCAG 1.4.11) against its slot in every scheme.
|
|
333
|
+
|
|
334
|
+
Names: --slotted-data-{slot}-on
|
|
335
|
+
|
|
336
|
+
| slot | Meaning |
|
|
337
|
+
| --- | --- |
|
|
338
|
+
| 1 | Ink on the first slot. |
|
|
339
|
+
| 2 | Ink on the second slot. |
|
|
340
|
+
| 3 | Ink on the third slot. |
|
|
341
|
+
| 4 | Ink on the fourth slot. |
|
|
342
|
+
| 5 | Ink on the fifth slot. |
|
|
343
|
+
| 6 | Ink on the sixth slot. |
|
|
344
|
+
| 7 | Ink on the seventh slot. |
|
|
345
|
+
| 8 | Ink on the eighth slot. |
|
|
328
346
|
|
|
329
347
|
## control
|
|
330
348
|
|
|
@@ -338,11 +356,12 @@ What a control's text and frame look like at every size.
|
|
|
338
356
|
| `--slotted-control-letter-spacing` | The letter spacing of a control's text. | 0 |
|
|
339
357
|
| `--slotted-control-border-width` | The edge width of a control at rest. | 1px |
|
|
340
358
|
| `--slotted-control-radius` | The corner of a control. | 4px |
|
|
341
|
-
| `--slotted-control-shadow-focus-geometry` | Offset, blur and spread of the shadow a focused control draws, with no
|
|
359
|
+
| `--slotted-control-shadow-focus-geometry` | Offset, blur and spread of the shadow a focused control draws, with no color; drawn with `--slotted-focus-ring-color`. | 0 1px 4px -1px |
|
|
342
360
|
| `--slotted-control-transition-duration` | How long a control takes to change state. | 120ms; 1ms under reduced motion |
|
|
343
361
|
| `--slotted-control-transition-easing` | The curve of a control's change of state. | cubic-bezier(0.2, 0, 0, 1) |
|
|
344
|
-
| `--slotted-control-invalid-edge-width` | The edge an invalid control adds inside its border, so the state reads where
|
|
345
|
-
| `--slotted-control-
|
|
362
|
+
| `--slotted-control-invalid-edge-width` | The edge an invalid control adds inside its border, so the state reads where color cannot. | 1px |
|
|
363
|
+
| `--slotted-control-focus-ring-offset` | The distance between a field's frame and its focus outline; set to the negative of `--slotted-control-border-width`, a field's ring lies flush over its border while a button keeps `--slotted-focus-ring-offset`. | 2px |
|
|
364
|
+
| `--slotted-control-border-color` | The edge color of a control at rest. | by scheme |
|
|
346
365
|
| `--slotted-control-surface` | The ground of a control at rest: a field, a select, a segmented control. | by scheme |
|
|
347
366
|
| `--slotted-control-shadow` | The shadow of a control at rest. | by scheme |
|
|
348
367
|
|
|
@@ -421,7 +440,7 @@ How the place the reader is on is marked.
|
|
|
421
440
|
|
|
422
441
|
## state
|
|
423
442
|
|
|
424
|
-
Translucent layers laid over whatever surface an element stands on, so a hovered, pressed or selected row reads the same on the page and on a raised surface. Each is the scheme's text
|
|
443
|
+
Translucent layers laid over whatever surface an element stands on, so a hovered, pressed or selected row reads the same on the page and on a raised surface. Each is the scheme's text color at a small share over transparency. Under forced colors every layer is the Canvas system color: the state is carried by the system colors the family draws, Highlight for selection and an outline for focus.
|
|
425
444
|
|
|
426
445
|
| Token | Meaning | Default value |
|
|
427
446
|
| --- | --- | --- |
|
|
@@ -442,7 +461,7 @@ The veil under a modal surface.
|
|
|
442
461
|
A family adjusts these for itself. An element of the application's own does not read them.
|
|
443
462
|
|
|
444
463
|
- icon: The geometry of an icon a family draws itself; an icon of the application's own is drawn with the icon family. Names: --slotted-icon-{glyph}
|
|
445
|
-
- upload-kind: The tile
|
|
446
|
-
- code: The
|
|
464
|
+
- upload-kind: The tile colors of file kinds in upload and attachment. Names: --slotted-upload-kind-{kind}
|
|
465
|
+
- code: The colors of syntax scopes in code-block. Names: --slotted-code-{scope}
|
|
447
466
|
- rating: The edge of a star in rating. Names: --slotted-rating-edge
|
|
448
467
|
- avatar-size: The sizes of avatar, smallest first. Names: --slotted-avatar-size-{size}
|
package/docs/toolbar.json
CHANGED
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"type": "string | ((hidden: number) => string)",
|
|
153
153
|
"defaultValue": "counted",
|
|
154
154
|
"appliesTo": "sl-toolbar-overflow",
|
|
155
|
-
"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
|
|
155
|
+
"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. It is a sentence of the language in force, with its plural, and label replaces it, and an aria-label written on the host wins over both"
|
|
156
156
|
},
|
|
157
157
|
{
|
|
158
158
|
"name": "align, side, size",
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
"A control that announces aria-disabled keeps its place in the ring, which the pattern allows where discoverability of a function is crucial and which is what Button’s focusableWhenDisabled renders. A control carrying the native attribute is skipped, because the platform will not focus it either — including every control inside a disabled fieldset.",
|
|
235
235
|
"The bar names itself with the consumer’s aria-label or aria-labelledby, and each group names itself the same way. The pattern uses the role for three or more controls; that is documented rather than enforced, because a role that disappeared when a permission filter removed a button would be a semantic changing behind the author.",
|
|
236
236
|
"Under overflow=\"menu\" the control that holds what did not fit is a control of the bar like any other: the arrows, Home and End reach it, and it leaves the ring the moment the bar has room for everything, because a hidden control cannot hold focus. Its name carries the count rather than the mark, and focus is moved onto it before the control under focus 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.",
|
|
237
|
-
"Nothing in the bar is painted over: every control keeps its own states, its own focus ring and its own contrast. What the bar adds is the boundary between runs — a group, a rule, a spacer — and under forced
|
|
237
|
+
"Nothing in the bar is painted over: every control keeps its own states, its own focus ring and its own contrast. What the bar adds is the boundary between runs — a group, a rule, a spacer — and under forced colors the rule keeps its own paint, because a background flattens to Canvas and would take the boundary with it."
|
|
238
238
|
]
|
|
239
239
|
}
|
|
240
240
|
},
|
|
@@ -293,15 +293,15 @@
|
|
|
293
293
|
"title": "Playground",
|
|
294
294
|
"note": "One bar with every axis on it, driven by the controls below the canvas. Tab into it once, then use the arrows: the whole bar is a single stop however many controls it holds.",
|
|
295
295
|
"language": "html",
|
|
296
|
-
"source": "<div slToolbar aria-label=\"
|
|
296
|
+
"source": "<div slToolbar aria-label=\"Formatting\">\n <button slButton variant=\"ghost\">Bold</button>\n <button slButton variant=\"ghost\">Italic</button>\n <div slToolbarSeparator></div>\n <button slButton variant=\"ghost\">Link</button>\n</div>\n",
|
|
297
297
|
"verdict": "excerpt"
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
300
|
"id": "orientation",
|
|
301
301
|
"title": "Which way the bar runs",
|
|
302
|
-
"note": "A horizontal bar
|
|
302
|
+
"note": "A horizontal bar centers its controls and a vertical one stretches them, because a column at each control’s natural width is a ragged edge; the separator and the group boundary turn with it.",
|
|
303
303
|
"language": "html",
|
|
304
|
-
"source": "<div slToolbar aria-label=\"
|
|
304
|
+
"source": "<div slToolbar aria-label=\"Tools\" orientation=\"vertical\">\n <button slButton variant=\"ghost\">Pencil</button>\n <button slButton variant=\"ghost\">Brush</button>\n <div slToolbarSeparator></div>\n <button slButton variant=\"ghost\">Borracha</button>\n</div>\n",
|
|
305
305
|
"verdict": "excerpt"
|
|
306
306
|
},
|
|
307
307
|
{
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
"title": "Runs that belong together",
|
|
326
326
|
"note": "A group carries a name a screen reader announces and a boundary the eye reads, and a rule draws the same boundary the other way — which is what keeps a destructive action off a frequent one.",
|
|
327
327
|
"language": "html",
|
|
328
|
-
"source": "<div slToolbar aria-label=\"
|
|
328
|
+
"source": "<div slToolbar aria-label=\"Selection\" variant=\"outline\">\n <div slToolbarGroup aria-label=\"Alignment\">\n <button slButton variant=\"outline\">Start</button>\n <button slButton variant=\"outline\" pressed>Center</button>\n </div>\n <div slToolbarSeparator></div>\n <div slToolbarSpacer></div>\n <button slButton tone=\"danger\">Delete</button>\n</div>\n",
|
|
329
329
|
"verdict": "excerpt"
|
|
330
330
|
},
|
|
331
331
|
{
|
|
@@ -333,13 +333,13 @@
|
|
|
333
333
|
"title": "The APG table, and where focus lands",
|
|
334
334
|
"note": "Tab enters the bar once and returns to the control that last had focus; the arrows of the flow axis move and wrap, the cross axis duplicates them, and Home and End reach the ends.",
|
|
335
335
|
"language": "html",
|
|
336
|
-
"source": "<!-- Every focusable control inside the bar is an item, found in the DOM rather\n than wrapped in a component of its own — so this library's own families,\n and a consumer's own control, drop in unwrapped. -->\n<div slToolbar aria-label=\"
|
|
336
|
+
"source": "<!-- Every focusable control inside the bar is an item, found in the DOM rather\n than wrapped in a component of its own — so this library's own families,\n and a consumer's own control, drop in unwrapped. -->\n<div slToolbar aria-label=\"Formatting\">\n <button slButton variant=\"ghost\">Bold</button>\n <span slCheckbox><input slCheckboxControl type=\"checkbox\" /></span>\n <a slLink href=\"/ajuda\">Ajuda</a>\n</div>\n",
|
|
337
337
|
"verdict": "excerpt"
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
340
|
"id": "keyOwners",
|
|
341
341
|
"title": "An item that keeps the arrows",
|
|
342
|
-
"note": "A text field needs the inline arrows for its caret, so the bar leaves them to it and focus moves out on the cross axis instead — the APG’s advice for the author, written as
|
|
342
|
+
"note": "A text field needs the inline arrows for its caret, so the bar leaves them to it and focus moves out on the cross axis instead — the APG’s advice for the author, written as behavior.",
|
|
343
343
|
"language": "html",
|
|
344
344
|
"source": "<div slToolbar aria-label=\"Filtro\">\n <button slButton variant=\"outline\">Todos</button>\n <div slToolbarSpacer></div>\n <!-- Inferred from the kind of control; data-toolbar-keys states it where the\n kind cannot say — \"none\", \"inline\", \"block\" or \"all\". -->\n <span slTextField><input slTextFieldControl type=\"search\" aria-label=\"Buscar\" /></span>\n</div>\n",
|
|
345
345
|
"verdict": "excerpt"
|
|
@@ -349,7 +349,7 @@
|
|
|
349
349
|
"title": "A bar out of action",
|
|
350
350
|
"note": "A fieldset around the bar disables every control inside it natively, and because a natively disabled control cannot be focused, the arrows skip exactly those — the platform answers it in two lines.",
|
|
351
351
|
"language": "html",
|
|
352
|
-
"source": "<fieldset [disabled]=\"readOnly()\">\n <div slToolbar aria-label=\"
|
|
352
|
+
"source": "<fieldset [disabled]=\"readOnly()\">\n <div slToolbar aria-label=\"Read only\">\n <button slButton variant=\"outline\">Edit</button>\n <div slToolbarSeparator></div>\n <button slButton tone=\"danger\">Delete</button>\n </div>\n</fieldset>\n",
|
|
353
353
|
"verdict": "excerpt"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
"title": "More controls than room",
|
|
358
358
|
"note": "wrap keeps every control visible on a second row, and the arrows wrap from row to row because the item list is linear; scroll keeps the bar to one line and scrolls past its controls rather than squeezing them.",
|
|
359
359
|
"language": "html",
|
|
360
|
-
"source": "<div slToolbar aria-label=\"
|
|
360
|
+
"source": "<div slToolbar aria-label=\"Many actions\" overflow=\"wrap\"></div>\n<div slToolbar aria-label=\"Many actions, scrolling\" overflow=\"scroll\"></div>\n",
|
|
361
361
|
"verdict": "excerpt"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"title": "Setting it once, and standing beside other families",
|
|
374
374
|
"note": "The provider carries the five decisions an application takes once, and the bar is what belongs in a tab list’s actions slot — one tab stop for however many actions the page puts there.",
|
|
375
375
|
"language": "ts",
|
|
376
|
-
"source": "// One decision for every bar in the application, in the bootstrap file.\nbootstrapApplication(App, {\n providers: [provideToolbarDefaults({ size: 'sm', variant: 'outline' })],\n});\n\n// And in a template, the actions slot of a tab list is where a bar goes:\n// <div slTabActions><div slToolbar aria-label=\"
|
|
376
|
+
"source": "// One decision for every bar in the application, in the bootstrap file.\nbootstrapApplication(App, {\n providers: [provideToolbarDefaults({ size: 'sm', variant: 'outline' })],\n});\n\n// And in a template, the actions slot of a tab list is where a bar goes:\n// <div slTabActions><div slToolbar aria-label=\"Actions\">…</div></div>\n",
|
|
377
377
|
"verdict": "excerpt"
|
|
378
378
|
}
|
|
379
379
|
]
|
package/docs/toolbar.md
CHANGED
|
@@ -16,9 +16,9 @@ Selector: `[slToolbar], [slToolbarGroup], [slToolbarItem], sl-toolbar-overflow,
|
|
|
16
16
|
Excerpt — not a complete module
|
|
17
17
|
|
|
18
18
|
```html
|
|
19
|
-
<div slToolbar aria-label="
|
|
20
|
-
<button slButton variant="ghost">
|
|
21
|
-
<button slButton variant="ghost">
|
|
19
|
+
<div slToolbar aria-label="Formatting">
|
|
20
|
+
<button slButton variant="ghost">Bold</button>
|
|
21
|
+
<button slButton variant="ghost">Italic</button>
|
|
22
22
|
<div slToolbarSeparator></div>
|
|
23
23
|
<button slButton variant="ghost">Link</button>
|
|
24
24
|
</div>
|
|
@@ -45,7 +45,7 @@ Excerpt — not a complete module
|
|
|
45
45
|
| `overflow` | `'wrap' \| 'scroll' \| 'menu'` | wrap | slToolbar, provideToolbarDefaults | What a bar does with more controls than it has room for. wrap keeps every control on a second row, scroll is one line the arrows reveal, and menu is one line whose units give way from the end into a surface. A menu bar with no sl-toolbar-overflow in it has nothing to give way to, so it scrolls |
|
|
46
46
|
| `overflowChange` | `output<number>` | — | slToolbar | How many units 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 |
|
|
47
47
|
| `slToolbarItemCounterpart, slToolbarGroupCounterpart` | `TemplateRef` | — | slToolbarItem, slToolbarGroup | What the unit becomes in the surface when the bar has no room for it, rendered through NgTemplateOutlet only while it is collapsed. A unit that declares none is pinned — pinning is the absence of a counterpart rather than a second input, so the two can never disagree. It is not called overflow, because that word is the bar’s own axis |
|
|
48
|
-
| `label` | `string \| ((hidden: number) => string)` | counted | sl-toolbar-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
|
|
48
|
+
| `label` | `string \| ((hidden: number) => string)` | counted | sl-toolbar-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. It is a sentence of the language in force, with its plural, and label replaces it, and an aria-label written on the host wins over both |
|
|
49
49
|
| `align, side, size` | `MenuAlign \| MenuSide \| MenuSize` | from provideMenuDefaults | sl-toolbar-overflow | Where the surface sits against the trigger, and its own measure. Everything else about the layer an application sets once with provideMenuDefaults(): a second configuration surface over the same layer would be two answers to one question |
|
|
50
50
|
| `loop` | `boolean` | true | slToolbar, provideToolbarDefaults | Whether the arrows wrap past the ends of the bar |
|
|
51
51
|
| `aria-label` | `string` | — | slToolbar, slToolbarGroup | The name of the bar, and of each group. The family writes neither: only the page knows what the set of controls is for. aria-labelledby works the same way |
|
|
@@ -73,7 +73,7 @@ Excerpt — not a complete module
|
|
|
73
73
|
- A control that announces aria-disabled keeps its place in the ring, which the pattern allows where discoverability of a function is crucial and which is what Button’s focusableWhenDisabled renders. A control carrying the native attribute is skipped, because the platform will not focus it either — including every control inside a disabled fieldset.
|
|
74
74
|
- The bar names itself with the consumer’s aria-label or aria-labelledby, and each group names itself the same way. The pattern uses the role for three or more controls; that is documented rather than enforced, because a role that disappeared when a permission filter removed a button would be a semantic changing behind the author.
|
|
75
75
|
- Under overflow="menu" the control that holds what did not fit is a control of the bar like any other: the arrows, Home and End reach it, and it leaves the ring the moment the bar has room for everything, because a hidden control cannot hold focus. Its name carries the count rather than the mark, and focus is moved onto it before the control under focus 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.
|
|
76
|
-
- Nothing in the bar is painted over: every control keeps its own states, its own focus ring and its own contrast. What the bar adds is the boundary between runs — a group, a rule, a spacer — and under forced
|
|
76
|
+
- Nothing in the bar is painted over: every control keeps its own states, its own focus ring and its own contrast. What the bar adds is the boundary between runs — a group, a rule, a spacer — and under forced colors the rule keeps its own paint, because a background flattens to Canvas and would take the boundary with it.
|
|
77
77
|
|
|
78
78
|
## Tokens
|
|
79
79
|
|
|
@@ -83,14 +83,14 @@ Excerpt — not a complete module
|
|
|
83
83
|
|
|
84
84
|
### Which way the bar runs
|
|
85
85
|
|
|
86
|
-
A horizontal bar
|
|
86
|
+
A horizontal bar centers its controls and a vertical one stretches them, because a column at each control’s natural width is a ragged edge; the separator and the group boundary turn with it.
|
|
87
87
|
|
|
88
88
|
Excerpt — not a complete module
|
|
89
89
|
|
|
90
90
|
```html
|
|
91
|
-
<div slToolbar aria-label="
|
|
92
|
-
<button slButton variant="ghost">
|
|
93
|
-
<button slButton variant="ghost">
|
|
91
|
+
<div slToolbar aria-label="Tools" orientation="vertical">
|
|
92
|
+
<button slButton variant="ghost">Pencil</button>
|
|
93
|
+
<button slButton variant="ghost">Brush</button>
|
|
94
94
|
<div slToolbarSeparator></div>
|
|
95
95
|
<button slButton variant="ghost">Borracha</button>
|
|
96
96
|
</div>
|
|
@@ -126,14 +126,14 @@ A group carries a name a screen reader announces and a boundary the eye reads, a
|
|
|
126
126
|
Excerpt — not a complete module
|
|
127
127
|
|
|
128
128
|
```html
|
|
129
|
-
<div slToolbar aria-label="
|
|
130
|
-
<div slToolbarGroup aria-label="
|
|
131
|
-
<button slButton variant="outline">
|
|
132
|
-
<button slButton variant="outline" pressed>
|
|
129
|
+
<div slToolbar aria-label="Selection" variant="outline">
|
|
130
|
+
<div slToolbarGroup aria-label="Alignment">
|
|
131
|
+
<button slButton variant="outline">Start</button>
|
|
132
|
+
<button slButton variant="outline" pressed>Center</button>
|
|
133
133
|
</div>
|
|
134
134
|
<div slToolbarSeparator></div>
|
|
135
135
|
<div slToolbarSpacer></div>
|
|
136
|
-
<button slButton tone="danger">
|
|
136
|
+
<button slButton tone="danger">Delete</button>
|
|
137
137
|
</div>
|
|
138
138
|
```
|
|
139
139
|
|
|
@@ -147,8 +147,8 @@ Excerpt — not a complete module
|
|
|
147
147
|
<!-- Every focusable control inside the bar is an item, found in the DOM rather
|
|
148
148
|
than wrapped in a component of its own — so this library's own families,
|
|
149
149
|
and a consumer's own control, drop in unwrapped. -->
|
|
150
|
-
<div slToolbar aria-label="
|
|
151
|
-
<button slButton variant="ghost">
|
|
150
|
+
<div slToolbar aria-label="Formatting">
|
|
151
|
+
<button slButton variant="ghost">Bold</button>
|
|
152
152
|
<span slCheckbox><input slCheckboxControl type="checkbox" /></span>
|
|
153
153
|
<a slLink href="/ajuda">Ajuda</a>
|
|
154
154
|
</div>
|
|
@@ -156,7 +156,7 @@ Excerpt — not a complete module
|
|
|
156
156
|
|
|
157
157
|
### An item that keeps the arrows
|
|
158
158
|
|
|
159
|
-
A text field needs the inline arrows for its caret, so the bar leaves them to it and focus moves out on the cross axis instead — the APG’s advice for the author, written as
|
|
159
|
+
A text field needs the inline arrows for its caret, so the bar leaves them to it and focus moves out on the cross axis instead — the APG’s advice for the author, written as behavior.
|
|
160
160
|
|
|
161
161
|
Excerpt — not a complete module
|
|
162
162
|
|
|
@@ -178,10 +178,10 @@ Excerpt — not a complete module
|
|
|
178
178
|
|
|
179
179
|
```html
|
|
180
180
|
<fieldset [disabled]="readOnly()">
|
|
181
|
-
<div slToolbar aria-label="
|
|
182
|
-
<button slButton variant="outline">
|
|
181
|
+
<div slToolbar aria-label="Read only">
|
|
182
|
+
<button slButton variant="outline">Edit</button>
|
|
183
183
|
<div slToolbarSeparator></div>
|
|
184
|
-
<button slButton tone="danger">
|
|
184
|
+
<button slButton tone="danger">Delete</button>
|
|
185
185
|
</div>
|
|
186
186
|
</fieldset>
|
|
187
187
|
```
|
|
@@ -193,8 +193,8 @@ wrap keeps every control visible on a second row, and the arrows wrap from row t
|
|
|
193
193
|
Excerpt — not a complete module
|
|
194
194
|
|
|
195
195
|
```html
|
|
196
|
-
<div slToolbar aria-label="
|
|
197
|
-
<div slToolbar aria-label="
|
|
196
|
+
<div slToolbar aria-label="Many actions" overflow="wrap"></div>
|
|
197
|
+
<div slToolbar aria-label="Many actions, scrolling" overflow="scroll"></div>
|
|
198
198
|
```
|
|
199
199
|
|
|
200
200
|
### What is left over, behind one control
|
|
@@ -236,5 +236,5 @@ bootstrapApplication(App, {
|
|
|
236
236
|
});
|
|
237
237
|
|
|
238
238
|
// And in a template, the actions slot of a tab list is where a bar goes:
|
|
239
|
-
// <div slTabActions><div slToolbar aria-label="
|
|
239
|
+
// <div slTabActions><div slToolbar aria-label="Actions">…</div></div>
|
|
240
240
|
```
|
package/docs/tooltip.json
CHANGED
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"type": "'inverse' | 'surface'",
|
|
181
181
|
"defaultValue": "inverse",
|
|
182
182
|
"appliesTo": "slTooltip",
|
|
183
|
-
"description": "inverse paints the tooltip in the
|
|
183
|
+
"description": "inverse paints the tooltip in the color opposite to the page, which needs no edge on a light page. surface paints the raised panel color with a hairline border, for a page that is already dark."
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
186
|
"name": "size",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
"type": "'start' | 'center' | 'end'",
|
|
216
216
|
"defaultValue": "center",
|
|
217
217
|
"appliesTo": "slTooltip",
|
|
218
|
-
"description": "Where the tooltip sits along the edge it took: at the start of the trigger, at its
|
|
218
|
+
"description": "Where the tooltip sits along the edge it took: at the start of the trigger, at its center or at its end."
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
221
|
"name": "mount",
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
"type": "boolean",
|
|
279
279
|
"defaultValue": "true",
|
|
280
280
|
"appliesTo": "slTooltip",
|
|
281
|
-
"description": "Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme,
|
|
281
|
+
"description": "Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme, color scheme, density and direction of the region the tooltip opened from."
|
|
282
282
|
},
|
|
283
283
|
{
|
|
284
284
|
"name": "disabled",
|
|
@@ -435,6 +435,7 @@
|
|
|
435
435
|
"--slotted-text-inverse",
|
|
436
436
|
"--slotted-tooltip-arrow-size",
|
|
437
437
|
"--slotted-tooltip-arrow-tip-radius",
|
|
438
|
+
"--slotted-tooltip-backdrop-filter",
|
|
438
439
|
"--slotted-tooltip-border-color",
|
|
439
440
|
"--slotted-tooltip-gap",
|
|
440
441
|
"--slotted-tooltip-measure",
|
package/docs/tooltip.md
CHANGED
|
@@ -70,12 +70,12 @@ export class TooltipBasic {}
|
|
|
70
70
|
| --- | --- | --- | --- | --- |
|
|
71
71
|
| `open` | `boolean` | false | slTooltip | Whether the tooltip is open. It is two-way: bind [(open)] to a signal to read and set the state, or leave it unbound and the tooltip keeps its own. |
|
|
72
72
|
| `defaultOpen` | `boolean` | false | slTooltip | The state an uncontrolled tooltip starts in, read once in ngOnInit. |
|
|
73
|
-
| `variant` | `'inverse' \| 'surface'` | inverse | slTooltip | inverse paints the tooltip in the
|
|
73
|
+
| `variant` | `'inverse' \| 'surface'` | inverse | slTooltip | inverse paints the tooltip in the color opposite to the page, which needs no edge on a light page. surface paints the raised panel color with a hairline border, for a page that is already dark. |
|
|
74
74
|
| `size` | `'sm' \| 'md'` | md | slTooltip | The type step: sm for dense rows such as toolbars and table cells, md elsewhere. Both steps follow the density of the region, because both read the control scale. |
|
|
75
75
|
| `describes` | `'description' \| 'label' \| 'none'` | description | slTooltip | How the trigger refers to the tooltip. description writes aria-describedby while the tooltip is open. label writes aria-labelledby, so the tooltip is the accessible name of an icon-only button, and it forces mount="eager" so the name exists before the first open. none writes no reference and hides the content from assistive technology, for a tooltip that repeats words the trigger already carries. |
|
|
76
76
|
| `openOn` | `'hover' \| 'focus' \| 'manual'` | hover | slTooltip | What opens the tooltip. hover opens it on pointer hover and on keyboard focus, and focus opens it without a delay. focus opens it on keyboard focus only. manual binds neither: the tooltip opens only through open, show() or hide(). |
|
|
77
77
|
| `side` | `'top' \| 'bottom' \| 'inline-start' \| 'inline-end' \| 'left' \| 'right'` | top | slTooltip | The edge of the trigger the tooltip prefers. inline-start and inline-end follow the writing direction of the layer, resolved at every measurement; left and right do not. |
|
|
78
|
-
| `align` | `'start' \| 'center' \| 'end'` | center | slTooltip | Where the tooltip sits along the edge it took: at the start of the trigger, at its
|
|
78
|
+
| `align` | `'start' \| 'center' \| 'end'` | center | slTooltip | Where the tooltip sits along the edge it took: at the start of the trigger, at its center or at its end. |
|
|
79
79
|
| `mount` | `'active' \| 'lazy' \| 'eager'` | active | slTooltip | When the layer is in the document. active adds it on open and removes it after the exit animation, lazy keeps it after the first open, and eager renders it from the start. |
|
|
80
80
|
| `strategy` | `'absolute' \| 'fixed'` | absolute | slTooltip | The CSS position of the layer. Use fixed for a trigger inside an overflow: hidden ancestor, and absolute for one inside a transformed ancestor. |
|
|
81
81
|
| `arrow` | `boolean` | true | slTooltip | Whether the layer draws the arrow. |
|
|
@@ -84,7 +84,7 @@ export class TooltipBasic {}
|
|
|
84
84
|
| `flip` | `boolean` | true | slTooltip | Whether the tooltip moves to the opposite edge when the preferred edge has no room. |
|
|
85
85
|
| `shift` | `boolean` | true | slTooltip | Whether the tooltip slides along its edge to stay inside the boundary. |
|
|
86
86
|
| `hideWhenDetached` | `boolean` | true | slTooltip | Whether the layer hides while its trigger is outside the clipping ancestor. The tooltip hides without closing and shows again when the trigger comes back; the pointer leaving is what closes it. |
|
|
87
|
-
| `portal` | `boolean` | true | slTooltip | Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme,
|
|
87
|
+
| `portal` | `boolean` | true | slTooltip | Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme, color scheme, density and direction of the region the tooltip opened from. |
|
|
88
88
|
| `disabled` | `boolean` | false | slTooltip | Turns the tooltip off: it never opens and renders no layer. The disabled state of the trigger is set on the trigger itself. |
|
|
89
89
|
| `whenClipped` | `boolean` | false | slTooltip | Opens the tooltip only while the text of the trigger is cut off by its box, such as a column header truncated to “Op…”. The trigger is measured at the moment the tooltip would open, so a column dragged wider stops opening it. |
|
|
90
90
|
| `openDelay` | `number` | 600 | slTooltip | Milliseconds the pointer rests on the trigger before the tooltip opens. Keyboard focus opens it without waiting. |
|
|
@@ -139,7 +139,7 @@ export class TooltipBasic {}
|
|
|
139
139
|
|
|
140
140
|
## Tokens
|
|
141
141
|
|
|
142
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-font-family-sans`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-surface-inverse`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-tooltip-arrow-size`, `--slotted-tooltip-arrow-tip-radius`, `--slotted-tooltip-border-color`, `--slotted-tooltip-gap`, `--slotted-tooltip-measure`, `--slotted-tooltip-measure-sm`, `--slotted-tooltip-radius`, `--slotted-tooltip-shadow`, `--slotted-tooltip-surface`, `--slotted-tooltip-surface-raised`, `--slotted-tooltip-text`, `--slotted-tooltip-text-raised`, `--slotted-z-index-popover`
|
|
142
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-font-family-sans`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-surface-inverse`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-tooltip-arrow-size`, `--slotted-tooltip-arrow-tip-radius`, `--slotted-tooltip-backdrop-filter`, `--slotted-tooltip-border-color`, `--slotted-tooltip-gap`, `--slotted-tooltip-measure`, `--slotted-tooltip-measure-sm`, `--slotted-tooltip-radius`, `--slotted-tooltip-shadow`, `--slotted-tooltip-surface`, `--slotted-tooltip-surface-raised`, `--slotted-tooltip-text`, `--slotted-tooltip-text-raised`, `--slotted-z-index-popover`
|
|
143
143
|
|
|
144
144
|
## Examples
|
|
145
145
|
|
|
@@ -46,12 +46,12 @@ Excerpt — not a complete module
|
|
|
46
46
|
|
|
47
47
|
```html
|
|
48
48
|
<ul slTopNavigationList>
|
|
49
|
-
<li slTopNavigationItem value="
|
|
50
|
-
<a slTopNavigationLink href="/
|
|
49
|
+
<li slTopNavigationItem value="dashboard" priority="high">
|
|
50
|
+
<a slTopNavigationLink href="/dashboard">Dashboard</a>
|
|
51
51
|
</li>
|
|
52
|
-
<li slTopNavigationItem value="
|
|
52
|
+
<li slTopNavigationItem value="routes"><a slTopNavigationLink href="/routes">Routes</a></li>
|
|
53
53
|
<li slTopNavigationItem value="faturacao" priority="low">
|
|
54
|
-
<a slTopNavigationLink href="/faturacao">
|
|
54
|
+
<a slTopNavigationLink href="/faturacao">Billing</a>
|
|
55
55
|
</li>
|
|
56
56
|
</ul>
|
|
57
57
|
```
|
|
@@ -95,7 +95,7 @@ Excerpt — not a complete module
|
|
|
95
95
|
<button slTopNavigationTrigger>Frota</button>
|
|
96
96
|
<div slNavigationMenuContent>
|
|
97
97
|
<ul slNavigationMenuLinks>
|
|
98
|
-
<li><a slNavigationMenuLink routerLink="/fleet/vehicles">
|
|
98
|
+
<li><a slNavigationMenuLink routerLink="/fleet/vehicles">Vehicles</a></li>
|
|
99
99
|
</ul>
|
|
100
100
|
</div>
|
|
101
101
|
</li>
|
|
@@ -113,7 +113,7 @@ Excerpt — not a complete module
|
|
|
113
113
|
|
|
114
114
|
### The global controls
|
|
115
115
|
|
|
116
|
-
Help as a link to a help
|
|
116
|
+
Help as a link to a help center or as the trigger of a popover; the bell with a count over its corner that grows to a pill away from it; the account as a menu’s trigger; a control of the product’s own — approvals — in the same square, with its own glyph and the same count. Each carries its name for a reader and repeats it in a tooltip.
|
|
117
117
|
|
|
118
118
|
Excerpt — not a complete module
|
|
119
119
|
|
|
@@ -121,11 +121,7 @@ Excerpt — not a complete module
|
|
|
121
121
|
<div slTopNavigationActions>
|
|
122
122
|
<a slTopNavigationHelp href="/ajuda"></a>
|
|
123
123
|
<ng-container slPopover>
|
|
124
|
-
<button
|
|
125
|
-
slTopNavigationAction
|
|
126
|
-
slPopoverTrigger
|
|
127
|
-
[label]="'Aprovações, ' + pending() + ' pendentes'"
|
|
128
|
-
>
|
|
124
|
+
<button slTopNavigationAction slPopoverTrigger [label]="'Approvals, ' + pending() + ' pending'">
|
|
129
125
|
<ng-icon name="lucideClipboardCheck" />
|
|
130
126
|
<span slTopNavigationCount>{{ pending() }}</span>
|
|
131
127
|
</button>
|
|
@@ -153,11 +149,11 @@ Excerpt — not a complete module
|
|
|
153
149
|
```html
|
|
154
150
|
<div slTopNavigationContext>
|
|
155
151
|
<button slButton size="sm" tone="secondary" variant="ghost" [slMenuTriggerFor]="workspaces">
|
|
156
|
-
|
|
152
|
+
Portland · Operations
|
|
157
153
|
<span slButtonEnd><ng-icon name="lucideChevronsUpDown" /></span>
|
|
158
154
|
</button>
|
|
159
155
|
<sl-menu #workspaces>…</sl-menu>
|
|
160
|
-
<span slBadge size="sm" tone="warning" variant="soft">
|
|
156
|
+
<span slBadge size="sm" tone="warning" variant="soft">Staging</span>
|
|
161
157
|
</div>
|
|
162
158
|
```
|
|
163
159
|
|
|
@@ -179,7 +175,7 @@ Excerpt — not a complete module
|
|
|
179
175
|
|
|
180
176
|
```html
|
|
181
177
|
<li slTopNavigationItem value="faturacao" disabled>
|
|
182
|
-
<a slTopNavigationLink href="/faturacao">
|
|
178
|
+
<a slTopNavigationLink href="/faturacao">Billing</a>
|
|
183
179
|
</li>
|
|
184
180
|
```
|
|
185
181
|
|
|
@@ -205,7 +201,7 @@ Excerpt — not a complete module
|
|
|
205
201
|
```html
|
|
206
202
|
<div slAppShell>
|
|
207
203
|
<header slAppShellBanner>
|
|
208
|
-
<div slTopNavigation value="
|
|
204
|
+
<div slTopNavigation value="dashboard">
|
|
209
205
|
<div slTopNavigationBrand>
|
|
210
206
|
<button slAppShellNavToggle></button>
|
|
211
207
|
<a slTopNavigationHome href="/">…</a>
|