@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,156 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
4
|
+
|
|
5
|
+
/** The type step the set and its items sit at. */
|
|
6
|
+
type AccordionSize = 'sm' | 'md' | 'lg';
|
|
7
|
+
/**
|
|
8
|
+
* How the set is drawn. `plain` paints nothing, `ruled` puts one hairline per
|
|
9
|
+
* seam, `framed` wraps the ruled set in one frame, and `separated` gives every
|
|
10
|
+
* item a card of its own.
|
|
11
|
+
*/
|
|
12
|
+
type AccordionVariant = 'plain' | 'ruled' | 'framed' | 'separated';
|
|
13
|
+
/** The mark each header carries. Handed to every item. */
|
|
14
|
+
type AccordionIndicator = 'chevron' | 'plus-minus' | 'none';
|
|
15
|
+
/** Which side of the words that mark stands on. Handed to every item. */
|
|
16
|
+
type AccordionTogglePlacement = 'end' | 'start';
|
|
17
|
+
/**
|
|
18
|
+
* The heading level every item's header answers to. `3` is the default, which
|
|
19
|
+
* is the level the APG's own example uses for a set inside a section.
|
|
20
|
+
*/
|
|
21
|
+
type AccordionHeadingLevel = 'none' | '1' | '2' | '3' | '4' | '5' | '6';
|
|
22
|
+
/** When each panel's content exists. Handed to every item. */
|
|
23
|
+
type AccordionMount = 'active' | 'lazy' | 'eager' | 'until-found';
|
|
24
|
+
/** Why the set of open panels moved. */
|
|
25
|
+
type AccordionSelectionReason = 'pointer' | 'keyboard' | 'select' | 'programmatic';
|
|
26
|
+
interface AccordionDefaults {
|
|
27
|
+
headingLevel: AccordionHeadingLevel;
|
|
28
|
+
indicator: AccordionIndicator;
|
|
29
|
+
loop: boolean;
|
|
30
|
+
mount: AccordionMount;
|
|
31
|
+
multiple: boolean;
|
|
32
|
+
requireOpen: boolean;
|
|
33
|
+
size: AccordionSize;
|
|
34
|
+
togglePlacement: AccordionTogglePlacement;
|
|
35
|
+
truncate: boolean;
|
|
36
|
+
variant: AccordionVariant;
|
|
37
|
+
}
|
|
38
|
+
declare const ACCORDION_DEFAULTS: InjectionToken<AccordionDefaults>;
|
|
39
|
+
/**
|
|
40
|
+
* An application decides once how its accordions look and behave, rather than
|
|
41
|
+
* repeating the same ten inputs on every set in a product. A set that states
|
|
42
|
+
* any of them itself still wins.
|
|
43
|
+
*/
|
|
44
|
+
declare function provideAccordionDefaults(defaults: Partial<AccordionDefaults>): {
|
|
45
|
+
provide: InjectionToken<AccordionDefaults>;
|
|
46
|
+
useFactory: () => AccordionDefaults;
|
|
47
|
+
};
|
|
48
|
+
/** What an accordion renders as here, before it states anything of its own. */
|
|
49
|
+
declare function injectAccordionDefaults(): AccordionDefaults;
|
|
50
|
+
/**
|
|
51
|
+
* Application-scoped rather than module-scoped, for the reason `field` records:
|
|
52
|
+
* a module-level counter produces colliding sequences when two applications
|
|
53
|
+
* render in one server process, and the server and the client sequences must
|
|
54
|
+
* match for hydration.
|
|
55
|
+
*/
|
|
56
|
+
declare class SlAccordionIdFactory {
|
|
57
|
+
private count;
|
|
58
|
+
next(): string;
|
|
59
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAccordionIdFactory, never>;
|
|
60
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<any>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* The header of every item this set owns, and of no set nested inside it.
|
|
65
|
+
* `:scope` is what keeps a nested accordion's headers out of the outer one's
|
|
66
|
+
* arrow ring: root, item, header, trigger is exactly four levels.
|
|
67
|
+
*/
|
|
68
|
+
declare const ACCORDION_TRIGGER_SELECTOR = ":scope > * > [data-part=\"header\"] > [data-part=\"trigger\"]";
|
|
69
|
+
/**
|
|
70
|
+
* A set of disclosures that share a value.
|
|
71
|
+
*
|
|
72
|
+
* **The keyboard is the pattern's, plus four keys that are not.** `Enter`,
|
|
73
|
+
* `Space`, `Tab` and `Shift + Tab` are the platform's, and every header stays
|
|
74
|
+
* in the page tab sequence — `w3c/aria-practices#3434` removed the roving
|
|
75
|
+
* alternative from the pattern, and Base UI deprecated its own `loopFocus` and
|
|
76
|
+
* `orientation` in the same change. `ArrowDown`, `ArrowUp`, `Home` and `End`
|
|
77
|
+
* are shipped on top of that sequence, because Radix and Ark both ship them and
|
|
78
|
+
* readers have learned them; they move focus and write no `tabindex`.
|
|
79
|
+
*
|
|
80
|
+
* **`requireOpen` marks the header it holds.** The pattern asks an accordion
|
|
81
|
+
* that does not permit a panel to be collapsed to write `aria-disabled="true"`
|
|
82
|
+
* on that header, and the APG's own example is the only surveyed source that
|
|
83
|
+
* ships it.
|
|
84
|
+
*
|
|
85
|
+
* **The items are `collapsible`s, and nothing here selects into them.** The set
|
|
86
|
+
* hands each one its appearance as a value, which is the rule `checkbox-group`
|
|
87
|
+
* set for every group family in the library.
|
|
88
|
+
*/
|
|
89
|
+
declare class SlAccordion {
|
|
90
|
+
/** The set of open values. Two-way, so a template may bind it directly. */
|
|
91
|
+
readonly value: _angular_core.ModelSignal<readonly string[]>;
|
|
92
|
+
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
93
|
+
/**
|
|
94
|
+
* Whether the set refuses to empty. The one open header then carries
|
|
95
|
+
* `aria-disabled="true"`, which is what the pattern asks of an accordion that
|
|
96
|
+
* does not permit its panel to be collapsed.
|
|
97
|
+
*/
|
|
98
|
+
readonly requireOpen: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
99
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
100
|
+
readonly size: _angular_core.InputSignal<AccordionSize | undefined>;
|
|
101
|
+
readonly variant: _angular_core.InputSignal<AccordionVariant | undefined>;
|
|
102
|
+
readonly indicator: _angular_core.InputSignal<AccordionIndicator | undefined>;
|
|
103
|
+
readonly togglePlacement: _angular_core.InputSignal<AccordionTogglePlacement | undefined>;
|
|
104
|
+
readonly headingLevel: _angular_core.InputSignal<AccordionHeadingLevel | undefined>;
|
|
105
|
+
readonly mount: _angular_core.InputSignal<AccordionMount | undefined>;
|
|
106
|
+
readonly truncate: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
107
|
+
readonly loop: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* One output for one transition, carrying the reason and the event. `value`
|
|
110
|
+
* is the two-way half the ecosystem expects; this is the half a boolean
|
|
111
|
+
* cannot say.
|
|
112
|
+
*/
|
|
113
|
+
readonly valueChangeRequest: _angular_core.OutputEmitterRef<ChangeRequest<readonly string[]>>;
|
|
114
|
+
private readonly defaults;
|
|
115
|
+
private readonly host;
|
|
116
|
+
private readonly destroyRef;
|
|
117
|
+
readonly resolvedSize: _angular_core.Signal<AccordionSize>;
|
|
118
|
+
readonly resolvedVariant: _angular_core.Signal<AccordionVariant>;
|
|
119
|
+
readonly resolvedIndicator: _angular_core.Signal<AccordionIndicator>;
|
|
120
|
+
readonly resolvedTogglePlacement: _angular_core.Signal<AccordionTogglePlacement>;
|
|
121
|
+
readonly resolvedHeadingLevel: _angular_core.Signal<AccordionHeadingLevel>;
|
|
122
|
+
readonly resolvedMount: _angular_core.Signal<AccordionMount>;
|
|
123
|
+
readonly resolvedTruncate: _angular_core.Signal<boolean>;
|
|
124
|
+
readonly resolvedLoop: _angular_core.Signal<boolean>;
|
|
125
|
+
readonly resolvedMultiple: _angular_core.Signal<boolean>;
|
|
126
|
+
readonly resolvedRequireOpen: _angular_core.Signal<boolean>;
|
|
127
|
+
/** The variant this set hands each of its items, which is not always its own. */
|
|
128
|
+
readonly itemVariant: _angular_core.Signal<"plain" | "ruled" | "framed">;
|
|
129
|
+
constructor();
|
|
130
|
+
private options;
|
|
131
|
+
/** Whether this value is one of the open ones. */
|
|
132
|
+
holds(value: string): boolean;
|
|
133
|
+
/** Whether this value is open and the set refuses to let it close. */
|
|
134
|
+
isHeld(value: string): boolean;
|
|
135
|
+
/** Asks the set to open or close one value. */
|
|
136
|
+
toggle(value: string, reason: AccordionSelectionReason, source?: Event): void;
|
|
137
|
+
/**
|
|
138
|
+
* Opens every item that is not disabled. It is Angular Material's `openAll`,
|
|
139
|
+
* and it is reached through `exportAs` rather than through a handle.
|
|
140
|
+
*/
|
|
141
|
+
openAll(): void;
|
|
142
|
+
/** Closes every item, unless `requireOpen` holds the last one. */
|
|
143
|
+
closeAll(): void;
|
|
144
|
+
/**
|
|
145
|
+
* The items, read from the DOM rather than from a registry. It is the one
|
|
146
|
+
* order that is never stale, and it is how `tabs` reads its own collection.
|
|
147
|
+
*/
|
|
148
|
+
private items;
|
|
149
|
+
private commit;
|
|
150
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlAccordion, never>;
|
|
151
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlAccordion, "[slAccordion]", ["slAccordion"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "requireOpen": { "alias": "requireOpen"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "togglePlacement": { "alias": "togglePlacement"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; "mount": { "alias": "mount"; "required": false; "isSignal": true; }; "truncate": { "alias": "truncate"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "valueChangeRequest": "valueChangeRequest"; }, never, ["*"], true, never>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export { ACCORDION_DEFAULTS, ACCORDION_TRIGGER_SELECTOR, SlAccordion, SlAccordionIdFactory, injectAccordionDefaults, provideAccordionDefaults };
|
|
155
|
+
export type { AccordionDefaults, AccordionHeadingLevel, AccordionIndicator, AccordionMount, AccordionSelectionReason, AccordionSize, AccordionTogglePlacement, AccordionVariant };
|
|
156
|
+
//# sourceMappingURL=slotted-angular-accordion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-accordion.d.ts","sources":["../../accordion/src/accordion-defaults.ts","../../accordion/src/accordion.ts"],"mappings":";;;;AAEA;AACM,KAAM,aAAa;AAEzB;;;;AAIG;AACG,KAAM,gBAAgB;AAE5B;AACM,KAAM,kBAAkB;AAE9B;KACY,wBAAwB;AAEpC;;;AAGG;KACS,qBAAqB;AAEjC;AACM,KAAM,cAAc;AAE1B;AACM,KAAM,wBAAwB;UAEnB,iBAAiB;kBAClB,qBAAqB;eACxB,kBAAkB;;WAEtB,cAAc;;;UAGf,aAAa;qBACF,wBAAwB;;aAEhC,gBAAgB;AAC1B;AAeD,cAAa,kBAAkB,EAAA,cAAA,CAAA,iBAAA;AAK/B;;;;AAIG;AACH,iBAAgB,wBAAwB,WAAW,OAAO,CAAC,iBAAiB;;sBAGxD,iBAAiB;AAEpC;AAED;AACA,iBAAgB,uBAAuB,IAAI,iBAAiB;AAI5D;;;;;AAKG;AACH,cACa,oBAAoB;;;oDAApB,oBAAoB;;AAOhC;;ACnDD;;;;AAIG;AACH,cAAa,0BAA0B;AAWvC;;;;;;;;;;;;;;;;;;;AAmBG;AACH,cAgBa,WAAW;;oBAER,aAAA,CAAA,WAAA;uBACG,aAAA,CAAA,wBAAA;AACjB;;;;AAIG;0BACiB,aAAA,CAAA,wBAAA;uBACH,aAAA,CAAA,wBAAA;mBACJ,aAAA,CAAA,WAAA,CAAA,aAAA;sBACG,aAAA,CAAA,WAAA,CAAA,gBAAA;wBACE,aAAA,CAAA,WAAA,CAAA,kBAAA;8BACM,aAAA,CAAA,WAAA,CAAA,wBAAA;2BACH,aAAA,CAAA,WAAA,CAAA,qBAAA;oBACP,aAAA,CAAA,WAAA,CAAA,cAAA;uBACG,aAAA,CAAA,wBAAA;mBAGJ,aAAA,CAAA,wBAAA;AAIb;;;;AAIG;iCACwB,aAAA,CAAA,gBAAA,CAAA,aAAA;AAE3B;AACA;AACA;2BAEqB,aAAA,CAAA,MAAA,CAAA,aAAA;8BACG,aAAA,CAAA,MAAA,CAAA,gBAAA;gCACE,aAAA,CAAA,MAAA,CAAA,kBAAA;sCACM,aAAA,CAAA,MAAA,CAAA,wBAAA;mCAGH,aAAA,CAAA,MAAA,CAAA,qBAAA;4BACP,aAAA,CAAA,MAAA,CAAA,cAAA;+BACG,aAAA,CAAA,MAAA;2BACJ,aAAA,CAAA,MAAA;+BACI,aAAA,CAAA,MAAA;kCACG,aAAA,CAAA,MAAA;;0BAGR,aAAA,CAAA,MAAA;;AAuBpB;;AAKA;;AAKA;;AAKA,kCAA8B,wBAAwB,WAAW,KAAK;AAMtE;;;AAGG;;;;AAkBH;;;AAGG;AACH;AAIA;oDA1HW,WAAW;sDAAX,WAAW;AA4IvB;;","names":[]}
|
|
@@ -0,0 +1,291 @@
|
|
|
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
|
+
/** Whether the bar paints a ground and a rule of its own. */
|
|
6
|
+
type ActionBarVariant = 'plain' | 'raised';
|
|
7
|
+
/** The step the bar's own inset, gap and separator sit at. */
|
|
8
|
+
type ActionBarSize = 'sm' | 'md' | 'lg';
|
|
9
|
+
/** Where the run of actions sits in the room left after the status. */
|
|
10
|
+
type ActionBarAlign = 'end' | 'start' | 'center';
|
|
11
|
+
/**
|
|
12
|
+
* Where an action stands in the order of giving way.
|
|
13
|
+
*
|
|
14
|
+
* The five are adapted from `sap.m.OverflowToolbarPriority`, and they exist here
|
|
15
|
+
* and not in `toolbar` because the two bars read in opposite directions. In a
|
|
16
|
+
* bar of tools the first control is the most used, so giving way from the end
|
|
17
|
+
* gives up the least used one. In a bar of actions the action that confirms is
|
|
18
|
+
* at the **end** of the line, so giving way from the end would give up Save
|
|
19
|
+
* first.
|
|
20
|
+
*
|
|
21
|
+
* - `pinned` never gives way.
|
|
22
|
+
* - `high` gives way after `low` and `hide`, into the surface.
|
|
23
|
+
* - `low` is the first rank to reach the surface, and the default for an action
|
|
24
|
+
* that declares a counterpart.
|
|
25
|
+
* - `hide` gives way before every other rank and is **not** offered in the
|
|
26
|
+
* surface: a control that is not worth a row in a menu.
|
|
27
|
+
* - `always` is never drawn in the bar; its counterpart is in the surface from
|
|
28
|
+
* the start.
|
|
29
|
+
*/
|
|
30
|
+
type ActionBarPriority = 'pinned' | 'high' | 'low' | 'hide' | 'always';
|
|
31
|
+
interface ActionBarDefaults {
|
|
32
|
+
align: ActionBarAlign;
|
|
33
|
+
size: ActionBarSize;
|
|
34
|
+
sticky: boolean;
|
|
35
|
+
variant: ActionBarVariant;
|
|
36
|
+
}
|
|
37
|
+
declare const ACTION_BAR_DEFAULTS: InjectionToken<ActionBarDefaults>;
|
|
38
|
+
/**
|
|
39
|
+
* An application decides once how its action bars are drawn — a product whose
|
|
40
|
+
* bars are all raised, compact and stuck to the bottom of the page says so in
|
|
41
|
+
* one place rather than on every bar. A bar that states any of them itself
|
|
42
|
+
* still wins.
|
|
43
|
+
*/
|
|
44
|
+
declare function provideActionBarDefaults(defaults: Partial<ActionBarDefaults>): {
|
|
45
|
+
provide: InjectionToken<ActionBarDefaults>;
|
|
46
|
+
useFactory: () => ActionBarDefaults;
|
|
47
|
+
};
|
|
48
|
+
/** What a bar renders as here, before it states anything of its own. */
|
|
49
|
+
declare function injectActionBarDefaults(): ActionBarDefaults;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* The accessible name of the control that holds what did not fit. A string is
|
|
53
|
+
* used verbatim; a function is given the number of actions behind the control,
|
|
54
|
+
* because three dots say nothing about how much is behind them.
|
|
55
|
+
*/
|
|
56
|
+
type ActionBarOverflowLabel = string | ((hidden: number) => string);
|
|
57
|
+
/** One action the surface holds, in the order the bar holds it. */
|
|
58
|
+
interface ActionBarSurfaceUnit {
|
|
59
|
+
readonly id: string;
|
|
60
|
+
readonly separatorBefore: boolean;
|
|
61
|
+
}
|
|
62
|
+
/** The attribute that says an action has somewhere to go. */
|
|
63
|
+
declare const ACTION_BAR_UNIT_ATTRIBUTE = "data-unit";
|
|
64
|
+
/** The attribute the measurement reads a rank from. */
|
|
65
|
+
declare const ACTION_BAR_PRIORITY_ATTRIBUTE = "data-priority";
|
|
66
|
+
/**
|
|
67
|
+
* The custom property the stacking query raises, read back by the measurement.
|
|
68
|
+
*
|
|
69
|
+
* The breakpoint is literal because `@container (width < var(--x))` is invalid,
|
|
70
|
+
* and it is written once — in the stylesheet. The binding asks CSS what it
|
|
71
|
+
* decided rather than comparing widths of its own, so the layout and the
|
|
72
|
+
* measurement cannot disagree about where the bar becomes a column.
|
|
73
|
+
*/
|
|
74
|
+
declare const ACTION_BAR_STACK_PROPERTY = "--_stacked";
|
|
75
|
+
/**
|
|
76
|
+
* Where each rank stands in the order of giving way: the lowest goes first, and
|
|
77
|
+
* position decides inside one rank.
|
|
78
|
+
*/
|
|
79
|
+
declare const ACTION_BAR_RANK: Readonly<Record<ActionBarPriority, number>>;
|
|
80
|
+
/**
|
|
81
|
+
* The actions that finish a task on a page or in a panel.
|
|
82
|
+
*
|
|
83
|
+
* **It is not a composite.** `Tab` reaches every action, in the order the author
|
|
84
|
+
* wrote them, and the arrows are not bound. The controls here are the page's own
|
|
85
|
+
* form actions, and a reader walking a form expects to arrive at Cancel and then
|
|
86
|
+
* at Save; roving focus would make the whole bar one tab stop and put Save
|
|
87
|
+
* behind an arrow key that announces nothing. A strip of ten icon buttons is a
|
|
88
|
+
* `toolbar`, and that family binds the arrows against the APG.
|
|
89
|
+
*
|
|
90
|
+
* **What gives way is decided by rank, not by position**, which is the whole of
|
|
91
|
+
* why this family stands beside `toolbar` rather than configuring it.
|
|
92
|
+
*
|
|
93
|
+
* **The action that confirms does not move.** The run carries an `auto` margin
|
|
94
|
+
* against the bar's end edge, so a message appearing in the status, a button
|
|
95
|
+
* going busy and a permission filter removing a control all move what is
|
|
96
|
+
* *before* the last action and never the last action itself.
|
|
97
|
+
*/
|
|
98
|
+
declare class SlActionBar {
|
|
99
|
+
readonly variant: _angular_core.InputSignal<ActionBarVariant | undefined>;
|
|
100
|
+
readonly size: _angular_core.InputSignal<ActionBarSize | undefined>;
|
|
101
|
+
readonly align: _angular_core.InputSignal<ActionBarAlign | undefined>;
|
|
102
|
+
readonly sticky: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Whether the bar belongs on screen at all. A bulk bar exists while there is a
|
|
105
|
+
* selection and a contextual save bar while there are unsaved changes.
|
|
106
|
+
*
|
|
107
|
+
* It is an input rather than a two-way value: the bar never asks to appear or
|
|
108
|
+
* to leave, so there is nothing to cancel.
|
|
109
|
+
*/
|
|
110
|
+
readonly present: _angular_core.InputSignalWithTransform<boolean, string | boolean | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Reports how many actions gave way, once per change. The collapsed set is a
|
|
113
|
+
* measurement rather than a value, so there is no two-way binding over it.
|
|
114
|
+
*/
|
|
115
|
+
readonly overflowChange: _angular_core.OutputEmitterRef<number>;
|
|
116
|
+
private readonly defaults;
|
|
117
|
+
private readonly element;
|
|
118
|
+
/**
|
|
119
|
+
* A consumer who has ten icon-only actions and wants the composite may write
|
|
120
|
+
* `role="toolbar"` themselves, and what they wrote survives the host binding.
|
|
121
|
+
* The arrows are still not bound, so that consumer wants `toolbar`.
|
|
122
|
+
*/
|
|
123
|
+
private readonly statedRole;
|
|
124
|
+
private readonly counterparts;
|
|
125
|
+
private readonly trigger;
|
|
126
|
+
private readonly actions;
|
|
127
|
+
private readonly stacked;
|
|
128
|
+
private readonly ready;
|
|
129
|
+
private collapse;
|
|
130
|
+
/** What the surface holds: the collapsed actions and every `always` one. */
|
|
131
|
+
readonly surfaceUnits: _angular_core.WritableSignal<readonly ActionBarSurfaceUnit[]>;
|
|
132
|
+
readonly resolvedVariant: _angular_core.Signal<ActionBarVariant>;
|
|
133
|
+
readonly resolvedSize: _angular_core.Signal<ActionBarSize>;
|
|
134
|
+
readonly resolvedAlign: _angular_core.Signal<ActionBarAlign>;
|
|
135
|
+
readonly resolvedSticky: _angular_core.Signal<boolean>;
|
|
136
|
+
protected readonly role: _angular_core.Signal<string>;
|
|
137
|
+
private readonly status;
|
|
138
|
+
protected readonly mounted: _angular_core.Signal<boolean>;
|
|
139
|
+
protected readonly presenceAttribute: _angular_core.Signal<"entering" | "exiting" | null>;
|
|
140
|
+
protected readonly collapsedCount: _angular_core.Signal<string | null>;
|
|
141
|
+
/** Records what an action becomes in the surface. */
|
|
142
|
+
registerUnit(id: string, template: TemplateRef<unknown>): void;
|
|
143
|
+
releaseUnit(id: string): void;
|
|
144
|
+
counterpart(id: string): TemplateRef<unknown> | null;
|
|
145
|
+
/** The control that opens what did not fit. The bar measures it. */
|
|
146
|
+
registerTrigger(element: HTMLElement | null): void;
|
|
147
|
+
/** The run, which is the box the collapse measures rather than the root. */
|
|
148
|
+
registerActions(element: HTMLElement | null): void;
|
|
149
|
+
constructor();
|
|
150
|
+
/** Measures again, after the consumer changed something the DOM cannot report. */
|
|
151
|
+
refresh(): void;
|
|
152
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlActionBar, never>;
|
|
153
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlActionBar, "[slActionBar]", ["slActionBar"], { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "sticky": { "alias": "sticky"; "required": false; "isSignal": true; }; "present": { "alias": "present"; "required": false; "isSignal": true; }; }, { "overflowChange": "overflowChange"; }, never, ["*"], true, never>;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* The sentence at the start of the bar: a dirty-state marker, a timestamp, the
|
|
157
|
+
* count of what is selected and the control that selects the rest.
|
|
158
|
+
*
|
|
159
|
+
* It is a slot rather than a component: the library already has
|
|
160
|
+
* `inline-message`, `status-indicator` and `badge`, and `table` already owns the
|
|
161
|
+
* selection and its count.
|
|
162
|
+
*/
|
|
163
|
+
declare class SlActionBarStatus {
|
|
164
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlActionBarStatus, never>;
|
|
165
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlActionBarStatus, "[slActionBarStatus]", ["slActionBarStatus"], {}, {}, never, never, true, never>;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The run of actions, and the box the collapse measures.
|
|
169
|
+
*
|
|
170
|
+
* It is the run rather than the root, because the root is the query container
|
|
171
|
+
* and a container is a container for its descendants and not for itself — so the
|
|
172
|
+
* rule that turns the run into a column has to reach a descendant.
|
|
173
|
+
*/
|
|
174
|
+
declare class SlActionBarActions {
|
|
175
|
+
private readonly bar;
|
|
176
|
+
constructor();
|
|
177
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlActionBarActions, never>;
|
|
178
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlActionBarActions, "[slActionBarActions]", ["slActionBarActions"], {}, {}, never, never, true, never>;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* One action the bar may give up, its rank, and what it becomes when it goes.
|
|
182
|
+
*
|
|
183
|
+
* The rank and the counterpart are one fact seen from two sides. A control with
|
|
184
|
+
* nothing to become in the surface is pinned — it has nowhere to go, which is
|
|
185
|
+
* why the action that confirms stays visible — and a rank that needs somewhere
|
|
186
|
+
* to go and has nowhere behaves as pinned too, so a consumer error leaves the
|
|
187
|
+
* control on the bar rather than hiding it silently.
|
|
188
|
+
*/
|
|
189
|
+
declare class SlActionBarAction {
|
|
190
|
+
/**
|
|
191
|
+
* What the action becomes in the surface when the bar has no room for it.
|
|
192
|
+
*
|
|
193
|
+
* It is deliberately not called `overflow`: that word names what a container
|
|
194
|
+
* does with more content than it has room for, and one term with two meanings
|
|
195
|
+
* is the ambiguity the contract exists to prevent.
|
|
196
|
+
*/
|
|
197
|
+
readonly counterpart: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
|
|
198
|
+
/**
|
|
199
|
+
* Where this action stands in the order of giving way.
|
|
200
|
+
*
|
|
201
|
+
* It is the selector's own value, so the terse form reads as the sentence it
|
|
202
|
+
* is — `slActionBarAction="high"`. A bare `slActionBarAction` hands the
|
|
203
|
+
* directive an empty string, which is the attribute being present rather than
|
|
204
|
+
* a rank, and the transform reads it as unstated.
|
|
205
|
+
*/
|
|
206
|
+
readonly priority: _angular_core.InputSignalWithTransform<ActionBarPriority | undefined, "" | ActionBarPriority | undefined>;
|
|
207
|
+
private readonly bar;
|
|
208
|
+
private readonly identity;
|
|
209
|
+
protected readonly unitId: _angular_core.Signal<string | null>;
|
|
210
|
+
readonly resolvedPriority: _angular_core.Signal<ActionBarPriority>;
|
|
211
|
+
constructor();
|
|
212
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlActionBarAction, never>;
|
|
213
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlActionBarAction, "[slActionBarAction]", ["slActionBarAction"], { "counterpart": { "alias": "slActionBarActionCounterpart"; "required": false; "isSignal": true; }; "priority": { "alias": "slActionBarAction"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* A hairline between two runs of actions.
|
|
217
|
+
*
|
|
218
|
+
* It is the answer to the one line of `docs/component-features.md` §5 that names
|
|
219
|
+
* no mechanism: a destructive action does not sit flush against a frequent one.
|
|
220
|
+
* It is a part of this family rather than a `divider` because its geometry
|
|
221
|
+
* belongs to the bar.
|
|
222
|
+
*/
|
|
223
|
+
declare class SlActionBarSeparator {
|
|
224
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlActionBarSeparator, never>;
|
|
225
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SlActionBarSeparator, "[slActionBarSeparator]", ["slActionBarSeparator"], {}, {}, never, never, true, never>;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* The control that opens what did not fit, and the surface holding it.
|
|
230
|
+
*
|
|
231
|
+
* It is `menu`'s own trigger and surface wearing this family's geometry, so the
|
|
232
|
+
* keyboard, the dismissal and the focus return are `menu`'s and are not written
|
|
233
|
+
* twice. What this family adds is the measurement: the bar decides which actions
|
|
234
|
+
* give way, **by rank**, and the counterparts they declared are rendered here in
|
|
235
|
+
* the order the bar holds them — with a separator wherever one of the bar's own
|
|
236
|
+
* rules sits between two of them.
|
|
237
|
+
*
|
|
238
|
+
* The surface also holds every action ranked `always`, which was never drawn in
|
|
239
|
+
* the bar at all. A reader opening the menu sees one list, so the two sources
|
|
240
|
+
* are read together and in the bar's own order.
|
|
241
|
+
*
|
|
242
|
+
* The counterpart is an `ng-template` rendered through `NgTemplateOutlet` only
|
|
243
|
+
* while its action is in the surface, so a menu item that is never reached
|
|
244
|
+
* builds nothing. That is where the two bindings differ most, and it is idiom
|
|
245
|
+
* rather than asymmetry: React's `ReactNode` is built with the element that
|
|
246
|
+
* declares it, which is React's own answer and its own cost.
|
|
247
|
+
*
|
|
248
|
+
* **A template resolves its dependencies where it was written, not where it is
|
|
249
|
+
* rendered.** The counterpart is authored beside the control it replaces, which
|
|
250
|
+
* is outside the surface, so `slMenuItem` would look for the `SlMenu` above the
|
|
251
|
+
* bar and find none. The outlet is therefore given an injector that provides the
|
|
252
|
+
* surface this component draws.
|
|
253
|
+
*
|
|
254
|
+
* The host is `display: contents`, so the `button` below is a child of the run
|
|
255
|
+
* itself: the part that carries the geometry has to be the box the bar lays out.
|
|
256
|
+
*
|
|
257
|
+
* **The `hidden` attribute on the trigger belongs to the bar.** `createCollapse`
|
|
258
|
+
* writes it, because the same measurement that decides whether the control is
|
|
259
|
+
* needed is the one that has to reveal it to read its width.
|
|
260
|
+
*/
|
|
261
|
+
declare class SlActionBarOverflow {
|
|
262
|
+
/** Where the surface sits against the trigger. */
|
|
263
|
+
readonly align: _angular_core.InputSignal<MenuAlign | undefined>;
|
|
264
|
+
readonly side: _angular_core.InputSignal<MenuSide | undefined>;
|
|
265
|
+
/** The surface's own measure, which is `menu`'s axis rather than the bar's. */
|
|
266
|
+
readonly size: _angular_core.InputSignal<MenuSize | undefined>;
|
|
267
|
+
/**
|
|
268
|
+
* The accessible name. Defaults to a count — "3 more actions" — because the
|
|
269
|
+
* mark says nothing about how much is behind it.
|
|
270
|
+
*/
|
|
271
|
+
readonly label: _angular_core.InputSignal<ActionBarOverflowLabel | undefined>;
|
|
272
|
+
protected readonly bar: SlActionBar;
|
|
273
|
+
/** A name the consumer wrote on the host survives the counted default. */
|
|
274
|
+
private readonly stated;
|
|
275
|
+
protected readonly name: _angular_core.Signal<string>;
|
|
276
|
+
private readonly trigger;
|
|
277
|
+
private readonly surface;
|
|
278
|
+
private readonly injector;
|
|
279
|
+
/**
|
|
280
|
+
* `null` until the view exists, which is also while the surface holds nothing
|
|
281
|
+
* and the outlet renders nothing.
|
|
282
|
+
*/
|
|
283
|
+
protected readonly surfaceInjector: _angular_core.Signal<_angular_core.DestroyableInjector | null>;
|
|
284
|
+
constructor();
|
|
285
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlActionBarOverflow, never>;
|
|
286
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlActionBarOverflow, "sl-action-bar-overflow", ["slActionBarOverflow"], { "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>;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export { ACTION_BAR_DEFAULTS, ACTION_BAR_PRIORITY_ATTRIBUTE, ACTION_BAR_RANK, ACTION_BAR_STACK_PROPERTY, ACTION_BAR_UNIT_ATTRIBUTE, SlActionBar, SlActionBarAction, SlActionBarActions, SlActionBarOverflow, SlActionBarSeparator, SlActionBarStatus, injectActionBarDefaults, provideActionBarDefaults };
|
|
290
|
+
export type { ActionBarAlign, ActionBarDefaults, ActionBarOverflowLabel, ActionBarPriority, ActionBarSize, ActionBarSurfaceUnit, ActionBarVariant };
|
|
291
|
+
//# sourceMappingURL=slotted-angular-action-bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-action-bar.d.ts","sources":["../../action-bar/src/action-bar-defaults.ts","../../action-bar/src/action-bar.ts","../../action-bar/src/action-bar-overflow.ts"],"mappings":";;;;AAEA;KACY,gBAAgB;AAE5B;AACM,KAAM,aAAa;AAEzB;AACM,KAAM,cAAc;AAE1B;;;;;;;;;;;;;;;;;;AAkBG;AACG,KAAM,iBAAiB;UAEZ,iBAAiB;WACzB,cAAc;UACf,aAAa;;aAEV,gBAAgB;AAC1B;AASD,cAAa,mBAAmB,EAAA,cAAA,CAAA,iBAAA;AAKhC;;;;;AAKG;AACH,iBAAgB,wBAAwB,WAAW,OAAO,CAAC,iBAAiB;;sBAGxD,iBAAiB;AAEpC;AAED;AACA,iBAAgB,uBAAuB,IAAI,iBAAiB;;ACxB5D;;;;AAIG;AACG,KAAM,sBAAsB;AAElC;UACiB,oBAAoB;AACnC;AACA;AACD;AAED;AACA,cAAa,yBAAyB;AAEtC;AACA,cAAa,6BAA6B;AAE1C;;;;;;;AAOG;AACH,cAAa,yBAAyB;AAEtC;;;AAGG;AACH,cAAa,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,iBAAiB;AAyE/D;;;;;;;;;;;;;;;;;AAiBG;AACH,cAsBa,WAAW;sBACN,aAAA,CAAA,WAAA,CAAA,gBAAA;mBACH,aAAA,CAAA,WAAA,CAAA,aAAA;oBACC,aAAA,CAAA,WAAA,CAAA,cAAA;qBACC,aAAA,CAAA,wBAAA;AAGf;;;;;;AAMG;sBACa,aAAA,CAAA,wBAAA;AAIhB;;;AAGG;6BACoB,aAAA,CAAA,gBAAA;AAEvB;AACA;AAEA;;;;AAIG;AACH;AAEA;AACA;AACA;AACA;AACA;;;2BAIqB,aAAA,CAAA,cAAA,UAAA,oBAAA;8BAEG,aAAA,CAAA,MAAA,CAAA,gBAAA;2BACH,aAAA,CAAA,MAAA,CAAA,aAAA;4BACC,aAAA,CAAA,MAAA,CAAA,cAAA;6BACC,aAAA,CAAA,MAAA;AAEvB,6BAAuB,aAAA,CAAA,MAAA;AAEvB;AACA,gCAA0B,aAAA,CAAA,MAAA;AAC1B,0CAAoC,aAAA,CAAA,MAAA;AAKpC,uCAAiC,aAAA,CAAA,MAAA;;uCAKE,WAAW;;6BAYxB,WAAA;;AAKtB,6BAAyB,WAAW;;AAKpC,6BAAyB,WAAW;;;;oDArFzB,WAAW;sDAAX,WAAW;AAqNvB;AAED;;;;;;;AAOG;AACH,cAMa,iBAAiB;oDAAjB,iBAAiB;sDAAjB,iBAAiB;AAAG;AAEjC;;;;;;AAMG;AACH,cAMa,kBAAkB;AAC7B;;oDADW,kBAAkB;sDAAlB,kBAAkB;AAQ9B;AAED;;;;;;;;AAQG;AACH,cAWa,iBAAiB;AAC5B;;;;;;AAMG;0BACiB,aAAA,CAAA,WAAA,CAAA,WAAA;AAIpB;;;;;;;AAOG;uBACc,aAAA,CAAA,wBAAA,CAAA,iBAAA,mBAAA,iBAAA;AAKjB;AACA;AAEA,+BAAyB,aAAA,CAAA,MAAA;+BAIA,aAAA,CAAA,MAAA,CAAA,iBAAA;;oDAhCd,iBAAiB;sDAAjB,iBAAiB;AAmD7B;AAID;;;;;;;AAOG;AACH,cAMa,oBAAoB;oDAApB,oBAAoB;sDAApB,oBAAoB;AAAG;;AC5fpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCG;AACH,cA4Ba,mBAAmB;;oBAEhB,aAAA,CAAA,WAAA,CAAA,SAAA;mBACD,aAAA,CAAA,WAAA,CAAA,QAAA;;mBAEA,aAAA,CAAA,WAAA,CAAA,QAAA;AACb;;;AAGG;oBACW,aAAA,CAAA,WAAA,CAAA,sBAAA;AAEd,4BAAsB,WAAA;;AAGtB;AAEA,6BAAuB,aAAA,CAAA,MAAA;AASvB;AACA;AACA;AAEA;;;AAGG;AACH,wCAAkC,aAAA,CAAA,MAAA,CAAA,aAAA,CAAA,mBAAA;;oDAlCvB,mBAAmB;sDAAnB,mBAAmB;AAiE/B;;","names":[]}
|