@slotted/angular 0.1.0-beta.3 → 0.1.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/AGENTS.snippet.md +3 -1
- package/docs/accordion.json +5 -5
- package/docs/accordion.md +12 -12
- package/docs/action-bar.json +23 -22
- package/docs/action-bar.md +30 -30
- package/docs/action-sheet.json +391 -64
- package/docs/action-sheet.md +259 -0
- package/docs/alert.json +31 -14
- package/docs/alert.md +29 -18
- package/docs/app-shell.examples.md +8 -8
- package/docs/app-shell.json +38 -21
- package/docs/app-shell.md +9 -7
- package/docs/avatar-group.json +1 -1
- package/docs/avatar-group.md +1 -1
- package/docs/avatar.json +32 -11
- package/docs/avatar.md +13 -11
- package/docs/badge.json +10 -4
- package/docs/badge.md +5 -5
- package/docs/breadcrumb.json +2 -2
- package/docs/breadcrumb.md +2 -2
- package/docs/button-group.json +2 -1
- package/docs/button-group.md +2 -2
- package/docs/button.examples.md +15 -0
- package/docs/button.json +134 -14
- package/docs/button.md +32 -8
- package/docs/calendar.json +31 -6
- package/docs/calendar.md +9 -6
- package/docs/card.json +3 -2
- package/docs/card.md +3 -3
- package/docs/carousel.json +10 -10
- package/docs/carousel.md +11 -11
- package/docs/cascader.json +2 -0
- package/docs/cascader.md +1 -1
- package/docs/chart.examples.md +45 -31
- package/docs/chart.json +40 -35
- package/docs/chart.md +7 -7
- package/docs/checkbox-group.examples.md +13 -13
- package/docs/checkbox-group.json +7 -7
- package/docs/checkbox-group.md +2 -2
- package/docs/checkbox.examples.md +7 -7
- package/docs/checkbox.json +6 -6
- package/docs/checkbox.md +3 -3
- package/docs/code-block.json +93 -93
- package/docs/code-block.md +70 -70
- package/docs/collapsible.json +12 -11
- package/docs/collapsible.md +20 -20
- package/docs/color-picker.json +26 -26
- package/docs/color-picker.md +16 -16
- package/docs/combobox.json +6 -2
- package/docs/combobox.md +3 -3
- package/docs/command-palette.json +2 -0
- package/docs/command-palette.md +1 -1
- package/docs/context-menu.json +1 -1
- package/docs/context-menu.md +1 -1
- package/docs/currency-field.examples.md +3 -3
- package/docs/currency-field.json +14 -6
- package/docs/currency-field.md +6 -5
- package/docs/dashboard-grid.json +53 -10
- package/docs/dashboard-grid.md +18 -6
- package/docs/data-grid.examples.md +3 -3
- package/docs/data-grid.json +37 -11
- package/docs/data-grid.md +2 -1
- package/docs/data-grid.props.md +7 -5
- package/docs/data-list.json +2 -1
- package/docs/data-list.md +1 -1
- package/docs/date-field.json +12 -4
- package/docs/date-field.md +8 -7
- package/docs/date-picker.examples.md +36 -0
- package/docs/date-picker.json +32 -5
- package/docs/date-picker.md +7 -5
- package/docs/date-range-picker.json +11 -0
- package/docs/date-range-picker.md +2 -1
- package/docs/datetime-field.json +5 -4
- package/docs/datetime-field.md +10 -10
- package/docs/datetime-picker.json +11 -1
- package/docs/datetime-picker.md +2 -1
- package/docs/datetime-range-picker.examples.md +3 -3
- package/docs/datetime-range-picker.json +14 -3
- package/docs/datetime-range-picker.md +4 -3
- package/docs/description-list.json +16 -7
- package/docs/description-list.md +8 -7
- package/docs/detail-panel.json +14 -12
- package/docs/detail-panel.md +20 -15
- package/docs/dialog.examples.md +143 -141
- package/docs/dialog.json +58 -24
- package/docs/dialog.md +6 -4
- package/docs/dialog.props.md +9 -7
- package/docs/drawer.examples.md +14 -14
- package/docs/drawer.json +44 -17
- package/docs/drawer.md +10 -8
- package/docs/entity-picker.json +22 -4
- package/docs/entity-picker.md +8 -6
- package/docs/event-calendar.examples.md +3 -3
- package/docs/event-calendar.json +5 -5
- package/docs/event-calendar.md +4 -4
- package/docs/field-group.json +21 -6
- package/docs/field-group.md +14 -12
- package/docs/field.examples.md +3 -3
- package/docs/field.json +20 -5
- package/docs/field.md +4 -2
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/form.json +24 -12
- package/docs/form.md +15 -13
- package/docs/fullscreen.json +4 -4
- package/docs/fullscreen.md +7 -7
- package/docs/guidelines/README.md +2 -2
- package/docs/guidelines/async-feedback.md +25 -4
- package/docs/guidelines/builders.md +1 -1
- package/docs/guidelines/composition.md +37 -11
- package/docs/guidelines/conversations.md +1 -1
- package/docs/guidelines/errors-and-conflicts.md +7 -6
- package/docs/guidelines/forms.md +111 -1
- package/docs/guidelines/index.md +27 -7
- package/docs/guidelines/layout-alignment.md +24 -14
- package/docs/guidelines/list-pages.md +44 -3
- package/docs/guidelines/overviews.md +39 -9
- package/docs/guidelines/own-elements.md +8 -8
- package/docs/guidelines/reading-permissions.md +2 -2
- package/docs/guidelines/record-pages.md +1 -1
- package/docs/guidelines/reports.md +1 -1
- package/docs/highlight.json +9 -9
- package/docs/highlight.md +14 -14
- package/docs/icon.json +5 -3
- package/docs/icon.md +4 -4
- package/docs/image.json +3 -3
- package/docs/image.md +3 -3
- package/docs/import-export-center.json +24 -23
- package/docs/import-export-center.md +18 -18
- package/docs/index.md +3 -2
- package/docs/inline-message.json +34 -21
- package/docs/inline-message.md +32 -30
- package/docs/inline.json +1 -1
- package/docs/inline.md +1 -1
- package/docs/kbd.json +5 -2
- package/docs/kbd.md +3 -3
- package/docs/link.json +22 -6
- package/docs/link.md +9 -7
- package/docs/list-item.json +20 -4
- package/docs/list-item.md +20 -17
- package/docs/list.examples.md +907 -0
- package/docs/list.json +121 -33
- package/docs/list.md +73 -137
- package/docs/listbox.json +1 -2
- package/docs/listbox.md +2 -2
- package/docs/loading-overlay.json +3 -3
- package/docs/loading-overlay.md +3 -3
- package/docs/markdown.json +86 -79
- package/docs/markdown.md +66 -65
- package/docs/media-viewer.json +521 -0
- package/docs/media-viewer.md +188 -0
- package/docs/menu.json +15 -1
- package/docs/menu.md +3 -1
- package/docs/message-scroller.json +2 -2
- package/docs/message-scroller.md +1 -1
- package/docs/message.json +18 -12
- package/docs/message.md +20 -20
- package/docs/multi-select.json +4 -1
- package/docs/multi-select.md +1 -1
- package/docs/navigation-menu.json +1 -0
- package/docs/navigation-menu.md +1 -1
- package/docs/notification-center.json +21 -16
- package/docs/notification-center.md +20 -24
- package/docs/number-field.examples.md +3 -3
- package/docs/number-field.json +4 -3
- package/docs/number-field.md +1 -1
- package/docs/otp-input.json +11 -10
- package/docs/otp-input.md +14 -14
- package/docs/page-header.json +31 -14
- package/docs/page-header.md +25 -25
- package/docs/page.json +4 -2
- package/docs/page.md +3 -2
- package/docs/pagination.json +2 -2
- package/docs/pagination.md +1 -1
- package/docs/popover.examples.md +1 -1
- package/docs/popover.json +5 -3
- package/docs/popover.md +2 -2
- package/docs/progress-indicator.json +7 -5
- package/docs/progress-indicator.md +7 -7
- package/docs/prompt-composer.json +53 -6
- package/docs/prompt-composer.md +12 -6
- package/docs/prose.json +1 -1
- package/docs/prose.md +1 -1
- package/docs/radio-group.examples.md +19 -19
- package/docs/radio-group.json +12 -12
- package/docs/radio-group.md +3 -3
- package/docs/rating.json +28 -26
- package/docs/rating.md +28 -37
- package/docs/result-state.json +13 -12
- package/docs/result-state.md +18 -18
- package/docs/saved-views.json +1 -1
- package/docs/scroll-area.json +266 -64
- package/docs/scroll-area.md +188 -0
- package/docs/section.json +44 -22
- package/docs/section.md +34 -31
- package/docs/segmented-control.json +21 -25
- package/docs/segmented-control.md +33 -33
- package/docs/select.json +4 -0
- package/docs/select.md +1 -1
- package/docs/side-navigation.json +1 -0
- package/docs/side-navigation.md +1 -1
- package/docs/skeleton.json +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +9 -9
- package/docs/skills/compose-screen/SKILL.md +59 -18
- package/docs/skills/index.md +2 -2
- package/docs/skills/review-screen/SKILL.md +29 -17
- package/docs/skills/theme-app/SKILL.md +66 -20
- package/docs/skills/waiting-states/SKILL.md +15 -11
- package/docs/slider.json +8 -8
- package/docs/slider.md +12 -12
- package/docs/sparkline.json +12 -9
- package/docs/sparkline.md +9 -9
- package/docs/split-button.json +14 -12
- package/docs/split-button.md +28 -30
- package/docs/splitter.json +279 -64
- package/docs/splitter.md +215 -0
- package/docs/stack.json +1 -1
- package/docs/stack.md +1 -1
- package/docs/stat-card.json +36 -9
- package/docs/stat-card.md +11 -8
- package/docs/status-indicator.json +22 -11
- package/docs/status-indicator.md +8 -6
- package/docs/stepper.json +4 -4
- package/docs/stepper.md +4 -4
- package/docs/switch.json +5 -5
- package/docs/switch.md +7 -7
- package/docs/table-of-contents.json +13 -12
- package/docs/table-of-contents.md +14 -14
- package/docs/table.examples.md +3 -3
- package/docs/table.json +17 -3
- package/docs/table.md +3 -1
- package/docs/tabs.json +16 -3
- package/docs/tabs.md +3 -2
- package/docs/tag.json +38 -26
- package/docs/tag.md +17 -17
- package/docs/tags-input.json +30 -3
- package/docs/tags-input.md +5 -2
- package/docs/text-field.examples.md +6 -6
- package/docs/text-field.json +6 -5
- package/docs/text-field.md +2 -2
- package/docs/textarea.examples.md +7 -7
- package/docs/textarea.json +4 -3
- package/docs/textarea.md +1 -1
- package/docs/time-field.json +4 -3
- package/docs/time-field.md +7 -7
- package/docs/time-picker.json +15 -5
- package/docs/time-picker.md +8 -7
- package/docs/time-range-picker.examples.md +5 -5
- package/docs/time-range-picker.json +15 -4
- package/docs/time-range-picker.md +3 -2
- package/docs/timeline.json +138 -132
- package/docs/timeline.md +125 -125
- package/docs/toast.json +15 -7
- package/docs/toast.md +8 -8
- package/docs/toggle-group.json +12 -12
- package/docs/toggle-group.md +28 -28
- package/docs/toggle.json +8 -8
- package/docs/toggle.md +7 -7
- package/docs/tokens.md +53 -26
- package/docs/toolbar.json +11 -11
- package/docs/toolbar.md +23 -23
- package/docs/tooltip.json +4 -3
- package/docs/tooltip.md +4 -4
- package/docs/top-navigation.examples.md +11 -15
- package/docs/top-navigation.json +9 -9
- package/docs/top-navigation.md +7 -7
- package/docs/tour.json +10 -9
- package/docs/tour.md +7 -7
- package/docs/typography.json +6 -4
- package/docs/typography.md +5 -5
- package/docs/upload.examples.md +3 -3
- package/docs/upload.json +9 -9
- package/docs/upload.md +4 -4
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +27 -12
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +56 -18
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +85 -56
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
- package/fesm2022/slotted-angular-attachment.mjs +33 -22
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +13 -10
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +17 -10
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +15 -11
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +27 -19
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +8 -5
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +163 -28
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +263 -65
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +19 -17
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-carousel.mjs +22 -11
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +179 -65
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +26 -5
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +14 -9
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +30 -16
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +21 -16
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +83 -28
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +71 -32
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +108 -35
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +162 -54
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +100 -34
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +384 -88
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +461 -129
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +78 -27
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +135 -40
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +68 -22
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +49 -17
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +64 -29
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +144 -54
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +47 -24
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +81 -39
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-divider.mjs +7 -5
- package/fesm2022/slotted-angular-divider.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +236 -105
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +262 -105
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +30 -9
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +49 -18
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +111 -44
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +48 -17
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +6 -4
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +6 -4
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-hover-card.mjs +5 -4
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +191 -90
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-image.mjs +13 -10
- package/fesm2022/slotted-angular-image.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +185 -109
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +98 -23
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +7 -5
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs +11 -7
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-link.mjs +13 -4
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +63 -23
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +15 -11
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +41 -23
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +62 -25
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +57 -31
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
- package/fesm2022/slotted-angular-media-viewer.mjs +962 -0
- package/fesm2022/slotted-angular-media-viewer.mjs.map +1 -0
- package/fesm2022/slotted-angular-menu.mjs +62 -39
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +6 -3
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +35 -16
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +119 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +163 -60
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +111 -68
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +24 -12
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +14 -9
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-page-header.mjs +90 -48
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +60 -12
- package/fesm2022/slotted-angular-page.mjs.map +1 -1
- package/fesm2022/slotted-angular-pagination.mjs +35 -22
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +34 -21
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +238 -54
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
- package/fesm2022/slotted-angular-prose.mjs +14 -11
- package/fesm2022/slotted-angular-prose.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +17 -11
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +143 -87
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs +16 -12
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +43 -16
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
- package/fesm2022/slotted-angular-section.mjs +81 -19
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +16 -10
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +189 -69
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-skeleton.mjs +32 -16
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +34 -14
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-sparkline.mjs +41 -14
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +37 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +6 -4
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +120 -41
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +51 -20
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-stepper.mjs +40 -15
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs +15 -10
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +162 -79
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs +42 -18
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +20 -13
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +254 -29
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +55 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs +6 -3
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +55 -20
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +142 -52
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +147 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +50 -38
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +10 -6
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs +9 -4
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-toolbar.mjs +27 -12
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +15 -6
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
- package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +49 -24
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +69 -30
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-tree.mjs +80 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +9 -5
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +127 -59
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +169 -71
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +19 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- package/types/slotted-angular-action-bar.d.ts +2 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +17 -8
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts +10 -8
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
- package/types/slotted-angular-attachment.d.ts +2 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts +3 -3
- package/types/slotted-angular-avatar-group.d.ts.map +1 -1
- package/types/slotted-angular-avatar.d.ts +17 -9
- package/types/slotted-angular-avatar.d.ts.map +1 -1
- package/types/slotted-angular-badge.d.ts +4 -4
- package/types/slotted-angular-badge.d.ts.map +1 -1
- package/types/slotted-angular-breadcrumb.d.ts +1 -1
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts +2 -2
- package/types/slotted-angular-button-group.d.ts.map +1 -1
- package/types/slotted-angular-button.d.ts +45 -12
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +43 -2
- package/types/slotted-angular-calendar.d.ts.map +1 -1
- package/types/slotted-angular-card.d.ts +1 -1
- package/types/slotted-angular-card.d.ts.map +1 -1
- package/types/slotted-angular-carousel.d.ts.map +1 -1
- package/types/slotted-angular-cascader.d.ts.map +1 -1
- package/types/slotted-angular-chart.d.ts +14 -11
- package/types/slotted-angular-chart.d.ts.map +1 -1
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
- package/types/slotted-angular-checkbox.d.ts +1 -1
- package/types/slotted-angular-checkbox.d.ts.map +1 -1
- package/types/slotted-angular-code-block.d.ts +3 -2
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +3 -2
- package/types/slotted-angular-collapsible.d.ts.map +1 -1
- package/types/slotted-angular-color-picker.d.ts +6 -6
- package/types/slotted-angular-color-picker.d.ts.map +1 -1
- package/types/slotted-angular-column-manager.d.ts +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-combobox.d.ts +6 -1
- package/types/slotted-angular-combobox.d.ts.map +1 -1
- package/types/slotted-angular-command-palette.d.ts +10 -1
- package/types/slotted-angular-command-palette.d.ts.map +1 -1
- package/types/slotted-angular-container.d.ts.map +1 -1
- package/types/slotted-angular-context-menu.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +40 -14
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts +65 -7
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +63 -5
- package/types/slotted-angular-data-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-list.d.ts.map +1 -1
- package/types/slotted-angular-date-field.d.ts +12 -1
- package/types/slotted-angular-date-field.d.ts.map +1 -1
- package/types/slotted-angular-date-picker.d.ts +39 -12
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts +1 -1
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-field.d.ts.map +1 -1
- package/types/slotted-angular-datetime-picker.d.ts +1 -1
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +2 -2
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-description-list.d.ts +12 -4
- package/types/slotted-angular-description-list.d.ts.map +1 -1
- package/types/slotted-angular-detail-panel.d.ts.map +1 -1
- package/types/slotted-angular-dialog.d.ts +11 -3
- package/types/slotted-angular-dialog.d.ts.map +1 -1
- package/types/slotted-angular-divider.d.ts.map +1 -1
- package/types/slotted-angular-drawer.d.ts +29 -3
- package/types/slotted-angular-drawer.d.ts.map +1 -1
- package/types/slotted-angular-entity-picker.d.ts +63 -15
- package/types/slotted-angular-entity-picker.d.ts.map +1 -1
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts +10 -2
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- package/types/slotted-angular-field.d.ts +12 -4
- package/types/slotted-angular-field.d.ts.map +1 -1
- package/types/slotted-angular-filter-bar.d.ts.map +1 -1
- package/types/slotted-angular-form.d.ts +11 -2
- package/types/slotted-angular-form.d.ts.map +1 -1
- package/types/slotted-angular-fullscreen.d.ts.map +1 -1
- package/types/slotted-angular-grid.d.ts.map +1 -1
- package/types/slotted-angular-highlight.d.ts +1 -1
- package/types/slotted-angular-highlight.d.ts.map +1 -1
- package/types/slotted-angular-hover-card.d.ts.map +1 -1
- package/types/slotted-angular-icon.d.ts +15 -5
- package/types/slotted-angular-icon.d.ts.map +1 -1
- package/types/slotted-angular-image.d.ts.map +1 -1
- package/types/slotted-angular-import-export-center.d.ts +9 -9
- package/types/slotted-angular-import-export-center.d.ts.map +1 -1
- package/types/slotted-angular-inline-message.d.ts +32 -31
- package/types/slotted-angular-inline-message.d.ts.map +1 -1
- package/types/slotted-angular-inline.d.ts +1 -1
- package/types/slotted-angular-inline.d.ts.map +1 -1
- package/types/slotted-angular-kbd.d.ts +1 -1
- package/types/slotted-angular-kbd.d.ts.map +1 -1
- package/types/slotted-angular-link.d.ts +8 -2
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts +5 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +1 -1
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-listbox.d.ts +2 -2
- package/types/slotted-angular-listbox.d.ts.map +1 -1
- package/types/slotted-angular-loading-overlay.d.ts +3 -3
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
- package/types/slotted-angular-markdown.d.ts +6 -1
- package/types/slotted-angular-markdown.d.ts.map +1 -1
- package/types/slotted-angular-media-viewer.d.ts +140 -0
- package/types/slotted-angular-media-viewer.d.ts.map +1 -0
- package/types/slotted-angular-menu.d.ts +17 -3
- package/types/slotted-angular-menu.d.ts.map +1 -1
- package/types/slotted-angular-menubar.d.ts +5 -4
- package/types/slotted-angular-menubar.d.ts.map +1 -1
- package/types/slotted-angular-message-scroller.d.ts +1 -1
- package/types/slotted-angular-message-scroller.d.ts.map +1 -1
- package/types/slotted-angular-message.d.ts +1 -1
- package/types/slotted-angular-message.d.ts.map +1 -1
- package/types/slotted-angular-multi-select.d.ts +6 -1
- package/types/slotted-angular-multi-select.d.ts.map +1 -1
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
- package/types/slotted-angular-notification-center.d.ts +5 -5
- package/types/slotted-angular-notification-center.d.ts.map +1 -1
- package/types/slotted-angular-number-field.d.ts.map +1 -1
- package/types/slotted-angular-otp-input.d.ts +1 -1
- package/types/slotted-angular-otp-input.d.ts.map +1 -1
- package/types/slotted-angular-page-header.d.ts +15 -6
- package/types/slotted-angular-page-header.d.ts.map +1 -1
- package/types/slotted-angular-page.d.ts +7 -1
- package/types/slotted-angular-page.d.ts.map +1 -1
- package/types/slotted-angular-pagination.d.ts.map +1 -1
- package/types/slotted-angular-popover.d.ts.map +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +10 -3
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts +35 -3
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
- package/types/slotted-angular-prose.d.ts.map +1 -1
- package/types/slotted-angular-radio-group.d.ts +2 -2
- package/types/slotted-angular-radio-group.d.ts.map +1 -1
- package/types/slotted-angular-rating.d.ts +3 -3
- package/types/slotted-angular-rating.d.ts.map +1 -1
- package/types/slotted-angular-result-state.d.ts +1 -1
- package/types/slotted-angular-result-state.d.ts.map +1 -1
- package/types/slotted-angular-saved-views.d.ts.map +1 -1
- package/types/slotted-angular-scroll-area.d.ts.map +1 -1
- package/types/slotted-angular-section.d.ts +14 -4
- package/types/slotted-angular-section.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts +2 -2
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +13 -2
- package/types/slotted-angular-select.d.ts.map +1 -1
- package/types/slotted-angular-side-navigation.d.ts.map +1 -1
- package/types/slotted-angular-skeleton.d.ts.map +1 -1
- package/types/slotted-angular-slider.d.ts.map +1 -1
- package/types/slotted-angular-sparkline.d.ts +7 -1
- package/types/slotted-angular-sparkline.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts +2 -2
- package/types/slotted-angular-split-button.d.ts.map +1 -1
- package/types/slotted-angular-splitter.d.ts.map +1 -1
- package/types/slotted-angular-stack.d.ts.map +1 -1
- package/types/slotted-angular-stat-card.d.ts +31 -7
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +15 -5
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +2 -1
- package/types/slotted-angular-stepper.d.ts.map +1 -1
- package/types/slotted-angular-switch.d.ts +1 -1
- package/types/slotted-angular-switch.d.ts.map +1 -1
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
- package/types/slotted-angular-table.d.ts +21 -4
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-tabs.d.ts +4 -5
- package/types/slotted-angular-tabs.d.ts.map +1 -1
- package/types/slotted-angular-tag.d.ts +5 -5
- package/types/slotted-angular-tag.d.ts.map +1 -1
- package/types/slotted-angular-tags-input.d.ts +34 -2
- package/types/slotted-angular-tags-input.d.ts.map +1 -1
- package/types/slotted-angular-text-field.d.ts.map +1 -1
- package/types/slotted-angular-textarea.d.ts.map +1 -1
- package/types/slotted-angular-theme.d.ts +8 -6
- package/types/slotted-angular-theme.d.ts.map +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +1 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +2 -2
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-timeline.d.ts +1 -1
- package/types/slotted-angular-timeline.d.ts.map +1 -1
- package/types/slotted-angular-toast.d.ts +9 -7
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts +1 -1
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
- package/types/slotted-angular-toolbar.d.ts +2 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts +2 -2
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts +1 -1
- package/types/slotted-angular-typography.d.ts.map +1 -1
- package/types/slotted-angular-upload.d.ts +4 -2
- package/types/slotted-angular-upload.d.ts.map +1 -1
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
- package/types/slotted-angular-wizard.d.ts +1 -1
- package/types/slotted-angular-wizard.d.ts.map +1 -1
package/docs/inline-message.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- index: ./index.md -->
|
|
2
2
|
# inline-message
|
|
3
3
|
|
|
4
|
-
`data-ui="inline-message"` ·
|
|
4
|
+
`data-ui="inline-message"` · The hint or error of one field; a region uses alert.
|
|
5
5
|
|
|
6
6
|
## Import
|
|
7
7
|
|
|
@@ -20,7 +20,7 @@ Selector: `[slInlineMessage]` · exportAs: `slInlineMessage`
|
|
|
20
20
|
Excerpt — not a complete module
|
|
21
21
|
|
|
22
22
|
```html
|
|
23
|
-
<p slInlineMessage tone="danger">
|
|
23
|
+
<p slInlineMessage tone="danger">Enter a valid EIN to continue.</p>
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## Anatomy
|
|
@@ -31,13 +31,14 @@ Excerpt — not a complete module
|
|
|
31
31
|
| `prefix` | span | no |
|
|
32
32
|
| `icon` | span | no |
|
|
33
33
|
| `text` | span | yes |
|
|
34
|
+
| `actions` | div | no |
|
|
34
35
|
|
|
35
36
|
## Props
|
|
36
37
|
|
|
37
38
|
| Name | Type | Default | Applies to | Description |
|
|
38
39
|
| --- | --- | --- | --- | --- |
|
|
39
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slInlineMessage | What the message is about, and therefore which mark it draws and which word a reader hears first. secondary is help: no mark, no word, and the neutral muted ink |
|
|
40
|
-
| `size` | `'sm' \| 'md'` | sm | slInlineMessage | The type step. sm
|
|
40
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slInlineMessage | What the message is about, and therefore which mark it draws and which word a reader hears first. secondary is help: no mark, no word, and the neutral muted ink |
|
|
41
|
+
| `size` | `'sm' \| 'md'` | sm | slInlineMessage | The type step. sm beside a compact field, md beside a large field; both read the control scales, which the theme restates per density |
|
|
41
42
|
| `live` | `'off' \| 'polite' \| 'assertive'` | off | slInlineMessage | Whether the message announces itself. polite writes role="status" and assertive writes role="alert", both on the host — there are no controls inside it to keep out of the region. A role the template wrote is read first and kept |
|
|
42
43
|
| `mark` | `'glyph' \| 'dot' \| 'none'` | glyph | slInlineMessage | Which mark is drawn. glyph is the tone’s own silhouette; dot is one neutral bullet in the tone’s ink, the same shape for every tone including help; none draws nothing, and the tone is said by the ink and the weight of the sentence. slField and slFieldGroup ask for none, because a silhouette under every control of a form is texture rather than a warning |
|
|
43
44
|
| `prefix` | `string` | — | slInlineMessage | The word read before the message. Unstated is the tone’s own; the empty string removes it, for a sentence that already names the severity |
|
|
@@ -46,7 +47,7 @@ Excerpt — not a complete module
|
|
|
46
47
|
| `disabled` | `boolean` | — | slInlineMessage | Unstated rather than false, so the field this family sits in can answer it once field ships in wave 3. Stated, it wins: the ink is muted and the ring stops |
|
|
47
48
|
| `reserve` | `boolean` | false | slInlineMessage | Holds one line box of the family’s own leading open whether or not there is a message, so a form rendering the message unconditionally never moves when the error arrives |
|
|
48
49
|
| `id` | `string` | generated | slInlineMessage | What aria-describedby or aria-errormessage points at. Read from the host attribute before the family writes its own, so a static id the template wrote survives the host binding |
|
|
49
|
-
| `slInlineMessageIcon` | `directive` | — | a projected element | The page’s own mark, projected into the box the family draws so it keeps the size, the
|
|
50
|
+
| `slInlineMessageIcon` | `directive` | — | a projected element | The page’s own mark, projected into the box the family draws so it keeps the size, the color and the place on the first line the tone’s mark would have had |
|
|
50
51
|
| `messageId` | `string` | generated | slInlineMessage | The identifier, reachable from the template through exportAs — the reach an Angular template has and a React consumer answers with useId in their own component |
|
|
51
52
|
| `provideInlineMessageDefaults` | `{ tone, size, live, prefixes }` | — | an injector | Sets the three axes once, and — the one that matters — the table of severity words, merged over the shipped one so a single word can be replaced alone |
|
|
52
53
|
| `ng-content` | `projected content` | — | slInlineMessage | The sentence, wrapped by the family in the text part. Projecting nothing leaves that part empty, which is what reserve draws nothing in |
|
|
@@ -55,48 +56,49 @@ Excerpt — not a complete module
|
|
|
55
56
|
|
|
56
57
|
| Axis | Values | Default |
|
|
57
58
|
| --- | --- | --- |
|
|
58
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `secondary` |
|
|
59
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `secondary` |
|
|
59
60
|
| `size` | `sm`, `md` | `sm` |
|
|
60
61
|
| `mark` | `glyph`, `dot`, `none` | `glyph` |
|
|
61
62
|
| `live` | `off`, `polite`, `assertive` | `off` |
|
|
62
63
|
|
|
63
64
|
## Rules
|
|
64
65
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
66
|
+
- A message about a section, a page or a command’s outcome is an alert, at reach section or page. This family is the message of one field or one control, under or beside it.
|
|
67
|
+
- There is no WAI-ARIA APG pattern for a message attached to a field. Three documents cover it between them: the APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/) for the announcing behavior, MDN’s aria-errormessage reference for the wiring, and WCAG 2.2 Understanding 3.3.1 Error Identification for the requirement that the error be identified in text.
|
|
68
|
+
- The severity is a word, not only a color and a mark. A reader who cannot see the message hears the sentence and nothing else, so the family writes “Error:”, “Warning:” or “Success:” in clipped text before it — GOV.UK’s Error message component publishes the idea for errors, and this generalizes it to every severity and to a table an application replaces once through provideInlineMessageDefaults.
|
|
67
69
|
- The live role goes on the host. slAlert puts its role on an inner part because it has a dismiss button beside its text and MDN’s alert role reference restricts the role to text content; this family owns no controls, so the element that is the text is the element that announces. live defaults to off, because a message already present when the page finishes loading is announced by nothing whatever role it carries.
|
|
68
70
|
- Wiring is the control’s job and the identifier is the family’s. MDN: set aria-invalid="true" on the control, then aria-errormessage to the id of the element holding the message. exportAs hands the template the instance so it can write [attr.aria-errormessage]="message.messageId" without inventing an id of its own.
|
|
69
|
-
- The mark is aria-hidden, because it repeats what the severity word already says. Under forced
|
|
70
|
-
- A disabled message is muted to a measured
|
|
71
|
+
- The mark is aria-hidden, because it repeats what the severity word already says. Under forced colors it keeps its silhouette in CanvasText — the circle, the diamond and the circled exclamation are what tell an error from a note when every color has been replaced, which is WCAG 2.2 1.4.1.
|
|
72
|
+
- A disabled message is muted to a measured color rather than faded by opacity, and its ring stops: STATE_PRECEDENCE puts disabled above loading, and a control nobody can use is not waiting for anything. Nothing is removed from the accessibility tree, because a message about a disabled field is still a message.
|
|
71
73
|
- The family never becomes a tooltip. The message is visible text in the flow of the page, which is the requirement WCAG 2.2 3.3.1 states and the one a hover-only error fails for every reader who does not hover.
|
|
72
74
|
|
|
73
75
|
## Tokens
|
|
74
76
|
|
|
75
|
-
`--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-disabled-foreground`, `--slotted-duration-loop-fast`, `--slotted-inline-message-column-gap`, `--slotted-inline-message-font-family`, `--slotted-inline-message-line-height`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-4`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
77
|
+
`--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-disabled-foreground`, `--slotted-duration-loop-fast`, `--slotted-inline-message-actions-gap`, `--slotted-inline-message-actions-offset`, `--slotted-inline-message-column-gap`, `--slotted-inline-message-font-family`, `--slotted-inline-message-line-height`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
76
78
|
|
|
77
79
|
## Examples
|
|
78
80
|
|
|
79
81
|
### What the message is about
|
|
80
82
|
|
|
81
|
-
Four severities and one absence of one. secondary is help: no mark, no severity word, and the neutral muted ink rather than a tone’s louder label
|
|
83
|
+
Four severities and one absence of one. secondary is help: no mark, no severity word, and the neutral muted ink rather than a tone’s louder label color.
|
|
82
84
|
|
|
83
85
|
Excerpt — not a complete module
|
|
84
86
|
|
|
85
87
|
```html
|
|
86
|
-
<p slInlineMessage>
|
|
87
|
-
<p slInlineMessage tone="success">
|
|
88
|
-
<p slInlineMessage tone="danger">
|
|
88
|
+
<p slInlineMessage>Between 8 and 64 characters.</p>
|
|
89
|
+
<p slInlineMessage tone="success">Username available.</p>
|
|
90
|
+
<p slInlineMessage tone="danger">This email is already registered.</p>
|
|
89
91
|
```
|
|
90
92
|
|
|
91
93
|
### The step the message sits at
|
|
92
94
|
|
|
93
|
-
sm
|
|
95
|
+
sm sits beside a compact field and md beside a large field. Both read the control scales, so switching the toolbar to dense shrinks them with the rows around them.
|
|
94
96
|
|
|
95
97
|
Excerpt — not a complete module
|
|
96
98
|
|
|
97
99
|
```html
|
|
98
|
-
<p slInlineMessage size="sm" tone="danger">A mensagem de um campo.</p>
|
|
99
|
-
<p slInlineMessage size="md" tone="danger">A mensagem de
|
|
100
|
+
<p slInlineMessage size="sm" tone="danger">A mensagem de um campo compacto.</p>
|
|
101
|
+
<p slInlineMessage size="md" tone="danger">A mensagem de um campo grande.</p>
|
|
100
102
|
```
|
|
101
103
|
|
|
102
104
|
### A message that is still waiting
|
|
@@ -112,7 +114,7 @@ Excerpt — not a complete module
|
|
|
112
114
|
[loading]="state() === 'checking'"
|
|
113
115
|
[tone]="state() === 'free' ? 'success' : 'secondary'"
|
|
114
116
|
>
|
|
115
|
-
{{ state() === 'checking' ? '
|
|
117
|
+
{{ state() === 'checking' ? 'Checking availability…' : 'Name available.' }}
|
|
116
118
|
</p>
|
|
117
119
|
```
|
|
118
120
|
|
|
@@ -123,9 +125,9 @@ The three attributes that make an error reach a reader: aria-invalid on the cont
|
|
|
123
125
|
Excerpt — not a complete module
|
|
124
126
|
|
|
125
127
|
```html
|
|
126
|
-
<label for="
|
|
127
|
-
<input id="
|
|
128
|
-
<p slInlineMessage #message="slInlineMessage" tone="danger">
|
|
128
|
+
<label for="ein">EIN</label>
|
|
129
|
+
<input id="ein" aria-invalid="true" [attr.aria-errormessage]="message.messageId" />
|
|
130
|
+
<p slInlineMessage #message="slInlineMessage" tone="danger">Two digits are missing.</p>
|
|
129
131
|
```
|
|
130
132
|
|
|
131
133
|
### What a reader hears, and when
|
|
@@ -137,7 +139,7 @@ Excerpt — not a complete module
|
|
|
137
139
|
```html
|
|
138
140
|
<!-- role="status" on the message itself, which implies aria-live and
|
|
139
141
|
aria-atomic. There are no controls inside it to keep out of the region. -->
|
|
140
|
-
<p slInlineMessage live="polite" tone="success">
|
|
142
|
+
<p slInlineMessage live="polite" tone="success">Changes saved.</p>
|
|
141
143
|
```
|
|
142
144
|
|
|
143
145
|
### Holding the line open
|
|
@@ -158,7 +160,7 @@ A German compound over three lines, a container digest with no break opportunity
|
|
|
158
160
|
Excerpt — not a complete module
|
|
159
161
|
|
|
160
162
|
```html
|
|
161
|
-
<p slInlineMessage>
|
|
163
|
+
<p slInlineMessage>We accept card, ACH transfer and Zelle. <a slLink href="/fees">See fees</a></p>
|
|
162
164
|
```
|
|
163
165
|
|
|
164
166
|
### Composition and escape hatches
|
|
@@ -170,22 +172,22 @@ Excerpt — not a complete module
|
|
|
170
172
|
```ts
|
|
171
173
|
providers: [
|
|
172
174
|
provideInlineMessageDefaults({
|
|
173
|
-
prefixes: { danger: '
|
|
175
|
+
prefixes: { danger: 'Error:', warning: 'Warning:' },
|
|
174
176
|
}),
|
|
175
177
|
];
|
|
176
178
|
```
|
|
177
179
|
|
|
178
180
|
### What a reader hears before the message
|
|
179
181
|
|
|
180
|
-
Turn a screen reader on and read the three rows: the severity is a word, not only a
|
|
182
|
+
Turn a screen reader on and read the three rows: the severity is a word, not only a color and a silhouette, and it is the same word wherever the message is announced.
|
|
181
183
|
|
|
182
184
|
Excerpt — not a complete module
|
|
183
185
|
|
|
184
186
|
```html
|
|
185
|
-
<!-- Heard as “Error:
|
|
186
|
-
<p slInlineMessage tone="danger">
|
|
187
|
+
<!-- Heard as “Error: Enter a valid EIN.” -->
|
|
188
|
+
<p slInlineMessage tone="danger">Enter a valid EIN.</p>
|
|
187
189
|
|
|
188
190
|
<!-- One message says its own word; the empty string removes it entirely. -->
|
|
189
|
-
<p slInlineMessage tone="danger" prefix="
|
|
190
|
-
<p slInlineMessage tone="danger" prefix="">
|
|
191
|
+
<p slInlineMessage tone="danger" prefix="Error:">Enter a valid EIN.</p>
|
|
192
|
+
<p slInlineMessage tone="danger" prefix="">Error: enter a valid EIN.</p>
|
|
191
193
|
```
|
package/docs/inline.json
CHANGED
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"The directive selector is an attribute, so the element is always the consumer’s. Write ul when the items are list items.",
|
|
103
103
|
"There is no input that reverses the items. Visual order stays DOM order, which is what WCAG 2.2 SC 1.3.2 asks for (technique C27, failure F1) and what keeps the Tab order matching the page.",
|
|
104
104
|
"Wrapping is the default because a row that cannot wrap has one answer to a narrow container: overflow it. Asking for nowrap is asking for that, and WCAG 1.4.10 Reflow is what it costs.",
|
|
105
|
-
"baseline is the alignment for items that carry text of different sizes. It puts the type on one line where
|
|
105
|
+
"baseline is the alignment for items that carry text of different sizes. It puts the type on one line where centering only puts the boxes there."
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
},
|
package/docs/inline.md
CHANGED
|
@@ -38,7 +38,7 @@ Excerpt — not a complete module
|
|
|
38
38
|
- The directive selector is an attribute, so the element is always the consumer’s. Write ul when the items are list items.
|
|
39
39
|
- There is no input that reverses the items. Visual order stays DOM order, which is what WCAG 2.2 SC 1.3.2 asks for (technique C27, failure F1) and what keeps the Tab order matching the page.
|
|
40
40
|
- Wrapping is the default because a row that cannot wrap has one answer to a narrow container: overflow it. Asking for nowrap is asking for that, and WCAG 1.4.10 Reflow is what it costs.
|
|
41
|
-
- baseline is the alignment for items that carry text of different sizes. It puts the type on one line where
|
|
41
|
+
- baseline is the alignment for items that carry text of different sizes. It puts the type on one line where centering only puts the boxes there.
|
|
42
42
|
|
|
43
43
|
## Tokens
|
|
44
44
|
|
package/docs/kbd.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"type": "'raised' | 'outline' | 'soft' | 'plain'",
|
|
130
130
|
"defaultValue": "raised",
|
|
131
131
|
"appliesTo": "slKbd, slShortcut",
|
|
132
|
-
"description": "raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the
|
|
132
|
+
"description": "raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the color of the text it sits in"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
"name": "disabled",
|
|
@@ -235,10 +235,13 @@
|
|
|
235
235
|
"--slotted-font-family-sans",
|
|
236
236
|
"--slotted-font-weight-medium",
|
|
237
237
|
"--slotted-kbd-base-width",
|
|
238
|
+
"--slotted-kbd-border-color",
|
|
238
239
|
"--slotted-kbd-border-width",
|
|
240
|
+
"--slotted-kbd-color",
|
|
239
241
|
"--slotted-kbd-font-family",
|
|
240
242
|
"--slotted-kbd-font-weight",
|
|
241
243
|
"--slotted-kbd-radius",
|
|
244
|
+
"--slotted-kbd-surface",
|
|
242
245
|
"--slotted-kbd-symbol-font-family",
|
|
243
246
|
"--slotted-radius-lg",
|
|
244
247
|
"--slotted-radius-md",
|
|
@@ -309,7 +312,7 @@
|
|
|
309
312
|
{
|
|
310
313
|
"id": "context",
|
|
311
314
|
"title": "Where a shortcut actually lives",
|
|
312
|
-
"note": "A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s
|
|
315
|
+
"note": "A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s color, so a row that dims dims its shortcut with no state to set.",
|
|
313
316
|
"language": "html",
|
|
314
317
|
"source": "<li>\n <span>Open command palette</span>\n <kbd slShortcut keys=\"mod+k\" variant=\"plain\"></kbd>\n</li>\n",
|
|
315
318
|
"verdict": "excerpt"
|
package/docs/kbd.md
CHANGED
|
@@ -40,7 +40,7 @@ Excerpt — not a complete module
|
|
|
40
40
|
| `keys` | `string` | — | slShortcut | The whole combination: + joins keys pressed together, whitespace joins the steps of a sequence |
|
|
41
41
|
| `platform` | `'auto' \| 'mac' \| 'windows' \| 'linux' \| 'other'` | auto | slKbd, slShortcut | Which keyboard the legends are drawn for. auto reads the browser and never the server, so a server-rendered application states it through provideKbdDefaults |
|
|
42
42
|
| `size` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'inherit'` | md | slKbd, slShortcut | xs to lg are fixed heights of 16, 20, 24 and 28 pixels whose legend answers density; inherit reads the text around the key and stays inside its line |
|
|
43
|
-
| `variant` | `'raised' \| 'outline' \| 'soft' \| 'plain'` | raised | slKbd, slShortcut | raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the
|
|
43
|
+
| `variant` | `'raised' \| 'outline' \| 'soft' \| 'plain'` | raised | slKbd, slShortcut | raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the color of the text it sits in |
|
|
44
44
|
| `disabled` | `boolean` | false | slKbd, slShortcut | Dims the key without writing aria-disabled, which kbd may not carry. The item the shortcut belongs to owns the semantics |
|
|
45
45
|
| `separator` | `string` | + | slShortcut | Between two simultaneous keys. A Mac joins with nothing whatever this says |
|
|
46
46
|
| `messages` | `PartialMessages<KeysMessages>` | — | slKbd, slShortcut | Words laid over the keys catalog of the language in force, key by key: legends.*, names.*, and then — the word between two steps of a sequence, read aloud |
|
|
@@ -73,7 +73,7 @@ Excerpt — not a complete module
|
|
|
73
73
|
|
|
74
74
|
## Tokens
|
|
75
75
|
|
|
76
|
-
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-inner-size`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-font-family-sans`, `--slotted-font-weight-medium`, `--slotted-kbd-base-width`, `--slotted-kbd-border-width`, `--slotted-kbd-font-family`, `--slotted-kbd-font-weight`, `--slotted-kbd-radius`, `--slotted-kbd-symbol-font-family`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`
|
|
76
|
+
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-inner-size`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-font-family-sans`, `--slotted-font-weight-medium`, `--slotted-kbd-base-width`, `--slotted-kbd-border-color`, `--slotted-kbd-border-width`, `--slotted-kbd-color`, `--slotted-kbd-font-family`, `--slotted-kbd-font-weight`, `--slotted-kbd-radius`, `--slotted-kbd-surface`, `--slotted-kbd-symbol-font-family`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`
|
|
77
77
|
|
|
78
78
|
## Examples
|
|
79
79
|
|
|
@@ -141,7 +141,7 @@ Excerpt — not a complete module
|
|
|
141
141
|
|
|
142
142
|
### Where a shortcut actually lives
|
|
143
143
|
|
|
144
|
-
A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s
|
|
144
|
+
A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s color, so a row that dims dims its shortcut with no state to set.
|
|
145
145
|
|
|
146
146
|
Excerpt — not a complete module
|
|
147
147
|
|
package/docs/link.json
CHANGED
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
"summary": "Text link to another page or resource."
|
|
8
8
|
},
|
|
9
9
|
"axes": {
|
|
10
|
+
"size": [
|
|
11
|
+
"xs",
|
|
12
|
+
"sm",
|
|
13
|
+
"md"
|
|
14
|
+
],
|
|
10
15
|
"underline": [
|
|
11
16
|
"always",
|
|
12
17
|
"hover",
|
|
@@ -88,7 +93,14 @@
|
|
|
88
93
|
"type": "'accent' | 'neutral' | 'inverse'",
|
|
89
94
|
"defaultValue": "accent",
|
|
90
95
|
"appliesTo": "slLink",
|
|
91
|
-
"description": "Accent, the
|
|
96
|
+
"description": "Accent, the color of the surrounding text, or a solid surface"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "size",
|
|
100
|
+
"type": "'xs' | 'sm' | 'md'",
|
|
101
|
+
"defaultValue": "—",
|
|
102
|
+
"appliesTo": "slLink",
|
|
103
|
+
"description": "The text size: 12, 13 or 14 pixels on the type scale. Unset, the link takes the size its action slot states — a stat card’s action, a section’s or a chart’s actions state sm — or else its parent’s"
|
|
92
104
|
},
|
|
93
105
|
{
|
|
94
106
|
"name": "external",
|
|
@@ -152,9 +164,9 @@
|
|
|
152
164
|
"events": [],
|
|
153
165
|
"accessibility": [
|
|
154
166
|
"The directive sits on the consumer’s own anchor, so the link role, Enter, the context menu and every modified click come from the platform — and routerLink composes on the same element. Space does not activate a link, and nothing here makes it.",
|
|
155
|
-
"underline=\"always\" is the default because
|
|
156
|
-
"variant=\"neutral\" takes the
|
|
157
|
-
"Whatever the underline axis says, the underline returns under forced-colors, where the palette flattens the
|
|
167
|
+
"underline=\"always\" is the default because color alone does not distinguish a link: the accent text color clears 4.5:1 against the surface and not 3:1 against the body text beside it.",
|
|
168
|
+
"variant=\"neutral\" takes the color of the text around it, so it belongs where nothing on the line could be mistaken for it — a cell, a title, a row — and never inside a sentence.",
|
|
169
|
+
"Whatever the underline axis says, the underline returns under forced-colors, where the palette flattens the color contrast a bare link relies on.",
|
|
158
170
|
"A new browsing context is announced in the accessible name and marked with a glyph. external states it, and so does a static target=\"_blank\" the consumer wrote.",
|
|
159
171
|
"rel and target are added only when the anchor carries neither, so an attribute the consumer wrote is never rewritten or removed.",
|
|
160
172
|
"A disabled link keeps no href, which is what stops a middle click as well as a left one, and keeps role=\"link\", aria-disabled and its place in the tab sequence so the state can be discovered.",
|
|
@@ -169,6 +181,9 @@
|
|
|
169
181
|
"--slotted-easing-standard",
|
|
170
182
|
"--slotted-focus-ring-color",
|
|
171
183
|
"--slotted-focus-ring-width",
|
|
184
|
+
"--slotted-font-size-md",
|
|
185
|
+
"--slotted-font-size-sm",
|
|
186
|
+
"--slotted-font-size-xs",
|
|
172
187
|
"--slotted-link-color",
|
|
173
188
|
"--slotted-link-color-active",
|
|
174
189
|
"--slotted-link-color-current",
|
|
@@ -178,6 +193,7 @@
|
|
|
178
193
|
"--slotted-link-external-icon-gap",
|
|
179
194
|
"--slotted-link-external-icon-size",
|
|
180
195
|
"--slotted-link-focus-ring-offset",
|
|
196
|
+
"--slotted-link-font-size",
|
|
181
197
|
"--slotted-link-radius",
|
|
182
198
|
"--slotted-link-underline-color",
|
|
183
199
|
"--slotted-link-underline-offset",
|
|
@@ -199,7 +215,7 @@
|
|
|
199
215
|
{
|
|
200
216
|
"id": "underline",
|
|
201
217
|
"title": "When the underline is drawn",
|
|
202
|
-
"note": "always is the default and the only value safe inside a sentence: the accent text
|
|
218
|
+
"note": "always is the default and the only value safe inside a sentence: the accent text color clears 4.5:1 against the surface but not 3:1 against the body text beside it.",
|
|
203
219
|
"language": "html",
|
|
204
220
|
"source": "<a slLink href=\"/invoices\">Underlined always</a>\n<a slLink href=\"/invoices\" underline=\"hover\">Underlined on hover</a>\n<a slLink href=\"/invoices\" underline=\"none\">Never underlined</a>\n",
|
|
205
221
|
"verdict": "excerpt"
|
|
@@ -207,7 +223,7 @@
|
|
|
207
223
|
{
|
|
208
224
|
"id": "variants",
|
|
209
225
|
"title": "How the link is painted",
|
|
210
|
-
"note": "accent invites, neutral takes the
|
|
226
|
+
"note": "accent invites, neutral takes the color of the text around it for a cell or a title, and inverse is the link on a solid surface. Hover moves each one toward the strongest text color its context has.",
|
|
211
227
|
"language": "html",
|
|
212
228
|
"source": "<a slLink href=\"/history\">payment history</a>\n<a slLink href=\"/invoices/0041\" underline=\"hover\" variant=\"neutral\">INV-2026-08-0041</a>\n<a slLink href=\"/plans\" variant=\"inverse\">Choose a plan</a>\n",
|
|
213
229
|
"verdict": "excerpt"
|
package/docs/link.md
CHANGED
|
@@ -32,7 +32,8 @@ Excerpt — not a complete module
|
|
|
32
32
|
| Name | Type | Default | Applies to | Description |
|
|
33
33
|
| --- | --- | --- | --- | --- |
|
|
34
34
|
| `underline` | `'always' \| 'hover' \| 'none'` | always | slLink | When the underline is drawn |
|
|
35
|
-
| `variant` | `'accent' \| 'neutral' \| 'inverse'` | accent | slLink | Accent, the
|
|
35
|
+
| `variant` | `'accent' \| 'neutral' \| 'inverse'` | accent | slLink | Accent, the color of the surrounding text, or a solid surface |
|
|
36
|
+
| `size` | `'xs' \| 'sm' \| 'md'` | — | slLink | The text size: 12, 13 or 14 pixels on the type scale. Unset, the link takes the size its action slot states — a stat card’s action, a section’s or a chart’s actions state sm — or else its parent’s |
|
|
36
37
|
| `external` | `boolean` | false | slLink | Opens a new tab and warns that it does |
|
|
37
38
|
| `messages` | `Partial<LinkMessages>` | — | slLink | Words laid over the language in force: the wording of that warning (externalHint) |
|
|
38
39
|
| `disabled` | `boolean` | false | slLink | Withholds the destination, keeps the role, the state and the tab stop |
|
|
@@ -46,15 +47,16 @@ Excerpt — not a complete module
|
|
|
46
47
|
|
|
47
48
|
| Axis | Values | Default |
|
|
48
49
|
| --- | --- | --- |
|
|
50
|
+
| `size` | `xs`, `sm`, `md` | — |
|
|
49
51
|
| `underline` | `always`, `hover`, `none` | `always` |
|
|
50
52
|
| `variant` | `accent`, `neutral`, `inverse` | `accent` |
|
|
51
53
|
|
|
52
54
|
## Rules
|
|
53
55
|
|
|
54
56
|
- The directive sits on the consumer’s own anchor, so the link role, Enter, the context menu and every modified click come from the platform — and routerLink composes on the same element. Space does not activate a link, and nothing here makes it.
|
|
55
|
-
- underline="always" is the default because
|
|
56
|
-
- variant="neutral" takes the
|
|
57
|
-
- Whatever the underline axis says, the underline returns under forced-colors, where the palette flattens the
|
|
57
|
+
- underline="always" is the default because color alone does not distinguish a link: the accent text color clears 4.5:1 against the surface and not 3:1 against the body text beside it.
|
|
58
|
+
- variant="neutral" takes the color of the text around it, so it belongs where nothing on the line could be mistaken for it — a cell, a title, a row — and never inside a sentence.
|
|
59
|
+
- Whatever the underline axis says, the underline returns under forced-colors, where the palette flattens the color contrast a bare link relies on.
|
|
58
60
|
- A new browsing context is announced in the accessible name and marked with a glyph. external states it, and so does a static target="_blank" the consumer wrote.
|
|
59
61
|
- rel and target are added only when the anchor carries neither, so an attribute the consumer wrote is never rewritten or removed.
|
|
60
62
|
- A disabled link keeps no href, which is what stops a middle click as well as a left one, and keeps role="link", aria-disabled and its place in the tab sequence so the state can be discovered.
|
|
@@ -62,13 +64,13 @@ Excerpt — not a complete module
|
|
|
62
64
|
|
|
63
65
|
## Tokens
|
|
64
66
|
|
|
65
|
-
`--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-link-color`, `--slotted-link-color-active`, `--slotted-link-color-current`, `--slotted-link-color-disabled`, `--slotted-link-color-hover`, `--slotted-link-color-visited`, `--slotted-link-external-icon-gap`, `--slotted-link-external-icon-size`, `--slotted-link-focus-ring-offset`, `--slotted-link-radius`, `--slotted-link-underline-color`, `--slotted-link-underline-offset`, `--slotted-link-underline-thickness`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-text`
|
|
67
|
+
`--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-link-color`, `--slotted-link-color-active`, `--slotted-link-color-current`, `--slotted-link-color-disabled`, `--slotted-link-color-hover`, `--slotted-link-color-visited`, `--slotted-link-external-icon-gap`, `--slotted-link-external-icon-size`, `--slotted-link-focus-ring-offset`, `--slotted-link-font-size`, `--slotted-link-radius`, `--slotted-link-underline-color`, `--slotted-link-underline-offset`, `--slotted-link-underline-thickness`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-text`
|
|
66
68
|
|
|
67
69
|
## Examples
|
|
68
70
|
|
|
69
71
|
### When the underline is drawn
|
|
70
72
|
|
|
71
|
-
always is the default and the only value safe inside a sentence: the accent text
|
|
73
|
+
always is the default and the only value safe inside a sentence: the accent text color clears 4.5:1 against the surface but not 3:1 against the body text beside it.
|
|
72
74
|
|
|
73
75
|
Excerpt — not a complete module
|
|
74
76
|
|
|
@@ -80,7 +82,7 @@ Excerpt — not a complete module
|
|
|
80
82
|
|
|
81
83
|
### How the link is painted
|
|
82
84
|
|
|
83
|
-
accent invites, neutral takes the
|
|
85
|
+
accent invites, neutral takes the color of the text around it for a cell or a title, and inverse is the link on a solid surface. Hover moves each one toward the strongest text color its context has.
|
|
84
86
|
|
|
85
87
|
Excerpt — not a complete module
|
|
86
88
|
|
package/docs/list-item.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"tone": [
|
|
11
11
|
"secondary",
|
|
12
12
|
"accent",
|
|
13
|
+
"info",
|
|
13
14
|
"success",
|
|
14
15
|
"warning",
|
|
15
16
|
"danger"
|
|
@@ -84,48 +85,56 @@
|
|
|
84
85
|
},
|
|
85
86
|
{
|
|
86
87
|
"part": "marker",
|
|
88
|
+
"parent": "root",
|
|
87
89
|
"element": "span",
|
|
88
90
|
"required": false,
|
|
89
91
|
"purpose": "The bullet, rendered only when marker is bullet: the dot Glyph in the marker column, before content and hidden from assistive technology. A numbered marker is a counter the stylesheet writes, because it is text."
|
|
90
92
|
},
|
|
91
93
|
{
|
|
92
94
|
"part": "content",
|
|
95
|
+
"parent": "root",
|
|
93
96
|
"element": "div, button or a",
|
|
94
97
|
"required": true,
|
|
95
98
|
"purpose": "The box that is read, hovered, focused and — for two of the three — activated. Three elements rather than one as prop, because the three are three different accessibility trees."
|
|
96
99
|
},
|
|
97
100
|
{
|
|
98
101
|
"part": "start",
|
|
102
|
+
"parent": "content",
|
|
99
103
|
"element": "div",
|
|
100
104
|
"required": false,
|
|
101
105
|
"purpose": "The leading column: an icon, an avatar, a Checkbox. It is the slot and not the control, and the chooser here is also what announces a selection the row only paints."
|
|
102
106
|
},
|
|
103
107
|
{
|
|
104
108
|
"part": "body",
|
|
109
|
+
"parent": "content",
|
|
105
110
|
"element": "div",
|
|
106
111
|
"required": false,
|
|
107
112
|
"purpose": "The text column, and the one box in the row that may shrink — which is what lets an unbroken token break instead of pushing the metadata out of the row."
|
|
108
113
|
},
|
|
109
114
|
{
|
|
110
115
|
"part": "label",
|
|
116
|
+
"parent": "body",
|
|
111
117
|
"element": "div",
|
|
112
118
|
"required": false,
|
|
113
119
|
"purpose": "The title. It clips under truncate, isolates its own direction so another script does not reorder the row, and breaks a single unbroken token."
|
|
114
120
|
},
|
|
115
121
|
{
|
|
116
122
|
"part": "description",
|
|
123
|
+
"parent": "body",
|
|
117
124
|
"element": "div",
|
|
118
125
|
"required": false,
|
|
119
126
|
"purpose": "The lines under the title. They clip with it, never instead of it."
|
|
120
127
|
},
|
|
121
128
|
{
|
|
122
129
|
"part": "end",
|
|
130
|
+
"parent": "content",
|
|
123
131
|
"element": "div",
|
|
124
132
|
"required": false,
|
|
125
133
|
"purpose": "Trailing metadata that is part of what the row says — a timestamp, a count, a Badge. Below 22rem it leaves the inline axis and sits under the title."
|
|
126
134
|
},
|
|
127
135
|
{
|
|
128
136
|
"part": "actions",
|
|
137
|
+
"parent": "root",
|
|
129
138
|
"element": "div",
|
|
130
139
|
"required": false,
|
|
131
140
|
"purpose": "Independent targets, and a sibling of the box rather than its child: interactive content may not nest inside an a or a button."
|
|
@@ -134,7 +143,7 @@
|
|
|
134
143
|
"api": [
|
|
135
144
|
{
|
|
136
145
|
"name": "tone",
|
|
137
|
-
"type": "'secondary' | 'accent' | 'success' | 'warning' | 'danger'",
|
|
146
|
+
"type": "'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'danger'",
|
|
138
147
|
"defaultValue": "secondary",
|
|
139
148
|
"appliesTo": "slListItem",
|
|
140
149
|
"description": "The row ink, the wash under the pointer and the ground of a selected row. It never fills a resting row"
|
|
@@ -249,7 +258,7 @@
|
|
|
249
258
|
"current is announced, with aria-current and the token the page states. An aria-current the page wrote itself is read with HostAttributeToken and kept.",
|
|
250
259
|
"position and setSize are written only when the page states them. ARIA 1.2 says both are unnecessary while every row is in the document and necessary the moment only part of the set is.",
|
|
251
260
|
"slListItemActions is a sibling of the box and never its child, because interactive content may not nest inside an a or a button. A control inside it is the page own to disable: a disabled row refuses its own box and nothing else.",
|
|
252
|
-
"The row binds no key. Enter on a link, Enter and Space on a button, and the modified click a browser gives an anchor are the platform own
|
|
261
|
+
"The row binds no key. Enter on a link, Enter and Space on a button, and the modified click a browser gives an anchor are the platform own behavior.",
|
|
253
262
|
"The focus ring is drawn inside the row rather than around it, because a row runs the full width of its set: an outward ring on the first row of a framed list is drawn under the frame.",
|
|
254
263
|
"Selection is said with a fill and an edge together, because every tone surface is the page own white in the high-contrast scheme.",
|
|
255
264
|
"The title isolates its own direction and breaks a single unbroken token rather than pushing the metadata out of the row."
|
|
@@ -349,6 +358,13 @@
|
|
|
349
358
|
"--slotted-tone-danger-subtle-hover",
|
|
350
359
|
"--slotted-tone-danger-surface",
|
|
351
360
|
"--slotted-tone-danger-text",
|
|
361
|
+
"--slotted-tone-info-border",
|
|
362
|
+
"--slotted-tone-info-solid-active",
|
|
363
|
+
"--slotted-tone-info-solid-hover",
|
|
364
|
+
"--slotted-tone-info-subtle-active",
|
|
365
|
+
"--slotted-tone-info-subtle-hover",
|
|
366
|
+
"--slotted-tone-info-surface",
|
|
367
|
+
"--slotted-tone-info-text",
|
|
352
368
|
"--slotted-tone-secondary-border",
|
|
353
369
|
"--slotted-tone-secondary-solid-active",
|
|
354
370
|
"--slotted-tone-secondary-solid-hover",
|
|
@@ -390,9 +406,9 @@
|
|
|
390
406
|
{
|
|
391
407
|
"id": "anatomy",
|
|
392
408
|
"title": "Every part, and a row with almost none",
|
|
393
|
-
"note": "Every part but the box is optional, and an absent one leaves no column behind: each gap is a margin on the part rather than a track on the grid.",
|
|
409
|
+
"note": "Every part but the box is optional, and an absent one leaves no column behind: each gap is a margin on the part rather than a track on the grid. slListItemEnd takes metadata, inside the box; slListItemActions takes controls, beside it.",
|
|
394
410
|
"language": "html",
|
|
395
|
-
"source": "<li slListItem>\n <div slListItemContent>\n <span slListItemStart></span>\n <span slListItemBody>\n <span slListItemLabel>Photos</span>\n <span slListItemDescription>128 files</span>\n </span>\n <span slListItemEnd>Yesterday</span>\n </div>\n <span slListItemActions
|
|
411
|
+
"source": "<li slListItem>\n <div slListItemContent>\n <span slListItemStart></span>\n <span slListItemBody>\n <span slListItemLabel>Photos</span>\n <span slListItemDescription>128 files</span>\n </span>\n <span slListItemEnd>Yesterday</span>\n </div>\n <span slListItemActions>\n <button slButton size=\"sm\" variant=\"ghost\" (click)=\"rename()\">Rename</button>\n <button slButton size=\"sm\" variant=\"ghost\" (click)=\"remove()\">Remove</button>\n </span>\n</li>\n",
|
|
396
412
|
"verdict": "excerpt"
|
|
397
413
|
},
|
|
398
414
|
{
|
package/docs/list-item.md
CHANGED
|
@@ -26,23 +26,23 @@ Excerpt — not a complete module
|
|
|
26
26
|
|
|
27
27
|
## Anatomy
|
|
28
28
|
|
|
29
|
-
| Part | Element | Required |
|
|
30
|
-
| --- | --- | --- |
|
|
31
|
-
| `root` | li, or the element render returns | yes |
|
|
32
|
-
| `marker` | span | no |
|
|
33
|
-
| `content` | div, button or a | yes |
|
|
34
|
-
| `start` | div | no |
|
|
35
|
-
| `body` | div | no |
|
|
36
|
-
| `label` | div | no |
|
|
37
|
-
| `description` | div | no |
|
|
38
|
-
| `end` | div | no |
|
|
39
|
-
| `actions` | div | no |
|
|
29
|
+
| Part | Parent | Element | Required |
|
|
30
|
+
| --- | --- | --- | --- |
|
|
31
|
+
| `root` | — | li, or the element render returns | yes |
|
|
32
|
+
| `marker` | `root` | span | no |
|
|
33
|
+
| `content` | `root` | div, button or a | yes |
|
|
34
|
+
| `start` | `content` | div | no |
|
|
35
|
+
| `body` | `content` | div | no |
|
|
36
|
+
| `label` | `body` | div | no |
|
|
37
|
+
| `description` | `body` | div | no |
|
|
38
|
+
| `end` | `content` | div | no |
|
|
39
|
+
| `actions` | `root` | div | no |
|
|
40
40
|
|
|
41
41
|
## Props
|
|
42
42
|
|
|
43
43
|
| Name | Type | Default | Applies to | Description |
|
|
44
44
|
| --- | --- | --- | --- | --- |
|
|
45
|
-
| `tone` | `'secondary' \| 'accent' \| 'success' \| 'warning' \| 'danger'` | secondary | slListItem | The row ink, the wash under the pointer and the ground of a selected row. It never fills a resting row |
|
|
45
|
+
| `tone` | `'secondary' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slListItem | The row ink, the wash under the pointer and the ground of a selected row. It never fills a resting row |
|
|
46
46
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slListItem | The room the row gets. Falls back to the list, then the injected default |
|
|
47
47
|
| `align` | `'center' \| 'start'` | center | slListItem | Where the leading visual and the metadata sit against a row of more than one line |
|
|
48
48
|
| `inset` | `boolean` | false | slListItem | Takes the row inline padding away. Falls back to the list, then the injected default |
|
|
@@ -62,7 +62,7 @@ Excerpt — not a complete module
|
|
|
62
62
|
|
|
63
63
|
| Axis | Values | Default |
|
|
64
64
|
| --- | --- | --- |
|
|
65
|
-
| `tone` | `secondary`, `accent`, `success`, `warning`, `danger` | `secondary` |
|
|
65
|
+
| `tone` | `secondary`, `accent`, `info`, `success`, `warning`, `danger` | `secondary` |
|
|
66
66
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
67
67
|
| `align` | `center`, `start` | `center` |
|
|
68
68
|
|
|
@@ -76,14 +76,14 @@ Excerpt — not a complete module
|
|
|
76
76
|
- current is announced, with aria-current and the token the page states. An aria-current the page wrote itself is read with HostAttributeToken and kept.
|
|
77
77
|
- position and setSize are written only when the page states them. ARIA 1.2 says both are unnecessary while every row is in the document and necessary the moment only part of the set is.
|
|
78
78
|
- slListItemActions is a sibling of the box and never its child, because interactive content may not nest inside an a or a button. A control inside it is the page own to disable: a disabled row refuses its own box and nothing else.
|
|
79
|
-
- The row binds no key. Enter on a link, Enter and Space on a button, and the modified click a browser gives an anchor are the platform own
|
|
79
|
+
- The row binds no key. Enter on a link, Enter and Space on a button, and the modified click a browser gives an anchor are the platform own behavior.
|
|
80
80
|
- The focus ring is drawn inside the row rather than around it, because a row runs the full width of its set: an outward ring on the first row of a framed list is drawn under the frame.
|
|
81
81
|
- Selection is said with a fill and an edge together, because every tone surface is the page own white in the high-contrast scheme.
|
|
82
82
|
- The title isolates its own direction and breaks a single unbroken token rather than pushing the metadata out of the row.
|
|
83
83
|
|
|
84
84
|
## Tokens
|
|
85
85
|
|
|
86
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-list-item-background`, `--slotted-list-item-background-active`, `--slotted-list-item-background-current`, `--slotted-list-item-background-hover`, `--slotted-list-item-background-selected`, `--slotted-list-item-body-gap`, `--slotted-list-item-border-color`, `--slotted-list-item-border-width`, `--slotted-list-item-color`, `--slotted-list-item-color-disabled`, `--slotted-list-item-color-muted`, `--slotted-list-item-control-size`, `--slotted-list-item-control-size-lg`, `--slotted-list-item-control-size-sm`, `--slotted-list-item-description-font-size`, `--slotted-list-item-font-size`, `--slotted-list-item-font-size-lg`, `--slotted-list-item-font-size-sm`, `--slotted-list-item-font-weight`, `--slotted-list-item-font-weight-current`, `--slotted-list-item-font-weight-selected`, `--slotted-list-item-gap`, `--slotted-list-item-gap-lg`, `--slotted-list-item-gap-sm`, `--slotted-list-item-icon-size`, `--slotted-list-item-icon-size-lg`, `--slotted-list-item-icon-size-sm`, `--slotted-list-item-min-block-size`, `--slotted-list-item-min-block-size-lg`, `--slotted-list-item-min-block-size-sm`, `--slotted-list-item-padding-block`, `--slotted-list-item-padding-block-lg`, `--slotted-list-item-padding-block-sm`, `--slotted-list-item-padding-inline`, `--slotted-list-item-padding-inline-lg`, `--slotted-list-item-padding-inline-sm`, `--slotted-list-item-radius`, `--slotted-radius-md`, `--slotted-selection-size-lg`, `--slotted-selection-size-md`, `--slotted-selection-size-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-subtle-hover`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-solid-active`, `--slotted-tone-success-solid-hover`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-subtle-hover`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid-active`, `--slotted-tone-warning-solid-hover`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-subtle-hover`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
86
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-list-item-background`, `--slotted-list-item-background-active`, `--slotted-list-item-background-current`, `--slotted-list-item-background-hover`, `--slotted-list-item-background-selected`, `--slotted-list-item-body-gap`, `--slotted-list-item-border-color`, `--slotted-list-item-border-width`, `--slotted-list-item-color`, `--slotted-list-item-color-disabled`, `--slotted-list-item-color-muted`, `--slotted-list-item-control-size`, `--slotted-list-item-control-size-lg`, `--slotted-list-item-control-size-sm`, `--slotted-list-item-description-font-size`, `--slotted-list-item-font-size`, `--slotted-list-item-font-size-lg`, `--slotted-list-item-font-size-sm`, `--slotted-list-item-font-weight`, `--slotted-list-item-font-weight-current`, `--slotted-list-item-font-weight-selected`, `--slotted-list-item-gap`, `--slotted-list-item-gap-lg`, `--slotted-list-item-gap-sm`, `--slotted-list-item-icon-size`, `--slotted-list-item-icon-size-lg`, `--slotted-list-item-icon-size-sm`, `--slotted-list-item-min-block-size`, `--slotted-list-item-min-block-size-lg`, `--slotted-list-item-min-block-size-sm`, `--slotted-list-item-padding-block`, `--slotted-list-item-padding-block-lg`, `--slotted-list-item-padding-block-sm`, `--slotted-list-item-padding-inline`, `--slotted-list-item-padding-inline-lg`, `--slotted-list-item-padding-inline-sm`, `--slotted-list-item-radius`, `--slotted-radius-md`, `--slotted-selection-size-lg`, `--slotted-selection-size-md`, `--slotted-selection-size-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-subtle-hover`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-solid-active`, `--slotted-tone-info-solid-hover`, `--slotted-tone-info-subtle-active`, `--slotted-tone-info-subtle-hover`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-solid-active`, `--slotted-tone-success-solid-hover`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-subtle-hover`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid-active`, `--slotted-tone-warning-solid-hover`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-subtle-hover`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
87
87
|
|
|
88
88
|
## Examples
|
|
89
89
|
|
|
@@ -101,7 +101,7 @@ Excerpt — not a complete module
|
|
|
101
101
|
|
|
102
102
|
### Every part, and a row with almost none
|
|
103
103
|
|
|
104
|
-
Every part but the box is optional, and an absent one leaves no column behind: each gap is a margin on the part rather than a track on the grid.
|
|
104
|
+
Every part but the box is optional, and an absent one leaves no column behind: each gap is a margin on the part rather than a track on the grid. slListItemEnd takes metadata, inside the box; slListItemActions takes controls, beside it.
|
|
105
105
|
|
|
106
106
|
Excerpt — not a complete module
|
|
107
107
|
|
|
@@ -115,7 +115,10 @@ Excerpt — not a complete module
|
|
|
115
115
|
</span>
|
|
116
116
|
<span slListItemEnd>Yesterday</span>
|
|
117
117
|
</div>
|
|
118
|
-
<span slListItemActions
|
|
118
|
+
<span slListItemActions>
|
|
119
|
+
<button slButton size="sm" variant="ghost" (click)="rename()">Rename</button>
|
|
120
|
+
<button slButton size="sm" variant="ghost" (click)="remove()">Remove</button>
|
|
121
|
+
</span>
|
|
119
122
|
</li>
|
|
120
123
|
```
|
|
121
124
|
|