@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/badge.json
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
{
|
|
2
|
+
"family": "badge",
|
|
3
|
+
"ui": "badge",
|
|
4
|
+
"binding": "angular",
|
|
5
|
+
"catalog": {
|
|
6
|
+
"group": "Data display",
|
|
7
|
+
"summary": "Short label or count attached to an element."
|
|
8
|
+
},
|
|
9
|
+
"axes": {
|
|
10
|
+
"tone": [
|
|
11
|
+
"accent",
|
|
12
|
+
"secondary",
|
|
13
|
+
"success",
|
|
14
|
+
"warning",
|
|
15
|
+
"danger"
|
|
16
|
+
],
|
|
17
|
+
"variant": [
|
|
18
|
+
"solid",
|
|
19
|
+
"soft",
|
|
20
|
+
"outline"
|
|
21
|
+
],
|
|
22
|
+
"size": [
|
|
23
|
+
"sm",
|
|
24
|
+
"md",
|
|
25
|
+
"lg"
|
|
26
|
+
],
|
|
27
|
+
"shape": [
|
|
28
|
+
"pill",
|
|
29
|
+
"square",
|
|
30
|
+
"dot"
|
|
31
|
+
],
|
|
32
|
+
"live": [
|
|
33
|
+
"off",
|
|
34
|
+
"polite",
|
|
35
|
+
"assertive"
|
|
36
|
+
],
|
|
37
|
+
"placement": [
|
|
38
|
+
"top-end",
|
|
39
|
+
"top-start",
|
|
40
|
+
"bottom-end",
|
|
41
|
+
"bottom-start"
|
|
42
|
+
],
|
|
43
|
+
"overlap": [
|
|
44
|
+
"rectangle",
|
|
45
|
+
"circle"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"members": {
|
|
49
|
+
"badge": {
|
|
50
|
+
"nativeElement": "span",
|
|
51
|
+
"defaults": {
|
|
52
|
+
"tone": "secondary",
|
|
53
|
+
"variant": "soft",
|
|
54
|
+
"size": "md",
|
|
55
|
+
"shape": "pill",
|
|
56
|
+
"live": "off",
|
|
57
|
+
"placement": "top-end",
|
|
58
|
+
"overlap": "rectangle",
|
|
59
|
+
"offset": "{ x: 0, y: 0 }",
|
|
60
|
+
"max": 99,
|
|
61
|
+
"showZero": false
|
|
62
|
+
},
|
|
63
|
+
"capabilities": [
|
|
64
|
+
"appearance",
|
|
65
|
+
"size",
|
|
66
|
+
"shape",
|
|
67
|
+
"content",
|
|
68
|
+
"live",
|
|
69
|
+
"placement"
|
|
70
|
+
],
|
|
71
|
+
"states": [
|
|
72
|
+
"default",
|
|
73
|
+
"focus-visible"
|
|
74
|
+
],
|
|
75
|
+
"parts": [
|
|
76
|
+
"root",
|
|
77
|
+
"start",
|
|
78
|
+
"label",
|
|
79
|
+
"end",
|
|
80
|
+
"anchor"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"docs": {
|
|
85
|
+
"badge": {
|
|
86
|
+
"imports": null,
|
|
87
|
+
"anatomy": [],
|
|
88
|
+
"api": [
|
|
89
|
+
{
|
|
90
|
+
"name": "tone",
|
|
91
|
+
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
92
|
+
"defaultValue": "secondary",
|
|
93
|
+
"appliesTo": "slBadge",
|
|
94
|
+
"description": "Which of the five semantic colours the badge speaks in"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "variant",
|
|
98
|
+
"type": "'solid' | 'soft' | 'outline'",
|
|
99
|
+
"defaultValue": "soft",
|
|
100
|
+
"appliesTo": "slBadge",
|
|
101
|
+
"description": "How that colour is painted: filled, tinted, or an edge alone. All three draw the same tone edge"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "size",
|
|
105
|
+
"type": "'sm' | 'md' | 'lg'",
|
|
106
|
+
"defaultValue": "md",
|
|
107
|
+
"appliesTo": "slBadge",
|
|
108
|
+
"description": "Type and glyph come from the control scale, so a badge shrinks with density beside the controls it sits with"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "shape",
|
|
112
|
+
"type": "'pill' | 'square' | 'dot'",
|
|
113
|
+
"defaultValue": "pill",
|
|
114
|
+
"appliesTo": "slBadge",
|
|
115
|
+
"description": "A dot is the same badge, tone and hidden text, drawn without a value"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "count",
|
|
119
|
+
"type": "number",
|
|
120
|
+
"defaultValue": "—",
|
|
121
|
+
"appliesTo": "slBadge",
|
|
122
|
+
"description": "The number the badge shows, written before any projected content and formatted for the locale"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "max",
|
|
126
|
+
"type": "number | false",
|
|
127
|
+
"defaultValue": "99",
|
|
128
|
+
"appliesTo": "slBadge",
|
|
129
|
+
"description": "The largest count written in full; above it the badge shows the ceiling and a plus. false removes the ceiling"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "showZero",
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"defaultValue": "false",
|
|
135
|
+
"appliesTo": "slBadge",
|
|
136
|
+
"description": "Whether a count of nought is a value worth showing or an absence that takes the badge out of the page"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "locale",
|
|
140
|
+
"type": "string",
|
|
141
|
+
"defaultValue": "—",
|
|
142
|
+
"appliesTo": "slBadge",
|
|
143
|
+
"description": "BCP 47, for the digits of count. Falls back to the injected default, then to the runtime"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "start",
|
|
147
|
+
"type": "slBadgeStart",
|
|
148
|
+
"defaultValue": "—",
|
|
149
|
+
"appliesTo": "a projected element",
|
|
150
|
+
"description": "A glyph before the words; the directive gives the consumer’s own element the start part"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "end",
|
|
154
|
+
"type": "slBadgeEnd",
|
|
155
|
+
"defaultValue": "—",
|
|
156
|
+
"appliesTo": "a projected element",
|
|
157
|
+
"description": "A glyph after the words"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "live",
|
|
161
|
+
"type": "'off' | 'polite' | 'assertive'",
|
|
162
|
+
"defaultValue": "off",
|
|
163
|
+
"appliesTo": "slBadge",
|
|
164
|
+
"description": "Whether a change to this badge is announced, and how urgently"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "placement",
|
|
168
|
+
"type": "'top-end' | 'top-start' | 'bottom-end' | 'bottom-start'",
|
|
169
|
+
"defaultValue": "top-end",
|
|
170
|
+
"appliesTo": "slBadgeAnchor",
|
|
171
|
+
"description": "Which corner of the host the badge sits on. Mirrors in a right-to-left document"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "overlap",
|
|
175
|
+
"type": "'rectangle' | 'circle'",
|
|
176
|
+
"defaultValue": "rectangle",
|
|
177
|
+
"appliesTo": "slBadgeAnchor",
|
|
178
|
+
"description": "The host's shape, which decides how far in from the corner the badge starts"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "offset",
|
|
182
|
+
"type": "{ x?: number; y?: number }",
|
|
183
|
+
"defaultValue": "{ x: 0, y: 0 }",
|
|
184
|
+
"appliesTo": "slBadgeAnchor",
|
|
185
|
+
"description": "Moves the badge off the computed corner, in pixels. x runs along the inline axis and mirrors with the document"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "exportAs",
|
|
189
|
+
"type": "slBadge | slBadgeStart | slBadgeEnd | slBadgeAnchor",
|
|
190
|
+
"defaultValue": "—",
|
|
191
|
+
"appliesTo": "every directive",
|
|
192
|
+
"description": "Reaches the instance from the template"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "provideBadgeDefaults",
|
|
196
|
+
"type": "{ tone, variant, size, shape, max, locale }",
|
|
197
|
+
"defaultValue": "—",
|
|
198
|
+
"appliesTo": "an injector",
|
|
199
|
+
"description": "Sets the defaults once for every badge under it; an explicit input still wins"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"composition": [],
|
|
203
|
+
"events": [],
|
|
204
|
+
"accessibility": [
|
|
205
|
+
"There is no badge pattern in the WAI-ARIA Authoring Practices — the pattern index carries no entry — and there is no badge role. The applicable guidance is the status role in WAI-ARIA 1.2, and WCAG 2.2 1.4.1 Use of Color, 1.4.11 Non-text Contrast and 4.1.3 Status Messages.",
|
|
206
|
+
"The directive adds no role. It is written on the element the page chose — a span in a sentence, a dd in a description list, an a that navigates — and what a badge means comes from where it sits.",
|
|
207
|
+
"live is the announcement policy for a badge whose value changes: polite writes role=\"status\", assertive writes role=\"alert\". A role the consumer wrote on the host is read with HostAttributeToken first and never replaced.",
|
|
208
|
+
"A dot says nothing a screen reader can read. Project the words beside it — a span slVisuallyHidden inside the badge — because colour alone is not a signal. Inside a badge that element is out of flow, so it costs no space.",
|
|
209
|
+
"The dot is the only badge whose whole meaning is a graphic, so its rim is --slotted-border-strong: the one border token the theme holds to 3:1 against the surface.",
|
|
210
|
+
"slBadgeAnchor is written on the element already around the host and does not rewrite the host. The badge is read after it in document order. When the host is interactive and its name must carry the count, wire aria-describedby from the host to the badge’s id, or name the count in the host’s aria-label.",
|
|
211
|
+
"A badge is not focusable and is never a command: it answers no hover and gives no press feedback. Written on an anchor it is focusable, and the family paints the ring for exactly that case.",
|
|
212
|
+
"A count of nought takes the badge out of the page with display: none — no box, no layout, nothing in the accessibility tree. React returns nothing instead; a directive written on an element the consumer owns cannot un-write it.",
|
|
213
|
+
"A badge is one line. A string too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it. A value that routinely needs more room is a Tag, not a Badge.",
|
|
214
|
+
"The count is formatted with Intl.NumberFormat, so a total reads 1.234 in de-DE and ١٬٢٣٤ in ar-EG. Provide locale through provideBadgeDefaults when the application server-renders counts above its grouping threshold."
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"tokens": [
|
|
219
|
+
"--slotted-badge-anchor-offset-x",
|
|
220
|
+
"--slotted-badge-anchor-offset-y",
|
|
221
|
+
"--slotted-badge-border-width",
|
|
222
|
+
"--slotted-badge-dot-border-color",
|
|
223
|
+
"--slotted-badge-font-family",
|
|
224
|
+
"--slotted-badge-font-weight",
|
|
225
|
+
"--slotted-badge-radius",
|
|
226
|
+
"--slotted-badge-ring-color",
|
|
227
|
+
"--slotted-badge-ring-width",
|
|
228
|
+
"--slotted-border-strong",
|
|
229
|
+
"--slotted-border-width-thick",
|
|
230
|
+
"--slotted-border-width-thin",
|
|
231
|
+
"--slotted-control-font-family",
|
|
232
|
+
"--slotted-control-font-size-lg",
|
|
233
|
+
"--slotted-control-font-size-md",
|
|
234
|
+
"--slotted-control-font-size-sm",
|
|
235
|
+
"--slotted-control-icon-size-md",
|
|
236
|
+
"--slotted-control-icon-size-sm",
|
|
237
|
+
"--slotted-focus-ring-color",
|
|
238
|
+
"--slotted-focus-ring-offset",
|
|
239
|
+
"--slotted-focus-ring-width",
|
|
240
|
+
"--slotted-font-weight-medium",
|
|
241
|
+
"--slotted-line-height-xs",
|
|
242
|
+
"--slotted-radius-full",
|
|
243
|
+
"--slotted-radius-sm",
|
|
244
|
+
"--slotted-space-1",
|
|
245
|
+
"--slotted-space-2",
|
|
246
|
+
"--slotted-space-3",
|
|
247
|
+
"--slotted-space-4",
|
|
248
|
+
"--slotted-space-5",
|
|
249
|
+
"--slotted-surface",
|
|
250
|
+
"--slotted-tone-accent-border",
|
|
251
|
+
"--slotted-tone-accent-on-solid",
|
|
252
|
+
"--slotted-tone-accent-solid",
|
|
253
|
+
"--slotted-tone-accent-surface",
|
|
254
|
+
"--slotted-tone-accent-text",
|
|
255
|
+
"--slotted-tone-danger-border",
|
|
256
|
+
"--slotted-tone-danger-on-solid",
|
|
257
|
+
"--slotted-tone-danger-solid",
|
|
258
|
+
"--slotted-tone-danger-surface",
|
|
259
|
+
"--slotted-tone-danger-text",
|
|
260
|
+
"--slotted-tone-secondary-border",
|
|
261
|
+
"--slotted-tone-secondary-on-solid",
|
|
262
|
+
"--slotted-tone-secondary-solid-hover",
|
|
263
|
+
"--slotted-tone-secondary-surface",
|
|
264
|
+
"--slotted-tone-secondary-text",
|
|
265
|
+
"--slotted-tone-success-border",
|
|
266
|
+
"--slotted-tone-success-on-solid",
|
|
267
|
+
"--slotted-tone-success-solid",
|
|
268
|
+
"--slotted-tone-success-surface",
|
|
269
|
+
"--slotted-tone-success-text",
|
|
270
|
+
"--slotted-tone-warning-border",
|
|
271
|
+
"--slotted-tone-warning-on-solid",
|
|
272
|
+
"--slotted-tone-warning-solid",
|
|
273
|
+
"--slotted-tone-warning-surface",
|
|
274
|
+
"--slotted-tone-warning-text"
|
|
275
|
+
],
|
|
276
|
+
"examples": [
|
|
277
|
+
{
|
|
278
|
+
"id": "badge-angular-status",
|
|
279
|
+
"title": "A status beside the thing it describes",
|
|
280
|
+
"note": null,
|
|
281
|
+
"language": "html",
|
|
282
|
+
"source": "<h3 slHeading [level]=\"3\">Invoice #4821 <span slBadge tone=\"warning\">Pending</span></h3>\n",
|
|
283
|
+
"verdict": "excerpt"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"id": "badge-angular-count",
|
|
287
|
+
"title": "A count on the corner of a control",
|
|
288
|
+
"note": null,
|
|
289
|
+
"language": "html",
|
|
290
|
+
"source": "<span slBadgeAnchor>\n <button slIconButton type=\"button\" aria-label=\"Notifications\">\n <ng-icon name=\"bell\" />\n </button>\n <span slBadge tone=\"danger\" variant=\"solid\" size=\"sm\" live=\"polite\" [count]=\"unread()\">\n <span slVisuallyHidden>unread notifications</span>\n </span>\n</span>\n",
|
|
291
|
+
"verdict": "excerpt"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"id": "badge-angular-described",
|
|
295
|
+
"title": "The count inside the host’s own description",
|
|
296
|
+
"note": null,
|
|
297
|
+
"language": "html",
|
|
298
|
+
"source": "<span slBadgeAnchor>\n <button type=\"button\" aria-describedby=\"inbox-count\">Inbox</button>\n <span id=\"inbox-count\" slBadge size=\"sm\" tone=\"danger\" variant=\"solid\" [count]=\"4\">\n <span slVisuallyHidden>unread messages</span>\n </span>\n</span>\n",
|
|
299
|
+
"verdict": "excerpt"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"id": "badge-angular-dot",
|
|
303
|
+
"title": "A dot, and the words it cannot say",
|
|
304
|
+
"note": null,
|
|
305
|
+
"language": "html",
|
|
306
|
+
"source": "<div slInline align=\"center\" [gap]=\"3\">\n <span slBadge shape=\"dot\" tone=\"success\" variant=\"solid\">\n <span slVisuallyHidden>Online</span>\n </span>\n <span slText>Deployed</span>\n</div>\n",
|
|
307
|
+
"verdict": "excerpt"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"id": "badge-angular-presence",
|
|
311
|
+
"title": "Presence on a round host",
|
|
312
|
+
"note": null,
|
|
313
|
+
"language": "html",
|
|
314
|
+
"source": "<span slBadgeAnchor placement=\"bottom-end\" overlap=\"circle\">\n <img class=\"avatar\" alt=\"\" [src]=\"member.photo\" />\n <span slBadge shape=\"dot\" size=\"sm\" tone=\"success\" variant=\"solid\">\n <span slVisuallyHidden>Online</span>\n </span>\n</span>\n",
|
|
315
|
+
"verdict": "excerpt"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"id": "badge-angular-link",
|
|
319
|
+
"title": "A badge that navigates",
|
|
320
|
+
"note": null,
|
|
321
|
+
"language": "html",
|
|
322
|
+
"source": "<a slBadge tone=\"accent\" variant=\"outline\" href=\"/releases/4.2.0\">v4.2.0</a>\n",
|
|
323
|
+
"verdict": "excerpt"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "badge-angular-defaults",
|
|
327
|
+
"title": "One decision for every badge in the application",
|
|
328
|
+
"note": null,
|
|
329
|
+
"language": "ts",
|
|
330
|
+
"source": "import { provideBadgeDefaults } from '@slotted/angular/badge';\n\nbootstrapApplication(App, {\n providers: [provideBadgeDefaults({ locale: 'pt-BR', max: 999, size: 'sm' })],\n});\n",
|
|
331
|
+
"verdict": "excerpt"
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
}
|
package/docs/badge.md
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
<!-- index: ./index.md -->
|
|
2
|
+
# badge
|
|
3
|
+
|
|
4
|
+
`data-ui="badge"` · Short label or count attached to an element.
|
|
5
|
+
|
|
6
|
+
## Minimal example
|
|
7
|
+
|
|
8
|
+
Excerpt — not a complete module
|
|
9
|
+
|
|
10
|
+
```html
|
|
11
|
+
<h3 slHeading [level]="3">Invoice #4821 <span slBadge tone="warning">Pending</span></h3>
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Props
|
|
15
|
+
|
|
16
|
+
| Name | Type | Default | Applies to | Description |
|
|
17
|
+
| --- | --- | --- | --- | --- |
|
|
18
|
+
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slBadge | Which of the five semantic colours the badge speaks in |
|
|
19
|
+
| `variant` | `'solid' \| 'soft' \| 'outline'` | soft | slBadge | How that colour is painted: filled, tinted, or an edge alone. All three draw the same tone edge |
|
|
20
|
+
| `size` | `'sm' \| 'md' \| 'lg'` | md | slBadge | Type and glyph come from the control scale, so a badge shrinks with density beside the controls it sits with |
|
|
21
|
+
| `shape` | `'pill' \| 'square' \| 'dot'` | pill | slBadge | A dot is the same badge, tone and hidden text, drawn without a value |
|
|
22
|
+
| `count` | `number` | — | slBadge | The number the badge shows, written before any projected content and formatted for the locale |
|
|
23
|
+
| `max` | `number \| false` | 99 | slBadge | The largest count written in full; above it the badge shows the ceiling and a plus. false removes the ceiling |
|
|
24
|
+
| `showZero` | `boolean` | false | slBadge | Whether a count of nought is a value worth showing or an absence that takes the badge out of the page |
|
|
25
|
+
| `locale` | `string` | — | slBadge | BCP 47, for the digits of count. Falls back to the injected default, then to the runtime |
|
|
26
|
+
| `start` | `slBadgeStart` | — | a projected element | A glyph before the words; the directive gives the consumer’s own element the start part |
|
|
27
|
+
| `end` | `slBadgeEnd` | — | a projected element | A glyph after the words |
|
|
28
|
+
| `live` | `'off' \| 'polite' \| 'assertive'` | off | slBadge | Whether a change to this badge is announced, and how urgently |
|
|
29
|
+
| `placement` | `'top-end' \| 'top-start' \| 'bottom-end' \| 'bottom-start'` | top-end | slBadgeAnchor | Which corner of the host the badge sits on. Mirrors in a right-to-left document |
|
|
30
|
+
| `overlap` | `'rectangle' \| 'circle'` | rectangle | slBadgeAnchor | The host's shape, which decides how far in from the corner the badge starts |
|
|
31
|
+
| `offset` | `{ x?: number; y?: number }` | { x: 0, y: 0 } | slBadgeAnchor | Moves the badge off the computed corner, in pixels. x runs along the inline axis and mirrors with the document |
|
|
32
|
+
| `exportAs` | `slBadge \| slBadgeStart \| slBadgeEnd \| slBadgeAnchor` | — | every directive | Reaches the instance from the template |
|
|
33
|
+
| `provideBadgeDefaults` | `{ tone, variant, size, shape, max, locale }` | — | an injector | Sets the defaults once for every badge under it; an explicit input still wins |
|
|
34
|
+
|
|
35
|
+
## Axes and defaults
|
|
36
|
+
|
|
37
|
+
| Axis | Values | Default |
|
|
38
|
+
| --- | --- | --- |
|
|
39
|
+
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `secondary` |
|
|
40
|
+
| `variant` | `solid`, `soft`, `outline` | `soft` |
|
|
41
|
+
| `size` | `sm`, `md`, `lg` | `md` |
|
|
42
|
+
| `shape` | `pill`, `square`, `dot` | `pill` |
|
|
43
|
+
| `live` | `off`, `polite`, `assertive` | `off` |
|
|
44
|
+
| `placement` | `top-end`, `top-start`, `bottom-end`, `bottom-start` | `top-end` |
|
|
45
|
+
| `overlap` | `rectangle`, `circle` | `rectangle` |
|
|
46
|
+
|
|
47
|
+
## Rules
|
|
48
|
+
|
|
49
|
+
- There is no badge pattern in the WAI-ARIA Authoring Practices — the pattern index carries no entry — and there is no badge role. The applicable guidance is the status role in WAI-ARIA 1.2, and WCAG 2.2 1.4.1 Use of Color, 1.4.11 Non-text Contrast and 4.1.3 Status Messages.
|
|
50
|
+
- The directive adds no role. It is written on the element the page chose — a span in a sentence, a dd in a description list, an a that navigates — and what a badge means comes from where it sits.
|
|
51
|
+
- live is the announcement policy for a badge whose value changes: polite writes role="status", assertive writes role="alert". A role the consumer wrote on the host is read with HostAttributeToken first and never replaced.
|
|
52
|
+
- A dot says nothing a screen reader can read. Project the words beside it — a span slVisuallyHidden inside the badge — because colour alone is not a signal. Inside a badge that element is out of flow, so it costs no space.
|
|
53
|
+
- The dot is the only badge whose whole meaning is a graphic, so its rim is --slotted-border-strong: the one border token the theme holds to 3:1 against the surface.
|
|
54
|
+
- slBadgeAnchor is written on the element already around the host and does not rewrite the host. The badge is read after it in document order. When the host is interactive and its name must carry the count, wire aria-describedby from the host to the badge’s id, or name the count in the host’s aria-label.
|
|
55
|
+
- A badge is not focusable and is never a command: it answers no hover and gives no press feedback. Written on an anchor it is focusable, and the family paints the ring for exactly that case.
|
|
56
|
+
- A count of nought takes the badge out of the page with display: none — no box, no layout, nothing in the accessibility tree. React returns nothing instead; a directive written on an element the consumer owns cannot un-write it.
|
|
57
|
+
- A badge is one line. A string too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it. A value that routinely needs more room is a Tag, not a Badge.
|
|
58
|
+
- The count is formatted with Intl.NumberFormat, so a total reads 1.234 in de-DE and ١٬٢٣٤ in ar-EG. Provide locale through provideBadgeDefaults when the application server-renders counts above its grouping threshold.
|
|
59
|
+
|
|
60
|
+
## Tokens
|
|
61
|
+
|
|
62
|
+
`--slotted-badge-anchor-offset-x`, `--slotted-badge-anchor-offset-y`, `--slotted-badge-border-width`, `--slotted-badge-dot-border-color`, `--slotted-badge-font-family`, `--slotted-badge-font-weight`, `--slotted-badge-radius`, `--slotted-badge-ring-color`, `--slotted-badge-ring-width`, `--slotted-border-strong`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
63
|
+
|
|
64
|
+
## Examples
|
|
65
|
+
|
|
66
|
+
### A count on the corner of a control
|
|
67
|
+
|
|
68
|
+
Excerpt — not a complete module
|
|
69
|
+
|
|
70
|
+
```html
|
|
71
|
+
<span slBadgeAnchor>
|
|
72
|
+
<button slIconButton type="button" aria-label="Notifications">
|
|
73
|
+
<ng-icon name="bell" />
|
|
74
|
+
</button>
|
|
75
|
+
<span slBadge tone="danger" variant="solid" size="sm" live="polite" [count]="unread()">
|
|
76
|
+
<span slVisuallyHidden>unread notifications</span>
|
|
77
|
+
</span>
|
|
78
|
+
</span>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### The count inside the host’s own description
|
|
82
|
+
|
|
83
|
+
Excerpt — not a complete module
|
|
84
|
+
|
|
85
|
+
```html
|
|
86
|
+
<span slBadgeAnchor>
|
|
87
|
+
<button type="button" aria-describedby="inbox-count">Inbox</button>
|
|
88
|
+
<span id="inbox-count" slBadge size="sm" tone="danger" variant="solid" [count]="4">
|
|
89
|
+
<span slVisuallyHidden>unread messages</span>
|
|
90
|
+
</span>
|
|
91
|
+
</span>
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### A dot, and the words it cannot say
|
|
95
|
+
|
|
96
|
+
Excerpt — not a complete module
|
|
97
|
+
|
|
98
|
+
```html
|
|
99
|
+
<div slInline align="center" [gap]="3">
|
|
100
|
+
<span slBadge shape="dot" tone="success" variant="solid">
|
|
101
|
+
<span slVisuallyHidden>Online</span>
|
|
102
|
+
</span>
|
|
103
|
+
<span slText>Deployed</span>
|
|
104
|
+
</div>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### Presence on a round host
|
|
108
|
+
|
|
109
|
+
Excerpt — not a complete module
|
|
110
|
+
|
|
111
|
+
```html
|
|
112
|
+
<span slBadgeAnchor placement="bottom-end" overlap="circle">
|
|
113
|
+
<img class="avatar" alt="" [src]="member.photo" />
|
|
114
|
+
<span slBadge shape="dot" size="sm" tone="success" variant="solid">
|
|
115
|
+
<span slVisuallyHidden>Online</span>
|
|
116
|
+
</span>
|
|
117
|
+
</span>
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### A badge that navigates
|
|
121
|
+
|
|
122
|
+
Excerpt — not a complete module
|
|
123
|
+
|
|
124
|
+
```html
|
|
125
|
+
<a slBadge tone="accent" variant="outline" href="/releases/4.2.0">v4.2.0</a>
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### One decision for every badge in the application
|
|
129
|
+
|
|
130
|
+
Excerpt — not a complete module
|
|
131
|
+
|
|
132
|
+
```ts
|
|
133
|
+
import { provideBadgeDefaults } from '@slotted/angular/badge';
|
|
134
|
+
|
|
135
|
+
bootstrapApplication(App, {
|
|
136
|
+
providers: [provideBadgeDefaults({ locale: 'pt-BR', max: 999, size: 'sm' })],
|
|
137
|
+
});
|
|
138
|
+
```
|