@slotted/angular 0.1.0-beta.7 → 0.1.0-beta.9
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/calendar.json +1 -1
- package/docs/code-block.json +92 -92
- package/docs/code-block.md +69 -69
- package/docs/currency-field.json +7 -0
- package/docs/currency-field.md +1 -0
- package/docs/data-grid.examples.md +1 -1
- package/docs/data-grid.json +21 -4
- package/docs/data-grid.md +1 -1
- package/docs/data-grid.props.md +5 -3
- package/docs/dialog.examples.md +138 -136
- package/docs/dialog.json +8 -8
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/guidelines/async-feedback.md +10 -0
- package/docs/guidelines/composition.md +11 -7
- package/docs/guidelines/index.md +6 -1
- package/docs/guidelines/list-pages.md +30 -0
- package/docs/guidelines/overviews.md +10 -0
- package/docs/markdown.json +79 -79
- package/docs/markdown.md +65 -65
- package/docs/page-header.json +1 -1
- package/docs/skills/compose-screen/SKILL.md +22 -10
- package/docs/skills/review-screen/SKILL.md +6 -0
- package/docs/skills/waiting-states/SKILL.md +4 -1
- package/docs/tags-input.json +28 -2
- package/docs/tags-input.md +4 -1
- package/docs/timeline.json +131 -131
- package/docs/timeline.md +123 -123
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +21 -10
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +42 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +17 -11
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +52 -40
- 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 +9 -6
- 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 +53 -25
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +82 -30
- 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 +158 -64
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +4 -2
- 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 +77 -31
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +150 -54
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +98 -32
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +127 -44
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +309 -104
- 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 +40 -14
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +19 -9
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +41 -16
- 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 +37 -23
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +111 -42
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +33 -19
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +29 -18
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +61 -28
- 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 +38 -26
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +195 -67
- 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 +104 -43
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +18 -10
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +4 -2
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +5 -3
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-hover-card.mjs +5 -4
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +6 -3
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-image.mjs +13 -10
- package/fesm2022/slotted-angular-image.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +167 -99
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +10 -8
- 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 +14 -10
- 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 +41 -27
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +4 -2
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +28 -15
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +113 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +133 -57
- 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 +107 -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 +72 -42
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +18 -9
- 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 +25 -18
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +122 -30
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +24 -18
- 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 +9 -5
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
- package/fesm2022/slotted-angular-section.mjs +34 -15
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +15 -9
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +135 -53
- 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 +29 -13
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +25 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +4 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +35 -28
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +22 -8
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-stepper.mjs +40 -15
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs +15 -10
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +135 -72
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs +31 -14
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +19 -12
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +253 -28
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +49 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +28 -14
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +109 -40
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +135 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +42 -31
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +10 -6
- 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 +21 -10
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +8 -5
- 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 +46 -21
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +69 -30
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-tree.mjs +74 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +8 -4
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +125 -57
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +163 -65
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +3 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +1 -1
- package/types/slotted-angular-alert.d.ts.map +1 -1
- 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.map +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.map +1 -1
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +2 -0
- 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.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 +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 +1 -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 +39 -13
- 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 +26 -2
- 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.map +1 -1
- package/types/slotted-angular-date-picker.d.ts.map +1 -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.map +1 -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 +2 -1
- 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.map +1 -1
- 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 +1 -1
- 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 +1 -1
- 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.map +1 -1
- 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.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.map +1 -1
- package/types/slotted-angular-multi-select.d.ts +1 -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.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 +1 -1
- 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.map +1 -1
- 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.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.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +1 -1
- 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.map +1 -1
- 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.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.map +1 -1
- package/types/slotted-angular-tabs.d.ts.map +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-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-timeline.d.ts.map +1 -1
- package/types/slotted-angular-toast.d.ts +2 -2
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts.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
|
```
|
|
@@ -106,3 +106,13 @@ Why: Without it the reader reloads the browser, which loses the scroll, the open
|
|
|
106
106
|
Do: Put an icon button named "Refresh" in the header's actions toolbar with its menu counterpart, in its `loading` state until the answer (AF-03); bind the page's `loading` to "reading again while a record is shown", so the body takes `aria-busy` and draws no placeholder.
|
|
107
107
|
Don't: Offer Refresh on a record nothing else writes, or clear the record and draw its skeleton on every read after the first.
|
|
108
108
|
Check: Press Refresh on a record another writer changes: the values stay, the page body is busy until the answer, and the button waits on it.
|
|
109
|
+
|
|
110
|
+
### AF-08 · A write refreshes every view it changed
|
|
111
|
+
|
|
112
|
+
Level: MUST
|
|
113
|
+
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
|
|
114
|
+
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).
|
|
115
|
+
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.
|
|
116
|
+
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.
|
|
117
|
+
Don't: Refresh only the region the control stands in, or rely on the next navigation to read the other figures again.
|
|
118
|
+
Check: Perform each write: every figure on screen that the write changes shows the new value without a reload.
|
|
@@ -110,13 +110,7 @@ Check: For every axis a screen passes to a family, the screen can name what it a
|
|
|
110
110
|
|
|
111
111
|
### CP-07 · A page's width is its type's
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
Applies to: every `page`
|
|
115
|
-
Rule: 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`.
|
|
116
|
-
Why: The page's width is the one measure its header and its body share, and a form capped in its own stylesheet ran its body to 736 pixels under a header of 1280, so the two end edges did not meet.
|
|
117
|
-
Do: Set the width on the page and nowhere else; a form with a table of lines keeps `content` and lets the table's columns truncate.
|
|
118
|
-
Don't: Cap a form's body with a width of the screen's own, or leave a form at `wide` so its fields run the length of a monitor.
|
|
119
|
-
Check: On every form the header's end edge and the body's end edge are the same line.
|
|
113
|
+
Status: retired · rewritten as CP-10, which gives every destination one width
|
|
120
114
|
|
|
121
115
|
### CP-08 · A control that changes mode keeps every box where it was
|
|
122
116
|
|
|
@@ -137,3 +131,13 @@ Why: Mounting a region of families in the click's task blocks the next paint, an
|
|
|
137
131
|
Do: Keep the selection state urgent and hand the region the deferred value; mount only the selected panel, with mount active.
|
|
138
132
|
Don't: Set the selection and the region from one state update inside the click handler, or mount every panel to make switching look instant.
|
|
139
133
|
Check: Switch the control with the CPU throttled 4× in Chrome: the selection marker moves in the next frame, and the Performance panel shows no long task between the click and that paint.
|
|
134
|
+
|
|
135
|
+
### CP-10 · Every destination has one width
|
|
136
|
+
|
|
137
|
+
Level: SHOULD
|
|
138
|
+
Applies to: every `page`
|
|
139
|
+
Rule: 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`.
|
|
140
|
+
Why: A list at `bleed`, a record at `wide` and a form at `content` moved the column's edges on every move between destinations, and a form 56rem wide stood narrow in a desktop frame; the owner read the pages as squeezed and without a pattern.
|
|
141
|
+
Do: Set `full` on every destination and `wide` on every form, on the page and nowhere else; a list keeps `fill` (LP-12); a form arranges its fields in a `grid` within that width.
|
|
142
|
+
Don't: Give each page type a measure of its own, or cap a form's body with a width of the screen's own.
|
|
143
|
+
Check: Move between two destinations of the navigation: the header's and the body's start and end edges stay on the same lines.
|
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,9 +28,9 @@ 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
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` |
|
|
33
34
|
| 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` |
|
|
34
35
|
| 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` |
|
|
35
36
|
| 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` |
|
|
@@ -74,11 +75,15 @@ Every active rule, one line each. Load this first; load a topic file when the ta
|
|
|
74
75
|
| 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` |
|
|
75
76
|
| 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` |
|
|
76
77
|
| 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`; `table` is for sets the page bounds, such as a statement's lines or a record's related rows. | `list-pages.md` |
|
|
78
|
+
| 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` |
|
|
79
|
+
| 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` |
|
|
80
|
+
| 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` |
|
|
77
81
|
| 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` |
|
|
78
82
|
| 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` |
|
|
79
83
|
| 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` |
|
|
80
84
|
| 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` |
|
|
81
85
|
| 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` |
|
|
86
|
+
| 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` |
|
|
82
87
|
| 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` |
|
|
83
88
|
| 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` |
|
|
84
89
|
| 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` |
|
|
@@ -174,3 +174,33 @@ Why: `table` mounts every cell: a hundred rows of twenty columns measured 93 ms
|
|
|
174
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
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
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.
|
|
@@ -64,3 +64,13 @@ 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.
|