@slotted/angular 0.1.0-beta.29 → 0.1.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/AGENTS.snippet.md +1 -1
- package/docs/accordion.json +5 -5
- package/docs/accordion.md +12 -12
- package/docs/action-bar.json +20 -20
- package/docs/action-bar.md +28 -28
- package/docs/action-sheet.json +4 -4
- package/docs/action-sheet.md +12 -12
- package/docs/alert.json +10 -10
- package/docs/alert.md +16 -16
- package/docs/app-shell.examples.md +7 -7
- package/docs/app-shell.json +13 -13
- package/docs/app-shell.md +3 -3
- package/docs/avatar-group.json +1 -1
- package/docs/avatar-group.md +1 -1
- package/docs/avatar.json +10 -10
- package/docs/avatar.md +9 -9
- package/docs/badge.json +3 -3
- package/docs/badge.md +3 -3
- package/docs/breadcrumb.json +2 -2
- package/docs/breadcrumb.md +2 -2
- package/docs/button-group.json +1 -1
- package/docs/button-group.md +1 -1
- package/docs/button.json +11 -11
- package/docs/button.md +7 -7
- package/docs/calendar.json +4 -4
- package/docs/calendar.md +3 -3
- package/docs/card.json +2 -2
- package/docs/card.md +2 -2
- package/docs/carousel.json +10 -10
- package/docs/carousel.md +11 -11
- package/docs/chart.examples.md +32 -32
- package/docs/chart.json +33 -33
- package/docs/chart.md +4 -4
- package/docs/checkbox-group.examples.md +13 -13
- package/docs/checkbox-group.json +7 -7
- package/docs/checkbox-group.md +2 -2
- package/docs/checkbox.examples.md +7 -7
- package/docs/checkbox.json +6 -6
- package/docs/checkbox.md +3 -3
- package/docs/code-block.json +1 -1
- package/docs/code-block.md +1 -1
- package/docs/collapsible.json +11 -11
- package/docs/collapsible.md +19 -19
- package/docs/color-picker.json +26 -26
- package/docs/color-picker.md +16 -16
- package/docs/combobox.json +2 -2
- package/docs/combobox.md +2 -2
- package/docs/context-menu.json +1 -1
- package/docs/context-menu.md +1 -1
- package/docs/currency-field.examples.md +3 -3
- package/docs/currency-field.json +6 -6
- package/docs/currency-field.md +4 -4
- package/docs/dashboard-grid.json +1 -1
- package/docs/data-grid.examples.md +1 -1
- package/docs/data-grid.json +2 -2
- package/docs/data-grid.props.md +1 -1
- package/docs/date-field.json +3 -3
- package/docs/date-field.md +5 -5
- package/docs/date-picker.json +1 -1
- package/docs/date-range-picker.json +1 -1
- package/docs/datetime-field.json +4 -4
- package/docs/datetime-field.md +9 -9
- package/docs/datetime-picker.json +1 -1
- package/docs/datetime-range-picker.examples.md +3 -3
- package/docs/datetime-range-picker.json +4 -4
- package/docs/datetime-range-picker.md +2 -2
- package/docs/description-list.json +5 -5
- package/docs/description-list.md +4 -4
- package/docs/detail-panel.json +10 -10
- package/docs/detail-panel.md +12 -12
- package/docs/dialog.examples.md +5 -5
- package/docs/dialog.json +10 -10
- package/docs/dialog.md +2 -2
- package/docs/dialog.props.md +2 -2
- package/docs/drawer.examples.md +13 -13
- package/docs/drawer.json +6 -6
- package/docs/event-calendar.examples.md +3 -3
- package/docs/event-calendar.json +5 -5
- package/docs/event-calendar.md +2 -2
- package/docs/field-group.json +6 -6
- package/docs/field-group.md +11 -11
- package/docs/field.examples.md +3 -3
- package/docs/field.json +4 -4
- package/docs/field.md +1 -1
- package/docs/form.json +8 -8
- package/docs/form.md +12 -12
- package/docs/fullscreen.json +4 -4
- package/docs/fullscreen.md +7 -7
- package/docs/guidelines/async-feedback.md +2 -2
- package/docs/guidelines/builders.md +1 -1
- package/docs/guidelines/composition.md +4 -4
- package/docs/guidelines/conversations.md +1 -1
- package/docs/guidelines/index.md +2 -2
- package/docs/guidelines/layout-alignment.md +5 -5
- package/docs/guidelines/overviews.md +3 -3
- package/docs/guidelines/own-elements.md +7 -7
- package/docs/guidelines/record-pages.md +1 -1
- package/docs/highlight.json +9 -9
- package/docs/highlight.md +14 -14
- package/docs/icon.json +2 -2
- package/docs/icon.md +2 -2
- package/docs/image.json +3 -3
- package/docs/image.md +3 -3
- package/docs/import-export-center.json +23 -23
- package/docs/import-export-center.md +17 -17
- package/docs/inline-message.json +15 -15
- package/docs/inline-message.md +22 -22
- package/docs/inline.json +1 -1
- package/docs/inline.md +1 -1
- package/docs/kbd.json +2 -2
- package/docs/kbd.md +2 -2
- package/docs/link.json +6 -6
- package/docs/link.md +6 -6
- package/docs/list-item.json +1 -1
- package/docs/list-item.md +1 -1
- package/docs/list.json +1 -1
- package/docs/listbox.json +1 -1
- package/docs/listbox.md +1 -1
- package/docs/loading-overlay.json +3 -3
- package/docs/loading-overlay.md +3 -3
- package/docs/message-scroller.json +1 -1
- package/docs/message-scroller.md +1 -1
- package/docs/message.json +11 -11
- package/docs/message.md +17 -17
- package/docs/multi-select.json +1 -1
- package/docs/notification-center.json +16 -16
- package/docs/notification-center.md +18 -22
- package/docs/number-field.examples.md +3 -3
- package/docs/number-field.json +3 -3
- package/docs/otp-input.json +10 -10
- package/docs/otp-input.md +13 -13
- package/docs/page-header.json +9 -9
- package/docs/page-header.md +20 -22
- package/docs/pagination.json +2 -2
- package/docs/pagination.md +1 -1
- package/docs/popover.examples.md +1 -1
- package/docs/popover.json +3 -3
- package/docs/popover.md +1 -1
- package/docs/progress-indicator.json +4 -4
- package/docs/progress-indicator.md +4 -4
- package/docs/prompt-composer.json +4 -4
- package/docs/prompt-composer.md +5 -5
- package/docs/prose.json +1 -1
- package/docs/prose.md +1 -1
- package/docs/radio-group.examples.md +19 -19
- package/docs/radio-group.json +12 -12
- package/docs/radio-group.md +3 -3
- package/docs/rating.json +23 -23
- package/docs/rating.md +25 -34
- package/docs/result-state.json +12 -12
- package/docs/result-state.md +17 -17
- package/docs/saved-views.json +1 -1
- package/docs/scroll-area.json +5 -5
- package/docs/scroll-area.md +6 -6
- package/docs/section.json +6 -6
- package/docs/section.md +12 -12
- package/docs/segmented-control.json +14 -14
- package/docs/segmented-control.md +32 -32
- package/docs/skeleton.json +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +3 -3
- package/docs/skills/compose-screen/SKILL.md +2 -2
- package/docs/skills/index.md +2 -2
- package/docs/skills/review-screen/SKILL.md +3 -3
- package/docs/skills/theme-app/SKILL.md +9 -9
- package/docs/skills/waiting-states/SKILL.md +1 -1
- package/docs/slider.json +8 -8
- package/docs/slider.md +12 -12
- package/docs/sparkline.json +8 -8
- package/docs/sparkline.md +6 -6
- package/docs/split-button.json +11 -11
- package/docs/split-button.md +25 -27
- package/docs/stack.json +1 -1
- package/docs/stack.md +1 -1
- package/docs/stat-card.json +3 -3
- package/docs/stat-card.md +2 -2
- package/docs/status-indicator.json +8 -8
- package/docs/status-indicator.md +5 -5
- package/docs/stepper.json +4 -4
- package/docs/stepper.md +4 -4
- package/docs/switch.json +5 -5
- package/docs/switch.md +7 -7
- package/docs/table-of-contents.json +11 -11
- package/docs/table-of-contents.md +12 -12
- package/docs/table.examples.md +1 -1
- package/docs/table.json +1 -1
- package/docs/tabs.json +1 -1
- package/docs/tabs.md +1 -1
- package/docs/tag.json +17 -17
- package/docs/tag.md +14 -14
- package/docs/tags-input.json +1 -1
- package/docs/tags-input.md +1 -1
- package/docs/text-field.examples.md +6 -6
- package/docs/text-field.json +4 -4
- package/docs/textarea.examples.md +7 -7
- package/docs/textarea.json +3 -3
- package/docs/time-field.json +3 -3
- package/docs/time-field.md +6 -6
- package/docs/time-picker.json +5 -5
- package/docs/time-picker.md +6 -6
- package/docs/time-range-picker.examples.md +5 -5
- package/docs/time-range-picker.json +5 -5
- package/docs/time-range-picker.md +1 -1
- package/docs/toast.json +6 -6
- package/docs/toast.md +6 -6
- package/docs/toggle-group.json +12 -12
- package/docs/toggle-group.md +28 -28
- package/docs/toggle.json +8 -8
- package/docs/toggle.md +7 -7
- package/docs/tokens.md +15 -15
- package/docs/toolbar.json +11 -11
- package/docs/toolbar.md +23 -23
- package/docs/tooltip.json +3 -3
- package/docs/tooltip.md +3 -3
- package/docs/top-navigation.examples.md +11 -15
- package/docs/top-navigation.json +9 -9
- package/docs/top-navigation.md +7 -7
- package/docs/tour.json +9 -9
- package/docs/tour.md +6 -6
- package/docs/typography.json +2 -2
- package/docs/typography.md +2 -2
- package/docs/upload.examples.md +3 -3
- package/docs/upload.json +9 -9
- package/docs/upload.md +4 -4
- package/fesm2022/slotted-angular-alert.mjs +2 -2
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +10 -10
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +4 -4
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +3 -3
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +1 -1
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +1 -1
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +2 -2
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +1 -1
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +2 -2
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +1 -1
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +6 -6
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +3 -1
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +2 -2
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +6 -6
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +3 -3
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +3 -3
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +1 -1
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +3 -3
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +2 -2
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +6 -6
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +2 -2
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +1 -1
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +3 -3
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +10 -10
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +4 -4
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +3 -3
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +1 -1
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +2 -2
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +3 -3
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-menu.mjs +2 -2
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +3 -3
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +1 -1
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +2 -2
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +2 -2
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +2 -2
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +5 -5
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +3 -3
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +2 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +2 -2
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +1 -1
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +6 -6
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +2 -2
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +3 -3
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +1 -1
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +2 -2
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +6 -6
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +15 -3
- package/types/slotted-angular-alert.d.ts +3 -3
- package/types/slotted-angular-app-shell.d.ts +4 -4
- package/types/slotted-angular-avatar-group.d.ts +3 -3
- package/types/slotted-angular-avatar.d.ts +6 -6
- package/types/slotted-angular-badge.d.ts +3 -3
- package/types/slotted-angular-breadcrumb.d.ts +1 -1
- package/types/slotted-angular-button-group.d.ts +1 -1
- package/types/slotted-angular-button.d.ts +2 -2
- package/types/slotted-angular-card.d.ts +1 -1
- package/types/slotted-angular-chart.d.ts +2 -2
- package/types/slotted-angular-checkbox.d.ts +1 -1
- package/types/slotted-angular-code-block.d.ts +1 -1
- package/types/slotted-angular-collapsible.d.ts +1 -1
- package/types/slotted-angular-color-picker.d.ts +6 -6
- package/types/slotted-angular-column-manager.d.ts +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +1 -1
- package/types/slotted-angular-data-grid.d.ts +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +1 -1
- package/types/slotted-angular-description-list.d.ts +1 -1
- package/types/slotted-angular-field.d.ts +2 -2
- package/types/slotted-angular-form.d.ts +1 -1
- package/types/slotted-angular-highlight.d.ts +1 -1
- package/types/slotted-angular-icon.d.ts +2 -2
- package/types/slotted-angular-import-export-center.d.ts +9 -9
- package/types/slotted-angular-inline-message.d.ts +3 -3
- package/types/slotted-angular-inline.d.ts +1 -1
- package/types/slotted-angular-kbd.d.ts +1 -1
- package/types/slotted-angular-list.d.ts +1 -1
- package/types/slotted-angular-listbox.d.ts +2 -2
- package/types/slotted-angular-loading-overlay.d.ts +3 -3
- package/types/slotted-angular-menu.d.ts +1 -1
- package/types/slotted-angular-message-scroller.d.ts +1 -1
- package/types/slotted-angular-notification-center.d.ts +4 -4
- package/types/slotted-angular-otp-input.d.ts +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +2 -2
- package/types/slotted-angular-radio-group.d.ts +2 -2
- package/types/slotted-angular-rating.d.ts +2 -2
- package/types/slotted-angular-result-state.d.ts +1 -1
- package/types/slotted-angular-segmented-control.d.ts +2 -2
- package/types/slotted-angular-status-indicator.d.ts +2 -2
- package/types/slotted-angular-switch.d.ts +1 -1
- package/types/slotted-angular-table.d.ts +1 -1
- package/types/slotted-angular-tabs.d.ts +1 -1
- package/types/slotted-angular-tag.d.ts +3 -3
- package/types/slotted-angular-tags-input.d.ts +1 -1
- package/types/slotted-angular-theme.d.ts +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +1 -1
- package/types/slotted-angular-toast.d.ts +4 -4
- package/types/slotted-angular-toggle-group.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-tour.d.ts +2 -2
- package/types/slotted-angular-wizard.d.ts +1 -1
package/docs/link.json
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"type": "'accent' | 'neutral' | 'inverse'",
|
|
94
94
|
"defaultValue": "accent",
|
|
95
95
|
"appliesTo": "slLink",
|
|
96
|
-
"description": "Accent, the
|
|
96
|
+
"description": "Accent, the color of the surrounding text, or a solid surface"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"name": "size",
|
|
@@ -164,9 +164,9 @@
|
|
|
164
164
|
"events": [],
|
|
165
165
|
"accessibility": [
|
|
166
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.",
|
|
167
|
-
"underline=\"always\" is the default because
|
|
168
|
-
"variant=\"neutral\" takes the
|
|
169
|
-
"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.",
|
|
170
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.",
|
|
171
171
|
"rel and target are added only when the anchor carries neither, so an attribute the consumer wrote is never rewritten or removed.",
|
|
172
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.",
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
{
|
|
216
216
|
"id": "underline",
|
|
217
217
|
"title": "When the underline is drawn",
|
|
218
|
-
"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.",
|
|
219
219
|
"language": "html",
|
|
220
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",
|
|
221
221
|
"verdict": "excerpt"
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
{
|
|
224
224
|
"id": "variants",
|
|
225
225
|
"title": "How the link is painted",
|
|
226
|
-
"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.",
|
|
227
227
|
"language": "html",
|
|
228
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",
|
|
229
229
|
"verdict": "excerpt"
|
package/docs/link.md
CHANGED
|
@@ -32,7 +32,7 @@ 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
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 |
|
|
37
37
|
| `external` | `boolean` | false | slLink | Opens a new tab and warns that it does |
|
|
38
38
|
| `messages` | `Partial<LinkMessages>` | — | slLink | Words laid over the language in force: the wording of that warning (externalHint) |
|
|
@@ -54,9 +54,9 @@ Excerpt — not a complete module
|
|
|
54
54
|
## Rules
|
|
55
55
|
|
|
56
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.
|
|
57
|
-
- underline="always" is the default because
|
|
58
|
-
- variant="neutral" takes the
|
|
59
|
-
- 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.
|
|
60
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.
|
|
61
61
|
- rel and target are added only when the anchor carries neither, so an attribute the consumer wrote is never rewritten or removed.
|
|
62
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.
|
|
@@ -70,7 +70,7 @@ Excerpt — not a complete module
|
|
|
70
70
|
|
|
71
71
|
### When the underline is drawn
|
|
72
72
|
|
|
73
|
-
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.
|
|
74
74
|
|
|
75
75
|
Excerpt — not a complete module
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ Excerpt — not a complete module
|
|
|
82
82
|
|
|
83
83
|
### How the link is painted
|
|
84
84
|
|
|
85
|
-
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.
|
|
86
86
|
|
|
87
87
|
Excerpt — not a complete module
|
|
88
88
|
|
package/docs/list-item.json
CHANGED
|
@@ -258,7 +258,7 @@
|
|
|
258
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.",
|
|
259
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.",
|
|
260
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.",
|
|
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
|
|
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.",
|
|
262
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.",
|
|
263
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.",
|
|
264
264
|
"The title isolates its own direction and breaks a single unbroken token rather than pushing the metadata out of the row."
|
package/docs/list-item.md
CHANGED
|
@@ -76,7 +76,7 @@ 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.
|
package/docs/list.json
CHANGED
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"part": "section-label",
|
|
82
82
|
"element": "h1 to h6, or a div",
|
|
83
83
|
"required": false,
|
|
84
|
-
"purpose": "The group name. It carries the id the nested list names itself by, data-sticky when it has to hold still while its own rows scroll past, and data-variant: caption, the small muted name, or ruled, the name in the text
|
|
84
|
+
"purpose": "The group name. It carries the id the nested list names itself by, data-sticky when it has to hold still while its own rows scroll past, and data-variant: caption, the small muted name, or ruled, the name in the text color over a rule with no ground behind it."
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"part": "section-end",
|
package/docs/listbox.json
CHANGED
|
@@ -593,7 +593,7 @@
|
|
|
593
593
|
],
|
|
594
594
|
"accessibility": [
|
|
595
595
|
"The pattern is https://www.w3.org/WAI/ARIA/apg/patterns/listbox/, read on 4 September 2026 from the rendered page and from the pattern source in w3c/aria-practices, so the optional keys and both selection models come from the source rather than from the summary. The root carries role=\"listbox\", every option carries role=\"option\", and a group carries role=\"group\" with the accessible name the pattern requires of it.",
|
|
596
|
-
"Selection is aria-selected on every selectable option, true or false and never absent, and aria-checked on none of them: the pattern forbids a listbox that carries both. A chosen option says so three ways — a tinted ground, a start-edge bar and a mark — because under forced
|
|
596
|
+
"Selection is aria-selected on every selectable option, true or false and never absent, and aria-checked on none of them: the pattern forbids a listbox that carries both. A chosen option says so three ways — a tinted ground, a start-edge bar and a mark — because under forced colors the ground becomes Canvas and a family that spoke only in color would say nothing in the mode that needs it most.",
|
|
597
597
|
"There is one tab stop for the whole set. Under the roving model it lives on the active option, and under aria-activedescendant it lives on the root; focusMode=\"auto\" chooses the second whenever the set is windowed, because an element carrying tabindex=\"0\" that is recycled out of the DOM takes focus to the body with it. The active option is pinned into the rendered window for the same reason: a property naming an id that is not in the document leaves a reader operating a widget with no focused option.",
|
|
598
598
|
"aria-setsize and aria-posinset are written on every option of a collection the family was handed and on none written in the template. That is the pattern condition — the pair is required when the complete set is not in the DOM — and with options in the template the whole set is in the DOM and the platform counts it.",
|
|
599
599
|
"A disabled option carries aria-disabled rather than the native attribute, so it keeps its place in the set and can still be reached when navigateDisabled says discoverability matters more. readonly keeps every option reachable and refuses every change; disabled outranks selected, so a chosen option that is disabled keeps its mark and loses the ground that said it was yours to change.",
|
package/docs/listbox.md
CHANGED
|
@@ -141,7 +141,7 @@ Excerpt — not a complete module
|
|
|
141
141
|
## Rules
|
|
142
142
|
|
|
143
143
|
- The pattern is https://www.w3.org/WAI/ARIA/apg/patterns/listbox/, read on 4 September 2026 from the rendered page and from the pattern source in w3c/aria-practices, so the optional keys and both selection models come from the source rather than from the summary. The root carries role="listbox", every option carries role="option", and a group carries role="group" with the accessible name the pattern requires of it.
|
|
144
|
-
- Selection is aria-selected on every selectable option, true or false and never absent, and aria-checked on none of them: the pattern forbids a listbox that carries both. A chosen option says so three ways — a tinted ground, a start-edge bar and a mark — because under forced
|
|
144
|
+
- Selection is aria-selected on every selectable option, true or false and never absent, and aria-checked on none of them: the pattern forbids a listbox that carries both. A chosen option says so three ways — a tinted ground, a start-edge bar and a mark — because under forced colors the ground becomes Canvas and a family that spoke only in color would say nothing in the mode that needs it most.
|
|
145
145
|
- There is one tab stop for the whole set. Under the roving model it lives on the active option, and under aria-activedescendant it lives on the root; focusMode="auto" chooses the second whenever the set is windowed, because an element carrying tabindex="0" that is recycled out of the DOM takes focus to the body with it. The active option is pinned into the rendered window for the same reason: a property naming an id that is not in the document leaves a reader operating a widget with no focused option.
|
|
146
146
|
- aria-setsize and aria-posinset are written on every option of a collection the family was handed and on none written in the template. That is the pattern condition — the pair is required when the complete set is not in the DOM — and with options in the template the whole set is in the DOM and the platform counts it.
|
|
147
147
|
- A disabled option carries aria-disabled rather than the native attribute, so it keeps its place in the set and can still be reached when navigateDisabled says discoverability matters more. readonly keeps every option reachable and refuses every change; disabled outranks selected, so a chosen option that is disabled keeps its mark and loses the ground that said it was yours to change.
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"part": "scrim",
|
|
99
99
|
"element": "div",
|
|
100
100
|
"required": true,
|
|
101
|
-
"purpose": "The wash, the one-cell grid that
|
|
101
|
+
"purpose": "The wash, the one-cell grid that centers the panel, and the query container. In the document for the life of the family, so both directions of the fade are transitions."
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"part": "panel",
|
|
@@ -399,7 +399,7 @@
|
|
|
399
399
|
{
|
|
400
400
|
"id": "focus",
|
|
401
401
|
"title": "Where the keyboard goes",
|
|
402
|
-
"note": "Put the caret in the field and press
|
|
402
|
+
"note": "Put the caret in the field and press Save. Focus was inside the content that is about to go inert, so it moves to the panel; when the wait ends it returns to the field it came from. Focus that was elsewhere is never moved.",
|
|
403
403
|
"language": "html",
|
|
404
404
|
"source": "<form slLoadingOverlay [loading]=\"saving()\" cancellable (reveal)=\"field.focus()\">\n <input #field />\n</form>\n",
|
|
405
405
|
"verdict": "excerpt"
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
"title": "Words the family did not choose",
|
|
418
418
|
"note": "A translated sentence is longer than the English one that was measured. The panel wraps it, keeps its own measure, and never truncates: the announcement holds the same sentence whole for the reader who would otherwise lose it.",
|
|
419
419
|
"language": "html",
|
|
420
|
-
"source": "<div\n slLoadingOverlay\n [messages]=\"{ label: '
|
|
420
|
+
"source": "<div\n slLoadingOverlay\n [messages]=\"{ label: 'Reconciling the entries for the period against the bank statement' }\"\n description=\"Stopping now would leave half the period reconciled.\"\n></div>\n",
|
|
421
421
|
"verdict": "excerpt"
|
|
422
422
|
},
|
|
423
423
|
{
|
package/docs/loading-overlay.md
CHANGED
|
@@ -187,7 +187,7 @@ Excerpt — not a complete module
|
|
|
187
187
|
|
|
188
188
|
### Where the keyboard goes
|
|
189
189
|
|
|
190
|
-
Put the caret in the field and press
|
|
190
|
+
Put the caret in the field and press Save. Focus was inside the content that is about to go inert, so it moves to the panel; when the wait ends it returns to the field it came from. Focus that was elsewhere is never moved.
|
|
191
191
|
|
|
192
192
|
Excerpt — not a complete module
|
|
193
193
|
|
|
@@ -219,8 +219,8 @@ Excerpt — not a complete module
|
|
|
219
219
|
```html
|
|
220
220
|
<div
|
|
221
221
|
slLoadingOverlay
|
|
222
|
-
[messages]="{ label: '
|
|
223
|
-
description="
|
|
222
|
+
[messages]="{ label: 'Reconciling the entries for the period against the bank statement' }"
|
|
223
|
+
description="Stopping now would leave half the period reconciled."
|
|
224
224
|
></div>
|
|
225
225
|
```
|
|
226
226
|
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"title": "Days that stay at the top",
|
|
379
379
|
"note": "A sticky separator is a pill that stays at the top while its day is in view and gives way to the next day as it arrives; a separator that is not sticky keeps its rules.",
|
|
380
380
|
"language": "html",
|
|
381
|
-
"source": "<div slMessageScrollerItem>\n <div slMessageScrollerSeparator sticky>
|
|
381
|
+
"source": "<div slMessageScrollerItem>\n <div slMessageScrollerSeparator sticky>Yesterday</div>\n</div>\n",
|
|
382
382
|
"verdict": "excerpt"
|
|
383
383
|
},
|
|
384
384
|
{
|
package/docs/message-scroller.md
CHANGED
package/docs/message.json
CHANGED
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
"title": "Playground",
|
|
710
710
|
"note": "One row with its side, layout, action visibility and status on the controls. Switch status to failed, read or streaming and watch the article’s own states and the receipt follow.",
|
|
711
711
|
"language": "html",
|
|
712
|
-
"source": "<article slMessage status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>
|
|
712
|
+
"source": "<article slMessage status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>The payout from Tuesday came back with error R03.</div>\n </div>\n </div>\n</article>\n",
|
|
713
713
|
"verdict": "excerpt"
|
|
714
714
|
},
|
|
715
715
|
{
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
"title": "Two sides, asked once",
|
|
718
718
|
"note": "align lives on the row. A bubble in an end row paints the accent’s fill by itself; a bubble in a start row the secondary tint. Nothing is repeated on the bubble.",
|
|
719
719
|
"language": "html",
|
|
720
|
-
"source": "<article slMessage align=\"end\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent
|
|
720
|
+
"source": "<article slMessage align=\"end\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>Great. I will resend as soon as it arrives.</div>\n </div>\n </div>\n</article>\n",
|
|
721
721
|
"verdict": "excerpt"
|
|
722
722
|
},
|
|
723
723
|
{
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
"title": "The avatar at the foot of the words",
|
|
726
726
|
"note": "The avatar sits on the line of the last bubble, not of the footer under it, and moves to the end side with the row. It is the avatar family’s small step, so it follows the density.",
|
|
727
727
|
"language": "html",
|
|
728
|
-
"source": "<article slMessage>\n <div slMessageAvatar>\n <span slAvatar name=\"Marta Silva\" size=\"sm\"></span>\n </div>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>
|
|
728
|
+
"source": "<article slMessage>\n <div slMessageAvatar>\n <span slAvatar name=\"Marta Silva\" size=\"sm\"></span>\n </div>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>It arrives this afternoon.</div>\n </div>\n </div>\n</article>\n",
|
|
729
729
|
"verdict": "excerpt"
|
|
730
730
|
},
|
|
731
731
|
{
|
|
@@ -733,7 +733,7 @@
|
|
|
733
733
|
"title": "A run from one sender",
|
|
734
734
|
"note": "Three rows, one avatar on the last. The rows stand two pixels apart and the corners facing each other on the sender’s side draw in to four; the earlier rows keep the avatar column without an empty slot.",
|
|
735
735
|
"language": "html",
|
|
736
|
-
"source": "<div slMessageGroup>\n <article slMessage>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>
|
|
736
|
+
"source": "<div slMessageGroup>\n <article slMessage>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>The payout from Tuesday came back with error R03.</div>\n </div>\n </div>\n </article>\n <article slMessage>\n <div slMessageAvatar>\n <span slAvatar name=\"Marta Silva\" size=\"sm\"></span>\n </div>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>It arrives this afternoon.</div>\n </div>\n </div>\n </article>\n</div>\n",
|
|
737
737
|
"verdict": "excerpt"
|
|
738
738
|
},
|
|
739
739
|
{
|
|
@@ -749,7 +749,7 @@
|
|
|
749
749
|
"title": "Where a message is in its delivery",
|
|
750
750
|
"note": "Inside the bubble the hour and the mark ride at the end of the last line: a breathing clock while sending, one tick, two ticks, and two ticks in full ink once read. A message that did not go says so in a word under it, with the retry control beside it.",
|
|
751
751
|
"language": "html",
|
|
752
|
-
"source": "<article slMessage align=\"end\" status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>\n
|
|
752
|
+
"source": "<article slMessage align=\"end\" status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>\n And I mark the invoice as paid only after the credit.\n <span slBubbleMeta>\n <time slMessageTime datetime=\"2026-09-30T09:41\">09:41</time>\n <span slMessageReceipt></span>\n </span>\n </div>\n </div>\n </div>\n</article>\n",
|
|
753
753
|
"verdict": "excerpt"
|
|
754
754
|
},
|
|
755
755
|
{
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
"title": "What a reply is doing before it has words",
|
|
766
766
|
"note": "Steps done carry a tick and step back into the muted ink; the current one carries the shared ring and a band of light across its words. Under reduced motion the band stops and the words stand in the plain ink.",
|
|
767
767
|
"language": "html",
|
|
768
|
-
"source": "<article slMessage status=\"streaming\">\n <div slMessageBody>\n <div slMessageActivity>\n <div slMessageActivityStep status=\"complete\">
|
|
768
|
+
"source": "<article slMessage status=\"streaming\">\n <div slMessageBody>\n <div slMessageActivity>\n <div slMessageActivityStep status=\"complete\">I read the log from 14:00 to 14:10</div>\n <div slMessageActivityStep>Looking for the cause of the p95…</div>\n </div>\n </div>\n</article>\n",
|
|
769
769
|
"verdict": "excerpt"
|
|
770
770
|
},
|
|
771
771
|
{
|
|
@@ -781,7 +781,7 @@
|
|
|
781
781
|
"title": "A comment thread",
|
|
782
782
|
"note": "layout=\"thread\" sets every row at the start with the avatar at the top, the name inline, the words unframed and a band under the pointer; the actions float at the row’s top end on a raised plate.",
|
|
783
783
|
"language": "html",
|
|
784
|
-
"source": "<article slMessage layout=\"thread\">\n <div slMessageAvatar>\n <span slAvatar name=\"
|
|
784
|
+
"source": "<article slMessage layout=\"thread\">\n <div slMessageAvatar>\n <span slAvatar name=\"Emily Parker\"></span>\n </div>\n <div slMessageBody>\n <div slMessageHeader>\n <span slMessageAuthor>Emily Parker</span>\n <time slMessageTime datetime=\"2026-09-30T09:12\">4 minutes ago</time>\n </div>\n <div slBubble>\n <div slBubbleContent>Can we name the SSO owner before the review?</div>\n </div>\n </div>\n</article>\n",
|
|
785
785
|
"verdict": "excerpt"
|
|
786
786
|
},
|
|
787
787
|
{
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
"title": "Playground",
|
|
790
790
|
"note": "One bubble with its variant, tone and clamp on the controls. A bubble outside a row takes the provider’s painting; inside one it takes the row’s side.",
|
|
791
791
|
"language": "html",
|
|
792
|
-
"source": "<div slBubble variant=\"soft\" tone=\"secondary\">\n <div slBubbleContent>
|
|
792
|
+
"source": "<div slBubble variant=\"soft\" tone=\"secondary\">\n <div slBubbleContent>The destination account does not exist at the bank.</div>\n</div>\n",
|
|
793
793
|
"verdict": "excerpt"
|
|
794
794
|
},
|
|
795
795
|
{
|
|
@@ -803,9 +803,9 @@
|
|
|
803
803
|
{
|
|
804
804
|
"id": "tones",
|
|
805
805
|
"title": "Five tones",
|
|
806
|
-
"note": "accent and secondary write in the page’s ink; success, warning and danger in their own, because there the
|
|
806
|
+
"note": "accent and secondary write in the page’s ink; success, warning and danger in their own, because there the color of the words is the point — and the words say it too.",
|
|
807
807
|
"language": "html",
|
|
808
|
-
"source": "<div slBubble tone=\"danger\">\n <div slBubbleContent>
|
|
808
|
+
"source": "<div slBubble tone=\"danger\">\n <div slBubbleContent>Step 5 failed and the worker did not come back.</div>\n</div>\n",
|
|
809
809
|
"verdict": "excerpt"
|
|
810
810
|
},
|
|
811
811
|
{
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
"title": "Replying to a message",
|
|
822
822
|
"note": "The quote heads the surface in a block tinted with the surface’s own ink, author over up to three lines. Written on a button it asks, through (click), the scroller to take the reader to the quoted message.",
|
|
823
823
|
"language": "html",
|
|
824
|
-
"source": "<div slBubbleContent>\n <button\n slBubbleQuote\n type=\"button\"\n author=\"Marta Silva\"\n (click)=\"chat.scrollToMessage('m2', { highlight: true })\"\n >\n
|
|
824
|
+
"source": "<div slBubbleContent>\n <button\n slBubbleQuote\n type=\"button\"\n author=\"Marta Silva\"\n (click)=\"chat.scrollToMessage('m2', { highlight: true })\"\n >\n The destination account does not exist at the bank.\n </button>\n Send me the account number when it arrives.\n</div>\n",
|
|
825
825
|
"verdict": "excerpt"
|
|
826
826
|
},
|
|
827
827
|
{
|
package/docs/message.md
CHANGED
|
@@ -21,7 +21,7 @@ Excerpt — not a complete module
|
|
|
21
21
|
<article slMessage status="read">
|
|
22
22
|
<div slMessageBody>
|
|
23
23
|
<div slBubble>
|
|
24
|
-
<div slBubbleContent>
|
|
24
|
+
<div slBubbleContent>The payout from Tuesday came back with error R03.</div>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
</article>
|
|
@@ -172,7 +172,7 @@ Excerpt — not a complete module
|
|
|
172
172
|
<article slMessage align="end">
|
|
173
173
|
<div slMessageBody>
|
|
174
174
|
<div slBubble>
|
|
175
|
-
<div slBubbleContent
|
|
175
|
+
<div slBubbleContent>Great. I will resend as soon as it arrives.</div>
|
|
176
176
|
</div>
|
|
177
177
|
</div>
|
|
178
178
|
</article>
|
|
@@ -191,7 +191,7 @@ Excerpt — not a complete module
|
|
|
191
191
|
</div>
|
|
192
192
|
<div slMessageBody>
|
|
193
193
|
<div slBubble>
|
|
194
|
-
<div slBubbleContent>
|
|
194
|
+
<div slBubbleContent>It arrives this afternoon.</div>
|
|
195
195
|
</div>
|
|
196
196
|
</div>
|
|
197
197
|
</article>
|
|
@@ -208,7 +208,7 @@ Excerpt — not a complete module
|
|
|
208
208
|
<article slMessage>
|
|
209
209
|
<div slMessageBody>
|
|
210
210
|
<div slBubble>
|
|
211
|
-
<div slBubbleContent>
|
|
211
|
+
<div slBubbleContent>The payout from Tuesday came back with error R03.</div>
|
|
212
212
|
</div>
|
|
213
213
|
</div>
|
|
214
214
|
</article>
|
|
@@ -218,7 +218,7 @@ Excerpt — not a complete module
|
|
|
218
218
|
</div>
|
|
219
219
|
<div slMessageBody>
|
|
220
220
|
<div slBubble>
|
|
221
|
-
<div slBubbleContent>
|
|
221
|
+
<div slBubbleContent>It arrives this afternoon.</div>
|
|
222
222
|
</div>
|
|
223
223
|
</div>
|
|
224
224
|
</article>
|
|
@@ -249,7 +249,7 @@ Excerpt — not a complete module
|
|
|
249
249
|
<div slMessageBody>
|
|
250
250
|
<div slBubble>
|
|
251
251
|
<div slBubbleContent>
|
|
252
|
-
|
|
252
|
+
And I mark the invoice as paid only after the credit.
|
|
253
253
|
<span slBubbleMeta>
|
|
254
254
|
<time slMessageTime datetime="2026-09-30T09:41">09:41</time>
|
|
255
255
|
<span slMessageReceipt></span>
|
|
@@ -286,8 +286,8 @@ Excerpt — not a complete module
|
|
|
286
286
|
<article slMessage status="streaming">
|
|
287
287
|
<div slMessageBody>
|
|
288
288
|
<div slMessageActivity>
|
|
289
|
-
<div slMessageActivityStep status="complete">
|
|
290
|
-
<div slMessageActivityStep>
|
|
289
|
+
<div slMessageActivityStep status="complete">I read the log from 14:00 to 14:10</div>
|
|
290
|
+
<div slMessageActivityStep>Looking for the cause of the p95…</div>
|
|
291
291
|
</div>
|
|
292
292
|
</div>
|
|
293
293
|
</article>
|
|
@@ -321,15 +321,15 @@ Excerpt — not a complete module
|
|
|
321
321
|
```html
|
|
322
322
|
<article slMessage layout="thread">
|
|
323
323
|
<div slMessageAvatar>
|
|
324
|
-
<span slAvatar name="
|
|
324
|
+
<span slAvatar name="Emily Parker"></span>
|
|
325
325
|
</div>
|
|
326
326
|
<div slMessageBody>
|
|
327
327
|
<div slMessageHeader>
|
|
328
|
-
<span slMessageAuthor>
|
|
329
|
-
<time slMessageTime datetime="2026-09-30T09:12">
|
|
328
|
+
<span slMessageAuthor>Emily Parker</span>
|
|
329
|
+
<time slMessageTime datetime="2026-09-30T09:12">4 minutes ago</time>
|
|
330
330
|
</div>
|
|
331
331
|
<div slBubble>
|
|
332
|
-
<div slBubbleContent>
|
|
332
|
+
<div slBubbleContent>Can we name the SSO owner before the review?</div>
|
|
333
333
|
</div>
|
|
334
334
|
</div>
|
|
335
335
|
</article>
|
|
@@ -343,7 +343,7 @@ Excerpt — not a complete module
|
|
|
343
343
|
|
|
344
344
|
```html
|
|
345
345
|
<div slBubble variant="soft" tone="secondary">
|
|
346
|
-
<div slBubbleContent>
|
|
346
|
+
<div slBubbleContent>The destination account does not exist at the bank.</div>
|
|
347
347
|
</div>
|
|
348
348
|
```
|
|
349
349
|
|
|
@@ -362,13 +362,13 @@ Excerpt — not a complete module
|
|
|
362
362
|
|
|
363
363
|
### Five tones
|
|
364
364
|
|
|
365
|
-
accent and secondary write in the page’s ink; success, warning and danger in their own, because there the
|
|
365
|
+
accent and secondary write in the page’s ink; success, warning and danger in their own, because there the color of the words is the point — and the words say it too.
|
|
366
366
|
|
|
367
367
|
Excerpt — not a complete module
|
|
368
368
|
|
|
369
369
|
```html
|
|
370
370
|
<div slBubble tone="danger">
|
|
371
|
-
<div slBubbleContent>
|
|
371
|
+
<div slBubbleContent>Step 5 failed and the worker did not come back.</div>
|
|
372
372
|
</div>
|
|
373
373
|
```
|
|
374
374
|
|
|
@@ -398,9 +398,9 @@ Excerpt — not a complete module
|
|
|
398
398
|
author="Marta Silva"
|
|
399
399
|
(click)="chat.scrollToMessage('m2', { highlight: true })"
|
|
400
400
|
>
|
|
401
|
-
|
|
401
|
+
The destination account does not exist at the bank.
|
|
402
402
|
</button>
|
|
403
|
-
|
|
403
|
+
Send me the account number when it arrives.
|
|
404
404
|
</div>
|
|
405
405
|
```
|
|
406
406
|
|
package/docs/multi-select.json
CHANGED
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
"part": "icon",
|
|
366
366
|
"element": "span",
|
|
367
367
|
"required": false,
|
|
368
|
-
"purpose": "The first column of an option, for an icon that makes rows
|
|
368
|
+
"purpose": "The first column of an option, for an icon that makes rows recognizable."
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
371
|
"part": "label",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"part": "content",
|
|
191
191
|
"element": "div",
|
|
192
192
|
"required": false,
|
|
193
|
-
"purpose": "Title, description, time, actions, in that order, or what the slNotificationItem template renders. Its first line is
|
|
193
|
+
"purpose": "Title, description, time, actions, in that order, or what the slNotificationItem template renders. Its first line is centerd on the visual."
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
"part": "description",
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"part": "time",
|
|
203
203
|
"element": "time",
|
|
204
204
|
"required": false,
|
|
205
|
-
"purpose": "datetime holds the ISO value; the words are relative —
|
|
205
|
+
"purpose": "datetime holds the ISO value; the words are relative — 2 hours ago — with the absolute reading in title, or absolute under timeFormat=\"absolute\"."
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"part": "controls",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"part": "footer",
|
|
239
239
|
"element": "div",
|
|
240
240
|
"required": false,
|
|
241
|
-
"purpose": "The consumer’s [slNotificationCenterFooter] element,
|
|
241
|
+
"purpose": "The consumer’s [slNotificationCenterFooter] element, centerd. Absent when not written."
|
|
242
242
|
}
|
|
243
243
|
],
|
|
244
244
|
"api": [
|
|
@@ -261,7 +261,7 @@
|
|
|
261
261
|
"type": "string",
|
|
262
262
|
"defaultValue": "—",
|
|
263
263
|
"appliesTo": "SlNotificationCenter",
|
|
264
|
-
"description": "The view an unbound
|
|
264
|
+
"description": "The view an unbound center starts on, read once. With neither, the first entry of views"
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"name": "views",
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
"type": "'relative' | 'absolute'",
|
|
304
304
|
"defaultValue": "relative",
|
|
305
305
|
"appliesTo": "SlNotificationCenter, provideNotificationCenterDefaults",
|
|
306
|
-
"description": "How time is written:
|
|
306
|
+
"description": "How time is written: 2 hours ago with the absolute reading in title, or the absolute reading alone"
|
|
307
307
|
},
|
|
308
308
|
{
|
|
309
309
|
"name": "controls",
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
"type": "{ size, level, growing, arrivals, timeFormat, controls, timeZone }",
|
|
374
374
|
"defaultValue": "—",
|
|
375
375
|
"appliesTo": "an injector",
|
|
376
|
-
"description": "The decisions an application takes once. A
|
|
376
|
+
"description": "The decisions an application takes once. A center that states any of them itself still wins"
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
379
|
"name": "host attributes",
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"accessibility": [
|
|
435
435
|
"The governing pattern is the WAI-ARIA Authoring Practices Feed (w3.org/WAI/ARIA/apg/patterns/feed/): the feed is role=\"feed\" named by the title, every item is an article with tabindex=\"0\", aria-labelledby its title, aria-describedby its description, aria-posinset its position and aria-setsize the consumer’s count, the loaded number under growing=\"none\", or -1 while more may come. PageDown and PageUp move between articles, Control+End and Control+Home leave the feed on either side, and the feed is aria-busy while a page is on its way. The keys are @slotted/core/timeline’s, shared with the timeline family.",
|
|
436
436
|
"The root is a section — a region — named by aria-labelledby its own heading, Notifications in English, so a reader finds it in the landmark list under the words it shows; a consumer’s aria-label or aria-labelledby written on the element wins. The strip is the tabs family’s list with the feed as its one panel: every tab carries aria-controls naming the feed, and ArrowLeft, ArrowRight, Home and End are the tabs family’s.",
|
|
437
|
-
"Read is said three ways and none of them is
|
|
437
|
+
"Read is said three ways and none of them is color alone: the wash under the row, the semibold title, and the read-toggle’s name — Mark as read while unread, Mark as unread once read — so a reader hears the state on the control that changes it. The family’s tone glyphs are all circles; a triangle is refused in this library.",
|
|
438
438
|
"Held arrivals are announced politely once per change of their count, and the unread count once per change after the first, through the shared live announcer. A keyboard reveal moves focus to the first revealed article; a keyboard removal moves it to the next article, the previous, or the first control of the region, so focus never lands on a row that left.",
|
|
439
439
|
"While loading with nothing loaded, the three skeleton rows are aria-hidden and the feed is busy; the tabs stay, because the views are known before the items are. The article’s focus ring is drawn inward because the rows touch, and every control’s ring outward; the controls are muted at rest and take the text ink on the row under the pointer or holding focus, so they are visible before they are needed and legible when they are."
|
|
440
440
|
]
|
|
@@ -539,9 +539,9 @@
|
|
|
539
539
|
{
|
|
540
540
|
"id": "anatomy",
|
|
541
541
|
"title": "Every part, written out",
|
|
542
|
-
"note": "The header with the title, its count and a preferences link; the strip with three views; the feed grouped under
|
|
542
|
+
"note": "The header with the title, its count and a preferences link; the strip with three views; the feed grouped under Today and Yesterday with an avatar, a family visual and no visual; a button for more; a footer link. Every part the contract names, in one box.",
|
|
543
543
|
"language": "html",
|
|
544
|
-
"source": "<section slNotificationCenter growing=\"button\" [items]=\"items()\" [views]=\"views\" [groupBy]=\"dayOf\">\n <div slNotificationCenterActions><a slLink href=\"/
|
|
544
|
+
"source": "<section slNotificationCenter growing=\"button\" [items]=\"items()\" [views]=\"views\" [groupBy]=\"dayOf\">\n <div slNotificationCenterActions><a slLink href=\"/preferences\">Preferences</a></div>\n <ng-template slNotificationVisual let-item>\n <span slAvatar decorative [name]=\"item.data.name\" shape=\"circle\" size=\"sm\"></span>\n </ng-template>\n <div slNotificationCenterFooter>\n <a slLink href=\"/notifications\">See all notifications</a>\n </div>\n</section>\n",
|
|
545
545
|
"verdict": "excerpt"
|
|
546
546
|
},
|
|
547
547
|
{
|
|
@@ -589,15 +589,15 @@
|
|
|
589
589
|
"title": "Actions and controls",
|
|
590
590
|
"note": "Two slots for the consumer: the header’s actions after mark-all, and an item’s actions under its time. The family’s own two controls are the controls axis: both, read alone, dismiss alone, or none for a feed whose store has no per-item read or removal.",
|
|
591
591
|
"language": "html",
|
|
592
|
-
"source": "<section slNotificationCenter controls=\"dismiss\" [items]=\"items()\">\n <div slNotificationCenterActions><a slLink href=\"/
|
|
592
|
+
"source": "<section slNotificationCenter controls=\"dismiss\" [items]=\"items()\">\n <div slNotificationCenterActions><a slLink href=\"/preferences\">Preferences</a></div>\n <ng-template slNotificationActions let-item>\n @if (item.data.shipment) {\n <button slButton size=\"sm\" type=\"button\">View shipment</button>\n }\n </ng-template>\n</section>\n",
|
|
593
593
|
"verdict": "excerpt"
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
596
|
"id": "hosts",
|
|
597
597
|
"title": "Hosts",
|
|
598
|
-
"note": "The bell is a popover trigger with the store’s unread count — the
|
|
598
|
+
"note": "The bell is a popover trigger with the store’s unread count — the center reports the same through unreadChange while it is mounted; inside, the center at size=\"sm\" with a footer to the page. Open it, press PageDown through the articles, press Escape. The page host is the same family at size=\"md\" with groups.",
|
|
599
599
|
"language": "html",
|
|
600
|
-
"source": "<ng-container slPopover side=\"bottom\" align=\"end\" size=\"lg\">\n <button\n slButton\n slPopoverTrigger\n type=\"button\"\n [attr.aria-label]=\"'
|
|
600
|
+
"source": "<ng-container slPopover side=\"bottom\" align=\"end\" size=\"lg\">\n <button\n slButton\n slPopoverTrigger\n type=\"button\"\n [attr.aria-label]=\"'Notifications, ' + unread() + ' unread'\"\n >\n <ng-icon name=\"lucideBell\"></ng-icon>\n </button>\n <ng-template slPopoverLayer>\n <div slPopoverContent aria-label=\"Notifications\">\n <section slNotificationCenter size=\"sm\" level=\"3\" [items]=\"items()\">\n <div slNotificationCenterFooter>\n <a slLink href=\"/notifications\">See all notifications</a>\n </div>\n </section>\n </div>\n </ng-template>\n</ng-container>\n",
|
|
601
601
|
"verdict": "excerpt"
|
|
602
602
|
},
|
|
603
603
|
{
|
|
@@ -613,7 +613,7 @@
|
|
|
613
613
|
"title": "Empty",
|
|
614
614
|
"note": "A feed with nothing shows messages.empty; the unread view with nothing unread shows messages.caughtUp — All caught up. A [slNotificationCenterEmpty] element replaces both with a result-state of the consumer’s own.",
|
|
615
615
|
"language": "html",
|
|
616
|
-
"source": "<section slNotificationCenter [items]=\"[]\">\n <section slNotificationCenterEmpty slResultState status=\"success\" reach=\"inline\" live=\"off\">\n <div slResultStateContent>\n <div slResultStateTitle>
|
|
616
|
+
"source": "<section slNotificationCenter [items]=\"[]\">\n <section slNotificationCenterEmpty slResultState status=\"success\" reach=\"inline\" live=\"off\">\n <div slResultStateContent>\n <div slResultStateTitle>All caught up</div>\n <p slResultStateDescription>Nothing is waiting for your attention.</p>\n </div>\n </section>\n</section>\n",
|
|
617
617
|
"verdict": "excerpt"
|
|
618
618
|
},
|
|
619
619
|
{
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
{
|
|
636
636
|
"id": "composition",
|
|
637
637
|
"title": "Composition",
|
|
638
|
-
"note": "The families a
|
|
638
|
+
"note": "The families a center is made of: Avatar in the visual template, Button in the item’s actions and in mark-all, Tabs in the strip, Skeleton while loading, ResultState when empty, Link in the header and the footer. The slNotificationItem template substitutes the content of a row — a Badge with the tone here — while the article, its wiring and its controls stay the family’s.",
|
|
639
639
|
"language": "html",
|
|
640
640
|
"source": "<section slNotificationCenter [items]=\"items()\">\n <ng-template slNotificationItem let-item let-time=\"time\" let-tone=\"tone\" let-ids=\"ids\">\n <span data-part=\"title\" [id]=\"ids.title\">{{ item.title }}</span>\n <span slBadge size=\"sm\" variant=\"soft\" [tone]=\"tone\">{{ item.data.category }}</span>\n <time data-part=\"time\" [attr.datetime]=\"time.dateTime\">{{ time.text }}</time>\n </ng-template>\n</section>\n",
|
|
641
641
|
"verdict": "excerpt"
|
|
@@ -643,7 +643,7 @@
|
|
|
643
643
|
{
|
|
644
644
|
"id": "defaults",
|
|
645
645
|
"title": "Defaults and the instance",
|
|
646
|
-
"note": "Two
|
|
646
|
+
"note": "Two centers under one provider: neither states a size or a growing mode, and both read small and paged by button; the second states its own controls and wins. The instance, reached through exportAs, focuses the first article, reveals held arrivals and marks every shown item read with the reason programmatic.",
|
|
647
647
|
"language": "ts",
|
|
648
648
|
"source": "bootstrapApplication(App, {\n providers: [\n provideNotificationCenterDefaults({\n growing: 'button',\n size: 'sm',\n timeZone: 'Europe/Lisbon',\n }),\n ],\n});\n",
|
|
649
649
|
"verdict": "excerpt"
|
|
@@ -661,7 +661,7 @@
|
|
|
661
661
|
"title": "Accessibility",
|
|
662
662
|
"note": "The region is named by its heading, the feed by the same, every article by its title and described by its body; the tabs name the feed. Held arrivals and the unread count are announced politely once per change. Read the ring on an article — inward, because the rows touch — and on a control — outward.",
|
|
663
663
|
"language": "html",
|
|
664
|
-
"source": "<section
|
|
664
|
+
"source": "<section slNotificationCenter aria-label=\"Sales team inbox\" [items]=\"items()\"></section>\n",
|
|
665
665
|
"verdict": "excerpt"
|
|
666
666
|
}
|
|
667
667
|
]
|