@slotted/angular 0.1.0-beta.1 → 0.1.0-beta.11
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/action-bar.json +4 -4
- package/docs/action-bar.md +3 -3
- 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 +3 -2
- 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/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/data-grid.examples.md +2 -2
- package/docs/data-grid.json +45 -7
- package/docs/data-grid.md +3 -1
- package/docs/data-grid.props.md +7 -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/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.json +11 -4
- package/docs/drawer.md +4 -3
- 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 +3 -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 +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 +130 -0
- package/docs/guidelines/layout-alignment.md +105 -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 +22 -5
- package/docs/page-header.md +6 -4
- package/docs/page.json +2 -0
- package/docs/page.md +2 -1
- 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 +6 -6
- package/docs/section.json +28 -16
- package/docs/section.md +12 -10
- 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 +103 -0
- package/docs/skills/index.md +9 -0
- package/docs/skills/review-screen/SKILL.md +79 -0
- package/docs/skills/theme-app/SKILL.md +98 -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 +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 +467 -0
- package/docs/toolbar.json +1 -1
- package/docs/toolbar.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 +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 +120 -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 +180 -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 +118 -39
- 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 +142 -63
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +480 -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 +33 -19
- 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 +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 +91 -37
- 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 +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 +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 +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 +175 -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 +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 +195 -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 +90 -48
- 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 +57 -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 +190 -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 +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 +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 +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-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 +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 +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 +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 +72 -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 +12 -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 +15 -6
- 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 +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 +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/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",
|
|
@@ -155,7 +162,7 @@
|
|
|
155
162
|
"type": "boolean",
|
|
156
163
|
"defaultValue": "false",
|
|
157
164
|
"appliesTo": "slSection, provideSectionDefaults",
|
|
158
|
-
"description": "The header stays under the page chrome while the body scrolls, painted in the page’s ground. Without a page it sticks to the top of whatever scrolls"
|
|
165
|
+
"description": "The header stays under the page chrome while the body scrolls, painted in the page’s ground. Without a page it sticks to the top of whatever scrolls. A region inside a page that paints a ground of its own declares --slotted-page-ground with that ground, so a sticky header under it matches the region."
|
|
159
166
|
},
|
|
160
167
|
{
|
|
161
168
|
"name": "id",
|
|
@@ -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,11 +42,11 @@ 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 |
|
|
48
|
-
| `sticky` | `boolean` | false | slSection, provideSectionDefaults | The header stays under the page chrome while the body scrolls, painted in the page’s ground. Without a page it sticks to the top of whatever scrolls |
|
|
49
|
+
| `sticky` | `boolean` | false | slSection, provideSectionDefaults | The header stays under the page chrome while the body scrolls, painted in the page’s ground. Without a page it sticks to the top of whatever scrolls. A region inside a page that paints a ground of its own declares --slotted-page-ground with that ground, so a sticky header under it matches the region. |
|
|
49
50
|
| `id` | `attribute` | generated | slSection | The identifier a hash link reaches, read with HostAttributeToken. The heading’s own id is derived from it |
|
|
50
51
|
| `slSectionHeading on any element` | `directive` | — | the consumer’s own element | A native heading gets nothing added; a div or a link gets role="heading" and aria-level, so a linked or editable title keeps its rank |
|
|
51
52
|
| `exportAs slSection` | `SlSection` | — | a template reference | The resolved rank, size, ground and the identifiers, as signals |
|
|
@@ -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
|
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"condense": [
|
|
20
20
|
"none",
|
|
21
21
|
"icons"
|
|
22
|
+
],
|
|
23
|
+
"variant": [
|
|
24
|
+
"track",
|
|
25
|
+
"underline"
|
|
22
26
|
]
|
|
23
27
|
},
|
|
24
28
|
"members": {
|
|
@@ -29,7 +33,8 @@
|
|
|
29
33
|
"orientation": "horizontal",
|
|
30
34
|
"condense": "none",
|
|
31
35
|
"fullWidth": false,
|
|
32
|
-
"disabled": false
|
|
36
|
+
"disabled": false,
|
|
37
|
+
"variant": "track"
|
|
33
38
|
},
|
|
34
39
|
"capabilities": [
|
|
35
40
|
"selection",
|
|
@@ -145,6 +150,13 @@
|
|
|
145
150
|
"appliesTo": "slSegmentedControl",
|
|
146
151
|
"description": "How the segments flow and which way the thumb travels. A horizontal set writes aria-orientation, because radiogroup already implies vertical"
|
|
147
152
|
},
|
|
153
|
+
{
|
|
154
|
+
"name": "variant",
|
|
155
|
+
"type": "'track' | 'underline'",
|
|
156
|
+
"defaultValue": "track",
|
|
157
|
+
"appliesTo": "slSegmentedControl",
|
|
158
|
+
"description": "How the choice is drawn: a track with a thumb, or the words alone with the chosen one underlined"
|
|
159
|
+
},
|
|
148
160
|
{
|
|
149
161
|
"name": "condense",
|
|
150
162
|
"type": "'none' | 'icons'",
|
|
@@ -262,14 +274,12 @@
|
|
|
262
274
|
}
|
|
263
275
|
},
|
|
264
276
|
"tokens": [
|
|
265
|
-
"--slotted-border-
|
|
266
|
-
"--slotted-control-border-color",
|
|
277
|
+
"--slotted-border-width-thick",
|
|
267
278
|
"--slotted-control-border-width",
|
|
268
279
|
"--slotted-control-font-family",
|
|
269
280
|
"--slotted-control-font-size-lg",
|
|
270
281
|
"--slotted-control-font-size-md",
|
|
271
282
|
"--slotted-control-font-size-sm",
|
|
272
|
-
"--slotted-control-font-weight",
|
|
273
283
|
"--slotted-control-gap-lg",
|
|
274
284
|
"--slotted-control-gap-md",
|
|
275
285
|
"--slotted-control-gap-sm",
|
|
@@ -286,8 +296,6 @@
|
|
|
286
296
|
"--slotted-control-padding-inline-md",
|
|
287
297
|
"--slotted-control-padding-inline-sm",
|
|
288
298
|
"--slotted-control-radius",
|
|
289
|
-
"--slotted-control-shadow",
|
|
290
|
-
"--slotted-control-surface",
|
|
291
299
|
"--slotted-control-transition-duration",
|
|
292
300
|
"--slotted-control-transition-easing",
|
|
293
301
|
"--slotted-disabled-background",
|
|
@@ -298,7 +306,10 @@
|
|
|
298
306
|
"--slotted-easing-standard",
|
|
299
307
|
"--slotted-focus-ring-color",
|
|
300
308
|
"--slotted-focus-ring-color-invalid",
|
|
309
|
+
"--slotted-focus-ring-offset",
|
|
301
310
|
"--slotted-focus-ring-width",
|
|
311
|
+
"--slotted-font-weight-medium",
|
|
312
|
+
"--slotted-radius-full",
|
|
302
313
|
"--slotted-radius-xs",
|
|
303
314
|
"--slotted-segmented-control-active-background",
|
|
304
315
|
"--slotted-segmented-control-background",
|
|
@@ -309,24 +320,29 @@
|
|
|
309
320
|
"--slotted-segmented-control-disabled-color",
|
|
310
321
|
"--slotted-segmented-control-disabled-indicator-background",
|
|
311
322
|
"--slotted-segmented-control-divider-color",
|
|
323
|
+
"--slotted-segmented-control-font-weight",
|
|
324
|
+
"--slotted-segmented-control-gap",
|
|
312
325
|
"--slotted-segmented-control-hover-background",
|
|
313
326
|
"--slotted-segmented-control-indicator-background",
|
|
314
327
|
"--slotted-segmented-control-indicator-border-color",
|
|
328
|
+
"--slotted-segmented-control-indicator-shadow",
|
|
315
329
|
"--slotted-segmented-control-inset",
|
|
316
330
|
"--slotted-segmented-control-invalid-border-color",
|
|
317
331
|
"--slotted-segmented-control-invalid-edge-width",
|
|
318
332
|
"--slotted-segmented-control-invalid-focus-ring-color",
|
|
319
333
|
"--slotted-segmented-control-radius",
|
|
320
334
|
"--slotted-segmented-control-shadow",
|
|
335
|
+
"--slotted-segmented-control-underline-checked-color",
|
|
336
|
+
"--slotted-segmented-control-underline-color",
|
|
337
|
+
"--slotted-segmented-control-underline-gap",
|
|
338
|
+
"--slotted-shadow-xs",
|
|
321
339
|
"--slotted-space-1",
|
|
340
|
+
"--slotted-space-6",
|
|
341
|
+
"--slotted-surface-raised",
|
|
322
342
|
"--slotted-target-min",
|
|
323
343
|
"--slotted-text",
|
|
324
|
-
"--slotted-
|
|
325
|
-
"--slotted-tone-
|
|
326
|
-
"--slotted-tone-accent-text",
|
|
327
|
-
"--slotted-tone-danger-border",
|
|
328
|
-
"--slotted-tone-secondary-subtle-active",
|
|
329
|
-
"--slotted-tone-secondary-subtle-hover"
|
|
344
|
+
"--slotted-text-muted",
|
|
345
|
+
"--slotted-tone-danger-border"
|
|
330
346
|
],
|
|
331
347
|
"examples": [
|
|
332
348
|
{
|
|
@@ -369,6 +385,14 @@
|
|
|
369
385
|
"source": "<div slSegmentedControl aria-label=\"Alinhamento\" defaultValue=\"center\">\n <label slSegment value=\"start\" aria-label=\"Início\">\n <ng-icon slSegmentIcon name=\"lucideAlignLeft\" />\n </label>\n</div>\n",
|
|
370
386
|
"verdict": "excerpt"
|
|
371
387
|
},
|
|
388
|
+
{
|
|
389
|
+
"id": "variants",
|
|
390
|
+
"title": "A track, or the words alone",
|
|
391
|
+
"note": "underline draws the same radio group as words: each as wide as itself, the chosen one in the text colour and underlined, the others muted. One tab stop, the arrows move the value, and inside a field the label names the set.",
|
|
392
|
+
"language": "html",
|
|
393
|
+
"source": "<div slSegmentedControl aria-label=\"Período\" defaultValue=\"month\" variant=\"underline\">\n <label slSegment value=\"day\">Dia</label>\n <label slSegment value=\"week\">Semana</label>\n <label slSegment value=\"month\">Mês</label>\n</div>\n",
|
|
394
|
+
"verdict": "excerpt"
|
|
395
|
+
},
|
|
372
396
|
{
|
|
373
397
|
"id": "condense",
|
|
374
398
|
"title": "Narrower than its words",
|
|
@@ -48,6 +48,7 @@ Excerpt — not a complete module
|
|
|
48
48
|
| `name` | `string` | — | slSegmentedControl | The submission name the segments share, and the reason the platform treats them as one radio group. Generated when none is written, from an application-scoped factory so the server and the client agree |
|
|
49
49
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slSegmentedControl | The control step. The track measures its segments back from it, so the whole control is exactly as tall as the field beside it |
|
|
50
50
|
| `orientation` | `'horizontal' \| 'vertical'` | horizontal | slSegmentedControl | How the segments flow and which way the thumb travels. A horizontal set writes aria-orientation, because radiogroup already implies vertical |
|
|
51
|
+
| `variant` | `'track' \| 'underline'` | track | slSegmentedControl | How the choice is drawn: a track with a thumb, or the words alone with the chosen one underlined |
|
|
51
52
|
| `condense` | `'none' \| 'icons'` | none | slSegmentedControl | What the control does when it is narrower than its labels need. icons keeps the marks and hides the words, and makes the control take its parent’s width so there is a width to ask a question about |
|
|
52
53
|
| `fullWidth` | `boolean` | false | slSegmentedControl | Whether the equal columns spread across the whole line. Left alone every column is the widest label’s |
|
|
53
54
|
| `disabled` | `boolean` | false | slSegmentedControl | Unstated rather than false, so the control defers to the field around it and to a form that disables it. Stated, it reaches every radio as the native attribute |
|
|
@@ -76,6 +77,7 @@ Excerpt — not a complete module
|
|
|
76
77
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
77
78
|
| `orientation` | `horizontal`, `vertical` | `horizontal` |
|
|
78
79
|
| `condense` | `none`, `icons` | `none` |
|
|
80
|
+
| `variant` | `track`, `underline` | `track` |
|
|
79
81
|
|
|
80
82
|
## Rules
|
|
81
83
|
|
|
@@ -88,7 +90,7 @@ Excerpt — not a complete module
|
|
|
88
90
|
|
|
89
91
|
## Tokens
|
|
90
92
|
|
|
91
|
-
`--slotted-border-
|
|
93
|
+
`--slotted-border-width-thick`, `--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-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-invalid-edge-width`, `--slotted-control-letter-spacing`, `--slotted-control-line-height`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--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-radius-full`, `--slotted-radius-xs`, `--slotted-segmented-control-active-background`, `--slotted-segmented-control-background`, `--slotted-segmented-control-border-color`, `--slotted-segmented-control-checked-color`, `--slotted-segmented-control-color`, `--slotted-segmented-control-disabled-border-color`, `--slotted-segmented-control-disabled-color`, `--slotted-segmented-control-disabled-indicator-background`, `--slotted-segmented-control-divider-color`, `--slotted-segmented-control-font-weight`, `--slotted-segmented-control-gap`, `--slotted-segmented-control-hover-background`, `--slotted-segmented-control-indicator-background`, `--slotted-segmented-control-indicator-border-color`, `--slotted-segmented-control-indicator-shadow`, `--slotted-segmented-control-inset`, `--slotted-segmented-control-invalid-border-color`, `--slotted-segmented-control-invalid-edge-width`, `--slotted-segmented-control-invalid-focus-ring-color`, `--slotted-segmented-control-radius`, `--slotted-segmented-control-shadow`, `--slotted-segmented-control-underline-checked-color`, `--slotted-segmented-control-underline-color`, `--slotted-segmented-control-underline-gap`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-danger-border`
|
|
92
94
|
|
|
93
95
|
## Examples
|
|
94
96
|
|
|
@@ -145,6 +147,20 @@ Excerpt — not a complete module
|
|
|
145
147
|
</div>
|
|
146
148
|
```
|
|
147
149
|
|
|
150
|
+
### A track, or the words alone
|
|
151
|
+
|
|
152
|
+
underline draws the same radio group as words: each as wide as itself, the chosen one in the text colour and underlined, the others muted. One tab stop, the arrows move the value, and inside a field the label names the set.
|
|
153
|
+
|
|
154
|
+
Excerpt — not a complete module
|
|
155
|
+
|
|
156
|
+
```html
|
|
157
|
+
<div slSegmentedControl aria-label="Período" defaultValue="month" variant="underline">
|
|
158
|
+
<label slSegment value="day">Dia</label>
|
|
159
|
+
<label slSegment value="week">Semana</label>
|
|
160
|
+
<label slSegment value="month">Mês</label>
|
|
161
|
+
</div>
|
|
162
|
+
```
|
|
163
|
+
|
|
148
164
|
### Narrower than its words
|
|
149
165
|
|
|
150
166
|
Below the width its labels need, a control told to condense keeps its marks and hides its words — hidden, never removed, so every segment is announced the same at every width.
|
package/docs/select.json
CHANGED
|
@@ -829,6 +829,7 @@
|
|
|
829
829
|
"--slotted-border-width-thin",
|
|
830
830
|
"--slotted-control-border-color",
|
|
831
831
|
"--slotted-control-border-width",
|
|
832
|
+
"--slotted-control-focus-ring-offset",
|
|
832
833
|
"--slotted-control-font-family",
|
|
833
834
|
"--slotted-control-font-size-lg",
|
|
834
835
|
"--slotted-control-font-size-md",
|
package/docs/select.md
CHANGED
|
@@ -192,7 +192,7 @@ export class SelectBasic {
|
|
|
192
192
|
|
|
193
193
|
## Tokens
|
|
194
194
|
|
|
195
|
-
`--slotted-border-subtle`, `--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-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--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-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-select-action-active-background`, `--slotted-select-action-color`, `--slotted-select-action-hover-background`, `--slotted-select-action-size`, `--slotted-select-arrow-color`, `--slotted-select-background`, `--slotted-select-border-color`, `--slotted-select-color`, `--slotted-select-content-border-color`, `--slotted-select-content-padding-block`, `--slotted-select-content-padding-inline`, `--slotted-select-content-radius`, `--slotted-select-content-shadow`, `--slotted-select-content-text`, `--slotted-select-content-text-muted`, `--slotted-select-disabled-background`, `--slotted-select-disabled-border-color`, `--slotted-select-disabled-color`, `--slotted-select-highlight`, `--slotted-select-highlight-active`, `--slotted-select-highlight-ring`, `--slotted-select-hover-border-color`, `--slotted-select-icon-size-min`, `--slotted-select-invalid-border-color`, `--slotted-select-invalid-edge-width`, `--slotted-select-invalid-focus-ring-color`, `--slotted-select-item-radius`, `--slotted-select-measure`, `--slotted-select-open-border-color`, `--slotted-select-placeholder-color`, `--slotted-select-plain-hover-background`, `--slotted-select-radius`, `--slotted-select-readonly-background`, `--slotted-select-search-icon-color`, `--slotted-select-selected-color`, `--slotted-select-separator-color`, `--slotted-select-shadow`, `--slotted-select-subtle-background`, `--slotted-select-subtle-border-color`, `--slotted-select-subtle-hover-background`, `--slotted-select-surface`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
195
|
+
`--slotted-border-subtle`, `--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-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-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--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-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-select-action-active-background`, `--slotted-select-action-color`, `--slotted-select-action-hover-background`, `--slotted-select-action-size`, `--slotted-select-arrow-color`, `--slotted-select-background`, `--slotted-select-border-color`, `--slotted-select-color`, `--slotted-select-content-border-color`, `--slotted-select-content-padding-block`, `--slotted-select-content-padding-inline`, `--slotted-select-content-radius`, `--slotted-select-content-shadow`, `--slotted-select-content-text`, `--slotted-select-content-text-muted`, `--slotted-select-disabled-background`, `--slotted-select-disabled-border-color`, `--slotted-select-disabled-color`, `--slotted-select-highlight`, `--slotted-select-highlight-active`, `--slotted-select-highlight-ring`, `--slotted-select-hover-border-color`, `--slotted-select-icon-size-min`, `--slotted-select-invalid-border-color`, `--slotted-select-invalid-edge-width`, `--slotted-select-invalid-focus-ring-color`, `--slotted-select-item-radius`, `--slotted-select-measure`, `--slotted-select-open-border-color`, `--slotted-select-placeholder-color`, `--slotted-select-plain-hover-background`, `--slotted-select-radius`, `--slotted-select-readonly-background`, `--slotted-select-search-icon-color`, `--slotted-select-selected-color`, `--slotted-select-separator-color`, `--slotted-select-shadow`, `--slotted-select-subtle-background`, `--slotted-select-subtle-border-color`, `--slotted-select-subtle-hover-background`, `--slotted-select-surface`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
196
196
|
|
|
197
197
|
## Examples
|
|
198
198
|
|
|
@@ -403,6 +403,7 @@
|
|
|
403
403
|
"--slotted-app-shell-row-inset",
|
|
404
404
|
"--slotted-app-shell-row-line-height",
|
|
405
405
|
"--slotted-app-shell-row-mark",
|
|
406
|
+
"--slotted-app-shell-row-ring-inset",
|
|
406
407
|
"--slotted-border-subtle",
|
|
407
408
|
"--slotted-border-width-thin",
|
|
408
409
|
"--slotted-control-font-family",
|
package/docs/side-navigation.md
CHANGED
|
@@ -139,7 +139,7 @@ export class SideNavigationBasic {
|
|
|
139
139
|
|
|
140
140
|
## Tokens
|
|
141
141
|
|
|
142
|
-
`--slotted-app-shell-row-font-size`, `--slotted-app-shell-row-gap`, `--slotted-app-shell-row-height`, `--slotted-app-shell-row-inset`, `--slotted-app-shell-row-line-height`, `--slotted-app-shell-row-mark`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--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-transition-duration`, `--slotted-control-transition-easing`, `--slotted-current-edge`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-shadow-md`, `--slotted-side-navigation-active-background`, `--slotted-side-navigation-color`, `--slotted-side-navigation-current-background`, `--slotted-side-navigation-current-color`, `--slotted-side-navigation-current-description-color`, `--slotted-side-navigation-current-edge`, `--slotted-side-navigation-description-color`, `--slotted-side-navigation-description-gap`, `--slotted-side-navigation-dot-color`, `--slotted-side-navigation-dot-size`, `--slotted-side-navigation-flyout-border-color`, `--slotted-side-navigation-flyout-measure`, `--slotted-side-navigation-flyout-min-measure`, `--slotted-side-navigation-flyout-radius`, `--slotted-side-navigation-flyout-shadow`, `--slotted-side-navigation-flyout-surface`, `--slotted-side-navigation-guide-color`, `--slotted-side-navigation-hover-background`, `--slotted-side-navigation-hover-color`, `--slotted-side-navigation-indent`, `--slotted-side-navigation-indent-step`, `--slotted-side-navigation-radius`, `--slotted-side-navigation-row-gap`, `--slotted-side-navigation-section-color`, `--slotted-side-navigation-section-gap`, `--slotted-side-navigation-section-label-gap`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
142
|
+
`--slotted-app-shell-row-font-size`, `--slotted-app-shell-row-gap`, `--slotted-app-shell-row-height`, `--slotted-app-shell-row-inset`, `--slotted-app-shell-row-line-height`, `--slotted-app-shell-row-mark`, `--slotted-app-shell-row-ring-inset`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--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-transition-duration`, `--slotted-control-transition-easing`, `--slotted-current-edge`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-shadow-md`, `--slotted-side-navigation-active-background`, `--slotted-side-navigation-color`, `--slotted-side-navigation-current-background`, `--slotted-side-navigation-current-color`, `--slotted-side-navigation-current-description-color`, `--slotted-side-navigation-current-edge`, `--slotted-side-navigation-description-color`, `--slotted-side-navigation-description-gap`, `--slotted-side-navigation-dot-color`, `--slotted-side-navigation-dot-size`, `--slotted-side-navigation-flyout-border-color`, `--slotted-side-navigation-flyout-measure`, `--slotted-side-navigation-flyout-min-measure`, `--slotted-side-navigation-flyout-radius`, `--slotted-side-navigation-flyout-shadow`, `--slotted-side-navigation-flyout-surface`, `--slotted-side-navigation-guide-color`, `--slotted-side-navigation-hover-background`, `--slotted-side-navigation-hover-color`, `--slotted-side-navigation-indent`, `--slotted-side-navigation-indent-step`, `--slotted-side-navigation-radius`, `--slotted-side-navigation-row-gap`, `--slotted-side-navigation-section-color`, `--slotted-side-navigation-section-gap`, `--slotted-side-navigation-section-label-gap`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
143
143
|
|
|
144
144
|
## Examples
|
|
145
145
|
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: build-own-element
|
|
3
|
+
description: Use when writing a component, widget or visual element that no family of @slotted/angular draws — a timeline strip, a seat map, a heat grid, a bespoke control. Proves first that no family answers, then builds the element from the theme's tokens with the states, focus, target size, forced colours and motion the families keep.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Build an element of the application's own
|
|
7
|
+
|
|
8
|
+
An element of the application's own is a node the application writes and
|
|
9
|
+
styles itself, outside any family (CP-04). It is the last resort, and it is
|
|
10
|
+
built from the same theme as the families beside it.
|
|
11
|
+
|
|
12
|
+
## 1. Prove that no family answers
|
|
13
|
+
|
|
14
|
+
1. Read `../../index.md` and list the families whose line is near the
|
|
15
|
+
element.
|
|
16
|
+
2. Read `../../<family>.md` for each: its anatomy, its slots, its axes.
|
|
17
|
+
When a family draws the element, or names a slot that holds it, the family
|
|
18
|
+
is used (CP-01).
|
|
19
|
+
3. When a family draws a part of the element — a toggle, a popup, a list, a
|
|
20
|
+
tooltip — that part is the family, and only the rest is written.
|
|
21
|
+
4. Write, in a comment above the element, the families read and what each
|
|
22
|
+
lacks.
|
|
23
|
+
|
|
24
|
+
## 2. What is free and what is fixed
|
|
25
|
+
|
|
26
|
+
Free, decided by the problem:
|
|
27
|
+
|
|
28
|
+
- the element's shape, its arrangement and how it encodes the data — a strip,
|
|
29
|
+
a grid, a ring, a map;
|
|
30
|
+
- which states it has, and what each state shows;
|
|
31
|
+
- its layout inside the box it is given.
|
|
32
|
+
|
|
33
|
+
Fixed, read from the theme:
|
|
34
|
+
|
|
35
|
+
- every value it paints comes from a token of the group
|
|
36
|
+
`../../tokens.md` lists for that decision (OE-01, CP-05);
|
|
37
|
+
- a tone carries the meaning the `tone` group gives it, and a data series takes
|
|
38
|
+
the `data` slots in order;
|
|
39
|
+
- how its states yield, how focus is drawn, how large a target is, what forced
|
|
40
|
+
colours keep and how it moves (OE-02 to OE-07).
|
|
41
|
+
|
|
42
|
+
A new appearance is a new combination of tokens, never a new value.
|
|
43
|
+
|
|
44
|
+
## 3. Map each decision to a group
|
|
45
|
+
|
|
46
|
+
| Decision | Group in `../../tokens.md` |
|
|
47
|
+
| ---------------------------------------------- | --------------------------------------------------- |
|
|
48
|
+
| Distance between parts, inner padding | `space` |
|
|
49
|
+
| Corners | `radius` |
|
|
50
|
+
| Ground of the element and its parts | `surface`; `tone` when the ground carries an intent |
|
|
51
|
+
| Text | `text`, `font-size`, `font-weight`, `line-height` |
|
|
52
|
+
| Edges | `border`, `border-width` |
|
|
53
|
+
| Series and categories of data | `data` |
|
|
54
|
+
| The place the reader is on, a matched span | `current`, `highlight` |
|
|
55
|
+
| Focus | `focus-ring` |
|
|
56
|
+
| Hit area | `target` |
|
|
57
|
+
| A part that stands beside controls | `control`, `control-size` |
|
|
58
|
+
| Movement | `duration`, `easing` |
|
|
59
|
+
| A surface above another, a layer over the page | `shadow`, `z-index` |
|
|
60
|
+
| A disabled part | `disabled` |
|
|
61
|
+
|
|
62
|
+
A decision no group names is written as a literal beside a comment that says
|
|
63
|
+
why no token covers it (CP-05).
|
|
64
|
+
|
|
65
|
+
## 4. Write it
|
|
66
|
+
|
|
67
|
+
1. Give each interactive part the native element that carries its role: a
|
|
68
|
+
button for an action, a link for a destination, an input for a value. Add
|
|
69
|
+
ARIA only where no element carries the role.
|
|
70
|
+
2. List the element's states, and paint each pair that can hold at once in the
|
|
71
|
+
order of OE-02.
|
|
72
|
+
3. Draw focus on `:focus-visible` as an outline of `--slotted-focus-ring-width`
|
|
73
|
+
in `--slotted-focus-ring-color`, offset by `--slotted-focus-ring-offset`
|
|
74
|
+
(OE-03). Size every target to `--slotted-target-min` (OE-04), and take the
|
|
75
|
+
control step of the controls beside it (OE-05).
|
|
76
|
+
4. Under `forced-colors: active`, tell each state from rest by a border,
|
|
77
|
+
an outline or text (OE-06). Move with the motion tokens, and stop a
|
|
78
|
+
repeating animation under `prefers-reduced-motion: reduce` (OE-07).
|
|
79
|
+
5. Write the CSS in a layer of the application after the library's, on class
|
|
80
|
+
names of the element's own (OE-08). Reflow by a container query on a
|
|
81
|
+
container of its own (OE-09). Float with a raised surface and one shadow
|
|
82
|
+
step (OE-10).
|
|
83
|
+
6. Text that stands alone takes its size from the `typography` family (CP-02).
|
|
84
|
+
|
|
85
|
+
## 5. Done
|
|
86
|
+
|
|
87
|
+
1. Each `Check` of `../../guidelines/own-elements.md` passes.
|
|
88
|
+
2. The element's CSS holds no colour or length literal without its comment.
|
|
89
|
+
3. Every custom property the element reads is listed in
|
|
90
|
+
`../../tokens.md` above "Read by their family only".
|