@slotted/angular 0.0.0-stage → 0.1.0-beta.1
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/LICENSE +21 -0
- package/README.md +51 -2
- package/docs/AGENTS.snippet.md +10 -0
- package/docs/accordion.json +345 -0
- package/docs/accordion.md +207 -0
- package/docs/action-bar.json +421 -0
- package/docs/action-bar.md +364 -0
- package/docs/action-sheet.json +210 -0
- package/docs/action-sheet.md +19 -0
- package/docs/alert.json +407 -0
- package/docs/alert.md +239 -0
- package/docs/app-shell.examples.md +349 -0
- package/docs/app-shell.json +835 -0
- package/docs/app-shell.md +214 -0
- package/docs/aspect-ratio.json +159 -0
- package/docs/aspect-ratio.md +134 -0
- package/docs/attachment.json +486 -0
- package/docs/attachment.md +253 -0
- package/docs/avatar-group.json +208 -0
- package/docs/avatar-group.md +130 -0
- package/docs/avatar.json +342 -0
- package/docs/avatar.md +142 -0
- package/docs/badge.json +334 -0
- package/docs/badge.md +138 -0
- package/docs/breadcrumb.json +368 -0
- package/docs/breadcrumb.md +237 -0
- package/docs/button-group.json +158 -0
- package/docs/button-group.md +72 -0
- package/docs/button.examples.md +621 -0
- package/docs/button.json +977 -0
- package/docs/button.md +200 -0
- package/docs/calendar.json +592 -0
- package/docs/calendar.md +242 -0
- package/docs/card.json +283 -0
- package/docs/card.md +130 -0
- package/docs/carousel.json +560 -0
- package/docs/carousel.md +357 -0
- package/docs/cascader.json +933 -0
- package/docs/cascader.md +379 -0
- package/docs/chart.examples.md +582 -0
- package/docs/chart.json +1359 -0
- package/docs/chart.md +187 -0
- package/docs/checkbox-group.examples.md +612 -0
- package/docs/checkbox-group.json +395 -0
- package/docs/checkbox-group.md +106 -0
- package/docs/checkbox.examples.md +546 -0
- package/docs/checkbox.json +506 -0
- package/docs/checkbox.md +104 -0
- package/docs/code-block.json +616 -0
- package/docs/code-block.md +303 -0
- package/docs/collapsible.json +456 -0
- package/docs/collapsible.md +261 -0
- package/docs/color-picker.json +523 -0
- package/docs/color-picker.md +201 -0
- package/docs/column-manager.json +486 -0
- package/docs/column-manager.md +277 -0
- package/docs/combobox.examples.md +1732 -0
- package/docs/combobox.json +1250 -0
- package/docs/combobox.md +209 -0
- package/docs/command-palette.json +800 -0
- package/docs/command-palette.md +419 -0
- package/docs/container.json +156 -0
- package/docs/container.md +92 -0
- package/docs/context-menu.json +231 -0
- package/docs/context-menu.md +176 -0
- package/docs/currency-field.examples.md +321 -0
- package/docs/currency-field.json +649 -0
- package/docs/currency-field.md +128 -0
- package/docs/dashboard-grid.json +680 -0
- package/docs/dashboard-grid.md +265 -0
- package/docs/data-grid.examples.md +3064 -0
- package/docs/data-grid.json +1577 -0
- package/docs/data-grid.md +237 -0
- package/docs/data-grid.props.md +81 -0
- package/docs/data-list.json +685 -0
- package/docs/data-list.md +327 -0
- package/docs/date-field.json +490 -0
- package/docs/date-field.md +235 -0
- package/docs/date-picker.examples.md +1226 -0
- package/docs/date-picker.json +696 -0
- package/docs/date-picker.md +121 -0
- package/docs/date-range-picker.examples.md +1300 -0
- package/docs/date-range-picker.json +903 -0
- package/docs/date-range-picker.md +142 -0
- package/docs/datetime-field.json +665 -0
- package/docs/datetime-field.md +337 -0
- package/docs/datetime-picker.examples.md +1269 -0
- package/docs/datetime-picker.json +928 -0
- package/docs/datetime-picker.md +150 -0
- package/docs/datetime-range-picker.examples.md +225 -0
- package/docs/datetime-range-picker.json +1015 -0
- package/docs/datetime-range-picker.md +162 -0
- package/docs/description-list.json +471 -0
- package/docs/description-list.md +268 -0
- package/docs/detail-panel.json +530 -0
- package/docs/detail-panel.md +361 -0
- package/docs/dialog.examples.md +2467 -0
- package/docs/dialog.json +1141 -0
- package/docs/dialog.md +217 -0
- package/docs/dialog.props.md +63 -0
- package/docs/divider.json +148 -0
- package/docs/divider.md +83 -0
- package/docs/drawer.examples.md +1929 -0
- package/docs/drawer.json +753 -0
- package/docs/drawer.md +199 -0
- package/docs/entity-picker.json +946 -0
- package/docs/entity-picker.md +365 -0
- package/docs/event-calendar.examples.md +308 -0
- package/docs/event-calendar.json +1202 -0
- package/docs/event-calendar.md +201 -0
- package/docs/field-group.json +333 -0
- package/docs/field-group.md +181 -0
- package/docs/field.examples.md +676 -0
- package/docs/field.json +528 -0
- package/docs/field.md +127 -0
- package/docs/filter-bar.json +817 -0
- package/docs/filter-bar.md +380 -0
- package/docs/form.json +378 -0
- package/docs/form.md +235 -0
- package/docs/fullscreen.json +395 -0
- package/docs/fullscreen.md +225 -0
- package/docs/grid.json +176 -0
- package/docs/grid.md +74 -0
- package/docs/highlight.json +279 -0
- package/docs/highlight.md +210 -0
- package/docs/hover-card.json +254 -0
- package/docs/hover-card.md +213 -0
- package/docs/icon.json +173 -0
- package/docs/icon.md +101 -0
- package/docs/image.json +476 -0
- package/docs/image.md +254 -0
- package/docs/import-export-center.json +836 -0
- package/docs/import-export-center.md +345 -0
- package/docs/index.md +141 -0
- package/docs/inline-message.json +312 -0
- package/docs/inline-message.md +191 -0
- package/docs/inline.json +149 -0
- package/docs/inline.md +72 -0
- package/docs/kbd.json +350 -0
- package/docs/kbd.md +210 -0
- package/docs/link.json +264 -0
- package/docs/link.md +167 -0
- package/docs/list-item.json +463 -0
- package/docs/list-item.md +236 -0
- package/docs/list.json +321 -0
- package/docs/list.md +185 -0
- package/docs/listbox.json +807 -0
- package/docs/listbox.md +413 -0
- package/docs/loading-overlay.json +440 -0
- package/docs/loading-overlay.md +248 -0
- package/docs/markdown.json +461 -0
- package/docs/markdown.md +266 -0
- package/docs/menu.examples.md +1651 -0
- package/docs/menu.json +922 -0
- package/docs/menu.md +155 -0
- package/docs/menubar.json +292 -0
- package/docs/menubar.md +173 -0
- package/docs/message-scroller.json +401 -0
- package/docs/message-scroller.md +212 -0
- package/docs/message.json +862 -0
- package/docs/message.md +473 -0
- package/docs/multi-select.examples.md +1922 -0
- package/docs/multi-select.json +1314 -0
- package/docs/multi-select.md +213 -0
- package/docs/navigation-menu.json +529 -0
- package/docs/navigation-menu.md +329 -0
- package/docs/notification-center.json +664 -0
- package/docs/notification-center.md +372 -0
- package/docs/number-field.examples.md +1078 -0
- package/docs/number-field.json +668 -0
- package/docs/number-field.md +137 -0
- package/docs/otp-input.json +479 -0
- package/docs/otp-input.md +291 -0
- package/docs/page-header.json +574 -0
- package/docs/page-header.md +338 -0
- package/docs/page.json +332 -0
- package/docs/page.md +184 -0
- package/docs/pagination.json +434 -0
- package/docs/pagination.md +238 -0
- package/docs/popover.examples.md +1235 -0
- package/docs/popover.json +656 -0
- package/docs/popover.md +199 -0
- package/docs/progress-indicator.json +501 -0
- package/docs/progress-indicator.md +329 -0
- package/docs/prompt-composer.json +498 -0
- package/docs/prompt-composer.md +278 -0
- package/docs/prose.json +357 -0
- package/docs/prose.md +226 -0
- package/docs/radio-group.examples.md +626 -0
- package/docs/radio-group.json +541 -0
- package/docs/radio-group.md +112 -0
- package/docs/rating.json +1053 -0
- package/docs/rating.md +435 -0
- package/docs/result-state.json +376 -0
- package/docs/result-state.md +286 -0
- package/docs/saved-views.json +384 -0
- package/docs/saved-views.md +242 -0
- package/docs/scroll-area.json +120 -0
- package/docs/scroll-area.md +8 -0
- package/docs/section.json +344 -0
- package/docs/section.md +208 -0
- package/docs/segmented-control.json +429 -0
- package/docs/segmented-control.md +240 -0
- package/docs/select.examples.md +1214 -0
- package/docs/select.json +1147 -0
- package/docs/select.md +199 -0
- package/docs/side-navigation.json +632 -0
- package/docs/side-navigation.md +430 -0
- package/docs/skeleton.json +358 -0
- package/docs/skeleton.md +223 -0
- package/docs/slider.json +522 -0
- package/docs/slider.md +261 -0
- package/docs/sparkline.json +426 -0
- package/docs/sparkline.md +206 -0
- package/docs/split-button.json +361 -0
- package/docs/split-button.md +275 -0
- package/docs/splitter.json +142 -0
- package/docs/splitter.md +14 -0
- package/docs/stack.json +135 -0
- package/docs/stack.md +74 -0
- package/docs/stat-card.json +529 -0
- package/docs/stat-card.md +270 -0
- package/docs/status-indicator.json +314 -0
- package/docs/status-indicator.md +197 -0
- package/docs/stepper.json +451 -0
- package/docs/stepper.md +250 -0
- package/docs/switch.json +451 -0
- package/docs/switch.md +508 -0
- package/docs/table-of-contents.json +553 -0
- package/docs/table-of-contents.md +289 -0
- package/docs/table.examples.md +1981 -0
- package/docs/table.json +1059 -0
- package/docs/table.md +290 -0
- package/docs/tabs.examples.md +1370 -0
- package/docs/tabs.json +661 -0
- package/docs/tabs.md +211 -0
- package/docs/tag.json +813 -0
- package/docs/tag.md +241 -0
- package/docs/tags-input.json +771 -0
- package/docs/tags-input.md +361 -0
- package/docs/text-field.examples.md +821 -0
- package/docs/text-field.json +604 -0
- package/docs/text-field.md +125 -0
- package/docs/textarea.examples.md +612 -0
- package/docs/textarea.json +440 -0
- package/docs/textarea.md +98 -0
- package/docs/time-field.json +584 -0
- package/docs/time-field.md +291 -0
- package/docs/time-picker.json +679 -0
- package/docs/time-picker.md +315 -0
- package/docs/time-range-picker.examples.md +191 -0
- package/docs/time-range-picker.json +924 -0
- package/docs/time-range-picker.md +152 -0
- package/docs/timeline.json +839 -0
- package/docs/timeline.md +401 -0
- package/docs/toast.json +642 -0
- package/docs/toast.md +311 -0
- package/docs/toggle-group.json +417 -0
- package/docs/toggle-group.md +255 -0
- package/docs/toggle.json +326 -0
- package/docs/toggle.md +222 -0
- package/docs/toolbar.json +380 -0
- package/docs/toolbar.md +240 -0
- package/docs/tooltip.examples.md +664 -0
- package/docs/tooltip.json +604 -0
- package/docs/tooltip.md +146 -0
- package/docs/top-navigation.examples.md +287 -0
- package/docs/top-navigation.json +648 -0
- package/docs/top-navigation.md +138 -0
- package/docs/tour.json +759 -0
- package/docs/tour.md +337 -0
- package/docs/transfer.json +746 -0
- package/docs/transfer.md +273 -0
- package/docs/tree.json +918 -0
- package/docs/tree.md +397 -0
- package/docs/typography.json +317 -0
- package/docs/typography.md +107 -0
- package/docs/upload.examples.md +358 -0
- package/docs/upload.json +1103 -0
- package/docs/upload.md +166 -0
- package/docs/visually-hidden.json +71 -0
- package/docs/visually-hidden.md +42 -0
- package/docs/wizard.json +724 -0
- package/docs/wizard.md +295 -0
- package/fesm2022/slotted-angular-accordion.mjs +247 -0
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-bar.mjs +639 -0
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-action-sheet.mjs +749 -0
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -0
- package/fesm2022/slotted-angular-alert.mjs +427 -0
- package/fesm2022/slotted-angular-alert.mjs.map +1 -0
- package/fesm2022/slotted-angular-app-shell.mjs +1334 -0
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs +63 -0
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -0
- package/fesm2022/slotted-angular-attachment.mjs +595 -0
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar-group.mjs +230 -0
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-avatar.mjs +330 -0
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -0
- package/fesm2022/slotted-angular-badge.mjs +255 -0
- package/fesm2022/slotted-angular-badge.mjs.map +1 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs +544 -0
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/slotted-angular-button-group.mjs +146 -0
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-button.mjs +692 -0
- package/fesm2022/slotted-angular-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-calendar.mjs +916 -0
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-card.mjs +225 -0
- package/fesm2022/slotted-angular-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-carousel.mjs +840 -0
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -0
- package/fesm2022/slotted-angular-cascader.mjs +1839 -0
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -0
- package/fesm2022/slotted-angular-chart.mjs +974 -0
- package/fesm2022/slotted-angular-chart.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs +283 -0
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-checkbox.mjs +468 -0
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-code-block.mjs +476 -0
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -0
- package/fesm2022/slotted-angular-collapsible.mjs +479 -0
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -0
- package/fesm2022/slotted-angular-color-picker.mjs +910 -0
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-column-manager.mjs +1037 -0
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -0
- package/fesm2022/slotted-angular-combobox.mjs +1480 -0
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -0
- package/fesm2022/slotted-angular-command-palette.mjs +1283 -0
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -0
- package/fesm2022/slotted-angular-container.mjs +105 -0
- package/fesm2022/slotted-angular-container.mjs.map +1 -0
- package/fesm2022/slotted-angular-context-menu.mjs +221 -0
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-currency-field.mjs +1131 -0
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs +1928 -0
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-grid.mjs +6697 -0
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-data-list.mjs +1418 -0
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-field.mjs +772 -0
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-picker.mjs +690 -0
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs +1150 -0
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-field.mjs +1058 -0
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs +1362 -0
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +1872 -0
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-description-list.mjs +545 -0
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-detail-panel.mjs +754 -0
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -0
- package/fesm2022/slotted-angular-dialog.mjs +980 -0
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -0
- package/fesm2022/slotted-angular-divider.mjs +76 -0
- package/fesm2022/slotted-angular-divider.mjs.map +1 -0
- package/fesm2022/slotted-angular-drawer.mjs +1397 -0
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -0
- package/fesm2022/slotted-angular-entity-picker.mjs +1987 -0
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-event-calendar.mjs +2934 -0
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -0
- package/fesm2022/slotted-angular-field-group.mjs +301 -0
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-field.mjs +928 -0
- package/fesm2022/slotted-angular-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-filter-bar.mjs +3107 -0
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -0
- package/fesm2022/slotted-angular-form.mjs +592 -0
- package/fesm2022/slotted-angular-form.mjs.map +1 -0
- package/fesm2022/slotted-angular-fullscreen.mjs +314 -0
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -0
- package/fesm2022/slotted-angular-grid.mjs +58 -0
- package/fesm2022/slotted-angular-grid.mjs.map +1 -0
- package/fesm2022/slotted-angular-highlight.mjs +123 -0
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -0
- package/fesm2022/slotted-angular-hover-card.mjs +326 -0
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-i18n.mjs +75 -0
- package/fesm2022/slotted-angular-i18n.mjs.map +1 -0
- package/fesm2022/slotted-angular-icon.mjs +232 -0
- package/fesm2022/slotted-angular-icon.mjs.map +1 -0
- package/fesm2022/slotted-angular-image.mjs +442 -0
- package/fesm2022/slotted-angular-image.mjs.map +1 -0
- package/fesm2022/slotted-angular-import-export-center.mjs +1792 -0
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline-message.mjs +280 -0
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-inline.mjs +52 -0
- package/fesm2022/slotted-angular-inline.mjs.map +1 -0
- package/fesm2022/slotted-angular-kbd.mjs +284 -0
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -0
- package/fesm2022/slotted-angular-link.mjs +182 -0
- package/fesm2022/slotted-angular-link.mjs.map +1 -0
- package/fesm2022/slotted-angular-list-item.mjs +367 -0
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -0
- package/fesm2022/slotted-angular-list.mjs +256 -0
- package/fesm2022/slotted-angular-list.mjs.map +1 -0
- package/fesm2022/slotted-angular-listbox.mjs +1274 -0
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs +451 -0
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -0
- package/fesm2022/slotted-angular-markdown.mjs +914 -0
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -0
- package/fesm2022/slotted-angular-menu.mjs +1211 -0
- package/fesm2022/slotted-angular-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-menubar.mjs +230 -0
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -0
- package/fesm2022/slotted-angular-message-scroller.mjs +378 -0
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -0
- package/fesm2022/slotted-angular-message.mjs +866 -0
- package/fesm2022/slotted-angular-message.mjs.map +1 -0
- package/fesm2022/slotted-angular-multi-select.mjs +1939 -0
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs +770 -0
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -0
- package/fesm2022/slotted-angular-notification-center.mjs +1172 -0
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -0
- package/fesm2022/slotted-angular-number-field.mjs +966 -0
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-otp-input.mjs +629 -0
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-page-header.mjs +788 -0
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -0
- package/fesm2022/slotted-angular-page.mjs +255 -0
- package/fesm2022/slotted-angular-page.mjs.map +1 -0
- package/fesm2022/slotted-angular-pagination.mjs +562 -0
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -0
- package/fesm2022/slotted-angular-popover.mjs +799 -0
- package/fesm2022/slotted-angular-popover.mjs.map +1 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs +572 -0
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs +596 -0
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -0
- package/fesm2022/slotted-angular-prose.mjs +314 -0
- package/fesm2022/slotted-angular-prose.mjs.map +1 -0
- package/fesm2022/slotted-angular-radio-group.mjs +469 -0
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-rating.mjs +1174 -0
- package/fesm2022/slotted-angular-rating.mjs.map +1 -0
- package/fesm2022/slotted-angular-result-state.mjs +330 -0
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -0
- package/fesm2022/slotted-angular-saved-views.mjs +877 -0
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -0
- package/fesm2022/slotted-angular-scroll-area.mjs +294 -0
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -0
- package/fesm2022/slotted-angular-section.mjs +266 -0
- package/fesm2022/slotted-angular-section.mjs.map +1 -0
- package/fesm2022/slotted-angular-segmented-control.mjs +454 -0
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/slotted-angular-select.mjs +1899 -0
- package/fesm2022/slotted-angular-select.mjs.map +1 -0
- package/fesm2022/slotted-angular-side-navigation.mjs +1042 -0
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-skeleton.mjs +316 -0
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -0
- package/fesm2022/slotted-angular-slider.mjs +586 -0
- package/fesm2022/slotted-angular-slider.mjs.map +1 -0
- package/fesm2022/slotted-angular-sparkline.mjs +235 -0
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -0
- package/fesm2022/slotted-angular-split-button.mjs +331 -0
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -0
- package/fesm2022/slotted-angular-splitter.mjs +516 -0
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -0
- package/fesm2022/slotted-angular-stack.mjs +48 -0
- package/fesm2022/slotted-angular-stack.mjs.map +1 -0
- package/fesm2022/slotted-angular-stat-card.mjs +478 -0
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -0
- package/fesm2022/slotted-angular-status-indicator.mjs +155 -0
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -0
- package/fesm2022/slotted-angular-stepper.mjs +536 -0
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -0
- package/fesm2022/slotted-angular-switch.mjs +447 -0
- package/fesm2022/slotted-angular-switch.mjs.map +1 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs +750 -0
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -0
- package/fesm2022/slotted-angular-table.mjs +2518 -0
- package/fesm2022/slotted-angular-table.mjs.map +1 -0
- package/fesm2022/slotted-angular-tabs.mjs +829 -0
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -0
- package/fesm2022/slotted-angular-tag.mjs +595 -0
- package/fesm2022/slotted-angular-tag.mjs.map +1 -0
- package/fesm2022/slotted-angular-tags-input.mjs +1211 -0
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -0
- package/fesm2022/slotted-angular-text-field.mjs +674 -0
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-textarea.mjs +275 -0
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -0
- package/fesm2022/slotted-angular-theme.mjs +45 -0
- package/fesm2022/slotted-angular-theme.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-field.mjs +895 -0
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-picker.mjs +856 -0
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs +1534 -0
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -0
- package/fesm2022/slotted-angular-timeline.mjs +928 -0
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -0
- package/fesm2022/slotted-angular-toast.mjs +917 -0
- package/fesm2022/slotted-angular-toast.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle-group.mjs +311 -0
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -0
- package/fesm2022/slotted-angular-toggle.mjs +162 -0
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -0
- package/fesm2022/slotted-angular-toolbar.mjs +536 -0
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -0
- package/fesm2022/slotted-angular-tooltip.mjs +798 -0
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -0
- package/fesm2022/slotted-angular-top-navigation.mjs +1308 -0
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -0
- package/fesm2022/slotted-angular-tour.mjs +1330 -0
- package/fesm2022/slotted-angular-tour.mjs.map +1 -0
- package/fesm2022/slotted-angular-transfer.mjs +1406 -0
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -0
- package/fesm2022/slotted-angular-tree.mjs +1448 -0
- package/fesm2022/slotted-angular-tree.mjs.map +1 -0
- package/fesm2022/slotted-angular-typography.mjs +184 -0
- package/fesm2022/slotted-angular-typography.mjs.map +1 -0
- package/fesm2022/slotted-angular-upload.mjs +1523 -0
- package/fesm2022/slotted-angular-upload.mjs.map +1 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs +32 -0
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -0
- package/fesm2022/slotted-angular-wizard.mjs +1715 -0
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -0
- package/fesm2022/slotted-angular.mjs +4 -0
- package/fesm2022/slotted-angular.mjs.map +1 -0
- package/package.json +537 -3
- package/types/slotted-angular-accordion.d.ts +156 -0
- package/types/slotted-angular-accordion.d.ts.map +1 -0
- package/types/slotted-angular-action-bar.d.ts +291 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -0
- package/types/slotted-angular-action-sheet.d.ts +294 -0
- package/types/slotted-angular-action-sheet.d.ts.map +1 -0
- package/types/slotted-angular-alert.d.ts +214 -0
- package/types/slotted-angular-alert.d.ts.map +1 -0
- package/types/slotted-angular-app-shell.d.ts +549 -0
- package/types/slotted-angular-app-shell.d.ts.map +1 -0
- package/types/slotted-angular-aspect-ratio.d.ts +57 -0
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -0
- package/types/slotted-angular-attachment.d.ts +294 -0
- package/types/slotted-angular-attachment.d.ts.map +1 -0
- package/types/slotted-angular-avatar-group.d.ts +119 -0
- package/types/slotted-angular-avatar-group.d.ts.map +1 -0
- package/types/slotted-angular-avatar.d.ts +202 -0
- package/types/slotted-angular-avatar.d.ts.map +1 -0
- package/types/slotted-angular-badge.d.ts +166 -0
- package/types/slotted-angular-badge.d.ts.map +1 -0
- package/types/slotted-angular-breadcrumb.d.ts +251 -0
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -0
- package/types/slotted-angular-button-group.d.ts +89 -0
- package/types/slotted-angular-button-group.d.ts.map +1 -0
- package/types/slotted-angular-button.d.ts +390 -0
- package/types/slotted-angular-button.d.ts.map +1 -0
- package/types/slotted-angular-calendar.d.ts +280 -0
- package/types/slotted-angular-calendar.d.ts.map +1 -0
- package/types/slotted-angular-card.d.ts +140 -0
- package/types/slotted-angular-card.d.ts.map +1 -0
- package/types/slotted-angular-carousel.d.ts +288 -0
- package/types/slotted-angular-carousel.d.ts.map +1 -0
- package/types/slotted-angular-cascader.d.ts +351 -0
- package/types/slotted-angular-cascader.d.ts.map +1 -0
- package/types/slotted-angular-chart.d.ts +319 -0
- package/types/slotted-angular-chart.d.ts.map +1 -0
- package/types/slotted-angular-checkbox-group.d.ts +156 -0
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -0
- package/types/slotted-angular-checkbox.d.ts +197 -0
- package/types/slotted-angular-checkbox.d.ts.map +1 -0
- package/types/slotted-angular-code-block.d.ts +158 -0
- package/types/slotted-angular-code-block.d.ts.map +1 -0
- package/types/slotted-angular-collapsible.d.ts +272 -0
- package/types/slotted-angular-collapsible.d.ts.map +1 -0
- package/types/slotted-angular-color-picker.d.ts +181 -0
- package/types/slotted-angular-color-picker.d.ts.map +1 -0
- package/types/slotted-angular-column-manager.d.ts +200 -0
- package/types/slotted-angular-column-manager.d.ts.map +1 -0
- package/types/slotted-angular-combobox.d.ts +449 -0
- package/types/slotted-angular-combobox.d.ts.map +1 -0
- package/types/slotted-angular-command-palette.d.ts +256 -0
- package/types/slotted-angular-command-palette.d.ts.map +1 -0
- package/types/slotted-angular-container.d.ts +84 -0
- package/types/slotted-angular-container.d.ts.map +1 -0
- package/types/slotted-angular-context-menu.d.ts +84 -0
- package/types/slotted-angular-context-menu.d.ts.map +1 -0
- package/types/slotted-angular-currency-field.d.ts +480 -0
- package/types/slotted-angular-currency-field.d.ts.map +1 -0
- package/types/slotted-angular-dashboard-grid.d.ts +341 -0
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-grid.d.ts +1077 -0
- package/types/slotted-angular-data-grid.d.ts.map +1 -0
- package/types/slotted-angular-data-list.d.ts +272 -0
- package/types/slotted-angular-data-list.d.ts.map +1 -0
- package/types/slotted-angular-date-field.d.ts +320 -0
- package/types/slotted-angular-date-field.d.ts.map +1 -0
- package/types/slotted-angular-date-picker.d.ts +224 -0
- package/types/slotted-angular-date-picker.d.ts.map +1 -0
- package/types/slotted-angular-date-range-picker.d.ts +310 -0
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-field.d.ts +362 -0
- package/types/slotted-angular-datetime-field.d.ts.map +1 -0
- package/types/slotted-angular-datetime-picker.d.ts +370 -0
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -0
- package/types/slotted-angular-datetime-range-picker.d.ts +459 -0
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-description-list.d.ts +281 -0
- package/types/slotted-angular-description-list.d.ts.map +1 -0
- package/types/slotted-angular-detail-panel.d.ts +240 -0
- package/types/slotted-angular-detail-panel.d.ts.map +1 -0
- package/types/slotted-angular-dialog.d.ts +497 -0
- package/types/slotted-angular-dialog.d.ts.map +1 -0
- package/types/slotted-angular-divider.d.ts +40 -0
- package/types/slotted-angular-divider.d.ts.map +1 -0
- package/types/slotted-angular-drawer.d.ts +532 -0
- package/types/slotted-angular-drawer.d.ts.map +1 -0
- package/types/slotted-angular-entity-picker.d.ts +338 -0
- package/types/slotted-angular-entity-picker.d.ts.map +1 -0
- package/types/slotted-angular-event-calendar.d.ts +574 -0
- package/types/slotted-angular-event-calendar.d.ts.map +1 -0
- package/types/slotted-angular-field-group.d.ts +152 -0
- package/types/slotted-angular-field-group.d.ts.map +1 -0
- package/types/slotted-angular-field.d.ts +535 -0
- package/types/slotted-angular-field.d.ts.map +1 -0
- package/types/slotted-angular-filter-bar.d.ts +573 -0
- package/types/slotted-angular-filter-bar.d.ts.map +1 -0
- package/types/slotted-angular-form.d.ts +298 -0
- package/types/slotted-angular-form.d.ts.map +1 -0
- package/types/slotted-angular-fullscreen.d.ts +145 -0
- package/types/slotted-angular-fullscreen.d.ts.map +1 -0
- package/types/slotted-angular-grid.d.ts +50 -0
- package/types/slotted-angular-grid.d.ts.map +1 -0
- package/types/slotted-angular-highlight.d.ts +93 -0
- package/types/slotted-angular-highlight.d.ts.map +1 -0
- package/types/slotted-angular-hover-card.d.ts +140 -0
- package/types/slotted-angular-hover-card.d.ts.map +1 -0
- package/types/slotted-angular-i18n.d.ts +46 -0
- package/types/slotted-angular-i18n.d.ts.map +1 -0
- package/types/slotted-angular-icon.d.ts +94 -0
- package/types/slotted-angular-icon.d.ts.map +1 -0
- package/types/slotted-angular-image.d.ts +251 -0
- package/types/slotted-angular-image.d.ts.map +1 -0
- package/types/slotted-angular-import-export-center.d.ts +351 -0
- package/types/slotted-angular-import-export-center.d.ts.map +1 -0
- package/types/slotted-angular-inline-message.d.ts +195 -0
- package/types/slotted-angular-inline-message.d.ts.map +1 -0
- package/types/slotted-angular-inline.d.ts +41 -0
- package/types/slotted-angular-inline.d.ts.map +1 -0
- package/types/slotted-angular-kbd.d.ts +174 -0
- package/types/slotted-angular-kbd.d.ts.map +1 -0
- package/types/slotted-angular-link.d.ts +94 -0
- package/types/slotted-angular-link.d.ts.map +1 -0
- package/types/slotted-angular-list-item.d.ts +210 -0
- package/types/slotted-angular-list-item.d.ts.map +1 -0
- package/types/slotted-angular-list.d.ts +176 -0
- package/types/slotted-angular-list.d.ts.map +1 -0
- package/types/slotted-angular-listbox.d.ts +470 -0
- package/types/slotted-angular-listbox.d.ts.map +1 -0
- package/types/slotted-angular-loading-overlay.d.ts +219 -0
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -0
- package/types/slotted-angular-markdown.d.ts +172 -0
- package/types/slotted-angular-markdown.d.ts.map +1 -0
- package/types/slotted-angular-menu.d.ts +448 -0
- package/types/slotted-angular-menu.d.ts.map +1 -0
- package/types/slotted-angular-menubar.d.ts +90 -0
- package/types/slotted-angular-menubar.d.ts.map +1 -0
- package/types/slotted-angular-message-scroller.d.ts +151 -0
- package/types/slotted-angular-message-scroller.d.ts.map +1 -0
- package/types/slotted-angular-message.d.ts +348 -0
- package/types/slotted-angular-message.d.ts.map +1 -0
- package/types/slotted-angular-multi-select.d.ts +462 -0
- package/types/slotted-angular-multi-select.d.ts.map +1 -0
- package/types/slotted-angular-navigation-menu.d.ts +309 -0
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -0
- package/types/slotted-angular-notification-center.d.ts +318 -0
- package/types/slotted-angular-notification-center.d.ts.map +1 -0
- package/types/slotted-angular-number-field.d.ts +402 -0
- package/types/slotted-angular-number-field.d.ts.map +1 -0
- package/types/slotted-angular-otp-input.d.ts +286 -0
- package/types/slotted-angular-otp-input.d.ts.map +1 -0
- package/types/slotted-angular-page-header.d.ts +334 -0
- package/types/slotted-angular-page-header.d.ts.map +1 -0
- package/types/slotted-angular-page.d.ts +141 -0
- package/types/slotted-angular-page.d.ts.map +1 -0
- package/types/slotted-angular-pagination.d.ts +213 -0
- package/types/slotted-angular-pagination.d.ts.map +1 -0
- package/types/slotted-angular-popover.d.ts +366 -0
- package/types/slotted-angular-popover.d.ts.map +1 -0
- package/types/slotted-angular-progress-indicator.d.ts +312 -0
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -0
- package/types/slotted-angular-prompt-composer.d.ts +242 -0
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -0
- package/types/slotted-angular-prose.d.ts +171 -0
- package/types/slotted-angular-prose.d.ts.map +1 -0
- package/types/slotted-angular-radio-group.d.ts +268 -0
- package/types/slotted-angular-radio-group.d.ts.map +1 -0
- package/types/slotted-angular-rating.d.ts +374 -0
- package/types/slotted-angular-rating.d.ts.map +1 -0
- package/types/slotted-angular-result-state.d.ts +217 -0
- package/types/slotted-angular-result-state.d.ts.map +1 -0
- package/types/slotted-angular-saved-views.d.ts +198 -0
- package/types/slotted-angular-saved-views.d.ts.map +1 -0
- package/types/slotted-angular-scroll-area.d.ts +186 -0
- package/types/slotted-angular-scroll-area.d.ts.map +1 -0
- package/types/slotted-angular-section.d.ts +143 -0
- package/types/slotted-angular-section.d.ts.map +1 -0
- package/types/slotted-angular-segmented-control.d.ts +251 -0
- package/types/slotted-angular-segmented-control.d.ts.map +1 -0
- package/types/slotted-angular-select.d.ts +507 -0
- package/types/slotted-angular-select.d.ts.map +1 -0
- package/types/slotted-angular-side-navigation.d.ts +373 -0
- package/types/slotted-angular-side-navigation.d.ts.map +1 -0
- package/types/slotted-angular-skeleton.d.ts +198 -0
- package/types/slotted-angular-skeleton.d.ts.map +1 -0
- package/types/slotted-angular-slider.d.ts +216 -0
- package/types/slotted-angular-slider.d.ts.map +1 -0
- package/types/slotted-angular-sparkline.d.ts +106 -0
- package/types/slotted-angular-sparkline.d.ts.map +1 -0
- package/types/slotted-angular-split-button.d.ts +180 -0
- package/types/slotted-angular-split-button.d.ts.map +1 -0
- package/types/slotted-angular-splitter.d.ts +206 -0
- package/types/slotted-angular-splitter.d.ts.map +1 -0
- package/types/slotted-angular-stack.d.ts +38 -0
- package/types/slotted-angular-stack.d.ts.map +1 -0
- package/types/slotted-angular-stat-card.d.ts +232 -0
- package/types/slotted-angular-stat-card.d.ts.map +1 -0
- package/types/slotted-angular-status-indicator.d.ts +106 -0
- package/types/slotted-angular-status-indicator.d.ts.map +1 -0
- package/types/slotted-angular-stepper.d.ts +198 -0
- package/types/slotted-angular-stepper.d.ts.map +1 -0
- package/types/slotted-angular-switch.d.ts +243 -0
- package/types/slotted-angular-switch.d.ts.map +1 -0
- package/types/slotted-angular-table-of-contents.d.ts +210 -0
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -0
- package/types/slotted-angular-table.d.ts +888 -0
- package/types/slotted-angular-table.d.ts.map +1 -0
- package/types/slotted-angular-tabs.d.ts +340 -0
- package/types/slotted-angular-tabs.d.ts.map +1 -0
- package/types/slotted-angular-tag.d.ts +279 -0
- package/types/slotted-angular-tag.d.ts.map +1 -0
- package/types/slotted-angular-tags-input.d.ts +302 -0
- package/types/slotted-angular-tags-input.d.ts.map +1 -0
- package/types/slotted-angular-text-field.d.ts +334 -0
- package/types/slotted-angular-text-field.d.ts.map +1 -0
- package/types/slotted-angular-textarea.d.ts +150 -0
- package/types/slotted-angular-textarea.d.ts.map +1 -0
- package/types/slotted-angular-theme.d.ts +26 -0
- package/types/slotted-angular-theme.d.ts.map +1 -0
- package/types/slotted-angular-time-field.d.ts +300 -0
- package/types/slotted-angular-time-field.d.ts.map +1 -0
- package/types/slotted-angular-time-picker.d.ts +260 -0
- package/types/slotted-angular-time-picker.d.ts.map +1 -0
- package/types/slotted-angular-time-range-picker.d.ts +401 -0
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -0
- package/types/slotted-angular-timeline.d.ts +329 -0
- package/types/slotted-angular-timeline.d.ts.map +1 -0
- package/types/slotted-angular-toast.d.ts +340 -0
- package/types/slotted-angular-toast.d.ts.map +1 -0
- package/types/slotted-angular-toggle-group.d.ts +167 -0
- package/types/slotted-angular-toggle-group.d.ts.map +1 -0
- package/types/slotted-angular-toggle.d.ts +106 -0
- package/types/slotted-angular-toggle.d.ts.map +1 -0
- package/types/slotted-angular-toolbar.d.ts +252 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -0
- package/types/slotted-angular-tooltip.d.ts +388 -0
- package/types/slotted-angular-tooltip.d.ts.map +1 -0
- package/types/slotted-angular-top-navigation.d.ts +442 -0
- package/types/slotted-angular-top-navigation.d.ts.map +1 -0
- package/types/slotted-angular-tour.d.ts +440 -0
- package/types/slotted-angular-tour.d.ts.map +1 -0
- package/types/slotted-angular-transfer.d.ts +296 -0
- package/types/slotted-angular-transfer.d.ts.map +1 -0
- package/types/slotted-angular-tree.d.ts +499 -0
- package/types/slotted-angular-tree.d.ts.map +1 -0
- package/types/slotted-angular-typography.d.ts +89 -0
- package/types/slotted-angular-typography.d.ts.map +1 -0
- package/types/slotted-angular-upload.d.ts +365 -0
- package/types/slotted-angular-upload.d.ts.map +1 -0
- package/types/slotted-angular-visually-hidden.d.ts +19 -0
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -0
- package/types/slotted-angular-wizard.d.ts +441 -0
- package/types/slotted-angular-wizard.d.ts.map +1 -0
- package/types/slotted-angular.d.ts +3 -0
- package/types/slotted-angular.d.ts.map +1 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/** How the rows are told apart. The vocabulary is `accordion`'s. */
|
|
5
|
+
type ListVariant = 'plain' | 'ruled' | 'framed' | 'separated';
|
|
6
|
+
/** The room a row gets. Density is the application's choice; this is not. */
|
|
7
|
+
type ListSize = 'sm' | 'md' | 'lg';
|
|
8
|
+
/**
|
|
9
|
+
* What is painted in the marker column. It is a separate question from
|
|
10
|
+
* `ordered`: an ordered set whose rows carry their own badges paints no number
|
|
11
|
+
* and still reads in order.
|
|
12
|
+
*/
|
|
13
|
+
type ListMarker = 'none' | 'bullet' | 'number';
|
|
14
|
+
interface ListDefaults {
|
|
15
|
+
inset: boolean;
|
|
16
|
+
marker: ListMarker;
|
|
17
|
+
size: ListSize;
|
|
18
|
+
variant: ListVariant;
|
|
19
|
+
}
|
|
20
|
+
declare const LIST_DEFAULTS: InjectionToken<ListDefaults>;
|
|
21
|
+
/**
|
|
22
|
+
* An application decides once how its lists are told apart and how much room a
|
|
23
|
+
* row gets, rather than repeating four inputs on every list. A list that states
|
|
24
|
+
* any of them itself still wins: an explicit input is never overridden by the
|
|
25
|
+
* token.
|
|
26
|
+
*/
|
|
27
|
+
declare function provideListDefaults(defaults: Partial<ListDefaults>): {
|
|
28
|
+
provide: InjectionToken<ListDefaults>;
|
|
29
|
+
useFactory: () => ListDefaults;
|
|
30
|
+
};
|
|
31
|
+
/** What a list renders as here, before it states anything of its own. */
|
|
32
|
+
declare function injectListDefaults(): ListDefaults;
|
|
33
|
+
/**
|
|
34
|
+
* A group's heading names its own nested list, so the heading needs an id and
|
|
35
|
+
* the id has to be the same string on the server and in the browser. A counter
|
|
36
|
+
* held by the injector produces one; `Math.random` would not match for
|
|
37
|
+
* hydration.
|
|
38
|
+
*/
|
|
39
|
+
declare class SlListIdFactory {
|
|
40
|
+
private count;
|
|
41
|
+
next(): string;
|
|
42
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListIdFactory, never>;
|
|
43
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* A vertical run of related rows. The rows are `slListItem`, a family of its
|
|
48
|
+
* own; this one decides how they are told apart, how much room each gets, what
|
|
49
|
+
* is painted in the marker column and whether they keep their inline padding,
|
|
50
|
+
* and hands those four down through the injector.
|
|
51
|
+
*
|
|
52
|
+
* The directive goes on the element the page wrote — `<ul slList>` or
|
|
53
|
+
* `<ol slList>` — because the element carries the reading order and that is the
|
|
54
|
+
* page's decision, not the family's.
|
|
55
|
+
*
|
|
56
|
+
* **`role="list"` is written, and it is not redundant.** The family draws its
|
|
57
|
+
* own marker, because a row is a content box beside its independent targets and
|
|
58
|
+
* CSS has no `display` that is both `list-item` and a grid. Safari and
|
|
59
|
+
* VoiceOver drop list semantics the moment CSS removes the marker, so the role
|
|
60
|
+
* restores what the layout costs. A `role` the consumer wrote themselves — a
|
|
61
|
+
* `menu`, a `listbox` they are wiring — survives.
|
|
62
|
+
*
|
|
63
|
+
* The set holds no state a consumer can own. Selection with roving focus is
|
|
64
|
+
* `listbox`'s and `table`'s: ARIA 1.2 does not allow `aria-selected` on
|
|
65
|
+
* `listitem`, so a selection model here would announce nothing.
|
|
66
|
+
*/
|
|
67
|
+
declare class SlList {
|
|
68
|
+
/** How the rows are told apart. Falls back to the injected default. */
|
|
69
|
+
readonly variant: _angular_core.InputSignal<ListVariant | undefined>;
|
|
70
|
+
/** The room a row gets. Falls back to the injected default. */
|
|
71
|
+
readonly size: _angular_core.InputSignal<ListSize | undefined>;
|
|
72
|
+
/** What is painted in the marker column. Falls back to the injected default. */
|
|
73
|
+
readonly marker: _angular_core.InputSignal<ListMarker | undefined>;
|
|
74
|
+
/**
|
|
75
|
+
* Takes the rows' inline padding away, for a list inside a box that already
|
|
76
|
+
* pads its own content. The rule and the fill still run edge to edge.
|
|
77
|
+
*/
|
|
78
|
+
readonly inset: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* `aria-busy` on the set, which ARIA 1.2 §5.2.6 asks of a container whose
|
|
81
|
+
* rows have not arrived. The family draws no placeholder: `skeleton` owns
|
|
82
|
+
* that geometry and goes inside the rows.
|
|
83
|
+
*/
|
|
84
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
85
|
+
private readonly defaults;
|
|
86
|
+
/** A role the consumer wrote is never replaced by the family's. */
|
|
87
|
+
private readonly writtenRole;
|
|
88
|
+
protected readonly role: _angular_core.Signal<string>;
|
|
89
|
+
readonly resolvedVariant: _angular_core.Signal<ListVariant>;
|
|
90
|
+
readonly resolvedSize: _angular_core.Signal<ListSize>;
|
|
91
|
+
readonly resolvedMarker: _angular_core.Signal<ListMarker>;
|
|
92
|
+
/**
|
|
93
|
+
* Read by every row under this set, and by the row's own input first. The
|
|
94
|
+
* input stays `undefined` until it is written, so a list that states
|
|
95
|
+
* `inset="false"` under a provider that states `true` keeps its own answer —
|
|
96
|
+
* `booleanAttribute` alone would fold the two together.
|
|
97
|
+
*/
|
|
98
|
+
readonly resolvedInset: _angular_core.Signal<boolean>;
|
|
99
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlList, never>;
|
|
100
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlList, "ul[slList], ol[slList]", ["slList"], { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "marker": { "alias": "marker"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* A group inside the set: the `li` holding a heading and a nested list, which
|
|
105
|
+
* is the grouping HTML already has. MUI, Angular Material, Primer and React
|
|
106
|
+
* Aria each leave the heading loose among the rows instead, so a reader hears a
|
|
107
|
+
* heading inside a set rather than a set with a name.
|
|
108
|
+
*
|
|
109
|
+
* The three elements are the consumer's own, which is what this ecosystem
|
|
110
|
+
* composes with: the heading keeps whichever level the document needs, and the
|
|
111
|
+
* nested list keeps `ul` or `ol` to match the set around it. React reads the
|
|
112
|
+
* heading element off a `level` input instead, because there the component owns
|
|
113
|
+
* the tag; both reach the same accessibility tree.
|
|
114
|
+
*/
|
|
115
|
+
declare class SlListSection {
|
|
116
|
+
/**
|
|
117
|
+
* The id the heading carries and the nested list names itself by. It is held
|
|
118
|
+
* here rather than passed between the two, because the pair is the group and
|
|
119
|
+
* neither half can name the other on its own.
|
|
120
|
+
*/
|
|
121
|
+
readonly labelId: _angular_core.WritableSignal<string | undefined>;
|
|
122
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListSection, never>;
|
|
123
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListSection, "li[slListSection]", ["slListSection"], {}, {}, never, never, true, never>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* The group's name. It shares the row's inline inset, so the heading and the
|
|
127
|
+
* titles under it stand in one column — the alignment that makes a grouped list
|
|
128
|
+
* read as one list rather than as several.
|
|
129
|
+
*/
|
|
130
|
+
declare class SlListSectionLabel {
|
|
131
|
+
/**
|
|
132
|
+
* Keeps the name in place while its own rows scroll past it. It takes the
|
|
133
|
+
* set's surface and the library's sticky stack level, which is what a
|
|
134
|
+
* consumer writing `position: sticky` alone does not get.
|
|
135
|
+
*/
|
|
136
|
+
readonly sticky: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
137
|
+
private readonly section;
|
|
138
|
+
/** An id the consumer wrote is never replaced by the family's. */
|
|
139
|
+
private readonly written;
|
|
140
|
+
readonly id: string;
|
|
141
|
+
constructor();
|
|
142
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListSectionLabel, never>;
|
|
143
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListSectionLabel, "[slListSectionLabel]", ["slListSectionLabel"], { "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* The rows of one group. `role="list"` for the same reason the set writes it:
|
|
147
|
+
* the family draws its own marker, and the native one is what Safari and
|
|
148
|
+
* VoiceOver read the semantics from.
|
|
149
|
+
*/
|
|
150
|
+
declare class SlListSectionList {
|
|
151
|
+
private readonly section;
|
|
152
|
+
/** A role the consumer wrote is never replaced by the family's. */
|
|
153
|
+
private readonly writtenRole;
|
|
154
|
+
private readonly writtenLabelledBy;
|
|
155
|
+
readonly role: string;
|
|
156
|
+
readonly labelledBy: () => string | null;
|
|
157
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListSectionList, never>;
|
|
158
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListSectionList, "ul[slListSectionList], ol[slListSectionList]", ["slListSectionList"], {}, {}, never, never, true, never>;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* What the set says when it holds nothing. It is an `li`, so the reader hears
|
|
162
|
+
* "list, one item" and then the message; a message outside the list leaves them
|
|
163
|
+
* with "list, zero items" and silence, and leaves the words outside the box a
|
|
164
|
+
* framed set paints.
|
|
165
|
+
*
|
|
166
|
+
* The family supplies the box, the height and the muted ink. The words are the
|
|
167
|
+
* page's, and `result-state` is what goes in here.
|
|
168
|
+
*/
|
|
169
|
+
declare class SlListEmpty {
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListEmpty, never>;
|
|
171
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListEmpty, "li[slListEmpty]", ["slListEmpty"], {}, {}, never, never, true, never>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export { LIST_DEFAULTS, SlList, SlListEmpty, SlListIdFactory, SlListSection, SlListSectionLabel, SlListSectionList, injectListDefaults, provideListDefaults };
|
|
175
|
+
export type { ListDefaults, ListMarker, ListSize, ListVariant };
|
|
176
|
+
//# sourceMappingURL=slotted-angular-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-list.d.ts","sources":["../../list/src/list-defaults.ts","../../list/src/list.ts","../../list/src/list-parts.ts"],"mappings":";;;AAEA;AACM,KAAM,WAAW;AAEvB;AACM,KAAM,QAAQ;AAEpB;;;;AAIG;AACG,KAAM,UAAU;UAEL,YAAY;;YAEnB,UAAU;UACZ,QAAQ;aACL,WAAW;AACrB;AAID,cAAa,aAAa,EAAA,cAAA,CAAA,YAAA;AAK1B;;;;;AAKG;AACH,iBAAgB,mBAAmB,WAAW,OAAO,CAAC,YAAY;;sBAG9C,YAAY;AAO/B;AAED;AACA,iBAAgB,kBAAkB,IAAI,YAAY;AAIlD;;;;;AAKG;AACH,cACa,eAAe;;;oDAAf,eAAe;;AAO3B;;AClDD;;;;;;;;;;;;;;;;;;;;AAoBG;AACH,cAoBa,MAAM;;sBAED,aAAA,CAAA,WAAA,CAAA,WAAA;;mBAEH,aAAA,CAAA,WAAA,CAAA,QAAA;;qBAEE,aAAA,CAAA,WAAA,CAAA,UAAA;AACf;;;AAGG;oBACW,aAAA,CAAA,wBAAA;AAGd;;;;AAIG;sBACa,aAAA,CAAA,wBAAA;AAEhB;;AAGA;AAEA,6BAAuB,aAAA,CAAA,MAAA;8BAGC,aAAA,CAAA,MAAA,CAAA,WAAA;2BACH,aAAA,CAAA,MAAA,CAAA,QAAA;6BACE,aAAA,CAAA,MAAA,CAAA,UAAA;AAEvB;;;;;AAKG;4BACmB,aAAA,CAAA,MAAA;oDAvCX,MAAM;sDAAN,MAAM;AAwClB;;ACtFD;;;;;;;;;;;AAWG;AACH,cAMa,aAAa;AACxB;;;;AAIG;sBACa,aAAA,CAAA,cAAA;oDANL,aAAa;sDAAb,aAAa;AAOzB;AAED;;;;AAIG;AACH,cAUa,kBAAkB;AAC7B;;;;AAIG;qBACY,aAAA,CAAA,wBAAA;AAEf;;AAEA;;;oDAVW,kBAAkB;sDAAlB,kBAAkB;AAiB9B;AAED;;;;AAIG;AACH,cAUa,iBAAiB;AAC5B;;AAEA;AACA;;;oDAJW,iBAAiB;sDAAjB,iBAAiB;AAW7B;AAED;;;;;;;;AAQG;AACH,cAMa,WAAW;oDAAX,WAAW;sDAAX,WAAW;AAAG;;","names":[]}
|
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, Signal, OnInit, TemplateRef } from '@angular/core';
|
|
3
|
+
import * as _slotted_core_collection from '@slotted/core/collection';
|
|
4
|
+
import { SelectionBehavior, Collection } from '@slotted/core/collection';
|
|
5
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
6
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
7
|
+
|
|
8
|
+
/** The type step the listbox and every option inside it sit at. */
|
|
9
|
+
type ListboxSize = 'sm' | 'md' | 'lg';
|
|
10
|
+
/**
|
|
11
|
+
* Whether the listbox draws its own box. `framed` is the standalone control —
|
|
12
|
+
* what `<select multiple>` looks like — and `plain` is what a layer that
|
|
13
|
+
* already has an edge renders inside itself.
|
|
14
|
+
*/
|
|
15
|
+
type ListboxVariant = 'plain' | 'framed';
|
|
16
|
+
/** How many options may be chosen at once. */
|
|
17
|
+
type ListboxSelectionMode = 'none' | 'single' | 'multiple';
|
|
18
|
+
/**
|
|
19
|
+
* Which of the two models the pattern offers is in force. `toggle` is the
|
|
20
|
+
* recommended one and holds no modifier; `replace` is the alternative, where a
|
|
21
|
+
* plain press replaces the selection and Control extends it.
|
|
22
|
+
*/
|
|
23
|
+
type ListboxSelectionBehavior = 'toggle' | 'replace';
|
|
24
|
+
type ListboxOrientation = 'vertical' | 'horizontal';
|
|
25
|
+
/**
|
|
26
|
+
* How the keyboard's position is expressed. `auto` reads one fact — whether the
|
|
27
|
+
* set is windowed — and answers `activedescendant` when it is, because a roving
|
|
28
|
+
* tab stop cannot survive its own element being recycled.
|
|
29
|
+
*/
|
|
30
|
+
type ListboxFocusMode = 'auto' | 'roving' | 'activedescendant';
|
|
31
|
+
/** Whether a chosen option draws a mark as well as its ground and its bar. */
|
|
32
|
+
type ListboxIndicatorMode = 'check' | 'none';
|
|
33
|
+
/** Where `scrollToKey` puts the option it reveals. */
|
|
34
|
+
type ListboxAlignment = 'start' | 'center' | 'end' | 'nearest';
|
|
35
|
+
interface ListboxDefaults {
|
|
36
|
+
columns: number;
|
|
37
|
+
disallowEmptySelection: boolean;
|
|
38
|
+
disallowSelectAll: boolean;
|
|
39
|
+
focusMode: ListboxFocusMode;
|
|
40
|
+
indicator: ListboxIndicatorMode;
|
|
41
|
+
loadMoreThreshold: number;
|
|
42
|
+
loop: boolean;
|
|
43
|
+
navigateDisabled: boolean;
|
|
44
|
+
orientation: ListboxOrientation;
|
|
45
|
+
overscan: number;
|
|
46
|
+
pageSize: number;
|
|
47
|
+
rows: number;
|
|
48
|
+
selectOnFocus: boolean;
|
|
49
|
+
selectionBehavior: ListboxSelectionBehavior;
|
|
50
|
+
selectionMode: ListboxSelectionMode;
|
|
51
|
+
size: ListboxSize;
|
|
52
|
+
typeahead: boolean;
|
|
53
|
+
typeaheadTimeout: number;
|
|
54
|
+
variant: ListboxVariant;
|
|
55
|
+
}
|
|
56
|
+
declare const LISTBOX_DEFAULTS: InjectionToken<ListboxDefaults>;
|
|
57
|
+
/**
|
|
58
|
+
* An application decides once how its listboxes behave, rather than repeating
|
|
59
|
+
* nineteen inputs on every collection in a product. A listbox that states any
|
|
60
|
+
* of them itself still wins: an explicit input is never overridden by the
|
|
61
|
+
* token.
|
|
62
|
+
*/
|
|
63
|
+
declare function provideListboxDefaults(defaults: Partial<ListboxDefaults>): {
|
|
64
|
+
provide: InjectionToken<ListboxDefaults>;
|
|
65
|
+
useFactory: () => ListboxDefaults;
|
|
66
|
+
};
|
|
67
|
+
/** What a listbox behaves as here, before it states anything of its own. */
|
|
68
|
+
declare function injectListboxDefaults(): ListboxDefaults;
|
|
69
|
+
/**
|
|
70
|
+
* `aria-activedescendant` names an option by its id, so every option needs one
|
|
71
|
+
* and the same string has to be produced on the server and in the browser. A
|
|
72
|
+
* counter held by the injector produces one; `Math.random` would not match for
|
|
73
|
+
* hydration.
|
|
74
|
+
*/
|
|
75
|
+
declare class SlListboxIdFactory {
|
|
76
|
+
private count;
|
|
77
|
+
next(): string;
|
|
78
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxIdFactory, never>;
|
|
79
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* What a part asks the listbox around it.
|
|
84
|
+
*
|
|
85
|
+
* It is an abstract class rather than an interface so it can be the injection
|
|
86
|
+
* token as well as the type, and it exists in a file of its own so the parts do
|
|
87
|
+
* not import the component that renders them: the component's own template
|
|
88
|
+
* applies the option directive, and a direct import each way is a cycle.
|
|
89
|
+
*/
|
|
90
|
+
declare abstract class SlListboxContext {
|
|
91
|
+
abstract readonly indicatorMode: Signal<ListboxIndicatorMode>;
|
|
92
|
+
abstract readonly selection: Signal<ListboxSelectionMode>;
|
|
93
|
+
abstract readonly listboxDisabled: Signal<boolean>;
|
|
94
|
+
/** Whether this key is chosen. */
|
|
95
|
+
abstract isSelected(key: string): boolean;
|
|
96
|
+
/** Whether this key is the one the keyboard is on. */
|
|
97
|
+
abstract isActive(key: string): boolean;
|
|
98
|
+
/** The id an option carries, so `aria-activedescendant` can name it. */
|
|
99
|
+
abstract optionId(key: string): string;
|
|
100
|
+
/** The tab stop under the roving model, and `null` under the other one. */
|
|
101
|
+
abstract optionTabIndex(key: string): number | null;
|
|
102
|
+
/**
|
|
103
|
+
* How large the whole set is, and where one option sits in it. Both are
|
|
104
|
+
* `null` unless the collection is one the family was handed, which is exactly
|
|
105
|
+
* when the pattern requires them: with options written in the template the
|
|
106
|
+
* whole set is in the DOM and the platform counts it.
|
|
107
|
+
*/
|
|
108
|
+
abstract setSize(): number | null;
|
|
109
|
+
abstract posInSet(key: string): number | null;
|
|
110
|
+
/** A press on an option, with the modifiers it was pressed with. */
|
|
111
|
+
abstract press(key: string, event: MouseEvent): void;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* What the listbox holds: one key in `single` and `none`, a set of them in
|
|
116
|
+
* `multiple`. Three of the four surveyed implementations give single selection
|
|
117
|
+
* a scalar; the array-always shape is what makes a consumer write `value[0]`.
|
|
118
|
+
*/
|
|
119
|
+
type ListboxValue = string | readonly string[] | null;
|
|
120
|
+
type ListboxChangeRequest = ChangeRequest<ListboxValue>;
|
|
121
|
+
type ListboxActiveRequest = ChangeRequest<string | null>;
|
|
122
|
+
/** One section of a collection the listbox was handed. */
|
|
123
|
+
interface ListboxSection<T = unknown> {
|
|
124
|
+
key: string;
|
|
125
|
+
label: string;
|
|
126
|
+
items: readonly T[];
|
|
127
|
+
}
|
|
128
|
+
/** One option of the render plan the template walks. */
|
|
129
|
+
interface PlanOption {
|
|
130
|
+
kind: 'option';
|
|
131
|
+
id: string;
|
|
132
|
+
key: string;
|
|
133
|
+
item: unknown;
|
|
134
|
+
label: string;
|
|
135
|
+
disabled: boolean;
|
|
136
|
+
/** Where a pinned row sits on the canvas, or `null` for a row in the slice. */
|
|
137
|
+
offset: number | null;
|
|
138
|
+
}
|
|
139
|
+
interface PlanGroup {
|
|
140
|
+
kind: 'group';
|
|
141
|
+
id: string;
|
|
142
|
+
sectionKey: string;
|
|
143
|
+
label: string;
|
|
144
|
+
/** Whether the label row itself is inside the window. */
|
|
145
|
+
showLabel: boolean;
|
|
146
|
+
options: PlanOption[];
|
|
147
|
+
}
|
|
148
|
+
type PlanEntry = PlanOption | PlanGroup;
|
|
149
|
+
/**
|
|
150
|
+
* A list of options the reader chooses from, and the primitive `select`,
|
|
151
|
+
* `combobox` and the pickers are built on.
|
|
152
|
+
*
|
|
153
|
+
* ── Where the collection comes from ─────────────────────────────────────
|
|
154
|
+
*
|
|
155
|
+
* Two ways in, one shape out. Written in the template, the collection is read
|
|
156
|
+
* from the rendered options in DOM order — which is the reading order, survives
|
|
157
|
+
* nesting inside groups, and cannot disagree with what the reader sees. Handed
|
|
158
|
+
* `items` or `sections`, it is built by `@slotted/core/collection`, which is
|
|
159
|
+
* the only way a listbox can window a set larger than the DOM or report a set
|
|
160
|
+
* the DOM does not hold.
|
|
161
|
+
*
|
|
162
|
+
* ── Two mutable values ──────────────────────────────────────────────────
|
|
163
|
+
*
|
|
164
|
+
* The pattern is explicit that they are two: "DOM focus (the active element) is
|
|
165
|
+
* functionally distinct from the selected state". `value` is what the reader
|
|
166
|
+
* chose and `activeKey` is where the keyboard is, and a `select` reopening onto
|
|
167
|
+
* the option chosen last time needs the second and nothing else.
|
|
168
|
+
*
|
|
169
|
+
* ── The focus model is read, not asked for ──────────────────────────────
|
|
170
|
+
*
|
|
171
|
+
* `focusMode="auto"` answers `activedescendant` whenever the set is windowed,
|
|
172
|
+
* because a roving `tabindex` cannot survive its own element being recycled:
|
|
173
|
+
* the element carrying `tabindex="0"` is removed while it holds focus, and
|
|
174
|
+
* focus falls to the document body.
|
|
175
|
+
*/
|
|
176
|
+
declare class SlListbox implements ControlValueAccessor, OnInit, SlListboxContext, Validator {
|
|
177
|
+
/** Present means the consumer owns the choice, for the life of the component. */
|
|
178
|
+
readonly value: _angular_core.InputSignal<ListboxValue | undefined>;
|
|
179
|
+
/** What an uncontrolled listbox starts from, read once. */
|
|
180
|
+
readonly defaultValue: _angular_core.InputSignal<ListboxValue | undefined>;
|
|
181
|
+
/** Present means the consumer owns which option the keyboard is on. */
|
|
182
|
+
readonly activeKey: _angular_core.InputSignal<string | null | undefined>;
|
|
183
|
+
readonly defaultActiveKey: _angular_core.InputSignal<string | null | undefined>;
|
|
184
|
+
readonly selectionMode: _angular_core.InputSignal<ListboxSelectionMode | undefined>;
|
|
185
|
+
readonly selectionBehavior: _angular_core.InputSignal<ListboxSelectionBehavior | undefined>;
|
|
186
|
+
readonly size: _angular_core.InputSignal<ListboxSize | undefined>;
|
|
187
|
+
readonly variant: _angular_core.InputSignal<ListboxVariant | undefined>;
|
|
188
|
+
readonly orientation: _angular_core.InputSignal<ListboxOrientation | undefined>;
|
|
189
|
+
readonly focusMode: _angular_core.InputSignal<ListboxFocusMode | undefined>;
|
|
190
|
+
readonly indicator: _angular_core.InputSignal<ListboxIndicatorMode | undefined>;
|
|
191
|
+
readonly loop: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
192
|
+
readonly typeahead: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
193
|
+
readonly selectOnFocus: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
194
|
+
readonly navigateDisabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
195
|
+
readonly disallowEmptySelection: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
196
|
+
readonly disallowSelectAll: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
197
|
+
readonly rows: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
198
|
+
readonly columns: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
199
|
+
readonly pageSize: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
200
|
+
readonly typeaheadTimeout: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
201
|
+
/** Unstated rather than `false`, so the listbox defers to the form around it. */
|
|
202
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
203
|
+
readonly readOnly: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
204
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
205
|
+
readonly invalid: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
206
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
207
|
+
/** The whole collection, when the listbox is to window it or to report a set larger than the DOM. */
|
|
208
|
+
readonly items: _angular_core.InputSignal<readonly unknown[] | undefined>;
|
|
209
|
+
/** A grouped collection. Mutually exclusive with `items`. */
|
|
210
|
+
readonly sections: _angular_core.InputSignal<readonly ListboxSection<unknown>[] | undefined>;
|
|
211
|
+
readonly getKey: _angular_core.InputSignal<((item: never) => string) | undefined>;
|
|
212
|
+
readonly getLabel: _angular_core.InputSignal<((item: never) => string) | undefined>;
|
|
213
|
+
readonly isItemDisabled: _angular_core.InputSignal<((item: never) => boolean) | undefined>;
|
|
214
|
+
/** How large the whole set is when only part of it has been loaded. */
|
|
215
|
+
readonly totalCount: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
216
|
+
/** Renders only the options the viewport covers, plus the pinned ones. */
|
|
217
|
+
readonly virtual: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
218
|
+
/** The block size of one option. Required whenever `virtual` is set. */
|
|
219
|
+
readonly itemSize: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
220
|
+
/** The block size of a group label row. Defaults to `itemSize`. */
|
|
221
|
+
readonly sectionSize: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
222
|
+
readonly overscan: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
223
|
+
readonly hasMore: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
224
|
+
readonly loadMoreThreshold: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
225
|
+
/** Emitted before the selection moves, with the request that carries the reason. */
|
|
226
|
+
readonly valueChange: _angular_core.OutputEmitterRef<ListboxChangeRequest>;
|
|
227
|
+
/** Emitted before the option the keyboard is on moves. */
|
|
228
|
+
readonly activeKeyChange: _angular_core.OutputEmitterRef<ListboxActiveRequest>;
|
|
229
|
+
/** Asked when the rendered window reaches the end of what has been loaded. */
|
|
230
|
+
readonly loadMore: _angular_core.OutputEmitterRef<void>;
|
|
231
|
+
private readonly defaults;
|
|
232
|
+
private readonly host;
|
|
233
|
+
private readonly idPrefix;
|
|
234
|
+
private readonly destroyRef;
|
|
235
|
+
/** A role the consumer wrote is never replaced by the family's. */
|
|
236
|
+
protected readonly writtenRole: string | null;
|
|
237
|
+
protected readonly optionContent: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
238
|
+
private readonly ownKeys;
|
|
239
|
+
private readonly ownActive;
|
|
240
|
+
private readonly formKeys;
|
|
241
|
+
private readonly formDisabled;
|
|
242
|
+
private readonly anchor;
|
|
243
|
+
private typeaheadHandle;
|
|
244
|
+
private onChangeFn;
|
|
245
|
+
private onTouchedFn;
|
|
246
|
+
protected readonly viewportSize: _angular_core.WritableSignal<number>;
|
|
247
|
+
protected readonly scrollOffset: _angular_core.WritableSignal<number>;
|
|
248
|
+
constructor();
|
|
249
|
+
/**
|
|
250
|
+
* The uncontrolled start, read once. It is read here rather than in the
|
|
251
|
+
* constructor because that is where Angular has finished writing the inputs,
|
|
252
|
+
* and a value read a moment earlier is the input's declared default rather
|
|
253
|
+
* than the consumer's.
|
|
254
|
+
*/
|
|
255
|
+
ngOnInit(): void;
|
|
256
|
+
readonly resolvedSize: _angular_core.Signal<ListboxSize>;
|
|
257
|
+
readonly resolvedVariant: _angular_core.Signal<ListboxVariant>;
|
|
258
|
+
readonly resolvedOrientation: _angular_core.Signal<ListboxOrientation>;
|
|
259
|
+
readonly indicatorMode: _angular_core.Signal<ListboxIndicatorMode>;
|
|
260
|
+
readonly selection: _angular_core.Signal<ListboxSelectionMode>;
|
|
261
|
+
readonly resolvedBehavior: _angular_core.Signal<SelectionBehavior>;
|
|
262
|
+
readonly resolvedRows: _angular_core.Signal<number>;
|
|
263
|
+
readonly resolvedColumns: _angular_core.Signal<number>;
|
|
264
|
+
readonly resolvedReadOnly: _angular_core.Signal<boolean>;
|
|
265
|
+
readonly resolvedRequired: _angular_core.Signal<boolean>;
|
|
266
|
+
readonly resolvedInvalid: _angular_core.Signal<boolean>;
|
|
267
|
+
readonly listboxDisabled: _angular_core.Signal<boolean>;
|
|
268
|
+
readonly windowed: _angular_core.Signal<boolean>;
|
|
269
|
+
readonly mode: _angular_core.Signal<"roving" | "activedescendant">;
|
|
270
|
+
readonly selectedKeys: _angular_core.Signal<readonly string[]>;
|
|
271
|
+
readonly active: _angular_core.Signal<string | null>;
|
|
272
|
+
protected readonly activeDescendant: _angular_core.Signal<string | null>;
|
|
273
|
+
protected readonly rootTabIndex: _angular_core.Signal<0 | -1>;
|
|
274
|
+
readonly collection: _angular_core.Signal<Collection<unknown> | undefined>;
|
|
275
|
+
private readonly rowMetrics;
|
|
276
|
+
readonly slice: _angular_core.Signal<_slotted_core_collection.VirtualWindow>;
|
|
277
|
+
/**
|
|
278
|
+
* What the template walks. A windowed slice starts and ends in the middle of
|
|
279
|
+
* the collection, so a group is emitted per contiguous run of rows belonging
|
|
280
|
+
* to one section rather than per section — and a run whose label row is
|
|
281
|
+
* outside the window is named by `aria-label` instead. Each run is still a
|
|
282
|
+
* group carrying the section's name, which is what the pattern asks of a
|
|
283
|
+
* grouped option.
|
|
284
|
+
*/
|
|
285
|
+
protected readonly plan: _angular_core.Signal<PlanEntry[]>;
|
|
286
|
+
/**
|
|
287
|
+
* The collection as the reducers want it, read at the moment of a key press
|
|
288
|
+
* rather than held in state: an option added or removed between two presses
|
|
289
|
+
* is already accounted for, and nothing has to be registered.
|
|
290
|
+
*/
|
|
291
|
+
private snapshot;
|
|
292
|
+
isSelected(key: string): boolean;
|
|
293
|
+
isActive(key: string): boolean;
|
|
294
|
+
optionId(key: string): string;
|
|
295
|
+
optionTabIndex(key: string): 0 | -1 | null;
|
|
296
|
+
setSize(): number | null;
|
|
297
|
+
posInSet(key: string): number | null;
|
|
298
|
+
press(key: string, event: MouseEvent): void;
|
|
299
|
+
private focusOption;
|
|
300
|
+
private requestActive;
|
|
301
|
+
private applySelection;
|
|
302
|
+
private moveActive;
|
|
303
|
+
private revealIndex;
|
|
304
|
+
protected handleKeyDown(event: KeyboardEvent): void;
|
|
305
|
+
protected handleFocusIn(event: FocusEvent): void;
|
|
306
|
+
protected handleFocusOut(event: FocusEvent): void;
|
|
307
|
+
protected readViewport(): void;
|
|
308
|
+
private askForMore;
|
|
309
|
+
/** Moves real focus into the listbox, under either focus model. */
|
|
310
|
+
focus(): void;
|
|
311
|
+
/** Reveals an option, whether or not it is currently rendered. */
|
|
312
|
+
scrollToKey(key: string, align?: ListboxAlignment): void;
|
|
313
|
+
/** Which option the keyboard is on, or `null`. */
|
|
314
|
+
getActiveKey(): string | null;
|
|
315
|
+
writeValue(value: ListboxValue | undefined): void;
|
|
316
|
+
registerOnChange(fn: (value: ListboxValue) => void): void;
|
|
317
|
+
registerOnTouched(fn: () => void): void;
|
|
318
|
+
setDisabledState(isDisabled: boolean): void;
|
|
319
|
+
/**
|
|
320
|
+
* The listbox owns validity over the set, which no single option can see:
|
|
321
|
+
* "choose one" is a fact about the collection and not about any one option.
|
|
322
|
+
*/
|
|
323
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
324
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListbox, never>;
|
|
325
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlListbox, "[slListbox]", ["slListbox"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; "isSignal": true; }; "activeKey": { "alias": "activeKey"; "required": false; "isSignal": true; }; "defaultActiveKey": { "alias": "defaultActiveKey"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "selectionBehavior": { "alias": "selectionBehavior"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "typeahead": { "alias": "typeahead"; "required": false; "isSignal": true; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; "isSignal": true; }; "navigateDisabled": { "alias": "navigateDisabled"; "required": false; "isSignal": true; }; "disallowEmptySelection": { "alias": "disallowEmptySelection"; "required": false; "isSignal": true; }; "disallowSelectAll": { "alias": "disallowSelectAll"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "typeaheadTimeout": { "alias": "typeaheadTimeout"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "getKey": { "alias": "getKey"; "required": false; "isSignal": true; }; "getLabel": { "alias": "getLabel"; "required": false; "isSignal": true; }; "isItemDisabled": { "alias": "isItemDisabled"; "required": false; "isSignal": true; }; "totalCount": { "alias": "totalCount"; "required": false; "isSignal": true; }; "virtual": { "alias": "virtual"; "required": false; "isSignal": true; }; "itemSize": { "alias": "itemSize"; "required": false; "isSignal": true; }; "sectionSize": { "alias": "sectionSize"; "required": false; "isSignal": true; }; "overscan": { "alias": "overscan"; "required": false; "isSignal": true; }; "hasMore": { "alias": "hasMore"; "required": false; "isSignal": true; }; "loadMoreThreshold": { "alias": "loadMoreThreshold"; "required": false; "isSignal": true; }; }, { "valueChange": "valueChange"; "activeKeyChange": "activeKeyChange"; "loadMore": "loadMore"; }, ["optionContent"], ["*"], true, never>;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* One option, and the four facts the listbox reads back off it.
|
|
330
|
+
*
|
|
331
|
+
* The collection is read from the DOM rather than from a registry, which is
|
|
332
|
+
* what `menu` already does for its typeahead: DOM order is the reading order,
|
|
333
|
+
* it survives arbitrary nesting inside groups, and it cannot disagree with what
|
|
334
|
+
* the reader sees. The facts travel as data attributes, so nothing has to be
|
|
335
|
+
* registered, unregistered or ordered by the time it was created.
|
|
336
|
+
*
|
|
337
|
+
* `aria-disabled` and never the native attribute: the pattern needs a disabled
|
|
338
|
+
* option to keep its place in the set, and `navigateDisabled` is what decides
|
|
339
|
+
* whether the arrows land on it.
|
|
340
|
+
*/
|
|
341
|
+
declare class SlListboxOption {
|
|
342
|
+
/** The key this option chooses. It is what the listbox value holds. */
|
|
343
|
+
readonly value: _angular_core.InputSignal<string>;
|
|
344
|
+
/**
|
|
345
|
+
* What typeahead matches and what a reader hears. Defaults to the option's
|
|
346
|
+
* own text, which is wrong exactly when the option holds a mark, a badge or
|
|
347
|
+
* a number the reader would not type.
|
|
348
|
+
*/
|
|
349
|
+
readonly textValue: _angular_core.InputSignal<string | undefined>;
|
|
350
|
+
/** Unstated rather than `false`, so the option defers to the listbox. */
|
|
351
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
352
|
+
/**
|
|
353
|
+
* Rendered outside the window that covers it, at its own place on the canvas.
|
|
354
|
+
* The listbox pins the active option and the range anchor; nothing else sets
|
|
355
|
+
* it, because an `aria-activedescendant` whose target has been recycled names
|
|
356
|
+
* an id that is not in the document.
|
|
357
|
+
*/
|
|
358
|
+
readonly pinned: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
359
|
+
private readonly listbox;
|
|
360
|
+
protected readonly id: _angular_core.Signal<string>;
|
|
361
|
+
protected readonly selected: _angular_core.Signal<boolean>;
|
|
362
|
+
protected readonly current: _angular_core.Signal<boolean>;
|
|
363
|
+
protected readonly resolvedDisabled: _angular_core.Signal<boolean>;
|
|
364
|
+
protected readonly ariaSelected: _angular_core.Signal<"true" | "false" | null>;
|
|
365
|
+
protected readonly setSize: _angular_core.Signal<number | null>;
|
|
366
|
+
protected readonly posInSet: _angular_core.Signal<number | null>;
|
|
367
|
+
protected readonly tabIndex: _angular_core.Signal<number | null>;
|
|
368
|
+
protected onClick(event: MouseEvent): void;
|
|
369
|
+
/**
|
|
370
|
+
* Only to stop the browser moving focus off the root. Under
|
|
371
|
+
* `aria-activedescendant` the root is the focused element, and a press that
|
|
372
|
+
* took focus to the option would leave the property pointing at something
|
|
373
|
+
* that is no longer the active element.
|
|
374
|
+
*/
|
|
375
|
+
protected onPointerDown(event: PointerEvent): void;
|
|
376
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxOption, never>;
|
|
377
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlListboxOption, "[slListboxOption]", ["slListboxOption"], { "value": { "alias": "value"; "required": true; "isSignal": true; }; "textValue": { "alias": "textValue"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* A group of options, named by its own label. The pattern requires the name —
|
|
381
|
+
* "each option group has an accessible name provided via aria-label or
|
|
382
|
+
* aria-labelledby" — and requires the group to hold at least one option, which
|
|
383
|
+
* is the consumer's to honour.
|
|
384
|
+
*/
|
|
385
|
+
declare class SlListboxGroup {
|
|
386
|
+
/** The group's accessible name, rendered as its own label row. */
|
|
387
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
388
|
+
/**
|
|
389
|
+
* The name without the row, which is what a windowed group takes when its
|
|
390
|
+
* label has scrolled out of the slice: the run of options is still a group
|
|
391
|
+
* and still has to be named.
|
|
392
|
+
*/
|
|
393
|
+
readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
|
|
394
|
+
protected readonly labelId: string;
|
|
395
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxGroup, never>;
|
|
396
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlListboxGroup, "[slListboxGroup]", ["slListboxGroup"], { "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "groupLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* The mark that says an option is chosen. The listbox reserves its column
|
|
400
|
+
* whether or not the mark is painted, so a list does not shift sideways as one
|
|
401
|
+
* option is chosen; `indicator="none"` removes the element and the column with
|
|
402
|
+
* it. The tick is a `Glyph` sized by the column, and content the consumer
|
|
403
|
+
* wrote replaces it.
|
|
404
|
+
*/
|
|
405
|
+
declare class SlListboxIndicator {
|
|
406
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxIndicator, never>;
|
|
407
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlListboxIndicator, "[slListboxIndicator]", never, {}, {}, never, ["*"], true, never>;
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* The option's own artwork, in the same column the mark uses and never beside
|
|
411
|
+
* it: a `span[slIcon]` holding an `svg[slGlyph]`, or an element of the page's
|
|
412
|
+
* own. The column sizes and centres it; no stylesheet fills it.
|
|
413
|
+
*/
|
|
414
|
+
declare class SlListboxIcon {
|
|
415
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxIcon, never>;
|
|
416
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListboxIcon, "[slListboxIcon]", never, {}, {}, never, never, true, never>;
|
|
417
|
+
}
|
|
418
|
+
/** The option's primary text, and the only one of the three columns that gives way. */
|
|
419
|
+
declare class SlListboxLabel {
|
|
420
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxLabel, never>;
|
|
421
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListboxLabel, "[slListboxLabel]", never, {}, {}, never, never, true, never>;
|
|
422
|
+
}
|
|
423
|
+
/** A second line under the label, for what the label cannot say on its own. */
|
|
424
|
+
declare class SlListboxDescription {
|
|
425
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxDescription, never>;
|
|
426
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListboxDescription, "[slListboxDescription]", never, {}, {}, never, never, true, never>;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* The value beside the name — a count, a price, a status word. `menu` calls the
|
|
430
|
+
* same column `shortcut`, because a menu's third column holds a key binding.
|
|
431
|
+
*/
|
|
432
|
+
declare class SlListboxMeta {
|
|
433
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxMeta, never>;
|
|
434
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListboxMeta, "[slListboxMeta]", never, {}, {}, never, never, true, never>;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* What the listbox says when it holds nothing. It lives inside the listbox for
|
|
438
|
+
* the reason `list` records: outside it a reader hears "listbox, zero items"
|
|
439
|
+
* and then nothing, and the words fall outside the box a framed listbox paints.
|
|
440
|
+
*
|
|
441
|
+
* It carries no role: `listbox` owns `option` and `group` and nothing else, so
|
|
442
|
+
* a message with a role of its own would be an owned element ARIA does not
|
|
443
|
+
* permit.
|
|
444
|
+
*/
|
|
445
|
+
declare class SlListboxEmpty {
|
|
446
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxEmpty, never>;
|
|
447
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListboxEmpty, "[slListboxEmpty]", never, {}, {}, never, never, true, never>;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* The row at the end of a page that has not arrived. It is an `option` by role
|
|
451
|
+
* and disabled, because a listbox owns nothing else and the row is not a
|
|
452
|
+
* choice — which is also why it is not counted in `aria-setsize`.
|
|
453
|
+
*/
|
|
454
|
+
declare class SlListboxLoader {
|
|
455
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxLoader, never>;
|
|
456
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListboxLoader, "[slListboxLoader]", never, {}, {}, never, never, true, never>;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* The content of one option of a collection the listbox was handed. The family
|
|
460
|
+
* renders the option element around it, so the template says what an option
|
|
461
|
+
* holds and never how it is wired.
|
|
462
|
+
*/
|
|
463
|
+
declare class SlListboxOptionContent {
|
|
464
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlListboxOptionContent, never>;
|
|
465
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlListboxOptionContent, "[slListboxOptionContent]", never, {}, {}, never, never, true, never>;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
export { LISTBOX_DEFAULTS, SlListbox, SlListboxContext, SlListboxDescription, SlListboxEmpty, SlListboxGroup, SlListboxIcon, SlListboxIdFactory, SlListboxIndicator, SlListboxLabel, SlListboxLoader, SlListboxMeta, SlListboxOption, SlListboxOptionContent, injectListboxDefaults, provideListboxDefaults };
|
|
469
|
+
export type { ListboxActiveRequest, ListboxAlignment, ListboxChangeRequest, ListboxDefaults, ListboxFocusMode, ListboxIndicatorMode, ListboxOrientation, ListboxSection, ListboxSelectionBehavior, ListboxSelectionMode, ListboxSize, ListboxValue, ListboxVariant };
|
|
470
|
+
//# sourceMappingURL=slotted-angular-listbox.d.ts.map
|