@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,252 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
3
|
+
import { MenuAlign, MenuSide, MenuSize } from '@slotted/angular/menu';
|
|
4
|
+
|
|
5
|
+
/** Which way the bar runs. */
|
|
6
|
+
type ToolbarOrientation = 'horizontal' | 'vertical';
|
|
7
|
+
/** The step the bar's own inset, gap and separator sit at. */
|
|
8
|
+
type ToolbarSize = 'sm' | 'md' | 'lg';
|
|
9
|
+
/** Whether the bar paints a ground of its own. */
|
|
10
|
+
type ToolbarVariant = 'plain' | 'outline';
|
|
11
|
+
/**
|
|
12
|
+
* What a bar does with more controls than it has room for. `wrap` keeps every
|
|
13
|
+
* one of them visible on a second row, and the arrows wrap from row to row
|
|
14
|
+
* because the item list is linear.
|
|
15
|
+
*/
|
|
16
|
+
type ToolbarOverflowMode = 'wrap' | 'scroll' | 'menu';
|
|
17
|
+
interface ToolbarDefaults {
|
|
18
|
+
loop: boolean;
|
|
19
|
+
orientation: ToolbarOrientation;
|
|
20
|
+
overflow: ToolbarOverflowMode;
|
|
21
|
+
size: ToolbarSize;
|
|
22
|
+
variant: ToolbarVariant;
|
|
23
|
+
}
|
|
24
|
+
declare const TOOLBAR_DEFAULTS: InjectionToken<ToolbarDefaults>;
|
|
25
|
+
/**
|
|
26
|
+
* An application decides once how its bars are drawn and how they behave — a
|
|
27
|
+
* product whose bars are all framed and compact says so in one place rather
|
|
28
|
+
* than on every bar. A bar that states any of them itself still wins.
|
|
29
|
+
*/
|
|
30
|
+
declare function provideToolbarDefaults(defaults: Partial<ToolbarDefaults>): {
|
|
31
|
+
provide: InjectionToken<ToolbarDefaults>;
|
|
32
|
+
useFactory: () => ToolbarDefaults;
|
|
33
|
+
};
|
|
34
|
+
/** What a toolbar renders as here, before it states anything of its own. */
|
|
35
|
+
declare function injectToolbarDefaults(): ToolbarDefaults;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The accessible name of the control that holds what did not fit. A string is
|
|
39
|
+
* used verbatim; a function is given the number of units behind the control,
|
|
40
|
+
* because three dots say nothing about how much is behind them.
|
|
41
|
+
*/
|
|
42
|
+
type ToolbarOverflowLabel = string | ((hidden: number) => string);
|
|
43
|
+
/**
|
|
44
|
+
* One unit that gave way, in the order the bar held it.
|
|
45
|
+
*
|
|
46
|
+
* `separatorBefore` is derived rather than declared: the bar is the participant
|
|
47
|
+
* that hid the units, so it is the only one that knows which of its own rules
|
|
48
|
+
* are now dividing two things that are both in the surface.
|
|
49
|
+
*/
|
|
50
|
+
interface ToolbarCollapsedUnit {
|
|
51
|
+
readonly id: string;
|
|
52
|
+
readonly separatorBefore: boolean;
|
|
53
|
+
}
|
|
54
|
+
/** The attribute that says a unit has somewhere to go. */
|
|
55
|
+
declare const TOOLBAR_UNIT_ATTRIBUTE = "data-unit";
|
|
56
|
+
/**
|
|
57
|
+
* A set of controls that share one tab stop.
|
|
58
|
+
*
|
|
59
|
+
* **The keyboard is the whole point of the role.** `Tab` enters the bar once and
|
|
60
|
+
* lands on the control that last had focus, the arrows of the flow axis move
|
|
61
|
+
* between the controls and wrap — from row to row when the bar wrapped, because
|
|
62
|
+
* the item list is linear — and `Home` and `End` reach the ends. The cross axis
|
|
63
|
+
* duplicates the pair, which the APG permits and which is what gives focus a way
|
|
64
|
+
* out of an item that keeps the flow arrows for itself.
|
|
65
|
+
*
|
|
66
|
+
* **The items are the consumer's own controls.** Anything focusable inside the
|
|
67
|
+
* bar is an item, found through `TOOLBAR_ITEM_SELECTOR`, so this library's
|
|
68
|
+
* `button`, `link`, `checkbox`, `switch` and `text-field` — and a menu trigger,
|
|
69
|
+
* and a consumer's own control — drop in unwrapped.
|
|
70
|
+
*
|
|
71
|
+
* **The bar paints itself and nothing inside it.** A bar out of action is
|
|
72
|
+
* `<fieldset disabled>` around it: the platform disables every control inside,
|
|
73
|
+
* and a natively disabled control cannot be focused, so the arrows skip exactly
|
|
74
|
+
* those.
|
|
75
|
+
*/
|
|
76
|
+
declare class SlToolbar {
|
|
77
|
+
readonly orientation: _angular_core.InputSignal<ToolbarOrientation | undefined>;
|
|
78
|
+
readonly size: _angular_core.InputSignal<ToolbarSize | undefined>;
|
|
79
|
+
readonly variant: _angular_core.InputSignal<ToolbarVariant | undefined>;
|
|
80
|
+
readonly overflow: _angular_core.InputSignal<ToolbarOverflowMode | undefined>;
|
|
81
|
+
/** Whether the arrows wrap past the ends of the bar. */
|
|
82
|
+
readonly loop: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Reports how many units gave way, once per change. The collapsed set is a
|
|
85
|
+
* measurement rather than a value, so there is no two-way binding over it: a
|
|
86
|
+
* consumer who owned it could assert that a bar fits when the layout says it
|
|
87
|
+
* does not.
|
|
88
|
+
*/
|
|
89
|
+
readonly overflowChange: _angular_core.OutputEmitterRef<number>;
|
|
90
|
+
private readonly defaults;
|
|
91
|
+
private readonly element;
|
|
92
|
+
private readonly counterparts;
|
|
93
|
+
private readonly trigger;
|
|
94
|
+
private readonly ready;
|
|
95
|
+
private ring;
|
|
96
|
+
/** The units that gave way, in the order the bar held them. */
|
|
97
|
+
readonly collapsedUnits: _angular_core.WritableSignal<readonly ToolbarCollapsedUnit[]>;
|
|
98
|
+
readonly resolvedOrientation: _angular_core.Signal<ToolbarOrientation>;
|
|
99
|
+
readonly resolvedSize: _angular_core.Signal<ToolbarSize>;
|
|
100
|
+
readonly resolvedVariant: _angular_core.Signal<ToolbarVariant>;
|
|
101
|
+
readonly resolvedOverflow: _angular_core.Signal<ToolbarOverflowMode>;
|
|
102
|
+
readonly resolvedLoop: _angular_core.Signal<boolean>;
|
|
103
|
+
protected readonly ariaOrientation: _angular_core.Signal<"vertical" | null>;
|
|
104
|
+
protected readonly collapsedCount: _angular_core.Signal<string | null>;
|
|
105
|
+
/** Records what a unit becomes in the surface. */
|
|
106
|
+
registerUnit(id: string, template: TemplateRef<unknown>): void;
|
|
107
|
+
releaseUnit(id: string): void;
|
|
108
|
+
counterpart(id: string): TemplateRef<unknown> | null;
|
|
109
|
+
/** The control that opens what did not fit. The bar measures it. */
|
|
110
|
+
registerTrigger(element: HTMLElement | null): void;
|
|
111
|
+
constructor();
|
|
112
|
+
private collapse;
|
|
113
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToolbar, never>;
|
|
114
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlToolbar, "[slToolbar]", ["slToolbar"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "overflow": { "alias": "overflow"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; }, { "overflowChange": "overflowChange"; }, never, ["*"], true, never>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* A run of related controls, announced as a group.
|
|
118
|
+
*
|
|
119
|
+
* The distance inside it is half the bar's gap and the distance around it is a
|
|
120
|
+
* gap and a half, so the boundary between two groups reads wider than the
|
|
121
|
+
* boundary between two controls. Its accessible name is the consumer's own
|
|
122
|
+
* `aria-label`.
|
|
123
|
+
*
|
|
124
|
+
* The arrows do not stop at its edge: a group is a label around a run, not a
|
|
125
|
+
* second keyboard.
|
|
126
|
+
*/
|
|
127
|
+
declare class SlToolbarGroup {
|
|
128
|
+
/**
|
|
129
|
+
* What the whole run becomes when the bar has no room for it, under
|
|
130
|
+
* `overflow="menu"`. A group that declares none is pinned.
|
|
131
|
+
*/
|
|
132
|
+
readonly counterpart: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
133
|
+
protected readonly unit: {
|
|
134
|
+
id: _angular_core.Signal<string | null>;
|
|
135
|
+
};
|
|
136
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToolbarGroup, never>;
|
|
137
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlToolbarGroup, "[slToolbarGroup]", ["slToolbarGroup"], { "counterpart": { "alias": "slToolbarGroupCounterpart"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* One unit the bar may give up, and what it becomes when it does.
|
|
141
|
+
*
|
|
142
|
+
* A unit is a direct child of the root, which is deliberately not the same
|
|
143
|
+
* thing as an item: the keyboard finds items by being focusable, at any depth,
|
|
144
|
+
* and the collapse acts on the boxes the bar lays out. A `slButtonGroup` inside
|
|
145
|
+
* one of these is one unit and four items.
|
|
146
|
+
*
|
|
147
|
+
* It is only needed under `overflow="menu"`, and only around a control the bar
|
|
148
|
+
* is allowed to hide. A control placed in a bar unwrapped is a unit too — a
|
|
149
|
+
* pinned one, because it declares nothing to become.
|
|
150
|
+
*/
|
|
151
|
+
declare class SlToolbarItem {
|
|
152
|
+
/**
|
|
153
|
+
* What the control becomes in the surface. An item that declares none cannot
|
|
154
|
+
* be hidden, which is how a primary action stays visible: it has nowhere to
|
|
155
|
+
* go, rather than a rank above the others.
|
|
156
|
+
*/
|
|
157
|
+
readonly counterpart: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
158
|
+
protected readonly unit: {
|
|
159
|
+
id: _angular_core.Signal<string | null>;
|
|
160
|
+
};
|
|
161
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToolbarItem, never>;
|
|
162
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlToolbarItem, "[slToolbarItem]", ["slToolbarItem"], { "counterpart": { "alias": "slToolbarItemCounterpart"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* A hairline between two runs.
|
|
166
|
+
*
|
|
167
|
+
* It is a part of this family rather than a `divider`, because its geometry
|
|
168
|
+
* belongs to the bar: it is measured against the controls beside it, and it
|
|
169
|
+
* turns with the bar. `aria-orientation` states the axis of the rule itself,
|
|
170
|
+
* which is perpendicular to the one the controls run along.
|
|
171
|
+
*/
|
|
172
|
+
declare class SlToolbarSeparator {
|
|
173
|
+
private readonly toolbar;
|
|
174
|
+
protected readonly ariaOrientation: _angular_core.Signal<"horizontal" | "vertical">;
|
|
175
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToolbarSeparator, never>;
|
|
176
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlToolbarSeparator, "[slToolbarSeparator]", ["slToolbarSeparator"], {}, {}, never, never, true, never>;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* The free space between two runs, so what follows sits at the end of the bar.
|
|
180
|
+
*
|
|
181
|
+
* It replaces a `justify` axis: an axis decides the placement of every control
|
|
182
|
+
* at once, and what a bar needs is one boundary — the editing controls at the
|
|
183
|
+
* start, the destructive one at the end.
|
|
184
|
+
*/
|
|
185
|
+
declare class SlToolbarSpacer {
|
|
186
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToolbarSpacer, never>;
|
|
187
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlToolbarSpacer, "[slToolbarSpacer]", ["slToolbarSpacer"], {}, {}, never, never, true, never>;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* The control that opens what did not fit, and the surface holding it.
|
|
192
|
+
*
|
|
193
|
+
* It is `menu`'s own trigger and surface wearing this family's geometry, so the
|
|
194
|
+
* keyboard, the dismissal and the focus return are `menu`'s and are not written
|
|
195
|
+
* twice. What this family adds is the measurement: the bar decides which units
|
|
196
|
+
* give way, and the counterparts they declared are rendered here in the order
|
|
197
|
+
* the bar held them, with a separator wherever one of the bar's own rules sat
|
|
198
|
+
* between two of them.
|
|
199
|
+
*
|
|
200
|
+
* The counterpart is an `ng-template` rendered through `NgTemplateOutlet` only
|
|
201
|
+
* while its unit is collapsed, so a menu item that is never reached builds
|
|
202
|
+
* nothing. That is where the two bindings differ most, and it is idiom rather
|
|
203
|
+
* than asymmetry: React's `ReactNode` is built with the element that declares
|
|
204
|
+
* it, which is React's own answer and its own cost.
|
|
205
|
+
*
|
|
206
|
+
* **A template resolves its dependencies where it was written, not where it is
|
|
207
|
+
* rendered.** The counterpart is authored beside the control it replaces, which
|
|
208
|
+
* is outside the surface, so `slMenuItem` looked for the `SlMenu` above the bar
|
|
209
|
+
* and found none — `NG0201`. The outlet is therefore given an injector that
|
|
210
|
+
* provides the surface this component draws, and the item finds the menu it is
|
|
211
|
+
* actually inside. The DOM was never wrong; only the injector was.
|
|
212
|
+
*
|
|
213
|
+
* The host is `display: contents`, so the `button` below is a child of the bar
|
|
214
|
+
* itself: the part that carries the geometry has to be the box the bar lays
|
|
215
|
+
* out, and a wrapper between them would be a unit the collapse would try to
|
|
216
|
+
* measure.
|
|
217
|
+
*
|
|
218
|
+
* **The `hidden` attribute on the trigger belongs to the bar.** `createCollapse`
|
|
219
|
+
* writes it, because the same measurement that decides whether the control is
|
|
220
|
+
* needed is the one that has to reveal it to read its width.
|
|
221
|
+
*/
|
|
222
|
+
declare class SlToolbarOverflow {
|
|
223
|
+
/** Where the surface sits against the trigger. */
|
|
224
|
+
readonly align: _angular_core.InputSignal<MenuAlign | undefined>;
|
|
225
|
+
readonly side: _angular_core.InputSignal<MenuSide | undefined>;
|
|
226
|
+
/** The surface's own measure, which is `menu`'s axis rather than the bar's. */
|
|
227
|
+
readonly size: _angular_core.InputSignal<MenuSize | undefined>;
|
|
228
|
+
/**
|
|
229
|
+
* The accessible name. Defaults to a count — "3 more actions" — because the
|
|
230
|
+
* mark says nothing about how much is behind it.
|
|
231
|
+
*/
|
|
232
|
+
readonly label: _angular_core.InputSignal<ToolbarOverflowLabel | undefined>;
|
|
233
|
+
protected readonly toolbar: SlToolbar;
|
|
234
|
+
/** A name the consumer wrote on the host survives the counted default. */
|
|
235
|
+
private readonly stated;
|
|
236
|
+
protected readonly name: _angular_core.Signal<string>;
|
|
237
|
+
private readonly trigger;
|
|
238
|
+
private readonly surface;
|
|
239
|
+
private readonly injector;
|
|
240
|
+
/**
|
|
241
|
+
* `null` until the view exists, which is also while nothing has collapsed and
|
|
242
|
+
* the outlet renders nothing.
|
|
243
|
+
*/
|
|
244
|
+
protected readonly surfaceInjector: _angular_core.Signal<_angular_core.DestroyableInjector | null>;
|
|
245
|
+
constructor();
|
|
246
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToolbarOverflow, never>;
|
|
247
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlToolbarOverflow, "sl-toolbar-overflow", ["slToolbarOverflow"], { "align": { "alias": "align"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
export { SlToolbar, SlToolbarGroup, SlToolbarItem, SlToolbarOverflow, SlToolbarSeparator, SlToolbarSpacer, TOOLBAR_DEFAULTS, TOOLBAR_UNIT_ATTRIBUTE, injectToolbarDefaults, provideToolbarDefaults };
|
|
251
|
+
export type { ToolbarCollapsedUnit, ToolbarDefaults, ToolbarOrientation, ToolbarOverflowLabel, ToolbarOverflowMode, ToolbarSize, ToolbarVariant };
|
|
252
|
+
//# sourceMappingURL=slotted-angular-toolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-toolbar.d.ts","sources":["../../toolbar/src/toolbar-defaults.ts","../../toolbar/src/toolbar.ts","../../toolbar/src/toolbar-overflow.ts"],"mappings":";;;;AAEA;KACY,kBAAkB;AAE9B;AACM,KAAM,WAAW;AAEvB;KACY,cAAc;AAE1B;;;;AAIG;AACG,KAAM,mBAAmB;UAEd,eAAe;;iBAEjB,kBAAkB;cACrB,mBAAmB;UACvB,WAAW;aACR,cAAc;AACxB;AAUD,cAAa,gBAAgB,EAAA,cAAA,CAAA,eAAA;AAK7B;;;;AAIG;AACH,iBAAgB,sBAAsB,WAAW,OAAO,CAAC,eAAe;;sBAGpD,eAAe;AAElC;AAED;AACA,iBAAgB,qBAAqB,IAAI,eAAe;;ACdxD;;;;AAIG;AACG,KAAM,oBAAoB;AAEhC;;;;;;AAMG;UACc,oBAAoB;AACnC;AACA;AACD;AAED;AACA,cAAa,sBAAsB;AAgCnC;;;;;;;;;;;;;;;;;;;AAmBG;AACH,cAoBa,SAAS;0BACA,aAAA,CAAA,WAAA,CAAA,kBAAA;mBACP,aAAA,CAAA,WAAA,CAAA,WAAA;sBACG,aAAA,CAAA,WAAA,CAAA,cAAA;uBACC,aAAA,CAAA,WAAA,CAAA,mBAAA;;mBAEJ,aAAA,CAAA,wBAAA;AAIb;;;;;AAKG;6BACoB,aAAA,CAAA,gBAAA;AAEvB;AACA;AAEA;AACA;AACA;;;6BAIuB,aAAA,CAAA,cAAA,UAAA,oBAAA;kCAEK,aAAA,CAAA,MAAA,CAAA,kBAAA;2BACP,aAAA,CAAA,MAAA,CAAA,WAAA;8BACG,aAAA,CAAA,MAAA,CAAA,cAAA;+BACC,aAAA,CAAA,MAAA,CAAA,mBAAA;2BACJ,aAAA,CAAA,MAAA;AAErB,wCAAkC,aAAA,CAAA,MAAA;AAIlC,uCAAiC,aAAA,CAAA,MAAA;;uCAKE,WAAW;;6BAYxB,WAAA;;AAKtB,6BAAyB,WAAW;;;oDA7DzB,SAAS;sDAAT,SAAS;AAqJrB;AAED;;;;;;;;;;AAUG;AACH,cAMa,cAAc;AACzB;;;AAGG;0BACiB,aAAA,CAAA,WAAA,CAAA,WAAA;;;AAI4C;oDATrD,cAAc;sDAAd,cAAc;AAU1B;AAED;;;;;;;;;;;AAWG;AACH,cAMa,aAAa;AACxB;;;;AAIG;0BACiB,aAAA,CAAA,WAAA,CAAA,WAAA;;;AAI4C;oDAVrD,aAAa;sDAAb,aAAa;AAWzB;AA+BD;;;;;;;AAOG;AACH,cAUa,kBAAkB;AAC7B;AAEA,wCAAkC,aAAA,CAAA,MAAA;oDAHvB,kBAAkB;sDAAlB,kBAAkB;AAM9B;AAED;;;;;;AAMG;AACH,cAMa,eAAe;oDAAf,eAAe;sDAAf,eAAe;AAAG;;ACnY/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BG;AACH,cA8Ba,iBAAiB;;oBAEd,aAAA,CAAA,WAAA,CAAA,SAAA;mBACD,aAAA,CAAA,WAAA,CAAA,QAAA;;mBAEA,aAAA,CAAA,WAAA,CAAA,QAAA;AACb;;;AAGG;oBACW,aAAA,CAAA,WAAA,CAAA,oBAAA;AAEd,gCAA0B,SAAA;;AAG1B;AAEA,6BAAuB,aAAA,CAAA,MAAA;AASvB;AACA;AACA;AAEA;;;AAGG;AACH,wCAAkC,aAAA,CAAA,MAAA,CAAA,aAAA,CAAA,mBAAA;;oDAlCvB,iBAAiB;sDAAjB,iBAAiB;AAoE7B;;","names":[]}
|
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken, Provider, OnInit } from '@angular/core';
|
|
3
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* How the hint is painted. `inverse` is a surface opposite to the page, which
|
|
7
|
+
* separates itself in every scheme without an edge; `surface` is the raised
|
|
8
|
+
* panel with a hairline, for a page that is already dark.
|
|
9
|
+
*/
|
|
10
|
+
type TooltipVariant = 'inverse' | 'surface';
|
|
11
|
+
/** The type step the hint is set at. Both move with density. */
|
|
12
|
+
type TooltipSize = 'sm' | 'md';
|
|
13
|
+
/**
|
|
14
|
+
* What the tooltip is to its trigger. `description` writes `aria-describedby`;
|
|
15
|
+
* `label` writes `aria-labelledby` instead, which is the icon-only button whose
|
|
16
|
+
* only words are the tooltip's — described by it and named by nothing, that
|
|
17
|
+
* button is announced as "button".
|
|
18
|
+
*
|
|
19
|
+
* `none` writes neither and hides the content from the reader: the hint that
|
|
20
|
+
* repeats words the trigger already carries is read twice under either
|
|
21
|
+
* reference.
|
|
22
|
+
*/
|
|
23
|
+
type TooltipDescribes = 'description' | 'label' | 'none';
|
|
24
|
+
/** What opens it. `hover` also opens on keyboard focus, and instantly. */
|
|
25
|
+
type TooltipOpenOn = 'hover' | 'focus' | 'manual';
|
|
26
|
+
/** The edge of the anchor the layer prefers. The two logical values mirror. */
|
|
27
|
+
type TooltipSide = 'top' | 'bottom' | 'inline-start' | 'inline-end' | 'left' | 'right';
|
|
28
|
+
/** Where the layer sits along the side it took. */
|
|
29
|
+
type TooltipAlign = 'start' | 'center' | 'end';
|
|
30
|
+
/** When the layer exists. `describes="label"` forces `eager`. */
|
|
31
|
+
type TooltipMount = 'active' | 'lazy' | 'eager';
|
|
32
|
+
/** `fixed` for a layer inside `overflow: hidden`, `absolute` for one inside a transform. */
|
|
33
|
+
type TooltipStrategy = 'absolute' | 'fixed';
|
|
34
|
+
/**
|
|
35
|
+
* What `openChangeRequest` carries: the value asked for, the previous one, the
|
|
36
|
+
* reason, the originating event and `cancel()`. The name React's binding gives
|
|
37
|
+
* the same request.
|
|
38
|
+
*/
|
|
39
|
+
type TooltipChangeRequest = ChangeRequest<boolean>;
|
|
40
|
+
/** Why the hint opened or closed. */
|
|
41
|
+
type TooltipOpenReason = Extract<ChangeRequest<boolean>['reason'], 'pointer' | 'keyboard' | 'escape' | 'blur' | 'programmatic'>;
|
|
42
|
+
/** What an application sets once for every tooltip under it. */
|
|
43
|
+
interface TooltipDefaults {
|
|
44
|
+
align: TooltipAlign;
|
|
45
|
+
alignOffset: number;
|
|
46
|
+
arrow: boolean;
|
|
47
|
+
arrowPadding: number;
|
|
48
|
+
closeDelay: number;
|
|
49
|
+
closeOnPress: boolean;
|
|
50
|
+
collisionPadding: number;
|
|
51
|
+
describes: TooltipDescribes;
|
|
52
|
+
flip: boolean;
|
|
53
|
+
groupDelay: number;
|
|
54
|
+
hideWhenDetached: boolean;
|
|
55
|
+
hoverable: boolean;
|
|
56
|
+
mount: TooltipMount;
|
|
57
|
+
openDelay: number;
|
|
58
|
+
openOn: TooltipOpenOn;
|
|
59
|
+
portal: boolean;
|
|
60
|
+
shift: boolean;
|
|
61
|
+
side: TooltipSide;
|
|
62
|
+
sideOffset: number;
|
|
63
|
+
size: TooltipSize;
|
|
64
|
+
strategy: TooltipStrategy;
|
|
65
|
+
touchDelay: number;
|
|
66
|
+
variant: TooltipVariant;
|
|
67
|
+
/** Opens only while the trigger's own content is cut by its box. */
|
|
68
|
+
whenClipped: boolean;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* The numbers, and why they are these numbers.
|
|
72
|
+
*
|
|
73
|
+
* `openDelay` is long enough that a pointer crossing a toolbar opens nothing
|
|
74
|
+
* and short enough that a deliberate hover is answered; `closeDelay` is the
|
|
75
|
+
* window the pointer has to travel onto the layer, and zero makes a hoverable
|
|
76
|
+
* tooltip unreachable; `groupDelay` is what stops a row of icon buttons
|
|
77
|
+
* charging the warmup once per button.
|
|
78
|
+
*/
|
|
79
|
+
declare const TOOLTIP_FALLBACK: TooltipDefaults;
|
|
80
|
+
declare const TOOLTIP_DEFAULTS: InjectionToken<TooltipDefaults>;
|
|
81
|
+
/**
|
|
82
|
+
* When the last tooltip in this injector closed. A tooltip asked to open inside
|
|
83
|
+
* `groupDelay` of that moment opens in the same task, so reading a row of icon
|
|
84
|
+
* buttons pays the warmup once. It is held per injector rather than per
|
|
85
|
+
* tooltip, because a value held per tooltip could not say what "the next one"
|
|
86
|
+
* means.
|
|
87
|
+
*/
|
|
88
|
+
declare class SlTooltipGroup {
|
|
89
|
+
lastClosedAt: number;
|
|
90
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTooltipGroup, never>;
|
|
91
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* An application decides once how its tooltips behave and look. A tooltip that
|
|
95
|
+
* states any of them itself still wins.
|
|
96
|
+
*
|
|
97
|
+
* What is stated here is written over the defaults already in force rather than
|
|
98
|
+
* over the fallback, which is what React's provider does and what a family that
|
|
99
|
+
* sets two axes for itself needs: a column header asking for `describes="none"`
|
|
100
|
+
* would otherwise hand the application's own delays back to the fallback.
|
|
101
|
+
*
|
|
102
|
+
* The group is provided beside the defaults, so a component that sets its own
|
|
103
|
+
* defaults also gets its own warmup window — the same scoping React's provider
|
|
104
|
+
* gives.
|
|
105
|
+
*/
|
|
106
|
+
declare function provideTooltipDefaults(defaults: Partial<TooltipDefaults>): Provider[];
|
|
107
|
+
/** What a tooltip renders as here, before it states anything of its own. */
|
|
108
|
+
declare function injectTooltipDefaults(): TooltipDefaults;
|
|
109
|
+
/**
|
|
110
|
+
* Where every layer is rendered, for the whole application. It calls
|
|
111
|
+
* `setPortalContainer` from `@slotted/core/portal`, which is per document, so
|
|
112
|
+
* an application shell that builds its own stacking context names it once.
|
|
113
|
+
*/
|
|
114
|
+
declare function provideSlottedPortalContainer(container: () => Element | null): Provider;
|
|
115
|
+
/**
|
|
116
|
+
* Application-scoped rather than module-scoped, for the reason `field` records:
|
|
117
|
+
* a module-level counter produces colliding sequences when two applications
|
|
118
|
+
* render in one server process, and the server and the client sequences have to
|
|
119
|
+
* match for hydration.
|
|
120
|
+
*/
|
|
121
|
+
declare class SlTooltipIdFactory {
|
|
122
|
+
private count;
|
|
123
|
+
next(): string;
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTooltipIdFactory, never>;
|
|
125
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* A short, non-interactive sentence about the element under the pointer or
|
|
130
|
+
* under focus.
|
|
131
|
+
*
|
|
132
|
+
* It is written on an `ng-container`, because it renders nothing: the trigger
|
|
133
|
+
* stays where the consumer wrote it and the layer is portalled to the end of
|
|
134
|
+
* the document, so no one element could hold both. What it holds is the state,
|
|
135
|
+
* the delays, and the values every part reads.
|
|
136
|
+
*
|
|
137
|
+
* The layer never takes focus and never holds a control. The APG's tooltip
|
|
138
|
+
* pattern says so, and names the non-modal dialog for the other case, which is
|
|
139
|
+
* `slPopover`.
|
|
140
|
+
*/
|
|
141
|
+
declare class SlTooltip implements OnInit {
|
|
142
|
+
/** Whether the hint is showing. Two-way, so a template may bind it directly. */
|
|
143
|
+
readonly open: _angular_core.ModelSignal<boolean>;
|
|
144
|
+
/** The state an uncontrolled tooltip starts in, read once in `ngOnInit`. */
|
|
145
|
+
readonly defaultOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
146
|
+
/** The tooltip never opens. The trigger's own `disabled` is the consumer's. */
|
|
147
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
148
|
+
/**
|
|
149
|
+
* Opens only while the trigger's own content is cut by its box — a column
|
|
150
|
+
* header narrowed to `Op…`, a breadcrumb in a rail. The measurement is taken
|
|
151
|
+
* at the moment the hint would open, so a column dragged wider stops opening
|
|
152
|
+
* one without anything being told.
|
|
153
|
+
*/
|
|
154
|
+
readonly whenClipped: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
155
|
+
readonly variant: _angular_core.InputSignal<TooltipVariant | undefined>;
|
|
156
|
+
readonly size: _angular_core.InputSignal<TooltipSize | undefined>;
|
|
157
|
+
readonly describes: _angular_core.InputSignal<TooltipDescribes | undefined>;
|
|
158
|
+
readonly openOn: _angular_core.InputSignal<TooltipOpenOn | undefined>;
|
|
159
|
+
readonly side: _angular_core.InputSignal<TooltipSide | undefined>;
|
|
160
|
+
readonly align: _angular_core.InputSignal<TooltipAlign | undefined>;
|
|
161
|
+
readonly mount: _angular_core.InputSignal<TooltipMount | undefined>;
|
|
162
|
+
readonly strategy: _angular_core.InputSignal<TooltipStrategy | undefined>;
|
|
163
|
+
readonly arrow: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
164
|
+
readonly hoverable: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
165
|
+
readonly closeOnPress: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
166
|
+
readonly flip: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
167
|
+
readonly shift: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
168
|
+
readonly hideWhenDetached: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
169
|
+
readonly portal: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
170
|
+
readonly openDelay: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
171
|
+
readonly closeDelay: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
172
|
+
readonly touchDelay: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
173
|
+
readonly sideOffset: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
174
|
+
readonly alignOffset: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
175
|
+
readonly collisionPadding: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
176
|
+
readonly arrowPadding: _angular_core.InputSignalWithTransform<number | undefined, string | number | undefined>;
|
|
177
|
+
/** One output for one transition, carrying the reason and the event. */
|
|
178
|
+
readonly openChangeRequest: _angular_core.OutputEmitterRef<TooltipChangeRequest>;
|
|
179
|
+
private readonly defaults;
|
|
180
|
+
private readonly group;
|
|
181
|
+
private readonly destroyRef;
|
|
182
|
+
readonly contentId: string;
|
|
183
|
+
/** The elements the parts register, which the layer measures and listens to. */
|
|
184
|
+
readonly triggerNode: _angular_core.WritableSignal<HTMLElement | null>;
|
|
185
|
+
readonly arrowNode: _angular_core.WritableSignal<HTMLElement | null>;
|
|
186
|
+
readonly isOpen: _angular_core.Signal<boolean>;
|
|
187
|
+
readonly resolvedVariant: _angular_core.Signal<TooltipVariant>;
|
|
188
|
+
readonly resolvedSize: _angular_core.Signal<TooltipSize>;
|
|
189
|
+
readonly resolvedDescribes: _angular_core.Signal<TooltipDescribes>;
|
|
190
|
+
readonly resolvedWhenClipped: _angular_core.Signal<boolean>;
|
|
191
|
+
readonly resolvedOpenOn: _angular_core.Signal<TooltipOpenOn>;
|
|
192
|
+
readonly resolvedSide: _angular_core.Signal<TooltipSide>;
|
|
193
|
+
readonly resolvedAlign: _angular_core.Signal<TooltipAlign>;
|
|
194
|
+
readonly resolvedStrategy: _angular_core.Signal<TooltipStrategy>;
|
|
195
|
+
readonly resolvedArrow: _angular_core.Signal<boolean>;
|
|
196
|
+
readonly resolvedHoverable: _angular_core.Signal<boolean>;
|
|
197
|
+
readonly resolvedCloseOnPress: _angular_core.Signal<boolean>;
|
|
198
|
+
readonly resolvedFlip: _angular_core.Signal<boolean>;
|
|
199
|
+
readonly resolvedShift: _angular_core.Signal<boolean>;
|
|
200
|
+
readonly resolvedHideWhenDetached: _angular_core.Signal<boolean>;
|
|
201
|
+
readonly resolvedPortal: _angular_core.Signal<boolean>;
|
|
202
|
+
readonly resolvedSideOffset: _angular_core.Signal<number>;
|
|
203
|
+
readonly resolvedAlignOffset: _angular_core.Signal<number>;
|
|
204
|
+
readonly resolvedCollisionPadding: _angular_core.Signal<number>;
|
|
205
|
+
readonly resolvedArrowPadding: _angular_core.Signal<number>;
|
|
206
|
+
/**
|
|
207
|
+
* Under `label` the layer is the trigger's accessible name, so it has to be
|
|
208
|
+
* in the document before it is ever opened. Forcing the axis is deliberate:
|
|
209
|
+
* the alternative is a button silently announced as "button".
|
|
210
|
+
*/
|
|
211
|
+
readonly resolvedMount: _angular_core.Signal<TooltipMount>;
|
|
212
|
+
private readonly everOpened;
|
|
213
|
+
readonly seen: _angular_core.Signal<boolean>;
|
|
214
|
+
/**
|
|
215
|
+
* One timer for the whole family. An open waiting on `openDelay`, a close
|
|
216
|
+
* waiting on `closeDelay` and a long press waiting on `touchDelay` are never
|
|
217
|
+
* pending at once — each cancels the others.
|
|
218
|
+
*/
|
|
219
|
+
private timer;
|
|
220
|
+
constructor();
|
|
221
|
+
/**
|
|
222
|
+
* Read here rather than in the constructor, because inputs are not set yet
|
|
223
|
+
* there, and once: a later change to it is not new state.
|
|
224
|
+
*/
|
|
225
|
+
ngOnInit(): void;
|
|
226
|
+
cancelPending(): void;
|
|
227
|
+
/** Opens after `openDelay`, or in the same task inside the group window. */
|
|
228
|
+
openAfterDelay(source?: Event): void;
|
|
229
|
+
/** Closes after `closeDelay`, which is the window the pointer has to reach the layer. */
|
|
230
|
+
closeAfterDelay(source?: Event): void;
|
|
231
|
+
/** A coarse pointer has no hover, so a press held still opens the hint. */
|
|
232
|
+
pressAndHold(source?: Event): void;
|
|
233
|
+
/** Opens now, ignoring every delay. One of the two imperative actions. */
|
|
234
|
+
show(): void;
|
|
235
|
+
/** Closes now. */
|
|
236
|
+
hide(): void;
|
|
237
|
+
toggle(next: boolean, reason: TooltipOpenReason, source?: Event): void;
|
|
238
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTooltip, never>;
|
|
239
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTooltip, "[slTooltip]", ["slTooltip"], { "open": { "alias": "open"; "required": false; "isSignal": true; }; "defaultOpen": { "alias": "defaultOpen"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "whenClipped": { "alias": "whenClipped"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "describes": { "alias": "describes"; "required": false; "isSignal": true; }; "openOn": { "alias": "openOn"; "required": false; "isSignal": true; }; "side": { "alias": "side"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "mount": { "alias": "mount"; "required": false; "isSignal": true; }; "strategy": { "alias": "strategy"; "required": false; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": false; "isSignal": true; }; "hoverable": { "alias": "hoverable"; "required": false; "isSignal": true; }; "closeOnPress": { "alias": "closeOnPress"; "required": false; "isSignal": true; }; "flip": { "alias": "flip"; "required": false; "isSignal": true; }; "shift": { "alias": "shift"; "required": false; "isSignal": true; }; "hideWhenDetached": { "alias": "hideWhenDetached"; "required": false; "isSignal": true; }; "portal": { "alias": "portal"; "required": false; "isSignal": true; }; "openDelay": { "alias": "openDelay"; "required": false; "isSignal": true; }; "closeDelay": { "alias": "closeDelay"; "required": false; "isSignal": true; }; "touchDelay": { "alias": "touchDelay"; "required": false; "isSignal": true; }; "sideOffset": { "alias": "sideOffset"; "required": false; "isSignal": true; }; "alignOffset": { "alias": "alignOffset"; "required": false; "isSignal": true; }; "collisionPadding": { "alias": "collisionPadding"; "required": false; "isSignal": true; }; "arrowPadding": { "alias": "arrowPadding"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "openChangeRequest": "openChangeRequest"; }, never, never, true, never>;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The element the hint is about.
|
|
244
|
+
*
|
|
245
|
+
* The directive goes on the consumer's own control, which is what this
|
|
246
|
+
* ecosystem composes with. It writes the ARIA relationship and `data-open` and
|
|
247
|
+
* **no `data-part`**: `data-part` names a part of the family that owns the
|
|
248
|
+
* element, and sixteen stylesheets in this repository key on
|
|
249
|
+
* `[data-part='root']`, so claiming a `slBadge` or a `slCheckbox` used as a
|
|
250
|
+
* trigger would unstyle it and nothing would report it.
|
|
251
|
+
*
|
|
252
|
+
* A control the page disabled with the native attribute fires no pointer events
|
|
253
|
+
* at all, so the one explanation of why it is disabled would be unreachable.
|
|
254
|
+
* The reference page shows the two shapes that work: `aria-disabled` on a
|
|
255
|
+
* control that stays focusable, or a wrapping element carrying the trigger.
|
|
256
|
+
*/
|
|
257
|
+
declare class SlTooltipTrigger {
|
|
258
|
+
protected readonly tooltip: SlTooltip;
|
|
259
|
+
private readonly native;
|
|
260
|
+
private holding;
|
|
261
|
+
/**
|
|
262
|
+
* Named by the layer under `label`, described by it otherwise. Under `none`
|
|
263
|
+
* the trigger references nothing: it already says the words.
|
|
264
|
+
*/
|
|
265
|
+
private readonly names;
|
|
266
|
+
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
267
|
+
protected readonly labelledBy: _angular_core.Signal<string | null>;
|
|
268
|
+
constructor();
|
|
269
|
+
protected onPointerEnter(event: PointerEvent): void;
|
|
270
|
+
protected onPointerLeave(event: PointerEvent): void;
|
|
271
|
+
protected onPointerDown(event: PointerEvent): void;
|
|
272
|
+
protected onPointerRelease(): void;
|
|
273
|
+
/**
|
|
274
|
+
* `:focus-visible` rather than every focus. A pointer press focuses a button
|
|
275
|
+
* too, and a tooltip opened by it would arrive before the delay it was given
|
|
276
|
+
* and stay after the press that was meant to dismiss it.
|
|
277
|
+
*/
|
|
278
|
+
protected onFocus(event: FocusEvent): void;
|
|
279
|
+
protected onBlur(event: FocusEvent): void;
|
|
280
|
+
/**
|
|
281
|
+
* A click synthesised by the keyboard reports no detail; a real one reports
|
|
282
|
+
* the click count. It is how `Enter` and `Space` are told from a press
|
|
283
|
+
* without a key listener existing for either.
|
|
284
|
+
*/
|
|
285
|
+
protected onClick(event: MouseEvent): void;
|
|
286
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTooltipTrigger, never>;
|
|
287
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTooltipTrigger, "[slTooltipTrigger]", ["slTooltipTrigger"], {}, {}, never, never, true, never>;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* The positioned layer, built from a template rather than from an element.
|
|
291
|
+
*
|
|
292
|
+
* `mount="active"` means the layer exists only while it is open, and a
|
|
293
|
+
* component cannot remove its own host element — so the consumer writes an
|
|
294
|
+
* `ng-template` and this directive builds the layer around the stamped view.
|
|
295
|
+
* It is the shape `ng-template[slCollapsibleContent]` already uses here, and
|
|
296
|
+
* Angular Material's `matExpansionPanelContent` before it.
|
|
297
|
+
*
|
|
298
|
+
* The element it builds is what `packages/core/src/positioner` writes
|
|
299
|
+
* `position`, `left` and `top` onto, and the one that scales and fades; its
|
|
300
|
+
* padding is the gap the pointer crosses onto a hoverable tooltip.
|
|
301
|
+
*/
|
|
302
|
+
declare class SlTooltipLayer {
|
|
303
|
+
private readonly tooltip;
|
|
304
|
+
private readonly template;
|
|
305
|
+
private readonly viewContainer;
|
|
306
|
+
private readonly comment;
|
|
307
|
+
/**
|
|
308
|
+
* Angular's server document is not the page. There the layer stays where the
|
|
309
|
+
* template wrote it, as React's server markup has it, and nothing measures,
|
|
310
|
+
* stacks or moves it into a portal.
|
|
311
|
+
*/
|
|
312
|
+
private readonly browser;
|
|
313
|
+
/** Where the arrow stood in the layer while `arrow` is false. */
|
|
314
|
+
private arrowPlace;
|
|
315
|
+
/**
|
|
316
|
+
* A signal rather than a field, and the reason is a defect the first spec run
|
|
317
|
+
* found: the effects that place, stack and paint the layer all read it, and
|
|
318
|
+
* with a plain field none of them re-ran when `build()` filled it in a later
|
|
319
|
+
* flush. The layer existed and carried no attribute the stylesheet reads.
|
|
320
|
+
*/
|
|
321
|
+
private readonly layerNode;
|
|
322
|
+
private view;
|
|
323
|
+
private portal;
|
|
324
|
+
private positioner;
|
|
325
|
+
private dismissable;
|
|
326
|
+
private releaseBridge;
|
|
327
|
+
private readonly status;
|
|
328
|
+
private readonly positioned;
|
|
329
|
+
private readonly presence;
|
|
330
|
+
/**
|
|
331
|
+
* `active` drops the layer after the exit, `lazy` keeps it once it has been
|
|
332
|
+
* open, `eager` never removes it — which is what `describes="label"` forces,
|
|
333
|
+
* because an accessible name has to exist before it is read.
|
|
334
|
+
*/
|
|
335
|
+
readonly mounted: _angular_core.Signal<boolean>;
|
|
336
|
+
constructor();
|
|
337
|
+
/** Measures and places the layer again. The imperative action of this part. */
|
|
338
|
+
reposition(): void;
|
|
339
|
+
private build;
|
|
340
|
+
private teardown;
|
|
341
|
+
/** Rebuilt whenever an option it was created with changes. */
|
|
342
|
+
private place;
|
|
343
|
+
/**
|
|
344
|
+
* The layer joins the single stack only while it is open, so its depth is its
|
|
345
|
+
* real position among the layers a reader has opened. Escape reaches the
|
|
346
|
+
* topmost layer alone; the trigger is a branch, so pressing it is not an
|
|
347
|
+
* outside press and the family closes on it deliberately instead.
|
|
348
|
+
*/
|
|
349
|
+
private stack;
|
|
350
|
+
/** Every attribute the stylesheet reads, and the two listeners hoverable needs. */
|
|
351
|
+
private paint;
|
|
352
|
+
/**
|
|
353
|
+
* The arrow is the consumer's element inside the template, so under
|
|
354
|
+
* `arrow="false"` the layer takes it out — React's arrow renders nothing
|
|
355
|
+
* then — and puts it back in the same place under `true`.
|
|
356
|
+
*/
|
|
357
|
+
private showArrow;
|
|
358
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTooltipLayer, never>;
|
|
359
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTooltipLayer, "ng-template[slTooltipLayer]", ["slTooltipLayer"], {}, {}, never, never, true, never>;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* The painted surface, and the element the trigger's ARIA relationship names.
|
|
363
|
+
*
|
|
364
|
+
* It is the one part written as a component, because a component is what can
|
|
365
|
+
* carry `styleUrl`: this is where the family's single authored stylesheet
|
|
366
|
+
* enters an Angular application, exactly as every other family here does it.
|
|
367
|
+
*/
|
|
368
|
+
declare class SlTooltipContent {
|
|
369
|
+
protected readonly tooltip: SlTooltip;
|
|
370
|
+
/** Hidden from the reader under `none`, which is a hint shown and not read. */
|
|
371
|
+
protected readonly hidden: _angular_core.Signal<true | null>;
|
|
372
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTooltipContent, never>;
|
|
373
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlTooltipContent, "[slTooltipContent]", ["slTooltipContent"], {}, {}, never, ["*"], true, never>;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* The mark that points at the anchor. The family draws it; the positioner
|
|
377
|
+
* measures it and says where it goes. It is hidden from assistive technology,
|
|
378
|
+
* because it is decoration a reader has no use for.
|
|
379
|
+
*/
|
|
380
|
+
declare class SlTooltipArrow {
|
|
381
|
+
constructor();
|
|
382
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlTooltipArrow, never>;
|
|
383
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlTooltipArrow, "[slTooltipArrow]", ["slTooltipArrow"], {}, {}, never, never, true, never>;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
export { SlTooltip, SlTooltipArrow, SlTooltipContent, SlTooltipGroup, SlTooltipIdFactory, SlTooltipLayer, SlTooltipTrigger, TOOLTIP_DEFAULTS, TOOLTIP_FALLBACK, injectTooltipDefaults, provideSlottedPortalContainer, provideTooltipDefaults };
|
|
387
|
+
export type { TooltipAlign, TooltipChangeRequest, TooltipDefaults, TooltipDescribes, TooltipMount, TooltipOpenOn, TooltipOpenReason, TooltipSide, TooltipSize, TooltipStrategy, TooltipVariant };
|
|
388
|
+
//# sourceMappingURL=slotted-angular-tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-tooltip.d.ts","sources":["../../tooltip/src/tooltip-defaults.ts","../../tooltip/src/tooltip.ts","../../tooltip/src/tooltip-parts.ts"],"mappings":";;;;AAKA;;;;AAIG;KACS,cAAc;AAE1B;KACY,WAAW;AAEvB;;;;;;;;;AASG;AACG,KAAM,gBAAgB;AAE5B;AACM,KAAM,aAAa;AAEzB;AACM,KAAM,WAAW;AAEvB;AACM,KAAM,YAAY;AAExB;AACM,KAAM,YAAY;AAExB;KACY,eAAe;AAE3B;;;;AAIG;KACS,oBAAoB,GAAG,aAAa;AAEhD;AACM,KAAM,iBAAiB,GAAG,OAAO,CACrC,aAAa;AAIf;UACiB,eAAe;WACvB,YAAY;;;;;;;eAOR,gBAAgB;;;;;WAKpB,YAAY;;YAEX,aAAa;;;UAGf,WAAW;;UAEX,WAAW;cACP,eAAe;;aAEhB,cAAc;;;AAGxB;AAED;;;;;;;;AAQG;AACH,cAAa,gBAAgB,EAAE,eAyB9B;AAED,cAAa,gBAAgB,EAAA,cAAA,CAAA,eAAA;AAK7B;;;;;;AAMG;AACH,cACa,cAAc;AACzB;oDADW,cAAc;;AAE1B;AAED;;;;;;;;;;;;AAYG;AACH,iBAAgB,sBAAsB,WAAW,OAAO,CAAC,eAAe,IAAI,QAAQ;AAapF;AACA,iBAAgB,qBAAqB,IAAI,eAAe;AAWxD;;;;AAIG;AACH,iBAAgB,6BAA6B,kBAAkB,OAAO,UAAU,QAAQ;AAUxF;;;;;AAKG;AACH,cACa,kBAAkB;;;oDAAlB,kBAAkB;;AAO9B;;ACtJD;;;;;;;;;;;;AAYG;AACH,cAKa,SAAU,YAAW,MAAM;;mBAEzB,aAAA,CAAA,WAAA;;0BAEO,aAAA,CAAA,wBAAA;;uBAEH,aAAA,CAAA,wBAAA;AACjB;;;;;AAKG;0BACiB,aAAA,CAAA,wBAAA;sBAIJ,aAAA,CAAA,WAAA,CAAA,cAAA;mBACH,aAAA,CAAA,WAAA,CAAA,WAAA;wBACK,aAAA,CAAA,WAAA,CAAA,gBAAA;qBACH,aAAA,CAAA,WAAA,CAAA,aAAA;mBACF,aAAA,CAAA,WAAA,CAAA,WAAA;oBACC,aAAA,CAAA,WAAA,CAAA,YAAA;oBACA,aAAA,CAAA,WAAA,CAAA,YAAA;uBACG,aAAA,CAAA,WAAA,CAAA,eAAA;oBAEH,aAAA,CAAA,wBAAA;wBAGI,aAAA,CAAA,wBAAA;2BAGG,aAAA,CAAA,wBAAA;mBAGR,aAAA,CAAA,wBAAA;oBAGC,aAAA,CAAA,wBAAA;+BAGW,aAAA,CAAA,wBAAA;qBAGV,aAAA,CAAA,wBAAA;wBAIG,aAAA,CAAA,wBAAA;yBAGC,aAAA,CAAA,wBAAA;yBAGA,aAAA,CAAA,wBAAA;yBAGA,aAAA,CAAA,wBAAA;0BAGC,aAAA,CAAA,wBAAA;+BAGK,aAAA,CAAA,wBAAA;2BAGJ,aAAA,CAAA,wBAAA;;gCAKK,aAAA,CAAA,gBAAA,CAAA,oBAAA;AAE1B;AACA;AACA;;;0BAKoB,aAAA,CAAA,cAAA,CAAA,WAAA;wBACF,aAAA,CAAA,cAAA,CAAA,WAAA;qBAEH,aAAA,CAAA,MAAA;8BAES,aAAA,CAAA,MAAA,CAAA,cAAA;2BACH,aAAA,CAAA,MAAA,CAAA,WAAA;gCACK,aAAA,CAAA,MAAA,CAAA,gBAAA;kCACE,aAAA,CAAA,MAAA;6BACL,aAAA,CAAA,MAAA,CAAA,aAAA;2BACF,aAAA,CAAA,MAAA,CAAA,WAAA;4BACC,aAAA,CAAA,MAAA,CAAA,YAAA;+BACG,aAAA,CAAA,MAAA,CAAA,eAAA;4BACH,aAAA,CAAA,MAAA;gCACI,aAAA,CAAA,MAAA;mCAGG,aAAA,CAAA,MAAA;2BAGR,aAAA,CAAA,MAAA;4BACC,aAAA,CAAA,MAAA;uCACW,aAAA,CAAA,MAAA;6BAGV,aAAA,CAAA,MAAA;iCACI,aAAA,CAAA,MAAA;kCACC,aAAA,CAAA,MAAA;uCACK,aAAA,CAAA,MAAA;mCAGJ,aAAA,CAAA,MAAA;AAE7B;;;;AAIG;4BACmB,aAAA,CAAA,MAAA,CAAA,YAAA;AAItB;mBACa,aAAA,CAAA,MAAA;AAEb;;;;AAIG;;;AAeH;;;AAGG;;;;AAWH,4BAAwB,KAAK;;AAY7B,6BAAyB,KAAK;;AAW9B,0BAAsB,KAAK;;;;;AAgB3B,kCAA8B,iBAAiB,WAAW,KAAK;oDArMpD,SAAS;sDAAT,SAAS;AAyOrB;;ACpRD;;;;;;;;;;;;;;AAcG;AACH,cAkBa,gBAAgB;AAC3B,gCAA0B,SAAA;AAC1B;;AAGA;;;AAGG;AACH;AAKA,oCAA8B,aAAA,CAAA,MAAA;AAK9B,mCAA6B,aAAA,CAAA,MAAA;;AAS7B,oCAAgC,YAAY;AAK5C,oCAAgC,YAAY;AAM5C,mCAA+B,YAAY;AAW3C;AAMA;;;;AAIG;AACH,6BAAyB,UAAU;AAMnC,4BAAwB,UAAU;AAKlC;;;;AAIG;AACH,6BAAyB,UAAU;oDA7ExB,gBAAgB;sDAAhB,gBAAgB;AAiF5B;AAED;;;;;;;;;;;;AAYG;AACH,cAKa,cAAc;AACzB;AACA;AACA;AACA;AACA;;;;AAIG;AACH;;;AAIA;;;;;AAKG;AACH;;;;;;AAOA;AACA;AACA;AAKA;;;;AAIG;sBACa,aAAA,CAAA,MAAA;;;;AA8BhB;AA6BA;;AAmBA;AA2BA;;;;;AAKG;AACH;;AA2BA;AAYA;;;;AAIG;AACH;oDAlMW,cAAc;sDAAd,cAAc;AA8M1B;AAOD;;;;;;AAMG;AACH,cAea,gBAAgB;AAC3B,gCAA0B,SAAA;;AAG1B,+BAAyB,aAAA,CAAA,MAAA;oDAJd,gBAAgB;sDAAhB,gBAAgB;AAO5B;AAED;;;;AAIG;AACH,cASa,cAAc;;oDAAd,cAAc;sDAAd,cAAc;AAO1B;;","names":[]}
|