@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,532 @@
|
|
|
1
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
2
|
+
import { PartialMessages, DrawerMessages } from '@slotted/core/i18n';
|
|
3
|
+
import * as _slotted_core_extent from '@slotted/core/extent';
|
|
4
|
+
import { ExtentSide } from '@slotted/core/extent';
|
|
5
|
+
import * as _angular_core from '@angular/core';
|
|
6
|
+
import { InjectionToken, OnInit, ElementRef, OnDestroy } from '@angular/core';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Whether the drawer is a layer over the page or a box beside it.
|
|
10
|
+
*
|
|
11
|
+
* One axis rather than two components, because the switch is the point: an
|
|
12
|
+
* application binds it to its own breakpoint, and swapping one element for
|
|
13
|
+
* another there would destroy the view — taking the panel's scroll position,
|
|
14
|
+
* focus and every uncontrolled control inside it.
|
|
15
|
+
*/
|
|
16
|
+
type DrawerMode = 'overlay' | 'inline';
|
|
17
|
+
/**
|
|
18
|
+
* Which edge the panel comes from. Logical, so the whole layout mirrors in a
|
|
19
|
+
* right-to-left document without a second stylesheet.
|
|
20
|
+
*/
|
|
21
|
+
type DrawerSide = ExtentSide;
|
|
22
|
+
/**
|
|
23
|
+
* The panel's resting measure. Five named steps rather than a pixel string: a
|
|
24
|
+
* theme retunes a step and cannot retune `width: 400px`.
|
|
25
|
+
*/
|
|
26
|
+
type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full' | 'content';
|
|
27
|
+
/** When the panel exists. */
|
|
28
|
+
/**
|
|
29
|
+
* What a hand moves an overlay sheet from the bottom by. `panel` lets a touch
|
|
30
|
+
* anywhere on it move it and hand itself to the scroll of what it holds;
|
|
31
|
+
* `resizer` leaves the separator the only target. Only a bottom overlay sheet
|
|
32
|
+
* reads it.
|
|
33
|
+
*/
|
|
34
|
+
type DrawerDrag = 'panel' | 'resizer';
|
|
35
|
+
type DrawerMount = 'active' | 'lazy' | 'eager';
|
|
36
|
+
/** Whether a dismissal source closes the drawer. */
|
|
37
|
+
type DrawerDismissPolicy = 'close' | 'none';
|
|
38
|
+
/** Where focus goes when an overlay drawer opens. */
|
|
39
|
+
type DrawerInitialFocus = 'first' | 'container' | HTMLElement | (() => HTMLElement | null) | false;
|
|
40
|
+
/** Where focus goes when the drawer closes. Defaults to the trigger. */
|
|
41
|
+
type DrawerFinalFocus = HTMLElement | false;
|
|
42
|
+
/** Why the drawer opened or closed. */
|
|
43
|
+
type DrawerOpenReason = 'pointer' | 'keyboard' | 'dismiss' | 'escape' | 'outsidePress' | 'back' | 'programmatic';
|
|
44
|
+
/** Why the panel's measure moved. */
|
|
45
|
+
type DrawerExtentReason = 'pointer' | 'keyboard' | 'programmatic';
|
|
46
|
+
interface Request<Value, Reason> {
|
|
47
|
+
readonly value: Value;
|
|
48
|
+
readonly previous: Value;
|
|
49
|
+
readonly reason: Reason;
|
|
50
|
+
readonly source?: unknown;
|
|
51
|
+
readonly cancelled: boolean;
|
|
52
|
+
cancel(): void;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The request the family emits before the drawer moves, with the result the
|
|
56
|
+
* close carried. `result` is what the platform calls `returnValue` and what
|
|
57
|
+
* Angular Material returns from `afterClosed()`; it rides on the request rather
|
|
58
|
+
* than declaring a second state model, because nothing about it is controlled.
|
|
59
|
+
*/
|
|
60
|
+
interface DrawerChangeRequest extends Request<boolean, DrawerOpenReason> {
|
|
61
|
+
readonly result?: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
/** The request the separator emits before the measure moves. */
|
|
64
|
+
/**
|
|
65
|
+
* `undefined` is a value of this state and not the absence of one: it is the
|
|
66
|
+
* panel back on the measure its size step gives it, which is where it starts
|
|
67
|
+
* and where a double click on the separator puts it again.
|
|
68
|
+
*/
|
|
69
|
+
type DrawerExtentRequest = Request<number | undefined, DrawerExtentReason>;
|
|
70
|
+
interface DrawerDefaults {
|
|
71
|
+
/** The platform's way back — a phone's gesture, a browser's button — closes a modal layer. */
|
|
72
|
+
back: DrawerDismissPolicy;
|
|
73
|
+
escape: DrawerDismissPolicy;
|
|
74
|
+
mode: DrawerMode;
|
|
75
|
+
modal: boolean;
|
|
76
|
+
mount: DrawerMount;
|
|
77
|
+
outsidePress: DrawerDismissPolicy;
|
|
78
|
+
side: DrawerSide;
|
|
79
|
+
/**
|
|
80
|
+
* Unset, the size the side gives: `content` on `top` and `bottom`, where
|
|
81
|
+
* every native sheet measures what it holds, and `md` on `start` and `end`.
|
|
82
|
+
*/
|
|
83
|
+
size: DrawerSize | undefined;
|
|
84
|
+
drag: DrawerDrag;
|
|
85
|
+
}
|
|
86
|
+
declare const DRAWER_DEFAULTS: InjectionToken<DrawerDefaults>;
|
|
87
|
+
/**
|
|
88
|
+
* An application decides once how its drawers behave and look, rather than
|
|
89
|
+
* repeating the same seven inputs on every one in a product. Ant reaches the
|
|
90
|
+
* same place through `ConfigProvider`; no React drawer in the surveyed set has
|
|
91
|
+
* an equivalent, and React gets one here too rather than being levelled down.
|
|
92
|
+
*/
|
|
93
|
+
declare function provideDrawerDefaults(defaults: Partial<DrawerDefaults>): {
|
|
94
|
+
provide: InjectionToken<DrawerDefaults>;
|
|
95
|
+
useFactory: () => DrawerDefaults;
|
|
96
|
+
};
|
|
97
|
+
/** What a drawer renders as here, before it states anything of its own. */
|
|
98
|
+
declare function injectDrawerDefaults(): DrawerDefaults;
|
|
99
|
+
/**
|
|
100
|
+
* Application-scoped rather than module-scoped, for the reason `field` records:
|
|
101
|
+
* a module-level counter produces colliding sequences when two applications
|
|
102
|
+
* render in one server process, and the server and the client sequences must
|
|
103
|
+
* match for hydration.
|
|
104
|
+
*/
|
|
105
|
+
declare class SlDrawerIdFactory {
|
|
106
|
+
private count;
|
|
107
|
+
next(): string;
|
|
108
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerIdFactory, never>;
|
|
109
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* A panel that comes in from an edge, and either covers the page or stands
|
|
114
|
+
* beside it.
|
|
115
|
+
*
|
|
116
|
+
* The layer is composed from `packages/core` and rewritten nowhere: `portal`
|
|
117
|
+
* decides where it lives and keeps the theme of the region that opened it,
|
|
118
|
+
* `dismissable-layer` owns Escape, outside press, `inert`, the scroll lock and
|
|
119
|
+
* the single z-index stack, `presence` keeps it mounted long enough to leave,
|
|
120
|
+
* `focus` contains the keyboard and gives it back to the trigger, and `extent`
|
|
121
|
+
* holds the arithmetic the separator's pointer and keyboard share.
|
|
122
|
+
*
|
|
123
|
+
* **The host is not the layer.** `<sl-drawer>` renders `display: contents` and
|
|
124
|
+
* stays exactly where the consumer wrote it; the layer is the `div` in the
|
|
125
|
+
* template. Under `mode="overlay"` that `div` is moved into the portal and
|
|
126
|
+
* given back before it is destroyed; under `mode="inline"` it never moves,
|
|
127
|
+
* which is what makes the host's own parent the drawer's place in the layout.
|
|
128
|
+
* Either way the host is the portal's *origin*, so the layer keeps the scheme,
|
|
129
|
+
* density, theme and direction of the region it was written in whether or not
|
|
130
|
+
* a trigger exists — React has to use the trigger for that, and
|
|
131
|
+
* `docs/history/designs/2026-09-04-drawer-design.md` §11 records the
|
|
132
|
+
* asymmetry rather than levelling both down.
|
|
133
|
+
*/
|
|
134
|
+
declare class SlDrawer implements OnInit {
|
|
135
|
+
/** Whether the drawer is open. Two-way, so a template may bind it directly. */
|
|
136
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* How much of the box the panel is measured in it takes, in `[0, 1]`. Unset
|
|
139
|
+
* means the `size` step decides. It is a fraction rather than a length so
|
|
140
|
+
* that the separator's three ARIA values, the limits and the snap points are
|
|
141
|
+
* all the same kind of number.
|
|
142
|
+
*/
|
|
143
|
+
readonly extent: _angular_core.ModelSignal<number | undefined>;
|
|
144
|
+
readonly mode: _angular_core.InputSignal<DrawerMode | undefined>;
|
|
145
|
+
readonly side: _angular_core.InputSignal<_slotted_core_extent.ExtentSide | undefined>;
|
|
146
|
+
readonly size: _angular_core.InputSignal<DrawerSize | undefined>;
|
|
147
|
+
readonly mount: _angular_core.InputSignal<DrawerMount | undefined>;
|
|
148
|
+
readonly escape: _angular_core.InputSignal<DrawerDismissPolicy | undefined>;
|
|
149
|
+
readonly outsidePress: _angular_core.InputSignal<DrawerDismissPolicy | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* The platform's way back — a phone's gesture, a browser's button — closes
|
|
152
|
+
* the layer instead of leaving the page, while the layer is modal.
|
|
153
|
+
*/
|
|
154
|
+
readonly back: _angular_core.InputSignal<DrawerDismissPolicy | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* Whether the background is inert, the scroll is locked and focus is
|
|
157
|
+
* contained. Fixed at `false` under `mode="inline"`: a panel in the flow that
|
|
158
|
+
* claimed `aria-modal` while the page around it stayed reachable is the
|
|
159
|
+
* failure the APG calls severe.
|
|
160
|
+
*/
|
|
161
|
+
readonly modal: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
162
|
+
/** Whether the panel's content is still on its way. */
|
|
163
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
164
|
+
/** Words laid over the catalog of the language in force, key by key: the close control's name (`close`). */
|
|
165
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<DrawerMessages> | undefined>;
|
|
166
|
+
/** What a hand moves an overlay sheet from the bottom by. */
|
|
167
|
+
readonly drag: _angular_core.InputSignal<DrawerDrag | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Below this fraction the scrim is not painted and a press reaches the page:
|
|
170
|
+
* the sheet over a map. It pairs with `[modal]="false"` and
|
|
171
|
+
* `outsidePress="none"`, because a page left undimmed and inert would promise
|
|
172
|
+
* something it does not do.
|
|
173
|
+
*/
|
|
174
|
+
readonly scrimFrom: _angular_core.InputSignal<number>;
|
|
175
|
+
/** The smallest the reader may make it. A drag released below it asks to close. */
|
|
176
|
+
readonly minExtent: _angular_core.InputSignal<number>;
|
|
177
|
+
readonly maxExtent: _angular_core.InputSignal<number>;
|
|
178
|
+
/** The stops the separator lands on. Empty means the range is continuous. */
|
|
179
|
+
readonly snapPoints: _angular_core.InputSignal<readonly number[]>;
|
|
180
|
+
/** A parent for this layer alone, instead of the shared portal root. */
|
|
181
|
+
readonly container: _angular_core.InputSignal<Element | null | undefined>;
|
|
182
|
+
readonly initialFocus: _angular_core.InputSignal<DrawerInitialFocus | undefined>;
|
|
183
|
+
readonly finalFocus: _angular_core.InputSignal<DrawerFinalFocus | undefined>;
|
|
184
|
+
/** One output per transition, each carrying its reason and its event. */
|
|
185
|
+
readonly openChangeRequest: _angular_core.OutputEmitterRef<DrawerChangeRequest>;
|
|
186
|
+
readonly extentChangeRequest: _angular_core.OutputEmitterRef<DrawerExtentRequest>;
|
|
187
|
+
/**
|
|
188
|
+
* What `afterClosed()` is in Angular Material, as an output. It fires once
|
|
189
|
+
* the drawer has actually closed, with the result the close carried.
|
|
190
|
+
*/
|
|
191
|
+
readonly closed: _angular_core.OutputEmitterRef<string | undefined>;
|
|
192
|
+
private readonly defaults;
|
|
193
|
+
/** The family's words in the language in force, with this drawer's `messages` laid over them. */
|
|
194
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<DrawerMessages>;
|
|
195
|
+
private readonly host;
|
|
196
|
+
/** The server lays nothing out, and its DOM cannot be measured. */
|
|
197
|
+
private readonly browser;
|
|
198
|
+
private readonly destroyRef;
|
|
199
|
+
private readonly baseId;
|
|
200
|
+
/** The element the consumer wrote us beside, recorded before anything moves. */
|
|
201
|
+
private readonly origin;
|
|
202
|
+
/**
|
|
203
|
+
* A consumer's own `aria-label` on `<sl-drawer>`, read before the host
|
|
204
|
+
* bindings are written and moved to the panel, which is the element the role
|
|
205
|
+
* is on. Without this a label written on the host would name a box with
|
|
206
|
+
* `display: contents` and no role at all.
|
|
207
|
+
*/
|
|
208
|
+
private readonly writtenLabel;
|
|
209
|
+
protected readonly layerRef: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
210
|
+
protected readonly panelRef: _angular_core.Signal<ElementRef<HTMLElement> | undefined>;
|
|
211
|
+
/** The parts that have said they exist, so only what was rendered is wired. */
|
|
212
|
+
readonly hasTitle: _angular_core.WritableSignal<boolean>;
|
|
213
|
+
readonly hasDescription: _angular_core.WritableSignal<boolean>;
|
|
214
|
+
readonly triggerNode: _angular_core.WritableSignal<HTMLElement | null>;
|
|
215
|
+
/** Whether the reader has the separator under the pointer. */
|
|
216
|
+
readonly dragging: _angular_core.WritableSignal<boolean>;
|
|
217
|
+
/**
|
|
218
|
+
* Where the hand is holding the panel while the body is dragged, which may be
|
|
219
|
+
* past the highest stop. `null` outside a gesture: the request is made once,
|
|
220
|
+
* on release, rather than once per move.
|
|
221
|
+
*/
|
|
222
|
+
readonly live: _angular_core.WritableSignal<number | null>;
|
|
223
|
+
/**
|
|
224
|
+
* What the panel measures at rest — the height of its content under
|
|
225
|
+
* `size="content"` — as a fraction, measured while `extent` is unset.
|
|
226
|
+
*/
|
|
227
|
+
readonly rest: _angular_core.WritableSignal<number | undefined>;
|
|
228
|
+
readonly titleId: string;
|
|
229
|
+
readonly descriptionId: string;
|
|
230
|
+
readonly panelId: string;
|
|
231
|
+
readonly triggerId: string;
|
|
232
|
+
/**
|
|
233
|
+
* The status rather than a boolean. `entering` is one frame long and it is
|
|
234
|
+
* the whole reason it exists: a panel that appears already open gives its CSS
|
|
235
|
+
* transition no closed style to start from.
|
|
236
|
+
*/
|
|
237
|
+
private readonly status;
|
|
238
|
+
private readonly presence;
|
|
239
|
+
/** Whether this drawer has ever been open, which is what `lazy` reads. */
|
|
240
|
+
private readonly seen;
|
|
241
|
+
private readonly result;
|
|
242
|
+
/** The measured length the stylesheet reads, kept in step by an observer. */
|
|
243
|
+
private readonly measured;
|
|
244
|
+
readonly resolvedMode: _angular_core.Signal<DrawerMode>;
|
|
245
|
+
readonly resolvedSide: _angular_core.Signal<_slotted_core_extent.ExtentSide>;
|
|
246
|
+
/**
|
|
247
|
+
* A sheet measures what it holds and a side panel takes a named step: every
|
|
248
|
+
* native sheet sizes to its content, and Ant, Fluent and MUI all give a side
|
|
249
|
+
* panel a width. The side decides only when nothing else has.
|
|
250
|
+
*/
|
|
251
|
+
readonly resolvedSize: _angular_core.Signal<DrawerSize>;
|
|
252
|
+
readonly resolvedDrag: _angular_core.Signal<DrawerDrag>;
|
|
253
|
+
/** An overlay sheet from the bottom, which is the only panel a body drag moves. */
|
|
254
|
+
readonly sheet: _angular_core.Signal<boolean>;
|
|
255
|
+
/** The measure right now: the hand's while a body drag holds it, the state otherwise. */
|
|
256
|
+
readonly currentExtent: _angular_core.Signal<number | undefined>;
|
|
257
|
+
protected readonly undimmed: _angular_core.Signal<boolean>;
|
|
258
|
+
readonly resolvedMount: _angular_core.Signal<DrawerMount>;
|
|
259
|
+
readonly resolvedModal: _angular_core.Signal<boolean>;
|
|
260
|
+
readonly resolvedEscape: _angular_core.Signal<DrawerDismissPolicy>;
|
|
261
|
+
readonly resolvedBack: _angular_core.Signal<DrawerDismissPolicy>;
|
|
262
|
+
readonly resolvedOutsidePress: _angular_core.Signal<DrawerDismissPolicy>;
|
|
263
|
+
/**
|
|
264
|
+
* The limits are the first and last stop when there are stops, because a
|
|
265
|
+
* range whose ends no stop can reach has two values nothing produces.
|
|
266
|
+
*/
|
|
267
|
+
readonly bounds: _angular_core.Signal<{
|
|
268
|
+
min: number;
|
|
269
|
+
max: number;
|
|
270
|
+
}>;
|
|
271
|
+
/**
|
|
272
|
+
* An inline drawer is always in the document: its own measure is what opens
|
|
273
|
+
* and closes, and a box that left the layout would take the page's columns
|
|
274
|
+
* with it every time the reader closed the panel.
|
|
275
|
+
*/
|
|
276
|
+
readonly mounted: _angular_core.Signal<boolean>;
|
|
277
|
+
/** What the stylesheet keys on, which is a frame behind what was asked. */
|
|
278
|
+
readonly visible: _angular_core.Signal<boolean>;
|
|
279
|
+
/**
|
|
280
|
+
* Whether the layer takes focus and the pointer. `entering` counts: the
|
|
281
|
+
* focus scope enters in that frame, and a layer still `inert` then refuses
|
|
282
|
+
* the initial focus and leaves it on `body`.
|
|
283
|
+
*/
|
|
284
|
+
readonly interactive: _angular_core.Signal<boolean>;
|
|
285
|
+
/**
|
|
286
|
+
* The scrim belongs to the layer, not to the dismissal policy: `modal`
|
|
287
|
+
* decides what happens to the page behind it and never what is painted.
|
|
288
|
+
* `dialog` draws it the same way, and a consumer who wants none sets
|
|
289
|
+
* `--slotted-drawer-scrim: transparent`.
|
|
290
|
+
*/
|
|
291
|
+
protected readonly showBackdrop: _angular_core.Signal<boolean>;
|
|
292
|
+
protected readonly extentLength: _angular_core.Signal<string | null>;
|
|
293
|
+
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
294
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
295
|
+
protected readonly label: _angular_core.Signal<string | null>;
|
|
296
|
+
/**
|
|
297
|
+
* Under `inline` the panel is a region of the page rather than a window over
|
|
298
|
+
* it, so it writes no role: a navigation drawer is a navigation landmark and
|
|
299
|
+
* a filter panel is complementary, and a family that cannot know which one
|
|
300
|
+
* guesses wrong half the time. A consumer names it on their own element.
|
|
301
|
+
*/
|
|
302
|
+
protected readonly role: _angular_core.Signal<"dialog" | null>;
|
|
303
|
+
private portal;
|
|
304
|
+
private layer;
|
|
305
|
+
private scope;
|
|
306
|
+
/**
|
|
307
|
+
* What the consumer's own binding said before the reader moved anything.
|
|
308
|
+
*
|
|
309
|
+
* Read in `ngOnInit` and not in the field initializer: Angular creates every
|
|
310
|
+
* directive in a template before it binds any input, so a measure read at
|
|
311
|
+
* construction is always the model's own default and never the consumer's.
|
|
312
|
+
*/
|
|
313
|
+
private initialExtent;
|
|
314
|
+
ngOnInit(): void;
|
|
315
|
+
constructor();
|
|
316
|
+
/** The stops a sheet rests on and the rest among them, measured now. */
|
|
317
|
+
measureStops(panel: HTMLElement, span: number): {
|
|
318
|
+
rest: number | undefined;
|
|
319
|
+
stops: number[];
|
|
320
|
+
};
|
|
321
|
+
/**
|
|
322
|
+
* What a settled fraction is asked as: the content stop is `undefined`, so
|
|
323
|
+
* the sheet follows its content again when the content grows.
|
|
324
|
+
*/
|
|
325
|
+
asRequest(fraction: number, rest: number | undefined): number | undefined;
|
|
326
|
+
/**
|
|
327
|
+
* The box the panel's measure is a fraction of: the layer under `overlay`,
|
|
328
|
+
* which is fixed to the viewport, and the drawer's own parent under `inline`,
|
|
329
|
+
* where the drawer is what is being sized and cannot measure itself.
|
|
330
|
+
*/
|
|
331
|
+
measuringBox(): HTMLElement | null;
|
|
332
|
+
/**
|
|
333
|
+
* The layer element is given back to the host before the portal goes, so
|
|
334
|
+
* Angular removes a node that is where its own view expects it to be.
|
|
335
|
+
*/
|
|
336
|
+
private releasePortal;
|
|
337
|
+
/** Asks to open or close, carrying the reason, the result and the event. */
|
|
338
|
+
request(next: boolean, reason: DrawerOpenReason, result: string | undefined, source: unknown): void;
|
|
339
|
+
/**
|
|
340
|
+
* Asks to move the measure. While the pointer is down the floor is not
|
|
341
|
+
* enforced — a sheet the reader is pulling down has to follow the hand — and
|
|
342
|
+
* the separator decides on release whether that means a smaller panel or a
|
|
343
|
+
* closed one.
|
|
344
|
+
*/
|
|
345
|
+
requestExtent(next: number | undefined, reason: DrawerExtentReason, source: unknown): void;
|
|
346
|
+
/**
|
|
347
|
+
* Back to the measure the size step gives it, which is where the panel
|
|
348
|
+
* started. Angular has one model rather than a controlled and an
|
|
349
|
+
* uncontrolled input, so the measure to restore is the one the model held
|
|
350
|
+
* before anything moved it, read once.
|
|
351
|
+
*/
|
|
352
|
+
restoreExtent(reason: DrawerExtentReason, source: unknown): void;
|
|
353
|
+
/** Opens the drawer from code, carrying `programmatic`. */
|
|
354
|
+
openDrawer(): void;
|
|
355
|
+
/** Closes it from code, carrying `programmatic` and the result given. */
|
|
356
|
+
close(result?: string): void;
|
|
357
|
+
/**
|
|
358
|
+
* The panel, once it is in the document — what React's handle calls
|
|
359
|
+
* `panel`. A family that composes the drawer reads it to hand the panel a
|
|
360
|
+
* value only it knows, as `action-sheet` hands it its measure.
|
|
361
|
+
*/
|
|
362
|
+
get panel(): HTMLElement | null;
|
|
363
|
+
/** Moves focus into the panel, as opening an overlay drawer does. */
|
|
364
|
+
focus(): void;
|
|
365
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawer, never>;
|
|
366
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlDrawer, "sl-drawer", ["slDrawer"], { "open": { "alias": "open"; "required": false; "isSignal": true; }; "extent": { "alias": "extent"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "mount": { "alias": "mount"; "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; }; "modal": { "alias": "modal"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "drag": { "alias": "drag"; "required": false; "isSignal": true; }; "scrimFrom": { "alias": "scrimFrom"; "required": false; "isSignal": true; }; "minExtent": { "alias": "minExtent"; "required": false; "isSignal": true; }; "maxExtent": { "alias": "maxExtent"; "required": false; "isSignal": true; }; "snapPoints": { "alias": "snapPoints"; "required": false; "isSignal": true; }; "container": { "alias": "container"; "required": false; "isSignal": true; }; "initialFocus": { "alias": "initialFocus"; "required": false; "isSignal": true; }; "finalFocus": { "alias": "finalFocus"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "extent": "extentChange"; "openChangeRequest": "openChangeRequest"; "extentChangeRequest": "extentChangeRequest"; "closed": "closed"; }, never, ["*"], true, never>;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* The control that opens a drawer.
|
|
371
|
+
*
|
|
372
|
+
* It is the consumer's own element, which is what this ecosystem composes with:
|
|
373
|
+
* `<button slButton [slDrawerTrigger]="d">` is the library's own button and
|
|
374
|
+
* this adds the wiring to it. React reaches the same place with `render`,
|
|
375
|
+
* because there the component owns the tag.
|
|
376
|
+
*
|
|
377
|
+
* The trigger is also an overlay layer's *branch*: a press on it is inside the
|
|
378
|
+
* layer as far as `dismissable-layer` is concerned, or opening would
|
|
379
|
+
* immediately be read as an outside press and close what it just opened.
|
|
380
|
+
*
|
|
381
|
+
* `aria-haspopup` is written only under `mode="overlay"`. An inline drawer is a
|
|
382
|
+
* disclosure, not a popup, and the property would promise a layer that never
|
|
383
|
+
* arrives.
|
|
384
|
+
*/
|
|
385
|
+
declare class SlDrawerTrigger implements OnInit, OnDestroy {
|
|
386
|
+
/** The drawer this control opens, reached with a template reference variable. */
|
|
387
|
+
readonly drawer: _angular_core.InputSignal<SlDrawer>;
|
|
388
|
+
private readonly native;
|
|
389
|
+
/**
|
|
390
|
+
* `trigger` names the control when it belongs to no family of its own. On
|
|
391
|
+
* `slButton` the element is that family's root, and the part stays `root`:
|
|
392
|
+
* two directives write one attribute, and the family the element is drawn by
|
|
393
|
+
* keeps it, as React's `render` does by spreading the button's props last.
|
|
394
|
+
*/
|
|
395
|
+
protected readonly part: string | null;
|
|
396
|
+
protected readonly controls: _angular_core.Signal<string | null>;
|
|
397
|
+
protected readonly haspopup: _angular_core.Signal<"dialog" | null>;
|
|
398
|
+
ngOnInit(): void;
|
|
399
|
+
ngOnDestroy(): void;
|
|
400
|
+
protected press(event: MouseEvent): void;
|
|
401
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerTrigger, never>;
|
|
402
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlDrawerTrigger, "[slDrawerTrigger]", ["slDrawerTrigger"], { "drawer": { "alias": "slDrawerTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
403
|
+
}
|
|
404
|
+
declare class SlDrawerHeader {
|
|
405
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerHeader, never>;
|
|
406
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlDrawerHeader, "[slDrawerHeader]", ["slDrawerHeader"], {}, {}, never, never, true, never>;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* The visible name, which `aria-labelledby` points at — on the panel and, as
|
|
410
|
+
* the Window Splitter pattern requires, on the separator that sizes it.
|
|
411
|
+
*/
|
|
412
|
+
declare class SlDrawerTitle implements OnInit, OnDestroy {
|
|
413
|
+
protected readonly drawer: SlDrawer;
|
|
414
|
+
ngOnInit(): void;
|
|
415
|
+
ngOnDestroy(): void;
|
|
416
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerTitle, never>;
|
|
417
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlDrawerTitle, "[slDrawerTitle]", ["slDrawerTitle"], {}, {}, never, never, true, never>;
|
|
418
|
+
}
|
|
419
|
+
/** The sentence that says what the drawer is about. */
|
|
420
|
+
declare class SlDrawerDescription implements OnInit, OnDestroy {
|
|
421
|
+
protected readonly drawer: SlDrawer;
|
|
422
|
+
ngOnInit(): void;
|
|
423
|
+
ngOnDestroy(): void;
|
|
424
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerDescription, never>;
|
|
425
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlDrawerDescription, "[slDrawerDescription]", ["slDrawerDescription"], {}, {}, never, never, true, never>;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* The one row that scrolls, and the row `aria-busy` belongs to while the
|
|
429
|
+
* content is still on its way — the header, the close button, Escape and the
|
|
430
|
+
* separator all stay operable, because a drawer a reader cannot leave is the
|
|
431
|
+
* worse failure of the two.
|
|
432
|
+
*/
|
|
433
|
+
declare class SlDrawerBody {
|
|
434
|
+
protected readonly drawer: SlDrawer;
|
|
435
|
+
/** `none` drops the body's own padding, for content that brings its own inset — a page, a list on the panel's edges. */
|
|
436
|
+
readonly inset: _angular_core.InputSignal<"none" | undefined>;
|
|
437
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerBody, never>;
|
|
438
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlDrawerBody, "[slDrawerBody]", ["slDrawerBody"], { "inset": { "alias": "inset"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
439
|
+
}
|
|
440
|
+
declare class SlDrawerFooter {
|
|
441
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerFooter, never>;
|
|
442
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlDrawerFooter, "[slDrawerFooter]", ["slDrawerFooter"], {}, {}, never, never, true, never>;
|
|
443
|
+
}
|
|
444
|
+
/**
|
|
445
|
+
* The ✕ in the corner. It carries `dismiss`, which is the word the closed
|
|
446
|
+
* vocabulary in `docs/state-and-events.md` already has for what a close button
|
|
447
|
+
* means, and its `value` rides out on the request as the result.
|
|
448
|
+
*/
|
|
449
|
+
declare class SlDrawerClose {
|
|
450
|
+
/** The result the close carries out, which is the platform's `returnValue`. */
|
|
451
|
+
readonly value: _angular_core.InputSignal<string | undefined>;
|
|
452
|
+
private readonly drawer;
|
|
453
|
+
/** A consumer's own `aria-label`, which wins over the catalog. */
|
|
454
|
+
private readonly ownLabel;
|
|
455
|
+
protected readonly label: _angular_core.Signal<string>;
|
|
456
|
+
protected press(event: MouseEvent): void;
|
|
457
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerClose, never>;
|
|
458
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlDrawerClose, "[slDrawerClose]", ["slDrawerClose"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
459
|
+
}
|
|
460
|
+
declare class SlDrawerResizer {
|
|
461
|
+
/**
|
|
462
|
+
* How far one arrow press moves the separator, **in pixels**, when there are
|
|
463
|
+
* no snap points. A distance and not a proportion: a reader adjusting a pane
|
|
464
|
+
* is placing an edge against the content beside it, and a proportion of a
|
|
465
|
+
* wide layer is a jump.
|
|
466
|
+
*/
|
|
467
|
+
readonly step: _angular_core.InputSignal<number>;
|
|
468
|
+
/** How far `Shift` and an arrow move it, in pixels. */
|
|
469
|
+
readonly largeStep: _angular_core.InputSignal<number>;
|
|
470
|
+
protected readonly drawer: SlDrawer;
|
|
471
|
+
private readonly native;
|
|
472
|
+
/** Where the pointer last was, which is what decides a dismissal on release. */
|
|
473
|
+
private dragged;
|
|
474
|
+
/** Where the pointer has been, for the velocity the release reads. */
|
|
475
|
+
private samples;
|
|
476
|
+
/**
|
|
477
|
+
* Where the press began and how far the panel's edge was from the pointer
|
|
478
|
+
* then. The panel follows the pointer from that offset rather than jumping
|
|
479
|
+
* its edge under it, so a press that does not move is a tap and moves nothing.
|
|
480
|
+
*/
|
|
481
|
+
private press;
|
|
482
|
+
/** What `Enter` restores to once it has collapsed the panel. */
|
|
483
|
+
private collapsed;
|
|
484
|
+
/** What the document looked like before the drag, and how to put it back. */
|
|
485
|
+
private gesture;
|
|
486
|
+
protected readonly orientation: _angular_core.Signal<"vertical" | "horizontal">;
|
|
487
|
+
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
488
|
+
protected readonly floor: _angular_core.Signal<number>;
|
|
489
|
+
protected readonly valueNow: _angular_core.Signal<number>;
|
|
490
|
+
protected percent(value: number): number;
|
|
491
|
+
private current;
|
|
492
|
+
private isRtl;
|
|
493
|
+
private span;
|
|
494
|
+
/**
|
|
495
|
+
* The stops the keyboard, the release and a tap share. Without snap points
|
|
496
|
+
* the range is continuous and there are none — the content stop joins only a
|
|
497
|
+
* list the consumer started, or a separator with no stops would stop moving.
|
|
498
|
+
*/
|
|
499
|
+
private stopsNow;
|
|
500
|
+
private fractionAt;
|
|
501
|
+
protected pointerDown(event: PointerEvent): void;
|
|
502
|
+
protected pointerMove(event: PointerEvent): void;
|
|
503
|
+
/**
|
|
504
|
+
* A tap walks the stops upward and wraps from the highest to the lowest,
|
|
505
|
+
* which is what the grabber of a native sheet does and what Ionic calls
|
|
506
|
+
* `handleBehavior="cycle"`. A separator with no stops has nowhere to walk.
|
|
507
|
+
*/
|
|
508
|
+
private cycle;
|
|
509
|
+
/**
|
|
510
|
+
* Where the release lands. With stops it is `settleExtent`, the same rule
|
|
511
|
+
* the sheet's body answers: the closed position is the stop `0`, a fling goes
|
|
512
|
+
* to the next stop, anything slower to the nearest to where it was heading.
|
|
513
|
+
* Without stops the range is continuous — resizing is what a separator does
|
|
514
|
+
* on a desktop screen — and only the floor, or a fling toward the edge, asks
|
|
515
|
+
* to close. A close the consumer cancels leaves the panel at the floor.
|
|
516
|
+
*/
|
|
517
|
+
protected endDrag(event: PointerEvent): void;
|
|
518
|
+
/**
|
|
519
|
+
* Back to the measure the size step gives it, which is what `undefined`
|
|
520
|
+
* means for this state. It is the one gesture in the family that restores
|
|
521
|
+
* rather than moves, and every desktop pane divider answers a double click
|
|
522
|
+
* with it.
|
|
523
|
+
*/
|
|
524
|
+
protected restore(event: MouseEvent): void;
|
|
525
|
+
protected keyDown(event: KeyboardEvent): void;
|
|
526
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlDrawerResizer, never>;
|
|
527
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlDrawerResizer, "[slDrawerResizer]", ["slDrawerResizer"], { "step": { "alias": "step"; "required": false; "isSignal": true; }; "largeStep": { "alias": "largeStep"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export { DRAWER_DEFAULTS, SlDrawer, SlDrawerBody, SlDrawerClose, SlDrawerDescription, SlDrawerFooter, SlDrawerHeader, SlDrawerIdFactory, SlDrawerResizer, SlDrawerTitle, SlDrawerTrigger, injectDrawerDefaults, provideDrawerDefaults };
|
|
531
|
+
export type { DrawerChangeRequest, DrawerDefaults, DrawerDismissPolicy, DrawerDrag, DrawerExtentReason, DrawerExtentRequest, DrawerFinalFocus, DrawerInitialFocus, DrawerMode, DrawerMount, DrawerOpenReason, DrawerSide, DrawerSize };
|
|
532
|
+
//# sourceMappingURL=slotted-angular-drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-drawer.d.ts","sources":["../../drawer/src/drawer-defaults.ts","../../drawer/src/drawer.ts","../../drawer/src/drawer-parts.ts"],"mappings":"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","names":[]}
|