@slotted/angular 0.1.0-beta.2 → 0.1.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/AGENTS.snippet.md +2 -0
- package/docs/action-bar.json +5 -4
- package/docs/action-bar.md +4 -4
- package/docs/action-sheet.json +391 -64
- package/docs/action-sheet.md +259 -0
- package/docs/alert.json +22 -5
- package/docs/alert.md +16 -5
- package/docs/app-shell.examples.md +1 -1
- package/docs/app-shell.json +24 -7
- package/docs/app-shell.md +5 -3
- package/docs/avatar.json +22 -1
- package/docs/avatar.md +5 -3
- package/docs/badge.json +7 -1
- package/docs/badge.md +3 -3
- package/docs/button-group.json +2 -0
- package/docs/button-group.md +1 -1
- package/docs/button.examples.md +15 -0
- package/docs/button.json +165 -11
- package/docs/button.md +34 -6
- package/docs/calendar.json +27 -2
- package/docs/calendar.md +6 -3
- package/docs/cascader.json +1 -0
- package/docs/cascader.md +1 -1
- package/docs/chart.examples.md +16 -2
- package/docs/chart.json +13 -4
- package/docs/chart.md +4 -3
- package/docs/code-block.json +92 -92
- package/docs/code-block.md +69 -69
- package/docs/combobox.json +2 -0
- package/docs/combobox.md +1 -1
- package/docs/command-palette.json +1 -0
- package/docs/command-palette.md +1 -1
- package/docs/currency-field.json +40 -1
- package/docs/currency-field.md +5 -1
- package/docs/dashboard-grid.json +31 -9
- package/docs/dashboard-grid.md +15 -6
- package/docs/data-grid.examples.md +2 -2
- package/docs/data-grid.json +34 -8
- package/docs/data-grid.md +2 -1
- package/docs/data-grid.props.md +6 -4
- package/docs/data-list.json +2 -1
- package/docs/data-list.md +1 -1
- package/docs/date-field.json +9 -1
- package/docs/date-field.md +3 -2
- package/docs/date-picker.examples.md +36 -0
- package/docs/date-picker.json +21 -5
- package/docs/date-picker.md +6 -5
- package/docs/datetime-field.json +1 -0
- package/docs/datetime-field.md +1 -1
- package/docs/description-list.json +9 -1
- package/docs/description-list.md +2 -1
- package/docs/detail-panel.json +4 -2
- package/docs/detail-panel.md +8 -3
- package/docs/dialog.examples.md +158 -136
- package/docs/dialog.json +36 -11
- package/docs/dialog.md +4 -2
- package/docs/dialog.props.md +1 -1
- package/docs/drawer.examples.md +1 -1
- package/docs/drawer.json +29 -10
- package/docs/drawer.md +9 -7
- package/docs/entity-picker.json +20 -4
- package/docs/entity-picker.md +8 -6
- package/docs/event-calendar.md +2 -2
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/form.json +2 -1
- package/docs/form.md +1 -1
- package/docs/guidelines/README.md +2 -2
- package/docs/guidelines/async-feedback.md +25 -4
- package/docs/guidelines/composition.md +33 -7
- package/docs/guidelines/errors-and-conflicts.md +7 -6
- package/docs/guidelines/forms.md +10 -0
- package/docs/guidelines/index.md +16 -4
- package/docs/guidelines/layout-alignment.md +19 -9
- package/docs/guidelines/list-pages.md +44 -3
- package/docs/guidelines/overviews.md +31 -1
- package/docs/guidelines/own-elements.md +1 -1
- package/docs/guidelines/reading-permissions.md +2 -2
- package/docs/guidelines/reports.md +1 -1
- package/docs/icon.json +3 -1
- package/docs/icon.md +3 -3
- package/docs/index.md +2 -2
- package/docs/inline-message.json +20 -7
- package/docs/inline-message.md +11 -9
- package/docs/kbd.json +3 -0
- package/docs/kbd.md +1 -1
- package/docs/link.json +16 -0
- package/docs/link.md +3 -1
- package/docs/list-item.json +19 -3
- package/docs/list-item.md +19 -16
- package/docs/list.json +19 -1
- package/docs/list.md +3 -1
- package/docs/markdown.json +86 -79
- package/docs/markdown.md +66 -65
- package/docs/menu.json +13 -0
- package/docs/menu.md +3 -1
- package/docs/message-scroller.json +1 -1
- package/docs/message.json +7 -1
- package/docs/message.md +3 -3
- package/docs/multi-select.json +1 -0
- package/docs/multi-select.md +1 -1
- package/docs/notification-center.json +4 -0
- package/docs/notification-center.md +2 -2
- package/docs/number-field.json +1 -0
- package/docs/number-field.md +1 -1
- package/docs/otp-input.json +1 -0
- package/docs/otp-input.md +1 -1
- package/docs/page-header.json +22 -5
- package/docs/page-header.md +6 -4
- package/docs/page.json +4 -2
- package/docs/page.md +3 -2
- package/docs/popover.json +2 -1
- package/docs/popover.md +1 -1
- package/docs/progress-indicator.json +3 -1
- package/docs/progress-indicator.md +3 -3
- package/docs/prompt-composer.json +50 -3
- package/docs/prompt-composer.md +8 -2
- package/docs/rating.json +5 -3
- package/docs/rating.md +6 -6
- package/docs/scroll-area.json +266 -64
- package/docs/scroll-area.md +188 -0
- package/docs/section.json +38 -16
- package/docs/section.md +23 -20
- package/docs/segmented-control.json +36 -12
- package/docs/segmented-control.md +17 -1
- package/docs/select.json +2 -0
- package/docs/select.md +1 -1
- package/docs/side-navigation.json +1 -0
- package/docs/side-navigation.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +6 -6
- package/docs/skills/compose-screen/SKILL.md +53 -17
- package/docs/skills/review-screen/SKILL.md +28 -17
- package/docs/skills/theme-app/SKILL.md +53 -15
- package/docs/skills/waiting-states/SKILL.md +14 -10
- package/docs/sparkline.json +5 -2
- package/docs/sparkline.md +4 -4
- package/docs/split-button.json +4 -1
- package/docs/split-button.md +3 -3
- package/docs/splitter.json +279 -64
- package/docs/splitter.md +215 -0
- package/docs/stat-card.json +11 -5
- package/docs/stat-card.md +6 -6
- package/docs/status-indicator.json +16 -5
- package/docs/status-indicator.md +3 -1
- package/docs/table-of-contents.json +2 -1
- package/docs/table-of-contents.md +2 -2
- package/docs/table.examples.md +3 -3
- package/docs/table.json +85 -3
- package/docs/table.md +12 -1
- package/docs/tabs.json +16 -3
- package/docs/tabs.md +3 -2
- package/docs/tag.json +24 -13
- package/docs/tag.md +11 -11
- package/docs/tags-input.json +29 -2
- package/docs/tags-input.md +4 -1
- package/docs/text-field.json +2 -1
- package/docs/text-field.md +2 -2
- package/docs/textarea.json +1 -0
- package/docs/textarea.md +1 -1
- package/docs/time-field.json +1 -0
- package/docs/time-field.md +1 -1
- package/docs/timeline.json +138 -132
- package/docs/timeline.md +125 -125
- package/docs/toast.json +8 -1
- package/docs/toast.md +3 -3
- package/docs/toggle-group.json +14 -3
- package/docs/toggle-group.md +3 -3
- package/docs/toggle.json +12 -3
- package/docs/toggle.md +3 -3
- package/docs/tokens.md +54 -11
- package/docs/toolbar.json +1 -1
- package/docs/toolbar.md +1 -1
- package/docs/tooltip.json +1 -0
- package/docs/tooltip.md +1 -1
- package/docs/tour.json +1 -1
- package/docs/typography.json +4 -2
- package/docs/typography.md +5 -5
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +27 -12
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +29 -16
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +124 -63
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
- package/fesm2022/slotted-angular-attachment.mjs +33 -22
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +9 -6
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +14 -7
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +14 -10
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +26 -18
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +7 -4
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +197 -30
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +263 -65
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +18 -16
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-carousel.mjs +22 -11
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +180 -66
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +62 -20
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +13 -8
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +29 -15
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +20 -15
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +77 -22
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +68 -31
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +108 -35
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +162 -54
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +149 -32
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +295 -68
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +461 -129
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +74 -25
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +112 -40
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +45 -22
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +48 -16
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +41 -29
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +115 -48
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +44 -21
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +79 -37
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-divider.mjs +7 -5
- package/fesm2022/slotted-angular-divider.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +235 -104
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +259 -102
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +14 -7
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +35 -15
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +118 -51
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +18 -10
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +4 -2
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +5 -3
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-hover-card.mjs +5 -4
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +188 -87
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-image.mjs +13 -10
- package/fesm2022/slotted-angular-image.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +175 -99
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +94 -19
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +4 -2
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs +11 -7
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-link.mjs +13 -4
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +63 -23
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +37 -22
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +39 -21
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +59 -22
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +57 -31
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
- package/fesm2022/slotted-angular-menu.mjs +51 -29
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +6 -3
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +34 -15
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +119 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +163 -60
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +108 -65
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +23 -11
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +13 -8
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-page-header.mjs +90 -48
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +60 -12
- package/fesm2022/slotted-angular-page.mjs.map +1 -1
- package/fesm2022/slotted-angular-pagination.mjs +35 -22
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +32 -19
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +236 -52
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
- package/fesm2022/slotted-angular-prose.mjs +14 -11
- package/fesm2022/slotted-angular-prose.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +15 -9
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +138 -82
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs +16 -12
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +43 -16
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
- package/fesm2022/slotted-angular-section.mjs +81 -19
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +37 -11
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +189 -69
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-skeleton.mjs +32 -16
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +31 -11
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-sparkline.mjs +41 -14
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +37 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +4 -2
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +69 -31
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +50 -19
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-stepper.mjs +40 -15
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs +15 -10
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +241 -71
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs +42 -18
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +19 -12
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +253 -28
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +55 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs +6 -3
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +32 -20
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +113 -46
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +147 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +48 -36
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +25 -8
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs +9 -4
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-toolbar.mjs +27 -12
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +15 -6
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
- package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +47 -22
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +69 -30
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-tree.mjs +80 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +8 -4
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +125 -57
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +163 -65
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +3 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- package/types/slotted-angular-action-bar.d.ts +2 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +13 -4
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts +12 -4
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
- package/types/slotted-angular-attachment.d.ts +2 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts.map +1 -1
- package/types/slotted-angular-avatar.d.ts +11 -3
- package/types/slotted-angular-avatar.d.ts.map +1 -1
- package/types/slotted-angular-badge.d.ts +1 -1
- package/types/slotted-angular-badge.d.ts.map +1 -1
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts +1 -1
- package/types/slotted-angular-button-group.d.ts.map +1 -1
- package/types/slotted-angular-button.d.ts +67 -14
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +43 -2
- package/types/slotted-angular-calendar.d.ts.map +1 -1
- package/types/slotted-angular-card.d.ts.map +1 -1
- package/types/slotted-angular-carousel.d.ts.map +1 -1
- package/types/slotted-angular-cascader.d.ts.map +1 -1
- package/types/slotted-angular-chart.d.ts +21 -9
- package/types/slotted-angular-chart.d.ts.map +1 -1
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
- package/types/slotted-angular-checkbox.d.ts.map +1 -1
- package/types/slotted-angular-code-block.d.ts +2 -1
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +2 -1
- package/types/slotted-angular-collapsible.d.ts.map +1 -1
- package/types/slotted-angular-color-picker.d.ts.map +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-combobox.d.ts +6 -1
- package/types/slotted-angular-combobox.d.ts.map +1 -1
- package/types/slotted-angular-command-palette.d.ts +10 -1
- package/types/slotted-angular-command-palette.d.ts.map +1 -1
- package/types/slotted-angular-container.d.ts.map +1 -1
- package/types/slotted-angular-context-menu.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +63 -15
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts +63 -7
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +62 -4
- package/types/slotted-angular-data-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-list.d.ts.map +1 -1
- package/types/slotted-angular-date-field.d.ts +11 -1
- package/types/slotted-angular-date-field.d.ts.map +1 -1
- package/types/slotted-angular-date-picker.d.ts +38 -12
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts +0 -1
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-field.d.ts.map +1 -1
- package/types/slotted-angular-datetime-picker.d.ts +0 -1
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +0 -1
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-description-list.d.ts +11 -3
- package/types/slotted-angular-description-list.d.ts.map +1 -1
- package/types/slotted-angular-detail-panel.d.ts.map +1 -1
- package/types/slotted-angular-dialog.d.ts +11 -3
- package/types/slotted-angular-dialog.d.ts.map +1 -1
- package/types/slotted-angular-divider.d.ts.map +1 -1
- package/types/slotted-angular-drawer.d.ts +29 -3
- package/types/slotted-angular-drawer.d.ts.map +1 -1
- package/types/slotted-angular-entity-picker.d.ts +63 -15
- package/types/slotted-angular-entity-picker.d.ts.map +1 -1
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- package/types/slotted-angular-field.d.ts.map +1 -1
- package/types/slotted-angular-filter-bar.d.ts.map +1 -1
- package/types/slotted-angular-form.d.ts.map +1 -1
- package/types/slotted-angular-fullscreen.d.ts.map +1 -1
- package/types/slotted-angular-grid.d.ts.map +1 -1
- package/types/slotted-angular-highlight.d.ts.map +1 -1
- package/types/slotted-angular-hover-card.d.ts.map +1 -1
- package/types/slotted-angular-icon.d.ts +13 -3
- package/types/slotted-angular-icon.d.ts.map +1 -1
- package/types/slotted-angular-image.d.ts.map +1 -1
- package/types/slotted-angular-import-export-center.d.ts.map +1 -1
- package/types/slotted-angular-inline-message.d.ts +29 -28
- package/types/slotted-angular-inline-message.d.ts.map +1 -1
- package/types/slotted-angular-inline.d.ts.map +1 -1
- package/types/slotted-angular-kbd.d.ts.map +1 -1
- package/types/slotted-angular-link.d.ts +8 -2
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts +5 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +42 -27
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-listbox.d.ts.map +1 -1
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
- package/types/slotted-angular-markdown.d.ts +6 -1
- package/types/slotted-angular-markdown.d.ts.map +1 -1
- package/types/slotted-angular-menu.d.ts +11 -2
- package/types/slotted-angular-menu.d.ts.map +1 -1
- package/types/slotted-angular-menubar.d.ts +5 -4
- package/types/slotted-angular-menubar.d.ts.map +1 -1
- package/types/slotted-angular-message-scroller.d.ts.map +1 -1
- package/types/slotted-angular-message.d.ts +1 -1
- package/types/slotted-angular-message.d.ts.map +1 -1
- package/types/slotted-angular-multi-select.d.ts +6 -1
- package/types/slotted-angular-multi-select.d.ts.map +1 -1
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
- package/types/slotted-angular-notification-center.d.ts +1 -1
- package/types/slotted-angular-notification-center.d.ts.map +1 -1
- package/types/slotted-angular-number-field.d.ts.map +1 -1
- package/types/slotted-angular-otp-input.d.ts.map +1 -1
- package/types/slotted-angular-page-header.d.ts +15 -6
- package/types/slotted-angular-page-header.d.ts.map +1 -1
- package/types/slotted-angular-page.d.ts +7 -1
- package/types/slotted-angular-page.d.ts.map +1 -1
- package/types/slotted-angular-pagination.d.ts.map +1 -1
- package/types/slotted-angular-popover.d.ts.map +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +8 -1
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts +35 -3
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
- package/types/slotted-angular-prose.d.ts.map +1 -1
- package/types/slotted-angular-radio-group.d.ts.map +1 -1
- package/types/slotted-angular-rating.d.ts +1 -1
- package/types/slotted-angular-rating.d.ts.map +1 -1
- package/types/slotted-angular-result-state.d.ts.map +1 -1
- package/types/slotted-angular-saved-views.d.ts.map +1 -1
- package/types/slotted-angular-scroll-area.d.ts.map +1 -1
- package/types/slotted-angular-section.d.ts +14 -4
- package/types/slotted-angular-section.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts +15 -2
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +13 -2
- package/types/slotted-angular-select.d.ts.map +1 -1
- package/types/slotted-angular-side-navigation.d.ts.map +1 -1
- package/types/slotted-angular-skeleton.d.ts.map +1 -1
- package/types/slotted-angular-slider.d.ts.map +1 -1
- package/types/slotted-angular-sparkline.d.ts +7 -1
- package/types/slotted-angular-sparkline.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts +2 -2
- package/types/slotted-angular-split-button.d.ts.map +1 -1
- package/types/slotted-angular-splitter.d.ts.map +1 -1
- package/types/slotted-angular-stack.d.ts.map +1 -1
- package/types/slotted-angular-stat-card.d.ts +9 -4
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +13 -3
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +2 -1
- package/types/slotted-angular-stepper.d.ts.map +1 -1
- package/types/slotted-angular-switch.d.ts.map +1 -1
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
- package/types/slotted-angular-table.d.ts +63 -6
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-tabs.d.ts +3 -4
- package/types/slotted-angular-tabs.d.ts.map +1 -1
- package/types/slotted-angular-tag.d.ts +2 -2
- package/types/slotted-angular-tag.d.ts.map +1 -1
- package/types/slotted-angular-tags-input.d.ts +33 -1
- package/types/slotted-angular-tags-input.d.ts.map +1 -1
- package/types/slotted-angular-text-field.d.ts.map +1 -1
- package/types/slotted-angular-textarea.d.ts.map +1 -1
- package/types/slotted-angular-theme.d.ts +7 -5
- package/types/slotted-angular-theme.d.ts.map +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +0 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +0 -1
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-timeline.d.ts +1 -1
- package/types/slotted-angular-timeline.d.ts.map +1 -1
- package/types/slotted-angular-toast.d.ts +5 -3
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts +8 -2
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
- package/types/slotted-angular-toolbar.d.ts +2 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts +1 -1
- package/types/slotted-angular-typography.d.ts.map +1 -1
- package/types/slotted-angular-upload.d.ts +4 -2
- package/types/slotted-angular-upload.d.ts.map +1 -1
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
- package/types/slotted-angular-wizard.d.ts.map +1 -1
package/docs/splitter.json
CHANGED
|
@@ -49,69 +49,171 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"docs": {
|
|
52
|
-
"
|
|
53
|
-
"imports":
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
52
|
+
"splitter": {
|
|
53
|
+
"imports": {
|
|
54
|
+
"source": "import { SlSplitter, provideSplitterDefaults } from '@slotted/angular/splitter';",
|
|
55
|
+
"selector": "[slSplitter]",
|
|
56
|
+
"exportAs": "slSplitter"
|
|
57
|
+
},
|
|
58
|
+
"anatomy": [
|
|
59
|
+
{
|
|
60
|
+
"part": "root",
|
|
61
|
+
"element": "the consumer’s own element, with role=separator and tabindex=0",
|
|
62
|
+
"required": true,
|
|
63
|
+
"purpose": "The bar. A directive rather than a tag of its own, because the boundary sits inside a layout the consumer wrote and the element it should be is theirs to choose."
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"part": "line",
|
|
67
|
+
"element": "span",
|
|
68
|
+
"required": true,
|
|
69
|
+
"purpose": "A hairline each side of the grip, fading out away from it. Runs the whole track under the hand and under a drag."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"part": "grip",
|
|
73
|
+
"element": "span[aria-hidden]",
|
|
74
|
+
"required": true,
|
|
75
|
+
"purpose": "The mark in the middle, so a resizable boundary is one a reader can see before touching it. Hidden from the accessibility tree: the bar around it is already named and already valued."
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"api": [
|
|
79
|
+
{
|
|
80
|
+
"name": "orientation",
|
|
81
|
+
"type": "'vertical' | 'horizontal'",
|
|
82
|
+
"defaultValue": "vertical",
|
|
83
|
+
"appliesTo": "slSplitter",
|
|
84
|
+
"description": "Which way the bar’s own line runs. A vertical line divides two regions side by side"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "for",
|
|
88
|
+
"type": "HTMLElement",
|
|
89
|
+
"defaultValue": "the previous element sibling",
|
|
90
|
+
"appliesTo": "slSplitter",
|
|
91
|
+
"description": "The element the bar sizes, announces and writes the fraction on, as a template reference"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "value",
|
|
95
|
+
"type": "model<number>",
|
|
96
|
+
"defaultValue": "0.5",
|
|
97
|
+
"appliesTo": "slSplitter",
|
|
98
|
+
"description": "The fraction of the container taken by the region before the bar, in [0, 1]"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "min",
|
|
102
|
+
"type": "number | string",
|
|
103
|
+
"defaultValue": "0",
|
|
104
|
+
"appliesTo": "slSplitter",
|
|
105
|
+
"description": "A fraction, or any CSS length resolved against the container — \"200px\", \"18rem\", \"25%\""
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "max",
|
|
109
|
+
"type": "number | string",
|
|
110
|
+
"defaultValue": "1",
|
|
111
|
+
"appliesTo": "slSplitter",
|
|
112
|
+
"description": "The ceiling, in either unit"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "defaultValue",
|
|
116
|
+
"type": "number",
|
|
117
|
+
"defaultValue": "0.5",
|
|
118
|
+
"appliesTo": "slSplitter",
|
|
119
|
+
"description": "Where reset() and a double click return the bar, brought inside min and max. An input of its own and not the model’s first value: the value bound on arrival is where the reader left the bar, restored from storage, and never where a reset should go"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "snapPoints",
|
|
123
|
+
"type": "readonly number[]",
|
|
124
|
+
"defaultValue": "",
|
|
125
|
+
"appliesTo": "slSplitter",
|
|
126
|
+
"description": "Stops a released drag lands on and an arrow steps between. Empty is a continuous range"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "collapsible",
|
|
130
|
+
"type": "boolean",
|
|
131
|
+
"defaultValue": "false",
|
|
132
|
+
"appliesTo": "slSplitter",
|
|
133
|
+
"description": "Whether Enter collapses the region before the bar"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "collapsedValue",
|
|
137
|
+
"type": "number",
|
|
138
|
+
"defaultValue": "0",
|
|
139
|
+
"appliesTo": "slSplitter",
|
|
140
|
+
"description": "Where a collapse lands"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "collapsed",
|
|
144
|
+
"type": "model<boolean>",
|
|
145
|
+
"defaultValue": "false",
|
|
146
|
+
"appliesTo": "slSplitter",
|
|
147
|
+
"description": "Whether the region is collapsed"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "disabled",
|
|
151
|
+
"type": "boolean",
|
|
152
|
+
"defaultValue": "false",
|
|
153
|
+
"appliesTo": "slSplitter",
|
|
154
|
+
"description": "Stops the bar moving. It keeps the tab stop, so the value stays readable"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"composition": [
|
|
158
|
+
{
|
|
159
|
+
"name": "provideSplitterDefaults",
|
|
160
|
+
"type": "{ orientation, min, max, collapsedValue }",
|
|
161
|
+
"defaultValue": "—",
|
|
162
|
+
"appliesTo": "Providers",
|
|
163
|
+
"description": "An application states its floor once rather than on every bar in it"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "exportAs",
|
|
167
|
+
"type": "'slSplitter'",
|
|
168
|
+
"defaultValue": "—",
|
|
169
|
+
"appliesTo": "slSplitter",
|
|
170
|
+
"description": "collapse(), expand(), reset() and focus(), reachable from the template"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "the host element",
|
|
174
|
+
"type": "any element",
|
|
175
|
+
"defaultValue": "—",
|
|
176
|
+
"appliesTo": "slSplitter",
|
|
177
|
+
"description": "A directive, so the bar is whatever element the consumer’s layout wanted there"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "--slotted-splitter-value",
|
|
181
|
+
"type": "number",
|
|
182
|
+
"defaultValue": "—",
|
|
183
|
+
"appliesTo": "the element [for] names",
|
|
184
|
+
"description": "The fraction, published where CSS can read it, so the common case needs no component state at all"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"events": [
|
|
188
|
+
{
|
|
189
|
+
"name": "valueChange",
|
|
190
|
+
"payload": "number",
|
|
191
|
+
"when": "After the position moves. The two-way form of the model, for a template that binds [(value)]."
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "valueChangeRequest",
|
|
195
|
+
"payload": "SplitterValueRequest",
|
|
196
|
+
"when": "Before the position moves, on every step of a drag and on every key press. Call cancel() on it to refuse; reason is pointer, keyboard or programmatic."
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "collapsedChangeRequest",
|
|
200
|
+
"payload": "SplitterCollapsedRequest",
|
|
201
|
+
"when": "Before Enter collapses the region or brings it back. Refusing it leaves both the state and the measure where they were."
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "resizeEnd",
|
|
205
|
+
"payload": "number",
|
|
206
|
+
"when": "Once, when a drag settles. The value moves throughout one, so a consumer saving a layout saves here rather than sixty times there."
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"accessibility": [
|
|
210
|
+
"The bar has no default accessible name: the family cannot know which region it sizes. Name it with aria-labelledby pointing at the heading of the element `for` names, or with aria-label.",
|
|
211
|
+
"The bar is role=\"separator\" with tabindex=\"0\", which is the focusable widget form the role takes in the WAI-ARIA Window Splitter pattern; aria-valuenow, aria-valuemin and aria-valuemax are the fraction times a hundred, and the value reported is the clamped one, so the announcement and the layout cannot disagree.",
|
|
212
|
+
"aria-orientation is written only for the vertical bar, because horizontal is the attribute’s own default on role=\"separator\" and a family writes the departure from an element’s semantics rather than the agreement with it.",
|
|
213
|
+
"aria-controls names the element [for] hands the bar — the same element that carries --slotted-splitter-value and the same one the bar sizes, so what a reader hears and what a reader sees are one region rather than two that can drift; the family writes that element an id when it has none.",
|
|
214
|
+
"A role, a tabindex or an aria-controls the consumer wrote on the element is read with HostAttributeToken before the host bindings run, and kept: a binding that resolves to null removes an attribute rather than leaving the author’s value in place.",
|
|
215
|
+
"A disabled bar keeps its tab stop and its announcement. A reader who cannot move a separator can still read the value it holds."
|
|
216
|
+
]
|
|
115
217
|
}
|
|
116
218
|
},
|
|
117
219
|
"tokens": [
|
|
@@ -138,5 +240,118 @@
|
|
|
138
240
|
"--slotted-target-min",
|
|
139
241
|
"--slotted-text-muted"
|
|
140
242
|
],
|
|
141
|
-
"examples": [
|
|
243
|
+
"examples": [
|
|
244
|
+
{
|
|
245
|
+
"id": "playground",
|
|
246
|
+
"title": "A workspace with a movable boundary",
|
|
247
|
+
"note": "Drag the bar, or Tab to it and use the arrows. The number announced and the measure applied are the same number, and the region beside it takes whatever is left.",
|
|
248
|
+
"language": "html",
|
|
249
|
+
"source": "<div class=\"workspace\">\n <aside>…</aside>\n <div slSplitter [(value)]=\"width\"></div>\n <main>…</main>\n</div>\n",
|
|
250
|
+
"verdict": "excerpt"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "orientation",
|
|
254
|
+
"title": "Both axes, and the arrows each one answers",
|
|
255
|
+
"note": "A vertical bar divides two regions side by side and answers Left and Right; a horizontal bar divides two stacked regions and answers Up and Down. The other pair is left to the page, so a document that scrolls still scrolls.",
|
|
256
|
+
"language": "html",
|
|
257
|
+
"source": "<div slSplitter orientation=\"vertical\"></div>\n<div slSplitter orientation=\"horizontal\"></div>\n",
|
|
258
|
+
"verdict": "excerpt"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "value",
|
|
262
|
+
"title": "Two-way, and the fraction published to CSS",
|
|
263
|
+
"note": "The left pair holds no value at all and is driven by the custom property; the right pair binds [(value)] and prints the number beside it. Both regions are sized by one CSS rule, never by a style attribute.",
|
|
264
|
+
"language": "html",
|
|
265
|
+
"source": "<!-- aside { inline-size: calc(var(--slotted-splitter-value, 0.34) * 100%) } -->\n<div slSplitter></div>\n\n<div slSplitter [(value)]=\"width\"></div>\n",
|
|
266
|
+
"verdict": "excerpt"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"id": "limits",
|
|
270
|
+
"title": "A floor in pixels beside a ceiling in per cent",
|
|
271
|
+
"note": "Drag both bars to their ends. The first stops at two hundred pixels however narrow the window gets; the second stops at sixty per cent of it. Not one of the seven surveyed implementations can state the first — Zag says outright that it takes percentages only.",
|
|
272
|
+
"language": "html",
|
|
273
|
+
"source": "<div slSplitter min=\"200px\" [max]=\"0.6\"></div>\n",
|
|
274
|
+
"verdict": "excerpt"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "collapse",
|
|
278
|
+
"title": "Enter collapses the region, and Enter brings it back",
|
|
279
|
+
"note": "The pattern’s own key. Collapsing stores the fraction the region had and expanding returns it, so a restored region comes back where it was rather than at some small size indistinguishable from a collapse.",
|
|
280
|
+
"language": "html",
|
|
281
|
+
"source": "<div slSplitter collapsible [collapsedValue]=\"0.06\" [(value)]=\"width\"></div>\n",
|
|
282
|
+
"verdict": "excerpt"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "snapPoints",
|
|
286
|
+
"title": "Three stops a released drag lands on",
|
|
287
|
+
"note": "Drag past a stop and let go: the bar takes the nearest one. It snaps on release and never during the drag, because a bar that snapped on every move would fight the hand rather than help it. The arrows step between the same stops.",
|
|
288
|
+
"language": "html",
|
|
289
|
+
"source": "<div slSplitter [snapPoints]=\"[0.2, 0.34, 0.5]\"></div>\n",
|
|
290
|
+
"verdict": "excerpt"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"id": "reset",
|
|
294
|
+
"title": "Double click puts it back at defaultValue",
|
|
295
|
+
"note": "Move the bar anywhere, then double click it: it returns to defaultValue, inside min and max. The pattern assigns double click nothing, and every surveyed implementation that ships a reset puts it there; the same action is on the instance as reset().",
|
|
296
|
+
"language": "html",
|
|
297
|
+
"source": "<div slSplitter #bar=\"slSplitter\" [defaultValue]=\"0.34\" [(value)]=\"width\"></div>\n<button (click)=\"bar.reset()\">Repor</button>\n",
|
|
298
|
+
"verdict": "excerpt"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "disabled",
|
|
302
|
+
"title": "Frozen, and still readable",
|
|
303
|
+
"note": "The bar keeps its tab stop and its three ARIA values, and the lines drop to the disabled step. Hover and press are held back for it. A reader who cannot move a separator can still be told where it is.",
|
|
304
|
+
"language": "html",
|
|
305
|
+
"source": "<div slSplitter disabled [value]=\"0.34\"></div>\n",
|
|
306
|
+
"verdict": "excerpt"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "keyboard",
|
|
310
|
+
"title": "Every key the pattern lists",
|
|
311
|
+
"note": "Tab to the bar: arrows move sixteen pixels and sixty-four with Shift, Home and End go to the limits, Enter collapses and restores. Watch aria-valuenow in the row beneath as each one lands.",
|
|
312
|
+
"language": "html",
|
|
313
|
+
"source": "<div slSplitter collapsible [min]=\"0.15\" [max]=\"0.75\" [(value)]=\"width\"></div>\n",
|
|
314
|
+
"verdict": "excerpt"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"id": "twoBars",
|
|
318
|
+
"title": "Two bars in series, each clamping alone",
|
|
319
|
+
"note": "The shape the SAP Help Portal uses. The family holds no panels, so the consumer owns the layout and therefore the policy: each bar clamps against its own limits and neither negotiates with the other.",
|
|
320
|
+
"language": "html",
|
|
321
|
+
"source": "<div class=\"workspace\">\n <aside #toc>…</aside>\n <div slSplitter [for]=\"toc\" min=\"180px\" [max]=\"0.4\"></div>\n <main #doc>…</main>\n <div slSplitter [for]=\"doc\" [min]=\"0.4\" [max]=\"0.85\"></div>\n <aside>…</aside>\n</div>\n",
|
|
322
|
+
"verdict": "excerpt"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"id": "persistence",
|
|
326
|
+
"title": "A layout that survives a reload",
|
|
327
|
+
"note": "Drag the bar: the moving number changes every frame and the saved one changes once, on release. The family never touches storage — which storage, and whether a layout crosses a login, are the application’s decisions.",
|
|
328
|
+
"language": "html",
|
|
329
|
+
"source": "<div slSplitter [(value)]=\"width\" (resizeEnd)=\"save($event)\"></div>\n",
|
|
330
|
+
"verdict": "excerpt"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "composition",
|
|
334
|
+
"title": "The instance a template reaches, and a host the consumer chose",
|
|
335
|
+
"note": "The bar is a directive, so it is written on whatever element the layout wanted there. The buttons drive the instance through exportAs; the second bar refuses every keyboard move from its own handler.",
|
|
336
|
+
"language": "html",
|
|
337
|
+
"source": "<section slSplitter #bar=\"slSplitter\" collapsible></section>\n<button (click)=\"bar.collapse()\">collapse()</button>\n",
|
|
338
|
+
"verdict": "excerpt"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"id": "defaults",
|
|
342
|
+
"title": "One floor, stated once for the application",
|
|
343
|
+
"note": "Both bars inherit a two-hundred-pixel floor from the provider; the second states its own and wins, because an explicit consumer value always does. None of the seven surveyed implementations has an equivalent.",
|
|
344
|
+
"language": "ts",
|
|
345
|
+
"source": "bootstrapApplication(App, {\n providers: [provideSplitterDefaults({ min: '200px' })],\n});\n",
|
|
346
|
+
"verdict": "excerpt"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "accessibility",
|
|
350
|
+
"title": "What a screen reader is told",
|
|
351
|
+
"note": "The bar names the region through aria-controls and takes its name from that region’s own heading, which is the pattern’s rule: a separator is named for the region it sizes. The row beneath prints the four attributes as they stand in the DOM.",
|
|
352
|
+
"language": "html",
|
|
353
|
+
"source": "<aside #region>\n <h3 id=\"contas-heading\">Contas a receber</h3>\n</aside>\n<div slSplitter [for]=\"region\" aria-labelledby=\"contas-heading\"></div>\n",
|
|
354
|
+
"verdict": "excerpt"
|
|
355
|
+
}
|
|
356
|
+
]
|
|
142
357
|
}
|
package/docs/splitter.md
CHANGED
|
@@ -3,12 +3,227 @@
|
|
|
3
3
|
|
|
4
4
|
`data-ui="splitter"` · Resizable panes divided by a handle.
|
|
5
5
|
|
|
6
|
+
## Import
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import { SlSplitter, provideSplitterDefaults } from '@slotted/angular/splitter';
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Selector: `[slSplitter]` · exportAs: `slSplitter`
|
|
13
|
+
|
|
14
|
+
## Minimal example
|
|
15
|
+
|
|
16
|
+
Excerpt — not a complete module
|
|
17
|
+
|
|
18
|
+
```html
|
|
19
|
+
<div class="workspace">
|
|
20
|
+
<aside>…</aside>
|
|
21
|
+
<div slSplitter [(value)]="width"></div>
|
|
22
|
+
<main>…</main>
|
|
23
|
+
</div>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Anatomy
|
|
27
|
+
|
|
28
|
+
| Part | Element | Required |
|
|
29
|
+
| --- | --- | --- |
|
|
30
|
+
| `root` | the consumer’s own element, with role=separator and tabindex=0 | yes |
|
|
31
|
+
| `line` | span | yes |
|
|
32
|
+
| `grip` | span[aria-hidden] | yes |
|
|
33
|
+
|
|
34
|
+
## Props
|
|
35
|
+
|
|
36
|
+
| Name | Type | Default | Applies to | Description |
|
|
37
|
+
| --- | --- | --- | --- | --- |
|
|
38
|
+
| `orientation` | `'vertical' \| 'horizontal'` | vertical | slSplitter | Which way the bar’s own line runs. A vertical line divides two regions side by side |
|
|
39
|
+
| `for` | `HTMLElement` | the previous element sibling | slSplitter | The element the bar sizes, announces and writes the fraction on, as a template reference |
|
|
40
|
+
| `value` | `model<number>` | 0.5 | slSplitter | The fraction of the container taken by the region before the bar, in [0, 1] |
|
|
41
|
+
| `min` | `number \| string` | 0 | slSplitter | A fraction, or any CSS length resolved against the container — "200px", "18rem", "25%" |
|
|
42
|
+
| `max` | `number \| string` | 1 | slSplitter | The ceiling, in either unit |
|
|
43
|
+
| `defaultValue` | `number` | 0.5 | slSplitter | Where reset() and a double click return the bar, brought inside min and max. An input of its own and not the model’s first value: the value bound on arrival is where the reader left the bar, restored from storage, and never where a reset should go |
|
|
44
|
+
| `snapPoints` | `readonly number[]` | | slSplitter | Stops a released drag lands on and an arrow steps between. Empty is a continuous range |
|
|
45
|
+
| `collapsible` | `boolean` | false | slSplitter | Whether Enter collapses the region before the bar |
|
|
46
|
+
| `collapsedValue` | `number` | 0 | slSplitter | Where a collapse lands |
|
|
47
|
+
| `collapsed` | `model<boolean>` | false | slSplitter | Whether the region is collapsed |
|
|
48
|
+
| `disabled` | `boolean` | false | slSplitter | Stops the bar moving. It keeps the tab stop, so the value stays readable |
|
|
49
|
+
| `provideSplitterDefaults` | `{ orientation, min, max, collapsedValue }` | — | Providers | An application states its floor once rather than on every bar in it |
|
|
50
|
+
| `exportAs` | `'slSplitter'` | — | slSplitter | collapse(), expand(), reset() and focus(), reachable from the template |
|
|
51
|
+
| `the host element` | `any element` | — | slSplitter | A directive, so the bar is whatever element the consumer’s layout wanted there |
|
|
52
|
+
| `--slotted-splitter-value` | `number` | — | the element [for] names | The fraction, published where CSS can read it, so the common case needs no component state at all |
|
|
53
|
+
|
|
54
|
+
## Events
|
|
55
|
+
|
|
56
|
+
| Name | Payload | When |
|
|
57
|
+
| --- | --- | --- |
|
|
58
|
+
| `valueChange` | `number` | After the position moves. The two-way form of the model, for a template that binds [(value)]. |
|
|
59
|
+
| `valueChangeRequest` | `SplitterValueRequest` | Before the position moves, on every step of a drag and on every key press. Call cancel() on it to refuse; reason is pointer, keyboard or programmatic. |
|
|
60
|
+
| `collapsedChangeRequest` | `SplitterCollapsedRequest` | Before Enter collapses the region or brings it back. Refusing it leaves both the state and the measure where they were. |
|
|
61
|
+
| `resizeEnd` | `number` | Once, when a drag settles. The value moves throughout one, so a consumer saving a layout saves here rather than sixty times there. |
|
|
62
|
+
|
|
6
63
|
## Axes and defaults
|
|
7
64
|
|
|
8
65
|
| Axis | Values | Default |
|
|
9
66
|
| --- | --- | --- |
|
|
10
67
|
| `orientation` | `vertical`, `horizontal` | `vertical` |
|
|
11
68
|
|
|
69
|
+
## Rules
|
|
70
|
+
|
|
71
|
+
- The bar has no default accessible name: the family cannot know which region it sizes. Name it with aria-labelledby pointing at the heading of the element `for` names, or with aria-label.
|
|
72
|
+
- The bar is role="separator" with tabindex="0", which is the focusable widget form the role takes in the WAI-ARIA Window Splitter pattern; aria-valuenow, aria-valuemin and aria-valuemax are the fraction times a hundred, and the value reported is the clamped one, so the announcement and the layout cannot disagree.
|
|
73
|
+
- aria-orientation is written only for the vertical bar, because horizontal is the attribute’s own default on role="separator" and a family writes the departure from an element’s semantics rather than the agreement with it.
|
|
74
|
+
- aria-controls names the element [for] hands the bar — the same element that carries --slotted-splitter-value and the same one the bar sizes, so what a reader hears and what a reader sees are one region rather than two that can drift; the family writes that element an id when it has none.
|
|
75
|
+
- A role, a tabindex or an aria-controls the consumer wrote on the element is read with HostAttributeToken before the host bindings run, and kept: a binding that resolves to null removes an attribute rather than leaving the author’s value in place.
|
|
76
|
+
- A disabled bar keeps its tab stop and its announcement. A reader who cannot move a separator can still read the value it holds.
|
|
77
|
+
|
|
12
78
|
## Tokens
|
|
13
79
|
|
|
14
80
|
`--slotted-border-strong`, `--slotted-border-width-thin`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-border`, `--slotted-duration-instant`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-sm`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-6`, `--slotted-space-9`, `--slotted-splitter-disabled-line-color`, `--slotted-splitter-line-active-color`, `--slotted-splitter-line-color`, `--slotted-target-min`, `--slotted-text-muted`
|
|
81
|
+
|
|
82
|
+
## Examples
|
|
83
|
+
|
|
84
|
+
### Both axes, and the arrows each one answers
|
|
85
|
+
|
|
86
|
+
A vertical bar divides two regions side by side and answers Left and Right; a horizontal bar divides two stacked regions and answers Up and Down. The other pair is left to the page, so a document that scrolls still scrolls.
|
|
87
|
+
|
|
88
|
+
Excerpt — not a complete module
|
|
89
|
+
|
|
90
|
+
```html
|
|
91
|
+
<div slSplitter orientation="vertical"></div>
|
|
92
|
+
<div slSplitter orientation="horizontal"></div>
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Two-way, and the fraction published to CSS
|
|
96
|
+
|
|
97
|
+
The left pair holds no value at all and is driven by the custom property; the right pair binds [(value)] and prints the number beside it. Both regions are sized by one CSS rule, never by a style attribute.
|
|
98
|
+
|
|
99
|
+
Excerpt — not a complete module
|
|
100
|
+
|
|
101
|
+
```html
|
|
102
|
+
<!-- aside { inline-size: calc(var(--slotted-splitter-value, 0.34) * 100%) } -->
|
|
103
|
+
<div slSplitter></div>
|
|
104
|
+
|
|
105
|
+
<div slSplitter [(value)]="width"></div>
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### A floor in pixels beside a ceiling in per cent
|
|
109
|
+
|
|
110
|
+
Drag both bars to their ends. The first stops at two hundred pixels however narrow the window gets; the second stops at sixty per cent of it. Not one of the seven surveyed implementations can state the first — Zag says outright that it takes percentages only.
|
|
111
|
+
|
|
112
|
+
Excerpt — not a complete module
|
|
113
|
+
|
|
114
|
+
```html
|
|
115
|
+
<div slSplitter min="200px" [max]="0.6"></div>
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Enter collapses the region, and Enter brings it back
|
|
119
|
+
|
|
120
|
+
The pattern’s own key. Collapsing stores the fraction the region had and expanding returns it, so a restored region comes back where it was rather than at some small size indistinguishable from a collapse.
|
|
121
|
+
|
|
122
|
+
Excerpt — not a complete module
|
|
123
|
+
|
|
124
|
+
```html
|
|
125
|
+
<div slSplitter collapsible [collapsedValue]="0.06" [(value)]="width"></div>
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Three stops a released drag lands on
|
|
129
|
+
|
|
130
|
+
Drag past a stop and let go: the bar takes the nearest one. It snaps on release and never during the drag, because a bar that snapped on every move would fight the hand rather than help it. The arrows step between the same stops.
|
|
131
|
+
|
|
132
|
+
Excerpt — not a complete module
|
|
133
|
+
|
|
134
|
+
```html
|
|
135
|
+
<div slSplitter [snapPoints]="[0.2, 0.34, 0.5]"></div>
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Double click puts it back at defaultValue
|
|
139
|
+
|
|
140
|
+
Move the bar anywhere, then double click it: it returns to defaultValue, inside min and max. The pattern assigns double click nothing, and every surveyed implementation that ships a reset puts it there; the same action is on the instance as reset().
|
|
141
|
+
|
|
142
|
+
Excerpt — not a complete module
|
|
143
|
+
|
|
144
|
+
```html
|
|
145
|
+
<div slSplitter #bar="slSplitter" [defaultValue]="0.34" [(value)]="width"></div>
|
|
146
|
+
<button (click)="bar.reset()">Repor</button>
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Frozen, and still readable
|
|
150
|
+
|
|
151
|
+
The bar keeps its tab stop and its three ARIA values, and the lines drop to the disabled step. Hover and press are held back for it. A reader who cannot move a separator can still be told where it is.
|
|
152
|
+
|
|
153
|
+
Excerpt — not a complete module
|
|
154
|
+
|
|
155
|
+
```html
|
|
156
|
+
<div slSplitter disabled [value]="0.34"></div>
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Every key the pattern lists
|
|
160
|
+
|
|
161
|
+
Tab to the bar: arrows move sixteen pixels and sixty-four with Shift, Home and End go to the limits, Enter collapses and restores. Watch aria-valuenow in the row beneath as each one lands.
|
|
162
|
+
|
|
163
|
+
Excerpt — not a complete module
|
|
164
|
+
|
|
165
|
+
```html
|
|
166
|
+
<div slSplitter collapsible [min]="0.15" [max]="0.75" [(value)]="width"></div>
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### Two bars in series, each clamping alone
|
|
170
|
+
|
|
171
|
+
The shape the SAP Help Portal uses. The family holds no panels, so the consumer owns the layout and therefore the policy: each bar clamps against its own limits and neither negotiates with the other.
|
|
172
|
+
|
|
173
|
+
Excerpt — not a complete module
|
|
174
|
+
|
|
175
|
+
```html
|
|
176
|
+
<div class="workspace">
|
|
177
|
+
<aside #toc>…</aside>
|
|
178
|
+
<div slSplitter [for]="toc" min="180px" [max]="0.4"></div>
|
|
179
|
+
<main #doc>…</main>
|
|
180
|
+
<div slSplitter [for]="doc" [min]="0.4" [max]="0.85"></div>
|
|
181
|
+
<aside>…</aside>
|
|
182
|
+
</div>
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### A layout that survives a reload
|
|
186
|
+
|
|
187
|
+
Drag the bar: the moving number changes every frame and the saved one changes once, on release. The family never touches storage — which storage, and whether a layout crosses a login, are the application’s decisions.
|
|
188
|
+
|
|
189
|
+
Excerpt — not a complete module
|
|
190
|
+
|
|
191
|
+
```html
|
|
192
|
+
<div slSplitter [(value)]="width" (resizeEnd)="save($event)"></div>
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### The instance a template reaches, and a host the consumer chose
|
|
196
|
+
|
|
197
|
+
The bar is a directive, so it is written on whatever element the layout wanted there. The buttons drive the instance through exportAs; the second bar refuses every keyboard move from its own handler.
|
|
198
|
+
|
|
199
|
+
Excerpt — not a complete module
|
|
200
|
+
|
|
201
|
+
```html
|
|
202
|
+
<section slSplitter #bar="slSplitter" collapsible></section>
|
|
203
|
+
<button (click)="bar.collapse()">collapse()</button>
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### One floor, stated once for the application
|
|
207
|
+
|
|
208
|
+
Both bars inherit a two-hundred-pixel floor from the provider; the second states its own and wins, because an explicit consumer value always does. None of the seven surveyed implementations has an equivalent.
|
|
209
|
+
|
|
210
|
+
Excerpt — not a complete module
|
|
211
|
+
|
|
212
|
+
```ts
|
|
213
|
+
bootstrapApplication(App, {
|
|
214
|
+
providers: [provideSplitterDefaults({ min: '200px' })],
|
|
215
|
+
});
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
### What a screen reader is told
|
|
219
|
+
|
|
220
|
+
The bar names the region through aria-controls and takes its name from that region’s own heading, which is the pattern’s rule: a separator is named for the region it sizes. The row beneath prints the four attributes as they stand in the DOM.
|
|
221
|
+
|
|
222
|
+
Excerpt — not a complete module
|
|
223
|
+
|
|
224
|
+
```html
|
|
225
|
+
<aside #region>
|
|
226
|
+
<h3 id="contas-heading">Contas a receber</h3>
|
|
227
|
+
</aside>
|
|
228
|
+
<div slSplitter [for]="region" aria-labelledby="contas-heading"></div>
|
|
229
|
+
```
|