@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
package/docs/toast.json
ADDED
|
@@ -0,0 +1,642 @@
|
|
|
1
|
+
{
|
|
2
|
+
"family": "toast",
|
|
3
|
+
"ui": "toast",
|
|
4
|
+
"binding": "angular",
|
|
5
|
+
"catalog": {
|
|
6
|
+
"group": "Feedback",
|
|
7
|
+
"summary": "Temporary notification with optional action."
|
|
8
|
+
},
|
|
9
|
+
"axes": {
|
|
10
|
+
"placement": [
|
|
11
|
+
"top-start",
|
|
12
|
+
"top",
|
|
13
|
+
"top-end",
|
|
14
|
+
"bottom-start",
|
|
15
|
+
"bottom",
|
|
16
|
+
"bottom-end"
|
|
17
|
+
],
|
|
18
|
+
"attach": [
|
|
19
|
+
"portal",
|
|
20
|
+
"viewport",
|
|
21
|
+
"inline"
|
|
22
|
+
],
|
|
23
|
+
"stacking": [
|
|
24
|
+
"list",
|
|
25
|
+
"stack"
|
|
26
|
+
],
|
|
27
|
+
"tone": [
|
|
28
|
+
"accent",
|
|
29
|
+
"secondary",
|
|
30
|
+
"success",
|
|
31
|
+
"warning",
|
|
32
|
+
"danger"
|
|
33
|
+
],
|
|
34
|
+
"variant": [
|
|
35
|
+
"raised",
|
|
36
|
+
"soft",
|
|
37
|
+
"solid"
|
|
38
|
+
],
|
|
39
|
+
"priority": [
|
|
40
|
+
"polite",
|
|
41
|
+
"assertive"
|
|
42
|
+
],
|
|
43
|
+
"dismissible": [
|
|
44
|
+
true,
|
|
45
|
+
false
|
|
46
|
+
],
|
|
47
|
+
"swipe": [
|
|
48
|
+
true,
|
|
49
|
+
false
|
|
50
|
+
],
|
|
51
|
+
"progress": [
|
|
52
|
+
true,
|
|
53
|
+
false
|
|
54
|
+
],
|
|
55
|
+
"pauseOnHover": [
|
|
56
|
+
true,
|
|
57
|
+
false
|
|
58
|
+
],
|
|
59
|
+
"pauseWhenHidden": [
|
|
60
|
+
true,
|
|
61
|
+
false
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"members": {
|
|
65
|
+
"toast": {
|
|
66
|
+
"nativeElement": "section",
|
|
67
|
+
"defaults": {
|
|
68
|
+
"placement": "bottom-end",
|
|
69
|
+
"attach": "portal",
|
|
70
|
+
"stacking": "list",
|
|
71
|
+
"tone": "accent",
|
|
72
|
+
"variant": "raised",
|
|
73
|
+
"priority": "polite",
|
|
74
|
+
"dismissible": true,
|
|
75
|
+
"swipe": true,
|
|
76
|
+
"progress": false,
|
|
77
|
+
"pauseOnHover": true,
|
|
78
|
+
"pauseWhenHidden": true,
|
|
79
|
+
"limit": 3,
|
|
80
|
+
"duration": 5000,
|
|
81
|
+
"hotkey": "F6"
|
|
82
|
+
},
|
|
83
|
+
"capabilities": [
|
|
84
|
+
"queue",
|
|
85
|
+
"placement",
|
|
86
|
+
"appearance",
|
|
87
|
+
"arrangement",
|
|
88
|
+
"content",
|
|
89
|
+
"live",
|
|
90
|
+
"loading",
|
|
91
|
+
"wiring",
|
|
92
|
+
"focusable"
|
|
93
|
+
],
|
|
94
|
+
"states": [
|
|
95
|
+
"default",
|
|
96
|
+
"hover",
|
|
97
|
+
"active",
|
|
98
|
+
"focus-visible",
|
|
99
|
+
"open",
|
|
100
|
+
"loading"
|
|
101
|
+
],
|
|
102
|
+
"parts": [
|
|
103
|
+
"root",
|
|
104
|
+
"list",
|
|
105
|
+
"item",
|
|
106
|
+
"icon",
|
|
107
|
+
"content",
|
|
108
|
+
"title",
|
|
109
|
+
"description",
|
|
110
|
+
"actions",
|
|
111
|
+
"close",
|
|
112
|
+
"progress"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"docs": {
|
|
117
|
+
"toast": {
|
|
118
|
+
"imports": {
|
|
119
|
+
"source": "import {\n provideToastDefaults,\n SlToastActions,\n SlToastContent,\n SlToastDescription,\n SlToastItem,\n SlToastRegion,\n SlToastService,\n SlToastTitle,\n} from '@slotted/angular/toast';",
|
|
120
|
+
"selector": "sl-toast-region",
|
|
121
|
+
"exportAs": "slToastRegion"
|
|
122
|
+
},
|
|
123
|
+
"anatomy": [
|
|
124
|
+
{
|
|
125
|
+
"part": "root",
|
|
126
|
+
"element": "section",
|
|
127
|
+
"required": true,
|
|
128
|
+
"purpose": "The region. Carries data-ui=\"toast\", the placement, the attachment, the stacking, role=\"region\" and its own name. It is a landmark and never a live region: the words are spoken by the shared announcer, and this is what a reader navigates to."
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"part": "list",
|
|
132
|
+
"element": "ol",
|
|
133
|
+
"required": true,
|
|
134
|
+
"purpose": "The order the messages are in, newest first. A second element because container-type on the root makes it a query container for its descendants and not for itself."
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"part": "item",
|
|
138
|
+
"element": "li",
|
|
139
|
+
"required": false,
|
|
140
|
+
"purpose": "One message. Carries the tone, the variant, data-open, data-loading, data-dragging, its own index in the pile and the duration it was given. Holds tabindex=\"-1\" so the hotkey has somewhere to land."
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"part": "icon",
|
|
144
|
+
"element": "span",
|
|
145
|
+
"required": false,
|
|
146
|
+
"purpose": "The tone’s mark, drawn as a mask from the foundation’s status glyph set and hidden from assistive technology. Holds the page’s own node instead when one is passed — a spinner from progress-indicator while a promise is in flight."
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"part": "content",
|
|
150
|
+
"element": "div",
|
|
151
|
+
"required": false,
|
|
152
|
+
"purpose": "The title and the description, and the one column allowed to shrink below its content so a long string wraps instead of widening the message."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"part": "title",
|
|
156
|
+
"element": "div, or the element slToastTitle is written on",
|
|
157
|
+
"required": false,
|
|
158
|
+
"purpose": "The message’s name. A div rather than a heading: a message that is gone in five seconds is not a section of the document, and a page that put one in its outline would be telling a reader it can be navigated back to."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"part": "description",
|
|
162
|
+
"element": "p, or the element slToastDescription is written on",
|
|
163
|
+
"required": false,
|
|
164
|
+
"purpose": "The message. It breaks a string no language can break — a digest, a host name — rather than overflowing, and removes nothing from the DOM to do it."
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"part": "actions",
|
|
168
|
+
"element": "div",
|
|
169
|
+
"required": false,
|
|
170
|
+
"purpose": "The controls that act on the message, under the words rather than beside them, which is the only place they can wrap without taking the message’s own column with them. They stack when the region is narrower than 20rem."
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"part": "close",
|
|
174
|
+
"element": "button",
|
|
175
|
+
"required": false,
|
|
176
|
+
"purpose": "Puts the message away. Rendered when dismissible, named by the catalog’s close, and sized from its glyph plus a step of air, floored at the WCAG 2.2 minimum so the target holds at every density (R2)."
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"part": "progress",
|
|
180
|
+
"element": "div",
|
|
181
|
+
"required": false,
|
|
182
|
+
"purpose": "How much of the duration is left. It reads the same number the timer does and the same play state, so the picture and the clock cannot disagree; under reduced motion it stops and becomes a rule under the message."
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"api": [
|
|
186
|
+
{
|
|
187
|
+
"name": "placement",
|
|
188
|
+
"type": "'top-start' | 'top' | 'top-end' | 'bottom-start' | 'bottom' | 'bottom-end'",
|
|
189
|
+
"defaultValue": "bottom-end",
|
|
190
|
+
"appliesTo": "sl-toast-region",
|
|
191
|
+
"description": "Which edge the region sits at, named logically so a right-to-left document mirrors it"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "attach",
|
|
195
|
+
"type": "'portal' | 'viewport' | 'inline'",
|
|
196
|
+
"defaultValue": "portal",
|
|
197
|
+
"appliesTo": "sl-toast-region",
|
|
198
|
+
"description": "Where the region is rendered: at the end of the document carrying the theme it came from, fixed where it was written, or absolute against the nearest positioned ancestor"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "stacking",
|
|
202
|
+
"type": "'list' | 'stack'",
|
|
203
|
+
"defaultValue": "list",
|
|
204
|
+
"appliesTo": "sl-toast-region",
|
|
205
|
+
"description": "A column of messages at their own height, or a pile that opens when the pointer is over it or the keyboard inside it"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "limit",
|
|
209
|
+
"type": "number",
|
|
210
|
+
"defaultValue": "3",
|
|
211
|
+
"appliesTo": "sl-toast-region",
|
|
212
|
+
"description": "How many messages are on screen at once. What arrives past it waits, and what is already there stays"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "duration",
|
|
216
|
+
"type": "number",
|
|
217
|
+
"defaultValue": "5000",
|
|
218
|
+
"appliesTo": "sl-toast-region, show()",
|
|
219
|
+
"description": "Milliseconds on screen, counted from the moment a message becomes visible. 0 never expires"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "swipe",
|
|
223
|
+
"type": "boolean",
|
|
224
|
+
"defaultValue": "true",
|
|
225
|
+
"appliesTo": "sl-toast-region",
|
|
226
|
+
"description": "Lets a message be dragged toward the edge the placement names. A drag that starts on a control never becomes a swipe"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "pauseOnHover",
|
|
230
|
+
"type": "boolean",
|
|
231
|
+
"defaultValue": "true",
|
|
232
|
+
"appliesTo": "sl-toast-region",
|
|
233
|
+
"description": "The pointer over the region holds every clock. Focus inside it holds them too, and that one is not an axis: switching it off would expire the message under the keyboard using it"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "pauseWhenHidden",
|
|
237
|
+
"type": "boolean",
|
|
238
|
+
"defaultValue": "true",
|
|
239
|
+
"appliesTo": "sl-toast-region",
|
|
240
|
+
"description": "A hidden tab holds every clock. A five-second message shown to a tab nobody is looking at was never shown"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "hotkey",
|
|
244
|
+
"type": "string",
|
|
245
|
+
"defaultValue": "F6",
|
|
246
|
+
"appliesTo": "sl-toast-region",
|
|
247
|
+
"description": "The key that moves focus into the region, written the way a reader says it — F6, Alt+T, Shift+F8"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "messages",
|
|
251
|
+
"type": "Partial<ToastMessages>",
|
|
252
|
+
"defaultValue": "—",
|
|
253
|
+
"appliesTo": "sl-toast-region",
|
|
254
|
+
"description": "Words laid over the language in force, key by key: the name a reader finds the region by in their landmark list, and what the hotkey lands in (label), and what each close control announces (close)"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "tone",
|
|
258
|
+
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
259
|
+
"defaultValue": "accent",
|
|
260
|
+
"appliesTo": "SlToastService.show",
|
|
261
|
+
"description": "Which of the five semantic colours the message speaks in, and which mark it draws"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "variant",
|
|
265
|
+
"type": "'raised' | 'soft' | 'solid'",
|
|
266
|
+
"defaultValue": "raised",
|
|
267
|
+
"appliesTo": "SlToastService.show",
|
|
268
|
+
"description": "How that colour is painted. raised keeps the neutral surface and puts the tone in the mark, which is what a box floating over unknown content should do"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "priority",
|
|
272
|
+
"type": "'polite' | 'assertive'",
|
|
273
|
+
"defaultValue": "polite",
|
|
274
|
+
"appliesTo": "SlToastService.show",
|
|
275
|
+
"description": "How loudly the announcer says it. Never inferred from the tone: a danger message a background job produced must not cut into a sentence"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "dismissible",
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"defaultValue": "true",
|
|
281
|
+
"appliesTo": "SlToastService.show",
|
|
282
|
+
"description": "Renders the control that closes the message. A touch reader has no Escape key, so the pointer needs a target"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "progress",
|
|
286
|
+
"type": "boolean",
|
|
287
|
+
"defaultValue": "false",
|
|
288
|
+
"appliesTo": "SlToastService.show",
|
|
289
|
+
"description": "Draws how much of the duration is left. It is off by default because a message with no duration has nothing to draw"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "toasts",
|
|
293
|
+
"type": "readonly ToastMessage[]",
|
|
294
|
+
"defaultValue": "—",
|
|
295
|
+
"appliesTo": "sl-toast-region",
|
|
296
|
+
"description": "The queue the page owns. Passing it puts the region in controlled mode for good, and the family then only asks"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "defaultToasts",
|
|
300
|
+
"type": "readonly ToastMessage[]",
|
|
301
|
+
"defaultValue": "—",
|
|
302
|
+
"appliesTo": "sl-toast-region",
|
|
303
|
+
"description": "The queue an uncontrolled region starts from, read once. A later change to it is not silently adopted"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "title",
|
|
307
|
+
"type": "string",
|
|
308
|
+
"defaultValue": "—",
|
|
309
|
+
"appliesTo": "SlToastService.show",
|
|
310
|
+
"description": "The message’s name. A string here is also what the announcer says, unless announcement states otherwise"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "description",
|
|
314
|
+
"type": "string",
|
|
315
|
+
"defaultValue": "—",
|
|
316
|
+
"appliesTo": "SlToastService.show",
|
|
317
|
+
"description": "The message. Joined to the title for the announcement when both are strings"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "announcement",
|
|
321
|
+
"type": "string",
|
|
322
|
+
"defaultValue": "—",
|
|
323
|
+
"appliesTo": "SlToastService.show",
|
|
324
|
+
"description": "What a reader hears. State it when the body is a component of the page’s own: a rendered node cannot be read from the store, so a message that says nothing here is shown and not spoken"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "loading",
|
|
328
|
+
"type": "boolean",
|
|
329
|
+
"defaultValue": "false",
|
|
330
|
+
"appliesTo": "SlToastService.show",
|
|
331
|
+
"description": "Waiting on a promise. It draws no countdown and is given no duration, and the mark slot holds whatever the page put there"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "body",
|
|
335
|
+
"type": "TemplateRef<{ $implicit: ToastMessage }>",
|
|
336
|
+
"defaultValue": "—",
|
|
337
|
+
"appliesTo": "SlToastService.show",
|
|
338
|
+
"description": "Replaces the message’s whole body, keeping the box, the tone, the clock and the keyboard. Rendered through NgTemplateOutlet, so it is lazy and the message is in its context"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "hideIcon",
|
|
342
|
+
"type": "boolean",
|
|
343
|
+
"defaultValue": "false",
|
|
344
|
+
"appliesTo": "SlToastService.show",
|
|
345
|
+
"description": "Draws no mark at all. The words then start at the box’s own inset rather than one gap further in"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "actions",
|
|
349
|
+
"type": "TemplateRef<{ $implicit: ToastMessage }>",
|
|
350
|
+
"defaultValue": "—",
|
|
351
|
+
"appliesTo": "SlToastService.show",
|
|
352
|
+
"description": "The page’s own controls, under the words. A message that has them is given no duration unless one is stated"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"name": "id",
|
|
356
|
+
"type": "string",
|
|
357
|
+
"defaultValue": "—",
|
|
358
|
+
"appliesTo": "SlToastService.show",
|
|
359
|
+
"description": "Showing a message whose id is already in the queue updates that message in place rather than adding a second one"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "container",
|
|
363
|
+
"type": "Element | null",
|
|
364
|
+
"defaultValue": "—",
|
|
365
|
+
"appliesTo": "sl-toast-region",
|
|
366
|
+
"description": "The element a portalled region is placed inside, for an application shell that owns its own stacking context"
|
|
367
|
+
}
|
|
368
|
+
],
|
|
369
|
+
"composition": [
|
|
370
|
+
{
|
|
371
|
+
"name": "body",
|
|
372
|
+
"type": "ng-template",
|
|
373
|
+
"defaultValue": "—",
|
|
374
|
+
"appliesTo": "SlToastService.show",
|
|
375
|
+
"description": "The message a page draws itself. The clock, the exit, the swipe, the keyboard and the announcement stay the family’s; NgTemplateOutlet renders the template per message and only when the message exists"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"name": "slToastItem",
|
|
379
|
+
"type": "directive on an li",
|
|
380
|
+
"defaultValue": "—",
|
|
381
|
+
"appliesTo": "a page’s own list",
|
|
382
|
+
"description": "Everything about a message that is behaviour rather than markup. A page that renders SlToastService.visible() itself puts this on its own li and keeps the timer, the exit, the swipe and Escape"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "SlToastService",
|
|
386
|
+
"type": "providedIn: root",
|
|
387
|
+
"defaultValue": "—",
|
|
388
|
+
"appliesTo": "anywhere",
|
|
389
|
+
"description": "show, update, dismiss, clear, pauseAll, resumeAll and promise, plus visible, queued and paused as signals. It is where Angular Material’s consumers already reach, and it is injectable from an interceptor or a resolver"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "provideToastDefaults",
|
|
393
|
+
"type": "(defaults) => Provider",
|
|
394
|
+
"defaultValue": "—",
|
|
395
|
+
"appliesTo": "an application or a route",
|
|
396
|
+
"description": "Sets every axis once for every region and message under it; an explicit value on one message still wins. A component-level provider gives one subtree a queue of its own"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "exportAs",
|
|
400
|
+
"type": "'slToastRegion'",
|
|
401
|
+
"defaultValue": "—",
|
|
402
|
+
"appliesTo": "a template",
|
|
403
|
+
"description": "Reaches the region instance: visible(), queued(), paused() and focus(), which sends the keyboard to the newest message"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "slToastTitle, slToastDescription, slToastActions, slToastClose, slToastIcon, slToastProgress",
|
|
407
|
+
"type": "directives",
|
|
408
|
+
"defaultValue": "—",
|
|
409
|
+
"appliesTo": "a page’s own body",
|
|
410
|
+
"description": "The part names, and nothing else. The geometry, the tone and the states belong to the item and the region, so a directive that repeated any of them would be a second place to change them"
|
|
411
|
+
}
|
|
412
|
+
],
|
|
413
|
+
"events": [
|
|
414
|
+
{
|
|
415
|
+
"name": "onToastsChange",
|
|
416
|
+
"payload": "(toasts, request)",
|
|
417
|
+
"when": "Asks to change the queue. The first argument is the queue as it will be; the request carries the value it replaces, the reason — programmatic, dismiss, escape, keyboard, pointer, timeout or clear — the originating event, and cancel(). Calling cancel() refuses the change and nothing moves."
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "onStatusChange",
|
|
421
|
+
"payload": "(status, message)",
|
|
422
|
+
"when": "Per message, passed to the call that showed it. Reports visible when it reaches the screen, closing when it has left the queue and is still leaving the document, and removed once it is gone."
|
|
423
|
+
}
|
|
424
|
+
],
|
|
425
|
+
"accessibility": [
|
|
426
|
+
"There is no toast pattern in the WAI-ARIA Authoring Practices. The closest official guidance is the Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/), and this family departs from it twice, both times on purpose. The visible message carries no live role, and the family binds keys the pattern says it should not — because the pattern’s table is empty for a message that holds no controls, and every toast worth shipping holds at least a Close.",
|
|
427
|
+
"The region is a landmark and the announcement is made elsewhere. A live role on a box holding a Close and an Undo is read with both buttons inside the sentence, and a live region created in the same task as its text is silent under ARIA 1.2 §6.4 — which is exactly what a message that has just been added is. packages/core/src/live-announcer builds its regions before any message exists, deduplicates, and spaces two announcements so the second is not lost.",
|
|
428
|
+
"A message that renders content of its own announces the string passed as announcement, and nothing at all when none is passed. A rendered node cannot be read out of the store, and guessing at it would announce markup.",
|
|
429
|
+
"The pattern’s one prose rule is kept without exception: a message arriving never moves focus. The reader moves it, with F6, and Shift+F6 is their browser’s own landmark navigation. Escape closes the message the keyboard is inside and hands it back to where it came from.",
|
|
430
|
+
"When the message holding focus is taken away — by its own control, or by the page’s state — focus goes to the next message, then to the element it came from. Only React Aria answers this at all, and only for its own close button; here it is `packages/core/src/focus/removal-focus`, which both bindings compose.",
|
|
431
|
+
"WCAG 2.2 SC 2.2.1 is the criterion a timer answers, and the family takes the first of the criterion’s six ways out: the limit can be turned off before a reader meets it, by setting duration to 0 on ToastDefaultsProvider for the whole application. Putting that switch in front of the reader is the application’s work, not the family’s.",
|
|
432
|
+
"A message that carries an action is given no duration unless one is stated, and a message waiting on a promise is given none either. Angular Material states the first rule and is alone in it; five surveyed implementations ship the action and the timer and leave the combination to the consumer.",
|
|
433
|
+
"Every tone with a severity carries a mark as well as a colour, and secondary carries none: a neutral note has no severity to state. Under forced colours the five grounds become one system colour, so the mark, and its absence on a note, is the only thing distinguishing a failure from a note — WCAG 2.2 1.4.1.",
|
|
434
|
+
"The region takes no pointer events and each message takes its own, so a region pinned over a page never eats a press meant for the page. Every surveyed implementation does this and none of them says so, which is how a consumer finds a dead corner in their own application."
|
|
435
|
+
]
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"tokens": [
|
|
439
|
+
"--slotted-border-subtle",
|
|
440
|
+
"--slotted-border-width-thin",
|
|
441
|
+
"--slotted-control-font-family",
|
|
442
|
+
"--slotted-control-font-size-md",
|
|
443
|
+
"--slotted-control-icon-size-md",
|
|
444
|
+
"--slotted-control-inner-size-md",
|
|
445
|
+
"--slotted-control-radius",
|
|
446
|
+
"--slotted-control-transition-duration",
|
|
447
|
+
"--slotted-control-transition-easing",
|
|
448
|
+
"--slotted-duration-long",
|
|
449
|
+
"--slotted-duration-medium",
|
|
450
|
+
"--slotted-duration-short",
|
|
451
|
+
"--slotted-easing-enter",
|
|
452
|
+
"--slotted-easing-exit",
|
|
453
|
+
"--slotted-easing-standard",
|
|
454
|
+
"--slotted-focus-ring-color",
|
|
455
|
+
"--slotted-focus-ring-offset",
|
|
456
|
+
"--slotted-focus-ring-width",
|
|
457
|
+
"--slotted-font-family-heading",
|
|
458
|
+
"--slotted-font-family-sans",
|
|
459
|
+
"--slotted-font-weight-semibold",
|
|
460
|
+
"--slotted-line-height-md",
|
|
461
|
+
"--slotted-radius-lg",
|
|
462
|
+
"--slotted-shadow-md",
|
|
463
|
+
"--slotted-space-1",
|
|
464
|
+
"--slotted-space-2",
|
|
465
|
+
"--slotted-space-3",
|
|
466
|
+
"--slotted-space-4",
|
|
467
|
+
"--slotted-space-5",
|
|
468
|
+
"--slotted-space-6",
|
|
469
|
+
"--slotted-space-7",
|
|
470
|
+
"--slotted-surface-raised",
|
|
471
|
+
"--slotted-target-comfortable",
|
|
472
|
+
"--slotted-target-min",
|
|
473
|
+
"--slotted-text",
|
|
474
|
+
"--slotted-text-muted",
|
|
475
|
+
"--slotted-toast-actions-gap",
|
|
476
|
+
"--slotted-toast-border-color",
|
|
477
|
+
"--slotted-toast-border-width",
|
|
478
|
+
"--slotted-toast-close-radius",
|
|
479
|
+
"--slotted-toast-close-size",
|
|
480
|
+
"--slotted-toast-column-gap",
|
|
481
|
+
"--slotted-toast-font-family",
|
|
482
|
+
"--slotted-toast-gap",
|
|
483
|
+
"--slotted-toast-measure",
|
|
484
|
+
"--slotted-toast-offset",
|
|
485
|
+
"--slotted-toast-padding-block",
|
|
486
|
+
"--slotted-toast-padding-inline",
|
|
487
|
+
"--slotted-toast-progress-size",
|
|
488
|
+
"--slotted-toast-radius",
|
|
489
|
+
"--slotted-toast-row-gap",
|
|
490
|
+
"--slotted-toast-shadow",
|
|
491
|
+
"--slotted-toast-stack-fade",
|
|
492
|
+
"--slotted-toast-stack-step",
|
|
493
|
+
"--slotted-toast-state-layer-active",
|
|
494
|
+
"--slotted-toast-state-layer-hover",
|
|
495
|
+
"--slotted-toast-surface",
|
|
496
|
+
"--slotted-toast-text",
|
|
497
|
+
"--slotted-toast-text-gap",
|
|
498
|
+
"--slotted-toast-text-muted",
|
|
499
|
+
"--slotted-toast-title-font-family",
|
|
500
|
+
"--slotted-toast-title-font-weight",
|
|
501
|
+
"--slotted-tone-accent-border",
|
|
502
|
+
"--slotted-tone-accent-on-solid",
|
|
503
|
+
"--slotted-tone-accent-solid",
|
|
504
|
+
"--slotted-tone-accent-surface",
|
|
505
|
+
"--slotted-tone-accent-text",
|
|
506
|
+
"--slotted-tone-danger-border",
|
|
507
|
+
"--slotted-tone-danger-on-solid",
|
|
508
|
+
"--slotted-tone-danger-solid",
|
|
509
|
+
"--slotted-tone-danger-surface",
|
|
510
|
+
"--slotted-tone-danger-text",
|
|
511
|
+
"--slotted-tone-secondary-border",
|
|
512
|
+
"--slotted-tone-secondary-on-solid",
|
|
513
|
+
"--slotted-tone-secondary-solid",
|
|
514
|
+
"--slotted-tone-secondary-surface",
|
|
515
|
+
"--slotted-tone-secondary-text",
|
|
516
|
+
"--slotted-tone-success-border",
|
|
517
|
+
"--slotted-tone-success-on-solid",
|
|
518
|
+
"--slotted-tone-success-solid",
|
|
519
|
+
"--slotted-tone-success-surface",
|
|
520
|
+
"--slotted-tone-success-text",
|
|
521
|
+
"--slotted-tone-warning-border",
|
|
522
|
+
"--slotted-tone-warning-on-solid",
|
|
523
|
+
"--slotted-tone-warning-solid",
|
|
524
|
+
"--slotted-tone-warning-surface",
|
|
525
|
+
"--slotted-tone-warning-text",
|
|
526
|
+
"--slotted-z-index-toast"
|
|
527
|
+
],
|
|
528
|
+
"examples": [
|
|
529
|
+
{
|
|
530
|
+
"id": "playground",
|
|
531
|
+
"title": "Playground",
|
|
532
|
+
"note": "One region with every axis on it, driven by the controls below the canvas. The messages here are given no duration so the page has something to show; an application states one, or lets the default of five seconds stand.",
|
|
533
|
+
"language": "ts",
|
|
534
|
+
"source": "// The region once, near the root: <sl-toast-region />\n// The service from anywhere — a component, an interceptor, a resolver.\nconst toasts = inject(SlToastService);\n\ntoasts.show({\n title: 'Draft saved',\n description: 'Everything since 2:02 PM is saved.',\n});\n",
|
|
535
|
+
"verdict": "excerpt"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"id": "tones",
|
|
539
|
+
"title": "What the message is about",
|
|
540
|
+
"note": "Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in greyscale, or under forced colours where every ground becomes one system colour, the silhouette is the only thing left to tell a failure from a note.",
|
|
541
|
+
"language": "ts",
|
|
542
|
+
"source": "// accent is information, secondary a neutral note, success something\n// finished, warning something that needs attention, danger something failed.\nthis.toasts.show({ title: 'Could not send', tone: 'danger' });\n",
|
|
543
|
+
"verdict": "excerpt"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"id": "variants",
|
|
547
|
+
"title": "How that tone is painted",
|
|
548
|
+
"note": "raised is the default and the one the other message families do not have: a toast floats over content this family does not own, so the tone is in the mark and the box keeps the neutral raised surface. soft and solid are for a region inside a page’s own chrome.",
|
|
549
|
+
"language": "ts",
|
|
550
|
+
"source": "this.toasts.show({ title: 'Invoice sent', tone: 'success', variant: 'raised' });\nthis.toasts.show({ title: 'Invoice sent', tone: 'success', variant: 'soft' });\nthis.toasts.show({ title: 'Sending failed', tone: 'danger', variant: 'solid' });\n",
|
|
551
|
+
"verdict": "excerpt"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"id": "placement",
|
|
555
|
+
"title": "Which corner the region owns",
|
|
556
|
+
"note": "Six placements, all written in logical properties: bottom-end is the bottom right of this page and the bottom left of the same page in Arabic. Switch the direction in the toolbar and the region moves with the text.",
|
|
557
|
+
"language": "html",
|
|
558
|
+
"source": "<sl-toast-region placement=\"top-end\" />\n",
|
|
559
|
+
"verdict": "excerpt"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"id": "timing",
|
|
563
|
+
"title": "How long a message stays",
|
|
564
|
+
"note": "The bar reads the same number the timer does. Hover the region and both stop together — the clock also stops while focus is inside it and while the tab is hidden, and it resumes on what was left rather than starting again.",
|
|
565
|
+
"language": "ts",
|
|
566
|
+
"source": "this.toasts.show({ title: 'Exported', duration: 8000, progress: true });\n\n// 0 never expires. A message that must be answered rather than read is one\n// of the two cases the family gives no duration to on its own.\nthis.toasts.show({ title: 'Session expired', tone: 'danger', duration: 0 });\n",
|
|
567
|
+
"verdict": "excerpt"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"id": "actions",
|
|
571
|
+
"title": "A message the reader can act on",
|
|
572
|
+
"note": "A message that carries an action is given no duration unless one is stated: Angular Material is the only surveyed implementation that states the rule, and a reader on their way to Undo must not watch it disappear. Press Undo and the message closes with it.",
|
|
573
|
+
"language": "html",
|
|
574
|
+
"source": "<!-- The controls are a template, rendered per message, with the message\n in its context. It is what makes the toast wait: a message that carries\n one is given no duration unless the call states one. -->\n<ng-template #undo let-message>\n <button slButton size=\"sm\" (click)=\"restore(message.id)\">Undo</button>\n</ng-template>\n",
|
|
575
|
+
"verdict": "excerpt"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"id": "promise",
|
|
579
|
+
"title": "A message that follows a promise",
|
|
580
|
+
"note": "One message from start to finish: it begins as loading with no duration and no countdown, and the same element becomes the success or the failure. Replacing it with a second message would make a reader hear the sentence twice.",
|
|
581
|
+
"language": "ts",
|
|
582
|
+
"source": "this.toasts.promise(this.publish(), {\n loading: { title: 'Publishing' },\n success: (version) => ({ title: `Version ${version} is live`, tone: 'success' }),\n error: { title: 'Publishing failed', tone: 'danger' },\n});\n",
|
|
583
|
+
"verdict": "excerpt"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"id": "queue",
|
|
587
|
+
"title": "More messages than the screen",
|
|
588
|
+
"note": "Past the limit a message waits, and what is already on screen stays — a reader half way through one does not lose it to something that arrived after. A waiting message has no clock at all: its duration starts when it appears.",
|
|
589
|
+
"language": "html",
|
|
590
|
+
"source": "<sl-toast-region [limit]=\"2\" />\n",
|
|
591
|
+
"verdict": "excerpt"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"id": "stacking",
|
|
595
|
+
"title": "A pile that opens",
|
|
596
|
+
"note": "Four messages at full height fill a phone. stack puts them one behind another at the edge the placement names and opens the pile when the pointer is over it or the keyboard is inside — the same two conditions that stop the clock, because both mean the reader is reading.",
|
|
597
|
+
"language": "html",
|
|
598
|
+
"source": "<sl-toast-region stacking=\"stack\" />\n",
|
|
599
|
+
"verdict": "excerpt"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"id": "dismissal",
|
|
603
|
+
"title": "The ways a message leaves",
|
|
604
|
+
"note": "Four, and each carries its own reason: the close control says dismiss, Escape inside the message says escape, a swipe toward the edge says pointer, and the timer says timeout. A page that has to tell them apart reads the reason rather than guessing.",
|
|
605
|
+
"language": "html",
|
|
606
|
+
"source": "<sl-toast-region (toastsChange)=\"onToastsChange($event)\" />\n\n<!-- onToastsChange(request: ChangeRequest<readonly ToastMessage[]>) {\n if (request.reason === 'timeout') return;\n this.remember(request.reason);\n } -->\n",
|
|
607
|
+
"verdict": "excerpt"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"id": "keyboard",
|
|
611
|
+
"title": "Reaching the messages from the keyboard",
|
|
612
|
+
"note": "A message arriving never moves focus — the APG’s Alert pattern is explicit about it. F6 is what the reader presses to get there, Tab walks the controls, and Escape closes the message and hands the keyboard back to where it came from.",
|
|
613
|
+
"language": "html",
|
|
614
|
+
"source": "<sl-toast-region hotkey=\"Alt+T\" />\n",
|
|
615
|
+
"verdict": "excerpt"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"id": "content",
|
|
619
|
+
"title": "Content the family did not choose",
|
|
620
|
+
"note": "A digest no language can break, a title that doubled in translation, and a message with no mark at all. Nothing is removed from the document to make any of them fit: the whole string stays selectable and findable by a page search.",
|
|
621
|
+
"language": "ts",
|
|
622
|
+
"source": "this.toasts.show({\n title: 'Deployment rejected',\n description: digest,\n tone: 'danger',\n duration: 0,\n});\n",
|
|
623
|
+
"verdict": "excerpt"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"id": "composition",
|
|
627
|
+
"title": "A message a page draws itself",
|
|
628
|
+
"note": "The region hands each message to a function and keeps everything that is behaviour: the clock, the exit, the swipe, the keyboard and the announcement. What the page writes is the body, and it can be anything at all.",
|
|
629
|
+
"language": "html",
|
|
630
|
+
"source": "<!-- The body is an ng-template carried by the message, rendered per\n message and lazily, with the message in its context. -->\n<ng-template #body let-message>\n <div slToastContent>\n <div slToastTitle>{{ message.data.title }}</div>\n </div>\n</ng-template>\n",
|
|
631
|
+
"verdict": "excerpt"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"id": "basic",
|
|
635
|
+
"title": "basic.ts",
|
|
636
|
+
"note": null,
|
|
637
|
+
"language": "ts",
|
|
638
|
+
"source": "import { Component, inject } from '@angular/core';\nimport { SlButton } from '@slotted/angular/button';\nimport { SlToastRegion, SlToastService } from '@slotted/angular/toast';\n\n@Component({\n selector: 'app-toast-basic',\n imports: [SlButton, SlToastRegion],\n template: `\n <!-- Once, near the root of the application. -->\n <sl-toast-region />\n <button slButton type=\"button\" (click)=\"save()\">Save draft</button>\n `,\n})\nexport class ToastBasic {\n private readonly toasts = inject(SlToastService);\n\n save(): void {\n this.toasts.show({ title: 'Draft saved', description: 'Everything since 2:02 PM is saved.' });\n }\n}\n",
|
|
639
|
+
"verdict": "example"
|
|
640
|
+
}
|
|
641
|
+
]
|
|
642
|
+
}
|