@slotted/angular 0.1.0-beta.2 → 0.1.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/AGENTS.snippet.md +2 -0
- package/docs/action-bar.json +5 -4
- package/docs/action-bar.md +4 -4
- package/docs/action-sheet.json +391 -64
- package/docs/action-sheet.md +259 -0
- package/docs/alert.json +22 -5
- package/docs/alert.md +16 -5
- package/docs/app-shell.examples.md +1 -1
- package/docs/app-shell.json +24 -7
- package/docs/app-shell.md +5 -3
- package/docs/avatar.json +22 -1
- package/docs/avatar.md +5 -3
- package/docs/badge.json +7 -1
- package/docs/badge.md +3 -3
- package/docs/button-group.json +2 -0
- package/docs/button-group.md +1 -1
- package/docs/button.examples.md +15 -0
- package/docs/button.json +165 -11
- package/docs/button.md +34 -6
- package/docs/calendar.json +27 -2
- package/docs/calendar.md +6 -3
- package/docs/cascader.json +1 -0
- package/docs/cascader.md +1 -1
- package/docs/chart.examples.md +1 -1
- package/docs/chart.json +10 -1
- package/docs/chart.md +3 -2
- package/docs/code-block.json +92 -92
- package/docs/code-block.md +69 -69
- package/docs/combobox.json +2 -0
- package/docs/combobox.md +1 -1
- package/docs/command-palette.json +1 -0
- package/docs/command-palette.md +1 -1
- package/docs/currency-field.json +40 -1
- package/docs/currency-field.md +5 -1
- package/docs/dashboard-grid.json +31 -9
- package/docs/dashboard-grid.md +15 -6
- package/docs/data-grid.examples.md +2 -2
- package/docs/data-grid.json +34 -8
- package/docs/data-grid.md +2 -1
- package/docs/data-grid.props.md +6 -4
- package/docs/data-list.json +2 -1
- package/docs/data-list.md +1 -1
- package/docs/date-field.json +9 -1
- package/docs/date-field.md +3 -2
- package/docs/date-picker.examples.md +36 -0
- package/docs/date-picker.json +21 -5
- package/docs/date-picker.md +6 -5
- package/docs/datetime-field.json +1 -0
- package/docs/datetime-field.md +1 -1
- package/docs/description-list.json +9 -1
- package/docs/description-list.md +2 -1
- package/docs/detail-panel.json +4 -2
- package/docs/detail-panel.md +8 -3
- package/docs/dialog.examples.md +158 -136
- package/docs/dialog.json +36 -11
- package/docs/dialog.md +4 -2
- package/docs/dialog.props.md +1 -1
- package/docs/drawer.examples.md +1 -1
- package/docs/drawer.json +29 -10
- package/docs/drawer.md +9 -7
- package/docs/entity-picker.json +20 -4
- package/docs/entity-picker.md +8 -6
- package/docs/event-calendar.md +2 -2
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/form.json +2 -1
- package/docs/form.md +1 -1
- package/docs/guidelines/README.md +2 -2
- package/docs/guidelines/async-feedback.md +25 -4
- package/docs/guidelines/composition.md +33 -7
- package/docs/guidelines/errors-and-conflicts.md +7 -6
- package/docs/guidelines/forms.md +10 -0
- package/docs/guidelines/index.md +16 -4
- package/docs/guidelines/layout-alignment.md +19 -9
- package/docs/guidelines/list-pages.md +44 -3
- package/docs/guidelines/overviews.md +31 -1
- package/docs/guidelines/own-elements.md +1 -1
- package/docs/guidelines/reading-permissions.md +2 -2
- package/docs/guidelines/reports.md +1 -1
- package/docs/icon.json +3 -1
- package/docs/icon.md +3 -3
- package/docs/index.md +2 -2
- package/docs/inline-message.json +20 -7
- package/docs/inline-message.md +11 -9
- package/docs/kbd.json +3 -0
- package/docs/kbd.md +1 -1
- package/docs/link.json +16 -0
- package/docs/link.md +3 -1
- package/docs/list-item.json +19 -3
- package/docs/list-item.md +19 -16
- package/docs/list.json +19 -1
- package/docs/list.md +3 -1
- package/docs/markdown.json +86 -79
- package/docs/markdown.md +66 -65
- package/docs/menu.json +13 -0
- package/docs/menu.md +3 -1
- package/docs/message-scroller.json +1 -1
- package/docs/message.json +7 -1
- package/docs/message.md +3 -3
- package/docs/multi-select.json +1 -0
- package/docs/multi-select.md +1 -1
- package/docs/notification-center.json +4 -0
- package/docs/notification-center.md +2 -2
- package/docs/number-field.json +1 -0
- package/docs/number-field.md +1 -1
- package/docs/otp-input.json +1 -0
- package/docs/otp-input.md +1 -1
- package/docs/page-header.json +22 -5
- package/docs/page-header.md +6 -4
- package/docs/page.json +4 -2
- package/docs/page.md +3 -2
- package/docs/popover.json +2 -1
- package/docs/popover.md +1 -1
- package/docs/progress-indicator.json +3 -1
- package/docs/progress-indicator.md +3 -3
- package/docs/prompt-composer.json +50 -3
- package/docs/prompt-composer.md +8 -2
- package/docs/rating.json +5 -3
- package/docs/rating.md +6 -6
- package/docs/scroll-area.json +266 -64
- package/docs/scroll-area.md +188 -0
- package/docs/section.json +38 -16
- package/docs/section.md +23 -20
- package/docs/segmented-control.json +36 -12
- package/docs/segmented-control.md +17 -1
- package/docs/select.json +2 -0
- package/docs/select.md +1 -1
- package/docs/side-navigation.json +1 -0
- package/docs/side-navigation.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +6 -6
- package/docs/skills/compose-screen/SKILL.md +53 -17
- package/docs/skills/review-screen/SKILL.md +28 -17
- package/docs/skills/theme-app/SKILL.md +53 -15
- package/docs/skills/waiting-states/SKILL.md +14 -10
- package/docs/sparkline.json +5 -2
- package/docs/sparkline.md +4 -4
- package/docs/split-button.json +4 -1
- package/docs/split-button.md +3 -3
- package/docs/splitter.json +279 -64
- package/docs/splitter.md +215 -0
- package/docs/stat-card.json +11 -5
- package/docs/stat-card.md +6 -6
- package/docs/status-indicator.json +16 -5
- package/docs/status-indicator.md +3 -1
- package/docs/table-of-contents.json +2 -1
- package/docs/table-of-contents.md +2 -2
- package/docs/table.examples.md +3 -3
- package/docs/table.json +85 -3
- package/docs/table.md +12 -1
- package/docs/tabs.json +16 -3
- package/docs/tabs.md +3 -2
- package/docs/tag.json +14 -4
- package/docs/tag.md +6 -6
- package/docs/tags-input.json +29 -2
- package/docs/tags-input.md +4 -1
- package/docs/text-field.json +2 -1
- package/docs/text-field.md +2 -2
- package/docs/textarea.json +1 -0
- package/docs/textarea.md +1 -1
- package/docs/time-field.json +1 -0
- package/docs/time-field.md +1 -1
- package/docs/timeline.json +138 -132
- package/docs/timeline.md +125 -125
- package/docs/toast.json +8 -1
- package/docs/toast.md +3 -3
- package/docs/toggle-group.json +14 -3
- package/docs/toggle-group.md +3 -3
- package/docs/toggle.json +12 -3
- package/docs/toggle.md +3 -3
- package/docs/tokens.md +54 -11
- package/docs/toolbar.json +1 -1
- package/docs/toolbar.md +1 -1
- package/docs/tooltip.json +1 -0
- package/docs/tooltip.md +1 -1
- package/docs/tour.json +1 -1
- package/docs/typography.json +4 -2
- package/docs/typography.md +5 -5
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +27 -12
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +29 -16
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +124 -63
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
- package/fesm2022/slotted-angular-attachment.mjs +33 -22
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +9 -6
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +14 -7
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +14 -10
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +26 -18
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +7 -4
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +197 -30
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +263 -65
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +18 -16
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-carousel.mjs +22 -11
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +180 -66
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +59 -20
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +13 -8
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +29 -15
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +20 -15
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +77 -22
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +68 -31
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +108 -35
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +162 -54
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +149 -32
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +295 -68
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +461 -129
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +74 -25
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +112 -40
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +45 -22
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +48 -16
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +41 -29
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +115 -48
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +44 -21
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +79 -37
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-divider.mjs +7 -5
- package/fesm2022/slotted-angular-divider.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +235 -104
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +259 -102
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +14 -7
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +35 -15
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +118 -51
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +18 -10
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +4 -2
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +5 -3
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-hover-card.mjs +5 -4
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +188 -87
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-image.mjs +13 -10
- package/fesm2022/slotted-angular-image.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +175 -99
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +94 -19
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +4 -2
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs +11 -7
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-link.mjs +13 -4
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +63 -23
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +37 -22
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +39 -21
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +59 -22
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +57 -31
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
- package/fesm2022/slotted-angular-menu.mjs +51 -29
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +6 -3
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +34 -15
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +119 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +163 -60
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +108 -65
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +23 -11
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +13 -8
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-page-header.mjs +90 -48
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +60 -12
- package/fesm2022/slotted-angular-page.mjs.map +1 -1
- package/fesm2022/slotted-angular-pagination.mjs +35 -22
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +32 -19
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +236 -52
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
- package/fesm2022/slotted-angular-prose.mjs +14 -11
- package/fesm2022/slotted-angular-prose.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +15 -9
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +138 -82
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs +16 -12
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +43 -16
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
- package/fesm2022/slotted-angular-section.mjs +81 -19
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +37 -11
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +189 -69
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-skeleton.mjs +32 -16
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +31 -11
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-sparkline.mjs +41 -14
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +37 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +4 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +69 -31
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +50 -19
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-stepper.mjs +40 -15
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs +15 -10
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +241 -71
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs +42 -18
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +19 -12
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +253 -28
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +55 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs +6 -3
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +32 -20
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +113 -46
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +147 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +48 -36
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +25 -8
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs +9 -4
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-toolbar.mjs +27 -12
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +15 -6
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
- package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +47 -22
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +69 -30
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-tree.mjs +80 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +8 -4
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +125 -57
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +163 -65
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +3 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- package/types/slotted-angular-action-bar.d.ts +2 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +13 -4
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts +12 -4
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
- package/types/slotted-angular-attachment.d.ts +2 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts.map +1 -1
- package/types/slotted-angular-avatar.d.ts +11 -3
- package/types/slotted-angular-avatar.d.ts.map +1 -1
- package/types/slotted-angular-badge.d.ts +1 -1
- package/types/slotted-angular-badge.d.ts.map +1 -1
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts +1 -1
- package/types/slotted-angular-button-group.d.ts.map +1 -1
- package/types/slotted-angular-button.d.ts +67 -14
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +43 -2
- package/types/slotted-angular-calendar.d.ts.map +1 -1
- package/types/slotted-angular-card.d.ts.map +1 -1
- package/types/slotted-angular-carousel.d.ts.map +1 -1
- package/types/slotted-angular-cascader.d.ts.map +1 -1
- package/types/slotted-angular-chart.d.ts +19 -9
- package/types/slotted-angular-chart.d.ts.map +1 -1
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
- package/types/slotted-angular-checkbox.d.ts.map +1 -1
- package/types/slotted-angular-code-block.d.ts +2 -1
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +2 -1
- package/types/slotted-angular-collapsible.d.ts.map +1 -1
- package/types/slotted-angular-color-picker.d.ts.map +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-combobox.d.ts +6 -1
- package/types/slotted-angular-combobox.d.ts.map +1 -1
- package/types/slotted-angular-command-palette.d.ts +10 -1
- package/types/slotted-angular-command-palette.d.ts.map +1 -1
- package/types/slotted-angular-container.d.ts.map +1 -1
- package/types/slotted-angular-context-menu.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +63 -15
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts +63 -7
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +62 -4
- package/types/slotted-angular-data-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-list.d.ts.map +1 -1
- package/types/slotted-angular-date-field.d.ts +11 -1
- package/types/slotted-angular-date-field.d.ts.map +1 -1
- package/types/slotted-angular-date-picker.d.ts +38 -12
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts +0 -1
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-field.d.ts.map +1 -1
- package/types/slotted-angular-datetime-picker.d.ts +0 -1
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +0 -1
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-description-list.d.ts +11 -3
- package/types/slotted-angular-description-list.d.ts.map +1 -1
- package/types/slotted-angular-detail-panel.d.ts.map +1 -1
- package/types/slotted-angular-dialog.d.ts +11 -3
- package/types/slotted-angular-dialog.d.ts.map +1 -1
- package/types/slotted-angular-divider.d.ts.map +1 -1
- package/types/slotted-angular-drawer.d.ts +29 -3
- package/types/slotted-angular-drawer.d.ts.map +1 -1
- package/types/slotted-angular-entity-picker.d.ts +63 -15
- package/types/slotted-angular-entity-picker.d.ts.map +1 -1
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- package/types/slotted-angular-field.d.ts.map +1 -1
- package/types/slotted-angular-filter-bar.d.ts.map +1 -1
- package/types/slotted-angular-form.d.ts.map +1 -1
- package/types/slotted-angular-fullscreen.d.ts.map +1 -1
- package/types/slotted-angular-grid.d.ts.map +1 -1
- package/types/slotted-angular-highlight.d.ts.map +1 -1
- package/types/slotted-angular-hover-card.d.ts.map +1 -1
- package/types/slotted-angular-icon.d.ts +13 -3
- package/types/slotted-angular-icon.d.ts.map +1 -1
- package/types/slotted-angular-image.d.ts.map +1 -1
- package/types/slotted-angular-import-export-center.d.ts.map +1 -1
- package/types/slotted-angular-inline-message.d.ts +29 -28
- package/types/slotted-angular-inline-message.d.ts.map +1 -1
- package/types/slotted-angular-inline.d.ts.map +1 -1
- package/types/slotted-angular-kbd.d.ts.map +1 -1
- package/types/slotted-angular-link.d.ts +8 -2
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts +5 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +42 -27
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-listbox.d.ts.map +1 -1
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
- package/types/slotted-angular-markdown.d.ts +6 -1
- package/types/slotted-angular-markdown.d.ts.map +1 -1
- package/types/slotted-angular-menu.d.ts +11 -2
- package/types/slotted-angular-menu.d.ts.map +1 -1
- package/types/slotted-angular-menubar.d.ts +5 -4
- package/types/slotted-angular-menubar.d.ts.map +1 -1
- package/types/slotted-angular-message-scroller.d.ts.map +1 -1
- package/types/slotted-angular-message.d.ts +1 -1
- package/types/slotted-angular-message.d.ts.map +1 -1
- package/types/slotted-angular-multi-select.d.ts +6 -1
- package/types/slotted-angular-multi-select.d.ts.map +1 -1
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
- package/types/slotted-angular-notification-center.d.ts +1 -1
- package/types/slotted-angular-notification-center.d.ts.map +1 -1
- package/types/slotted-angular-number-field.d.ts.map +1 -1
- package/types/slotted-angular-otp-input.d.ts.map +1 -1
- package/types/slotted-angular-page-header.d.ts +15 -6
- package/types/slotted-angular-page-header.d.ts.map +1 -1
- package/types/slotted-angular-page.d.ts +7 -1
- package/types/slotted-angular-page.d.ts.map +1 -1
- package/types/slotted-angular-pagination.d.ts.map +1 -1
- package/types/slotted-angular-popover.d.ts.map +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +8 -1
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts +35 -3
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
- package/types/slotted-angular-prose.d.ts.map +1 -1
- package/types/slotted-angular-radio-group.d.ts.map +1 -1
- package/types/slotted-angular-rating.d.ts +1 -1
- package/types/slotted-angular-rating.d.ts.map +1 -1
- package/types/slotted-angular-result-state.d.ts.map +1 -1
- package/types/slotted-angular-saved-views.d.ts.map +1 -1
- package/types/slotted-angular-scroll-area.d.ts.map +1 -1
- package/types/slotted-angular-section.d.ts +14 -4
- package/types/slotted-angular-section.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts +15 -2
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +13 -2
- package/types/slotted-angular-select.d.ts.map +1 -1
- package/types/slotted-angular-side-navigation.d.ts.map +1 -1
- package/types/slotted-angular-skeleton.d.ts.map +1 -1
- package/types/slotted-angular-slider.d.ts.map +1 -1
- package/types/slotted-angular-sparkline.d.ts +7 -1
- package/types/slotted-angular-sparkline.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts +2 -2
- package/types/slotted-angular-split-button.d.ts.map +1 -1
- package/types/slotted-angular-splitter.d.ts.map +1 -1
- package/types/slotted-angular-stack.d.ts.map +1 -1
- package/types/slotted-angular-stat-card.d.ts +9 -4
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +13 -3
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +2 -1
- package/types/slotted-angular-stepper.d.ts.map +1 -1
- package/types/slotted-angular-switch.d.ts.map +1 -1
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
- package/types/slotted-angular-table.d.ts +63 -6
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-tabs.d.ts +3 -4
- package/types/slotted-angular-tabs.d.ts.map +1 -1
- package/types/slotted-angular-tag.d.ts +1 -1
- package/types/slotted-angular-tag.d.ts.map +1 -1
- package/types/slotted-angular-tags-input.d.ts +33 -1
- package/types/slotted-angular-tags-input.d.ts.map +1 -1
- package/types/slotted-angular-text-field.d.ts.map +1 -1
- package/types/slotted-angular-textarea.d.ts.map +1 -1
- package/types/slotted-angular-theme.d.ts +7 -5
- package/types/slotted-angular-theme.d.ts.map +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +0 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +0 -1
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-timeline.d.ts +1 -1
- package/types/slotted-angular-timeline.d.ts.map +1 -1
- package/types/slotted-angular-toast.d.ts +5 -3
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts +8 -2
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
- package/types/slotted-angular-toolbar.d.ts +2 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts +1 -1
- package/types/slotted-angular-typography.d.ts.map +1 -1
- package/types/slotted-angular-upload.d.ts +4 -2
- package/types/slotted-angular-upload.d.ts.map +1 -1
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
- package/types/slotted-angular-wizard.d.ts.map +1 -1
package/docs/guidelines/index.md
CHANGED
|
@@ -11,6 +11,7 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
11
11
|
| AF-05 | MAY | A control's indicator may be delayed by the family's loading delay, so a request that answers first shows no indicator; a region's placeholders are never delayed. | `async-feedback.md` |
|
|
12
12
|
| AF-06 | SHOULD | The application states one minimum duration for the whole product: once placeholders are painted they stay for it, even when the answer has already arrived. | `async-feedback.md` |
|
|
13
13
|
| AF-07 | SHOULD | The page offers Refresh among the header's actions, and a refresh keeps the values on screen, marks the page busy and replaces them when the answer arrives. | `async-feedback.md` |
|
|
14
|
+
| AF-08 | MUST | A successful write marks stale every query whose answer the write can change, and the regions on screen read again; an application that cannot list them marks every query stale; a region that reads again keeps its rows and dims them (LP-06). | `async-feedback.md` |
|
|
14
15
|
| BR-01 | SHOULD | The branch a reader chose is the list's heading and its `breadcrumb`; the filter bar keeps the facets and holds no pill for it. | `browsing.md` |
|
|
15
16
|
| BR-02 | MUST | The query covers the branch and every node beneath it, and the page states how many nodes that is beside how many records they hold. | `browsing.md` |
|
|
16
17
|
| BR-03 | MUST | The number on a row is one of the two and the screen says which; where a node holds records of its own and has nodes under it, the second number is said apart from the first. | `browsing.md` |
|
|
@@ -27,8 +28,10 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
27
28
|
| CP-04 | MAY | When the families' anatomies have been read and none of them answers the problem, the screen writes an element of its own rather than bending a family into a shape it does not have. | `composition.md` |
|
|
28
29
|
| CP-05 | MUST | Every value the element paints comes from the theme — space, type, ink, border, radius, elevation and motion — where the theme has a token for it; a literal is written only beside a comment that says what decided it and why no token covers it. | `composition.md` |
|
|
29
30
|
| CP-06 | SHOULD | A screen states a state once. Where the family has a state for it, the screen sets that state and adds nothing louder beside it. | `composition.md` |
|
|
30
|
-
| CP-07 | SHOULD | A list page is `bleed` with `fill`; a record, a dashboard and an overview keep the default `wide`; a create or edit form is `content`; a page of preferences read as prose is `measure`. | `composition.md` |
|
|
31
31
|
| CP-08 | MUST | Switching the mode changes the words and the values in the region, never the size, the line count or the position of any box in it or around it; text whose length differs between modes stands on one line, cut with an ellipsis and read whole from its title. | `composition.md` |
|
|
32
|
+
| CP-09 | MUST | The control's own state — the selected tab, the pressed segment — updates in the interaction's frame; the region renders from a deferred value (in React, useDeferredValue or startTransition) and states aria-busy while the shown value lags the selected one. | `composition.md` |
|
|
33
|
+
| CP-10 | SHOULD | Every destination of the navigation — a list, a record, a dashboard, an overview — is `full`, so moving between destinations never moves the column's edges; a create or edit form is `wide` and lays its fields out in a grid of the form's own; a page of preferences read as prose is `measure`. | `composition.md` |
|
|
34
|
+
| CP-11 | SHOULD | A message about one control or one value is an `inline-message` under or beside that control; a message about anything larger — a section, a form, a panel, a list, a record, the page — is an `alert` at the head of that region. | `composition.md` |
|
|
32
35
|
| CV-01 | MUST | From 600 pixels the conversation fills its region and scrolls on its own with the composer under it, and the record's context scrolls on its own beside it or behind a tab of the header; below 600 pixels the page scrolls, the composer is stuck to the bottom of the screen, and the record opens on its last message. | `conversations.md` |
|
|
33
36
|
| CV-02 | SHOULD | A running clock says the business time left and the hour it falls due in the organization's zone, a passed one by how much and when it was due, a paused one that it is stopped and why; a queue's row says the span alone, and no clock is ever said in raw minutes. | `conversations.md` |
|
|
34
37
|
| CV-03 | SHOULD | Each queue is a view of the list's `filter-bar`, a tree of the bar's own fields, labelled with the count of the rows it opens on; choosing it writes its pills, and editing a pill leaves a view the bar marks as changed. | `conversations.md` |
|
|
@@ -52,12 +55,14 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
52
55
|
| FM-14 | SHOULD | Before the confirm, the form states in lines what each destination receives and what the record becomes after it, including a state the command changes on its own. | `forms.md` |
|
|
53
56
|
| FM-15 | SHOULD | The action is written through the command whose record says the same thing, with a fixed prefix that names the document it is about, and the document reads its own entries back by that prefix; no endpoint is invented in the client. | `forms.md` |
|
|
54
57
|
| FM-16 | SHOULD | A date entered in a form is a `date-picker`, which keeps typing in its field and adds the calendar behind its trigger; a `date-field` alone is not used in a form. | `forms.md` |
|
|
58
|
+
| FM-17 | SHOULD | The fields of a form are written as its direct children, in a `field-group` or in a `grid` for fields that stand side by side; the form spaces consecutive fields by `--slotted-form-field-gap`, and no field carries a margin of its own. | `forms.md` |
|
|
55
59
|
| LA-01 | SHOULD | A pager under a paged region is aligned to the end of the line. | `layout-alignment.md` |
|
|
56
60
|
| LA-02 | MUST | A consumer's row in the navigation column's pinned parts is inset by `--slotted-app-shell-row-inset` and starts with a mark column `--slotted-app-shell-row-mark` wide, the avatar centred in it. | `layout-alignment.md` |
|
|
57
|
-
| LA-03 | SHOULD | Below the header's narrow step the actions
|
|
61
|
+
| LA-03 | SHOULD | Below the header's narrow step the header's actions occupy one row: one action beside a plain title becomes its icon-only form, and two or more stand in a `toolbar` that folds into its menu, each item with its counterpart and the primary one without, so it stays. Beside a plain title that row is the title's line; under a rich title (visual, marks, subheading) `page-header` gives the toolbar a full row of its own. | `layout-alignment.md` |
|
|
58
62
|
| LA-04 | SHOULD | Tabs that change the page's content stand in `page-header`'s `tabs` slot, not in the body. | `layout-alignment.md` |
|
|
59
63
|
| LA-05 | MUST | Fields on one line are aligned to the start of the block axis, so every control of the line starts at the same height and has the same height whatever stands under it. A button on the line stands on the controls' row, not on the labels' or the help's. | `layout-alignment.md` |
|
|
60
64
|
| LA-06 | MUST | The element's offset starts at the page's published `--slotted-page-sticky-top`, the measured height of the chrome that stays (the stuck page-header's title area, a sticky section's header), and an element that may be taller than what stays visible caps its height by the same property and scrolls inside. | `layout-alignment.md` |
|
|
65
|
+
| LA-07 | MUST | The bar holds one row below its narrow step: the action that confirms declares no counterpart and stays, every other action declares a counterpart, and the bar's overflow control ends the run. | `layout-alignment.md` |
|
|
61
66
|
| LG-01 | SHOULD | The row states the signed change at the unit's own precision, what caused it as words that lead to that record, where and when it happened and who did it; a cause without a screen leads to the ledger narrowed to what that cause moved, and no identifier is shown raw. | `ledgers.md` |
|
|
62
67
|
| LG-02 | SHOULD | The balance after each movement is drawn only where the ledger is narrowed to one item in one place, and it is walked back from that position's current quantity. | `ledgers.md` |
|
|
63
68
|
| LP-01 | SHOULD | The grid shows the selection column, the row header and the columns of highest priority that fit; the others move into the row's pop-in as labelled values, by `priority`, outside the column state, and no row is wider than the frame. | `list-pages.md` |
|
|
@@ -70,14 +75,21 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
70
75
|
| LP-09 | SHOULD | The queue is the list of the records the work is written against, narrowed by the states in which the work can be done and by the reader's scope, stated as the page's place; opening a row opens the form that does the work for a reader who can do it. | `list-pages.md` |
|
|
71
76
|
| LP-10 | SHOULD | The chart stands in the header's second tab, beside the list's own, and never as a block above the list. | `list-pages.md` |
|
|
72
77
|
| LP-11 | SHOULD | Where the primary input is a touch screen, the list tools leave out the row density: the theme raises every density's rows to the touch target, and the tools keep the sort, the views and the columns on one line. | `list-pages.md` |
|
|
73
|
-
| LP-12 | MUST | From 600 pixels of the page's width the listing takes the height the bar and the messages leave and scrolls its own rows while the page does not scroll; below 600 the page's `fill` does not apply, the listing is as tall as its rows and the page scrolls. | `list-pages.md` |
|
|
78
|
+
| LP-12 | MUST | From 600 pixels of the page's width the listing takes the height the bar and the messages leave and scrolls its own rows while the page does not scroll; below 600 the page's `fill` does not apply, the listing is as tall as its rows and the page scrolls. Below 600 the grid therefore windows nothing, and a store that can pass a hundred rows is served in pages: the grid asks for the next one when its last `loadMoreThreshold` rows come into view of the page's scroller, not of its own box. | `list-pages.md` |
|
|
74
79
|
| LP-13 | SHOULD | The mark takes the `sm` `size`; the default `md` belongs to a record's header and to a region with room around it. | `list-pages.md` |
|
|
80
|
+
| LP-14 | MUST | A list that can hold more than a hundred rows, or more than twenty columns, is a `data-grid`, which windows rows and middle columns under its default `virtualize` of `auto` wherever it has a height of its own; below 600 pixels, where it is as tall as its rows (LP-12), the store is served in pages instead. `table` is for sets the page bounds, such as a statement's lines or a record's related rows. | `list-pages.md` |
|
|
81
|
+
| LP-15 | SHOULD | A grid that stands on the page's surface beside other blocks takes the `framed` `variant`; a grid that is the page's only body under a `bleed` page may stay `ruled`; `plain` is for a grid inside a `card` or a panel that already draws the frame. | `list-pages.md` |
|
|
82
|
+
| LP-16 | SHOULD | A list page's header holds a subheading that says what the list covers, the control of the period when the list reads one, the page's figures for that period in the header area as label-over-figure pairs, and the primary action as the last, solid control; a refresh control is an icon button and never the only action. | `list-pages.md` |
|
|
83
|
+
| LP-17 | SHOULD | The column of kind `actions` stays pinned to the end, which is the grid's default, and the row header is pinned to the start with `pinned: 'start'` when it is the first column; no other column is pinned without a reason the page states. | `list-pages.md` |
|
|
75
84
|
| OV-01 | SHOULD | The figure leads to the list page of the records it counts, and that list opens with the figure's condition applied as the bar's own pills, which the reader removes like any other. | `overviews.md` |
|
|
76
85
|
| OV-02 | SHOULD | Below 600 pixels the figures are one `list` of rows that are destinations — label, comparison, number — followed by the records to act on, the work in flight, the charts, and the history last. | `overviews.md` |
|
|
77
86
|
| OV-03 | SHOULD | Where the reader's scope holds one category, the chart is not drawn and one sentence states the numbers it would have compared. | `overviews.md` |
|
|
78
87
|
| OV-04 | SHOULD | The thresholds are stated once in words beside the figures, and a figure past one says so in its own comparison line, on the line the placeholder reserves. | `overviews.md` |
|
|
79
88
|
| OV-05 | SHOULD | A chart takes the `card` `variant` when it is one of two or more peer tiles in one grid with no section heading of its own, and stays `plain` when it is the body of a titled section or the only content of a tab. | `overviews.md` |
|
|
80
|
-
|
|
|
89
|
+
| OV-06 | SHOULD | The cards of one row carry a label of at most three words, the figure, and the same optional parts on every card — a comparison of one line on each, or on none. | `overviews.md` |
|
|
90
|
+
| OV-07 | SHOULD | The overview is one `dashboard-grid` whose blocks are each one of its widgets, and each headline figure is a widget of its own whose title is the figure's label. | `overviews.md` |
|
|
91
|
+
| OV-08 | SHOULD | A `stat-card` inside a framed region takes the `plain` `fill` and a `chart` takes the `plain` `variant`; a frame inside a frame is a finding. | `overviews.md` |
|
|
92
|
+
| OE-01 | MUST | An element of the application's own reads only tokens of the groups `../tokens.md` lists for the application. | `own-elements.md` |
|
|
81
93
|
| OE-02 | MUST | Where two states hold at once, the element paints the ground, the edge and the text colour of the stronger, in the order `disabled`, `loading`, `readonly`, `invalid`, `checked`, `selected`, `pressed`, `current`, `complete`, `active`, `hover`; the focus ring of OE-03 is drawn over every state. | `own-elements.md` |
|
|
82
94
|
| OE-03 | MUST | In its `focus-visible` state the element draws an outline of `--slotted-focus-ring-width` in `--slotted-focus-ring-color`, offset by `--slotted-focus-ring-offset`. | `own-elements.md` |
|
|
83
95
|
| OE-04 | MUST | The element's hit area measures at least `--slotted-target-min` in both axes, and at least `--slotted-target-comfortable` under `pointer: coarse`. | `own-elements.md` |
|
|
@@ -54,15 +54,15 @@ Do: Read the two published measures on the row. In the rail the words are hidden
|
|
|
54
54
|
Don't: Write a bare avatar and text into the header, or pad the header by a number.
|
|
55
55
|
Check: The header's avatar and the first destination's icon share a left edge, in the column, in the rail and in the overlay.
|
|
56
56
|
|
|
57
|
-
### LA-03 · A phone's header keeps its actions on
|
|
57
|
+
### LA-03 · A phone's header keeps its actions on one row
|
|
58
58
|
|
|
59
59
|
Level: SHOULD
|
|
60
|
-
Applies to: what a consumer places in `page-header`'s `actions`,
|
|
61
|
-
Rule: Below the header's narrow step the actions
|
|
62
|
-
Why:
|
|
63
|
-
Do: Write the action twice — the labelled control and its icon-only twin with the same accessible name, the same states and the same handler — and show one per side of the header's own container query
|
|
64
|
-
Don't: Leave
|
|
65
|
-
Check: At
|
|
60
|
+
Applies to: what a consumer places in `page-header`'s `actions`, under any title
|
|
61
|
+
Rule: Below the header's narrow step the header's actions occupy one row: one action beside a plain title becomes its icon-only form, and two or more stand in a `toolbar` that folds into its menu, each item with its counterpart and the primary one without, so it stays. Beside a plain title that row is the title's line; under a rich title (visual, marks, subheading) `page-header` gives the toolbar a full row of its own.
|
|
62
|
+
Why: Loose actions wrap, and a wrapped row under a heading puts the title at the start of one line and the actions at the end of the next, aligned with nothing; four labelled buttons in an inline row took three rows of a phone's header.
|
|
63
|
+
Do: Write the action twice — the labelled control and its icon-only twin with the same accessible name, the same states and the same handler — and show one per side of the header's own container query; write two or more as `toolbar` items with counterparts.
|
|
64
|
+
Don't: Leave labelled buttons in an inline row that wraps, or shrink a control under the touch target to make it fit.
|
|
65
|
+
Check: At 360 pixels with a coarse pointer, the header's actions occupy one row, and every action is reachable in it or in its menu.
|
|
66
66
|
|
|
67
67
|
### LA-04 · A page's views are the header's tabs
|
|
68
68
|
|
|
@@ -90,6 +90,16 @@ Level: MUST
|
|
|
90
90
|
Applies to: an element a screen makes `position: sticky` inside a page — a preview beside a form, a summary beside a list, a column's own header
|
|
91
91
|
Rule: The element's offset starts at the page's published `--slotted-page-sticky-top`, the measured height of the chrome that stays (the stuck page-header's title area, a sticky section's header), and an element that may be taller than what stays visible caps its height by the same property and scrolls inside.
|
|
92
92
|
Why: An offset from the scroller's edge alone — `inset-block-start: var(--slotted-space-4)` — sticks the element behind the stuck header, which is painted above it: its top is hidden for as long as it is stuck.
|
|
93
|
-
Do: Write `inset-block-start: calc(var(--slotted-page-sticky-top, 0px) + <gap>)` and, when the element can outgrow the view, `max-block-size: calc(100dvh - var(--slotted-page-sticky-top, 0px) -
|
|
94
|
-
Don't: Measure the header in the screen's own code,
|
|
93
|
+
Do: Write `inset-block-start: calc(var(--slotted-page-sticky-top, 0px) + <gap>)` and, when the element can outgrow the view, `max-block-size: calc(var(--slotted-page-scrollport-block-size, 100dvh) - var(--slotted-page-sticky-top, 0px) - var(--slotted-page-sticky-bottom, 0px) - 2 * <gap>)` with `overflow: auto`: the page publishes the scroller's own height, which an inset application frame makes shorter than the viewport.
|
|
94
|
+
Don't: Measure the header or the scroller in the screen's own code, hard-code the header's height, or cap the element by the viewport's height, which overshoots a scroller the application frame insets: the header collapses, wraps and changes with the density, and the page already measures both.
|
|
95
95
|
Check: Scroll the page until the header sticks, at two scroll positions: the sticky element's top stands at or below the bottom of the stuck header's title area each time.
|
|
96
|
+
|
|
97
|
+
### LA-07 · A page footer's action-bar holds one row on a phone
|
|
98
|
+
|
|
99
|
+
Level: MUST
|
|
100
|
+
Applies to: an `action-bar` in a page's footer or a detail panel's footer
|
|
101
|
+
Rule: The bar holds one row below its narrow step: the action that confirms declares no counterpart and stays, every other action declares a counterpart, and the bar's overflow control ends the run.
|
|
102
|
+
Why: A bar without an overflow control stacks its actions into a column below 24rem: three actions stood in a footer 164 pixels tall on a 358 pixel phone, a quarter of the screen that the content scrolls under.
|
|
103
|
+
Do: Give each action that is not the confirming one its counterpart, and close the run with the bar's overflow control.
|
|
104
|
+
Don't: Leave the secondary actions without counterparts, or drop the overflow control from a bar of three or more actions.
|
|
105
|
+
Check: At 360 pixels with a coarse pointer, the footer's actions occupy one row and the overflow control holds the actions that folded.
|
|
@@ -27,7 +27,8 @@ triggers:
|
|
|
27
27
|
badge,
|
|
28
28
|
tag,
|
|
29
29
|
]
|
|
30
|
-
families:
|
|
30
|
+
families:
|
|
31
|
+
[data-grid, table, filter-bar, action-bar, pagination, page, page-header, link, badge, tag]
|
|
31
32
|
---
|
|
32
33
|
|
|
33
34
|
# List pages
|
|
@@ -148,11 +149,11 @@ Check: With touch emulation at 390 pixels the filter bar's `end` slot is one lin
|
|
|
148
149
|
|
|
149
150
|
Level: MUST
|
|
150
151
|
Applies to: a page whose body is a `data-grid` or a `table` over a store, with a bar or a message above it
|
|
151
|
-
Rule: From 600 pixels of the page's width the listing takes the height the bar and the messages leave and scrolls its own rows while the page does not scroll; below 600 the page's `fill` does not apply, the listing is as tall as its rows and the page scrolls.
|
|
152
|
+
Rule: From 600 pixels of the page's width the listing takes the height the bar and the messages leave and scrolls its own rows while the page does not scroll; below 600 the page's `fill` does not apply, the listing is as tall as its rows and the page scrolls. Below 600 the grid therefore windows nothing, and a store that can pass a hundred rows is served in pages: the grid asks for the next one when its last `loadMoreThreshold` rows come into view of the page's scroller, not of its own box.
|
|
152
153
|
Why: Two scrollers on one screen let the wheel answer whichever is under the pointer; and on a phone a filled page left the rows 155 pixels of a 667-pixel screen under a header, a banner and the tools.
|
|
153
154
|
Do: Write the page with `fill`; make the region a flex column that takes its parent's full height with a zero minimum, and give the listing `flex: 1 1 0` with `min-block-size: 0`, and below 600 pixels a flex basis of auto, so the listing fills a column that has a height and takes its rows' height in one that has none. The page's footer bar (LP-03) stays outside it.
|
|
154
155
|
Don't: Keep the zero basis below 600 pixels, which collapses the listing to nothing once the column loses its height, or give it an `auto` basis above 600, where its rows' height climbs the column and the page scrolls again.
|
|
155
|
-
Check: At 1280 with a full page of rows, the document's scroll height equals its client height and the wheel over a row moves the rows; at 375×667 the document scrolls
|
|
156
|
+
Check: At 1280 with a full page of rows, the document's scroll height equals its client height and the wheel over a row moves the rows; at 375×667 the document scrolls, the grid is as tall as its rows, opening the page over a store served 30 rows at a time requests pages only until the grid's last `loadMoreThreshold` rows are below the screen's edge, and scrolling to the end requests the next one.
|
|
156
157
|
|
|
157
158
|
### LP-13 · A mark in a cell is the small step
|
|
158
159
|
|
|
@@ -163,3 +164,43 @@ Why: A row sets its text at the small type step, 13 pixels in a 34-pixel row; an
|
|
|
163
164
|
Do: Give every mark a cell holds — a state, a flag, a warning — the `sm` `size`: 12-pixel words in a 19-pixel box.
|
|
164
165
|
Don't: Leave a cell's mark at the family's default, or size it up to make a state stand out; a tone says that.
|
|
165
166
|
Check: On every list, every `badge` and `tag` inside a cell of a `data-grid` or a `table` carries the `sm` `size`.
|
|
167
|
+
|
|
168
|
+
### LP-14 · A list that can pass a hundred rows is a data-grid
|
|
169
|
+
|
|
170
|
+
Level: MUST
|
|
171
|
+
Applies to: a list of records whose count the reader does not bound — transactions, postings, imports
|
|
172
|
+
Rule: A list that can hold more than a hundred rows, or more than twenty columns, is a `data-grid`, which windows rows and middle columns under its default `virtualize` of `auto` wherever it has a height of its own; below 600 pixels, where it is as tall as its rows (LP-12), the store is served in pages instead. `table` is for sets the page bounds, such as a statement's lines or a record's related rows.
|
|
173
|
+
Why: `table` mounts every cell: a hundred rows of twenty columns measured 93 ms in one task with a production build of React in Chrome and 160 ms with a development build, and the count of rows the store returns sets that cost.
|
|
174
|
+
Do: Give the store's list a `data-grid` with its query, and keep `table` for the bounded sets inside a record or a document.
|
|
175
|
+
Don't: Render an unbounded store into a `table`, or page a `table` to keep it under a hundred rows where the grid's window would have kept the whole set reachable.
|
|
176
|
+
Check: Every list over an unbounded store is a `data-grid`; every `table` on a page renders a set the page bounds.
|
|
177
|
+
|
|
178
|
+
### LP-15 · A grid on the page's surface is framed
|
|
179
|
+
|
|
180
|
+
Level: SHOULD
|
|
181
|
+
Applies to: a `data-grid` or a `table` on a list page, a record or an overview
|
|
182
|
+
Rule: A grid that stands on the page's surface beside other blocks takes the `framed` `variant`; a grid that is the page's only body under a `bleed` page may stay `ruled`; `plain` is for a grid inside a `card` or a panel that already draws the frame.
|
|
183
|
+
Why: `ruled`, the grid's default, draws rules between rows and no outer edge, and on a raised page surface every grid read as a bare slab beside blocks that have edges.
|
|
184
|
+
Do: Give every grid that shares the page with a header area, a filter bar or other blocks the `framed` `variant`, and leave `ruled` to the full-bleed list whose edges are the page's.
|
|
185
|
+
Don't: Leave the variant at its default on a page whose width is not `bleed`, or frame a grid a second time inside a card.
|
|
186
|
+
Check: Every `data-grid` with no `variant` stands on a page whose `width` is `bleed`; every grid inside a `card` is `plain`.
|
|
187
|
+
|
|
188
|
+
### LP-16 · A list's header says what the list covers
|
|
189
|
+
|
|
190
|
+
Level: SHOULD
|
|
191
|
+
Applies to: the `page-header` of a list page
|
|
192
|
+
Rule: A list page's header holds a subheading that says what the list covers, the control of the period when the list reads one, the page's figures for that period in the header area as label-over-figure pairs, and the primary action as the last, solid control; a refresh control is an icon button and never the only action.
|
|
193
|
+
Why: A header with a heading and a refresh icon left the period and the totals with no place, and the reader learned what the list covered only by reading its rows.
|
|
194
|
+
Do: Write the `page-header`'s `subheading` part for what the list covers, the period's control and the figures in its `header-area` as `figure` parts, and end its `actions` with the solid primary action; the refresh stands before it as the `button` family's `iconButton`.
|
|
195
|
+
Don't: Leave a list's header as a heading alone, put its figures in a row of cards above the grid, or make a refresh icon the header's only control.
|
|
196
|
+
Check: Every list page's header has a subheading, its figures in the header area, and a solid primary action last; no header's only control is a refresh.
|
|
197
|
+
|
|
198
|
+
### LP-17 · The row header and the row's actions stay in the frame
|
|
199
|
+
|
|
200
|
+
Level: SHOULD
|
|
201
|
+
Applies to: a `data-grid` whose columns can scroll sideways
|
|
202
|
+
Rule: The column of kind `actions` stays pinned to the end, which is the grid's default, and the row header is pinned to the start with `pinned: 'start'` when it is the first column; no other column is pinned without a reason the page states.
|
|
203
|
+
Why: When the columns scrolled sideways the row's menu left the frame, and on a narrow frame the reader scrolled away from the actions to reach them.
|
|
204
|
+
Do: Keep the `actions` column at its default pin, write `pinned: 'start'` on a row header that is the first column, and pin nothing else.
|
|
205
|
+
Don't: Unpin the actions column, or pin a column the reader did not ask to keep in view.
|
|
206
|
+
Check: In a frame narrower than the grid's columns, scrolled to the end, every row's actions cell is in view, and so is the row header when it is the first column.
|
|
@@ -3,7 +3,7 @@ topic: overviews
|
|
|
3
3
|
prefix: OV
|
|
4
4
|
triggers:
|
|
5
5
|
[overview, dashboard, flagship, figure, stat card, exception, summary, chart, door, phone, narrow]
|
|
6
|
-
families: [stat-card, chart, list, list-item, table, section, grid]
|
|
6
|
+
families: [stat-card, chart, list, list-item, table, section, grid, dashboard-grid, card]
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# Overviews
|
|
@@ -64,3 +64,33 @@ Why: The section's heading and its space already frame a chart that is its body,
|
|
|
64
64
|
Do: Give a plain chart a `title` that names the measure and not the section's words again; in a grid of peer tiles, let the chart's title be the tile's title and share the row's height, as `stat-card` always does.
|
|
65
65
|
Don't: Frame every chart by habit, or leave a chart plain among framed tiles where it reads as the page's background.
|
|
66
66
|
Check: For each chart, name what frames it: a titled section (plain) or a grid of peers (card); a chart with neither frame, or with both, is a finding.
|
|
67
|
+
|
|
68
|
+
### OV-06 · The stat-cards of one row share their structure
|
|
69
|
+
|
|
70
|
+
Level: SHOULD
|
|
71
|
+
Applies to: a row of `stat-card`s on an overview or a record page
|
|
72
|
+
Rule: The cards of one row carry a label of at most three words, the figure, and the same optional parts on every card — a comparison of one line on each, or on none.
|
|
73
|
+
Why: One card with a long label and a wrapping comparison beside three cards with a label and a value made four boxes of the tallest card's height, three of them mostly empty, and the row read as broken.
|
|
74
|
+
Do: Give every card a short label, its figure and one comparison line; detail that only one card has goes into its comparison or a tooltip.
|
|
75
|
+
Don't: Lengthen one card's label to carry its detail, or give one card of the row a part the others lack.
|
|
76
|
+
Check: In every row of `stat-card`s, every label has three words or fewer, and either every card has a comparison or none does.
|
|
77
|
+
|
|
78
|
+
### OV-07 · An arranged overview is a dashboard-grid
|
|
79
|
+
|
|
80
|
+
Level: SHOULD
|
|
81
|
+
Applies to: an overview whose blocks the reader moves, resizes or hides
|
|
82
|
+
Rule: The overview is one `dashboard-grid` whose blocks are each one of its widgets, and each headline figure is a widget of its own whose title is the figure's label.
|
|
83
|
+
Why: A grid of the application's own with its own menu for hiding blocks repeats the editing, the keyboard moves, the persistence and the Add widget menu the family already draws.
|
|
84
|
+
Do: Give each widget a `value` and a `title`, and let the `auto` `rows` size a figure's widget to its content; persist the layout with the family's own persistence.
|
|
85
|
+
Don't: Build a `grid` of sections with a menu of the application's own that hides or orders them, or put several figures inside one widget.
|
|
86
|
+
Check: Find every control of the overview that hides, moves or resizes a block: each is the `dashboard-grid`'s own.
|
|
87
|
+
|
|
88
|
+
### OV-08 · Inside a frame, a figure is plain
|
|
89
|
+
|
|
90
|
+
Level: SHOULD
|
|
91
|
+
Applies to: `stat-card` and `chart` inside a framed region — a widget of the `dashboard-grid`, a `section` with the `surface` `ground`, a `card`
|
|
92
|
+
Rule: A `stat-card` inside a framed region takes the `plain` `fill` and a `chart` takes the `plain` `variant`; a frame inside a frame is a finding.
|
|
93
|
+
Why: The region's frame already separates the figure from its neighbours, and a second frame inside it draws a card within a card whose inner edge sits one inset from the outer.
|
|
94
|
+
Do: Let the region's title name the figure, as a widget's title does, and keep the figure's own header for a status or an action.
|
|
95
|
+
Don't: Leave a `stat-card` at its default `outline` fill, or a `chart` at the `card` `variant`, inside a widget, a surface section or a card.
|
|
96
|
+
Check: For each `stat-card` and `chart`, name the frame around it: inside a widget, a surface section or a card, its fill or variant is `plain`.
|
|
@@ -18,7 +18,7 @@ the problem, the family is used instead (CP-04).
|
|
|
18
18
|
|
|
19
19
|
Level: MUST
|
|
20
20
|
Applies to: every element of the application's own that paints, spaces or moves
|
|
21
|
-
Rule: An element of the application's own reads only tokens of the groups
|
|
21
|
+
Rule: An element of the application's own reads only tokens of the groups `../tokens.md` lists for the application.
|
|
22
22
|
Why: A token of a family-only group is that family's adjustment and changes with it; an application group is the theme's promise.
|
|
23
23
|
Do: A strip of day cells spaces with `--slotted-space-2`, paints a busy day with `--slotted-tone-warning-surface` and rounds with `--slotted-radius-sm`.
|
|
24
24
|
Don't: A cell takes its height from `--slotted-avatar-size-sm` because the number fit.
|
|
@@ -19,7 +19,7 @@ triggers:
|
|
|
19
19
|
forbidden,
|
|
20
20
|
scope,
|
|
21
21
|
]
|
|
22
|
-
families: [data-grid, table, stat-card,
|
|
22
|
+
families: [data-grid, table, stat-card, alert, tabs, filter-bar]
|
|
23
23
|
---
|
|
24
24
|
|
|
25
25
|
# Reading under permissions
|
|
@@ -46,7 +46,7 @@ Level: SHOULD
|
|
|
46
46
|
Applies to: a screen that left a value out under PM-01, where its absence changes what the remaining numbers mean
|
|
47
47
|
Rule: One statement names the permission the value needs and the roles that hold it; two missing permissions are one statement, not two.
|
|
48
48
|
Why: A figure row with a hole in it reads as a screen that failed rather than as a screen that was told not to say; and a reader who holds neither permission does not need to be told twice in two tones.
|
|
49
|
-
Do: Put the statement where the absence changes the reading — under the figures on a record, above the rows on a list — and use the permission's own name, which is what a reader asks an administrator for.
|
|
49
|
+
Do: Put the statement in an `alert` where the absence changes the reading — under the figures on a record, above the rows on a list — and use the permission's own name, which is what a reader asks an administrator for.
|
|
50
50
|
Don't: Repeat the statement per tab, per column or per card, or leave the absence unexplained where the rest of the numbers depend on it.
|
|
51
51
|
Check: Sign in as a reader holding neither the price nor the cost permission: one sentence names both permissions and the roles that hold them.
|
|
52
52
|
|
package/docs/icon.json
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"default",
|
|
19
19
|
"muted",
|
|
20
20
|
"accent",
|
|
21
|
+
"info",
|
|
21
22
|
"success",
|
|
22
23
|
"warning",
|
|
23
24
|
"danger",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
},
|
|
59
60
|
{
|
|
60
61
|
"name": "tone",
|
|
61
|
-
"type": "'inherit' | 'default' | 'muted' | 'accent' | 'success' | 'warning' | 'danger' | 'inverse'",
|
|
62
|
+
"type": "'inherit' | 'default' | 'muted' | 'accent' | 'info' | 'success' | 'warning' | 'danger' | 'inverse'",
|
|
62
63
|
"defaultValue": "inherit",
|
|
63
64
|
"appliesTo": "slIcon",
|
|
64
65
|
"description": "Colour; inherit takes the colour of the text beside it"
|
|
@@ -117,6 +118,7 @@
|
|
|
117
118
|
"--slotted-text-muted",
|
|
118
119
|
"--slotted-tone-accent-text",
|
|
119
120
|
"--slotted-tone-danger-text",
|
|
121
|
+
"--slotted-tone-info-text",
|
|
120
122
|
"--slotted-tone-success-text",
|
|
121
123
|
"--slotted-tone-warning-text"
|
|
122
124
|
],
|
package/docs/icon.md
CHANGED
|
@@ -18,7 +18,7 @@ Excerpt — not a complete module
|
|
|
18
18
|
| Name | Type | Default | Applies to | Description |
|
|
19
19
|
| --- | --- | --- | --- | --- |
|
|
20
20
|
| `size` | `'text' \| 'sm' \| 'md' \| 'lg'` | md | slIcon | Box size; sm, md and lg read the control icon scale, text follows the type |
|
|
21
|
-
| `tone` | `'inherit' \| 'default' \| 'muted' \| 'accent' \| 'success' \| 'warning' \| 'danger' \| 'inverse'` | inherit | slIcon | Colour; inherit takes the colour of the text beside it |
|
|
21
|
+
| `tone` | `'inherit' \| 'default' \| 'muted' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'danger' \| 'inverse'` | inherit | slIcon | Colour; inherit takes the colour of the text beside it |
|
|
22
22
|
| `directional` | `boolean` | false | slIcon | The artwork points somewhere, so it mirrors in a right-to-left document |
|
|
23
23
|
| `label` | `string` | — | slIcon | The name the icon carries; absent, the icon leaves the accessibility tree |
|
|
24
24
|
| `content` | `projected` | — | slIcon | The glyph — an ng-icon, an svg, any artwork the consumer projects |
|
|
@@ -29,7 +29,7 @@ Excerpt — not a complete module
|
|
|
29
29
|
| Axis | Values | Default |
|
|
30
30
|
| --- | --- | --- |
|
|
31
31
|
| `size` | `text`, `sm`, `md`, `lg` | `md` |
|
|
32
|
-
| `tone` | `inherit`, `default`, `muted`, `accent`, `success`, `warning`, `danger`, `inverse` | `inherit` |
|
|
32
|
+
| `tone` | `inherit`, `default`, `muted`, `accent`, `info`, `success`, `warning`, `danger`, `inverse` | `inherit` |
|
|
33
33
|
|
|
34
34
|
## Rules
|
|
35
35
|
|
|
@@ -44,7 +44,7 @@ Excerpt — not a complete module
|
|
|
44
44
|
|
|
45
45
|
## Tokens
|
|
46
46
|
|
|
47
|
-
`--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-icon-baseline-shift`, `--slotted-icon-size`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
47
|
+
`--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-icon-baseline-shift`, `--slotted-icon-size`, `--slotted-text`, `--slotted-text-inverse`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
48
48
|
|
|
49
49
|
## Examples
|
|
50
50
|
|
package/docs/index.md
CHANGED
|
@@ -85,9 +85,9 @@ Each family is documented in `./<family>.md`.
|
|
|
85
85
|
- typography: Text and heading with type scale steps.
|
|
86
86
|
|
|
87
87
|
## Feedback
|
|
88
|
-
- alert:
|
|
88
|
+
- alert: Framed notice heading a section, a form or a page.
|
|
89
89
|
- import-export-center: Import and export jobs with progress.
|
|
90
|
-
- inline-message:
|
|
90
|
+
- inline-message: The hint or error of one field; a region uses alert.
|
|
91
91
|
- loading-overlay: Veil and indicator over a loading region.
|
|
92
92
|
- notification-center: Read and unread notifications with actions.
|
|
93
93
|
- progress-indicator: Progress bar or ring, known or indeterminate.
|
package/docs/inline-message.json
CHANGED
|
@@ -4,12 +4,13 @@
|
|
|
4
4
|
"binding": "angular",
|
|
5
5
|
"catalog": {
|
|
6
6
|
"group": "Feedback",
|
|
7
|
-
"summary": "
|
|
7
|
+
"summary": "The hint or error of one field; a region uses alert."
|
|
8
8
|
},
|
|
9
9
|
"axes": {
|
|
10
10
|
"tone": [
|
|
11
11
|
"accent",
|
|
12
12
|
"secondary",
|
|
13
|
+
"info",
|
|
13
14
|
"success",
|
|
14
15
|
"warning",
|
|
15
16
|
"danger"
|
|
@@ -57,7 +58,8 @@
|
|
|
57
58
|
"root",
|
|
58
59
|
"prefix",
|
|
59
60
|
"icon",
|
|
60
|
-
"text"
|
|
61
|
+
"text",
|
|
62
|
+
"actions"
|
|
61
63
|
]
|
|
62
64
|
}
|
|
63
65
|
},
|
|
@@ -92,12 +94,18 @@
|
|
|
92
94
|
"element": "span",
|
|
93
95
|
"required": true,
|
|
94
96
|
"purpose": "The sentence. Written by the family around the projected content, which is what makes “is there a message?” a question the stylesheet can ask and keeps a message holding a link one grid item rather than two."
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"part": "actions",
|
|
100
|
+
"element": "div",
|
|
101
|
+
"required": false,
|
|
102
|
+
"purpose": "The answers the message offers ([slInlineMessageActions]), after the sentence and wrapping under it. Present, the root is a div with role=\"group\" named by the sentence, the live role moves to the sentence, and the buttons take the message size."
|
|
95
103
|
}
|
|
96
104
|
],
|
|
97
105
|
"api": [
|
|
98
106
|
{
|
|
99
107
|
"name": "tone",
|
|
100
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
108
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
101
109
|
"defaultValue": "secondary",
|
|
102
110
|
"appliesTo": "slInlineMessage",
|
|
103
111
|
"description": "What the message is about, and therefore which mark it draws and which word a reader hears first. secondary is help: no mark, no word, and the neutral muted ink"
|
|
@@ -107,7 +115,7 @@
|
|
|
107
115
|
"type": "'sm' | 'md'",
|
|
108
116
|
"defaultValue": "sm",
|
|
109
117
|
"appliesTo": "slInlineMessage",
|
|
110
|
-
"description": "The type step. sm
|
|
118
|
+
"description": "The type step. sm beside a compact field, md beside a large field; both read the control scales, which the theme restates per density"
|
|
111
119
|
},
|
|
112
120
|
{
|
|
113
121
|
"name": "live",
|
|
@@ -198,11 +206,12 @@
|
|
|
198
206
|
],
|
|
199
207
|
"events": [],
|
|
200
208
|
"accessibility": [
|
|
209
|
+
"A message about a section, a page or a command’s outcome is an alert, at reach section or page. This family is the message of one field or one control, under or beside it.",
|
|
201
210
|
"There is no WAI-ARIA APG pattern for a message attached to a field. Three documents cover it between them: the APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/) for the announcing behaviour, MDN’s aria-errormessage reference for the wiring, and WCAG 2.2 Understanding 3.3.1 Error Identification for the requirement that the error be identified in text.",
|
|
202
211
|
"The severity is a word, not only a colour and a mark. A reader who cannot see the message hears the sentence and nothing else, so the family writes “Error:”, “Warning:” or “Success:” in clipped text before it — GOV.UK’s Error message component publishes the idea for errors, and this generalises it to every severity and to a table an application replaces once through provideInlineMessageDefaults.",
|
|
203
212
|
"The live role goes on the host. slAlert puts its role on an inner part because it has a dismiss button beside its text and MDN’s alert role reference restricts the role to text content; this family owns no controls, so the element that is the text is the element that announces. live defaults to off, because a message already present when the page finishes loading is announced by nothing whatever role it carries.",
|
|
204
213
|
"Wiring is the control’s job and the identifier is the family’s. MDN: set aria-invalid=\"true\" on the control, then aria-errormessage to the id of the element holding the message. exportAs hands the template the instance so it can write [attr.aria-errormessage]=\"message.messageId\" without inventing an id of its own.",
|
|
205
|
-
"The mark is aria-hidden, because it repeats what the severity word already says. Under forced colours it keeps its silhouette in CanvasText — the circle, the
|
|
214
|
+
"The mark is aria-hidden, because it repeats what the severity word already says. Under forced colours it keeps its silhouette in CanvasText — the circle, the diamond and the circled exclamation are what tell an error from a note when every colour has been replaced, which is WCAG 2.2 1.4.1.",
|
|
206
215
|
"A disabled message is muted to a measured colour rather than faded by opacity, and its ring stops: STATE_PRECEDENCE puts disabled above loading, and a control nobody can use is not waiting for anything. Nothing is removed from the accessibility tree, because a message about a disabled field is still a message.",
|
|
207
216
|
"The family never becomes a tooltip. The message is visible text in the flow of the page, which is the requirement WCAG 2.2 3.3.1 states and the one a hover-only error fails for every reader who does not hover."
|
|
208
217
|
]
|
|
@@ -215,15 +224,19 @@
|
|
|
215
224
|
"--slotted-control-font-size-sm",
|
|
216
225
|
"--slotted-disabled-foreground",
|
|
217
226
|
"--slotted-duration-loop-fast",
|
|
227
|
+
"--slotted-inline-message-actions-gap",
|
|
228
|
+
"--slotted-inline-message-actions-offset",
|
|
218
229
|
"--slotted-inline-message-column-gap",
|
|
219
230
|
"--slotted-inline-message-font-family",
|
|
220
231
|
"--slotted-inline-message-line-height",
|
|
221
232
|
"--slotted-line-height-md",
|
|
222
233
|
"--slotted-radius-full",
|
|
234
|
+
"--slotted-space-2",
|
|
223
235
|
"--slotted-space-4",
|
|
224
236
|
"--slotted-text-muted",
|
|
225
237
|
"--slotted-tone-accent-text",
|
|
226
238
|
"--slotted-tone-danger-text",
|
|
239
|
+
"--slotted-tone-info-text",
|
|
227
240
|
"--slotted-tone-success-text",
|
|
228
241
|
"--slotted-tone-warning-text"
|
|
229
242
|
],
|
|
@@ -247,9 +260,9 @@
|
|
|
247
260
|
{
|
|
248
261
|
"id": "sizes",
|
|
249
262
|
"title": "The step the message sits at",
|
|
250
|
-
"note": "sm
|
|
263
|
+
"note": "sm sits beside a compact field and md beside a large field. Both read the control scales, so switching the toolbar to dense shrinks them with the rows around them.",
|
|
251
264
|
"language": "html",
|
|
252
|
-
"source": "<p slInlineMessage size=\"sm\" tone=\"danger\">A mensagem de um campo.</p>\n<p slInlineMessage size=\"md\" tone=\"danger\">A mensagem de
|
|
265
|
+
"source": "<p slInlineMessage size=\"sm\" tone=\"danger\">A mensagem de um campo compacto.</p>\n<p slInlineMessage size=\"md\" tone=\"danger\">A mensagem de um campo grande.</p>\n",
|
|
253
266
|
"verdict": "excerpt"
|
|
254
267
|
},
|
|
255
268
|
{
|
package/docs/inline-message.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- index: ./index.md -->
|
|
2
2
|
# inline-message
|
|
3
3
|
|
|
4
|
-
`data-ui="inline-message"` ·
|
|
4
|
+
`data-ui="inline-message"` · The hint or error of one field; a region uses alert.
|
|
5
5
|
|
|
6
6
|
## Import
|
|
7
7
|
|
|
@@ -31,13 +31,14 @@ Excerpt — not a complete module
|
|
|
31
31
|
| `prefix` | span | no |
|
|
32
32
|
| `icon` | span | no |
|
|
33
33
|
| `text` | span | yes |
|
|
34
|
+
| `actions` | div | no |
|
|
34
35
|
|
|
35
36
|
## Props
|
|
36
37
|
|
|
37
38
|
| Name | Type | Default | Applies to | Description |
|
|
38
39
|
| --- | --- | --- | --- | --- |
|
|
39
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slInlineMessage | What the message is about, and therefore which mark it draws and which word a reader hears first. secondary is help: no mark, no word, and the neutral muted ink |
|
|
40
|
-
| `size` | `'sm' \| 'md'` | sm | slInlineMessage | The type step. sm
|
|
40
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slInlineMessage | What the message is about, and therefore which mark it draws and which word a reader hears first. secondary is help: no mark, no word, and the neutral muted ink |
|
|
41
|
+
| `size` | `'sm' \| 'md'` | sm | slInlineMessage | The type step. sm beside a compact field, md beside a large field; both read the control scales, which the theme restates per density |
|
|
41
42
|
| `live` | `'off' \| 'polite' \| 'assertive'` | off | slInlineMessage | Whether the message announces itself. polite writes role="status" and assertive writes role="alert", both on the host — there are no controls inside it to keep out of the region. A role the template wrote is read first and kept |
|
|
42
43
|
| `mark` | `'glyph' \| 'dot' \| 'none'` | glyph | slInlineMessage | Which mark is drawn. glyph is the tone’s own silhouette; dot is one neutral bullet in the tone’s ink, the same shape for every tone including help; none draws nothing, and the tone is said by the ink and the weight of the sentence. slField and slFieldGroup ask for none, because a silhouette under every control of a form is texture rather than a warning |
|
|
43
44
|
| `prefix` | `string` | — | slInlineMessage | The word read before the message. Unstated is the tone’s own; the empty string removes it, for a sentence that already names the severity |
|
|
@@ -55,24 +56,25 @@ Excerpt — not a complete module
|
|
|
55
56
|
|
|
56
57
|
| Axis | Values | Default |
|
|
57
58
|
| --- | --- | --- |
|
|
58
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `secondary` |
|
|
59
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `secondary` |
|
|
59
60
|
| `size` | `sm`, `md` | `sm` |
|
|
60
61
|
| `mark` | `glyph`, `dot`, `none` | `glyph` |
|
|
61
62
|
| `live` | `off`, `polite`, `assertive` | `off` |
|
|
62
63
|
|
|
63
64
|
## Rules
|
|
64
65
|
|
|
66
|
+
- A message about a section, a page or a command’s outcome is an alert, at reach section or page. This family is the message of one field or one control, under or beside it.
|
|
65
67
|
- There is no WAI-ARIA APG pattern for a message attached to a field. Three documents cover it between them: the APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/) for the announcing behaviour, MDN’s aria-errormessage reference for the wiring, and WCAG 2.2 Understanding 3.3.1 Error Identification for the requirement that the error be identified in text.
|
|
66
68
|
- The severity is a word, not only a colour and a mark. A reader who cannot see the message hears the sentence and nothing else, so the family writes “Error:”, “Warning:” or “Success:” in clipped text before it — GOV.UK’s Error message component publishes the idea for errors, and this generalises it to every severity and to a table an application replaces once through provideInlineMessageDefaults.
|
|
67
69
|
- The live role goes on the host. slAlert puts its role on an inner part because it has a dismiss button beside its text and MDN’s alert role reference restricts the role to text content; this family owns no controls, so the element that is the text is the element that announces. live defaults to off, because a message already present when the page finishes loading is announced by nothing whatever role it carries.
|
|
68
70
|
- Wiring is the control’s job and the identifier is the family’s. MDN: set aria-invalid="true" on the control, then aria-errormessage to the id of the element holding the message. exportAs hands the template the instance so it can write [attr.aria-errormessage]="message.messageId" without inventing an id of its own.
|
|
69
|
-
- The mark is aria-hidden, because it repeats what the severity word already says. Under forced colours it keeps its silhouette in CanvasText — the circle, the
|
|
71
|
+
- The mark is aria-hidden, because it repeats what the severity word already says. Under forced colours it keeps its silhouette in CanvasText — the circle, the diamond and the circled exclamation are what tell an error from a note when every colour has been replaced, which is WCAG 2.2 1.4.1.
|
|
70
72
|
- A disabled message is muted to a measured colour rather than faded by opacity, and its ring stops: STATE_PRECEDENCE puts disabled above loading, and a control nobody can use is not waiting for anything. Nothing is removed from the accessibility tree, because a message about a disabled field is still a message.
|
|
71
73
|
- The family never becomes a tooltip. The message is visible text in the flow of the page, which is the requirement WCAG 2.2 3.3.1 states and the one a hover-only error fails for every reader who does not hover.
|
|
72
74
|
|
|
73
75
|
## Tokens
|
|
74
76
|
|
|
75
|
-
`--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-disabled-foreground`, `--slotted-duration-loop-fast`, `--slotted-inline-message-column-gap`, `--slotted-inline-message-font-family`, `--slotted-inline-message-line-height`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-4`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
77
|
+
`--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-disabled-foreground`, `--slotted-duration-loop-fast`, `--slotted-inline-message-actions-gap`, `--slotted-inline-message-actions-offset`, `--slotted-inline-message-column-gap`, `--slotted-inline-message-font-family`, `--slotted-inline-message-line-height`, `--slotted-line-height-md`, `--slotted-radius-full`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
76
78
|
|
|
77
79
|
## Examples
|
|
78
80
|
|
|
@@ -90,13 +92,13 @@ Excerpt — not a complete module
|
|
|
90
92
|
|
|
91
93
|
### The step the message sits at
|
|
92
94
|
|
|
93
|
-
sm
|
|
95
|
+
sm sits beside a compact field and md beside a large field. Both read the control scales, so switching the toolbar to dense shrinks them with the rows around them.
|
|
94
96
|
|
|
95
97
|
Excerpt — not a complete module
|
|
96
98
|
|
|
97
99
|
```html
|
|
98
|
-
<p slInlineMessage size="sm" tone="danger">A mensagem de um campo.</p>
|
|
99
|
-
<p slInlineMessage size="md" tone="danger">A mensagem de
|
|
100
|
+
<p slInlineMessage size="sm" tone="danger">A mensagem de um campo compacto.</p>
|
|
101
|
+
<p slInlineMessage size="md" tone="danger">A mensagem de um campo grande.</p>
|
|
100
102
|
```
|
|
101
103
|
|
|
102
104
|
### A message that is still waiting
|
package/docs/kbd.json
CHANGED
|
@@ -235,10 +235,13 @@
|
|
|
235
235
|
"--slotted-font-family-sans",
|
|
236
236
|
"--slotted-font-weight-medium",
|
|
237
237
|
"--slotted-kbd-base-width",
|
|
238
|
+
"--slotted-kbd-border-color",
|
|
238
239
|
"--slotted-kbd-border-width",
|
|
240
|
+
"--slotted-kbd-color",
|
|
239
241
|
"--slotted-kbd-font-family",
|
|
240
242
|
"--slotted-kbd-font-weight",
|
|
241
243
|
"--slotted-kbd-radius",
|
|
244
|
+
"--slotted-kbd-surface",
|
|
242
245
|
"--slotted-kbd-symbol-font-family",
|
|
243
246
|
"--slotted-radius-lg",
|
|
244
247
|
"--slotted-radius-md",
|
package/docs/kbd.md
CHANGED
|
@@ -73,7 +73,7 @@ Excerpt — not a complete module
|
|
|
73
73
|
|
|
74
74
|
## Tokens
|
|
75
75
|
|
|
76
|
-
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-inner-size`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-font-family-sans`, `--slotted-font-weight-medium`, `--slotted-kbd-base-width`, `--slotted-kbd-border-width`, `--slotted-kbd-font-family`, `--slotted-kbd-font-weight`, `--slotted-kbd-radius`, `--slotted-kbd-symbol-font-family`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`
|
|
76
|
+
`--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-inner-size`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-font-family-sans`, `--slotted-font-weight-medium`, `--slotted-kbd-base-width`, `--slotted-kbd-border-color`, `--slotted-kbd-border-width`, `--slotted-kbd-color`, `--slotted-kbd-font-family`, `--slotted-kbd-font-weight`, `--slotted-kbd-radius`, `--slotted-kbd-surface`, `--slotted-kbd-symbol-font-family`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`
|
|
77
77
|
|
|
78
78
|
## Examples
|
|
79
79
|
|
package/docs/link.json
CHANGED
|
@@ -7,6 +7,11 @@
|
|
|
7
7
|
"summary": "Text link to another page or resource."
|
|
8
8
|
},
|
|
9
9
|
"axes": {
|
|
10
|
+
"size": [
|
|
11
|
+
"xs",
|
|
12
|
+
"sm",
|
|
13
|
+
"md"
|
|
14
|
+
],
|
|
10
15
|
"underline": [
|
|
11
16
|
"always",
|
|
12
17
|
"hover",
|
|
@@ -90,6 +95,13 @@
|
|
|
90
95
|
"appliesTo": "slLink",
|
|
91
96
|
"description": "Accent, the colour of the surrounding text, or a solid surface"
|
|
92
97
|
},
|
|
98
|
+
{
|
|
99
|
+
"name": "size",
|
|
100
|
+
"type": "'xs' | 'sm' | 'md'",
|
|
101
|
+
"defaultValue": "—",
|
|
102
|
+
"appliesTo": "slLink",
|
|
103
|
+
"description": "The text size: 12, 13 or 14 pixels on the type scale. Unset, the link takes the size its action slot states — a stat card’s action, a section’s or a chart’s actions state sm — or else its parent’s"
|
|
104
|
+
},
|
|
93
105
|
{
|
|
94
106
|
"name": "external",
|
|
95
107
|
"type": "boolean",
|
|
@@ -169,6 +181,9 @@
|
|
|
169
181
|
"--slotted-easing-standard",
|
|
170
182
|
"--slotted-focus-ring-color",
|
|
171
183
|
"--slotted-focus-ring-width",
|
|
184
|
+
"--slotted-font-size-md",
|
|
185
|
+
"--slotted-font-size-sm",
|
|
186
|
+
"--slotted-font-size-xs",
|
|
172
187
|
"--slotted-link-color",
|
|
173
188
|
"--slotted-link-color-active",
|
|
174
189
|
"--slotted-link-color-current",
|
|
@@ -178,6 +193,7 @@
|
|
|
178
193
|
"--slotted-link-external-icon-gap",
|
|
179
194
|
"--slotted-link-external-icon-size",
|
|
180
195
|
"--slotted-link-focus-ring-offset",
|
|
196
|
+
"--slotted-link-font-size",
|
|
181
197
|
"--slotted-link-radius",
|
|
182
198
|
"--slotted-link-underline-color",
|
|
183
199
|
"--slotted-link-underline-offset",
|