@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/scroll-area.json
CHANGED
|
@@ -36,69 +36,174 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"docs": {
|
|
39
|
-
"
|
|
40
|
-
"imports":
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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
|
-
|
|
39
|
+
"scrollArea": {
|
|
40
|
+
"imports": {
|
|
41
|
+
"source": "import { SlScrollArea, SlScrollAreaContent, provideScrollAreaDefaults } from '@slotted/angular/scroll-area';",
|
|
42
|
+
"selector": "[slScrollArea]",
|
|
43
|
+
"exportAs": "slScrollArea"
|
|
44
|
+
},
|
|
45
|
+
"anatomy": [
|
|
46
|
+
{
|
|
47
|
+
"part": "root",
|
|
48
|
+
"element": "the consumer’s own element, with slScrollArea",
|
|
49
|
+
"required": true,
|
|
50
|
+
"purpose": "The frame. It holds the maximum, the five measurement attributes and whatever border, radius and ground the consumer gives it — and it is the element the veil is not on, which is why it exists."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"part": "viewport",
|
|
54
|
+
"element": "div[role=region]",
|
|
55
|
+
"required": true,
|
|
56
|
+
"purpose": "The scrollport. It clips, scrolls, carries the platform scrollbar and the veil, and takes the tab stop and the name a scrolling region owes — role, tabindex and name written only while the content overflows. Rendered by the component inside the host; reached through the instance’s viewport."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"part": "content",
|
|
60
|
+
"element": "div",
|
|
61
|
+
"required": false,
|
|
62
|
+
"purpose": "The inset that scrolls with the content. Padding on a scrollport is not applied at its end edge in every engine, so an inset that has to survive a scroll to the end lives here. Content that carries its own inset needs no slScrollAreaContent at all."
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"api": [
|
|
66
|
+
{
|
|
67
|
+
"name": "axis",
|
|
68
|
+
"type": "'block' | 'inline' | 'both'",
|
|
69
|
+
"defaultValue": "block",
|
|
70
|
+
"appliesTo": "[slScrollArea]",
|
|
71
|
+
"description": "Which axes scroll. Logical, so a vertical writing mode needs no second vocabulary"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "scrollbars",
|
|
75
|
+
"type": "'auto' | 'always' | 'hover' | 'none'",
|
|
76
|
+
"defaultValue": "auto",
|
|
77
|
+
"appliesTo": "[slScrollArea]",
|
|
78
|
+
"description": "What the bar does: shown when needed, always reserved, painted only under a hand or the keyboard, or removed with the scrolling kept"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "gutter",
|
|
82
|
+
"type": "'auto' | 'stable' | 'both-edges'",
|
|
83
|
+
"defaultValue": "stable",
|
|
84
|
+
"appliesTo": "[slScrollArea]",
|
|
85
|
+
"description": "scrollbar-gutter. stable stops the content shifting when it first overflows; both-edges keeps a column centred"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "fade",
|
|
89
|
+
"type": "'both' | 'end' | 'none'",
|
|
90
|
+
"defaultValue": "both",
|
|
91
|
+
"appliesTo": "[slScrollArea]",
|
|
92
|
+
"description": "Where the veil is drawn: over what the reader has passed as well as what is ahead, only what is ahead, or nowhere"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "overscroll",
|
|
96
|
+
"type": "'contain' | 'auto' | 'none'",
|
|
97
|
+
"defaultValue": "contain",
|
|
98
|
+
"appliesTo": "[slScrollArea]",
|
|
99
|
+
"description": "overscroll-behavior. contain keeps the last inch of scroll from moving the page behind the area"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "maxBlockSize",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"defaultValue": "—",
|
|
105
|
+
"appliesTo": "[slScrollArea]",
|
|
106
|
+
"description": "Scroll only past this size, as any CSS length. Mantine’s Autosize as one prop"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "maxInlineSize",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"defaultValue": "—",
|
|
112
|
+
"appliesTo": "[slScrollArea]",
|
|
113
|
+
"description": "The same bound on the inline axis"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "tabbable",
|
|
117
|
+
"type": "boolean",
|
|
118
|
+
"defaultValue": "true",
|
|
119
|
+
"appliesTo": "[slScrollArea]",
|
|
120
|
+
"description": "Whether the scrollport joins the tab sequence while it overflows. Off only when the content is reachable another way"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "messages",
|
|
124
|
+
"type": "Partial<ScrollAreaMessages>",
|
|
125
|
+
"defaultValue": "—",
|
|
126
|
+
"appliesTo": "[slScrollArea]",
|
|
127
|
+
"description": "Words laid over the language in force: the name the region is announced by (label), when nothing points at a heading"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "labelledBy",
|
|
131
|
+
"type": "string",
|
|
132
|
+
"defaultValue": "—",
|
|
133
|
+
"appliesTo": "[slScrollArea]",
|
|
134
|
+
"description": "The id of the element that names the region. Wins over messages.label"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"composition": [
|
|
138
|
+
{
|
|
139
|
+
"name": "provideScrollAreaDefaults",
|
|
140
|
+
"type": "Partial<ScrollAreaDefaults>",
|
|
141
|
+
"defaultValue": "—",
|
|
142
|
+
"appliesTo": "a provider",
|
|
143
|
+
"description": "An application decides once what its scroll areas look like; the region’s name comes from the language in force"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "exportAs",
|
|
147
|
+
"type": "slScrollArea",
|
|
148
|
+
"defaultValue": "—",
|
|
149
|
+
"appliesTo": "[slScrollArea]",
|
|
150
|
+
"description": "The instance: root, viewport, state(), position(), scrollTo(), scrollToEdge(), reveal(), refresh() and focus()"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "[slScrollAreaContent]",
|
|
154
|
+
"type": "directive",
|
|
155
|
+
"defaultValue": "—",
|
|
156
|
+
"appliesTo": "the consumer’s own element inside the host",
|
|
157
|
+
"description": "The inset that scrolls with the content; optional, and a plain element when the content carries its own"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "the host element",
|
|
161
|
+
"type": "any element",
|
|
162
|
+
"defaultValue": "—",
|
|
163
|
+
"appliesTo": "[slScrollArea]",
|
|
164
|
+
"description": "The frame is the consumer’s own element, with its own class, border and attributes; the family writes its wiring on the scrollport it renders inside, so nothing on the host is written over"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "data-focus-origin",
|
|
168
|
+
"type": "attribute",
|
|
169
|
+
"defaultValue": "—",
|
|
170
|
+
"appliesTo": "viewport",
|
|
171
|
+
"description": "keyboard or pointer while the viewport holds focus. The ring is drawn for keyboard only: a click on the content focuses the viewport, and the next Shift would make it match :focus-visible. createFocusOrigin in @slotted/core/focus writes it"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "data-overflowing, data-at-block-start, data-at-block-end, data-at-inline-start, data-at-inline-end",
|
|
175
|
+
"type": "attribute",
|
|
176
|
+
"defaultValue": "—",
|
|
177
|
+
"appliesTo": "root",
|
|
178
|
+
"description": "The measurement in the DOM, in logical names, for a consumer’s own CSS. An edge attribute says that end is showing"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "scrollbar-width: none on [data-part=viewport]",
|
|
182
|
+
"type": "CSS",
|
|
183
|
+
"defaultValue": "—",
|
|
184
|
+
"appliesTo": "the consumer’s stylesheet",
|
|
185
|
+
"description": "The composition for a product that needs a drawn thumb: hide the platform bar and draw one against the edge attributes"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"events": [
|
|
189
|
+
{
|
|
190
|
+
"name": "scrollChange",
|
|
191
|
+
"payload": "{ position: { block: number; inline: number }; source: Event }",
|
|
192
|
+
"when": "On every scroll, with the distance from each logical start. A report and not a request: the browser moves the position on a wheel, a fling, a Tab into a child and a printed page, and nothing here can refuse any of them."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "overflowChange",
|
|
196
|
+
"payload": "{ block: OverflowState; inline: OverflowState }",
|
|
197
|
+
"when": "Once on mount and once per change: whether each axis overflows and which of its ends show. The same measurement is written on the root as data-overflowing and the four data-at-* attributes."
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
"accessibility": [
|
|
201
|
+
"There is no APG pattern for a scroll container; what governs is WCAG 2.1.1, tested by the scrollable-region-focusable rule, and 4.1.2, which is what a tab stop then owes. The viewport is role=\"region\" with tabindex=\"0\" and a name, written only while the content overflows — a tab stop on content that fits is a tab stop that does nothing.",
|
|
202
|
+
"The name resolves in one order: labelledBy, then messages.label, then the catalog of the language in force, so a product with fifty areas names them once. Base UI and Zag write role=\"presentation\" beside their tab stop, which answers the rule that is tested and breaks the one that is not.",
|
|
203
|
+
"Nine keys are the platform’s on a focused scrollport — the arrows, PageUp and PageDown, Home, End and Space — and the family binds none of them. The one key it owns is Tab, and [tabbable]=\"false\" gives that back when a consumer knows the content is reachable another way.",
|
|
204
|
+
"The scrollbar is the platform’s, themed through scrollbar-color and scrollbar-width. The trough click, the scrollbar context menu, the system’s own overlay behaviour and the bar before hydration all survive; a drawn thumb loses every one of them.",
|
|
205
|
+
"The veil is a mask and is removed under forced-colors, where the system owns the palette and a veil over system text loses legibility for nothing. The scrollbar goes back to the system’s own there too."
|
|
206
|
+
]
|
|
102
207
|
}
|
|
103
208
|
},
|
|
104
209
|
"tokens": [
|
|
@@ -116,5 +221,102 @@
|
|
|
116
221
|
"--slotted-space-8",
|
|
117
222
|
"--slotted-surface-sunken"
|
|
118
223
|
],
|
|
119
|
-
"examples": [
|
|
224
|
+
"examples": [
|
|
225
|
+
{
|
|
226
|
+
"id": "playground",
|
|
227
|
+
"title": "A bounded region, and the platform’s own bar",
|
|
228
|
+
"note": "Scroll the notes. The bar is the browser’s, themed; the veil at the bottom says there is more and lifts when the end is reached. Tab reaches the region, and the arrows and page keys are the platform’s.",
|
|
229
|
+
"language": "html",
|
|
230
|
+
"source": "<div slScrollArea class=\"notes\" [messages]=\"{ label: 'Notas de versão' }\">\n <div slScrollAreaContent>…</div>\n</div>\n",
|
|
231
|
+
"verdict": "excerpt"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"id": "axis",
|
|
235
|
+
"title": "Which axes scroll",
|
|
236
|
+
"note": "block is the default and holds the inline axis still; inline runs a row past its box and mirrors with the document; both scrolls a log on both, with four veils meeting at the corners.",
|
|
237
|
+
"language": "html",
|
|
238
|
+
"source": "<div slScrollArea axis=\"inline\">…</div>\n<div slScrollArea axis=\"both\">…</div>\n",
|
|
239
|
+
"verdict": "excerpt"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "scrollbars",
|
|
243
|
+
"title": "Four things the bar can do",
|
|
244
|
+
"note": "auto shows the bar when needed; always reserves it on content that fits; hover keeps the gutter and paints nothing until a hand or the keyboard is inside; none removes the bar and leaves the veil to say there is more.",
|
|
245
|
+
"language": "html",
|
|
246
|
+
"source": "<div slScrollArea scrollbars=\"hover\">…</div>\n",
|
|
247
|
+
"verdict": "excerpt"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "fade",
|
|
251
|
+
"title": "The veil, and where it falls",
|
|
252
|
+
"note": "Each area is scrolled into the middle of its content. both dims what the reader has passed as well as what is ahead; end only what is ahead; none leaves the scrollbar as the only sign.",
|
|
253
|
+
"language": "html",
|
|
254
|
+
"source": "<div slScrollArea fade=\"end\">…</div>\n",
|
|
255
|
+
"verdict": "excerpt"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "gutter",
|
|
259
|
+
"title": "Room for a bar that is not there yet",
|
|
260
|
+
"note": "The painted inset is the measure. auto reaches the frame and will shift the moment the content overflows; stable holds a bar’s width back so nothing moves; both-edges holds it back on both sides, so a centred column stays centred.",
|
|
261
|
+
"language": "html",
|
|
262
|
+
"source": "<div slScrollArea gutter=\"both-edges\">…</div>\n",
|
|
263
|
+
"verdict": "excerpt"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "overscroll",
|
|
267
|
+
"title": "Where the last inch of scroll goes",
|
|
268
|
+
"note": "Scroll the inner area to its end and keep going. With contain the page behind it stays put; with auto the scroll chains to the page, which is the browser’s default and the defect the property was added for.",
|
|
269
|
+
"language": "html",
|
|
270
|
+
"source": "<div slScrollArea overscroll=\"auto\">…</div>\n",
|
|
271
|
+
"verdict": "excerpt"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"id": "maximum",
|
|
275
|
+
"title": "Scroll only past a maximum",
|
|
276
|
+
"note": "A list of three items takes the height it needs and scrolls nothing. Add items and it grows until it meets the maximum, then scrolls — Mantine’s Autosize as one prop, and the region wiring appears at the same moment the overflow does.",
|
|
277
|
+
"language": "html",
|
|
278
|
+
"source": "<div slScrollArea maxBlockSize=\"12rem\">…</div>\n",
|
|
279
|
+
"verdict": "excerpt"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"id": "keyboard",
|
|
283
|
+
"title": "One key the family owns, and nine it leaves alone",
|
|
284
|
+
"note": "Tab into the region and press the arrows, PageDown, End and Home: every one is the platform’s. The second area holds a link, so tabbable is off and Tab goes straight to the link — the scrollport is still focusable by pointer.",
|
|
285
|
+
"language": "html",
|
|
286
|
+
"source": "<div slScrollArea [tabbable]=\"false\">\n <a slLink href=\"#…\">…</a>\n</div>\n",
|
|
287
|
+
"verdict": "excerpt"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "content",
|
|
291
|
+
"title": "Content the family did not choose",
|
|
292
|
+
"note": "Three unbroken paths scroll on the inline axis and are veiled where they leave the box; a translated paragraph twice the length wraps and scrolls; three short lines fit, and the area is then a plain box with no veil, no bar and no tab stop.",
|
|
293
|
+
"language": "html",
|
|
294
|
+
"source": "<div slScrollArea axis=\"both\" class=\"log\">…</div>\n",
|
|
295
|
+
"verdict": "excerpt"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"id": "composition",
|
|
299
|
+
"title": "A handle, a report, and a different element",
|
|
300
|
+
"note": "The buttons drive the handle: to the end, back to the start, and to one row by reveal, which moves the area and nothing around it. The position is reported on every scroll and shown beside the area; the frame is rendered as a section.",
|
|
301
|
+
"language": "html",
|
|
302
|
+
"source": "<section slScrollArea #area=\"slScrollArea\" (scrollChange)=\"block = $event.position.block\">\n …\n</section>\n<button slButton (click)=\"area.scrollToEdge('block-end')\">Fim</button>\n",
|
|
303
|
+
"verdict": "excerpt"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"id": "print",
|
|
307
|
+
"title": "What the printer gets",
|
|
308
|
+
"note": "Open the print preview of this page. The area releases its maximum and its clipping under the print media query, so the whole content is on paper rather than the slice that happened to be in view — which is what every surveyed implementation prints.",
|
|
309
|
+
"language": "css",
|
|
310
|
+
"source": "@media print {\n [data-ui='scroll-area'] > [data-part='viewport'] {\n max-block-size: none;\n overflow: visible;\n mask-image: none;\n }\n}\n",
|
|
311
|
+
"verdict": "excerpt"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "accessibility",
|
|
315
|
+
"title": "What a screen reader is told",
|
|
316
|
+
"note": "The first area overflows and is a named region with a tab stop; the second fits and is nothing at all. The third is named by the heading above it rather than by a string, and a provider sets the fallback name once for the page.",
|
|
317
|
+
"language": "html",
|
|
318
|
+
"source": "<h3 id=\"notas\">Notas de versão</h3>\n<div slScrollArea labelledBy=\"notas\">…</div>\n",
|
|
319
|
+
"verdict": "excerpt"
|
|
320
|
+
}
|
|
321
|
+
]
|
|
120
322
|
}
|
package/docs/scroll-area.md
CHANGED
|
@@ -3,6 +3,194 @@
|
|
|
3
3
|
|
|
4
4
|
`data-ui="scroll-area"` · Scrolling region with styled scrollbars.
|
|
5
5
|
|
|
6
|
+
## Import
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import { SlScrollArea, SlScrollAreaContent, provideScrollAreaDefaults } from '@slotted/angular/scroll-area';
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Selector: `[slScrollArea]` · exportAs: `slScrollArea`
|
|
13
|
+
|
|
14
|
+
## Minimal example
|
|
15
|
+
|
|
16
|
+
Excerpt — not a complete module
|
|
17
|
+
|
|
18
|
+
```html
|
|
19
|
+
<div slScrollArea class="notes" [messages]="{ label: 'Notas de versão' }">
|
|
20
|
+
<div slScrollAreaContent>…</div>
|
|
21
|
+
</div>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Anatomy
|
|
25
|
+
|
|
26
|
+
| Part | Element | Required |
|
|
27
|
+
| --- | --- | --- |
|
|
28
|
+
| `root` | the consumer’s own element, with slScrollArea | yes |
|
|
29
|
+
| `viewport` | div[role=region] | yes |
|
|
30
|
+
| `content` | div | no |
|
|
31
|
+
|
|
32
|
+
## Props
|
|
33
|
+
|
|
34
|
+
| Name | Type | Default | Applies to | Description |
|
|
35
|
+
| --- | --- | --- | --- | --- |
|
|
36
|
+
| `axis` | `'block' \| 'inline' \| 'both'` | block | [slScrollArea] | Which axes scroll. Logical, so a vertical writing mode needs no second vocabulary |
|
|
37
|
+
| `scrollbars` | `'auto' \| 'always' \| 'hover' \| 'none'` | auto | [slScrollArea] | What the bar does: shown when needed, always reserved, painted only under a hand or the keyboard, or removed with the scrolling kept |
|
|
38
|
+
| `gutter` | `'auto' \| 'stable' \| 'both-edges'` | stable | [slScrollArea] | scrollbar-gutter. stable stops the content shifting when it first overflows; both-edges keeps a column centred |
|
|
39
|
+
| `fade` | `'both' \| 'end' \| 'none'` | both | [slScrollArea] | Where the veil is drawn: over what the reader has passed as well as what is ahead, only what is ahead, or nowhere |
|
|
40
|
+
| `overscroll` | `'contain' \| 'auto' \| 'none'` | contain | [slScrollArea] | overscroll-behavior. contain keeps the last inch of scroll from moving the page behind the area |
|
|
41
|
+
| `maxBlockSize` | `string` | — | [slScrollArea] | Scroll only past this size, as any CSS length. Mantine’s Autosize as one prop |
|
|
42
|
+
| `maxInlineSize` | `string` | — | [slScrollArea] | The same bound on the inline axis |
|
|
43
|
+
| `tabbable` | `boolean` | true | [slScrollArea] | Whether the scrollport joins the tab sequence while it overflows. Off only when the content is reachable another way |
|
|
44
|
+
| `messages` | `Partial<ScrollAreaMessages>` | — | [slScrollArea] | Words laid over the language in force: the name the region is announced by (label), when nothing points at a heading |
|
|
45
|
+
| `labelledBy` | `string` | — | [slScrollArea] | The id of the element that names the region. Wins over messages.label |
|
|
46
|
+
| `provideScrollAreaDefaults` | `Partial<ScrollAreaDefaults>` | — | a provider | An application decides once what its scroll areas look like; the region’s name comes from the language in force |
|
|
47
|
+
| `exportAs` | `slScrollArea` | — | [slScrollArea] | The instance: root, viewport, state(), position(), scrollTo(), scrollToEdge(), reveal(), refresh() and focus() |
|
|
48
|
+
| `[slScrollAreaContent]` | `directive` | — | the consumer’s own element inside the host | The inset that scrolls with the content; optional, and a plain element when the content carries its own |
|
|
49
|
+
| `the host element` | `any element` | — | [slScrollArea] | The frame is the consumer’s own element, with its own class, border and attributes; the family writes its wiring on the scrollport it renders inside, so nothing on the host is written over |
|
|
50
|
+
| `data-focus-origin` | `attribute` | — | viewport | keyboard or pointer while the viewport holds focus. The ring is drawn for keyboard only: a click on the content focuses the viewport, and the next Shift would make it match :focus-visible. createFocusOrigin in @slotted/core/focus writes it |
|
|
51
|
+
| `data-overflowing, data-at-block-start, data-at-block-end, data-at-inline-start, data-at-inline-end` | `attribute` | — | root | The measurement in the DOM, in logical names, for a consumer’s own CSS. An edge attribute says that end is showing |
|
|
52
|
+
| `scrollbar-width: none on [data-part=viewport]` | `CSS` | — | the consumer’s stylesheet | The composition for a product that needs a drawn thumb: hide the platform bar and draw one against the edge attributes |
|
|
53
|
+
|
|
54
|
+
## Events
|
|
55
|
+
|
|
56
|
+
| Name | Payload | When |
|
|
57
|
+
| --- | --- | --- |
|
|
58
|
+
| `scrollChange` | `{ position: { block: number; inline: number }; source: Event }` | On every scroll, with the distance from each logical start. A report and not a request: the browser moves the position on a wheel, a fling, a Tab into a child and a printed page, and nothing here can refuse any of them. |
|
|
59
|
+
| `overflowChange` | `{ block: OverflowState; inline: OverflowState }` | Once on mount and once per change: whether each axis overflows and which of its ends show. The same measurement is written on the root as data-overflowing and the four data-at-* attributes. |
|
|
60
|
+
|
|
61
|
+
## Rules
|
|
62
|
+
|
|
63
|
+
- There is no APG pattern for a scroll container; what governs is WCAG 2.1.1, tested by the scrollable-region-focusable rule, and 4.1.2, which is what a tab stop then owes. The viewport is role="region" with tabindex="0" and a name, written only while the content overflows — a tab stop on content that fits is a tab stop that does nothing.
|
|
64
|
+
- The name resolves in one order: labelledBy, then messages.label, then the catalog of the language in force, so a product with fifty areas names them once. Base UI and Zag write role="presentation" beside their tab stop, which answers the rule that is tested and breaks the one that is not.
|
|
65
|
+
- Nine keys are the platform’s on a focused scrollport — the arrows, PageUp and PageDown, Home, End and Space — and the family binds none of them. The one key it owns is Tab, and [tabbable]="false" gives that back when a consumer knows the content is reachable another way.
|
|
66
|
+
- The scrollbar is the platform’s, themed through scrollbar-color and scrollbar-width. The trough click, the scrollbar context menu, the system’s own overlay behaviour and the bar before hydration all survive; a drawn thumb loses every one of them.
|
|
67
|
+
- The veil is a mask and is removed under forced-colors, where the system owns the palette and a veil over system text loses legibility for nothing. The scrollbar goes back to the system’s own there too.
|
|
68
|
+
|
|
6
69
|
## Tokens
|
|
7
70
|
|
|
8
71
|
`--slotted-border-strong`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-scroll-area-fade-size`, `--slotted-scroll-area-inset`, `--slotted-scroll-area-thumb-color`, `--slotted-scroll-area-track-color`, `--slotted-space-5`, `--slotted-space-8`, `--slotted-surface-sunken`
|
|
72
|
+
|
|
73
|
+
## Examples
|
|
74
|
+
|
|
75
|
+
### Which axes scroll
|
|
76
|
+
|
|
77
|
+
block is the default and holds the inline axis still; inline runs a row past its box and mirrors with the document; both scrolls a log on both, with four veils meeting at the corners.
|
|
78
|
+
|
|
79
|
+
Excerpt — not a complete module
|
|
80
|
+
|
|
81
|
+
```html
|
|
82
|
+
<div slScrollArea axis="inline">…</div>
|
|
83
|
+
<div slScrollArea axis="both">…</div>
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### Four things the bar can do
|
|
87
|
+
|
|
88
|
+
auto shows the bar when needed; always reserves it on content that fits; hover keeps the gutter and paints nothing until a hand or the keyboard is inside; none removes the bar and leaves the veil to say there is more.
|
|
89
|
+
|
|
90
|
+
Excerpt — not a complete module
|
|
91
|
+
|
|
92
|
+
```html
|
|
93
|
+
<div slScrollArea scrollbars="hover">…</div>
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### The veil, and where it falls
|
|
97
|
+
|
|
98
|
+
Each area is scrolled into the middle of its content. both dims what the reader has passed as well as what is ahead; end only what is ahead; none leaves the scrollbar as the only sign.
|
|
99
|
+
|
|
100
|
+
Excerpt — not a complete module
|
|
101
|
+
|
|
102
|
+
```html
|
|
103
|
+
<div slScrollArea fade="end">…</div>
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Room for a bar that is not there yet
|
|
107
|
+
|
|
108
|
+
The painted inset is the measure. auto reaches the frame and will shift the moment the content overflows; stable holds a bar’s width back so nothing moves; both-edges holds it back on both sides, so a centred column stays centred.
|
|
109
|
+
|
|
110
|
+
Excerpt — not a complete module
|
|
111
|
+
|
|
112
|
+
```html
|
|
113
|
+
<div slScrollArea gutter="both-edges">…</div>
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Where the last inch of scroll goes
|
|
117
|
+
|
|
118
|
+
Scroll the inner area to its end and keep going. With contain the page behind it stays put; with auto the scroll chains to the page, which is the browser’s default and the defect the property was added for.
|
|
119
|
+
|
|
120
|
+
Excerpt — not a complete module
|
|
121
|
+
|
|
122
|
+
```html
|
|
123
|
+
<div slScrollArea overscroll="auto">…</div>
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Scroll only past a maximum
|
|
127
|
+
|
|
128
|
+
A list of three items takes the height it needs and scrolls nothing. Add items and it grows until it meets the maximum, then scrolls — Mantine’s Autosize as one prop, and the region wiring appears at the same moment the overflow does.
|
|
129
|
+
|
|
130
|
+
Excerpt — not a complete module
|
|
131
|
+
|
|
132
|
+
```html
|
|
133
|
+
<div slScrollArea maxBlockSize="12rem">…</div>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### One key the family owns, and nine it leaves alone
|
|
137
|
+
|
|
138
|
+
Tab into the region and press the arrows, PageDown, End and Home: every one is the platform’s. The second area holds a link, so tabbable is off and Tab goes straight to the link — the scrollport is still focusable by pointer.
|
|
139
|
+
|
|
140
|
+
Excerpt — not a complete module
|
|
141
|
+
|
|
142
|
+
```html
|
|
143
|
+
<div slScrollArea [tabbable]="false">
|
|
144
|
+
<a slLink href="#…">…</a>
|
|
145
|
+
</div>
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Content the family did not choose
|
|
149
|
+
|
|
150
|
+
Three unbroken paths scroll on the inline axis and are veiled where they leave the box; a translated paragraph twice the length wraps and scrolls; three short lines fit, and the area is then a plain box with no veil, no bar and no tab stop.
|
|
151
|
+
|
|
152
|
+
Excerpt — not a complete module
|
|
153
|
+
|
|
154
|
+
```html
|
|
155
|
+
<div slScrollArea axis="both" class="log">…</div>
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### A handle, a report, and a different element
|
|
159
|
+
|
|
160
|
+
The buttons drive the handle: to the end, back to the start, and to one row by reveal, which moves the area and nothing around it. The position is reported on every scroll and shown beside the area; the frame is rendered as a section.
|
|
161
|
+
|
|
162
|
+
Excerpt — not a complete module
|
|
163
|
+
|
|
164
|
+
```html
|
|
165
|
+
<section slScrollArea #area="slScrollArea" (scrollChange)="block = $event.position.block">
|
|
166
|
+
…
|
|
167
|
+
</section>
|
|
168
|
+
<button slButton (click)="area.scrollToEdge('block-end')">Fim</button>
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### What the printer gets
|
|
172
|
+
|
|
173
|
+
Open the print preview of this page. The area releases its maximum and its clipping under the print media query, so the whole content is on paper rather than the slice that happened to be in view — which is what every surveyed implementation prints.
|
|
174
|
+
|
|
175
|
+
Excerpt — not a complete module
|
|
176
|
+
|
|
177
|
+
```css
|
|
178
|
+
@media print {
|
|
179
|
+
[data-ui='scroll-area'] > [data-part='viewport'] {
|
|
180
|
+
max-block-size: none;
|
|
181
|
+
overflow: visible;
|
|
182
|
+
mask-image: none;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
### What a screen reader is told
|
|
188
|
+
|
|
189
|
+
The first area overflows and is a named region with a tab stop; the second fits and is nothing at all. The third is named by the heading above it rather than by a string, and a provider sets the fallback name once for the page.
|
|
190
|
+
|
|
191
|
+
Excerpt — not a complete module
|
|
192
|
+
|
|
193
|
+
```html
|
|
194
|
+
<h3 id="notas">Notas de versão</h3>
|
|
195
|
+
<div slScrollArea labelledBy="notas">…</div>
|
|
196
|
+
```
|