@slotted/angular 0.1.0-beta.2 → 0.1.0-beta.20
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 +2 -0
- package/docs/action-bar.json +5 -4
- package/docs/action-bar.md +4 -4
- package/docs/action-sheet.json +391 -64
- package/docs/action-sheet.md +259 -0
- package/docs/alert.json +22 -5
- package/docs/alert.md +16 -5
- package/docs/app-shell.examples.md +1 -1
- package/docs/app-shell.json +24 -7
- package/docs/app-shell.md +5 -3
- 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.examples.md +15 -0
- package/docs/button.json +165 -11
- package/docs/button.md +34 -6
- package/docs/calendar.json +27 -2
- package/docs/calendar.md +6 -3
- 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/code-block.json +92 -92
- package/docs/code-block.md +69 -69
- package/docs/combobox.json +2 -0
- package/docs/combobox.md +1 -1
- package/docs/command-palette.json +1 -0
- package/docs/command-palette.md +1 -1
- package/docs/currency-field.json +40 -1
- package/docs/currency-field.md +5 -1
- package/docs/dashboard-grid.json +31 -9
- package/docs/dashboard-grid.md +15 -6
- package/docs/data-grid.examples.md +2 -2
- package/docs/data-grid.json +34 -8
- package/docs/data-grid.md +2 -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 +21 -5
- package/docs/date-picker.md +6 -5
- package/docs/datetime-field.json +1 -0
- package/docs/datetime-field.md +1 -1
- package/docs/description-list.json +9 -1
- package/docs/description-list.md +2 -1
- package/docs/detail-panel.json +4 -2
- package/docs/detail-panel.md +8 -3
- package/docs/dialog.examples.md +158 -136
- package/docs/dialog.json +36 -11
- package/docs/dialog.md +4 -2
- package/docs/dialog.props.md +1 -1
- package/docs/drawer.examples.md +1 -1
- package/docs/drawer.json +29 -10
- package/docs/drawer.md +9 -7
- package/docs/entity-picker.json +20 -4
- package/docs/entity-picker.md +8 -6
- package/docs/event-calendar.md +2 -2
- 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 +2 -2
- package/docs/guidelines/async-feedback.md +25 -4
- package/docs/guidelines/composition.md +33 -7
- package/docs/guidelines/errors-and-conflicts.md +7 -6
- package/docs/guidelines/forms.md +10 -0
- package/docs/guidelines/index.md +16 -4
- package/docs/guidelines/layout-alignment.md +19 -9
- package/docs/guidelines/list-pages.md +44 -3
- package/docs/guidelines/overviews.md +31 -1
- package/docs/guidelines/own-elements.md +1 -1
- package/docs/guidelines/reading-permissions.md +2 -2
- package/docs/guidelines/reports.md +1 -1
- package/docs/icon.json +3 -1
- package/docs/icon.md +3 -3
- package/docs/index.md +2 -2
- package/docs/inline-message.json +20 -7
- package/docs/inline-message.md +11 -9
- package/docs/kbd.json +3 -0
- package/docs/kbd.md +1 -1
- package/docs/link.json +16 -0
- package/docs/link.md +3 -1
- package/docs/list-item.json +19 -3
- package/docs/list-item.md +19 -16
- package/docs/list.json +19 -1
- package/docs/list.md +3 -1
- package/docs/markdown.json +86 -79
- package/docs/markdown.md +66 -65
- package/docs/menu.json +13 -0
- package/docs/menu.md +3 -1
- package/docs/message-scroller.json +1 -1
- 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 +22 -5
- package/docs/page-header.md +6 -4
- package/docs/page.json +4 -2
- package/docs/page.md +3 -2
- package/docs/popover.json +2 -1
- package/docs/popover.md +1 -1
- package/docs/progress-indicator.json +3 -1
- package/docs/progress-indicator.md +3 -3
- package/docs/prompt-composer.json +50 -3
- package/docs/prompt-composer.md +8 -2
- package/docs/rating.json +5 -3
- package/docs/rating.md +6 -6
- package/docs/scroll-area.json +266 -64
- package/docs/scroll-area.md +188 -0
- package/docs/section.json +38 -16
- package/docs/section.md +23 -20
- package/docs/segmented-control.json +36 -12
- package/docs/segmented-control.md +17 -1
- package/docs/select.json +2 -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 +6 -6
- package/docs/skills/compose-screen/SKILL.md +53 -17
- package/docs/skills/review-screen/SKILL.md +28 -17
- package/docs/skills/theme-app/SKILL.md +53 -15
- package/docs/skills/waiting-states/SKILL.md +14 -10
- 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/splitter.json +279 -64
- package/docs/splitter.md +215 -0
- package/docs/stat-card.json +11 -5
- package/docs/stat-card.md +6 -6
- package/docs/status-indicator.json +16 -5
- package/docs/status-indicator.md +3 -1
- package/docs/table-of-contents.json +2 -1
- package/docs/table-of-contents.md +2 -2
- package/docs/table.examples.md +3 -3
- package/docs/table.json +85 -3
- package/docs/table.md +12 -1
- package/docs/tabs.json +16 -3
- 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 +8 -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 +54 -11
- package/docs/toolbar.json +1 -1
- package/docs/toolbar.md +1 -1
- package/docs/tooltip.json +1 -0
- package/docs/tooltip.md +1 -1
- package/docs/tour.json +1 -1
- package/docs/typography.json +4 -2
- package/docs/typography.md +5 -5
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +27 -12
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +29 -16
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +124 -63
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
- package/fesm2022/slotted-angular-attachment.mjs +33 -22
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +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 +197 -30
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +263 -65
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +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 +180 -66
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +59 -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 +13 -8
- 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 +108 -35
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +162 -54
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +149 -32
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +295 -68
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +461 -129
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +74 -25
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +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 +44 -21
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +79 -37
- 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 +235 -104
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +259 -102
- 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 +118 -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 +188 -87
- 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 +175 -99
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +94 -19
- 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 +13 -4
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +63 -23
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +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 +57 -31
- 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 +6 -3
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +34 -15
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +119 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +163 -60
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +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 +90 -48
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +60 -12
- package/fesm2022/slotted-angular-page.mjs.map +1 -1
- package/fesm2022/slotted-angular-pagination.mjs +35 -22
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +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 +132 -22
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
- package/fesm2022/slotted-angular-prose.mjs +14 -11
- package/fesm2022/slotted-angular-prose.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +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 +81 -19
- 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 +189 -69
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-skeleton.mjs +32 -16
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +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 +37 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +4 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +69 -31
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +50 -19
- 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 +241 -71
- 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 +55 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs +6 -3
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +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 +147 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +48 -36
- 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 +27 -12
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +15 -6
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
- package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +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 +80 -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 +2 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +13 -4
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts +12 -4
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
- package/types/slotted-angular-attachment.d.ts +2 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts.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 +67 -14
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +43 -2
- package/types/slotted-angular-calendar.d.ts.map +1 -1
- package/types/slotted-angular-card.d.ts.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 +19 -9
- 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.map +1 -1
- package/types/slotted-angular-code-block.d.ts +2 -1
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +2 -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 +6 -1
- package/types/slotted-angular-combobox.d.ts.map +1 -1
- package/types/slotted-angular-command-palette.d.ts +10 -1
- package/types/slotted-angular-command-palette.d.ts.map +1 -1
- package/types/slotted-angular-container.d.ts.map +1 -1
- package/types/slotted-angular-context-menu.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +63 -15
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts +63 -7
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +62 -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 +11 -3
- package/types/slotted-angular-description-list.d.ts.map +1 -1
- package/types/slotted-angular-detail-panel.d.ts.map +1 -1
- package/types/slotted-angular-dialog.d.ts +11 -3
- package/types/slotted-angular-dialog.d.ts.map +1 -1
- package/types/slotted-angular-divider.d.ts.map +1 -1
- package/types/slotted-angular-drawer.d.ts +29 -3
- package/types/slotted-angular-drawer.d.ts.map +1 -1
- package/types/slotted-angular-entity-picker.d.ts +63 -15
- package/types/slotted-angular-entity-picker.d.ts.map +1 -1
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts.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 +13 -3
- 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 +29 -28
- 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 +8 -2
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts +5 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +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 +6 -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 +5 -4
- 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 +6 -1
- package/types/slotted-angular-multi-select.d.ts.map +1 -1
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
- package/types/slotted-angular-notification-center.d.ts +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 +15 -6
- package/types/slotted-angular-page-header.d.ts.map +1 -1
- package/types/slotted-angular-page.d.ts +7 -1
- package/types/slotted-angular-page.d.ts.map +1 -1
- package/types/slotted-angular-pagination.d.ts.map +1 -1
- package/types/slotted-angular-popover.d.ts.map +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +8 -1
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts +35 -3
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
- package/types/slotted-angular-prose.d.ts.map +1 -1
- package/types/slotted-angular-radio-group.d.ts.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 +14 -4
- 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 +13 -2
- package/types/slotted-angular-select.d.ts.map +1 -1
- package/types/slotted-angular-side-navigation.d.ts.map +1 -1
- package/types/slotted-angular-skeleton.d.ts.map +1 -1
- package/types/slotted-angular-slider.d.ts.map +1 -1
- package/types/slotted-angular-sparkline.d.ts +7 -1
- package/types/slotted-angular-sparkline.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts +2 -2
- package/types/slotted-angular-split-button.d.ts.map +1 -1
- package/types/slotted-angular-splitter.d.ts.map +1 -1
- package/types/slotted-angular-stack.d.ts.map +1 -1
- package/types/slotted-angular-stat-card.d.ts +9 -4
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +13 -3
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +2 -1
- package/types/slotted-angular-stepper.d.ts.map +1 -1
- package/types/slotted-angular-switch.d.ts.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 +7 -5
- package/types/slotted-angular-theme.d.ts.map +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +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 +5 -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 +2 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts +1 -1
- package/types/slotted-angular-typography.d.ts.map +1 -1
- package/types/slotted-angular-upload.d.ts +4 -2
- package/types/slotted-angular-upload.d.ts.map +1 -1
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
- package/types/slotted-angular-wizard.d.ts.map +1 -1
package/docs/stat-card.json
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"neutral",
|
|
37
37
|
"accent",
|
|
38
38
|
"secondary",
|
|
39
|
+
"info",
|
|
39
40
|
"success",
|
|
40
41
|
"warning",
|
|
41
42
|
"danger"
|
|
@@ -177,7 +178,7 @@
|
|
|
177
178
|
"part": "trend",
|
|
178
179
|
"element": "div",
|
|
179
180
|
"required": false,
|
|
180
|
-
"purpose": "Where a sparkline goes: beside the figure, or under it when stacked or under 220 pixels. Hands the sparkline the card’s tone and
|
|
181
|
+
"purpose": "Where a sparkline goes: beside the figure, or under it when stacked or under 220 pixels. Hands the sparkline the card’s tone, ground and box, and draws a line smoothed and washed unless the application or the sparkline says otherwise; a block placeholder in the same box while loading; hidden under forty pixels."
|
|
181
182
|
},
|
|
182
183
|
{
|
|
183
184
|
"part": "message",
|
|
@@ -238,7 +239,7 @@
|
|
|
238
239
|
},
|
|
239
240
|
{
|
|
240
241
|
"name": "tone",
|
|
241
|
-
"type": "'neutral' | 'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
242
|
+
"type": "'neutral' | 'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
242
243
|
"defaultValue": "—",
|
|
243
244
|
"appliesTo": "slStatCard, slStatCardDelta",
|
|
244
245
|
"description": "An explicit tone, which wins over the derived one. On the root it is what the trend hands its sparkline"
|
|
@@ -306,7 +307,7 @@
|
|
|
306
307
|
"type": "projected content",
|
|
307
308
|
"defaultValue": "—",
|
|
308
309
|
"appliesTo": "slStatCard",
|
|
309
|
-
"description": "Takes an slSparkline and hands it the card’s tone through --slotted-sparkline-color
|
|
310
|
+
"description": "Takes an slSparkline and hands it the card’s tone through --slotted-sparkline-color, its ground for the marker’s ring, and curve=\"monotone\" with area unless the sparkline defaults or the sparkline state otherwise; a tone or series on the sparkline still wins"
|
|
310
311
|
},
|
|
311
312
|
{
|
|
312
313
|
"name": "aria-label, aria-labelledby, id",
|
|
@@ -356,6 +357,7 @@
|
|
|
356
357
|
"--slotted-font-size-xs",
|
|
357
358
|
"--slotted-font-weight-medium",
|
|
358
359
|
"--slotted-font-weight-semibold",
|
|
360
|
+
"--slotted-letter-spacing-tighter",
|
|
359
361
|
"--slotted-line-height-2xl",
|
|
360
362
|
"--slotted-line-height-3xl",
|
|
361
363
|
"--slotted-line-height-4xl",
|
|
@@ -414,6 +416,9 @@
|
|
|
414
416
|
"--slotted-stat-card-region-gap-sm",
|
|
415
417
|
"--slotted-stat-card-shadow",
|
|
416
418
|
"--slotted-stat-card-shadow-elevated",
|
|
419
|
+
"--slotted-stat-card-trend-block-size",
|
|
420
|
+
"--slotted-stat-card-trend-block-size-lg",
|
|
421
|
+
"--slotted-stat-card-trend-block-size-sm",
|
|
417
422
|
"--slotted-stat-card-trend-gap",
|
|
418
423
|
"--slotted-stat-card-trend-gap-lg",
|
|
419
424
|
"--slotted-stat-card-trend-gap-sm",
|
|
@@ -433,6 +438,7 @@
|
|
|
433
438
|
"--slotted-text-muted",
|
|
434
439
|
"--slotted-tone-accent-text",
|
|
435
440
|
"--slotted-tone-danger-text",
|
|
441
|
+
"--slotted-tone-info-text",
|
|
436
442
|
"--slotted-tone-secondary-text",
|
|
437
443
|
"--slotted-tone-success-text",
|
|
438
444
|
"--slotted-tone-warning-text"
|
|
@@ -481,7 +487,7 @@
|
|
|
481
487
|
{
|
|
482
488
|
"id": "layout",
|
|
483
489
|
"title": "The trend beside the figure, or under it",
|
|
484
|
-
"note": "inline puts the sparkline in a column beside the value,
|
|
490
|
+
"note": "inline puts the sparkline in a column beside the value, as tall as the figure; stacked runs it to the card’s edges on the last row, level with the bottom of every card in the row. Under 220 pixels a card stacks on its own and drops the value one step.",
|
|
485
491
|
"language": "html",
|
|
486
492
|
"source": "<div slStatCard layout=\"inline\">…</div>\n<div slStatCard layout=\"stacked\">…</div>\n",
|
|
487
493
|
"verdict": "excerpt"
|
|
@@ -489,7 +495,7 @@
|
|
|
489
495
|
{
|
|
490
496
|
"id": "loading",
|
|
491
497
|
"title": "The layout is kept while the value is on its way",
|
|
492
|
-
"note": "Every text part stands in with a placeholder of its own line height and the trend with a block the
|
|
498
|
+
"note": "Every text part stands in with a placeholder of its own line height and the trend with a block in the trend’s own box, so nothing moves when the numbers arrive; the previous value is not shown as if it were current.",
|
|
493
499
|
"language": "html",
|
|
494
500
|
"source": "<div slStatCard [loading]=\"pending()\">\n <div slStatCardHeader><span slStatCardLabel>Open orders</span></div>\n <div slStatCardFigure>\n <span slStatCardValue [value]=\"orders().total\"></span>\n <span slStatCardDelta [value]=\"orders().delta\"></span>\n </div>\n <div slStatCardTrend><span slSparkline [data]=\"orders().series\"></span></div>\n</div>\n",
|
|
495
501
|
"verdict": "excerpt"
|
package/docs/stat-card.md
CHANGED
|
@@ -73,7 +73,7 @@ Excerpt — not a complete module
|
|
|
73
73
|
| `loading` | `boolean` | false | slStatCard | The value is on its way: every part stands in with a placeholder and the root is aria-busy |
|
|
74
74
|
| `goodWhen` | `'up' \| 'down' \| 'none'` | up | slStatCard, slStatCardDelta | Which way is good for this metric. The tone of a change is derived from it, never from the sign |
|
|
75
75
|
| `delta` | `number` | — | slStatCard | The change, as the first delta reads it: a fraction for a percentage. Stated on the root so the card knows its tone before its delta renders |
|
|
76
|
-
| `tone` | `'neutral' \| 'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | — | slStatCard, slStatCardDelta | An explicit tone, which wins over the derived one. On the root it is what the trend hands its sparkline |
|
|
76
|
+
| `tone` | `'neutral' \| 'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | — | slStatCard, slStatCardDelta | An explicit tone, which wins over the derived one. On the root it is what the trend hands its sparkline |
|
|
77
77
|
| `locale` | `string` | — | slStatCard | BCP 47, for every number the card formats; the language in force when absent |
|
|
78
78
|
| `formatOptions` | `Intl.NumberFormatOptions` | — | slStatCard, slStatCardValue, slStatCardDelta | How a number is written. On the root, the default for the value and the delta |
|
|
79
79
|
| `messages` | `Partial<StatCardMessages>` | — | slStatCard | Words laid over the language in force, key by key: up, down and flat, heard before the delta; empty, shown in place of a missing value |
|
|
@@ -82,7 +82,7 @@ Excerpt — not a complete module
|
|
|
82
82
|
| `projected content` | `ng-content` | — | slStatCardValue, slStatCardDelta | Your own rendering after the formatted number: a unit, or the whole text when value is unset |
|
|
83
83
|
| `[slStatCard…]` | `attribute selectors` | — | your elements | Every part is a directive on the element you wrote: a heading for the label, an anchor for the action, a p for the comparison |
|
|
84
84
|
| `exportAs` | `template reference` | — | slStatCard, slStatCardValue, slStatCardDelta, slStatCardTrend, … | Reaches the instance: the derived tone, the trend, the formatted text |
|
|
85
|
-
| `slStatCardTrend` | `projected content` | — | slStatCard | Takes an slSparkline and hands it the card’s tone through --slotted-sparkline-color
|
|
85
|
+
| `slStatCardTrend` | `projected content` | — | slStatCard | Takes an slSparkline and hands it the card’s tone through --slotted-sparkline-color, its ground for the marker’s ring, and curve="monotone" with area unless the sparkline defaults or the sparkline state otherwise; a tone or series on the sparkline still wins |
|
|
86
86
|
| `aria-label, aria-labelledby, id` | `attributes` | — | your elements | A name or an id you wrote on the host or on the label wins over the generated one |
|
|
87
87
|
| `trendOf, toneOf` | `function` | — | Application | The two derivations, exported for a delta you format yourself |
|
|
88
88
|
| `provideStatCardDefaults` | `StatCardDefaults` | — | Application | Sets goodWhen, size, fill, layout and formatOptions once, in a route or the application config; an input still wins |
|
|
@@ -96,7 +96,7 @@ Excerpt — not a complete module
|
|
|
96
96
|
| `layout` | `inline`, `stacked` | `inline` |
|
|
97
97
|
| `status` | `ready`, `empty`, `error` | `ready` |
|
|
98
98
|
| `goodWhen` | `up`, `down`, `none` | `up` |
|
|
99
|
-
| `tone` | `neutral`, `accent`, `secondary`, `success`, `warning`, `danger` | — |
|
|
99
|
+
| `tone` | `neutral`, `accent`, `secondary`, `info`, `success`, `warning`, `danger` | — |
|
|
100
100
|
| `trend` | `up`, `down`, `flat` | — |
|
|
101
101
|
|
|
102
102
|
## Rules
|
|
@@ -110,7 +110,7 @@ Excerpt — not a complete module
|
|
|
110
110
|
|
|
111
111
|
## Tokens
|
|
112
112
|
|
|
113
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
113
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-tighter`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-block-size`, `--slotted-stat-card-trend-block-size-lg`, `--slotted-stat-card-trend-block-size-sm`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
114
114
|
|
|
115
115
|
## Examples
|
|
116
116
|
|
|
@@ -183,7 +183,7 @@ Excerpt — not a complete module
|
|
|
183
183
|
|
|
184
184
|
### The trend beside the figure, or under it
|
|
185
185
|
|
|
186
|
-
inline puts the sparkline in a column beside the value,
|
|
186
|
+
inline puts the sparkline in a column beside the value, as tall as the figure; stacked runs it to the card’s edges on the last row, level with the bottom of every card in the row. Under 220 pixels a card stacks on its own and drops the value one step.
|
|
187
187
|
|
|
188
188
|
Excerpt — not a complete module
|
|
189
189
|
|
|
@@ -194,7 +194,7 @@ Excerpt — not a complete module
|
|
|
194
194
|
|
|
195
195
|
### The layout is kept while the value is on its way
|
|
196
196
|
|
|
197
|
-
Every text part stands in with a placeholder of its own line height and the trend with a block the
|
|
197
|
+
Every text part stands in with a placeholder of its own line height and the trend with a block in the trend’s own box, so nothing moves when the numbers arrive; the previous value is not shown as if it were current.
|
|
198
198
|
|
|
199
199
|
Excerpt — not a complete module
|
|
200
200
|
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"root",
|
|
55
55
|
"mark",
|
|
56
56
|
"label",
|
|
57
|
+
"detail",
|
|
57
58
|
"announcement"
|
|
58
59
|
]
|
|
59
60
|
}
|
|
@@ -76,13 +77,19 @@
|
|
|
76
77
|
"part": "mark",
|
|
77
78
|
"element": "span",
|
|
78
79
|
"required": true,
|
|
79
|
-
"purpose": "The disc or the glyph
|
|
80
|
+
"purpose": "The disc or the glyph, inside the first line and centred on its capitals, so the mark stays on that line however far the label wraps. Hidden from assistive technology: it says nothing the label does not."
|
|
80
81
|
},
|
|
81
82
|
{
|
|
82
83
|
"part": "label",
|
|
83
84
|
"element": "span",
|
|
84
85
|
"required": true,
|
|
85
|
-
"purpose": "The projected content. It wraps rather than truncating, and breaks an unbroken token, so a deployment id does not widen the column it sits in."
|
|
86
|
+
"purpose": "The projected content. It wraps rather than truncating, with the lines after the first under the first word, and breaks an unbroken token, so a deployment id does not widen the column it sits in. A table row aligns on its first line."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"part": "detail",
|
|
90
|
+
"element": "the consumer’s element with slStatusIndicatorDetail",
|
|
91
|
+
"required": false,
|
|
92
|
+
"purpose": "A second, quieter line under the words — a progress, a time — set in the muted text colour and hanging under the first word. Projected inside the label, so it is read with the words."
|
|
86
93
|
},
|
|
87
94
|
{
|
|
88
95
|
"part": "announcement",
|
|
@@ -150,6 +157,13 @@
|
|
|
150
157
|
"appliesTo": "SlStatusIndicator",
|
|
151
158
|
"description": "The visible words, which are also the accessible name. Its fallback content is the clipped word, so the template itself decides which of the two a reader gets"
|
|
152
159
|
},
|
|
160
|
+
{
|
|
161
|
+
"name": "[slStatusIndicatorDetail]",
|
|
162
|
+
"type": "projected content",
|
|
163
|
+
"defaultValue": "—",
|
|
164
|
+
"appliesTo": "SlStatusIndicatorDetail",
|
|
165
|
+
"description": "A second, quieter line under the words, projected inside the label as the detail part"
|
|
166
|
+
},
|
|
153
167
|
{
|
|
154
168
|
"name": "host element",
|
|
155
169
|
"type": "any",
|
|
@@ -199,9 +213,6 @@
|
|
|
199
213
|
"--slotted-control-font-size-lg",
|
|
200
214
|
"--slotted-control-font-size-md",
|
|
201
215
|
"--slotted-control-font-size-sm",
|
|
202
|
-
"--slotted-control-icon-size-lg",
|
|
203
|
-
"--slotted-control-icon-size-md",
|
|
204
|
-
"--slotted-control-icon-size-sm",
|
|
205
216
|
"--slotted-duration-loop-slow",
|
|
206
217
|
"--slotted-duration-short",
|
|
207
218
|
"--slotted-easing-enter",
|
package/docs/status-indicator.md
CHANGED
|
@@ -32,6 +32,7 @@ Excerpt — not a complete module
|
|
|
32
32
|
| `root` | the consumer’s element | yes |
|
|
33
33
|
| `mark` | span | yes |
|
|
34
34
|
| `label` | span | yes |
|
|
35
|
+
| `detail` | the consumer’s element with slStatusIndicatorDetail | no |
|
|
35
36
|
| `announcement` | span | no |
|
|
36
37
|
|
|
37
38
|
## Props
|
|
@@ -46,6 +47,7 @@ Excerpt — not a complete module
|
|
|
46
47
|
| `label` | `string` | — | SlStatusIndicator | What a reader hears when nothing is projected. Ignored when something is. Falls back to the status’s word in the catalog |
|
|
47
48
|
| `messages` | `Partial<StatusIndicatorMessages>` | — | SlStatusIndicator | Words laid over the language in force, key by key: the word each status is heard as when nothing is projected (neutral, info, success, warning, danger, unknown) |
|
|
48
49
|
| `ng-content` | `projected content` | — | SlStatusIndicator | The visible words, which are also the accessible name. Its fallback content is the clipped word, so the template itself decides which of the two a reader gets |
|
|
50
|
+
| `[slStatusIndicatorDetail]` | `projected content` | — | SlStatusIndicatorDetail | A second, quieter line under the words, projected inside the label as the detail part |
|
|
49
51
|
| `host element` | `any` | — | SlStatusIndicator | The selector is a bare attribute, so the element stays the consumer’s: a td, an anchor, a list item. Its own attributes and events are untouched |
|
|
50
52
|
| `exportAs` | `'slStatusIndicator'` | — | SlStatusIndicator | Reaches the instance from a template — name(), markValue(), sizeValue() and liveValue() are the resolved values after the provider |
|
|
51
53
|
| `provideStatusIndicatorDefaults` | `{ mark, size, live }` | — | an injector | Sets the three once for an application or a route. An explicit input still wins |
|
|
@@ -72,7 +74,7 @@ Excerpt — not a complete module
|
|
|
72
74
|
|
|
73
75
|
## Tokens
|
|
74
76
|
|
|
75
|
-
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-
|
|
77
|
+
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-duration-loop-slow`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-status-indicator-font-family`, `--slotted-status-indicator-mark-border-color`, `--slotted-status-indicator-mark-border-width`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-solid`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-text`
|
|
76
78
|
|
|
77
79
|
## Examples
|
|
78
80
|
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
"type": "boolean",
|
|
252
252
|
"defaultValue": "false",
|
|
253
253
|
"appliesTo": "slTableOfContents",
|
|
254
|
-
"description": "Pins the column under the page’s chrome and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout"
|
|
254
|
+
"description": "Pins the column under the page’s chrome, clear of it by --slotted-table-of-contents-sticky-inset, and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout"
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
257
|
"name": "history",
|
|
@@ -404,6 +404,7 @@
|
|
|
404
404
|
"--slotted-table-of-contents-color-hover",
|
|
405
405
|
"--slotted-table-of-contents-indent",
|
|
406
406
|
"--slotted-table-of-contents-marker-color",
|
|
407
|
+
"--slotted-table-of-contents-sticky-inset",
|
|
407
408
|
"--slotted-table-of-contents-track-color",
|
|
408
409
|
"--slotted-table-of-contents-track-width",
|
|
409
410
|
"--slotted-text",
|
|
@@ -50,7 +50,7 @@ Excerpt — not a complete module
|
|
|
50
50
|
| `open` | `model<boolean>` | false | slTableOfContents | Whether the collapsed list is shown. Two-way, through openChangeRequest |
|
|
51
51
|
| `layout` | `'vertical' \| 'horizontal' \| 'collapsed'` | vertical | slTableOfContents | The column, the bar, or the trigger with the list under it. The consumer’s breakpoint decides; the family never decides by width |
|
|
52
52
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slTableOfContents | The row step, on the control scale: height, type and inset |
|
|
53
|
-
| `sticky` | `boolean` | false | slTableOfContents | Pins the column under the page’s chrome and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout |
|
|
53
|
+
| `sticky` | `boolean` | false | slTableOfContents | Pins the column under the page’s chrome, clear of it by --slotted-table-of-contents-sticky-inset, and gives it the rest of the viewport; the panel scrolls. Ignored in the collapsed layout |
|
|
54
54
|
| `history` | `'push' \| 'replace' \| 'none'` | push | slTableOfContents | What a press does to the URL: pushState, replaceState, or nothing. scrollTo() never writes it |
|
|
55
55
|
| `numbered` | `boolean` | false | slTableOfContents | Counters per level before each link |
|
|
56
56
|
| `landmark` | `boolean` | true | slTableOfContents | Whether the host takes the landmark’s name. The element is the consumer’s: a nav is the landmark, a div inside one that already has a name is not |
|
|
@@ -94,7 +94,7 @@ Excerpt — not a complete module
|
|
|
94
94
|
|
|
95
95
|
## Tokens
|
|
96
96
|
|
|
97
|
-
`--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-table-of-contents-color`, `--slotted-table-of-contents-color-current`, `--slotted-table-of-contents-color-hover`, `--slotted-table-of-contents-indent`, `--slotted-table-of-contents-marker-color`, `--slotted-table-of-contents-track-color`, `--slotted-table-of-contents-track-width`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-z-index-popover`
|
|
97
|
+
`--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-table-of-contents-color`, `--slotted-table-of-contents-color-current`, `--slotted-table-of-contents-color-hover`, `--slotted-table-of-contents-indent`, `--slotted-table-of-contents-marker-color`, `--slotted-table-of-contents-sticky-inset`, `--slotted-table-of-contents-track-color`, `--slotted-table-of-contents-track-width`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-text`, `--slotted-z-index-popover`
|
|
98
98
|
|
|
99
99
|
## Examples
|
|
100
100
|
|
package/docs/table.examples.md
CHANGED
|
@@ -742,7 +742,7 @@ export class TableExpansion {
|
|
|
742
742
|
|
|
743
743
|
### A header, a summary and a column that stay
|
|
744
744
|
|
|
745
|
-
stickyHeader holds the head against the top of the scroller and stickyFooter holds the summary against the bottom of it, so the total is on screen at the first row and the last. stickyTo says which box that is: this table own scroller, or whatever scrolls outside it. A pinned column darkens its edge exactly while something is hidden under it, and all of it mirrors in a right-to-left document.
|
|
745
|
+
stickyHeader holds the head against the top of the scroller and stickyFooter holds the summary against the bottom of it, so the total is on screen at the first row and the last. stickyTo says which box that is: this table own scroller, or whatever scrolls outside it. Under stickyTo="page" the head stops at --slotted-table-sticky-offset, which a page binds to its own chrome; a table inside a scrolling box of its own sets that token to 0 on the box. A pinned column darkens its edge exactly while something is hidden under it, and all of it mirrors in a right-to-left document.
|
|
746
746
|
|
|
747
747
|
Example
|
|
748
748
|
|
|
@@ -1128,7 +1128,7 @@ Excerpt — not a complete module
|
|
|
1128
1128
|
<tbody slTableLoader [skeletonRows]="5"></tbody>
|
|
1129
1129
|
} @else if (rows().length === 0) {
|
|
1130
1130
|
<tbody slTableBody>
|
|
1131
|
-
<tr
|
|
1131
|
+
<tr>
|
|
1132
1132
|
<td slTableEmpty>
|
|
1133
1133
|
<section slResultState status="no-results"></section>
|
|
1134
1134
|
</td>
|
|
@@ -1376,7 +1376,7 @@ import {
|
|
|
1376
1376
|
</tr>
|
|
1377
1377
|
</thead>
|
|
1378
1378
|
<tbody slTableBody>
|
|
1379
|
-
<tr
|
|
1379
|
+
<tr>
|
|
1380
1380
|
<td slTableEmpty>
|
|
1381
1381
|
<section slResultState status="empty">
|
|
1382
1382
|
<div slResultStateContent>
|
package/docs/table.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"ruled",
|
|
13
13
|
"framed"
|
|
14
14
|
],
|
|
15
|
+
"edges": [
|
|
16
|
+
"inset",
|
|
17
|
+
"flush"
|
|
18
|
+
],
|
|
15
19
|
"striped": [
|
|
16
20
|
true,
|
|
17
21
|
false
|
|
@@ -71,6 +75,7 @@
|
|
|
71
75
|
"nativeElement": "div",
|
|
72
76
|
"defaults": {
|
|
73
77
|
"variant": "ruled",
|
|
78
|
+
"edges": "inset",
|
|
74
79
|
"striped": false,
|
|
75
80
|
"stickyHeader": false,
|
|
76
81
|
"stickyTo": "scroll",
|
|
@@ -107,6 +112,7 @@
|
|
|
107
112
|
"active",
|
|
108
113
|
"focus-visible",
|
|
109
114
|
"selected",
|
|
115
|
+
"current",
|
|
110
116
|
"expanded",
|
|
111
117
|
"disabled",
|
|
112
118
|
"loading"
|
|
@@ -139,6 +145,11 @@
|
|
|
139
145
|
"selection",
|
|
140
146
|
"expander",
|
|
141
147
|
"detail",
|
|
148
|
+
"group-row",
|
|
149
|
+
"group-header",
|
|
150
|
+
"group-content",
|
|
151
|
+
"group-start",
|
|
152
|
+
"group-end",
|
|
142
153
|
"empty",
|
|
143
154
|
"loader",
|
|
144
155
|
"footer"
|
|
@@ -321,6 +332,36 @@
|
|
|
321
332
|
"required": false,
|
|
322
333
|
"purpose": "The open row detail, one cell spanning every column. Control flow in the template keeps a closed one out of the DOM, which a host element cannot do for itself."
|
|
323
334
|
},
|
|
335
|
+
{
|
|
336
|
+
"part": "group-row",
|
|
337
|
+
"element": "tr[slTableGroupRow]",
|
|
338
|
+
"required": false,
|
|
339
|
+
"purpose": "The band that opens a group of rows: a day of a ledger with its net at the end. One header cell spans every column, and sticky holds the band under the header while its rows scroll past."
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"part": "group-header",
|
|
343
|
+
"element": "th",
|
|
344
|
+
"required": false,
|
|
345
|
+
"purpose": "The one cell of the band, scope=\"rowgroup\", spanning the columns of the table. It names the rows of its own tbody, so a grouped listing writes one body per group."
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"part": "group-content",
|
|
349
|
+
"element": "div",
|
|
350
|
+
"required": false,
|
|
351
|
+
"purpose": "The line inside the band that sets the name at the start and the end content at the end."
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"part": "group-start",
|
|
355
|
+
"element": "span",
|
|
356
|
+
"required": false,
|
|
357
|
+
"purpose": "The name of the group."
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"part": "group-end",
|
|
361
|
+
"element": "span",
|
|
362
|
+
"required": false,
|
|
363
|
+
"purpose": "The end of the band, the element marked slTableGroupRowEnd: the total or net of the group, in tabular figures."
|
|
364
|
+
},
|
|
324
365
|
{
|
|
325
366
|
"part": "empty",
|
|
326
367
|
"element": "td[slTableEmpty]",
|
|
@@ -384,6 +425,13 @@
|
|
|
384
425
|
"appliesTo": "slTable",
|
|
385
426
|
"description": "How much of a frame the set is given"
|
|
386
427
|
},
|
|
428
|
+
{
|
|
429
|
+
"name": "edges",
|
|
430
|
+
"type": "'inset' | 'flush'",
|
|
431
|
+
"defaultValue": "inset",
|
|
432
|
+
"appliesTo": "slTable",
|
|
433
|
+
"description": "Whether the first and the last column keep the cell inset on their outer side. flush lines a plain or ruled table up with the heading around it, leaving the theme’s --slotted-table-edge-inset (0 unless set); a framed table ignores it. Sticky and selection columns keep their own offsets"
|
|
434
|
+
},
|
|
387
435
|
{
|
|
388
436
|
"name": "striped",
|
|
389
437
|
"type": "boolean",
|
|
@@ -566,6 +614,27 @@
|
|
|
566
614
|
"appliesTo": "slTableRow",
|
|
567
615
|
"description": "The record position in the whole set, written as aria-rowindex"
|
|
568
616
|
},
|
|
617
|
+
{
|
|
618
|
+
"name": "current",
|
|
619
|
+
"type": "boolean",
|
|
620
|
+
"defaultValue": "false",
|
|
621
|
+
"appliesTo": "slTableRow",
|
|
622
|
+
"description": "The record open elsewhere on the page, a detail pane beside the table, written as aria-current"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "interactive",
|
|
626
|
+
"type": "boolean",
|
|
627
|
+
"defaultValue": "false",
|
|
628
|
+
"appliesTo": "slTableRow",
|
|
629
|
+
"description": "Paints the row as a thing the pointer presses; stated beside (action)"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "(action)",
|
|
633
|
+
"type": "MouseEvent",
|
|
634
|
+
"defaultValue": "—",
|
|
635
|
+
"appliesTo": "slTableRow",
|
|
636
|
+
"description": "A click anywhere in the row that lands on no control of its own; the first link or button in the row is the keyboard way in"
|
|
637
|
+
},
|
|
569
638
|
{
|
|
570
639
|
"name": "column",
|
|
571
640
|
"type": "string",
|
|
@@ -608,6 +677,13 @@
|
|
|
608
677
|
"appliesTo": "the three cell parts and both selection cells",
|
|
609
678
|
"description": "Which edge the column is pinned to while the table scrolls past it"
|
|
610
679
|
},
|
|
680
|
+
{
|
|
681
|
+
"name": "sticky",
|
|
682
|
+
"type": "boolean",
|
|
683
|
+
"defaultValue": "false",
|
|
684
|
+
"appliesTo": "slTableGroupRow",
|
|
685
|
+
"description": "Holds the band under the header while its rows scroll past; the end of the band is the element marked slTableGroupRowEnd"
|
|
686
|
+
},
|
|
611
687
|
{
|
|
612
688
|
"name": "stickyOffset",
|
|
613
689
|
"type": "string",
|
|
@@ -745,15 +821,20 @@
|
|
|
745
821
|
"--slotted-table-color-muted",
|
|
746
822
|
"--slotted-table-column-actions-size",
|
|
747
823
|
"--slotted-table-control-radius",
|
|
824
|
+
"--slotted-table-edge-inset",
|
|
748
825
|
"--slotted-table-font-family",
|
|
749
826
|
"--slotted-table-font-size",
|
|
750
827
|
"--slotted-table-gap",
|
|
828
|
+
"--slotted-table-group-color",
|
|
829
|
+
"--slotted-table-group-sticky-offset",
|
|
830
|
+
"--slotted-table-group-surface",
|
|
751
831
|
"--slotted-table-header-surface",
|
|
752
832
|
"--slotted-table-header-surface-hover",
|
|
753
833
|
"--slotted-table-icon-size",
|
|
754
834
|
"--slotted-table-radius",
|
|
755
835
|
"--slotted-table-row-color-selected",
|
|
756
836
|
"--slotted-table-row-min-block-size",
|
|
837
|
+
"--slotted-table-row-surface-current",
|
|
757
838
|
"--slotted-table-row-surface-hover",
|
|
758
839
|
"--slotted-table-row-surface-selected",
|
|
759
840
|
"--slotted-table-row-surface-selected-hover",
|
|
@@ -771,6 +852,7 @@
|
|
|
771
852
|
"--slotted-tone-accent-subtle-hover",
|
|
772
853
|
"--slotted-tone-accent-surface",
|
|
773
854
|
"--slotted-tone-accent-text",
|
|
855
|
+
"--slotted-tone-secondary-subtle-active",
|
|
774
856
|
"--slotted-tone-secondary-subtle-hover",
|
|
775
857
|
"--slotted-z-index-sticky"
|
|
776
858
|
],
|
|
@@ -898,7 +980,7 @@
|
|
|
898
980
|
{
|
|
899
981
|
"id": "sticky",
|
|
900
982
|
"title": "A header, a summary and a column that stay",
|
|
901
|
-
"note": "stickyHeader holds the head against the top of the scroller and stickyFooter holds the summary against the bottom of it, so the total is on screen at the first row and the last. stickyTo says which box that is: this table own scroller, or whatever scrolls outside it. A pinned column darkens its edge exactly while something is hidden under it, and all of it mirrors in a right-to-left document.",
|
|
983
|
+
"note": "stickyHeader holds the head against the top of the scroller and stickyFooter holds the summary against the bottom of it, so the total is on screen at the first row and the last. stickyTo says which box that is: this table own scroller, or whatever scrolls outside it. Under stickyTo=\"page\" the head stops at --slotted-table-sticky-offset, which a page binds to its own chrome; a table inside a scrolling box of its own sets that token to 0 on the box. A pinned column darkens its edge exactly while something is hidden under it, and all of it mirrors in a right-to-left document.",
|
|
902
984
|
"language": "ts",
|
|
903
985
|
"source": "import { Component } from '@angular/core';\nimport {\n SlTable,\n SlTableBody,\n SlTableCell,\n SlTableColumnHeader,\n SlTableContent,\n SlTableHead,\n SlTableRow,\n SlTableRowHeader,\n SlTableSummary,\n} from '@slotted/angular/table';\n\nconst USD = new Intl.NumberFormat('en-US', { currency: 'USD', style: 'currency' });\n\nconst CUSTOMERS = [\n 'Alfreds Futterkiste',\n \"Bon app'\",\n 'Ernst Handel',\n 'Folk och fä HB',\n 'Hanari Carnes',\n 'Island Trading',\n 'QUICK-Stop',\n 'Wartian Herkku',\n];\nconst WAREHOUSES = ['Reno', 'Columbus', 'Savannah'];\n\nconst ORDERS = Array.from({ length: 30 }, (_, index) => ({\n id: `SO-${10400 + index}`,\n customer: CUSTOMERS[index % CUSTOMERS.length],\n warehouse: WAREHOUSES[index % WAREHOUSES.length],\n total: 180 + ((index * 397) % 2400),\n}));\n\n@Component({\n selector: 'app-table-sticky',\n imports: [\n SlTable,\n SlTableBody,\n SlTableCell,\n SlTableColumnHeader,\n SlTableContent,\n SlTableHead,\n SlTableRow,\n SlTableRowHeader,\n SlTableSummary,\n ],\n template: `\n <div slTable [columns]=\"4\" stickyFooter stickyHeader>\n <div slTableContent aria-label=\"September orders\" style=\"max-block-size: 20rem\">\n <thead slTableHead>\n <tr slTableRow>\n <th slTableColumnHeader>Order</th>\n <th slTableColumnHeader>Customer</th>\n <th slTableColumnHeader>Warehouse</th>\n <th slTableColumnHeader numeric>Total</th>\n </tr>\n </thead>\n <tbody slTableBody>\n @for (order of orders; track order.id) {\n <tr slTableRow [value]=\"order.id\">\n <th slTableRowHeader text=\"nowrap\">{{ order.id }}</th>\n <td slTableCell>{{ order.customer }}</td>\n <td slTableCell>{{ order.warehouse }}</td>\n <td slTableCell numeric>{{ usd.format(order.total) }}</td>\n </tr>\n }\n </tbody>\n <tfoot slTableSummary>\n <tr slTableRow>\n <td slTableCell [attr.colspan]=\"3\">{{ orders.length }} orders</td>\n <td slTableCell numeric>{{ usd.format(total) }}</td>\n </tr>\n </tfoot>\n </div>\n </div>\n `,\n})\nexport class TableSticky {\n readonly orders = ORDERS;\n readonly total = ORDERS.reduce((sum, order) => sum + order.total, 0);\n readonly usd = USD;\n}\n",
|
|
904
986
|
"verdict": "example"
|
|
@@ -940,7 +1022,7 @@
|
|
|
940
1022
|
"title": "Nothing yet, nothing at all, and something arriving",
|
|
941
1023
|
"note": "A first load draws skeleton rows, so the shape is visible before the content. A refresh over rows already read writes aria-busy and dims them without moving anything — a reader looking at row forty stays there.",
|
|
942
1024
|
"language": "html",
|
|
943
|
-
"source": "@if (loading() && rows().length === 0) {\n <tbody slTableLoader [skeletonRows]=\"5\"></tbody>\n} @else if (rows().length === 0) {\n <tbody slTableBody>\n <tr
|
|
1025
|
+
"source": "@if (loading() && rows().length === 0) {\n <tbody slTableLoader [skeletonRows]=\"5\"></tbody>\n} @else if (rows().length === 0) {\n <tbody slTableBody>\n <tr>\n <td slTableEmpty>\n <section slResultState status=\"no-results\"></section>\n </td>\n </tr>\n </tbody>\n} @else {\n <tbody slTableBody></tbody>\n}\n",
|
|
944
1026
|
"verdict": "excerpt"
|
|
945
1027
|
},
|
|
946
1028
|
{
|
|
@@ -1004,7 +1086,7 @@
|
|
|
1004
1086
|
"title": "empty.ts",
|
|
1005
1087
|
"note": null,
|
|
1006
1088
|
"language": "ts",
|
|
1007
|
-
"source": "import { Component } from '@angular/core';\nimport {\n SlResultState,\n SlResultStateContent,\n SlResultStateDescription,\n SlResultStateTitle,\n} from '@slotted/angular/result-state';\nimport {\n SlTable,\n SlTableBody,\n SlTableColumnHeader,\n SlTableContent,\n SlTableEmpty,\n SlTableHead,\n SlTableRow,\n} from '@slotted/angular/table';\n\n@Component({\n selector: 'app-table-empty',\n imports: [\n SlResultState,\n SlResultStateContent,\n SlResultStateDescription,\n SlResultStateTitle,\n SlTable,\n SlTableBody,\n SlTableColumnHeader,\n SlTableContent,\n SlTableEmpty,\n SlTableHead,\n SlTableRow,\n ],\n template: `\n <div slTable [columns]=\"4\">\n <div slTableContent aria-label=\"Returns this week\">\n <thead slTableHead>\n <tr slTableRow>\n <th slTableColumnHeader>Return</th>\n <th slTableColumnHeader>Order</th>\n <th slTableColumnHeader>Customer</th>\n <th slTableColumnHeader numeric>Refund</th>\n </tr>\n </thead>\n <tbody slTableBody>\n <tr
|
|
1089
|
+
"source": "import { Component } from '@angular/core';\nimport {\n SlResultState,\n SlResultStateContent,\n SlResultStateDescription,\n SlResultStateTitle,\n} from '@slotted/angular/result-state';\nimport {\n SlTable,\n SlTableBody,\n SlTableColumnHeader,\n SlTableContent,\n SlTableEmpty,\n SlTableHead,\n SlTableRow,\n} from '@slotted/angular/table';\n\n@Component({\n selector: 'app-table-empty',\n imports: [\n SlResultState,\n SlResultStateContent,\n SlResultStateDescription,\n SlResultStateTitle,\n SlTable,\n SlTableBody,\n SlTableColumnHeader,\n SlTableContent,\n SlTableEmpty,\n SlTableHead,\n SlTableRow,\n ],\n template: `\n <div slTable [columns]=\"4\">\n <div slTableContent aria-label=\"Returns this week\">\n <thead slTableHead>\n <tr slTableRow>\n <th slTableColumnHeader>Return</th>\n <th slTableColumnHeader>Order</th>\n <th slTableColumnHeader>Customer</th>\n <th slTableColumnHeader numeric>Refund</th>\n </tr>\n </thead>\n <tbody slTableBody>\n <tr>\n <td slTableEmpty>\n <section slResultState status=\"empty\">\n <div slResultStateContent>\n <h3 slResultStateTitle>No returns this week</h3>\n <p slResultStateDescription>\n Returns appear here as soon as a customer opens one from their order page.\n </p>\n </div>\n </section>\n </td>\n </tr>\n </tbody>\n </div>\n </div>\n `,\n})\nexport class TableEmptyExample {}\n",
|
|
1008
1090
|
"verdict": "example"
|
|
1009
1091
|
},
|
|
1010
1092
|
{
|
package/docs/table.md
CHANGED
|
@@ -186,6 +186,11 @@ export class TableBasic {
|
|
|
186
186
|
| `selection` | td[slTableSelect] and th[slTableSelectAll] | no |
|
|
187
187
|
| `expander` | button[slTableExpander] | no |
|
|
188
188
|
| `detail` | tr[slTableDetail] | no |
|
|
189
|
+
| `group-row` | tr[slTableGroupRow] | no |
|
|
190
|
+
| `group-header` | th | no |
|
|
191
|
+
| `group-content` | div | no |
|
|
192
|
+
| `group-start` | span | no |
|
|
193
|
+
| `group-end` | span | no |
|
|
189
194
|
| `empty` | td[slTableEmpty] | no |
|
|
190
195
|
| `loader` | tbody[slTableLoader] | no |
|
|
191
196
|
|
|
@@ -200,6 +205,7 @@ export class TableBasic {
|
|
|
200
205
|
| `expanded` | `model<readonly string[]>` | [] | slTable | The rows whose detail is open, two-way |
|
|
201
206
|
| `defaultExpanded` | `model initial value` | [] | slTable | The details an unbound table starts with |
|
|
202
207
|
| `variant` | `'plain' \| 'ruled' \| 'framed'` | ruled | slTable | How much of a frame the set is given |
|
|
208
|
+
| `edges` | `'inset' \| 'flush'` | inset | slTable | Whether the first and the last column keep the cell inset on their outer side. flush lines a plain or ruled table up with the heading around it, leaving the theme’s --slotted-table-edge-inset (0 unless set); a framed table ignores it. Sticky and selection columns keep their own offsets |
|
|
203
209
|
| `striped` | `boolean` | false | slTable | A tinted ground on every second record |
|
|
204
210
|
| `stickyHeader` | `boolean` | false | slTable | Whether the header stays while the body scrolls |
|
|
205
211
|
| `stickyFooter` | `boolean` | false | slTable | Whether the summary rows stay while the body scrolls. It pins the tfoot and not the footer bar, which never scrolls. |
|
|
@@ -226,12 +232,16 @@ export class TableBasic {
|
|
|
226
232
|
| `value` | `string` | — | slTableRow | The record key the selection and the expansion are held by |
|
|
227
233
|
| `disabled` | `boolean` | false | slTableRow | A record the reader may not choose; it leaves the set the header covers |
|
|
228
234
|
| `rowIndex` | `number` | — | slTableRow | The record position in the whole set, written as aria-rowindex |
|
|
235
|
+
| `current` | `boolean` | false | slTableRow | The record open elsewhere on the page, a detail pane beside the table, written as aria-current |
|
|
236
|
+
| `interactive` | `boolean` | false | slTableRow | Paints the row as a thing the pointer presses; stated beside (action) |
|
|
237
|
+
| `(action)` | `MouseEvent` | — | slTableRow | A click anywhere in the row that lands on no control of its own; the first link or button in the row is the keyboard way in |
|
|
229
238
|
| `column` | `string` | — | slTableColumnHeader, slTableSort | The column key the sort descriptor names |
|
|
230
239
|
| `align` | `'start' \| 'center' \| 'end'` | start | the three cell parts | Which edge the value stands on, resolved logically |
|
|
231
240
|
| `numeric` | `boolean` | false | the three cell parts | Tabular figures, and the end edge unless align says otherwise |
|
|
232
241
|
| `blockAlign` | `'start' \| 'center' \| 'end'` | center | the three cell parts and both selection cells | Where this cell content sits in its row, overriding the table own cellAlign |
|
|
233
242
|
| `text` | `'wrap' \| 'truncate' \| 'nowrap'` | wrap | the three cell parts | What a value longer than its column does |
|
|
234
243
|
| `sticky` | `'start' \| 'end'` | start | the three cell parts and both selection cells | Which edge the column is pinned to while the table scrolls past it |
|
|
244
|
+
| `sticky` | `boolean` | false | slTableGroupRow | Holds the band under the header while its rows scroll past; the end of the band is the element marked slTableGroupRowEnd |
|
|
235
245
|
| `stickyOffset` | `string` | 0 | the three cell parts and both selection cells | Where the pinned column stops, as a CSS length. Two columns pinned to the same edge need the second to state how wide the first is — beside a selection column that is --slotted-table-selection-size, which is 3rem. |
|
|
236
246
|
| `colSpan` | `number` | — | slTableDetail, slTableEmpty | How many columns the part spans, defaulting to the table own count |
|
|
237
247
|
| `exportAs` | `slTable, slTableRow, slTableContent` | — | every part | Reaches the instance from the template: row.expanded(), table.rows(), content.scrollToRow() |
|
|
@@ -256,6 +266,7 @@ export class TableBasic {
|
|
|
256
266
|
| Axis | Values | Default |
|
|
257
267
|
| --- | --- | --- |
|
|
258
268
|
| `variant` | `plain`, `ruled`, `framed` | `ruled` |
|
|
269
|
+
| `edges` | `inset`, `flush` | `inset` |
|
|
259
270
|
| `striped` | `true`, `false` | `false` |
|
|
260
271
|
| `stickyHeader` | `true`, `false` | `false` |
|
|
261
272
|
| `stickyFooter` | `true`, `false` | `false` |
|
|
@@ -283,7 +294,7 @@ export class TableBasic {
|
|
|
283
294
|
|
|
284
295
|
## Tokens
|
|
285
296
|
|
|
286
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-surface`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
297
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-surface`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
|
|
287
298
|
|
|
288
299
|
## Examples
|
|
289
300
|
|
package/docs/tabs.json
CHANGED
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"label",
|
|
79
79
|
"end",
|
|
80
80
|
"dismiss",
|
|
81
|
+
"marker",
|
|
81
82
|
"panel",
|
|
82
83
|
"scroll",
|
|
83
84
|
"actions"
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
"part": "item",
|
|
109
110
|
"element": "the slTab host, with role=\"presentation\"",
|
|
110
111
|
"required": true,
|
|
111
|
-
"purpose": "One tab and its optional close button. It exists because a button cannot contain a button, and
|
|
112
|
+
"purpose": "One tab and its optional close button. It exists because a button cannot contain a button, and it carries the hover bar under the tab. A class or an attribute written on slTab lands on it."
|
|
112
113
|
},
|
|
113
114
|
{
|
|
114
115
|
"part": "tab",
|
|
@@ -140,6 +141,12 @@
|
|
|
140
141
|
"required": false,
|
|
141
142
|
"purpose": "The close button. It has tabindex=\"-1\", so the arrow keys move between tabs only, and it stays in the accessibility tree, so a screen reader can press it. From the keyboard, Delete closes the focused tab, which aria-keyshortcuts on the tab announces."
|
|
142
143
|
},
|
|
144
|
+
{
|
|
145
|
+
"part": "marker",
|
|
146
|
+
"element": "span, aria-hidden",
|
|
147
|
+
"required": false,
|
|
148
|
+
"purpose": "The bar under the selected tab. The list draws one and slides it between tabs; it spans the tab’s content box, never the close button. --slotted-tabs-marker-size, --slotted-tabs-marker-radius, --slotted-tabs-marker-inset and --slotted-tabs-marker-offset (1px above the list’s edge) shape it, and the hover bar takes the same geometry at --slotted-tabs-hover-marker-opacity."
|
|
149
|
+
},
|
|
143
150
|
{
|
|
144
151
|
"part": "panel",
|
|
145
152
|
"element": "the element carrying slTabPanel, with role=\"tabpanel\"",
|
|
@@ -369,7 +376,7 @@
|
|
|
369
376
|
"The paging controls are aria-hidden and outside the Tab sequence, because the arrow keys reach every tab and scroll it into view. Cloudscape’s guidance warns against extra Tab stops between a tab list and its panel.",
|
|
370
377
|
"A list that starts to overflow scrolls the selected tab into view once its paging controls are drawn, so the selected tab is not left behind the end control.",
|
|
371
378
|
"Each tab names its panel with aria-controls and each panel names its tab with aria-labelledby. The ids come from the value, with the characters an id cannot hold escaped rather than replaced, so two values that differ only by a space never share a panel.",
|
|
372
|
-
"The selected tab is never shown by colour alone: the marker is a bar
|
|
379
|
+
"The selected tab is never shown by colour alone: the marker is a bar never thinner than a thick border, which stays visible in the high-contrast scheme, where the theme paints every surface Canvas and the fill of the contained variant disappears.",
|
|
373
380
|
"A panel carries tabindex=\"0\", so the Tab key reaches it from the list. The pattern permits that stop even when the panel’s first content is focusable."
|
|
374
381
|
]
|
|
375
382
|
}
|
|
@@ -407,6 +414,7 @@
|
|
|
407
414
|
"--slotted-disabled-background",
|
|
408
415
|
"--slotted-disabled-border",
|
|
409
416
|
"--slotted-disabled-foreground",
|
|
417
|
+
"--slotted-duration-medium",
|
|
410
418
|
"--slotted-duration-short",
|
|
411
419
|
"--slotted-easing-enter",
|
|
412
420
|
"--slotted-focus-ring-color",
|
|
@@ -415,7 +423,6 @@
|
|
|
415
423
|
"--slotted-radius-full",
|
|
416
424
|
"--slotted-radius-md",
|
|
417
425
|
"--slotted-radius-sm",
|
|
418
|
-
"--slotted-radius-xs",
|
|
419
426
|
"--slotted-shadow-xs",
|
|
420
427
|
"--slotted-space-1",
|
|
421
428
|
"--slotted-space-2",
|
|
@@ -439,8 +446,14 @@
|
|
|
439
446
|
"--slotted-tabs-hover-background",
|
|
440
447
|
"--slotted-tabs-hover-color",
|
|
441
448
|
"--slotted-tabs-hover-marker-color",
|
|
449
|
+
"--slotted-tabs-hover-marker-opacity",
|
|
442
450
|
"--slotted-tabs-list-gap",
|
|
443
451
|
"--slotted-tabs-marker-color",
|
|
452
|
+
"--slotted-tabs-marker-easing",
|
|
453
|
+
"--slotted-tabs-marker-inset",
|
|
454
|
+
"--slotted-tabs-marker-offset",
|
|
455
|
+
"--slotted-tabs-marker-radius",
|
|
456
|
+
"--slotted-tabs-marker-size",
|
|
444
457
|
"--slotted-tabs-scroll-color",
|
|
445
458
|
"--slotted-tabs-selected-color",
|
|
446
459
|
"--slotted-tabs-track-color",
|