@slotted/angular 0.1.0-beta.0 → 0.1.0-beta.10
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/README.md +4 -0
- package/docs/AGENTS.snippet.md +12 -0
- package/docs/alert.json +7 -1
- package/docs/alert.md +3 -3
- package/docs/app-shell.examples.md +1 -1
- package/docs/app-shell.json +5 -5
- package/docs/app-shell.md +2 -2
- package/docs/avatar.json +22 -1
- package/docs/avatar.md +5 -3
- package/docs/badge.json +7 -1
- package/docs/badge.md +3 -3
- package/docs/button-group.json +2 -0
- package/docs/button-group.md +1 -1
- package/docs/button.json +51 -11
- package/docs/button.md +10 -6
- package/docs/calendar.json +8 -1
- package/docs/calendar.md +1 -0
- package/docs/cascader.json +1 -0
- package/docs/cascader.md +1 -1
- package/docs/chart.examples.md +1 -1
- package/docs/chart.json +10 -1
- package/docs/chart.md +3 -2
- package/docs/checkbox.json +7 -0
- package/docs/checkbox.md +1 -0
- package/docs/code-block.json +92 -92
- package/docs/code-block.md +69 -69
- package/docs/combobox.json +1 -0
- package/docs/combobox.md +1 -1
- package/docs/currency-field.json +40 -1
- package/docs/currency-field.md +5 -1
- package/docs/data-grid.examples.md +2 -2
- package/docs/data-grid.json +24 -7
- package/docs/data-grid.md +1 -1
- package/docs/data-grid.props.md +6 -4
- package/docs/data-list.json +2 -1
- package/docs/data-list.md +1 -1
- package/docs/date-field.json +9 -1
- package/docs/date-field.md +3 -2
- package/docs/date-picker.examples.md +36 -0
- package/docs/date-picker.json +20 -5
- package/docs/date-picker.md +5 -4
- package/docs/datetime-field.json +1 -0
- package/docs/datetime-field.md +1 -1
- package/docs/dialog.examples.md +158 -136
- package/docs/dialog.json +35 -11
- package/docs/dialog.md +4 -2
- package/docs/dialog.props.md +1 -1
- package/docs/drawer.json +5 -0
- package/docs/drawer.md +1 -0
- package/docs/entity-picker.json +19 -4
- package/docs/entity-picker.md +8 -6
- package/docs/event-calendar.json +7 -0
- package/docs/event-calendar.md +1 -0
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/form.json +2 -1
- package/docs/form.md +1 -1
- package/docs/guidelines/README.md +27 -0
- package/docs/guidelines/async-feedback.md +129 -0
- package/docs/guidelines/browsing.md +74 -0
- package/docs/guidelines/builders.md +97 -0
- package/docs/guidelines/composition.md +143 -0
- package/docs/guidelines/conversations.md +59 -0
- package/docs/guidelines/errors-and-conflicts.md +71 -0
- package/docs/guidelines/forms.md +202 -0
- package/docs/guidelines/index.md +129 -0
- package/docs/guidelines/layout-alignment.md +95 -0
- package/docs/guidelines/ledgers.md +45 -0
- package/docs/guidelines/list-pages.md +206 -0
- package/docs/guidelines/overviews.md +76 -0
- package/docs/guidelines/own-elements.md +115 -0
- package/docs/guidelines/reading-permissions.md +55 -0
- package/docs/guidelines/record-pages.md +178 -0
- package/docs/guidelines/reports.md +123 -0
- package/docs/guidelines/shell-composition.md +94 -0
- package/docs/guidelines/workspaces.md +46 -0
- package/docs/icon.json +3 -1
- package/docs/icon.md +3 -3
- package/docs/index.md +12 -0
- package/docs/inline-message.json +14 -2
- package/docs/inline-message.md +4 -3
- package/docs/list-item.json +9 -1
- package/docs/list-item.md +3 -3
- package/docs/list.json +19 -1
- package/docs/list.md +3 -1
- package/docs/markdown.json +79 -79
- package/docs/markdown.md +65 -65
- package/docs/menu.json +12 -0
- package/docs/menu.md +2 -0
- package/docs/message.json +7 -1
- package/docs/message.md +3 -3
- package/docs/multi-select.json +1 -0
- package/docs/multi-select.md +1 -1
- package/docs/notification-center.json +4 -0
- package/docs/notification-center.md +2 -2
- package/docs/number-field.json +1 -0
- package/docs/number-field.md +1 -1
- package/docs/otp-input.json +1 -0
- package/docs/otp-input.md +1 -1
- package/docs/page-header.json +4 -3
- package/docs/page-header.md +2 -2
- package/docs/page.json +1 -0
- package/docs/page.md +1 -0
- package/docs/popover.json +1 -1
- package/docs/progress-indicator.json +4 -3
- package/docs/progress-indicator.md +4 -4
- package/docs/prompt-composer.json +41 -1
- package/docs/prompt-composer.md +5 -1
- package/docs/rating.json +5 -3
- package/docs/rating.md +5 -5
- package/docs/section.json +27 -15
- package/docs/section.md +11 -9
- package/docs/segmented-control.json +36 -12
- package/docs/segmented-control.md +17 -1
- package/docs/select.json +1 -0
- package/docs/select.md +1 -1
- package/docs/side-navigation.json +1 -0
- package/docs/side-navigation.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +90 -0
- package/docs/skills/compose-screen/SKILL.md +95 -0
- package/docs/skills/index.md +9 -0
- package/docs/skills/review-screen/SKILL.md +77 -0
- package/docs/skills/theme-app/SKILL.md +87 -0
- package/docs/skills/waiting-states/SKILL.md +143 -0
- package/docs/sparkline.json +5 -2
- package/docs/sparkline.md +4 -4
- package/docs/split-button.json +4 -1
- package/docs/split-button.md +3 -3
- package/docs/stat-card.json +5 -1
- package/docs/stat-card.md +3 -3
- package/docs/table.examples.md +3 -3
- package/docs/table.json +85 -3
- package/docs/table.md +12 -1
- package/docs/tabs.json +17 -7
- package/docs/tabs.md +3 -2
- package/docs/tag.json +14 -4
- package/docs/tag.md +6 -6
- package/docs/tags-input.json +29 -2
- package/docs/tags-input.md +4 -1
- package/docs/text-field.json +2 -1
- package/docs/text-field.md +2 -2
- package/docs/textarea.json +1 -0
- package/docs/textarea.md +1 -1
- package/docs/time-field.json +1 -0
- package/docs/time-field.md +1 -1
- package/docs/timeline.json +138 -132
- package/docs/timeline.md +125 -125
- package/docs/toast.json +7 -1
- package/docs/toast.md +3 -3
- package/docs/toggle-group.json +14 -3
- package/docs/toggle-group.md +3 -3
- package/docs/toggle.json +12 -3
- package/docs/toggle.md +3 -3
- package/docs/tokens.md +467 -0
- package/docs/tour.json +1 -1
- package/docs/typography.json +4 -2
- package/docs/typography.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 +22 -11
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +42 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +18 -11
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +111 -61
- 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 +31 -20
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +9 -6
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +14 -7
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +14 -10
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +26 -18
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +7 -4
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +90 -29
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +235 -58
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +18 -16
- 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 +166 -66
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +53 -20
- 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 +23 -9
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +29 -15
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +20 -15
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +77 -22
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +68 -31
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +112 -39
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +150 -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 +149 -32
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +142 -63
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +354 -113
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +74 -25
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +112 -40
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +45 -22
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +48 -16
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +41 -29
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +115 -48
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +33 -19
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +29 -18
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +72 -30
- 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 +53 -29
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +468 -75
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +275 -108
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +14 -7
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +35 -15
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +112 -51
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +18 -10
- 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 +4 -2
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +5 -3
- 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 +6 -3
- 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 +167 -99
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +88 -13
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +4 -2
- 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 +5 -3
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +21 -18
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +37 -22
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +39 -21
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +59 -22
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +31 -19
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
- package/fesm2022/slotted-angular-menu.mjs +51 -29
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +4 -2
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +28 -15
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +113 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +189 -87
- 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 +108 -65
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +23 -11
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +13 -8
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-page-header.mjs +75 -45
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +38 -10
- 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 +32 -19
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +236 -52
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +41 -20
- 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 +15 -9
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +138 -82
- 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 +53 -18
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +37 -11
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +184 -94
- 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 +31 -11
- 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 +25 -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 +4 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +35 -28
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +22 -8
- 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 +243 -73
- 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 +19 -12
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +253 -28
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +49 -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-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +32 -20
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +113 -46
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +135 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +43 -31
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +25 -8
- 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 +22 -11
- 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 +47 -22
- 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 +74 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +8 -4
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +125 -57
- 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 +163 -65
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +3 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- 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 +2 -2
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts +11 -3
- 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 +1 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts.map +1 -1
- package/types/slotted-angular-avatar.d.ts +11 -3
- package/types/slotted-angular-avatar.d.ts.map +1 -1
- package/types/slotted-angular-badge.d.ts +1 -1
- package/types/slotted-angular-badge.d.ts.map +1 -1
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts +1 -1
- package/types/slotted-angular-button-group.d.ts.map +1 -1
- package/types/slotted-angular-button.d.ts +33 -13
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +30 -2
- package/types/slotted-angular-calendar.d.ts.map +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 +10 -0
- 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 +7 -1
- package/types/slotted-angular-checkbox.d.ts.map +1 -1
- package/types/slotted-angular-code-block.d.ts +1 -1
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +1 -1
- package/types/slotted-angular-collapsible.d.ts.map +1 -1
- package/types/slotted-angular-color-picker.d.ts.map +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-combobox.d.ts +5 -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 +63 -15
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +49 -4
- package/types/slotted-angular-data-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-list.d.ts.map +1 -1
- package/types/slotted-angular-date-field.d.ts +11 -1
- package/types/slotted-angular-date-field.d.ts.map +1 -1
- package/types/slotted-angular-date-picker.d.ts +38 -12
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts +0 -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 +0 -1
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +0 -1
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- 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 +10 -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 +7 -1
- 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 +9 -2
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- 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.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.map +1 -1
- package/types/slotted-angular-hover-card.d.ts.map +1 -1
- package/types/slotted-angular-icon.d.ts +2 -2
- 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.map +1 -1
- package/types/slotted-angular-inline-message.d.ts +25 -25
- package/types/slotted-angular-inline-message.d.ts.map +1 -1
- package/types/slotted-angular-inline.d.ts.map +1 -1
- package/types/slotted-angular-kbd.d.ts.map +1 -1
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts +1 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +42 -27
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-listbox.d.ts.map +1 -1
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
- package/types/slotted-angular-markdown.d.ts.map +1 -1
- package/types/slotted-angular-menu.d.ts +11 -2
- package/types/slotted-angular-menu.d.ts.map +1 -1
- package/types/slotted-angular-menubar.d.ts.map +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 +15 -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 +1 -1
- 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.map +1 -1
- package/types/slotted-angular-page-header.d.ts +4 -4
- package/types/slotted-angular-page-header.d.ts.map +1 -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 +8 -1
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts +11 -2
- 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.map +1 -1
- package/types/slotted-angular-rating.d.ts +1 -1
- package/types/slotted-angular-rating.d.ts.map +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 +11 -3
- package/types/slotted-angular-section.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts +15 -2
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +12 -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 +1 -1
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +1 -1
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +1 -1
- package/types/slotted-angular-stepper.d.ts.map +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 +63 -6
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-tabs.d.ts +3 -4
- package/types/slotted-angular-tabs.d.ts.map +1 -1
- package/types/slotted-angular-tag.d.ts +1 -1
- package/types/slotted-angular-tag.d.ts.map +1 -1
- package/types/slotted-angular-tags-input.d.ts +33 -1
- 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 +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +0 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +0 -1
- 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 +3 -3
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts +8 -2
- 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.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.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 +2 -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.map +1 -1
package/docs/timeline.md
CHANGED
|
@@ -23,23 +23,23 @@ import {
|
|
|
23
23
|
} from '@slotted/angular/timeline';
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Selector: `[slTimeline], ol[slTimelineList]
|
|
26
|
+
Selector: `[slTimeline], ol[slTimelineList] or div[slTimelineList], li[slTimelineGroup] or div[slTimelineGroup], ol[slTimelineGroupList] or div[slTimelineGroupList], li[slTimelineItem] or article[slTimelineItem], time[slTimelineTime], [slTimelineTitle], [slTimelineActor], [slTimelineDescription], [slTimelineActions], [slTimelineOpposite], [slTimelineMarker], [slTimelineEmpty]` · exportAs: `slTimeline, slTimelineList, slTimelineGroup, slTimelineGroupList, slTimelineItem, slTimelineTime`
|
|
27
27
|
|
|
28
28
|
## Minimal example
|
|
29
29
|
|
|
30
30
|
Excerpt — not a complete module
|
|
31
31
|
|
|
32
32
|
```html
|
|
33
|
-
<div slTimeline label="
|
|
33
|
+
<div slTimeline label="Invoice activity" locale="en-US" timeZone="America/Sao_Paulo">
|
|
34
34
|
<ol slTimelineList>
|
|
35
35
|
<li
|
|
36
36
|
slTimelineItem
|
|
37
37
|
actor="Ana Ribeiro"
|
|
38
|
-
description="
|
|
38
|
+
description="Draft INV-4821 for Solaris Freight."
|
|
39
39
|
time="2026-09-08T09:12:00Z"
|
|
40
|
-
title="
|
|
40
|
+
title="Invoice created"
|
|
41
41
|
></li>
|
|
42
|
-
<li slTimelineItem current time="2026-09-14T10:32:00Z" title="
|
|
42
|
+
<li slTimelineItem current time="2026-09-14T10:32:00Z" title="Paid" tone="success"></li>
|
|
43
43
|
</ol>
|
|
44
44
|
</div>
|
|
45
45
|
```
|
|
@@ -50,13 +50,13 @@ Excerpt — not a complete module
|
|
|
50
50
|
| --- | --- | --- |
|
|
51
51
|
| `root` | div | yes |
|
|
52
52
|
| `fresh` | button | no |
|
|
53
|
-
| `list` | ol,
|
|
54
|
-
| `group` | li,
|
|
55
|
-
| `group-label` | h2
|
|
53
|
+
| `list` | ol, or div with role="feed" | yes |
|
|
54
|
+
| `group` | li, or div in the feed | no |
|
|
55
|
+
| `group-label` | h2 to h6, by level | no |
|
|
56
56
|
| `group-trigger` | button | no |
|
|
57
57
|
| `group-indicator` | span | no |
|
|
58
|
-
| `group-list` | ol,
|
|
59
|
-
| `item` | li,
|
|
58
|
+
| `group-list` | ol, or div in the feed | no |
|
|
59
|
+
| `item` | li, or article in the feed | yes |
|
|
60
60
|
| `opposite` | div | no |
|
|
61
61
|
| `rail` | div | yes |
|
|
62
62
|
| `marker` | span | yes |
|
|
@@ -67,67 +67,67 @@ Excerpt — not a complete module
|
|
|
67
67
|
| `time` | time | no |
|
|
68
68
|
| `description` | div | no |
|
|
69
69
|
| `actions` | div | no |
|
|
70
|
-
| `more` | button,
|
|
70
|
+
| `more` | button, or div while loading | no |
|
|
71
71
|
| `empty` | div | no |
|
|
72
72
|
|
|
73
73
|
## Props
|
|
74
74
|
|
|
75
75
|
| Name | Type | Default | Applies to | Description |
|
|
76
76
|
| --- | --- | --- | --- | --- |
|
|
77
|
-
| `mode` | `'list' \| 'feed'` | list | Timeline |
|
|
78
|
-
| `orientation` | `'vertical' \| 'horizontal'` | vertical | Timeline |
|
|
79
|
-
| `placement` | `'end' \| 'start' \| 'alternate'` | end | Timeline |
|
|
80
|
-
| `order` | `'oldest-first' \| 'newest-first'` | oldest-first | Timeline |
|
|
81
|
-
| `variant` | `'solid' \| 'outline' \| 'subtle' \| 'plain'` | subtle | Timeline |
|
|
82
|
-
| `tone` | `'secondary' \| 'accent' \| 'success' \| 'warning' \| 'danger'` | secondary | Timeline |
|
|
83
|
-
| `size` | `'sm' \| 'md' \| 'lg'` | md | Timeline |
|
|
84
|
-
| `growing` | `'none' \| 'button' \| 'scroll'` | none | Timeline |
|
|
85
|
-
| `timeFormat` | `'absolute' \| 'relative'` | absolute | Timeline |
|
|
86
|
-
| `locale` | `string` | — | Timeline | BCP 47
|
|
87
|
-
| `timeZone` | `string` | — | Timeline |
|
|
88
|
-
| `now` | `number` | — | Timeline |
|
|
89
|
-
| `level` | `2 \| 3 \| 4 \| 5 \| 6` | 3 | Timeline |
|
|
90
|
-
| `reflow` | `boolean` | true | Timeline |
|
|
91
|
-
| `autoComplete` | `boolean` | false | Timeline |
|
|
92
|
-
| `loading` | `boolean` | false | Timeline |
|
|
93
|
-
| `freshCount` | `number` | 0 | Timeline |
|
|
94
|
-
| `count` | `number` | — | Timeline |
|
|
95
|
-
| `label` | `string` | — | Timeline |
|
|
96
|
-
| `aria-label` | `
|
|
97
|
-
| `messages` | `PartialMessages<TimelineMessages>` | — | Timeline |
|
|
98
|
-
| `label` | `string` | — | TimelineGroup |
|
|
99
|
-
| `collapsible` | `boolean` | false | TimelineGroup |
|
|
100
|
-
| `open` | `model<boolean \| undefined>` | — | TimelineGroup | [(open)]:
|
|
101
|
-
| `defaultOpen` | `boolean` | true | TimelineGroup |
|
|
102
|
-
| `level` | `2 \| 3 \| 4 \| 5 \| 6` | — | TimelineGroup |
|
|
103
|
-
| `title` | `string` | — | TimelineItem |
|
|
104
|
-
| `description` | `string` | — | TimelineItem |
|
|
105
|
-
| `actor` | `string` | — | TimelineItem |
|
|
106
|
-
| `time` | `PlainDateTime \| string` | — | TimelineItem |
|
|
107
|
-
| `timeLabel` | `string` | — | TimelineItem |
|
|
108
|
-
| `[slTimelineMarker]` | `
|
|
109
|
-
| `[slTimelineOpposite]` | `
|
|
110
|
-
| `[slTimelineActions]` | `
|
|
111
|
-
| `current` | `boolean` | false | TimelineItem |
|
|
112
|
-
| `complete` | `boolean` | — | TimelineItem |
|
|
113
|
-
| `loading` | `boolean` | false | TimelineItem |
|
|
114
|
-
| `connector` | `'solid' \| 'dashed' \| 'none'` | — | TimelineItem |
|
|
115
|
-
| `side` | `'start' \| 'end'` | — | TimelineItem |
|
|
116
|
-
| `tone` | `TimelineTone` | — | TimelineItem |
|
|
117
|
-
| `variant` | `TimelineVariant` | — | TimelineItem |
|
|
118
|
-
| `value` | `PlainDateTime \| string` | — | TimelineTime |
|
|
119
|
-
| `exportAs` | `slTimeline \| slTimelineList \| slTimelineGroup \| slTimelineItem \| slTimelineTime` | — |
|
|
120
|
-
| `ng-content` | `[slTimelineTitle] \| [slTimelineActor] \| [slTimelineDescription] \| [slTimelineActions] \| [slTimelineOpposite] \| [slTimelineMarker] \| [slTimelineEmpty]` | — | TimelineItem, Timeline |
|
|
121
|
-
| `time[slTimelineTime]` | `{ value, format, locale, timeZone, now }` | — |
|
|
122
|
-
| `provideTimelineDefaults()` | `mode \| orientation \| placement \| order \| variant \| tone \| size \| growing \| timeFormat \| timeZone \| now \| level` | — | Injector |
|
|
77
|
+
| `mode` | `'list' \| 'feed'` | list | Timeline | An ordered list, or the APG Feed pattern |
|
|
78
|
+
| `orientation` | `'vertical' \| 'horizontal'` | vertical | Timeline | A column, or a row that scrolls and reflows |
|
|
79
|
+
| `placement` | `'end' \| 'start' \| 'alternate'` | end | Timeline | Which side of the line the body lives on |
|
|
80
|
+
| `order` | `'oldest-first' \| 'newest-first'` | oldest-first | Timeline | What the list is; decides where autoComplete cuts. Never reorders the array |
|
|
81
|
+
| `variant` | `'solid' \| 'outline' \| 'subtle' \| 'plain'` | subtle | Timeline | The marker appearance, inherited by the events |
|
|
82
|
+
| `tone` | `'secondary' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | Timeline | The marker tone, inherited by the events |
|
|
83
|
+
| `size` | `'sm' \| 'md' \| 'lg'` | md | Timeline | The step of the marker and the type |
|
|
84
|
+
| `growing` | `'none' \| 'button' \| 'scroll'` | none | Timeline | How the end of what was loaded asks for more |
|
|
85
|
+
| `timeFormat` | `'absolute' \| 'relative'` | absolute | Timeline | How the time is written; relative keeps the absolute value in title |
|
|
86
|
+
| `locale` | `string` | — | Timeline | BCP 47 for the times; without it, the current locale (provideSlotted) |
|
|
87
|
+
| `timeZone` | `string` | — | Timeline | The time zone an instant is written in; without it, the runtime’s |
|
|
88
|
+
| `now` | `number` | — | Timeline | The instant a relative reading counts from, in epoch milliseconds; without it, the clock at render |
|
|
89
|
+
| `level` | `2 \| 3 \| 4 \| 5 \| 6` | 3 | Timeline | The level of the group headings |
|
|
90
|
+
| `reflow` | `boolean` | true | Timeline | Whether horizontal and alternate reflow below thirty rems |
|
|
91
|
+
| `autoComplete` | `boolean` | false | Timeline | Marks the events on the past side of the current one complete, and dashes the future |
|
|
92
|
+
| `loading` | `boolean` | false | Timeline | More events on the way: aria-busy on the feed, ring at the end |
|
|
93
|
+
| `freshCount` | `number` | 0 | Timeline | How many new events the pill holds |
|
|
94
|
+
| `count` | `number` | — | Timeline | The total, for aria-setsize; without it, -1 while the list can grow |
|
|
95
|
+
| `label` | `string` | — | Timeline | The accessible name of the list |
|
|
96
|
+
| `aria-label` | `attribute` | — | ol[slTimelineList] | A name written on the list wins over the root’s |
|
|
97
|
+
| `messages` | `PartialMessages<TimelineMessages>` | — | Timeline | Words over the catalog of the current locale, key by key: the family’s seven messages |
|
|
98
|
+
| `label` | `string` | — | TimelineGroup | The period name, as a heading |
|
|
99
|
+
| `collapsible` | `boolean` | false | TimelineGroup | Whether the heading is a button that folds the group |
|
|
100
|
+
| `open` | `model<boolean \| undefined>` | — | TimelineGroup | [(open)]: present means controlled, for the life of the group |
|
|
101
|
+
| `defaultOpen` | `boolean` | true | TimelineGroup | Where an uncontrolled group starts, read once |
|
|
102
|
+
| `level` | `2 \| 3 \| 4 \| 5 \| 6` | — | TimelineGroup | The level of this heading, over the root’s |
|
|
103
|
+
| `title` | `string` | — | TimelineItem | The event name; or a projected [slTimelineTitle] element |
|
|
104
|
+
| `description` | `string` | — | TimelineItem | The second line; or a projected [slTimelineDescription] |
|
|
105
|
+
| `actor` | `string` | — | TimelineItem | Who did it; or a projected [slTimelineActor] |
|
|
106
|
+
| `time` | `PlainDateTime \| string` | — | TimelineItem | When: ISO instant or wall-clock value |
|
|
107
|
+
| `timeLabel` | `string` | — | TimelineItem | The text in place of the formatted time |
|
|
108
|
+
| `[slTimelineMarker]` | `projection` | — | TimelineItem | What the marker holds in place of the dot |
|
|
109
|
+
| `[slTimelineOpposite]` | `projection` | — | TimelineItem | The other side of the line |
|
|
110
|
+
| `[slTimelineActions]` | `projection` | — | TimelineItem | The row of controls |
|
|
111
|
+
| `current` | `boolean` | false | TimelineItem | The event the reader is at: aria-current |
|
|
112
|
+
| `complete` | `boolean` | — | TimelineItem | Complete; wins over the derivation |
|
|
113
|
+
| `loading` | `boolean` | false | TimelineItem | Still arriving: the marker spins the ring |
|
|
114
|
+
| `connector` | `'solid' \| 'dashed' \| 'none'` | — | TimelineItem | The line after this event |
|
|
115
|
+
| `side` | `'start' \| 'end'` | — | TimelineItem | The side under alternate; parity without it |
|
|
116
|
+
| `tone` | `TimelineTone` | — | TimelineItem | The tone of this event, over the root’s |
|
|
117
|
+
| `variant` | `TimelineVariant` | — | TimelineItem | The appearance of this event, over the root’s |
|
|
118
|
+
| `value` | `PlainDateTime \| string` | — | TimelineTime | The machine value, written in datetime |
|
|
119
|
+
| `exportAs` | `slTimeline \| slTimelineList \| slTimelineGroup \| slTimelineItem \| slTimelineTime` | — | every part | Reaches the instance from the template: #list="slTimelineList" and list.focusItem(2) moves focus to a feed article |
|
|
120
|
+
| `ng-content` | `[slTimelineTitle] \| [slTimelineActor] \| [slTimelineDescription] \| [slTimelineActions] \| [slTimelineOpposite] \| [slTimelineMarker] \| [slTimelineEmpty]` | — | TimelineItem, Timeline | Each part of the body as a consumer element, with data-part and id written by the directive |
|
|
121
|
+
| `time[slTimelineTime]` | `{ value, format, locale, timeZone, now }` | — | anywhere | The time part alone, for an opposite column or a table cell; reads the root when there is one |
|
|
122
|
+
| `provideTimelineDefaults()` | `mode \| orientation \| placement \| order \| variant \| tone \| size \| growing \| timeFormat \| timeZone \| now \| level` | — | Injector | Decides the fourteen once for everything below; an input on the timeline wins |
|
|
123
123
|
|
|
124
124
|
## Events
|
|
125
125
|
|
|
126
126
|
| Name | Payload | When |
|
|
127
127
|
| --- | --- | --- |
|
|
128
|
-
| `(openRequest)` | `ChangeRequest<boolean>` |
|
|
129
|
-
| `(loadMoreRequest)` | `{ reason: "pointer" \| "keyboard" \| "scroll"; event?: Event }` |
|
|
130
|
-
| `(revealRequest)` | `{ reason: "pointer" \| "keyboard"; event?: Event }` |
|
|
128
|
+
| `(openRequest)` | `ChangeRequest<boolean>` | On slTimelineGroup, before the group opens or closes; [(open)] is the other half, the value. The request carries the previous value, the reason — pointer, keyboard or programmatic — and the source event; cancelling it moves nothing. |
|
|
129
|
+
| `(loadMoreRequest)` | `{ reason: "pointer" \| "keyboard" \| "scroll"; event?: Event }` | When the reader presses the load-more button, or when the sentinel enters the scroller under growing="scroll". There is no value to hold: the consumer appends to the array. |
|
|
130
|
+
| `(revealRequest)` | `{ reason: "pointer" \| "keyboard"; event?: Event }` | When the reader presses the new-events pill. The consumer joins the events it was holding to the array and sets freshCount to zero. |
|
|
131
131
|
|
|
132
132
|
## Axes and defaults
|
|
133
133
|
|
|
@@ -138,7 +138,7 @@ Excerpt — not a complete module
|
|
|
138
138
|
| `placement` | `end`, `start`, `alternate` | `end` |
|
|
139
139
|
| `order` | `oldest-first`, `newest-first` | `oldest-first` |
|
|
140
140
|
| `variant` | `solid`, `outline`, `subtle`, `plain` | `subtle` |
|
|
141
|
-
| `tone` | `secondary`, `accent`, `success`, `warning`, `danger` | `secondary` |
|
|
141
|
+
| `tone` | `secondary`, `accent`, `info`, `success`, `warning`, `danger` | `secondary` |
|
|
142
142
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
143
143
|
| `connector` | `solid`, `dashed`, `none` | — |
|
|
144
144
|
| `growing` | `none`, `button`, `scroll` | `none` |
|
|
@@ -147,22 +147,22 @@ Excerpt — not a complete module
|
|
|
147
147
|
|
|
148
148
|
## Rules
|
|
149
149
|
|
|
150
|
-
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
150
|
+
- In list the list is an ol and each event an li: the sequence and the set size come from the platform without a line of ARIA, and the keyboard is that of the links and buttons the consumer writes. There is no invented role on a list that does not grow.
|
|
151
|
+
- In feed the list is role="feed" and each event an article with tabindex="0", aria-posinset, aria-setsize — the declared total, the loaded count when the list does not grow, -1 when it can grow — aria-labelledby with title, actor and time in that order, and aria-describedby with the description. It is the APG Feed pattern item by item, and an li does not accept the article role: so the element changes with the mode.
|
|
152
|
+
- The current event carries aria-current="true" and a visually-hidden element with the current message after the title, because not every screen reader speaks aria-current inside an article. Complete and loading are shapes — a disc with a check, the spinner ring — and not colors only.
|
|
153
|
+
- A collapsible group is the Disclosure pattern: the heading contains a button with aria-expanded and aria-controls, and the closed list receives hidden without leaving the DOM. The button name is the period followed by ", Show events" or ", Hide events": the expand and collapse messages bring their own separator.
|
|
154
|
+
- The time is always a time element with datetime, the value the screen reader and the search engine read; the text follows the declared locale and time zone, and a relative reading leaves the absolute one in title.
|
|
155
|
+
- New events are announced in polite once per count change, and stay behind a button until the reader asks for them, so nothing moves under what is being read.
|
|
156
156
|
|
|
157
157
|
## Tokens
|
|
158
158
|
|
|
159
|
-
`--slotted-avatar-size-xs`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--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-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-line-height`, `--slotted-control-padding-inline-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-timeline-color`, `--slotted-timeline-color-muted`, `--slotted-timeline-connector-color`, `--slotted-timeline-connector-thickness`, `--slotted-timeline-content-gap`, `--slotted-timeline-core-ratio`, `--slotted-timeline-font-family`, `--slotted-timeline-font-size`, `--slotted-timeline-gap`, `--slotted-timeline-group-gap`, `--slotted-timeline-group-weight`, `--slotted-timeline-item-gap`, `--slotted-timeline-line-gap`, `--slotted-timeline-line-height`, `--slotted-timeline-marker-border`, `--slotted-timeline-marker-surface`, `--slotted-timeline-meta-font-size`, `--slotted-timeline-opposite-size`, `--slotted-timeline-radius`, `--slotted-timeline-state-layer-active`, `--slotted-timeline-state-layer-hover`, `--slotted-timeline-time-font-size`, `--slotted-timeline-title-weight`, `--slotted-timeline-track-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
159
|
+
`--slotted-avatar-size-xs`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--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-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-line-height`, `--slotted-control-padding-inline-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-timeline-color`, `--slotted-timeline-color-muted`, `--slotted-timeline-connector-color`, `--slotted-timeline-connector-thickness`, `--slotted-timeline-content-gap`, `--slotted-timeline-core-ratio`, `--slotted-timeline-font-family`, `--slotted-timeline-font-size`, `--slotted-timeline-gap`, `--slotted-timeline-group-gap`, `--slotted-timeline-group-weight`, `--slotted-timeline-item-gap`, `--slotted-timeline-line-gap`, `--slotted-timeline-line-height`, `--slotted-timeline-marker-border`, `--slotted-timeline-marker-surface`, `--slotted-timeline-meta-font-size`, `--slotted-timeline-opposite-size`, `--slotted-timeline-radius`, `--slotted-timeline-state-layer-active`, `--slotted-timeline-state-layer-hover`, `--slotted-timeline-time-font-size`, `--slotted-timeline-title-weight`, `--slotted-timeline-track-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
160
160
|
|
|
161
161
|
## Examples
|
|
162
162
|
|
|
163
|
-
###
|
|
163
|
+
### A feed that is a feed
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
With mode="feed" the list is role="feed" and each event an article with aria-posinset, aria-setsize and the label read from the title, the actor and the time. Tab stops on each article; PageDown and PageUp jump between them.
|
|
166
166
|
|
|
167
167
|
Excerpt — not a complete module
|
|
168
168
|
|
|
@@ -171,7 +171,7 @@ Excerpt — not a complete module
|
|
|
171
171
|
slTimeline
|
|
172
172
|
mode="feed"
|
|
173
173
|
growing="button"
|
|
174
|
-
label="
|
|
174
|
+
label="Activity"
|
|
175
175
|
[count]="120"
|
|
176
176
|
(loadMoreRequest)="load()"
|
|
177
177
|
>
|
|
@@ -183,73 +183,73 @@ Excerpt — not a complete module
|
|
|
183
183
|
</div>
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
-
###
|
|
186
|
+
### Which side of the line
|
|
187
187
|
|
|
188
|
-
end
|
|
188
|
+
end is the default; start mirrors the row; alternate puts the line in the middle and the events take turns. The opposite part always takes the side the body does not take, and below thirty rems alternate falls back to one side.
|
|
189
189
|
|
|
190
190
|
Excerpt — not a complete module
|
|
191
191
|
|
|
192
192
|
```html
|
|
193
193
|
<div slTimeline placement="alternate">
|
|
194
194
|
<ol slTimelineList>
|
|
195
|
-
<li slTimelineItem title="2.12 —
|
|
195
|
+
<li slTimelineItem title="2.12 — Recurring invoices">
|
|
196
196
|
<div slTimelineOpposite><time slTimelineTime value="2026-06-02T00:00:00Z"></time></div>
|
|
197
197
|
</li>
|
|
198
198
|
</ol>
|
|
199
199
|
</div>
|
|
200
200
|
```
|
|
201
201
|
|
|
202
|
-
###
|
|
202
|
+
### A row of events
|
|
203
203
|
|
|
204
|
-
horizontal
|
|
204
|
+
horizontal turns the line on its side, with equal columns that scroll on the inline axis when there are more events than width. Below thirty rems of its own width it becomes a column again; reflow={false} turns that off.
|
|
205
205
|
|
|
206
206
|
Excerpt — not a complete module
|
|
207
207
|
|
|
208
208
|
```html
|
|
209
209
|
<div slTimeline orientation="horizontal" autoComplete>
|
|
210
210
|
<ol slTimelineList>
|
|
211
|
-
<li slTimelineItem title="
|
|
212
|
-
<li slTimelineItem current title="
|
|
211
|
+
<li slTimelineItem title="Order confirmed"></li>
|
|
212
|
+
<li slTimelineItem current title="In transit"></li>
|
|
213
213
|
</ol>
|
|
214
214
|
</div>
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
###
|
|
217
|
+
### The order is declared, never reversed
|
|
218
218
|
|
|
219
|
-
order
|
|
219
|
+
order says what the list is and does not reorder the array: the consumer sorts. The order decides where autoComplete cuts — in oldest-first the past is before the current event, in newest-first after it.
|
|
220
220
|
|
|
221
221
|
Excerpt — not a complete module
|
|
222
222
|
|
|
223
223
|
```html
|
|
224
224
|
<div slTimeline order="newest-first" autoComplete>
|
|
225
225
|
<ol slTimelineList>
|
|
226
|
-
<li slTimelineItem title="
|
|
227
|
-
<li slTimelineItem current title="
|
|
228
|
-
<li slTimelineItem title="
|
|
226
|
+
<li slTimelineItem title="Delivered"></li>
|
|
227
|
+
<li slTimelineItem current title="In transit"></li>
|
|
228
|
+
<li slTimelineItem title="Packed"></li>
|
|
229
229
|
</ol>
|
|
230
230
|
</div>
|
|
231
231
|
```
|
|
232
232
|
|
|
233
|
-
###
|
|
233
|
+
### What an event can be
|
|
234
234
|
|
|
235
|
-
|
|
235
|
+
Each state is a shape as well as a color: pending is the shape of the variant, current is a filled disc with a ring, complete is a filled disc with a cut-out check, loading is the spinner at the size of the dot. autoComplete derives complete for the past side of the current event and dashes the future.
|
|
236
236
|
|
|
237
237
|
Excerpt — not a complete module
|
|
238
238
|
|
|
239
239
|
```html
|
|
240
240
|
<div slTimeline tone="accent" autoComplete>
|
|
241
241
|
<ol slTimelineList>
|
|
242
|
-
<li slTimelineItem title="
|
|
243
|
-
<li slTimelineItem current title="
|
|
244
|
-
<li slTimelineItem title="
|
|
245
|
-
<li slTimelineItem loading title="
|
|
242
|
+
<li slTimelineItem title="Order confirmed"></li>
|
|
243
|
+
<li slTimelineItem current title="In transit"></li>
|
|
244
|
+
<li slTimelineItem title="Out for delivery"></li>
|
|
245
|
+
<li slTimelineItem loading title="Delivered"></li>
|
|
246
246
|
</ol>
|
|
247
247
|
</div>
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
###
|
|
250
|
+
### Appearance and size
|
|
251
251
|
|
|
252
|
-
variant
|
|
252
|
+
variant on the root or per event: outline separates the marker from the line in any scheme, solid fills, subtle is a background with a thin edge, plain is the dot without a ring for a row of small events. tone paints the marker with one of the five tones; size picks the step.
|
|
253
253
|
|
|
254
254
|
Excerpt — not a complete module
|
|
255
255
|
|
|
@@ -257,37 +257,37 @@ Excerpt — not a complete module
|
|
|
257
257
|
<div slTimeline size="sm" variant="plain">
|
|
258
258
|
<ol slTimelineList>
|
|
259
259
|
<li slTimelineItem title="Commit 4f2a"></li>
|
|
260
|
-
<li slTimelineItem title="
|
|
260
|
+
<li slTimelineItem title="Tests failed" tone="danger" variant="solid"></li>
|
|
261
261
|
</ol>
|
|
262
262
|
</div>
|
|
263
263
|
```
|
|
264
264
|
|
|
265
|
-
###
|
|
265
|
+
### Grouping by period
|
|
266
266
|
|
|
267
|
-
|
|
267
|
+
The consumer groups, because the period belongs to the domain. A group is a heading of the declared level over its own list; collapsible turns the heading into a button with aria-expanded, and the closed list stays in the DOM with hidden.
|
|
268
268
|
|
|
269
269
|
Excerpt — not a complete module
|
|
270
270
|
|
|
271
271
|
```html
|
|
272
272
|
<div slTimeline [level]="3">
|
|
273
273
|
<ol slTimelineList>
|
|
274
|
-
<li slTimelineGroup label="
|
|
274
|
+
<li slTimelineGroup label="Today" collapsible>
|
|
275
275
|
<ol slTimelineGroupList>
|
|
276
|
-
<li slTimelineItem title="
|
|
276
|
+
<li slTimelineItem title="Paid"></li>
|
|
277
277
|
</ol>
|
|
278
278
|
</li>
|
|
279
|
-
<li slTimelineGroup label="
|
|
279
|
+
<li slTimelineGroup label="Last week" collapsible [defaultOpen]="false">
|
|
280
280
|
<ol slTimelineGroupList>
|
|
281
|
-
<li slTimelineItem title="
|
|
281
|
+
<li slTimelineItem title="Sent"></li>
|
|
282
282
|
</ol>
|
|
283
283
|
</li>
|
|
284
284
|
</ol>
|
|
285
285
|
</div>
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
###
|
|
288
|
+
### Loading more
|
|
289
289
|
|
|
290
|
-
growing="button"
|
|
290
|
+
growing="button" puts a button at the end of what was loaded and asks with pointer or keyboard; growing="scroll" asks with scroll when the end enters the scroller. While loading, the end shows the ring and the root is aria-busy.
|
|
291
291
|
|
|
292
292
|
Excerpt — not a complete module
|
|
293
293
|
|
|
@@ -301,9 +301,9 @@ Excerpt — not a complete module
|
|
|
301
301
|
</div>
|
|
302
302
|
```
|
|
303
303
|
|
|
304
|
-
###
|
|
304
|
+
### New events while the reader reads
|
|
305
305
|
|
|
306
|
-
|
|
306
|
+
A feed that inserts at the top pushes what is being read. With freshCount, the family holds the new events behind a pill, announces the count in polite, and (revealRequest) is the moment the consumer joins them to the array. The pill leaves with a transition, and focus that was on it moves to the first revealed event.
|
|
307
307
|
|
|
308
308
|
Excerpt — not a complete module
|
|
309
309
|
|
|
@@ -317,83 +317,83 @@ Excerpt — not a complete module
|
|
|
317
317
|
</div>
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
###
|
|
320
|
+
### Machine time, explicit time zone
|
|
321
321
|
|
|
322
|
-
time
|
|
322
|
+
time accepts an ISO instant with a zone designator, written in the declared timeZone, or a wall-clock value without a zone, written as it is. datetime always carries the machine value; timeFormat="relative" writes "2 hours ago" and keeps the absolute value in title.
|
|
323
323
|
|
|
324
324
|
Excerpt — not a complete module
|
|
325
325
|
|
|
326
326
|
```ts
|
|
327
327
|
providers: [
|
|
328
|
-
provideSlotted({ locale: '
|
|
328
|
+
provideSlotted({ locale: 'en-US' }),
|
|
329
329
|
provideTimelineDefaults({ now: Date.now(), timeZone: 'America/Sao_Paulo' }),
|
|
330
330
|
];
|
|
331
331
|
|
|
332
332
|
// <div slTimeline timeFormat="relative">
|
|
333
333
|
// <ol slTimelineList>
|
|
334
|
-
// <li slTimelineItem time="2026-09-14T10:32:00Z" title="
|
|
334
|
+
// <li slTimelineItem time="2026-09-14T10:32:00Z" title="Paid"></li>
|
|
335
335
|
// </ol>
|
|
336
336
|
// </div>
|
|
337
337
|
```
|
|
338
338
|
|
|
339
|
-
###
|
|
339
|
+
### Content the family did not choose
|
|
340
340
|
|
|
341
|
-
|
|
341
|
+
A nine-word title, an unbreakable reference, an Arabic title, an avatar in the marker, an event without a title. The marker never leaves the first line and the line never leaves the center.
|
|
342
342
|
|
|
343
343
|
Excerpt — not a complete module
|
|
344
344
|
|
|
345
345
|
```html
|
|
346
|
-
<li slTimelineItem title="
|
|
346
|
+
<li slTimelineItem title="Approved the revised quote for the shipment program">
|
|
347
347
|
<span slTimelineMarker slAvatar name="Ana Ribeiro"></span>
|
|
348
348
|
</li>
|
|
349
349
|
```
|
|
350
350
|
|
|
351
|
-
###
|
|
351
|
+
### Composition
|
|
352
352
|
|
|
353
|
-
|
|
353
|
+
The title is whatever the consumer gives it — a Link — and the actions are buttons of the button family. Expandable content is a Collapsible inside the body. exportAs reaches the list and focusItem(index) for the feed, and provideTimelineDefaults decides once for the injector.
|
|
354
354
|
|
|
355
355
|
Excerpt — not a complete module
|
|
356
356
|
|
|
357
357
|
```html
|
|
358
358
|
<li slTimelineItem>
|
|
359
|
-
<a slTimelineTitle slLink href="/
|
|
359
|
+
<a slTimelineTitle slLink href="/invoices/4821">Payment failed</a>
|
|
360
360
|
<div slCollapsible variant="plain">
|
|
361
|
-
<h4 slCollapsibleHeader><button slCollapsibleTrigger>
|
|
362
|
-
<div slCollapsiblePanel>
|
|
361
|
+
<h4 slCollapsibleHeader><button slCollapsibleTrigger>View the issuer response</button></h4>
|
|
362
|
+
<div slCollapsiblePanel>Code 05: do not honor.</div>
|
|
363
363
|
</div>
|
|
364
|
-
<div slTimelineActions><button slButton size="sm">
|
|
364
|
+
<div slTimelineActions><button slButton size="sm">Retry</button></div>
|
|
365
365
|
</li>
|
|
366
366
|
```
|
|
367
367
|
|
|
368
|
-
###
|
|
368
|
+
### No events
|
|
369
369
|
|
|
370
|
-
|
|
370
|
+
Without items and without loading, the empty part takes the place of the list with the family message or with whatever the consumer projects — a result-state, for example.
|
|
371
371
|
|
|
372
372
|
Excerpt — not a complete module
|
|
373
373
|
|
|
374
374
|
```html
|
|
375
|
-
<div slTimeline label="
|
|
375
|
+
<div slTimeline label="Activity">
|
|
376
376
|
<ol slTimelineList></ol>
|
|
377
377
|
<div slTimelineEmpty slResultState status="empty">
|
|
378
|
-
<div slResultStateContent><p slResultStateTitle>
|
|
378
|
+
<div slResultStateContent><p slResultStateTitle>No events yet</p></div>
|
|
379
379
|
</div>
|
|
380
380
|
</div>
|
|
381
381
|
```
|
|
382
382
|
|
|
383
|
-
###
|
|
383
|
+
### Keyboard
|
|
384
384
|
|
|
385
|
-
|
|
385
|
+
In list the keyboard is the platform’s: Tab goes through the links and buttons of the body. In feed, Tab stops on each article, PageDown and PageUp jump between articles, Control+End and Control+Home leave the feed for the next or previous focusable element.
|
|
386
386
|
|
|
387
387
|
Excerpt — not a complete module
|
|
388
388
|
|
|
389
389
|
```html
|
|
390
|
-
<!-- "
|
|
391
|
-
<div slTimeline mode="feed" label="
|
|
390
|
+
<!-- "Paid, Solaris Freight, 2 hours ago, article 1 of 3": title, actor and time, and the position. -->
|
|
391
|
+
<div slTimeline mode="feed" label="Activity">
|
|
392
392
|
<div slTimelineList>
|
|
393
393
|
<article
|
|
394
394
|
slTimelineItem
|
|
395
|
-
title="
|
|
396
|
-
actor="Solaris
|
|
395
|
+
title="Paid"
|
|
396
|
+
actor="Solaris Freight"
|
|
397
397
|
time="2026-09-14T13:32:00Z"
|
|
398
398
|
></article>
|
|
399
399
|
</div>
|
package/docs/toast.json
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"tone": [
|
|
28
28
|
"accent",
|
|
29
29
|
"secondary",
|
|
30
|
+
"info",
|
|
30
31
|
"success",
|
|
31
32
|
"warning",
|
|
32
33
|
"danger"
|
|
@@ -255,7 +256,7 @@
|
|
|
255
256
|
},
|
|
256
257
|
{
|
|
257
258
|
"name": "tone",
|
|
258
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
259
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
259
260
|
"defaultValue": "accent",
|
|
260
261
|
"appliesTo": "SlToastService.show",
|
|
261
262
|
"description": "Which of the five semantic colours the message speaks in, and which mark it draws"
|
|
@@ -508,6 +509,11 @@
|
|
|
508
509
|
"--slotted-tone-danger-solid",
|
|
509
510
|
"--slotted-tone-danger-surface",
|
|
510
511
|
"--slotted-tone-danger-text",
|
|
512
|
+
"--slotted-tone-info-border",
|
|
513
|
+
"--slotted-tone-info-on-solid",
|
|
514
|
+
"--slotted-tone-info-solid",
|
|
515
|
+
"--slotted-tone-info-surface",
|
|
516
|
+
"--slotted-tone-info-text",
|
|
511
517
|
"--slotted-tone-secondary-border",
|
|
512
518
|
"--slotted-tone-secondary-on-solid",
|
|
513
519
|
"--slotted-tone-secondary-solid",
|