@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,390 @@
|
|
|
1
|
+
import * as _slotted_core_i18n from '@slotted/core/i18n';
|
|
2
|
+
import { FamilyTranslator, ButtonMessages, PartialMessages } from '@slotted/core/i18n';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { InjectionToken, Signal, AfterViewInit } from '@angular/core';
|
|
5
|
+
import { ChangeRequest } from '@slotted/core/state';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The five colours are tones in `docs/token-foundation.md`, so the axis that
|
|
9
|
+
* selects one is `tone`. `variant` names what it actually selects: how the
|
|
10
|
+
* chosen tone is painted.
|
|
11
|
+
*/
|
|
12
|
+
declare const BUTTON_TONES: readonly ["accent", "secondary", "success", "warning", "danger"];
|
|
13
|
+
declare const BUTTON_VARIANTS: readonly ["solid", "outline", "ghost"];
|
|
14
|
+
declare const BUTTON_SIZES: readonly ["sm", "md", "lg"];
|
|
15
|
+
declare const BUTTON_SHAPES: readonly ["square", "circle"];
|
|
16
|
+
type ButtonTone = (typeof BUTTON_TONES)[number];
|
|
17
|
+
type ButtonVariant = (typeof BUTTON_VARIANTS)[number];
|
|
18
|
+
type ButtonSize = (typeof BUTTON_SIZES)[number];
|
|
19
|
+
type ButtonShape = (typeof BUTTON_SHAPES)[number];
|
|
20
|
+
type ButtonType = 'button' | 'submit' | 'reset';
|
|
21
|
+
|
|
22
|
+
/** A state attribute is present or absent; it never carries a value. */
|
|
23
|
+
declare function stateAttribute(active: boolean): "" | null;
|
|
24
|
+
declare function blockActivation(event: Event): void;
|
|
25
|
+
interface InertInputs {
|
|
26
|
+
disabled: Signal<boolean>;
|
|
27
|
+
focusableWhenDisabled: Signal<boolean>;
|
|
28
|
+
loading: Signal<boolean>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Being unavailable and being unreachable are two decisions the platform only
|
|
32
|
+
* offers together. `disabled` takes the control out of the tab sequence, which
|
|
33
|
+
* takes its tooltip and its explanation with it; `aria-disabled` announces the
|
|
34
|
+
* same thing and leaves it reachable, at the price of a refusal the family has
|
|
35
|
+
* to enforce itself.
|
|
36
|
+
*
|
|
37
|
+
* A waiting control is always the second kind. React Aria's pending button and
|
|
38
|
+
* Primer's loading button agree: focus must survive an action the person just
|
|
39
|
+
* started, or the keyboard lands somewhere else mid-task.
|
|
40
|
+
*/
|
|
41
|
+
declare function resolveInertness(inputs: InertInputs): {
|
|
42
|
+
refuses: Signal<boolean>;
|
|
43
|
+
nativelyDisabled: Signal<boolean>;
|
|
44
|
+
ariaDisabled: Signal<"true" | null>;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Whether the ring is drawn yet. The wait itself starts at once — the
|
|
48
|
+
* activation is refused from the first millisecond — but a spinner shown for
|
|
49
|
+
* ninety of them is a flash rather than a status, so the picture can lag the
|
|
50
|
+
* state by as long as the consumer says.
|
|
51
|
+
*/
|
|
52
|
+
declare function resolveLoadingIndicator(loading: Signal<boolean>, loadingDelay: Signal<number>): Signal<boolean>;
|
|
53
|
+
/**
|
|
54
|
+
* What the member is waiting for, published to the visual slots it projects.
|
|
55
|
+
* A slot is written by the consumer on the consumer's own element, so the
|
|
56
|
+
* button cannot reach into it: it tells the slot instead, and the slot draws
|
|
57
|
+
* the ring over the glyph it holds.
|
|
58
|
+
*/
|
|
59
|
+
interface ButtonWait {
|
|
60
|
+
readonly waiting: Signal<boolean>;
|
|
61
|
+
/** The family's words in the language in force; the ring is named by `loading`. */
|
|
62
|
+
readonly t: FamilyTranslator<ButtonMessages>;
|
|
63
|
+
/**
|
|
64
|
+
* Whether the control has a start slot. The ring takes the first visual slot
|
|
65
|
+
* the control has, and the two slots are siblings — a sibling cannot be
|
|
66
|
+
* injected — so the member that owns both answers for them.
|
|
67
|
+
*/
|
|
68
|
+
readonly hasStart: Signal<boolean>;
|
|
69
|
+
}
|
|
70
|
+
declare const BUTTON_WAIT: InjectionToken<ButtonWait>;
|
|
71
|
+
/**
|
|
72
|
+
* Markers rather than wrappers. The part attribute lands on the element the
|
|
73
|
+
* consumer already wrote, so an absent icon leaves no empty box behind and the
|
|
74
|
+
* rendered tree matches the React binding's exactly.
|
|
75
|
+
*
|
|
76
|
+
* They are components rather than directives because a slot has one thing to
|
|
77
|
+
* render of its own: the ring that stands in for its glyph while the control
|
|
78
|
+
* waits. The glyph is projected under it and fades; it is not taken out, both
|
|
79
|
+
* because Angular cannot take back content the consumer projected and because
|
|
80
|
+
* an element that leaves the flow can move what is beside it.
|
|
81
|
+
*/
|
|
82
|
+
declare class SlButtonStart {
|
|
83
|
+
protected readonly wait: ButtonWait | null;
|
|
84
|
+
protected readonly drawsRing: Signal<boolean>;
|
|
85
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlButtonStart, never>;
|
|
86
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButtonStart, "[slButtonStart]", ["slButtonStart"], {}, {}, never, ["*"], true, never>;
|
|
87
|
+
}
|
|
88
|
+
declare class SlButtonEnd {
|
|
89
|
+
protected readonly wait: ButtonWait | null;
|
|
90
|
+
/**
|
|
91
|
+
* The ring takes the first visual slot the control has, so an end slot draws
|
|
92
|
+
* it only when there is no start slot to take it.
|
|
93
|
+
*/
|
|
94
|
+
protected readonly drawsRing: Signal<boolean>;
|
|
95
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlButtonEnd, never>;
|
|
96
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButtonEnd, "[slButtonEnd]", ["slButtonEnd"], {}, {}, never, ["*"], true, never>;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* A momentary action. Persistent state belongs to SlToggleButton, and
|
|
101
|
+
* navigation to SlButtonLink, so this member never grows an `aria-pressed` or
|
|
102
|
+
* an `href`.
|
|
103
|
+
*
|
|
104
|
+
* There is no `render` input, and there is no need for one: the component is a
|
|
105
|
+
* directive on the element the consumer wrote, so substituting the element is
|
|
106
|
+
* something the consumer does by writing a different one.
|
|
107
|
+
*/
|
|
108
|
+
declare class SlButton implements ButtonWait {
|
|
109
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
110
|
+
/**
|
|
111
|
+
* Keeps an unavailable control in the tab sequence, announcing
|
|
112
|
+
* `aria-disabled` instead of carrying the attribute that removes it. The
|
|
113
|
+
* activation is refused either way.
|
|
114
|
+
*/
|
|
115
|
+
readonly focusableWhenDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
116
|
+
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
117
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
118
|
+
/** How long the wait lasts before the ring is drawn. The refusal is immediate. */
|
|
119
|
+
readonly loadingDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
120
|
+
/**
|
|
121
|
+
* Words laid over the catalog of the language in force, key by key: what the
|
|
122
|
+
* ring announces itself as (`loading`). It is a progress bar, so it has a name.
|
|
123
|
+
*/
|
|
124
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<ButtonMessages> | undefined>;
|
|
125
|
+
/** The family's words in the language in force, with this button's `messages` laid over them. */
|
|
126
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<ButtonMessages>;
|
|
127
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
128
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
129
|
+
readonly type: _angular_core.InputSignal<ButtonType>;
|
|
130
|
+
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
131
|
+
readonly stateAttribute: typeof stateAttribute;
|
|
132
|
+
protected readonly appearance: {
|
|
133
|
+
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
134
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
135
|
+
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
136
|
+
};
|
|
137
|
+
protected readonly inert: {
|
|
138
|
+
refuses: _angular_core.Signal<boolean>;
|
|
139
|
+
nativelyDisabled: _angular_core.Signal<boolean>;
|
|
140
|
+
ariaDisabled: _angular_core.Signal<"true" | null>;
|
|
141
|
+
};
|
|
142
|
+
readonly waiting: _angular_core.Signal<boolean>;
|
|
143
|
+
private readonly start;
|
|
144
|
+
private readonly end;
|
|
145
|
+
readonly hasStart: _angular_core.Signal<boolean>;
|
|
146
|
+
/**
|
|
147
|
+
* A control with a visual slot gives the ring that box, and the slot draws
|
|
148
|
+
* it. Only a control with neither draws one of its own, centred over the
|
|
149
|
+
* label the stylesheet then fades.
|
|
150
|
+
*/
|
|
151
|
+
protected readonly hasVisualSlot: _angular_core.Signal<boolean>;
|
|
152
|
+
/**
|
|
153
|
+
* The capture phase, because a control that is unavailable or still working
|
|
154
|
+
* must refuse the activation before any listener the consumer attached to it
|
|
155
|
+
* can run — including the submit a `type="submit"` button would perform while
|
|
156
|
+
* it keeps its place in the tab sequence.
|
|
157
|
+
*/
|
|
158
|
+
constructor();
|
|
159
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlButton, never>;
|
|
160
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButton, "button[slButton]", ["slButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["start", "end"], ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Navigation wearing the action surface. The element is an `a`, so activation,
|
|
165
|
+
* the context menu and every modified click stay the platform's, and Space
|
|
166
|
+
* does not activate it because Space does not activate a link. `routerLink`
|
|
167
|
+
* works on it for the same reason: the component is a directive on the
|
|
168
|
+
* consumer's own anchor.
|
|
169
|
+
*
|
|
170
|
+
* A disabled link keeps no `href`. An anchor that keeps its destination and
|
|
171
|
+
* only blocks `click` still navigates on a middle click and on a modified
|
|
172
|
+
* click; taking the destination away is what actually disables it. It stays in
|
|
173
|
+
* the tab sequence with `role="link"` and `aria-disabled`, because a control a
|
|
174
|
+
* keyboard user cannot reach is one they cannot discover is unavailable.
|
|
175
|
+
*/
|
|
176
|
+
declare class SlButtonLink {
|
|
177
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
178
|
+
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
179
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
180
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
181
|
+
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* The destination, when the anchor is not driven by a router. A `routerLink`
|
|
184
|
+
* on the same element writes the `href` itself, and this input stays unset.
|
|
185
|
+
*/
|
|
186
|
+
readonly href: _angular_core.InputSignal<string | undefined>;
|
|
187
|
+
readonly stateAttribute: typeof stateAttribute;
|
|
188
|
+
protected readonly appearance: {
|
|
189
|
+
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
190
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
191
|
+
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* A disabled link keeps its place in the tab sequence: without an `href` the
|
|
195
|
+
* anchor would drop out of it, so the zero is stated rather than inherited.
|
|
196
|
+
*/
|
|
197
|
+
readonly tabIndex: _angular_core.Signal<0 | null>;
|
|
198
|
+
constructor();
|
|
199
|
+
private refuse;
|
|
200
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlButtonLink, never>;
|
|
201
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlButtonLink, "a[slButtonLink]", ["slButtonLink"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; }, {}, never, ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* What a button paints itself as here, before it states anything of its own.
|
|
206
|
+
*
|
|
207
|
+
* Every axis is optional, and that is the difference from a family with one
|
|
208
|
+
* member. The four members disagree about their own defaults on purpose — a
|
|
209
|
+
* primary action is accent and solid, an icon button is neutral and ghost — so
|
|
210
|
+
* a token that filled every axis would flatten them into one appearance the
|
|
211
|
+
* moment an application set a single value.
|
|
212
|
+
*/
|
|
213
|
+
interface ButtonDefaults {
|
|
214
|
+
/**
|
|
215
|
+
* Absence is written explicitly rather than left to the optional marker.
|
|
216
|
+
* Under `exactOptionalPropertyTypes` the two are not interchangeable, and an
|
|
217
|
+
* unset axis has to be expressible by a value as well as by a missing key —
|
|
218
|
+
* a provider that computes its defaults cannot omit a property.
|
|
219
|
+
*/
|
|
220
|
+
size?: ButtonSize | undefined;
|
|
221
|
+
tone?: ButtonTone | undefined;
|
|
222
|
+
variant?: ButtonVariant | undefined;
|
|
223
|
+
}
|
|
224
|
+
declare const BUTTON_DEFAULTS_TOKEN: InjectionToken<ButtonDefaults>;
|
|
225
|
+
/**
|
|
226
|
+
* An application decides once how its actions are painted and how large they
|
|
227
|
+
* are, rather than repeating three inputs on every button. A button that states
|
|
228
|
+
* an axis itself still wins: an explicit input is never overridden by the
|
|
229
|
+
* token.
|
|
230
|
+
*/
|
|
231
|
+
declare function provideButtonDefaults(defaults: ButtonDefaults): {
|
|
232
|
+
provide: InjectionToken<ButtonDefaults>;
|
|
233
|
+
useValue: ButtonDefaults;
|
|
234
|
+
};
|
|
235
|
+
declare function injectButtonDefaults(): ButtonDefaults;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* The same control as SlButton with no room for a label, so the accessible
|
|
239
|
+
* name is an explicit attribute, checked in development because an attribute
|
|
240
|
+
* cannot be made mandatory by a template.
|
|
241
|
+
*
|
|
242
|
+
* It takes `pressed` directly instead of being paired with a toggle component
|
|
243
|
+
* of its own: its name is already an attribute that must not change with the
|
|
244
|
+
* state, so toggling adds no obligation a separate component would exist to
|
|
245
|
+
* enforce. `aria-pressed` appears only once the consumer opts in.
|
|
246
|
+
*
|
|
247
|
+
* The glyph's own box holds the ring while the control waits: it is already
|
|
248
|
+
* the size of the ring, so nothing moves, and the glyph is the one thing this
|
|
249
|
+
* member can afford to hide, because it carries no name.
|
|
250
|
+
*/
|
|
251
|
+
declare class SlIconButton implements AfterViewInit {
|
|
252
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
253
|
+
readonly focusableWhenDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
254
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
255
|
+
readonly loadingDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
256
|
+
/**
|
|
257
|
+
* Words laid over the catalog of the language in force, key by key: what the
|
|
258
|
+
* ring announces itself as (`loading`). It is a progress bar, so it has a name.
|
|
259
|
+
*/
|
|
260
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<ButtonMessages> | undefined>;
|
|
261
|
+
/** The family's words in the language in force, with this button's `messages` laid over them. */
|
|
262
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<ButtonMessages>;
|
|
263
|
+
readonly shape: _angular_core.InputSignal<"square" | "circle">;
|
|
264
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
265
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
266
|
+
readonly type: _angular_core.InputSignal<ButtonType>;
|
|
267
|
+
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
268
|
+
/** Present means controlled, for the life of the component. */
|
|
269
|
+
readonly pressed: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
270
|
+
readonly defaultPressed: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
271
|
+
/**
|
|
272
|
+
* One output for one transition, carrying the value, the value it replaces,
|
|
273
|
+
* the reason, the originating event and `cancel()`. There is no `[(pressed)]`
|
|
274
|
+
* because a two-way binding has one slot and can carry none of those.
|
|
275
|
+
*/
|
|
276
|
+
readonly pressedChange: _angular_core.OutputEmitterRef<ChangeRequest<boolean>>;
|
|
277
|
+
readonly stateAttribute: typeof stateAttribute;
|
|
278
|
+
protected readonly appearance: {
|
|
279
|
+
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
280
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
281
|
+
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
282
|
+
};
|
|
283
|
+
protected readonly inert: {
|
|
284
|
+
refuses: _angular_core.Signal<boolean>;
|
|
285
|
+
nativelyDisabled: _angular_core.Signal<boolean>;
|
|
286
|
+
ariaDisabled: _angular_core.Signal<"true" | null>;
|
|
287
|
+
};
|
|
288
|
+
readonly waiting: _angular_core.Signal<boolean>;
|
|
289
|
+
private readonly state;
|
|
290
|
+
readonly isPressed: _angular_core.Signal<boolean>;
|
|
291
|
+
/**
|
|
292
|
+
* Whether the consumer opted into the toggle capability at all. Passing
|
|
293
|
+
* either half of the state model is the opt-in, in both bindings: an icon
|
|
294
|
+
* button that announced `aria-pressed` without one would be announcing a
|
|
295
|
+
* state it does not have.
|
|
296
|
+
*/
|
|
297
|
+
readonly toggles: _angular_core.Signal<boolean>;
|
|
298
|
+
private readonly element;
|
|
299
|
+
private readonly destroyRef;
|
|
300
|
+
/**
|
|
301
|
+
* The capture phase, because a control that is unavailable or still working
|
|
302
|
+
* must refuse the activation before any listener the consumer attached to it
|
|
303
|
+
* can run.
|
|
304
|
+
*/
|
|
305
|
+
constructor();
|
|
306
|
+
ngAfterViewInit(): void;
|
|
307
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlIconButton, never>;
|
|
308
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlIconButton, "button[slIconButton]", ["slIconButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; }, { "pressedChange": "pressedChange"; }, never, ["*"], true, never>;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* A two-state action. The APG is explicit that the label of a toggle must not
|
|
313
|
+
* change with its state — "Mute" stays "Mute" and the state is announced
|
|
314
|
+
* beside it — so this is a component of its own rather than an input on
|
|
315
|
+
* SlButton: reaching for it is what makes that obligation visible.
|
|
316
|
+
*
|
|
317
|
+
* It waits, because a toggle that persists is the common one: "Follow",
|
|
318
|
+
* "Subscribe" and "Watch" all reach a server before the state is true. While
|
|
319
|
+
* it waits it holds the state it still has, so the person is never shown a
|
|
320
|
+
* value that has not been agreed to.
|
|
321
|
+
*/
|
|
322
|
+
declare class SlToggleButton implements AfterViewInit, ButtonWait {
|
|
323
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
324
|
+
readonly focusableWhenDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
325
|
+
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
326
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
327
|
+
readonly loadingDelay: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
328
|
+
/**
|
|
329
|
+
* Words laid over the catalog of the language in force, key by key: what the
|
|
330
|
+
* ring announces itself as (`loading`). It is a progress bar, so it has a name.
|
|
331
|
+
*/
|
|
332
|
+
readonly messages: _angular_core.InputSignal<PartialMessages<ButtonMessages> | undefined>;
|
|
333
|
+
/** The family's words in the language in force, with this button's `messages` laid over them. */
|
|
334
|
+
readonly t: _slotted_core_i18n.FamilyTranslator<ButtonMessages>;
|
|
335
|
+
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg" | undefined>;
|
|
336
|
+
readonly tone: _angular_core.InputSignal<"accent" | "secondary" | "success" | "warning" | "danger" | undefined>;
|
|
337
|
+
readonly type: _angular_core.InputSignal<ButtonType>;
|
|
338
|
+
readonly variant: _angular_core.InputSignal<"solid" | "outline" | "ghost" | undefined>;
|
|
339
|
+
/** Present means controlled, for the life of the component. */
|
|
340
|
+
readonly pressed: _angular_core.InputSignalWithTransform<boolean | undefined, string | boolean | undefined>;
|
|
341
|
+
readonly defaultPressed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
342
|
+
/**
|
|
343
|
+
* One output for one transition, carrying the value, the value it replaces,
|
|
344
|
+
* the reason, the originating event and `cancel()`. There is no
|
|
345
|
+
* `[(pressed)]` because a two-way binding has one slot and cannot carry any
|
|
346
|
+
* of those, and a second output for the same transition would be the same
|
|
347
|
+
* failure stated twice.
|
|
348
|
+
*/
|
|
349
|
+
readonly pressedChange: _angular_core.OutputEmitterRef<ChangeRequest<boolean>>;
|
|
350
|
+
readonly stateAttribute: typeof stateAttribute;
|
|
351
|
+
protected readonly appearance: {
|
|
352
|
+
size: _angular_core.Signal<"sm" | "md" | "lg">;
|
|
353
|
+
tone: _angular_core.Signal<"accent" | "secondary" | "success" | "warning" | "danger">;
|
|
354
|
+
variant: _angular_core.Signal<"solid" | "outline" | "ghost">;
|
|
355
|
+
};
|
|
356
|
+
protected readonly inert: {
|
|
357
|
+
refuses: _angular_core.Signal<boolean>;
|
|
358
|
+
nativelyDisabled: _angular_core.Signal<boolean>;
|
|
359
|
+
ariaDisabled: _angular_core.Signal<"true" | null>;
|
|
360
|
+
};
|
|
361
|
+
readonly waiting: _angular_core.Signal<boolean>;
|
|
362
|
+
private readonly start;
|
|
363
|
+
private readonly end;
|
|
364
|
+
readonly hasStart: _angular_core.Signal<boolean>;
|
|
365
|
+
protected readonly hasVisualSlot: _angular_core.Signal<boolean>;
|
|
366
|
+
private readonly state;
|
|
367
|
+
readonly isPressed: _angular_core.Signal<boolean>;
|
|
368
|
+
private readonly element;
|
|
369
|
+
private readonly destroyRef;
|
|
370
|
+
/**
|
|
371
|
+
* The capture phase, because a control that is unavailable or still working
|
|
372
|
+
* must refuse the activation before any listener the consumer attached to it
|
|
373
|
+
* can run.
|
|
374
|
+
*/
|
|
375
|
+
constructor();
|
|
376
|
+
/**
|
|
377
|
+
* After the view, not in the constructor. A `(click)` written on the same
|
|
378
|
+
* element is bound when the view is created, so a listener registered any
|
|
379
|
+
* earlier runs first and reads `defaultPrevented` before the consumer has
|
|
380
|
+
* had the chance to set it — and a refused activation would move the state
|
|
381
|
+
* anyway.
|
|
382
|
+
*/
|
|
383
|
+
ngAfterViewInit(): void;
|
|
384
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SlToggleButton, never>;
|
|
385
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SlToggleButton, "button[slToggleButton]", ["slToggleButton"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "focusableWhenDisabled": { "alias": "focusableWhenDisabled"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; "isSignal": true; }; "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tone": { "alias": "tone"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "pressed": { "alias": "pressed"; "required": false; "isSignal": true; }; "defaultPressed": { "alias": "defaultPressed"; "required": false; "isSignal": true; }; }, { "pressedChange": "pressedChange"; }, ["start", "end"], ["[slButtonStart]", "*", "[slButtonEnd]"], true, never>;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export { BUTTON_DEFAULTS_TOKEN, BUTTON_WAIT, SlButton, SlButtonEnd, SlButtonLink, SlButtonStart, SlIconButton, SlToggleButton, blockActivation, injectButtonDefaults, provideButtonDefaults, resolveInertness, resolveLoadingIndicator, stateAttribute };
|
|
389
|
+
export type { ButtonDefaults, ButtonShape, ButtonSize, ButtonTone, ButtonType, ButtonVariant, ButtonWait };
|
|
390
|
+
//# sourceMappingURL=slotted-angular-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slotted-angular-button.d.ts","sources":["../../button/src/button.constants.ts","../../button/src/button-appearance.ts","../../button/src/button.ts","../../button/src/button-link.ts","../../button/src/button-defaults.ts","../../button/src/icon-button.ts","../../button/src/toggle-button.ts"],"mappings":"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","names":[]}
|