@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/filter-bar.md
CHANGED
|
@@ -75,50 +75,50 @@ Excerpt — not a complete module
|
|
|
75
75
|
|
|
76
76
|
| Name | Type | Default | Applies to | Description |
|
|
77
77
|
| --- | --- | --- | --- | --- |
|
|
78
|
-
| `fields` | `FilterBarField[]` | — | FilterBar |
|
|
79
|
-
| `value` | `model<FilterGroup \| null \| undefined>` | — | FilterBar | [(value)]:
|
|
80
|
-
| `defaultValue` | `FilterGroup \| null` | — | FilterBar |
|
|
81
|
-
| `query` | `model<string \| undefined>` | — | FilterBar | [(query)]:
|
|
82
|
-
| `defaultQuery` | `string` | | FilterBar |
|
|
83
|
-
| `presets` | `FilterBarPreset[]` | — | FilterBar |
|
|
84
|
-
| `preset` | `model<string \| null \| undefined>` | — | FilterBar | [(preset)]:
|
|
85
|
-
| `defaultPreset` | `string \| null` | null | FilterBar |
|
|
86
|
-
| `open` | `model<boolean \| undefined>` | — | FilterBar | [(open)]:
|
|
87
|
-
| `defaultOpen` | `boolean` | false | FilterBar |
|
|
88
|
-
| `revealed` | `model<boolean \| undefined>` | — | FilterBar | [(revealed)]:
|
|
89
|
-
| `defaultRevealed` | `boolean` | false | FilterBar |
|
|
90
|
-
| `apply` | `'live' \| 'manual'` | live | FilterBar |
|
|
91
|
-
| `sticky` | `boolean` | false | FilterBar |
|
|
92
|
-
| `container` | `Element \| null` | — | FilterBar |
|
|
93
|
-
| `size` | `'sm' \| 'md' \| 'lg'` | md | FilterBar |
|
|
94
|
-
| `queryDelay` | `number` | 320 | FilterBar |
|
|
95
|
-
| `chipLimit` | `number` | 6 | FilterBar | Chips
|
|
96
|
-
| `shortcut` | `string \| null` | null | FilterBar |
|
|
97
|
-
| `disabled` | `boolean` | false | FilterBar |
|
|
98
|
-
| `readOnly` | `boolean` | false | FilterBar |
|
|
99
|
-
| `loading` | `boolean` | false | FilterBar |
|
|
100
|
-
| `count` | `number` | — | FilterBar |
|
|
101
|
-
| `total` | `number` | — | FilterBar |
|
|
102
|
-
| `messages` | `Partial<FilterBarMessages>` | — | FilterBar |
|
|
103
|
-
| `savePresetEnabled` | `boolean` | false | FilterBar |
|
|
104
|
-
| `ng-template[slFilterBarOperand]` | `
|
|
105
|
-
| `[slFilterBarEnd]` | `
|
|
106
|
-
| `ng-template[slFilterBarOperand]` | `let-field, let-operator="operator", let-value="value", let-set="set", let-apply="apply"` | — | FilterBar |
|
|
107
|
-
| `[slFilterBarEnd]` | `ng-content` | — | FilterBar |
|
|
108
|
-
| `exportAs` | `slFilterBar` | — | FilterBar |
|
|
109
|
-
| `provideFilterBarDefaults()` | `apply \| chipLimit \| queryDelay \| shortcut \| size` | — | Injector |
|
|
110
|
-
| `id, aria-label, dir, data-*, (keydown)` | `
|
|
78
|
+
| `fields` | `FilterBarField[]` | — | FilterBar | The filterable fields: key, label, kind, icon (glyph name or TemplateRef), operators, pinned, required, defaultValue, section, options, searchable |
|
|
79
|
+
| `value` | `model<FilterGroup \| null \| undefined>` | — | FilterBar | [(value)]: the tree the consumer owns. Present means controlled, for the life of the bar |
|
|
80
|
+
| `defaultValue` | `FilterGroup \| null` | — | FilterBar | Where an uncontrolled bar starts, read once |
|
|
81
|
+
| `query` | `model<string \| undefined>` | — | FilterBar | [(query)]: the global search |
|
|
82
|
+
| `defaultQuery` | `string` | | FilterBar | The search an uncontrolled bar starts with |
|
|
83
|
+
| `presets` | `FilterBarPreset[]` | — | FilterBar | The saved views: key, label, value |
|
|
84
|
+
| `preset` | `model<string \| null \| undefined>` | — | FilterBar | [(preset)]: the current view |
|
|
85
|
+
| `defaultPreset` | `string \| null` | null | FilterBar | The view it starts with |
|
|
86
|
+
| `open` | `model<boolean \| undefined>` | — | FilterBar | [(open)]: whether the builder is open |
|
|
87
|
+
| `defaultOpen` | `boolean` | false | FilterBar | Whether it starts open |
|
|
88
|
+
| `revealed` | `model<boolean \| undefined>` | — | FilterBar | [(revealed)]: whether the folded chips are in view |
|
|
89
|
+
| `defaultRevealed` | `boolean` | false | FilterBar | Whether they start in view |
|
|
90
|
+
| `apply` | `'live' \| 'manual'` | live | FilterBar | Requests on every edit, or edits a draft until Apply |
|
|
91
|
+
| `sticky` | `boolean` | false | FilterBar | Sticks under the page header and adds its height to what follows |
|
|
92
|
+
| `container` | `Element \| null` | — | FilterBar | A parent for the builder drawer only, instead of the shared portal root |
|
|
93
|
+
| `size` | `'sm' \| 'md' \| 'lg'` | md | FilterBar | The step of the controls |
|
|
94
|
+
| `queryDelay` | `number` | 320 | FilterBar | Milliseconds the search and a text operand wait under live |
|
|
95
|
+
| `chipLimit` | `number` | 6 | FilterBar | Chips in view before folding |
|
|
96
|
+
| `shortcut` | `string \| null` | null | FilterBar | The document key that focuses the search, outside an editable field |
|
|
97
|
+
| `disabled` | `boolean` | false | FilterBar | Turns off every control |
|
|
98
|
+
| `readOnly` | `boolean` | false | FilterBar | Every condition reachable and readable, none changeable: no X, add, clear or empty pills |
|
|
99
|
+
| `loading` | `boolean` | false | FilterBar | Keeps the width, turns off Apply, spinner in place of the count |
|
|
100
|
+
| `count` | `number` | — | FilterBar | How many rows the filter kept |
|
|
101
|
+
| `total` | `number` | — | FilterBar | How many there are |
|
|
102
|
+
| `messages` | `Partial<FilterBarMessages>` | — | FilterBar | Words over those of the current locale, key by key: the landmark name (bar), the controls, the chip names, the count and the announcements |
|
|
103
|
+
| `savePresetEnabled` | `boolean` | false | FilterBar | Draws "Save as view…" in the builder and emits savePreset |
|
|
104
|
+
| `ng-template[slFilterBarOperand]` | `projection` | — | FilterBar | Replaces the operand control of the named field, or of every field with "*" |
|
|
105
|
+
| `[slFilterBarEnd]` | `projection` | — | FilterBar | The consumer’s controls in the end slot |
|
|
106
|
+
| `ng-template[slFilterBarOperand]` | `let-field, let-operator="operator", let-value="value", let-set="set", let-apply="apply"` | — | FilterBar | The seam table uses: date-range-picker on a between, tags-input on a large set |
|
|
107
|
+
| `[slFilterBarEnd]` | `ng-content` | — | FilterBar | The end slot: a sort, a column picker, outside the toolbar ring |
|
|
108
|
+
| `exportAs` | `slFilterBar` | — | FilterBar | Reaches the instance from the template: #bar="slFilterBar" and bar.focusSearch() or bar.openBuilder() |
|
|
109
|
+
| `provideFilterBarDefaults()` | `apply \| chipLimit \| queryDelay \| shortcut \| size` | — | Injector | Decides once for everything below; an input on the bar wins |
|
|
110
|
+
| `id, aria-label, dir, data-*, (keydown)` | `native attributes` | — | FilterBar | Stay on the host element; aria-label names the landmark, the consumer’s listener runs alongside the family’s |
|
|
111
111
|
|
|
112
112
|
## Events
|
|
113
113
|
|
|
114
114
|
| Name | Payload | When |
|
|
115
115
|
| --- | --- | --- |
|
|
116
|
-
| `(valueChangeRequest)` | `ChangeRequest<FilterGroup \| null>` |
|
|
117
|
-
| `(queryChangeRequest)` | `ChangeRequest<string>` |
|
|
118
|
-
| `(presetChangeRequest)` | `ChangeRequest<string \| null>` |
|
|
119
|
-
| `(savePreset)` | `FilterGroup \| null` |
|
|
120
|
-
| `(openChangeRequest)` | `ChangeRequest<boolean>` |
|
|
121
|
-
| `(revealedChangeRequest)` | `ChangeRequest<boolean>` |
|
|
116
|
+
| `(valueChangeRequest)` | `ChangeRequest<FilterGroup \| null>` | Before the tree moves; [(value)] is the other half, the value. The reason is pointer, keyboard, clear, remove, select, submit or programmatic; cancelling moves nothing. The tree arrives normalized: no incomplete rules, null when nothing is left. |
|
|
117
|
+
| `(queryChangeRequest)` | `ChangeRequest<string>` | After queryDelay under live, or with submit under manual; clear when Escape or the field’s X clears it. [(query)] is the value. |
|
|
118
|
+
| `(presetChangeRequest)` | `ChangeRequest<string \| null>` | When a view is chosen in the select, with select; clear when the select is emptied. [(preset)] is the value. |
|
|
119
|
+
| `(savePreset)` | `FilterGroup \| null` | When the reader presses "Save as view…" in the builder, drawn by savePresetEnabled. The family does not save: it asks. |
|
|
120
|
+
| `(openChangeRequest)` | `ChangeRequest<boolean>` | Before the builder opens or closes: pointer, keyboard, escape, outsidePress, dismiss, submit, programmatic. [(open)] is the value. |
|
|
121
|
+
| `(revealedChangeRequest)` | `ChangeRequest<boolean>` | Before the folded chips appear or fold again. [(revealed)] is the value. |
|
|
122
122
|
|
|
123
123
|
## Axes and defaults
|
|
124
124
|
|
|
@@ -130,12 +130,12 @@ Excerpt — not a complete module
|
|
|
130
130
|
|
|
131
131
|
## Rules
|
|
132
132
|
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
133
|
+
- The root is role="search", not role="toolbar": the APG Toolbar pattern asks a toolbar to avoid controls that need the arrows, and the search field is one. The search is the first tab stop and the toolbar the second — two stops however many fields there are; the APG note on multi-row toolbars lets the arrows move from row to row.
|
|
134
|
+
- A chip is role="group" named "<field>: <phrase>", the same phrase describeFilter gives to the table announcement, and ", incomplete" while the value is missing. The operator has aria-haspopup="menu", the value aria-haspopup="dialog" and the name with the whole list, the X "Remove <field>". Delete and Backspace on any segment remove with the reason remove and focus goes to the segment of the same role on the next chip, the previous one, or Add filter.
|
|
135
|
+
- A pill has aria-haspopup="dialog"; under readOnly the toolbar carries aria-description="Read only" and the segments keep their stop with aria-disabled, and a locked value names the whole list the popover no longer shows.
|
|
136
|
+
- The count is itself the live region, in polite, so the effect of a filter is heard; applying, clearing, removing a chip and choosing a view are announced by the shared live-announcer.
|
|
137
|
+
- The builder is a drawer: modal, Escape closes and discards, focus returns to the trigger. Each group is a fieldset with a legend, each rule three named controls — Field, Operator, Value or From and To.
|
|
138
|
+
- Below 36rem the operator, more, add and clear leave the focus ring with visibility hidden, not only the drawing: a stop where nothing is seen is a stop that does not exist. The builder’s closed cards take the three controls out of the ring the same way; the card’s phrase has aria-expanded and aria-controls.
|
|
139
139
|
|
|
140
140
|
## Tokens
|
|
141
141
|
|
|
@@ -143,9 +143,9 @@ Excerpt — not a complete module
|
|
|
143
143
|
|
|
144
144
|
## Examples
|
|
145
145
|
|
|
146
|
-
###
|
|
146
|
+
### The bar over the table, and the same rule in both places
|
|
147
147
|
|
|
148
|
-
|
|
148
|
+
The consumer applies the tree with createFilterGroupPredicate and createSearchPredicate; the table below shrinks and the count says by how much. The Status column filter in the header edits the same object as the bar’s Status chip.
|
|
149
149
|
|
|
150
150
|
Excerpt — not a complete module
|
|
151
151
|
|
|
@@ -157,9 +157,9 @@ const kept = computed(() => {
|
|
|
157
157
|
});
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
-
###
|
|
160
|
+
### Pinned fields: a dashed place that becomes a chip
|
|
161
161
|
|
|
162
|
-
pinned
|
|
162
|
+
pinned keeps the field always in view. Without a condition it is a dashed pill with + and the name — a place waiting to be filled; pressed, it gives way to the field’s chip, in the same place, incomplete and with the value popover open. Removing the condition brings the pill back.
|
|
163
163
|
|
|
164
164
|
Excerpt — not a complete module
|
|
165
165
|
|
|
@@ -177,9 +177,9 @@ const FIELDS: FilterBarField[] = [
|
|
|
177
177
|
];
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
-
###
|
|
180
|
+
### Each condition written in segments
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
A chip is the condition’s phrase in segments: the field with its glyph, the lighter operator, the value, and the X. The operator opens a menu, the value a popover with the operand only — changing the comparison does not reopen the values. A long list writes two values and the rest as a number (Paid, Refunded +2), whole in the name and the title; a list of one reads as equality. Add filter creates the chip at once, dashed until it has a value, and left out of the emitted value until then. Beyond chipLimit the chips fold behind +n more.
|
|
183
183
|
|
|
184
184
|
Excerpt — not a complete module
|
|
185
185
|
|
|
@@ -187,9 +187,9 @@ Excerpt — not a complete module
|
|
|
187
187
|
<div slFilterBar chipLimit="6" [fields]="fields" [value]="filter"></div>
|
|
188
188
|
```
|
|
189
189
|
|
|
190
|
-
###
|
|
190
|
+
### The builder in a drawer
|
|
191
191
|
|
|
192
|
-
Add filter,
|
|
192
|
+
Add filter, a group chip or Filters (n) open the whole tree in a drawer; on a phone the drawer rises from the bottom as a sheet. Wider than 30rem each rule is a row of field, operator, operand and X; narrower, a card with the phrase that expands in place, one at a time. Apply requests the tree with the reason submit, Cancel and Escape discard.
|
|
193
193
|
|
|
194
194
|
Excerpt — not a complete module
|
|
195
195
|
|
|
@@ -200,12 +200,12 @@ Excerpt — not a complete module
|
|
|
200
200
|
[fields]="fields"
|
|
201
201
|
(openChangeRequest)="log($event.reason)"
|
|
202
202
|
></div>
|
|
203
|
-
<button slButton type="button" (click)="bar.openBuilder()">
|
|
203
|
+
<button slButton type="button" (click)="bar.openBuilder()">Open the builder</button>
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
###
|
|
206
|
+
### Nested AND/OR groups
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
A group inside a group is a box over the sunken surface, with the opposite join and the trash that removes it; in a narrow builder it becomes a rail on the start edge, which costs ten pixels per level instead of eighty. On the bar it appears as a single chip, with the phrase in parentheses, that opens the builder.
|
|
209
209
|
|
|
210
210
|
Excerpt — not a complete module
|
|
211
211
|
|
|
@@ -235,9 +235,9 @@ const filter: FilterGroup = {
|
|
|
235
235
|
};
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
###
|
|
238
|
+
### Applying in a batch
|
|
239
239
|
|
|
240
|
-
|
|
240
|
+
With apply="manual" each edit goes to a draft: the root becomes data-dirty, Reset discards, Apply requests the tree and the query with the reason submit. Enter on an operand applies. It is the Go of Fiori and the batch of Carbon.
|
|
241
241
|
|
|
242
242
|
Excerpt — not a complete module
|
|
243
243
|
|
|
@@ -251,9 +251,9 @@ Excerpt — not a complete module
|
|
|
251
251
|
></div>
|
|
252
252
|
```
|
|
253
253
|
|
|
254
|
-
###
|
|
254
|
+
### A required field with a default
|
|
255
255
|
|
|
256
|
-
required
|
|
256
|
+
required pins the field and gives it a defaultValue: Clear returns it to the default instead of erasing it, the chip has no X, and an Apply with the field empty is refused — the chip stays dashed and data-invalid, and the message is announced.
|
|
257
257
|
|
|
258
258
|
Excerpt — not a complete module
|
|
259
259
|
|
|
@@ -268,9 +268,9 @@ const company: FilterBarField = {
|
|
|
268
268
|
};
|
|
269
269
|
```
|
|
270
270
|
|
|
271
|
-
###
|
|
271
|
+
### Saved views
|
|
272
272
|
|
|
273
|
-
presets
|
|
273
|
+
presets appears as a select at the end of the bar: choosing one replaces the tree with the reason select; editing afterwards keeps the chosen view and marks the root data-dirty. Saving belongs to the application — onPresetSave hands over the tree, and the application asks for the name.
|
|
274
274
|
|
|
275
275
|
Excerpt — not a complete module
|
|
276
276
|
|
|
@@ -285,9 +285,9 @@ Excerpt — not a complete module
|
|
|
285
285
|
></div>
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
###
|
|
288
|
+
### The global search
|
|
289
289
|
|
|
290
|
-
|
|
290
|
+
The query is the only field that belongs to no column. Debounced by queryDelay under live; Escape clears with the reason clear; shortcut is the document key that reaches the field, drawn inside it with kbd — and hidden where the primary input is a touch screen, where there is no key to press.
|
|
291
291
|
|
|
292
292
|
Excerpt — not a complete module
|
|
293
293
|
|
|
@@ -295,9 +295,9 @@ Excerpt — not a complete module
|
|
|
295
295
|
<div slFilterBar [fields]="fields" [(query)]="query" queryDelay="120" shortcut="/"></div>
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
###
|
|
298
|
+
### The state in a URL
|
|
299
299
|
|
|
300
|
-
toFilterBarParams
|
|
300
|
+
toFilterBarParams writes f=and(…) and q=; fromFilterBarParams reads them back, and an f.<column> written by a table without a bar becomes a top-level group. parseFilterGroup is total: a marker from an older version degrades to no filter.
|
|
301
301
|
|
|
302
302
|
Excerpt — not a complete module
|
|
303
303
|
|
|
@@ -307,9 +307,9 @@ history.replaceState(null, '', `?${params}`);
|
|
|
307
307
|
const restored = fromFilterBarParams(location.search);
|
|
308
308
|
```
|
|
309
309
|
|
|
310
|
-
###
|
|
310
|
+
### The count as a live region
|
|
311
311
|
|
|
312
|
-
count
|
|
312
|
+
count and total are the consumer’s numbers, written in the figures of the current locale. The part is aria-live="polite", so a change in the filter is heard as its effect; with loading the count gives way to a spinner and aria-busy.
|
|
313
313
|
|
|
314
314
|
Excerpt — not a complete module
|
|
315
315
|
|
|
@@ -317,9 +317,9 @@ Excerpt — not a complete module
|
|
|
317
317
|
<div slFilterBar count="128" [fields]="fields" [loading]="fetching()" total="3412"></div>
|
|
318
318
|
```
|
|
319
319
|
|
|
320
|
-
###
|
|
320
|
+
### On a phone: a row that scrolls sideways and a sheet
|
|
321
321
|
|
|
322
|
-
|
|
322
|
+
Below 36rem the search sits on top and the bar becomes a row that scrolls sideways: Filters (n) first, every chip — the folded ones too —, then the empty pills; the chip cut at the edge says the row continues. Each chip has three targets: the field, the value with the operator’s words, the X. Tapping a value, a pill or Filters opens the builder as a sheet, with the rule’s card open. Resize the stage.
|
|
323
323
|
|
|
324
324
|
Excerpt — not a complete module
|
|
325
325
|
|
|
@@ -329,9 +329,9 @@ Excerpt — not a complete module
|
|
|
329
329
|
</div>
|
|
330
330
|
```
|
|
331
331
|
|
|
332
|
-
###
|
|
332
|
+
### Stuck under the page header
|
|
333
333
|
|
|
334
|
-
sticky
|
|
334
|
+
sticky reads --slotted-page-sticky-top, sticks the bar there, and adds its own height to the property on the parent element for what comes next — a table with a sticky header sticks below the bar, not below the title.
|
|
335
335
|
|
|
336
336
|
Excerpt — not a complete module
|
|
337
337
|
|
|
@@ -342,9 +342,9 @@ Excerpt — not a complete module
|
|
|
342
342
|
</table>
|
|
343
343
|
```
|
|
344
344
|
|
|
345
|
-
###
|
|
345
|
+
### Disabled, loading, read only
|
|
346
346
|
|
|
347
|
-
disabled
|
|
347
|
+
disabled turns off every control and keeps the width; loading keeps the controls, turns off Apply and puts the spinner in place of the count; readOnly leaves every condition reachable and readable — the segments keep their stop with aria-disabled — and draws no X, add, clear or empty pills.
|
|
348
348
|
|
|
349
349
|
Excerpt — not a complete module
|
|
350
350
|
|
|
@@ -353,9 +353,9 @@ Excerpt — not a complete module
|
|
|
353
353
|
<div slFilterBar [fields]="fields" loading></div>
|
|
354
354
|
```
|
|
355
355
|
|
|
356
|
-
###
|
|
356
|
+
### Content the family did not choose
|
|
357
357
|
|
|
358
|
-
|
|
358
|
+
A value of eleven items writes two and the rest as a number, whole in the title and in the accessible name; a long value truncates at 12rem; an Arabic label next to an ISO date does not reorder the date, because field, operator and value are isolated runs; an unknown field is an invalid, removable chip.
|
|
359
359
|
|
|
360
360
|
Excerpt — not a complete module
|
|
361
361
|
|
|
@@ -368,13 +368,13 @@ Excerpt — not a complete module
|
|
|
368
368
|
></div>
|
|
369
369
|
```
|
|
370
370
|
|
|
371
|
-
###
|
|
371
|
+
### Keyboard
|
|
372
372
|
|
|
373
|
-
Tab:
|
|
373
|
+
Tab: the search, then the bar — two stops. The arrows move through every control of the bar, segment by segment, from row to row and mirrored in RTL; Home and End at the ends. Enter on the operator opens the menu, on the value the popover; Delete on any segment removes the condition with the reason remove and focus goes to the same segment of the next chip; Escape clears the search or closes the surface.
|
|
374
374
|
|
|
375
375
|
Excerpt — not a complete module
|
|
376
376
|
|
|
377
377
|
```html
|
|
378
|
-
<!-- "Amount filter removed" —
|
|
378
|
+
<!-- "Amount filter removed" — and focus moves to the next chip, or to Add filter when none is left. -->
|
|
379
379
|
<div slFilterBar [fields]="fields" (valueChangeRequest)="log($event.reason === 'remove')"></div>
|
|
380
380
|
```
|
package/docs/form.json
CHANGED
|
@@ -273,6 +273,7 @@
|
|
|
273
273
|
"--slotted-font-family-sans",
|
|
274
274
|
"--slotted-font-weight-semibold",
|
|
275
275
|
"--slotted-form-color",
|
|
276
|
+
"--slotted-form-field-gap",
|
|
276
277
|
"--slotted-form-summary-background",
|
|
277
278
|
"--slotted-form-summary-border-color",
|
|
278
279
|
"--slotted-form-summary-color",
|
|
@@ -297,7 +298,7 @@
|
|
|
297
298
|
{
|
|
298
299
|
"id": "playground",
|
|
299
300
|
"title": "Playground",
|
|
300
|
-
"note": "A form of two fields with the family’s whole lifecycle on it. Submit it empty: the platform’s own messages appear in the summary, focus moves there, and each link jumps to the field it names.",
|
|
301
|
+
"note": "A form of two fields with the family’s whole lifecycle on it. Submit it empty: the platform’s own messages appear in the summary, focus moves there, and each link jumps to the field it names. Two fields written one after the other inside the form stand apart by --slotted-form-field-gap (space-6 by default); a layout the page draws itself — a Grid, a Stack — keeps its own gap.",
|
|
301
302
|
"language": "html",
|
|
302
303
|
"source": "<form slForm (formSubmit)=\"save($event.values)\">\n <div slField>\n <label slFieldLabel>Nome completo</label>\n <div slTextField><input slTextFieldInput name=\"nome\" required /></div>\n </div>\n <div slFormActions>\n <button slButton type=\"submit\">Salvar</button>\n </div>\n</form>\n",
|
|
303
304
|
"verdict": "excerpt"
|
package/docs/form.md
CHANGED
|
@@ -94,7 +94,7 @@ Excerpt — not a complete module
|
|
|
94
94
|
|
|
95
95
|
## Tokens
|
|
96
96
|
|
|
97
|
-
`--slotted-border-width-thick`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-form-color`, `--slotted-form-summary-background`, `--slotted-form-summary-border-color`, `--slotted-form-summary-color`, `--slotted-form-summary-radius`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`
|
|
97
|
+
`--slotted-border-width-thick`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-form-color`, `--slotted-form-field-gap`, `--slotted-form-summary-background`, `--slotted-form-summary-border-color`, `--slotted-form-summary-color`, `--slotted-form-summary-radius`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-md`, `--slotted-radius-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-8`, `--slotted-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`
|
|
98
98
|
|
|
99
99
|
## Examples
|
|
100
100
|
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Guidelines
|
|
2
|
+
|
|
3
|
+
Rules for composing screens from the Slotted families: what the reference
|
|
4
|
+
pages do not state. A family's page states what it is — its parts, states,
|
|
5
|
+
tokens and keyboard. It does not state where a pager stands, what a region
|
|
6
|
+
shows before its first answer, or which family a bar's search slot is for.
|
|
7
|
+
|
|
8
|
+
## Reading protocol
|
|
9
|
+
|
|
10
|
+
For a reader with a task — a person or a model about to write or review a
|
|
11
|
+
screen:
|
|
12
|
+
|
|
13
|
+
1. Read `index.md`: every active rule in one line, with its level and its file.
|
|
14
|
+
2. Match the task against the `triggers` in each topic file's front matter.
|
|
15
|
+
Read the topic files that match, and `composition.md` always.
|
|
16
|
+
3. Before writing an element beside a family, read that family's page in
|
|
17
|
+
`..`. Before writing an element no family draws, read
|
|
18
|
+
`own-elements.md` and `../tokens.md`.
|
|
19
|
+
4. Apply the rules by level: a `MUST` broken is a defect, a `SHOULD` broken is
|
|
20
|
+
stated with its reason, a `MAY` is a permission.
|
|
21
|
+
5. A screen is done when each `Check` of the rules read passes.
|
|
22
|
+
|
|
23
|
+
## Rule identity
|
|
24
|
+
|
|
25
|
+
An id (`AF-03`) never changes meaning. A rule whose meaning or level changes
|
|
26
|
+
is retired, keeps its heading with `Status: retired`, and is rewritten under a
|
|
27
|
+
new id. The release notes of each version list the ids added and retired.
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
---
|
|
2
|
+
topic: async feedback
|
|
3
|
+
prefix: AF
|
|
4
|
+
triggers:
|
|
5
|
+
[
|
|
6
|
+
loading,
|
|
7
|
+
pending,
|
|
8
|
+
busy,
|
|
9
|
+
empty,
|
|
10
|
+
skeleton,
|
|
11
|
+
placeholder,
|
|
12
|
+
request,
|
|
13
|
+
fetch,
|
|
14
|
+
mutation,
|
|
15
|
+
tab,
|
|
16
|
+
view,
|
|
17
|
+
page,
|
|
18
|
+
pagination,
|
|
19
|
+
popover,
|
|
20
|
+
refresh,
|
|
21
|
+
latency,
|
|
22
|
+
spinner,
|
|
23
|
+
submit,
|
|
24
|
+
action,
|
|
25
|
+
]
|
|
26
|
+
families:
|
|
27
|
+
[
|
|
28
|
+
skeleton,
|
|
29
|
+
button,
|
|
30
|
+
popover,
|
|
31
|
+
list,
|
|
32
|
+
list-item,
|
|
33
|
+
notification-center,
|
|
34
|
+
tabs,
|
|
35
|
+
pagination,
|
|
36
|
+
result-state,
|
|
37
|
+
page-header,
|
|
38
|
+
]
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
# Async feedback
|
|
42
|
+
|
|
43
|
+
What a screen shows between a request starting and its answer arriving. The
|
|
44
|
+
library gives the states — `skeleton` for a region, `loading` on a control,
|
|
45
|
+
`data-loading` and `aria-busy` on the families that fill themselves — and does
|
|
46
|
+
not say which one a screen owes at which moment. A request answers within a
|
|
47
|
+
second on a fast network and takes several on a slow one; a screen that shows
|
|
48
|
+
nothing for that long reads as a stall, and a screen that shows its empty
|
|
49
|
+
state reads as an answer.
|
|
50
|
+
|
|
51
|
+
### AF-01 · Pending is not empty
|
|
52
|
+
|
|
53
|
+
Level: MUST
|
|
54
|
+
Applies to: any region filled by a request — a `popover` body, a `list`, a `data-grid`, a `notification-center` feed, a page section
|
|
55
|
+
Rule: A region whose first answer has not arrived shows its pending state; the empty state appears only after an answer holding zero items.
|
|
56
|
+
Why: An empty state is a statement about the data, and before the answer there is no data to state anything about.
|
|
57
|
+
Do: Keep a loading fact beside the items, set before the request and cleared after it. Render placeholders while the fact is true and the items are none; render the empty state while the fact is false and the items are none.
|
|
58
|
+
Don't: Branch on the items alone. A region that opens on "Nothing waiting for you" while the request is in flight tells the reader the queue is clear, for as long as the request takes.
|
|
59
|
+
Check: Throttle the network to a slow profile and open the region cold; the empty words do not appear before the answer.
|
|
60
|
+
|
|
61
|
+
### AF-02 · First answer draws placeholders, later answers keep the rows
|
|
62
|
+
|
|
63
|
+
Level: SHOULD
|
|
64
|
+
Applies to: every region under AF-01 that is filled more than once — a panel opened again, a list read back after a mutation
|
|
65
|
+
Rule: A region with no items yet draws placeholders; a region that already shows items keeps them on screen and marks itself busy while a newer answer is on its way.
|
|
66
|
+
Why: Placeholders in place of rows the reader was looking at erase their place; rows silently replaced give no sign anything happened.
|
|
67
|
+
Do: Placeholders are the family `skeleton`: a region carrying the state and, inside it, the rows' own boxes — the mark, the label line, the description line — so the answer lands without a layout shift. A placeholder line is a fraction of its row, never a length: a length wider than a phone's row overflows the page and scrolls it sideways. While items are shown and a request runs, the list carries `aria-busy` and the rows stay.
|
|
68
|
+
Don't: Draw placeholders on every request, or clear the items before every request. Reading a list back after marking one row is a refresh, not a first load.
|
|
69
|
+
Check: Open the region twice with the network throttled to a slow profile: placeholders on the first open, the previous rows and no placeholders on the second.
|
|
70
|
+
|
|
71
|
+
### AF-03 · The control that starts a request waits on it
|
|
72
|
+
|
|
73
|
+
Level: MUST
|
|
74
|
+
Applies to: any `button` member — button, icon button, toggle button — whose activation runs a request — mark as read, archive, approve, save, submit — except a control whose request reloads the whole page; the page header's progress bar answers that wait (AF-07)
|
|
75
|
+
Rule: From activation until the answer, the control is in its `loading` state: it refuses a second activation and shows the family's indicator.
|
|
76
|
+
Why: A control that looks idle invites a second press, and the second request is a duplicate the backend has to refuse or the reader has to undo.
|
|
77
|
+
Do: Keep, beside the data, the identity of what is in flight — the row's key for a row action, one fact for a list-wide action — and bind the control's `loading` to it. The family refuses activation on its own and names the wait for assistive technology through its loading label.
|
|
78
|
+
Don't: Disable the control by hand, hide it, or leave it as it was until the row disappears. Disabled says "not allowed"; loading says "working on it".
|
|
79
|
+
Check: Press the control with the network throttled to a slow profile: the indicator appears, a second press does nothing, the row changes once.
|
|
80
|
+
|
|
81
|
+
### AF-04 · A change of view or page draws placeholders
|
|
82
|
+
|
|
83
|
+
Level: SHOULD
|
|
84
|
+
Applies to: `tabs` that switch the content of a region, `pagination`, any filter whose answer replaces the rows rather than refreshing them
|
|
85
|
+
Rule: When the reader asks for different rows, the rows on screen are removed and placeholders stand in their place until the answer arrives.
|
|
86
|
+
Why: The rows on screen are the previous answer; leaving them under the new tab says the tab did nothing until, half a second later, it does.
|
|
87
|
+
Do: Empty the items on the change and let AF-01 draw the placeholders. Keep what does not change — the tab strip, the pager, the header — where it is.
|
|
88
|
+
Don't: Keep the old rows until the new ones arrive, or replace the whole region including the tab strip with a placeholder block.
|
|
89
|
+
Check: Switch the view with the network throttled to a slow profile: placeholders at once, the tab strip and the pager still in place, rows on the answer.
|
|
90
|
+
|
|
91
|
+
### AF-05 · An indicator may wait for the request to be slow
|
|
92
|
+
|
|
93
|
+
Level: MAY
|
|
94
|
+
Applies to: a control under AF-03 whose request usually answers under the indicator's own entrance
|
|
95
|
+
Rule: 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.
|
|
96
|
+
Why: An indicator that appears and leaves within one frame is a flicker, and a region with nothing in it is a stall from the first frame.
|
|
97
|
+
Do: Use the family's delay on a control whose request is short in the normal case and leave the control refusing activation from the first instant, which the family does regardless of the delay.
|
|
98
|
+
Don't: Delay a region's placeholders, or delay a control's refusal of activation.
|
|
99
|
+
Check: On an unthrottled network a short request shows no indicator and still ignores a second press; with the network throttled to a slow profile, the indicator appears.
|
|
100
|
+
|
|
101
|
+
### AF-06 · Placeholders are held once they are drawn
|
|
102
|
+
|
|
103
|
+
Level: SHOULD
|
|
104
|
+
Applies to: every region under AF-01, through the application's own defaults for the family
|
|
105
|
+
Rule: 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.
|
|
106
|
+
Why: A request on a fast network answers within a few hundred milliseconds, so an undelayed region paints and is replaced inside a few frames — a blink the reader reads as a fault rather than as a wait.
|
|
107
|
+
Do: State the minimum where the application states its other family defaults, and leave the delay at nothing: AF-05 keeps a region's placeholders undelayed, and the minimum is the other half of the same decision.
|
|
108
|
+
Don't: Set the minimum per screen, or reach for a delay to stop the blink — a delay is a region showing nothing for as long as it lasts.
|
|
109
|
+
Check: On an unthrottled network, open a screen of placeholders twice: the placeholders are visible on both, and no region paints and empties within one frame.
|
|
110
|
+
|
|
111
|
+
### AF-07 · A record another actor changes offers Refresh
|
|
112
|
+
|
|
113
|
+
Level: SHOULD
|
|
114
|
+
Applies to: a record page, or a list, whose data another person or process can change while it is open — an order, an invoice, a customer another writer edits
|
|
115
|
+
Rule: 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.
|
|
116
|
+
Why: Without it the reader reloads the browser, which loses the scroll, the open tab and any draft, and a refresh that blanks the record flickers what was already read.
|
|
117
|
+
Do: Put an icon button named "Refresh" in the header's actions toolbar with its menu counterpart. The wait is the page's, not the button's: the `page-header` progress part shows it, with `loading` bound to "reading again while data is shown", over the header's closing line; the button draws no indicator of its own, and a second press while the read runs starts nothing — the read in flight answers it. The body keeps its rows and draws no placeholder.
|
|
118
|
+
Don't: Offer Refresh on a record nothing else writes, or clear the record and draw its skeleton on every read after the first.
|
|
119
|
+
Check: Press Refresh: the header's bar runs over the closing line, the button shows no spinner and ignores a second press, the values stay.
|
|
120
|
+
|
|
121
|
+
### AF-08 · A write refreshes every view it changed
|
|
122
|
+
|
|
123
|
+
Level: MUST
|
|
124
|
+
Applies to: every control that writes — a create, an edit, a delete, a categorisation — and every region on any screen whose figures the write can change
|
|
125
|
+
Rule: 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).
|
|
126
|
+
Why: Categorising a transaction left the category totals and the rules' coverage at their old figures until a reload, and the reader reloaded after every action to trust the screen.
|
|
127
|
+
Do: Beside each write, list the queries its answer changes — the record, the lists it appears in, the totals and counts over them — and invalidate them on success; where the list cannot be stated, invalidate every query after a successful write.
|
|
128
|
+
Don't: Refresh only the region the control stands in, or rely on the next navigation to read the other figures again.
|
|
129
|
+
Check: Perform each write: every figure on screen that the write changes shows the new value without a reload.
|