@slotted/angular 0.1.0-beta.1 → 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/page.json
CHANGED
|
@@ -221,6 +221,7 @@
|
|
|
221
221
|
"accessibility": [
|
|
222
222
|
"The practice is the WAI-ARIA APG’s Landmark Regions (w3.org/WAI/ARIA/apg/practices/landmark-regions/): each page should have one main landmark, and the page is it. Write it on a main element and the directive adds nothing; on any other element it writes role=\"main\", unless landmark=\"none\" says the document already has one.",
|
|
223
223
|
"The footer is a footer element inside main, which is not a contentinfo landmark, so it is named: the catalog’s footer message by default, an aria-label the consumer writes otherwise — read with HostAttributeToken, so the consumer’s word is never written over.",
|
|
224
|
+
"Content outside slPageBody receives no inset: the inset lives on the body, so content written straight into slPage is drawn against the viewport edges. In development, slPage warns once when it holds content and no slPageBody.",
|
|
224
225
|
"The outline is typography’s. slHeadingLevel is a host directive of the body, so a section written directly in it takes h2 under the header’s h1 and a section inside that takes h3 — without either family reading the other, and without a skip the HTML Standard forbids.",
|
|
225
226
|
"The body carries aria-busy while loading, which is what tells a screen reader the region is not ready. The page draws no placeholder: the header stands skeleton text of the title’s own width, and each family inside stands its own.",
|
|
226
227
|
"Scrolling is the platform’s. The page never writes a scroll position, and under scroll=\"self\" the scroll part is an ordinary scrolling box a keyboard reaches with the arrow keys once something inside it has focus."
|
package/docs/page.md
CHANGED
|
@@ -67,6 +67,7 @@ Excerpt — not a complete module
|
|
|
67
67
|
|
|
68
68
|
- The practice is the WAI-ARIA APG’s Landmark Regions (w3.org/WAI/ARIA/apg/practices/landmark-regions/): each page should have one main landmark, and the page is it. Write it on a main element and the directive adds nothing; on any other element it writes role="main", unless landmark="none" says the document already has one.
|
|
69
69
|
- The footer is a footer element inside main, which is not a contentinfo landmark, so it is named: the catalog’s footer message by default, an aria-label the consumer writes otherwise — read with HostAttributeToken, so the consumer’s word is never written over.
|
|
70
|
+
- Content outside slPageBody receives no inset: the inset lives on the body, so content written straight into slPage is drawn against the viewport edges. In development, slPage warns once when it holds content and no slPageBody.
|
|
70
71
|
- The outline is typography’s. slHeadingLevel is a host directive of the body, so a section written directly in it takes h2 under the header’s h1 and a section inside that takes h3 — without either family reading the other, and without a skip the HTML Standard forbids.
|
|
71
72
|
- The body carries aria-busy while loading, which is what tells a screen reader the region is not ready. The page draws no placeholder: the header stands skeleton text of the title’s own width, and each family inside stands its own.
|
|
72
73
|
- Scrolling is the platform’s. The page never writes a scroll position, and under scroll="self" the scroll part is an ordinary scrolling box a keyboard reaches with the arrow keys once something inside it has focus.
|
package/docs/popover.json
CHANGED
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"part": "content",
|
|
147
147
|
"element": "the element carrying slPopoverContent",
|
|
148
148
|
"required": true,
|
|
149
|
-
"purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal."
|
|
149
|
+
"purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal. It draws no padding: slPopoverHeader, slPopoverBody and slPopoverFooter carry the panel inset, set by --slotted-popover-padding-inline and --slotted-popover-padding-block."
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
"part": "header",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"tone": [
|
|
16
16
|
"accent",
|
|
17
17
|
"secondary",
|
|
18
|
+
"info",
|
|
18
19
|
"success",
|
|
19
20
|
"warning",
|
|
20
21
|
"danger"
|
|
@@ -143,7 +144,7 @@
|
|
|
143
144
|
},
|
|
144
145
|
{
|
|
145
146
|
"name": "tone",
|
|
146
|
-
"type": "accent | secondary | success | warning | danger",
|
|
147
|
+
"type": "accent | secondary | info | success | warning | danger",
|
|
147
148
|
"defaultValue": "accent",
|
|
148
149
|
"appliesTo": "all three",
|
|
149
150
|
"description": "The five the theme owns. The indicator is the tone’s text role and the track is a computed tint of it"
|
|
@@ -339,7 +340,6 @@
|
|
|
339
340
|
"--slotted-progress-indicator-wave-phase",
|
|
340
341
|
"--slotted-radius-full",
|
|
341
342
|
"--slotted-radius-none",
|
|
342
|
-
"--slotted-space-1",
|
|
343
343
|
"--slotted-space-2",
|
|
344
344
|
"--slotted-space-3",
|
|
345
345
|
"--slotted-space-4",
|
|
@@ -348,6 +348,7 @@
|
|
|
348
348
|
"--slotted-text-muted",
|
|
349
349
|
"--slotted-tone-accent-text",
|
|
350
350
|
"--slotted-tone-danger-text",
|
|
351
|
+
"--slotted-tone-info-text",
|
|
351
352
|
"--slotted-tone-success-text",
|
|
352
353
|
"--slotted-tone-warning-text",
|
|
353
354
|
"--slotted-z-index-sticky"
|
|
@@ -428,7 +429,7 @@
|
|
|
428
429
|
{
|
|
429
430
|
"id": "waveSizes",
|
|
430
431
|
"title": "The wave is measured in thicknesses",
|
|
431
|
-
"note": "One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is
|
|
432
|
+
"note": "One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is forty pixels long and the large bar’s eighty. Every ring carries eight crests, because the wave is wound on the viewBox and the viewBox scales.",
|
|
432
433
|
"language": "html",
|
|
433
434
|
"source": "<div slProgressBar label=\"Small\" size=\"sm\" wave [value]=\"55\"></div>\n<div slProgressBar label=\"Large\" size=\"lg\" wave [value]=\"55\"></div>\n<div slProgressCircle label=\"Saving\" size=\"lg\" wave [value]=\"55\"></div>\n",
|
|
434
435
|
"verdict": "excerpt"
|
|
@@ -38,7 +38,7 @@ Excerpt — not a complete module
|
|
|
38
38
|
| `max` | `number` | 100 | slProgressBar, slProgressCircle | The top of the range, and what aria-valuemax reports. Reaching it writes data-complete |
|
|
39
39
|
| `buffer` | `number \| null` | — | slProgressBar | A second, further quantity: received but not yet processed. Never painted behind the value |
|
|
40
40
|
| `size` | `sm \| md \| lg` | md | all three | The bar’s thickness, the ring’s diameter, the loader’s box. Rings and loaders read the control height scale, so they match a control of the same step |
|
|
41
|
-
| `tone` | `accent \| secondary \| success \| warning \| danger` | accent | all three | The five the theme owns. The indicator is the tone’s text role and the track is a computed tint of it |
|
|
41
|
+
| `tone` | `accent \| secondary \| info \| success \| warning \| danger` | accent | all three | The five the theme owns. The indicator is the tone’s text role and the track is a computed tint of it |
|
|
42
42
|
| `label` | `string` | — | all three | The rendered accessible name. Without it, or an aria-label on your own element, or decorative, a development warning names the component |
|
|
43
43
|
| `hideLabel` | `boolean` | false | all three | Clips the label with visually-hidden and keeps it as the name. A page-level bar sets it by itself |
|
|
44
44
|
| `showValue` | `boolean` | false | slProgressBar, slProgressCircle | Whether the formatted number is rendered beside the name. A wait needs no number to be understood |
|
|
@@ -70,7 +70,7 @@ Excerpt — not a complete module
|
|
|
70
70
|
| Axis | Values | Default |
|
|
71
71
|
| --- | --- | --- |
|
|
72
72
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
73
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `accent` |
|
|
73
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `accent` |
|
|
74
74
|
| `placement` | `inline`, `page`, `edge-start`, `edge-end` | `inline` |
|
|
75
75
|
|
|
76
76
|
## Rules
|
|
@@ -85,7 +85,7 @@ Excerpt — not a complete module
|
|
|
85
85
|
|
|
86
86
|
## Tokens
|
|
87
87
|
|
|
88
|
-
`--slotted-border-strong`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-line-height-md`, `--slotted-progress-indicator-buffer-color`, `--slotted-progress-indicator-buffer-percent`, `--slotted-progress-indicator-gap`, `--slotted-progress-indicator-indicator-color`, `--slotted-progress-indicator-percent`, `--slotted-progress-indicator-position`, `--slotted-progress-indicator-radius`, `--slotted-progress-indicator-size`, `--slotted-progress-indicator-stroke`, `--slotted-progress-indicator-thickness`, `--slotted-progress-indicator-track-color`, `--slotted-progress-indicator-travel-size`, `--slotted-progress-indicator-travel-start`, `--slotted-progress-indicator-wave-amplitude`, `--slotted-progress-indicator-wave-phase`, `--slotted-radius-full`, `--slotted-radius-none`, `--slotted-space-
|
|
88
|
+
`--slotted-border-strong`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-line-height-md`, `--slotted-progress-indicator-buffer-color`, `--slotted-progress-indicator-buffer-percent`, `--slotted-progress-indicator-gap`, `--slotted-progress-indicator-indicator-color`, `--slotted-progress-indicator-percent`, `--slotted-progress-indicator-position`, `--slotted-progress-indicator-radius`, `--slotted-progress-indicator-size`, `--slotted-progress-indicator-stroke`, `--slotted-progress-indicator-thickness`, `--slotted-progress-indicator-track-color`, `--slotted-progress-indicator-travel-size`, `--slotted-progress-indicator-travel-start`, `--slotted-progress-indicator-wave-amplitude`, `--slotted-progress-indicator-wave-phase`, `--slotted-radius-full`, `--slotted-radius-none`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`, `--slotted-z-index-sticky`
|
|
89
89
|
|
|
90
90
|
## Examples
|
|
91
91
|
|
|
@@ -195,7 +195,7 @@ Excerpt — not a complete module
|
|
|
195
195
|
|
|
196
196
|
### The wave is measured in thicknesses
|
|
197
197
|
|
|
198
|
-
One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is
|
|
198
|
+
One wavelength is ten thicknesses and a crest is three quarters of one at every size, so the small bar’s wave is forty pixels long and the large bar’s eighty. Every ring carries eight crests, because the wave is wound on the viewBox and the viewBox scales.
|
|
199
199
|
|
|
200
200
|
Excerpt — not a complete module
|
|
201
201
|
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
"submitted",
|
|
27
27
|
"streaming",
|
|
28
28
|
"error"
|
|
29
|
+
],
|
|
30
|
+
"emphasis": [
|
|
31
|
+
"none",
|
|
32
|
+
"ring"
|
|
29
33
|
]
|
|
30
34
|
},
|
|
31
35
|
"members": {
|
|
@@ -71,7 +75,9 @@
|
|
|
71
75
|
"footer",
|
|
72
76
|
"action",
|
|
73
77
|
"attach",
|
|
74
|
-
"submit"
|
|
78
|
+
"submit",
|
|
79
|
+
"ring",
|
|
80
|
+
"glow"
|
|
75
81
|
]
|
|
76
82
|
}
|
|
77
83
|
},
|
|
@@ -124,6 +130,18 @@
|
|
|
124
130
|
"element": "button[slPromptComposerSubmit]",
|
|
125
131
|
"required": false,
|
|
126
132
|
"purpose": "The send: a round accent disc named by the label for its status — Send, Sending, Stop, Retry — or a pill named by the words given to it. A busy ring while submitted, a stop square inside the ring while streaming, a retry turn after an error."
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"part": "ring",
|
|
136
|
+
"element": "span, aria-hidden",
|
|
137
|
+
"required": false,
|
|
138
|
+
"purpose": "With emphasis=\"ring\": the frame's edge, a band cut from a turning conic gradient of --slotted-prompt-composer-ring-colors. It replaces the border, the focus outline and the raised shadow; the buttons keep their own focus rings."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"part": "glow",
|
|
142
|
+
"element": "span, aria-hidden",
|
|
143
|
+
"required": false,
|
|
144
|
+
"purpose": "With emphasis=\"ring\": the same gradient blurred outside the frame, at --slotted-prompt-composer-ring-glow-opacity at rest, -focus while the input holds focus, -busy while loading, submitted or streaming."
|
|
127
145
|
}
|
|
128
146
|
],
|
|
129
147
|
"api": [
|
|
@@ -169,6 +187,13 @@
|
|
|
169
187
|
"appliesTo": "slPromptComposer, providePromptComposerDefaults",
|
|
170
188
|
"description": "raised is the chat surface; outline and subtle sit inside a form"
|
|
171
189
|
},
|
|
190
|
+
{
|
|
191
|
+
"name": "emphasis",
|
|
192
|
+
"type": "'none' | 'ring'",
|
|
193
|
+
"defaultValue": "none",
|
|
194
|
+
"appliesTo": "sl-prompt-composer",
|
|
195
|
+
"description": "A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colours bring the border back"
|
|
196
|
+
},
|
|
172
197
|
{
|
|
173
198
|
"name": "canSubmit",
|
|
174
199
|
"type": "boolean",
|
|
@@ -318,9 +343,11 @@
|
|
|
318
343
|
"--slotted-border-strong",
|
|
319
344
|
"--slotted-border-subtle",
|
|
320
345
|
"--slotted-border-width-medium",
|
|
346
|
+
"--slotted-border-width-thick",
|
|
321
347
|
"--slotted-border-width-thin",
|
|
322
348
|
"--slotted-control-border-color",
|
|
323
349
|
"--slotted-control-border-width",
|
|
350
|
+
"--slotted-control-focus-ring-offset",
|
|
324
351
|
"--slotted-control-font-family",
|
|
325
352
|
"--slotted-control-font-size-lg",
|
|
326
353
|
"--slotted-control-font-size-md",
|
|
@@ -340,9 +367,14 @@
|
|
|
340
367
|
"--slotted-control-surface",
|
|
341
368
|
"--slotted-control-transition-duration",
|
|
342
369
|
"--slotted-control-transition-easing",
|
|
370
|
+
"--slotted-data-1",
|
|
371
|
+
"--slotted-data-2",
|
|
372
|
+
"--slotted-data-3",
|
|
373
|
+
"--slotted-data-5",
|
|
343
374
|
"--slotted-disabled-background",
|
|
344
375
|
"--slotted-disabled-border",
|
|
345
376
|
"--slotted-disabled-foreground",
|
|
377
|
+
"--slotted-duration-loop-slow",
|
|
346
378
|
"--slotted-duration-medium",
|
|
347
379
|
"--slotted-duration-short",
|
|
348
380
|
"--slotted-easing-enter",
|
|
@@ -378,6 +410,13 @@
|
|
|
378
410
|
"--slotted-prompt-composer-raised-focus-shadow",
|
|
379
411
|
"--slotted-prompt-composer-raised-shadow",
|
|
380
412
|
"--slotted-prompt-composer-readonly-background",
|
|
413
|
+
"--slotted-prompt-composer-ring-colors",
|
|
414
|
+
"--slotted-prompt-composer-ring-duration",
|
|
415
|
+
"--slotted-prompt-composer-ring-glow-opacity",
|
|
416
|
+
"--slotted-prompt-composer-ring-glow-opacity-busy",
|
|
417
|
+
"--slotted-prompt-composer-ring-glow-opacity-focus",
|
|
418
|
+
"--slotted-prompt-composer-ring-glow-reach",
|
|
419
|
+
"--slotted-prompt-composer-ring-width",
|
|
381
420
|
"--slotted-prompt-composer-rows",
|
|
382
421
|
"--slotted-prompt-composer-selection-background",
|
|
383
422
|
"--slotted-prompt-composer-shadow",
|
|
@@ -398,6 +437,7 @@
|
|
|
398
437
|
"--slotted-space-3",
|
|
399
438
|
"--slotted-space-4",
|
|
400
439
|
"--slotted-space-5",
|
|
440
|
+
"--slotted-space-8",
|
|
401
441
|
"--slotted-surface-sunken",
|
|
402
442
|
"--slotted-target-comfortable",
|
|
403
443
|
"--slotted-target-min",
|
package/docs/prompt-composer.md
CHANGED
|
@@ -49,6 +49,8 @@ Excerpt — not a complete module
|
|
|
49
49
|
| `action` | button[slPromptComposerAction] | no |
|
|
50
50
|
| `attach` | button[slPromptComposerAttach] | no |
|
|
51
51
|
| `submit` | button[slPromptComposerSubmit] | no |
|
|
52
|
+
| `ring` | span, aria-hidden | no |
|
|
53
|
+
| `glow` | span, aria-hidden | no |
|
|
52
54
|
|
|
53
55
|
## Props
|
|
54
56
|
|
|
@@ -60,6 +62,7 @@ Excerpt — not a complete module
|
|
|
60
62
|
| `submitOn` | `'enter' \| 'mod-enter'` | enter | slPromptComposer, providePromptComposerDefaults | Which key sends. Shift+Enter always breaks a line; Mod+Enter always sends |
|
|
61
63
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slPromptComposer, providePromptComposerDefaults | The control step, read from the field first |
|
|
62
64
|
| `variant` | `'raised' \| 'outline' \| 'subtle'` | raised | slPromptComposer, providePromptComposerDefaults | raised is the chat surface; outline and subtle sit inside a form |
|
|
65
|
+
| `emphasis` | `'none' \| 'ring'` | none | sl-prompt-composer | A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colours bring the border back |
|
|
63
66
|
| `canSubmit` | `boolean` | the value is not blank | slPromptComposer | Whether the send is available; an application with attachments ready says true |
|
|
64
67
|
| `accept / maxSize / maxFiles / multiple` | `string / number / number / boolean` | — / — / — / true | slPromptComposer | The selection rules upload applies, for the paperclip, a paste and a drop |
|
|
65
68
|
| `disabled` | `boolean` | from the field, or false | slPromptComposer | Unstated rather than false, so the composer defers to its field. The native attribute on the textarea; the paperclip and the send leave the tab order with it |
|
|
@@ -94,6 +97,7 @@ Excerpt — not a complete module
|
|
|
94
97
|
| `variant` | `raised`, `outline`, `subtle` | `raised` |
|
|
95
98
|
| `submitOn` | `enter`, `mod-enter` | `enter` |
|
|
96
99
|
| `status` | `ready`, `submitted`, `streaming`, `error` | `ready` |
|
|
100
|
+
| `emphasis` | `none`, `ring` | — |
|
|
97
101
|
|
|
98
102
|
## Rules
|
|
99
103
|
|
|
@@ -106,7 +110,7 @@ Excerpt — not a complete module
|
|
|
106
110
|
|
|
107
111
|
## Tokens
|
|
108
112
|
|
|
109
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-md`, `--slotted-prompt-composer-action-active-background`, `--slotted-prompt-composer-action-color`, `--slotted-prompt-composer-action-hover-background`, `--slotted-prompt-composer-action-label-color`, `--slotted-prompt-composer-background`, `--slotted-prompt-composer-border-color`, `--slotted-prompt-composer-caret-color`, `--slotted-prompt-composer-color`, `--slotted-prompt-composer-disabled-background`, `--slotted-prompt-composer-disabled-border-color`, `--slotted-prompt-composer-disabled-color`, `--slotted-prompt-composer-drop-background`, `--slotted-prompt-composer-drop-border-color`, `--slotted-prompt-composer-hover-border-color`, `--slotted-prompt-composer-invalid-border-color`, `--slotted-prompt-composer-invalid-edge-width`, `--slotted-prompt-composer-invalid-focus-ring-color`, `--slotted-prompt-composer-line-height`, `--slotted-prompt-composer-max-rows`, `--slotted-prompt-composer-placeholder-color`, `--slotted-prompt-composer-radius`, `--slotted-prompt-composer-raised-focus-shadow`, `--slotted-prompt-composer-raised-shadow`, `--slotted-prompt-composer-readonly-background`, `--slotted-prompt-composer-rows`, `--slotted-prompt-composer-selection-background`, `--slotted-prompt-composer-shadow`, `--slotted-prompt-composer-submit-active-background`, `--slotted-prompt-composer-submit-background`, `--slotted-prompt-composer-submit-color`, `--slotted-prompt-composer-submit-disabled-background`, `--slotted-prompt-composer-submit-hover-background`, `--slotted-prompt-composer-subtle-background`, `--slotted-prompt-composer-subtle-border-color`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-xs`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
113
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-medium`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-data-1`, `--slotted-data-2`, `--slotted-data-3`, `--slotted-data-5`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-md`, `--slotted-prompt-composer-action-active-background`, `--slotted-prompt-composer-action-color`, `--slotted-prompt-composer-action-hover-background`, `--slotted-prompt-composer-action-label-color`, `--slotted-prompt-composer-background`, `--slotted-prompt-composer-border-color`, `--slotted-prompt-composer-caret-color`, `--slotted-prompt-composer-color`, `--slotted-prompt-composer-disabled-background`, `--slotted-prompt-composer-disabled-border-color`, `--slotted-prompt-composer-disabled-color`, `--slotted-prompt-composer-drop-background`, `--slotted-prompt-composer-drop-border-color`, `--slotted-prompt-composer-hover-border-color`, `--slotted-prompt-composer-invalid-border-color`, `--slotted-prompt-composer-invalid-edge-width`, `--slotted-prompt-composer-invalid-focus-ring-color`, `--slotted-prompt-composer-line-height`, `--slotted-prompt-composer-max-rows`, `--slotted-prompt-composer-placeholder-color`, `--slotted-prompt-composer-radius`, `--slotted-prompt-composer-raised-focus-shadow`, `--slotted-prompt-composer-raised-shadow`, `--slotted-prompt-composer-readonly-background`, `--slotted-prompt-composer-ring-colors`, `--slotted-prompt-composer-ring-duration`, `--slotted-prompt-composer-ring-glow-opacity`, `--slotted-prompt-composer-ring-glow-opacity-busy`, `--slotted-prompt-composer-ring-glow-opacity-focus`, `--slotted-prompt-composer-ring-glow-reach`, `--slotted-prompt-composer-ring-width`, `--slotted-prompt-composer-rows`, `--slotted-prompt-composer-selection-background`, `--slotted-prompt-composer-shadow`, `--slotted-prompt-composer-submit-active-background`, `--slotted-prompt-composer-submit-background`, `--slotted-prompt-composer-submit-color`, `--slotted-prompt-composer-submit-disabled-background`, `--slotted-prompt-composer-submit-hover-background`, `--slotted-prompt-composer-subtle-background`, `--slotted-prompt-composer-subtle-border-color`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-xs`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-8`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
110
114
|
|
|
111
115
|
## Examples
|
|
112
116
|
|
package/docs/rating.json
CHANGED
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"tone": [
|
|
16
16
|
"accent",
|
|
17
|
+
"info",
|
|
17
18
|
"success",
|
|
18
19
|
"warning",
|
|
19
20
|
"danger"
|
|
@@ -241,7 +242,7 @@
|
|
|
241
242
|
},
|
|
242
243
|
{
|
|
243
244
|
"name": "tone",
|
|
244
|
-
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
245
|
+
"type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
|
|
245
246
|
"defaultValue": "warning",
|
|
246
247
|
"appliesTo": "SlRating, provideRating",
|
|
247
248
|
"description": "The colour of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit"
|
|
@@ -457,7 +458,7 @@
|
|
|
457
458
|
},
|
|
458
459
|
{
|
|
459
460
|
"name": "tone",
|
|
460
|
-
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
461
|
+
"type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
|
|
461
462
|
"defaultValue": "warning",
|
|
462
463
|
"appliesTo": "SlRatingDisplay, provideRating",
|
|
463
464
|
"description": "The colour of the lit share"
|
|
@@ -757,7 +758,7 @@
|
|
|
757
758
|
},
|
|
758
759
|
{
|
|
759
760
|
"name": "tone",
|
|
760
|
-
"type": "'accent' | 'success' | 'warning' | 'danger'",
|
|
761
|
+
"type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
|
|
761
762
|
"defaultValue": "warning",
|
|
762
763
|
"appliesTo": "SlRatingSummary, provideRating",
|
|
763
764
|
"description": "The colour of the stars and the bars"
|
|
@@ -883,6 +884,7 @@
|
|
|
883
884
|
"--slotted-tone-danger-solid",
|
|
884
885
|
"--slotted-tone-danger-surface",
|
|
885
886
|
"--slotted-tone-danger-text",
|
|
887
|
+
"--slotted-tone-info-solid",
|
|
886
888
|
"--slotted-tone-secondary-border",
|
|
887
889
|
"--slotted-tone-secondary-subtle-active",
|
|
888
890
|
"--slotted-tone-secondary-subtle-hover",
|
package/docs/rating.md
CHANGED
|
@@ -105,7 +105,7 @@ Excerpt — not a complete module
|
|
|
105
105
|
| `step` | `1 \| 0.5` | 1 | SlRating | The smallest move. A half adds a second radio per symbol; smaller fractions are refused because a third of a star is below the minimum target |
|
|
106
106
|
| `clearable` | `boolean` | true | SlRating, provideRating | Whether a press on the checked radio, Backspace or Delete empty the value, with the reason clear |
|
|
107
107
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | SlRating, provideRating | The step of the symbols and the caption. Read from the field or field group first |
|
|
108
|
-
| `tone` | `'accent' \| 'success' \| 'warning' \| 'danger'` | warning | SlRating, provideRating | The colour of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit |
|
|
108
|
+
| `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRating, provideRating | The colour of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit |
|
|
109
109
|
| `name` | `string` | generated | SlRating | The submission name every radio shares. Generated when none is written, because an unnamed set of radios is not a group |
|
|
110
110
|
| `form` | `string` | — | SlRating | The form the radios belong to when the rating sits outside it |
|
|
111
111
|
| `disabled` | `boolean` | from the field, or false | SlRating | Native on every radio: the row leaves the tab order. A disabled form control sets it too |
|
|
@@ -128,7 +128,7 @@ Excerpt — not a complete module
|
|
|
128
128
|
| `value` | `number` | — | SlRatingDisplay | The number drawn. Any fraction; clamped to the scale, NaN drawn as nought |
|
|
129
129
|
| `max` | `number` | 5 | SlRatingDisplay, provideRating | How many symbols the scale has |
|
|
130
130
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | SlRatingDisplay, provideRating | The step of the symbols and the text |
|
|
131
|
-
| `tone` | `'accent' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingDisplay, provideRating | The colour of the lit share |
|
|
131
|
+
| `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingDisplay, provideRating | The colour of the lit share |
|
|
132
132
|
| `variant` | `'full' \| 'compact' \| 'histogram'` | full | SlRatingDisplay | Every symbol; one lit star with the number; or one star, the number and the distribution |
|
|
133
133
|
| `count` | `number` | — | SlRatingDisplay | How many readings. Written beside the stars and in the accessible name |
|
|
134
134
|
| `distribution` | `readonly number[]` | — | SlRatingDisplay | Counts per level, lowest first, drawn by the histogram variant |
|
|
@@ -150,7 +150,7 @@ Excerpt — not a complete module
|
|
|
150
150
|
| `insightThresholds` | `Partial<RatingInsightThresholds>` | { divided: 0.25, few: 30, margin: 0.5, consensus: 0.8 } | SlRatingSummary, provideRating | Where each conclusion is drawn, merged key by key. margin also decides when the spectrum says its mean is uncertain |
|
|
151
151
|
| `showInsight` | `boolean` | true | SlRatingSummary | Whether the spectrum draws its conclusion. The bars variant draws none |
|
|
152
152
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | SlRatingSummary, provideRating | The step of the text and the rows |
|
|
153
|
-
| `tone` | `'accent' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingSummary, provideRating | The colour of the stars and the bars |
|
|
153
|
+
| `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingSummary, provideRating | The colour of the stars and the bars |
|
|
154
154
|
| `messages` | `Partial<RatingMessages>` | — | SlRatingSummary | Words laid over the language in force, key by key — every sentence of the summary: summaryCount, summaryEmpty, spectrumCount, spectrumUncertain, levelLabel, distributionLabel, the buckets and the four conclusions |
|
|
155
155
|
| `locale` | `string` | the language in force | SlRatingSummary | The locale every number is written in |
|
|
156
156
|
| `exportAs="slRatingSummary"` | `SlRatingSummary` | — | a template | Reaches the instance: summary() is the whole summariseRatings result, for a caption of one’s own |
|
|
@@ -177,7 +177,7 @@ Excerpt — not a complete module
|
|
|
177
177
|
| Axis | Values | Default |
|
|
178
178
|
| --- | --- | --- |
|
|
179
179
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
180
|
-
| `tone` | `accent`, `success`, `warning`, `danger` | `warning` |
|
|
180
|
+
| `tone` | `accent`, `info`, `success`, `warning`, `danger` | `warning` |
|
|
181
181
|
| `variant` | `full`, `compact`, `histogram` | `full`, `bars` |
|
|
182
182
|
| `summaryVariant` | `bars`, `spectrum` | — |
|
|
183
183
|
|
|
@@ -197,7 +197,7 @@ Excerpt — not a complete module
|
|
|
197
197
|
|
|
198
198
|
## Tokens
|
|
199
199
|
|
|
200
|
-
`--slotted-border-strong`, `--slotted-border-subtle`, `--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-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-4xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-highlight-tint-opacity`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-rating-active-background`, `--slotted-rating-bar-color`, `--slotted-rating-bar-size`, `--slotted-rating-edge`, `--slotted-rating-empty-color`, `--slotted-rating-gap`, `--slotted-rating-hover-background`, `--slotted-rating-invalid-color`, `--slotted-rating-invalid-edge-width`, `--slotted-rating-lit-color`, `--slotted-rating-symbol-size`, `--slotted-space-1`, `--slotted-space-10`, `--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-surface-inverse`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
200
|
+
`--slotted-border-strong`, `--slotted-border-subtle`, `--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-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-sm`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-4xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-highlight-tint-opacity`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-rating-active-background`, `--slotted-rating-bar-color`, `--slotted-rating-bar-size`, `--slotted-rating-edge`, `--slotted-rating-empty-color`, `--slotted-rating-gap`, `--slotted-rating-hover-background`, `--slotted-rating-invalid-color`, `--slotted-rating-invalid-edge-width`, `--slotted-rating-lit-color`, `--slotted-rating-symbol-size`, `--slotted-space-1`, `--slotted-space-10`, `--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-surface-inverse`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-danger-border`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-solid`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
201
201
|
|
|
202
202
|
## Examples
|
|
203
203
|
|
package/docs/section.json
CHANGED
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"title",
|
|
59
59
|
"eyebrow",
|
|
60
60
|
"heading",
|
|
61
|
+
"tags",
|
|
61
62
|
"description",
|
|
62
63
|
"actions",
|
|
63
64
|
"body"
|
|
@@ -67,8 +68,8 @@
|
|
|
67
68
|
"docs": {
|
|
68
69
|
"section": {
|
|
69
70
|
"imports": {
|
|
70
|
-
"source": "import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionDescription, SlSectionActions, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';",
|
|
71
|
-
"selector": "[slSection], [slSectionHeader], [slSectionTitle], [slSectionEyebrow], [slSectionHeading], [slSectionDescription], [slSectionActions], [slSectionBody]",
|
|
71
|
+
"source": "import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionTags, SlSectionDescription, SlSectionActions, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';",
|
|
72
|
+
"selector": "[slSection], [slSectionHeader], [slSectionTitle], [slSectionEyebrow], [slSectionHeading], [slSectionTags], [slSectionDescription], [slSectionActions], [slSectionBody]",
|
|
72
73
|
"exportAs": "slSection, slSectionHeading"
|
|
73
74
|
},
|
|
74
75
|
"anatomy": [
|
|
@@ -82,19 +83,19 @@
|
|
|
82
83
|
"part": "header",
|
|
83
84
|
"element": "the element carrying slSectionHeader",
|
|
84
85
|
"required": false,
|
|
85
|
-
"purpose": "The row above the body: the
|
|
86
|
+
"purpose": "The row above the body: the heading, its tags and the actions on one baseline, the eyebrow above and the description below on rows of their own. Sticky under the page chrome when sticky is set, painted in the page’s ground so what scrolls under it is covered; its height is measured and added to the sticky top the body publishes, so a table’s column header or a nested section inside stops under it, not under the page."
|
|
86
87
|
},
|
|
87
88
|
{
|
|
88
89
|
"part": "title",
|
|
89
90
|
"element": "the element carrying slSectionTitle",
|
|
90
91
|
"required": false,
|
|
91
|
-
"purpose": "Eyebrow, heading and description, in that order,
|
|
92
|
+
"purpose": "Eyebrow, heading, tags and description, in that order, laid out on the header’s rows, so the actions align with the heading and not with the top of an eyebrow."
|
|
92
93
|
},
|
|
93
94
|
{
|
|
94
95
|
"part": "eyebrow",
|
|
95
96
|
"element": "the element carrying slSectionEyebrow",
|
|
96
97
|
"required": false,
|
|
97
|
-
"purpose": "A short overline above the heading in small capitals — a count, a category. Structural rather than status: status is a
|
|
98
|
+
"purpose": "A short overline above the heading in small capitals — a count, a category. Structural rather than status: status is a tag."
|
|
98
99
|
},
|
|
99
100
|
{
|
|
100
101
|
"part": "heading",
|
|
@@ -102,6 +103,12 @@
|
|
|
102
103
|
"required": false,
|
|
103
104
|
"purpose": "The heading. Rendering it is what names the region. A native heading written by the consumer is left alone; a div or a link gets role=\"heading\" and aria-level from the rank the section resolved."
|
|
104
105
|
},
|
|
106
|
+
{
|
|
107
|
+
"part": "tags",
|
|
108
|
+
"element": "the element carrying slSectionTags",
|
|
109
|
+
"required": false,
|
|
110
|
+
"purpose": "Badges or tags beside the heading — a count, a status — aligned on the heading’s baseline. Outside the heading, so they are not read into the region’s name. They never leave the heading’s row: a long heading wraps its words and the badges stack beside it."
|
|
111
|
+
},
|
|
105
112
|
{
|
|
106
113
|
"part": "description",
|
|
107
114
|
"element": "the p carrying slSectionDescription",
|
|
@@ -112,7 +119,7 @@
|
|
|
112
119
|
"part": "actions",
|
|
113
120
|
"element": "the element carrying slSectionActions",
|
|
114
121
|
"required": false,
|
|
115
|
-
"purpose": "The end of the
|
|
122
|
+
"purpose": "The end of the heading’s row, on its baseline: an slButton, an slToolbar, an slLink. On a header narrower than 20rem it takes a row of its own at the end."
|
|
116
123
|
},
|
|
117
124
|
{
|
|
118
125
|
"part": "body",
|
|
@@ -127,7 +134,7 @@
|
|
|
127
134
|
"type": "'sm' | 'md' | 'lg'",
|
|
128
135
|
"defaultValue": "md",
|
|
129
136
|
"appliesTo": "slSection, provideSectionDefaults",
|
|
130
|
-
"description": "The step the heading
|
|
137
|
+
"description": "The step of the heading: the label’s, xs for sm and md and sm for lg; a nested section’s mixed-case heading, sm, md or lg. Independent of its rank"
|
|
131
138
|
},
|
|
132
139
|
{
|
|
133
140
|
"name": "level",
|
|
@@ -221,13 +228,11 @@
|
|
|
221
228
|
"--slotted-font-size-lg",
|
|
222
229
|
"--slotted-font-size-md",
|
|
223
230
|
"--slotted-font-size-sm",
|
|
224
|
-
"--slotted-font-size-xl",
|
|
225
231
|
"--slotted-font-size-xs",
|
|
226
232
|
"--slotted-font-weight-semibold",
|
|
227
233
|
"--slotted-line-height-lg",
|
|
228
234
|
"--slotted-line-height-md",
|
|
229
235
|
"--slotted-line-height-sm",
|
|
230
|
-
"--slotted-line-height-xl",
|
|
231
236
|
"--slotted-line-height-xs",
|
|
232
237
|
"--slotted-page-ground",
|
|
233
238
|
"--slotted-radius-lg",
|
|
@@ -239,12 +244,19 @@
|
|
|
239
244
|
"--slotted-section-heading-size-sm",
|
|
240
245
|
"--slotted-section-inset",
|
|
241
246
|
"--slotted-section-radius",
|
|
247
|
+
"--slotted-section-spacing",
|
|
248
|
+
"--slotted-section-subheading-size-lg",
|
|
249
|
+
"--slotted-section-subheading-size-md",
|
|
250
|
+
"--slotted-section-subheading-size-sm",
|
|
251
|
+
"--slotted-section-subsection-spacing",
|
|
242
252
|
"--slotted-section-surface",
|
|
243
253
|
"--slotted-space-1",
|
|
244
254
|
"--slotted-space-3",
|
|
245
255
|
"--slotted-space-4",
|
|
246
256
|
"--slotted-space-5",
|
|
247
257
|
"--slotted-space-6",
|
|
258
|
+
"--slotted-space-7",
|
|
259
|
+
"--slotted-space-9",
|
|
248
260
|
"--slotted-surface",
|
|
249
261
|
"--slotted-surface-raised",
|
|
250
262
|
"--slotted-text",
|
|
@@ -263,9 +275,9 @@
|
|
|
263
275
|
{
|
|
264
276
|
"id": "anatomy",
|
|
265
277
|
"title": "Every part, written out",
|
|
266
|
-
"note": "The eyebrow with the count, the heading, the description under it,
|
|
278
|
+
"note": "The eyebrow with the count, the heading with a status tag beside it, the description under it, an action at the end of the heading’s row, and the body with the table. The section is a region named by its heading.",
|
|
267
279
|
"language": "html",
|
|
268
|
-
"source": "<section slSection divider id=\"itens\">\n <div slSectionHeader>\n <div slSectionTitle>\n <span slSectionEyebrow>36 itens</span>\n <h2 slSectionHeading>Itens do pedido</h2>\n <p slSectionDescription>Quantidades conforme a cotação aceite.</p>\n </div>\n <div slSectionActions><button slButton size=\"sm\" variant=\"outline\">Exportar</button></div>\n </div>\n <div slSectionBody><div slTable>…</div></div>\n</section>\n",
|
|
280
|
+
"source": "<section slSection divider id=\"itens\">\n <div slSectionHeader>\n <div slSectionTitle>\n <span slSectionEyebrow>36 itens</span>\n <h2 slSectionHeading>Itens do pedido</h2>\n <div slSectionTags><span slBadge size=\"sm\" tone=\"warning\">Pendente</span></div>\n <p slSectionDescription>Quantidades conforme a cotação aceite.</p>\n </div>\n <div slSectionActions><button slButton size=\"sm\" variant=\"outline\">Exportar</button></div>\n </div>\n <div slSectionBody><div slTable>…</div></div>\n</section>\n",
|
|
269
281
|
"verdict": "excerpt"
|
|
270
282
|
},
|
|
271
283
|
{
|
|
@@ -278,8 +290,8 @@
|
|
|
278
290
|
},
|
|
279
291
|
{
|
|
280
292
|
"id": "size",
|
|
281
|
-
"title": "The step the
|
|
282
|
-
"note": "
|
|
293
|
+
"title": "The step the label sits at",
|
|
294
|
+
"note": "The heading is a label in tracked small capitals: xs for sm and md, sm for lg. A section nested in another sets its heading in mixed case and the muted tone, on sm, md or lg for its own size. The step says nothing about the rank.",
|
|
283
295
|
"language": "html",
|
|
284
296
|
"source": "<section slSection level=\"3\" size=\"lg\">…</section>\n",
|
|
285
297
|
"verdict": "excerpt"
|
|
@@ -287,7 +299,7 @@
|
|
|
287
299
|
{
|
|
288
300
|
"id": "separation",
|
|
289
301
|
"title": "Space, a rule, or a surface",
|
|
290
|
-
"note": "Three sections on the page’s sunken canvas: separated by the
|
|
302
|
+
"note": "Three sections on the page’s sunken canvas: separated by the family’s own spacing and the label alone, by a divider under the header, and by a surface with an edge and a radius — no shadow, no hover, because a section is not a card.",
|
|
291
303
|
"language": "html",
|
|
292
304
|
"source": "<section slSection ground=\"surface\">…</section>\n",
|
|
293
305
|
"verdict": "excerpt"
|
|
@@ -303,7 +315,7 @@
|
|
|
303
315
|
{
|
|
304
316
|
"id": "nested",
|
|
305
317
|
"title": "A section inside a section",
|
|
306
|
-
"note": "The fleet, its heavy vehicles, the tractors: three depths, three ranks, and
|
|
318
|
+
"note": "The fleet, its heavy vehicles, the tractors: three depths, three ranks. The outer heading is a label in small capitals; the inner ones are mixed case in the muted tone, the level read in case, size and tone. Every other rule reaches its part with a child combinator, so the outer header styles nothing else of the inner one.",
|
|
307
319
|
"language": "html",
|
|
308
320
|
"source": "<section slSection size=\"lg\">\n <div slSectionHeading>Frota</div>\n <div slSectionBody>\n <section slSection>\n <div slSectionHeading>Veículos pesados</div>\n <div slSectionBody>\n <section slSection size=\"sm\"><div slSectionHeading>Cavalos mecânicos</div></section>\n </div>\n </section>\n </div>\n</section>\n",
|
|
309
321
|
"verdict": "excerpt"
|
package/docs/section.md
CHANGED
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
## Import
|
|
7
7
|
|
|
8
8
|
```ts
|
|
9
|
-
import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionDescription, SlSectionActions, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';
|
|
9
|
+
import { SlSection, SlSectionHeader, SlSectionTitle, SlSectionEyebrow, SlSectionHeading, SlSectionTags, SlSectionDescription, SlSectionActions, SlSectionBody, provideSectionDefaults } from '@slotted/angular/section';
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
Selector: `[slSection], [slSectionHeader], [slSectionTitle], [slSectionEyebrow], [slSectionHeading], [slSectionDescription], [slSectionActions], [slSectionBody]` · exportAs: `slSection, slSectionHeading`
|
|
12
|
+
Selector: `[slSection], [slSectionHeader], [slSectionTitle], [slSectionEyebrow], [slSectionHeading], [slSectionTags], [slSectionDescription], [slSectionActions], [slSectionBody]` · exportAs: `slSection, slSectionHeading`
|
|
13
13
|
|
|
14
14
|
## Minimal example
|
|
15
15
|
|
|
@@ -33,6 +33,7 @@ Excerpt — not a complete module
|
|
|
33
33
|
| `title` | the element carrying slSectionTitle | no |
|
|
34
34
|
| `eyebrow` | the element carrying slSectionEyebrow | no |
|
|
35
35
|
| `heading` | the h1 to h6 carrying slSectionHeading, or any element, which then gets role="heading" | no |
|
|
36
|
+
| `tags` | the element carrying slSectionTags | no |
|
|
36
37
|
| `description` | the p carrying slSectionDescription | no |
|
|
37
38
|
| `actions` | the element carrying slSectionActions | no |
|
|
38
39
|
| `body` | the element carrying slSectionBody | yes |
|
|
@@ -41,7 +42,7 @@ Excerpt — not a complete module
|
|
|
41
42
|
|
|
42
43
|
| Name | Type | Default | Applies to | Description |
|
|
43
44
|
| --- | --- | --- | --- | --- |
|
|
44
|
-
| `size` | `'sm' \| 'md' \| 'lg'` | md | slSection, provideSectionDefaults | The step the heading
|
|
45
|
+
| `size` | `'sm' \| 'md' \| 'lg'` | md | slSection, provideSectionDefaults | The step of the heading: the label’s, xs for sm and md and sm for lg; a nested section’s mixed-case heading, sm, md or lg. Independent of its rank |
|
|
45
46
|
| `level` | `'auto' \| '1' \| '2' \| '3' \| '4' \| '5' \| '6'` | auto | slSection | The rank of the heading. auto takes the one typography’s outline gives: 2 directly in a page body, one deeper inside another section. A native heading element keeps its own tag; any other element gets aria-level from this |
|
|
46
47
|
| `divider` | `boolean` | false | slSection, provideSectionDefaults | A rule under the header, for a page where space alone does not separate |
|
|
47
48
|
| `ground` | `'none' \| 'surface'` | none | slSection, provideSectionDefaults | none is transparent; surface paints the raised surface with a subtle edge and the large radius — no shadow, no hover, no action, because a section is not a card |
|
|
@@ -73,13 +74,13 @@ Excerpt — not a complete module
|
|
|
73
74
|
|
|
74
75
|
## Tokens
|
|
75
76
|
|
|
76
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-
|
|
77
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-page-ground`, `--slotted-radius-lg`, `--slotted-section-border`, `--slotted-section-description-measure`, `--slotted-section-gap`, `--slotted-section-heading-size-lg`, `--slotted-section-heading-size-md`, `--slotted-section-heading-size-sm`, `--slotted-section-inset`, `--slotted-section-radius`, `--slotted-section-spacing`, `--slotted-section-subheading-size-lg`, `--slotted-section-subheading-size-md`, `--slotted-section-subheading-size-sm`, `--slotted-section-subsection-spacing`, `--slotted-section-surface`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-9`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-z-index-sticky`
|
|
77
78
|
|
|
78
79
|
## Examples
|
|
79
80
|
|
|
80
81
|
### Every part, written out
|
|
81
82
|
|
|
82
|
-
The eyebrow with the count, the heading, the description under it,
|
|
83
|
+
The eyebrow with the count, the heading with a status tag beside it, the description under it, an action at the end of the heading’s row, and the body with the table. The section is a region named by its heading.
|
|
83
84
|
|
|
84
85
|
Excerpt — not a complete module
|
|
85
86
|
|
|
@@ -89,6 +90,7 @@ Excerpt — not a complete module
|
|
|
89
90
|
<div slSectionTitle>
|
|
90
91
|
<span slSectionEyebrow>36 itens</span>
|
|
91
92
|
<h2 slSectionHeading>Itens do pedido</h2>
|
|
93
|
+
<div slSectionTags><span slBadge size="sm" tone="warning">Pendente</span></div>
|
|
92
94
|
<p slSectionDescription>Quantidades conforme a cotação aceite.</p>
|
|
93
95
|
</div>
|
|
94
96
|
<div slSectionActions><button slButton size="sm" variant="outline">Exportar</button></div>
|
|
@@ -112,9 +114,9 @@ Excerpt — not a complete module
|
|
|
112
114
|
</section>
|
|
113
115
|
```
|
|
114
116
|
|
|
115
|
-
### The step the
|
|
117
|
+
### The step the label sits at
|
|
116
118
|
|
|
117
|
-
|
|
119
|
+
The heading is a label in tracked small capitals: xs for sm and md, sm for lg. A section nested in another sets its heading in mixed case and the muted tone, on sm, md or lg for its own size. The step says nothing about the rank.
|
|
118
120
|
|
|
119
121
|
Excerpt — not a complete module
|
|
120
122
|
|
|
@@ -124,7 +126,7 @@ Excerpt — not a complete module
|
|
|
124
126
|
|
|
125
127
|
### Space, a rule, or a surface
|
|
126
128
|
|
|
127
|
-
Three sections on the page’s sunken canvas: separated by the
|
|
129
|
+
Three sections on the page’s sunken canvas: separated by the family’s own spacing and the label alone, by a divider under the header, and by a surface with an edge and a radius — no shadow, no hover, because a section is not a card.
|
|
128
130
|
|
|
129
131
|
Excerpt — not a complete module
|
|
130
132
|
|
|
@@ -144,7 +146,7 @@ Excerpt — not a complete module
|
|
|
144
146
|
|
|
145
147
|
### A section inside a section
|
|
146
148
|
|
|
147
|
-
The fleet, its heavy vehicles, the tractors: three depths, three ranks, and
|
|
149
|
+
The fleet, its heavy vehicles, the tractors: three depths, three ranks. The outer heading is a label in small capitals; the inner ones are mixed case in the muted tone, the level read in case, size and tone. Every other rule reaches its part with a child combinator, so the outer header styles nothing else of the inner one.
|
|
148
150
|
|
|
149
151
|
Excerpt — not a complete module
|
|
150
152
|
|