@slotted/angular 0.0.0-stage → 0.1.0-beta.0
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,549 @@
|
|
|
1
|
+
import * as _slotted_angular_progress_indicator from '@slotted/angular/progress-indicator';
|
|
2
|
+
import { ProgressTone, ProgressSize } from '@slotted/angular/progress-indicator';
|
|
3
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
4
|
+
import { PartialMessages, AppShellMessages } from '@slotted/core/i18n';
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { InjectionToken } from '@angular/core';
|
|
7
|
+
import { PresenceStatus } from '@slotted/core/presence';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Which region reaches the corner of the screen. `banner` spans the full width
|
|
11
|
+
* and the navigation starts below it; `nav` spans the full height and the
|
|
12
|
+
* banner starts beside it; `main` spans the navigation the full height as well
|
|
13
|
+
* and puts the banner in the plane of the content, inside the card that holds
|
|
14
|
+
* it. The grid changes where a region is drawn and never where it is written,
|
|
15
|
+
* so the focus order is the same under all three.
|
|
16
|
+
*/
|
|
17
|
+
type AppShellPrimary = 'banner' | 'nav' | 'main';
|
|
18
|
+
/**
|
|
19
|
+
* Which surface carries which plane, for every region at once. `inset` paints
|
|
20
|
+
* the frame with the sunken ground and makes the content a raised card;
|
|
21
|
+
* `flush` runs every region edge to edge, separated at its seams; `floating`
|
|
22
|
+
* makes the navigation a card as well as the content; `panel` holds the
|
|
23
|
+
* navigation, the content and the pane in one card, the banner on the frame
|
|
24
|
+
* above it.
|
|
25
|
+
*/
|
|
26
|
+
type AppShellCanvas = 'inset' | 'flush' | 'floating' | 'panel';
|
|
27
|
+
/**
|
|
28
|
+
* What draws a seam where two regions touch without a gutter. `rule` is a
|
|
29
|
+
* line; `tone` is a ground of its own on the chrome regions, 0.036 OKLab L
|
|
30
|
+
* from the surface, with the subtle tones inside them recomputed from it.
|
|
31
|
+
*/
|
|
32
|
+
type AppShellSeparation = 'rule' | 'tone';
|
|
33
|
+
/**
|
|
34
|
+
* How the navigation region occupies space. `auto` is `inline` at or above the
|
|
35
|
+
* shell's own `APP_SHELL_OVERLAY_AT` inline size and `overlay` below it.
|
|
36
|
+
*/
|
|
37
|
+
type AppShellNavMode = 'inline' | 'overlay' | 'auto';
|
|
38
|
+
/** How the secondary pane occupies space: the navigation's pair, resolved on the same width. */
|
|
39
|
+
type AppShellAsideMode = 'inline' | 'overlay' | 'auto';
|
|
40
|
+
/** Which end of the line the navigation region sits at. Logical, so the layout mirrors. */
|
|
41
|
+
type AppShellNavSide = 'start' | 'end';
|
|
42
|
+
/** What a closed inline navigation leaves behind. */
|
|
43
|
+
type AppShellCollapsedTo = 'rail' | 'hidden';
|
|
44
|
+
/** A step on the region's own width scale. */
|
|
45
|
+
type AppShellSize = 'sm' | 'md' | 'lg';
|
|
46
|
+
/** Who scrolls: the content column, or the document. */
|
|
47
|
+
type AppShellScroll = 'content' | 'document';
|
|
48
|
+
/** Whether a dismissal source closes the overlaid navigation. */
|
|
49
|
+
type AppShellDismissPolicy = 'close' | 'none';
|
|
50
|
+
/** Why the navigation region opened or closed. */
|
|
51
|
+
type AppShellOpenReason = 'pointer' | 'keyboard' | 'escape' | 'outsidePress' | 'back' | 'select' | 'resize' | 'programmatic';
|
|
52
|
+
/** Why the secondary pane opened or closed. No `select`: a pane has no destinations. */
|
|
53
|
+
type AppShellAsideOpenReason = Exclude<AppShellOpenReason, 'select'>;
|
|
54
|
+
/** Why the pane's extent moved. */
|
|
55
|
+
type AppShellAsideExtentReason = 'pointer' | 'keyboard' | 'programmatic';
|
|
56
|
+
/**
|
|
57
|
+
* The request the shell makes before the pane's extent moves. `undefined` is
|
|
58
|
+
* the pane back on the measure its size step gives it.
|
|
59
|
+
*/
|
|
60
|
+
interface AppShellAsideExtentRequest {
|
|
61
|
+
readonly value: number | undefined;
|
|
62
|
+
readonly previous: number | undefined;
|
|
63
|
+
readonly reason: AppShellAsideExtentReason;
|
|
64
|
+
readonly source?: unknown;
|
|
65
|
+
readonly cancelled: boolean;
|
|
66
|
+
cancel(): void;
|
|
67
|
+
}
|
|
68
|
+
/** The request the shell makes before the region moves. Cancel it and nothing commits. */
|
|
69
|
+
interface AppShellOpenRequest {
|
|
70
|
+
readonly value: boolean;
|
|
71
|
+
readonly previous: boolean;
|
|
72
|
+
readonly reason: AppShellOpenReason;
|
|
73
|
+
readonly source?: unknown;
|
|
74
|
+
readonly cancelled: boolean;
|
|
75
|
+
cancel(): void;
|
|
76
|
+
}
|
|
77
|
+
interface AppShellDefaults {
|
|
78
|
+
asideMode: AppShellAsideMode;
|
|
79
|
+
asideSize: AppShellSize;
|
|
80
|
+
canvas: AppShellCanvas;
|
|
81
|
+
closeOnNavigate: boolean;
|
|
82
|
+
collapsedTo: AppShellCollapsedTo;
|
|
83
|
+
escape: AppShellDismissPolicy;
|
|
84
|
+
/** The platform's way back — a phone's gesture, a browser's button — closes a modal layer. */
|
|
85
|
+
back: AppShellDismissPolicy;
|
|
86
|
+
modal: boolean;
|
|
87
|
+
navMode: AppShellNavMode;
|
|
88
|
+
navSide: AppShellNavSide;
|
|
89
|
+
navSize: AppShellSize;
|
|
90
|
+
outsidePress: AppShellDismissPolicy;
|
|
91
|
+
primary: AppShellPrimary;
|
|
92
|
+
scroll: AppShellScroll;
|
|
93
|
+
separation: AppShellSeparation;
|
|
94
|
+
}
|
|
95
|
+
declare const APP_SHELL_DEFAULTS: InjectionToken<AppShellDefaults>;
|
|
96
|
+
/**
|
|
97
|
+
* An application decides once how its shell is arranged — which region reaches
|
|
98
|
+
* the corner, which plane the content sits on, how the navigation behaves when
|
|
99
|
+
* the space runs out — rather than repeating the same inputs on every route. A
|
|
100
|
+
* shell that states any of them itself still wins. Its words come from the
|
|
101
|
+
* language in force (`provideSlotted`).
|
|
102
|
+
*/
|
|
103
|
+
declare function provideAppShellDefaults(defaults: Partial<AppShellDefaults>): {
|
|
104
|
+
provide: InjectionToken<AppShellDefaults>;
|
|
105
|
+
useFactory: () => AppShellDefaults;
|
|
106
|
+
};
|
|
107
|
+
/** What a shell renders as here, before it states anything of its own. */
|
|
108
|
+
declare function injectAppShellDefaults(): AppShellDefaults;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* The inline size the navigation stops being a column at. The stylesheet needs
|
|
112
|
+
* it literal — `@container (inline-size: var(--x))` is invalid CSS — and the
|
|
113
|
+
* script needs it to know whether `Escape`, the focus scope and `inert` are in
|
|
114
|
+
* play. It is the limit of the compact size class, `COMPACT_BELOW`;
|
|
115
|
+
* `specs/components/app-shell/contract.json` states it once, and
|
|
116
|
+
* `app-shell.styles.test.mjs` compares the stylesheet's own condition to it.
|
|
117
|
+
*/
|
|
118
|
+
declare const APP_SHELL_OVERLAY_AT = 600;
|
|
119
|
+
/**
|
|
120
|
+
* The outer frame of a route: the regions that do not change when the content
|
|
121
|
+
* does.
|
|
122
|
+
*
|
|
123
|
+
* **The layer is composed from `packages/core` and rewritten nowhere.**
|
|
124
|
+
* `measure` answers the shell's own inline size, `dismissable-layer` owns
|
|
125
|
+
* `Escape`, the outside press and the single stack, `focus` contains the
|
|
126
|
+
* keyboard and gives it back to the toggle, and `portal` is told once that this
|
|
127
|
+
* shell is where an overlay belongs.
|
|
128
|
+
*
|
|
129
|
+
* **The element is the consumer's.** `<div slAppShell>` is the frame and the
|
|
130
|
+
* directive adds the grid, the skip links, the veil and the portal root around
|
|
131
|
+
* whatever is projected into it.
|
|
132
|
+
*/
|
|
133
|
+
declare class SlAppShell {
|
|
134
|
+
/** Whether the navigation region is showing its full panel. Two-way. */
|
|
135
|
+
readonly navOpen: _angular_core.ModelSignal<boolean>;
|
|
136
|
+
/** Whether the secondary pane is showing. Two-way. */
|
|
137
|
+
readonly asideOpen: _angular_core.ModelSignal<boolean>;
|
|
138
|
+
/**
|
|
139
|
+
* How much of the shell's inline size the pane takes as a column, in
|
|
140
|
+
* `[0, 1]`. Unset means `asideSize` decides. Two-way.
|
|
141
|
+
*/
|
|
142
|
+
readonly asideExtent: _angular_core.ModelSignal<number | undefined>;
|
|
143
|
+
/** The smallest extent the reader may give the pane. */
|
|
144
|
+
readonly minAsideExtent: _angular_core.InputSignal<number>;
|
|
145
|
+
/** The largest extent the reader may give the pane. */
|
|
146
|
+
readonly maxAsideExtent: _angular_core.InputSignal<number>;
|
|
147
|
+
/** Defaults to the provider, then `banner`. */
|
|
148
|
+
readonly primary: _angular_core.InputSignal<AppShellPrimary | undefined>;
|
|
149
|
+
/** Defaults to the provider, then `inset`. */
|
|
150
|
+
readonly canvas: _angular_core.InputSignal<AppShellCanvas | undefined>;
|
|
151
|
+
/** Defaults to the provider, then `auto`. */
|
|
152
|
+
readonly navMode: _angular_core.InputSignal<AppShellNavMode | undefined>;
|
|
153
|
+
/** Defaults to the provider, then `start`. */
|
|
154
|
+
readonly navSide: _angular_core.InputSignal<AppShellNavSide | undefined>;
|
|
155
|
+
/** Defaults to the provider, then `md`. */
|
|
156
|
+
readonly navSize: _angular_core.InputSignal<AppShellSize | undefined>;
|
|
157
|
+
/** Defaults to the provider, then `auto`. */
|
|
158
|
+
readonly asideMode: _angular_core.InputSignal<AppShellAsideMode | undefined>;
|
|
159
|
+
/** Defaults to the provider, then `md`. */
|
|
160
|
+
readonly asideSize: _angular_core.InputSignal<AppShellSize | undefined>;
|
|
161
|
+
/** Defaults to the provider, then `rail`. */
|
|
162
|
+
readonly collapsedTo: _angular_core.InputSignal<AppShellCollapsedTo | undefined>;
|
|
163
|
+
/** Defaults to the provider, then `content`. */
|
|
164
|
+
readonly scroll: _angular_core.InputSignal<AppShellScroll | undefined>;
|
|
165
|
+
/** What draws a seam where two regions touch without a gutter. Defaults to the provider, then `rule`. */
|
|
166
|
+
readonly separation: _angular_core.InputSignal<AppShellSeparation | undefined>;
|
|
167
|
+
/** Defaults to the provider, then `true`. */
|
|
168
|
+
readonly modal: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
169
|
+
/** Defaults to the provider, then `close`. */
|
|
170
|
+
readonly escape: _angular_core.InputSignal<AppShellDismissPolicy | undefined>;
|
|
171
|
+
/** Defaults to the provider, then `close`. */
|
|
172
|
+
readonly outsidePress: _angular_core.InputSignal<AppShellDismissPolicy | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* The platform's way back — a phone's gesture, a browser's button — closes
|
|
175
|
+
* a modal layer instead of leaving the page. Defaults to the provider, then `close`.
|
|
176
|
+
*/
|
|
177
|
+
readonly back: _angular_core.InputSignal<AppShellDismissPolicy | undefined>;
|
|
178
|
+
/** Defaults to the provider, then `true`. */
|
|
179
|
+
readonly closeOnNavigate: _angular_core.InputSignalWithTransform<boolean | undefined, unknown>;
|
|
180
|
+
/**
|
|
181
|
+
* Words laid over the catalog of the language in force, key by key: the
|
|
182
|
+
* landmarks' names, the toggles and the skip links. A static `aria-label`
|
|
183
|
+
* on a part still wins.
|
|
184
|
+
*/
|
|
185
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<AppShellMessages> | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* The request, before anything commits. `reason` is what tells the reader's
|
|
188
|
+
* own choice from the one the layout forced, which is the line
|
|
189
|
+
* `docs/component-features.md` §15 asks for when it says sidebar persistence
|
|
190
|
+
* belongs to the product.
|
|
191
|
+
*/
|
|
192
|
+
readonly navOpenChangeRequest: _angular_core.OutputEmitterRef<AppShellOpenRequest>;
|
|
193
|
+
/** The pane's request, with the same shape and the reasons a pane can carry. */
|
|
194
|
+
readonly asideOpenChangeRequest: _angular_core.OutputEmitterRef<AppShellOpenRequest>;
|
|
195
|
+
/** The request before the pane's extent moves, already held inside the limits. */
|
|
196
|
+
readonly asideExtentChangeRequest: _angular_core.OutputEmitterRef<AppShellAsideExtentRequest>;
|
|
197
|
+
private readonly defaults;
|
|
198
|
+
private readonly host;
|
|
199
|
+
private readonly narrow;
|
|
200
|
+
/** Whether a pointer is moving the pane's edge, which the host reports as `data-dragging`. */
|
|
201
|
+
readonly asideDragging: _angular_core.WritableSignal<boolean>;
|
|
202
|
+
/** The limits, ordered and inside `[0, 1]`. */
|
|
203
|
+
readonly asideBounds: _angular_core.Signal<{
|
|
204
|
+
min: number;
|
|
205
|
+
max: number;
|
|
206
|
+
}>;
|
|
207
|
+
/**
|
|
208
|
+
* Stable ids, and not `crypto.randomUUID()`: a server render and the
|
|
209
|
+
* hydration that follows it have to produce the same string, and a random one
|
|
210
|
+
* produces two.
|
|
211
|
+
*/
|
|
212
|
+
private readonly seq;
|
|
213
|
+
readonly navId: string;
|
|
214
|
+
readonly mainId: string;
|
|
215
|
+
readonly asideId: string;
|
|
216
|
+
readonly toggleId: string;
|
|
217
|
+
readonly asideToggleId: string;
|
|
218
|
+
/** The nodes the layer, the focus scope and the `inert` pass need. */
|
|
219
|
+
readonly nodes: {
|
|
220
|
+
aside: HTMLElement | null;
|
|
221
|
+
asideToggle: HTMLElement | null;
|
|
222
|
+
banner: HTMLElement | null;
|
|
223
|
+
footer: HTMLElement | null;
|
|
224
|
+
main: HTMLElement | null;
|
|
225
|
+
nav: HTMLElement | null;
|
|
226
|
+
toggle: HTMLElement | null;
|
|
227
|
+
};
|
|
228
|
+
private readonly regions;
|
|
229
|
+
readonly resolvedPrimary: _angular_core.Signal<AppShellPrimary>;
|
|
230
|
+
readonly resolvedCanvas: _angular_core.Signal<AppShellCanvas>;
|
|
231
|
+
readonly resolvedNavSide: _angular_core.Signal<AppShellNavSide>;
|
|
232
|
+
readonly resolvedNavSize: _angular_core.Signal<AppShellSize>;
|
|
233
|
+
readonly resolvedAsideSize: _angular_core.Signal<AppShellSize>;
|
|
234
|
+
private readonly wantedAsideMode;
|
|
235
|
+
/** The pane's mode, resolved the same way against the same width. */
|
|
236
|
+
readonly resolvedAsideMode: _angular_core.Signal<"inline" | "overlay" | null>;
|
|
237
|
+
readonly asideOverlay: _angular_core.Signal<boolean>;
|
|
238
|
+
readonly resolvedCollapsedTo: _angular_core.Signal<AppShellCollapsedTo>;
|
|
239
|
+
readonly resolvedScroll: _angular_core.Signal<AppShellScroll>;
|
|
240
|
+
readonly resolvedSeparation: _angular_core.Signal<AppShellSeparation>;
|
|
241
|
+
readonly resolvedModal: _angular_core.Signal<boolean>;
|
|
242
|
+
readonly resolvedEscape: _angular_core.Signal<AppShellDismissPolicy>;
|
|
243
|
+
readonly resolvedBack: _angular_core.Signal<AppShellDismissPolicy>;
|
|
244
|
+
readonly resolvedOutsidePress: _angular_core.Signal<AppShellDismissPolicy>;
|
|
245
|
+
readonly resolvedCloseOnNavigate: _angular_core.Signal<boolean>;
|
|
246
|
+
/** The family's words in the language in force, with this shell's `messages` laid over them. */
|
|
247
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<AppShellMessages>;
|
|
248
|
+
/** Whether the bar on the content's edge is painted, which `main` reports as `aria-busy`. */
|
|
249
|
+
readonly busy: _angular_core.WritableSignal<boolean>;
|
|
250
|
+
private readonly wantedMode;
|
|
251
|
+
/**
|
|
252
|
+
* `null` until the gate has measured, which is what keeps `data-nav-mode` off
|
|
253
|
+
* the host through a server render: below the breakpoint the stylesheet shows
|
|
254
|
+
* the overlaid panel only under `[data-nav-mode='overlay'][data-open]`, so the
|
|
255
|
+
* frame before hydration draws the narrow shell closed.
|
|
256
|
+
*/
|
|
257
|
+
readonly resolvedMode: _angular_core.Signal<"inline" | "overlay" | null>;
|
|
258
|
+
readonly overlay: _angular_core.Signal<boolean>;
|
|
259
|
+
/**
|
|
260
|
+
* The veil has a presence of its own, as a dialog's backdrop does. The
|
|
261
|
+
* stylesheet fades it in from `entering` and out through `exiting`, and a
|
|
262
|
+
* veil mounted straight at `open` gave that transition no closed style to
|
|
263
|
+
* start from: it appeared in one frame beside a panel that took two hundred
|
|
264
|
+
* milliseconds to arrive, and left the same way. One presence for both
|
|
265
|
+
* layers, because there is one veil: with both regions overlaid and both
|
|
266
|
+
* open it stays, and it leaves when the last of them does.
|
|
267
|
+
*/
|
|
268
|
+
private readonly veil;
|
|
269
|
+
protected readonly veilStatus: _angular_core.WritableSignal<PresenceStatus>;
|
|
270
|
+
private readonly veilRef;
|
|
271
|
+
/** Created on the first resolved value, so a veil the template opens with does not fade in. */
|
|
272
|
+
private veilPresence;
|
|
273
|
+
protected readonly skipTargets: _angular_core.Signal<{
|
|
274
|
+
href: string;
|
|
275
|
+
label: string;
|
|
276
|
+
}[]>;
|
|
277
|
+
constructor();
|
|
278
|
+
/** The root, which the pane's extent is a fraction of. */
|
|
279
|
+
get element(): HTMLElement;
|
|
280
|
+
/**
|
|
281
|
+
* Asks to move the pane's extent, held inside the limits. `undefined`
|
|
282
|
+
* travels whole: it is the pane back on its size step.
|
|
283
|
+
*/
|
|
284
|
+
requestAsideExtent(next: number | undefined, reason: AppShellAsideExtentReason, source: unknown): void;
|
|
285
|
+
/** A region says it exists, so a skip link is never written to a target nobody rendered. */
|
|
286
|
+
registerRegion(region: 'nav' | 'main' | 'aside'): () => void;
|
|
287
|
+
/** Asks to move the region, carrying the reason and the originating event. */
|
|
288
|
+
request(next: boolean, reason: AppShellOpenReason, source: unknown): void;
|
|
289
|
+
/** Asks to move the pane, carrying the reason and the originating event. */
|
|
290
|
+
requestAside(next: boolean, reason: AppShellAsideOpenReason, source: unknown): void;
|
|
291
|
+
/** Asks to show the pane, with the reason `programmatic`. */
|
|
292
|
+
openAside(): void;
|
|
293
|
+
/** Asks to hide it, with the reason `programmatic`. */
|
|
294
|
+
closeAside(): void;
|
|
295
|
+
/** Asks to show the region, with the reason `programmatic`. */
|
|
296
|
+
openNav(): void;
|
|
297
|
+
/** Asks to hide it, with the reason `programmatic`. */
|
|
298
|
+
closeNav(): void;
|
|
299
|
+
/** Moves focus into the content region, which is where a skip link sends it. */
|
|
300
|
+
focusMain(): void;
|
|
301
|
+
/**
|
|
302
|
+
* A click that lands on an `a[href]` inside the region asks to close, in the
|
|
303
|
+
* overlaid mode only. Vaadin and PatternFly both do it, and without it a
|
|
304
|
+
* phone costs two taps per destination. `defaultPrevented` is no refusal
|
|
305
|
+
* here: a client-side router prevents the native navigation of every link it
|
|
306
|
+
* routes. A disabled destination (`aria-disabled="true"`) stays open; any
|
|
307
|
+
* other refusal cancels the request.
|
|
308
|
+
*/
|
|
309
|
+
protected onClick(event: MouseEvent): void;
|
|
310
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShell, never>;
|
|
311
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlAppShell, "[slAppShell]", ["slAppShell"], { "navOpen": { "alias": "navOpen"; "required": false; "isSignal": true; }; "asideOpen": { "alias": "asideOpen"; "required": false; "isSignal": true; }; "asideExtent": { "alias": "asideExtent"; "required": false; "isSignal": true; }; "minAsideExtent": { "alias": "minAsideExtent"; "required": false; "isSignal": true; }; "maxAsideExtent": { "alias": "maxAsideExtent"; "required": false; "isSignal": true; }; "primary": { "alias": "primary"; "required": false; "isSignal": true; }; "canvas": { "alias": "canvas"; "required": false; "isSignal": true; }; "navMode": { "alias": "navMode"; "required": false; "isSignal": true; }; "navSide": { "alias": "navSide"; "required": false; "isSignal": true; }; "navSize": { "alias": "navSize"; "required": false; "isSignal": true; }; "asideMode": { "alias": "asideMode"; "required": false; "isSignal": true; }; "asideSize": { "alias": "asideSize"; "required": false; "isSignal": true; }; "collapsedTo": { "alias": "collapsedTo"; "required": false; "isSignal": true; }; "scroll": { "alias": "scroll"; "required": false; "isSignal": true; }; "separation": { "alias": "separation"; "required": false; "isSignal": true; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "escape": { "alias": "escape"; "required": false; "isSignal": true; }; "outsidePress": { "alias": "outsidePress"; "required": false; "isSignal": true; }; "back": { "alias": "back"; "required": false; "isSignal": true; }; "closeOnNavigate": { "alias": "closeOnNavigate"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; }, { "navOpen": "navOpenChange"; "asideOpen": "asideOpenChange"; "asideExtent": "asideExtentChange"; "navOpenChangeRequest": "navOpenChangeRequest"; "asideOpenChangeRequest": "asideOpenChangeRequest"; "asideExtentChangeRequest": "asideExtentChangeRequest"; }, never, ["*"], true, never>;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* The `banner` landmark: a `header` in the context of the `body`, so it needs
|
|
315
|
+
* no `role`.
|
|
316
|
+
*/
|
|
317
|
+
declare class SlAppShellBanner {
|
|
318
|
+
constructor();
|
|
319
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellBanner, never>;
|
|
320
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellBanner, "header[slAppShellBanner]", ["slAppShellBanner"], {}, {}, never, never, true, never>;
|
|
321
|
+
}
|
|
322
|
+
/** The start cluster of the banner: the toggle, the mark, the name of the workspace. */
|
|
323
|
+
declare class SlAppShellBrand {
|
|
324
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellBrand, never>;
|
|
325
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellBrand, "[slAppShellBrand]", ["slAppShellBrand"], {}, {}, never, never, true, never>;
|
|
326
|
+
}
|
|
327
|
+
/** The middle of the bar, and the one cluster that grows: a search, a trail, a route title. */
|
|
328
|
+
declare class SlAppShellCentre {
|
|
329
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellCentre, never>;
|
|
330
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellCentre, "[slAppShellCentre]", ["slAppShellCentre"], {}, {}, never, never, true, never>;
|
|
331
|
+
}
|
|
332
|
+
/** The end cluster, pushed there by the space it takes. */
|
|
333
|
+
declare class SlAppShellActions {
|
|
334
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellActions, never>;
|
|
335
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellActions, "[slAppShellActions]", ["slAppShellActions"], {}, {}, never, never, true, never>;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* The `navigation` landmark, and the one element all three modes share. A
|
|
339
|
+
* document with more than one `navigation` needs a unique label on each, so
|
|
340
|
+
* this one carries the family's unless the consumer wrote another.
|
|
341
|
+
*/
|
|
342
|
+
declare class SlAppShellNav {
|
|
343
|
+
private readonly shell;
|
|
344
|
+
private readonly written;
|
|
345
|
+
private readonly writtenId;
|
|
346
|
+
protected readonly elementId: string;
|
|
347
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
348
|
+
constructor();
|
|
349
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellNav, never>;
|
|
350
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellNav, "nav[slAppShellNav]", ["slAppShellNav"], {}, {}, never, never, true, never>;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* A strip of marks before the column: the first level of a two-level
|
|
354
|
+
* navigation, inside the one navigation landmark and under its one open state.
|
|
355
|
+
* Closed to `rail`, the region keeps this strip and lets the column go.
|
|
356
|
+
*/
|
|
357
|
+
declare class SlAppShellNavRail {
|
|
358
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellNavRail, never>;
|
|
359
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellNavRail, "[slAppShellNavRail]", ["slAppShellNavRail"], {}, {}, never, never, true, never>;
|
|
360
|
+
}
|
|
361
|
+
/** The pinned top of the navigation column. */
|
|
362
|
+
declare class SlAppShellNavHeader {
|
|
363
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellNavHeader, never>;
|
|
364
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellNavHeader, "[slAppShellNavHeader]", ["slAppShellNavHeader"], {}, {}, never, never, true, never>;
|
|
365
|
+
}
|
|
366
|
+
/** The middle, and the only part of the column that scrolls. */
|
|
367
|
+
declare class SlAppShellNavBody {
|
|
368
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellNavBody, never>;
|
|
369
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellNavBody, "[slAppShellNavBody]", ["slAppShellNavBody"], {}, {}, never, never, true, never>;
|
|
370
|
+
}
|
|
371
|
+
/** The pinned bottom: the account, the collapse control. */
|
|
372
|
+
declare class SlAppShellNavFooter {
|
|
373
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellNavFooter, never>;
|
|
374
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellNavFooter, "[slAppShellNavFooter]", ["slAppShellNavFooter"], {}, {}, never, never, true, never>;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* The `main` landmark, and the skip link's destination.
|
|
378
|
+
*
|
|
379
|
+
* `tabindex="-1"` is not decoration: a `main` without it takes the scroll and
|
|
380
|
+
* leaves the focus behind in Safari and in Firefox, so the link appears to work
|
|
381
|
+
* and moves nothing a screen reader follows.
|
|
382
|
+
*/
|
|
383
|
+
declare class SlAppShellMain {
|
|
384
|
+
private readonly shell;
|
|
385
|
+
private readonly writtenId;
|
|
386
|
+
protected readonly elementId: string;
|
|
387
|
+
/** The wait on this region's edge; an `aria-busy` the consumer wrote wins. */
|
|
388
|
+
private readonly writtenBusy;
|
|
389
|
+
protected readonly busy: _angular_core.Signal<string | null>;
|
|
390
|
+
constructor();
|
|
391
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellMain, never>;
|
|
392
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellMain, "main[slAppShellMain]", ["slAppShellMain"], {}, {}, never, never, true, never>;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* The wait for the next page, on the line between the chrome and the content.
|
|
396
|
+
* The element is the consumer's, anywhere inside the shell: the stylesheet
|
|
397
|
+
* lays it over `main` in every arrangement as a frame, and it holds one bar
|
|
398
|
+
* at `edge-start`. Where the line is — the card's border, the banner's seam —
|
|
399
|
+
* is the stylesheet's to know, not the consumer's.
|
|
400
|
+
*
|
|
401
|
+
* `main` is busy for exactly as long as the bar is painted, which the bar
|
|
402
|
+
* itself reports: not from the moment `loading` turns, because a fast answer
|
|
403
|
+
* draws nothing, and not after the bar has gone. `size` defaults to `sm`,
|
|
404
|
+
* `delay` to 200 and `minDuration` to 400 milliseconds; an input, then
|
|
405
|
+
* `provideProgressIndicatorDefaults()`, wins.
|
|
406
|
+
*/
|
|
407
|
+
declare class SlAppShellProgress {
|
|
408
|
+
protected readonly shell: SlAppShell;
|
|
409
|
+
protected readonly defaults: _slotted_angular_progress_indicator.ProgressIndicatorDefaults;
|
|
410
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
411
|
+
readonly value: _angular_core.InputSignal<number | null | undefined>;
|
|
412
|
+
readonly min: _angular_core.InputSignal<number | undefined>;
|
|
413
|
+
readonly max: _angular_core.InputSignal<number | undefined>;
|
|
414
|
+
readonly buffer: _angular_core.InputSignal<number | null | undefined>;
|
|
415
|
+
readonly valueText: _angular_core.InputSignal<string | undefined>;
|
|
416
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
417
|
+
readonly tone: _angular_core.InputSignal<ProgressTone | undefined>;
|
|
418
|
+
readonly size: _angular_core.InputSignal<ProgressSize | undefined>;
|
|
419
|
+
readonly delay: _angular_core.InputSignal<number | undefined>;
|
|
420
|
+
readonly minDuration: _angular_core.InputSignal<number | undefined>;
|
|
421
|
+
/** The bar was painted and has been withdrawn. */
|
|
422
|
+
readonly withdraw: _angular_core.OutputEmitterRef<void>;
|
|
423
|
+
private readonly bar;
|
|
424
|
+
constructor();
|
|
425
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellProgress, never>;
|
|
426
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlAppShellProgress, "[slAppShellProgress]", ["slAppShellProgress"], { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "buffer": { "alias": "buffer"; "required": false; "isSignal": true; }; "valueText": { "alias": "valueText"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; "minDuration": { "alias": "minDuration"; "required": false; "isSignal": true; }; }, { "withdraw": "withdraw"; }, never, never, true, never>;
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* The `complementary` landmark. It opens and closes the way the navigation
|
|
430
|
+
* region does — a column beside the content or a layer over it, by
|
|
431
|
+
* `asideMode` — and carries its own `data-open`, because the host's is the
|
|
432
|
+
* navigation's and every selector written over it still reads the navigation.
|
|
433
|
+
*/
|
|
434
|
+
declare class SlAppShellAside {
|
|
435
|
+
protected readonly shell: SlAppShell;
|
|
436
|
+
private readonly written;
|
|
437
|
+
private readonly writtenId;
|
|
438
|
+
protected readonly elementId: string;
|
|
439
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
440
|
+
protected readonly extentLength: _angular_core.Signal<string | null>;
|
|
441
|
+
constructor();
|
|
442
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellAside, never>;
|
|
443
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellAside, "aside[slAppShellAside]", ["slAppShellAside"], {}, {}, never, never, true, never>;
|
|
444
|
+
}
|
|
445
|
+
/** The pinned top of the pane: its title, and the control that closes it. */
|
|
446
|
+
declare class SlAppShellAsideHeader {
|
|
447
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellAsideHeader, never>;
|
|
448
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellAsideHeader, "[slAppShellAsideHeader]", ["slAppShellAsideHeader"], {}, {}, never, never, true, never>;
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* The middle, and the only part of the pane that scrolls. It stands on the
|
|
452
|
+
* pane's inset; `inset="none"` drops it for content that brings its own.
|
|
453
|
+
*/
|
|
454
|
+
declare class SlAppShellAsideBody {
|
|
455
|
+
/** `none` drops the body's own padding, for content that brings its own inset. */
|
|
456
|
+
readonly inset: _angular_core.InputSignal<"none" | undefined>;
|
|
457
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellAsideBody, never>;
|
|
458
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellAsideBody, "[slAppShellAsideBody]", ["slAppShellAsideBody"], { "inset": { "alias": "inset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* The pane's inner edge, from the WAI-ARIA Window Splitter pattern: a focusable
|
|
462
|
+
* `separator` whose three values are the extent as whole percentages of the
|
|
463
|
+
* shell. **Rendering it is the capability**; there is no `resizable` input.
|
|
464
|
+
*
|
|
465
|
+
* It moves the column alone. Under `asideMode="overlay"` the layer keeps its
|
|
466
|
+
* size step and a closed pane has nothing to resize, so the element is
|
|
467
|
+
* `hidden` there; below the breakpoint the stylesheet hides it, because a row
|
|
468
|
+
* under the content has no inline edge.
|
|
469
|
+
*
|
|
470
|
+
* The arrows are physical, the pattern's own reading: `ArrowLeft` grows an end
|
|
471
|
+
* pane in a left-to-right document, and shrinks it where `navSide="end"` or a
|
|
472
|
+
* mirrored line puts the pane at the start.
|
|
473
|
+
*/
|
|
474
|
+
declare class SlAppShellAsideResizer {
|
|
475
|
+
protected readonly shell: SlAppShell;
|
|
476
|
+
private readonly native;
|
|
477
|
+
private readonly written;
|
|
478
|
+
/** Where the press began and how far the edge was from the pointer then. */
|
|
479
|
+
private press;
|
|
480
|
+
/** What the document looked like before the drag, and how to put it back. */
|
|
481
|
+
private gesture;
|
|
482
|
+
/** The pane's measure while the size step decides it, read from the layout. */
|
|
483
|
+
private readonly rest;
|
|
484
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
485
|
+
protected readonly shown: _angular_core.Signal<boolean>;
|
|
486
|
+
private readonly side;
|
|
487
|
+
protected readonly current: _angular_core.Signal<number>;
|
|
488
|
+
constructor();
|
|
489
|
+
protected percent(value: number): number;
|
|
490
|
+
private isRtl;
|
|
491
|
+
private pointAt;
|
|
492
|
+
protected pointerDown(event: PointerEvent): void;
|
|
493
|
+
protected pointerMove(event: PointerEvent): void;
|
|
494
|
+
protected endDrag(event: PointerEvent): void;
|
|
495
|
+
protected keyDown(event: KeyboardEvent): void;
|
|
496
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellAsideResizer, never>;
|
|
497
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellAsideResizer, "[slAppShellAsideResizer]", ["slAppShellAsideResizer"], {}, {}, never, never, true, never>;
|
|
498
|
+
}
|
|
499
|
+
/** The pinned bottom: the actions that close the task the pane holds. */
|
|
500
|
+
declare class SlAppShellAsideFooter {
|
|
501
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellAsideFooter, never>;
|
|
502
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellAsideFooter, "[slAppShellAsideFooter]", ["slAppShellAsideFooter"], {}, {}, never, never, true, never>;
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* The pane's disclosure control, with the navigation control's wiring: it can
|
|
506
|
+
* stand in the pane's own header, in the banner's actions, or anywhere else,
|
|
507
|
+
* and there is still exactly one control carrying the pane's state.
|
|
508
|
+
*/
|
|
509
|
+
declare class SlAppShellAsideToggle {
|
|
510
|
+
protected readonly shell: SlAppShell;
|
|
511
|
+
private readonly written;
|
|
512
|
+
private readonly writtenId;
|
|
513
|
+
private readonly writtenControls;
|
|
514
|
+
protected readonly elementId: string;
|
|
515
|
+
protected readonly controls: string;
|
|
516
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
517
|
+
protected press(event: MouseEvent): void;
|
|
518
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellAsideToggle, never>;
|
|
519
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlAppShellAsideToggle, "button[slAppShellAsideToggle]", ["slAppShellAsideToggle"], {}, {}, never, ["*"], true, never>;
|
|
520
|
+
}
|
|
521
|
+
/** The `contentinfo` landmark: the application's footer, not the page's action bar. */
|
|
522
|
+
declare class SlAppShellFooter {
|
|
523
|
+
constructor();
|
|
524
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellFooter, never>;
|
|
525
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlAppShellFooter, "footer[slAppShellFooter]", ["slAppShellFooter"], {}, {}, never, never, true, never>;
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* The disclosure control, by the APG's Disclosure pattern: a `button` carrying
|
|
529
|
+
* `aria-expanded` and `aria-controls`, which `Enter` and `Space` activate
|
|
530
|
+
* natively. It takes its wiring from the shell rather than from its position,
|
|
531
|
+
* so it can stand in the banner, in the navigation's own footer, or anywhere
|
|
532
|
+
* else, and there is still exactly one control carrying the state.
|
|
533
|
+
*/
|
|
534
|
+
declare class SlAppShellNavToggle {
|
|
535
|
+
protected readonly shell: SlAppShell;
|
|
536
|
+
private readonly written;
|
|
537
|
+
private readonly writtenId;
|
|
538
|
+
private readonly writtenControls;
|
|
539
|
+
protected readonly elementId: string;
|
|
540
|
+
protected readonly controls: string;
|
|
541
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
542
|
+
protected press(event: MouseEvent): void;
|
|
543
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAppShellNavToggle, never>;
|
|
544
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlAppShellNavToggle, "button[slAppShellNavToggle]", ["slAppShellNavToggle"], {}, {}, never, ["*"], true, never>;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export { APP_SHELL_DEFAULTS, APP_SHELL_OVERLAY_AT, SlAppShell, SlAppShellActions, SlAppShellAside, SlAppShellAsideBody, SlAppShellAsideFooter, SlAppShellAsideHeader, SlAppShellAsideResizer, SlAppShellAsideToggle, SlAppShellBanner, SlAppShellBrand, SlAppShellCentre, SlAppShellFooter, SlAppShellMain, SlAppShellNav, SlAppShellNavBody, SlAppShellNavFooter, SlAppShellNavHeader, SlAppShellNavRail, SlAppShellNavToggle, SlAppShellProgress, injectAppShellDefaults, provideAppShellDefaults };
|
|
548
|
+
export type { AppShellAsideExtentReason, AppShellAsideExtentRequest, AppShellAsideMode, AppShellAsideOpenReason, AppShellCanvas, AppShellCollapsedTo, AppShellDefaults, AppShellDismissPolicy, AppShellNavMode, AppShellNavSide, AppShellOpenReason, AppShellOpenRequest, AppShellPrimary, AppShellScroll, AppShellSeparation, AppShellSize };
|
|
549
|
+
//# sourceMappingURL=slotted-angular-app-shell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-app-shell.d.ts","sources":["../../app-shell/src/app-shell-defaults.ts","../../app-shell/src/app-shell.ts"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The five ratios a product decides once, named for what they hold rather
|
|
5
|
+
* than for their numbers, so the decision reads in the DOM.
|
|
6
|
+
*/
|
|
7
|
+
type AspectRatioName = 'square' | 'landscape' | 'portrait' | 'video' | 'wide';
|
|
8
|
+
/**
|
|
9
|
+
* A name, a number (`16 / 9`), or the pair the number came from (`[16, 9]`).
|
|
10
|
+
* The pair is written into the stylesheet exactly, where a number would be
|
|
11
|
+
* written as its quotient.
|
|
12
|
+
*/
|
|
13
|
+
type AspectRatioValue = AspectRatioName | number | readonly [number, number];
|
|
14
|
+
/** What the DOM says the ratio is: one of the names, or `custom` for a number. */
|
|
15
|
+
type AspectRatioAttribute = AspectRatioName | 'custom';
|
|
16
|
+
/**
|
|
17
|
+
* The attribute the stylesheet keys on, and the token the instance writes
|
|
18
|
+
* when the ratio is a number rather than a name. A pair is written as it was
|
|
19
|
+
* given, `16 / 9`, so the DOM says what the consumer said; a number is its
|
|
20
|
+
* own quotient. A name writes no token: the stylesheet holds the five.
|
|
21
|
+
*/
|
|
22
|
+
declare function resolveAspectRatio(ratio: AspectRatioValue): {
|
|
23
|
+
attribute: AspectRatioAttribute;
|
|
24
|
+
token: string | null;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A box that is a stated proportion of its own width before anything is in
|
|
28
|
+
* it, so a picture, a map or an embedded player arrives into room already
|
|
29
|
+
* held for it and moves nothing below.
|
|
30
|
+
*
|
|
31
|
+
* It is the platform's `aspect-ratio`, not the padding hack, and the
|
|
32
|
+
* difference is what happens to content taller than the box: the frame keeps
|
|
33
|
+
* the ratio while the content fits and grows when it does not. Nothing is
|
|
34
|
+
* clipped and nothing escapes. The frame reserves; the crop is `slImage`'s
|
|
35
|
+
* decision.
|
|
36
|
+
*
|
|
37
|
+
* The component is written on the element the page chose — a `div`, a
|
|
38
|
+
* `figure`, an `li` — and projects whatever the consumer put in it.
|
|
39
|
+
*/
|
|
40
|
+
declare class SlAspectRatio {
|
|
41
|
+
/**
|
|
42
|
+
* The proportion the box holds before anything is in it. Required: the
|
|
43
|
+
* ratio is the consumer's decision, and a frame that named none is a frame
|
|
44
|
+
* nobody thought about.
|
|
45
|
+
*/
|
|
46
|
+
readonly ratio: _angular_core.InputSignal<AspectRatioValue>;
|
|
47
|
+
protected readonly resolved: _angular_core.Signal<{
|
|
48
|
+
attribute: AspectRatioAttribute;
|
|
49
|
+
token: string | null;
|
|
50
|
+
}>;
|
|
51
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAspectRatio, never>;
|
|
52
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlAspectRatio, "[slAspectRatio]", ["slAspectRatio"], { "ratio": { "alias": "ratio"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { SlAspectRatio, resolveAspectRatio };
|
|
56
|
+
export type { AspectRatioAttribute, AspectRatioName, AspectRatioValue };
|
|
57
|
+
//# sourceMappingURL=slotted-angular-aspect-ratio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-aspect-ratio.d.ts","sources":["../../aspect-ratio/src/aspect-ratio.ts"],"mappings":";;AAQA;;;AAGG;AACG,KAAM,eAAe;AAE3B;;;;AAIG;AACG,KAAM,gBAAgB,GAAG,eAAe;AAE9C;KACY,oBAAoB,GAAG,eAAe;AAIlD;;;;;AAKG;AACH,iBAAgB,kBAAkB,QAAQ,gBAAgB;eAC7C,oBAAoB;AAC/B;;AAYF;;;;;;;;;;;;;AAaG;AACH,cAea,aAAa;AACxB;;;;AAIG;oBACW,aAAA,CAAA,WAAA,CAAA,gBAAA;iCAEa,aAAA,CAAA,MAAA;mBAlDhB,oBAAoB;AACxB;AAiDwE;oDARpE,aAAa;sDAAb,aAAa;AASzB;;","names":[]}
|