@slotted/angular 0.1.0-beta.3 → 0.1.0-beta.30
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/docs/AGENTS.snippet.md +3 -1
- package/docs/accordion.json +5 -5
- package/docs/accordion.md +12 -12
- package/docs/action-bar.json +23 -22
- package/docs/action-bar.md +30 -30
- package/docs/action-sheet.json +391 -64
- package/docs/action-sheet.md +259 -0
- package/docs/alert.json +30 -13
- package/docs/alert.md +29 -18
- package/docs/app-shell.examples.md +8 -8
- package/docs/app-shell.json +37 -20
- package/docs/app-shell.md +9 -7
- package/docs/avatar-group.json +1 -1
- package/docs/avatar-group.md +1 -1
- package/docs/avatar.json +32 -11
- package/docs/avatar.md +13 -11
- package/docs/badge.json +10 -4
- package/docs/badge.md +5 -5
- package/docs/breadcrumb.json +2 -2
- package/docs/breadcrumb.md +2 -2
- package/docs/button-group.json +2 -1
- package/docs/button-group.md +2 -2
- package/docs/button.examples.md +15 -0
- package/docs/button.json +134 -14
- package/docs/button.md +32 -8
- package/docs/calendar.json +31 -6
- package/docs/calendar.md +9 -6
- package/docs/card.json +2 -2
- package/docs/card.md +2 -2
- package/docs/carousel.json +10 -10
- package/docs/carousel.md +11 -11
- package/docs/cascader.json +1 -0
- package/docs/cascader.md +1 -1
- package/docs/chart.examples.md +45 -31
- package/docs/chart.json +40 -35
- package/docs/chart.md +7 -7
- package/docs/checkbox-group.examples.md +13 -13
- package/docs/checkbox-group.json +7 -7
- package/docs/checkbox-group.md +2 -2
- package/docs/checkbox.examples.md +7 -7
- package/docs/checkbox.json +6 -6
- package/docs/checkbox.md +3 -3
- package/docs/code-block.json +93 -93
- package/docs/code-block.md +70 -70
- package/docs/collapsible.json +11 -11
- package/docs/collapsible.md +19 -19
- package/docs/color-picker.json +26 -26
- package/docs/color-picker.md +16 -16
- package/docs/combobox.json +5 -2
- package/docs/combobox.md +3 -3
- package/docs/command-palette.json +2 -0
- package/docs/command-palette.md +1 -1
- package/docs/context-menu.json +1 -1
- package/docs/context-menu.md +1 -1
- package/docs/currency-field.examples.md +3 -3
- package/docs/currency-field.json +14 -6
- package/docs/currency-field.md +6 -5
- package/docs/dashboard-grid.json +32 -10
- package/docs/dashboard-grid.md +15 -6
- package/docs/data-grid.examples.md +3 -3
- package/docs/data-grid.json +37 -11
- package/docs/data-grid.md +2 -1
- package/docs/data-grid.props.md +7 -5
- package/docs/data-list.json +2 -1
- package/docs/data-list.md +1 -1
- package/docs/date-field.json +12 -4
- package/docs/date-field.md +8 -7
- package/docs/date-picker.examples.md +36 -0
- package/docs/date-picker.json +32 -5
- package/docs/date-picker.md +7 -5
- package/docs/date-range-picker.json +11 -0
- package/docs/date-range-picker.md +2 -1
- package/docs/datetime-field.json +5 -4
- package/docs/datetime-field.md +10 -10
- package/docs/datetime-picker.json +11 -1
- package/docs/datetime-picker.md +2 -1
- package/docs/datetime-range-picker.examples.md +3 -3
- package/docs/datetime-range-picker.json +14 -3
- package/docs/datetime-range-picker.md +4 -3
- package/docs/description-list.json +16 -7
- package/docs/description-list.md +8 -7
- package/docs/detail-panel.json +14 -12
- package/docs/detail-panel.md +20 -15
- package/docs/dialog.examples.md +143 -141
- package/docs/dialog.json +56 -24
- package/docs/dialog.md +6 -4
- package/docs/dialog.props.md +9 -7
- package/docs/drawer.examples.md +14 -14
- package/docs/drawer.json +43 -17
- package/docs/drawer.md +10 -8
- package/docs/entity-picker.json +21 -4
- package/docs/entity-picker.md +8 -6
- package/docs/event-calendar.examples.md +3 -3
- package/docs/event-calendar.json +5 -5
- package/docs/event-calendar.md +4 -4
- package/docs/field-group.json +21 -6
- package/docs/field-group.md +14 -12
- package/docs/field.examples.md +3 -3
- package/docs/field.json +20 -5
- package/docs/field.md +4 -2
- package/docs/filter-bar.json +118 -118
- package/docs/filter-bar.md +79 -79
- package/docs/form.json +23 -11
- package/docs/form.md +15 -13
- package/docs/fullscreen.json +4 -4
- package/docs/fullscreen.md +7 -7
- package/docs/guidelines/README.md +2 -2
- package/docs/guidelines/async-feedback.md +25 -4
- package/docs/guidelines/builders.md +1 -1
- package/docs/guidelines/composition.md +37 -11
- package/docs/guidelines/conversations.md +1 -1
- package/docs/guidelines/errors-and-conflicts.md +7 -6
- package/docs/guidelines/forms.md +111 -1
- package/docs/guidelines/index.md +27 -7
- package/docs/guidelines/layout-alignment.md +24 -14
- package/docs/guidelines/list-pages.md +44 -3
- package/docs/guidelines/overviews.md +39 -9
- package/docs/guidelines/own-elements.md +8 -8
- package/docs/guidelines/reading-permissions.md +2 -2
- package/docs/guidelines/record-pages.md +1 -1
- package/docs/guidelines/reports.md +1 -1
- package/docs/highlight.json +9 -9
- package/docs/highlight.md +14 -14
- package/docs/icon.json +5 -3
- package/docs/icon.md +4 -4
- package/docs/image.json +3 -3
- package/docs/image.md +3 -3
- package/docs/import-export-center.json +23 -23
- package/docs/import-export-center.md +17 -17
- package/docs/index.md +3 -2
- package/docs/inline-message.json +34 -21
- package/docs/inline-message.md +32 -30
- package/docs/inline.json +1 -1
- package/docs/inline.md +1 -1
- package/docs/kbd.json +5 -2
- package/docs/kbd.md +3 -3
- package/docs/link.json +22 -6
- package/docs/link.md +9 -7
- package/docs/list-item.json +20 -4
- package/docs/list-item.md +20 -17
- package/docs/list.json +1 -1
- package/docs/listbox.json +1 -2
- package/docs/listbox.md +2 -2
- package/docs/loading-overlay.json +3 -3
- package/docs/loading-overlay.md +3 -3
- package/docs/markdown.json +86 -79
- package/docs/markdown.md +66 -65
- package/docs/media-viewer.json +521 -0
- package/docs/media-viewer.md +188 -0
- package/docs/menu.json +14 -1
- package/docs/menu.md +3 -1
- package/docs/message-scroller.json +2 -2
- package/docs/message-scroller.md +1 -1
- package/docs/message.json +18 -12
- package/docs/message.md +20 -20
- package/docs/multi-select.json +3 -1
- package/docs/multi-select.md +1 -1
- package/docs/notification-center.json +20 -16
- package/docs/notification-center.md +20 -24
- package/docs/number-field.examples.md +3 -3
- package/docs/number-field.json +4 -3
- package/docs/number-field.md +1 -1
- package/docs/otp-input.json +11 -10
- package/docs/otp-input.md +14 -14
- package/docs/page-header.json +30 -13
- package/docs/page-header.md +25 -25
- package/docs/page.json +4 -2
- package/docs/page.md +3 -2
- package/docs/pagination.json +2 -2
- package/docs/pagination.md +1 -1
- package/docs/popover.examples.md +1 -1
- package/docs/popover.json +4 -3
- package/docs/popover.md +2 -2
- package/docs/progress-indicator.json +7 -5
- package/docs/progress-indicator.md +7 -7
- package/docs/prompt-composer.json +53 -6
- package/docs/prompt-composer.md +12 -6
- package/docs/prose.json +1 -1
- package/docs/prose.md +1 -1
- package/docs/radio-group.examples.md +19 -19
- package/docs/radio-group.json +12 -12
- package/docs/radio-group.md +3 -3
- package/docs/rating.json +28 -26
- package/docs/rating.md +28 -37
- package/docs/result-state.json +12 -12
- package/docs/result-state.md +17 -17
- package/docs/saved-views.json +1 -1
- package/docs/scroll-area.json +266 -64
- package/docs/scroll-area.md +188 -0
- package/docs/section.json +43 -21
- package/docs/section.md +34 -31
- package/docs/segmented-control.json +21 -25
- package/docs/segmented-control.md +33 -33
- package/docs/select.json +3 -0
- package/docs/select.md +1 -1
- package/docs/side-navigation.json +1 -0
- package/docs/side-navigation.md +1 -1
- package/docs/skeleton.json +1 -1
- package/docs/skeleton.md +1 -1
- package/docs/skills/build-own-element/SKILL.md +9 -9
- package/docs/skills/compose-screen/SKILL.md +54 -18
- package/docs/skills/index.md +2 -2
- package/docs/skills/review-screen/SKILL.md +28 -17
- package/docs/skills/theme-app/SKILL.md +66 -20
- package/docs/skills/waiting-states/SKILL.md +15 -11
- package/docs/slider.json +8 -8
- package/docs/slider.md +12 -12
- package/docs/sparkline.json +12 -9
- package/docs/sparkline.md +9 -9
- package/docs/split-button.json +14 -12
- package/docs/split-button.md +28 -30
- package/docs/splitter.json +279 -64
- package/docs/splitter.md +215 -0
- package/docs/stack.json +1 -1
- package/docs/stack.md +1 -1
- package/docs/stat-card.json +36 -9
- package/docs/stat-card.md +11 -8
- package/docs/status-indicator.json +22 -11
- package/docs/status-indicator.md +8 -6
- package/docs/stepper.json +4 -4
- package/docs/stepper.md +4 -4
- package/docs/switch.json +5 -5
- package/docs/switch.md +7 -7
- package/docs/table-of-contents.json +13 -12
- package/docs/table-of-contents.md +14 -14
- package/docs/table.examples.md +3 -3
- package/docs/table.json +17 -3
- package/docs/table.md +3 -1
- package/docs/tabs.json +16 -3
- package/docs/tabs.md +3 -2
- package/docs/tag.json +38 -26
- package/docs/tag.md +17 -17
- package/docs/tags-input.json +30 -3
- package/docs/tags-input.md +5 -2
- package/docs/text-field.examples.md +6 -6
- package/docs/text-field.json +6 -5
- package/docs/text-field.md +2 -2
- package/docs/textarea.examples.md +7 -7
- package/docs/textarea.json +4 -3
- package/docs/textarea.md +1 -1
- package/docs/time-field.json +4 -3
- package/docs/time-field.md +7 -7
- package/docs/time-picker.json +15 -5
- package/docs/time-picker.md +8 -7
- package/docs/time-range-picker.examples.md +5 -5
- package/docs/time-range-picker.json +15 -4
- package/docs/time-range-picker.md +3 -2
- package/docs/timeline.json +138 -132
- package/docs/timeline.md +125 -125
- package/docs/toast.json +14 -7
- package/docs/toast.md +8 -8
- package/docs/toggle-group.json +12 -12
- package/docs/toggle-group.md +28 -28
- package/docs/toggle.json +8 -8
- package/docs/toggle.md +7 -7
- package/docs/tokens.md +45 -26
- package/docs/toolbar.json +11 -11
- package/docs/toolbar.md +23 -23
- package/docs/tooltip.json +4 -3
- package/docs/tooltip.md +4 -4
- package/docs/top-navigation.examples.md +11 -15
- package/docs/top-navigation.json +9 -9
- package/docs/top-navigation.md +7 -7
- package/docs/tour.json +9 -9
- package/docs/tour.md +6 -6
- package/docs/typography.json +6 -4
- package/docs/typography.md +5 -5
- package/docs/upload.examples.md +3 -3
- package/docs/upload.json +9 -9
- package/docs/upload.md +4 -4
- package/fesm2022/slotted-angular-accordion.mjs +4 -2
- package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-bar.mjs +27 -12
- package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
- package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
- package/fesm2022/slotted-angular-alert.mjs +56 -18
- package/fesm2022/slotted-angular-alert.mjs.map +1 -1
- package/fesm2022/slotted-angular-app-shell.mjs +85 -56
- package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
- package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
- package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
- package/fesm2022/slotted-angular-attachment.mjs +33 -22
- package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar-group.mjs +13 -10
- package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-avatar.mjs +17 -10
- package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
- package/fesm2022/slotted-angular-badge.mjs +15 -11
- package/fesm2022/slotted-angular-badge.mjs.map +1 -1
- package/fesm2022/slotted-angular-breadcrumb.mjs +27 -19
- package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/slotted-angular-button-group.mjs +8 -5
- package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-button.mjs +163 -28
- package/fesm2022/slotted-angular-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-calendar.mjs +263 -65
- package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-card.mjs +19 -17
- package/fesm2022/slotted-angular-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-carousel.mjs +22 -11
- package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
- package/fesm2022/slotted-angular-cascader.mjs +179 -65
- package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
- package/fesm2022/slotted-angular-chart.mjs +26 -5
- package/fesm2022/slotted-angular-chart.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
- package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-checkbox.mjs +14 -9
- package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-code-block.mjs +30 -16
- package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
- package/fesm2022/slotted-angular-collapsible.mjs +21 -16
- package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
- package/fesm2022/slotted-angular-color-picker.mjs +83 -28
- package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-column-manager.mjs +71 -32
- package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
- package/fesm2022/slotted-angular-combobox.mjs +108 -35
- package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
- package/fesm2022/slotted-angular-command-palette.mjs +162 -54
- package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
- package/fesm2022/slotted-angular-container.mjs +6 -4
- package/fesm2022/slotted-angular-container.mjs.map +1 -1
- package/fesm2022/slotted-angular-context-menu.mjs +5 -4
- package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-currency-field.mjs +100 -34
- package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-dashboard-grid.mjs +295 -68
- package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-grid.mjs +461 -129
- package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-data-list.mjs +83 -50
- package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-field.mjs +74 -25
- package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-picker.mjs +135 -40
- package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-date-range-picker.mjs +68 -22
- package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-field.mjs +49 -17
- package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-picker.mjs +64 -29
- package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-datetime-range-picker.mjs +144 -54
- package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-description-list.mjs +47 -24
- package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
- package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
- package/fesm2022/slotted-angular-dialog.mjs +81 -39
- package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
- package/fesm2022/slotted-angular-divider.mjs +7 -5
- package/fesm2022/slotted-angular-divider.mjs.map +1 -1
- package/fesm2022/slotted-angular-drawer.mjs +236 -105
- package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
- package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
- package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-event-calendar.mjs +262 -105
- package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
- package/fesm2022/slotted-angular-field-group.mjs +30 -9
- package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-field.mjs +49 -18
- package/fesm2022/slotted-angular-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-filter-bar.mjs +111 -44
- package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
- package/fesm2022/slotted-angular-form.mjs +48 -17
- package/fesm2022/slotted-angular-form.mjs.map +1 -1
- package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
- package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
- package/fesm2022/slotted-angular-grid.mjs +6 -4
- package/fesm2022/slotted-angular-grid.mjs.map +1 -1
- package/fesm2022/slotted-angular-highlight.mjs +6 -4
- package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
- package/fesm2022/slotted-angular-hover-card.mjs +5 -4
- package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-icon.mjs +191 -90
- package/fesm2022/slotted-angular-icon.mjs.map +1 -1
- package/fesm2022/slotted-angular-image.mjs +13 -10
- package/fesm2022/slotted-angular-image.mjs.map +1 -1
- package/fesm2022/slotted-angular-import-export-center.mjs +185 -109
- package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline-message.mjs +98 -23
- package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-inline.mjs +7 -5
- package/fesm2022/slotted-angular-inline.mjs.map +1 -1
- package/fesm2022/slotted-angular-kbd.mjs +11 -7
- package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
- package/fesm2022/slotted-angular-link.mjs +13 -4
- package/fesm2022/slotted-angular-link.mjs.map +1 -1
- package/fesm2022/slotted-angular-list-item.mjs +63 -23
- package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
- package/fesm2022/slotted-angular-list.mjs +15 -11
- package/fesm2022/slotted-angular-list.mjs.map +1 -1
- package/fesm2022/slotted-angular-listbox.mjs +41 -23
- package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
- package/fesm2022/slotted-angular-loading-overlay.mjs +62 -25
- package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
- package/fesm2022/slotted-angular-markdown.mjs +57 -31
- package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
- package/fesm2022/slotted-angular-media-viewer.mjs +962 -0
- package/fesm2022/slotted-angular-media-viewer.mjs.map +1 -0
- package/fesm2022/slotted-angular-menu.mjs +62 -39
- package/fesm2022/slotted-angular-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-menubar.mjs +6 -3
- package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
- package/fesm2022/slotted-angular-message-scroller.mjs +35 -16
- package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
- package/fesm2022/slotted-angular-message.mjs +119 -51
- package/fesm2022/slotted-angular-message.mjs.map +1 -1
- package/fesm2022/slotted-angular-multi-select.mjs +163 -60
- package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
- package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
- package/fesm2022/slotted-angular-notification-center.mjs +111 -68
- package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
- package/fesm2022/slotted-angular-number-field.mjs +24 -12
- package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-otp-input.mjs +14 -9
- package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-page-header.mjs +90 -48
- package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
- package/fesm2022/slotted-angular-page.mjs +60 -12
- package/fesm2022/slotted-angular-page.mjs.map +1 -1
- package/fesm2022/slotted-angular-pagination.mjs +35 -22
- package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
- package/fesm2022/slotted-angular-popover.mjs +34 -21
- package/fesm2022/slotted-angular-popover.mjs.map +1 -1
- package/fesm2022/slotted-angular-progress-indicator.mjs +238 -54
- package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
- package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
- package/fesm2022/slotted-angular-prose.mjs +14 -11
- package/fesm2022/slotted-angular-prose.mjs.map +1 -1
- package/fesm2022/slotted-angular-radio-group.mjs +17 -11
- package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-rating.mjs +143 -87
- package/fesm2022/slotted-angular-rating.mjs.map +1 -1
- package/fesm2022/slotted-angular-result-state.mjs +16 -12
- package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
- package/fesm2022/slotted-angular-saved-views.mjs +43 -16
- package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
- package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
- package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
- package/fesm2022/slotted-angular-section.mjs +81 -19
- package/fesm2022/slotted-angular-section.mjs.map +1 -1
- package/fesm2022/slotted-angular-segmented-control.mjs +16 -10
- package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/slotted-angular-select.mjs +189 -69
- package/fesm2022/slotted-angular-select.mjs.map +1 -1
- package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
- package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-skeleton.mjs +32 -16
- package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
- package/fesm2022/slotted-angular-slider.mjs +34 -14
- package/fesm2022/slotted-angular-slider.mjs.map +1 -1
- package/fesm2022/slotted-angular-sparkline.mjs +41 -14
- package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
- package/fesm2022/slotted-angular-split-button.mjs +37 -11
- package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
- package/fesm2022/slotted-angular-splitter.mjs +11 -9
- package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
- package/fesm2022/slotted-angular-stack.mjs +6 -4
- package/fesm2022/slotted-angular-stack.mjs.map +1 -1
- package/fesm2022/slotted-angular-stat-card.mjs +120 -41
- package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
- package/fesm2022/slotted-angular-status-indicator.mjs +51 -20
- package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
- package/fesm2022/slotted-angular-stepper.mjs +40 -15
- package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
- package/fesm2022/slotted-angular-switch.mjs +15 -10
- package/fesm2022/slotted-angular-switch.mjs.map +1 -1
- package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
- package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
- package/fesm2022/slotted-angular-table.mjs +162 -79
- package/fesm2022/slotted-angular-table.mjs.map +1 -1
- package/fesm2022/slotted-angular-tabs.mjs +42 -18
- package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
- package/fesm2022/slotted-angular-tag.mjs +20 -13
- package/fesm2022/slotted-angular-tag.mjs.map +1 -1
- package/fesm2022/slotted-angular-tags-input.mjs +254 -29
- package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
- package/fesm2022/slotted-angular-text-field.mjs +55 -15
- package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-textarea.mjs +5 -3
- package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
- package/fesm2022/slotted-angular-theme.mjs +6 -3
- package/fesm2022/slotted-angular-theme.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-field.mjs +48 -14
- package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-picker.mjs +55 -20
- package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-time-range-picker.mjs +142 -52
- package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
- package/fesm2022/slotted-angular-timeline.mjs +147 -64
- package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
- package/fesm2022/slotted-angular-toast.mjs +50 -38
- package/fesm2022/slotted-angular-toast.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle-group.mjs +10 -6
- package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
- package/fesm2022/slotted-angular-toggle.mjs +9 -4
- package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
- package/fesm2022/slotted-angular-toolbar.mjs +27 -12
- package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
- package/fesm2022/slotted-angular-tooltip.mjs +15 -6
- package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
- package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
- package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
- package/fesm2022/slotted-angular-tour.mjs +49 -24
- package/fesm2022/slotted-angular-tour.mjs.map +1 -1
- package/fesm2022/slotted-angular-transfer.mjs +69 -30
- package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
- package/fesm2022/slotted-angular-tree.mjs +80 -26
- package/fesm2022/slotted-angular-tree.mjs.map +1 -1
- package/fesm2022/slotted-angular-typography.mjs +9 -5
- package/fesm2022/slotted-angular-typography.mjs.map +1 -1
- package/fesm2022/slotted-angular-upload.mjs +127 -59
- package/fesm2022/slotted-angular-upload.mjs.map +1 -1
- package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
- package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
- package/fesm2022/slotted-angular-wizard.mjs +169 -71
- package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
- package/package.json +19 -3
- package/types/slotted-angular-accordion.d.ts.map +1 -1
- package/types/slotted-angular-action-bar.d.ts +2 -0
- package/types/slotted-angular-action-bar.d.ts.map +1 -1
- package/types/slotted-angular-action-sheet.d.ts.map +1 -1
- package/types/slotted-angular-alert.d.ts +17 -8
- package/types/slotted-angular-alert.d.ts.map +1 -1
- package/types/slotted-angular-app-shell.d.ts +10 -8
- package/types/slotted-angular-app-shell.d.ts.map +1 -1
- package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
- package/types/slotted-angular-attachment.d.ts +2 -1
- package/types/slotted-angular-attachment.d.ts.map +1 -1
- package/types/slotted-angular-avatar-group.d.ts +3 -3
- package/types/slotted-angular-avatar-group.d.ts.map +1 -1
- package/types/slotted-angular-avatar.d.ts +17 -9
- package/types/slotted-angular-avatar.d.ts.map +1 -1
- package/types/slotted-angular-badge.d.ts +4 -4
- package/types/slotted-angular-badge.d.ts.map +1 -1
- package/types/slotted-angular-breadcrumb.d.ts +1 -1
- package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
- package/types/slotted-angular-button-group.d.ts +2 -2
- package/types/slotted-angular-button-group.d.ts.map +1 -1
- package/types/slotted-angular-button.d.ts +45 -12
- package/types/slotted-angular-button.d.ts.map +1 -1
- package/types/slotted-angular-calendar.d.ts +43 -2
- package/types/slotted-angular-calendar.d.ts.map +1 -1
- package/types/slotted-angular-card.d.ts +1 -1
- package/types/slotted-angular-card.d.ts.map +1 -1
- package/types/slotted-angular-carousel.d.ts.map +1 -1
- package/types/slotted-angular-cascader.d.ts.map +1 -1
- package/types/slotted-angular-chart.d.ts +14 -11
- package/types/slotted-angular-chart.d.ts.map +1 -1
- package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
- package/types/slotted-angular-checkbox.d.ts +1 -1
- package/types/slotted-angular-checkbox.d.ts.map +1 -1
- package/types/slotted-angular-code-block.d.ts +3 -2
- package/types/slotted-angular-code-block.d.ts.map +1 -1
- package/types/slotted-angular-collapsible.d.ts +3 -2
- package/types/slotted-angular-collapsible.d.ts.map +1 -1
- package/types/slotted-angular-color-picker.d.ts +6 -6
- package/types/slotted-angular-color-picker.d.ts.map +1 -1
- package/types/slotted-angular-column-manager.d.ts +1 -1
- package/types/slotted-angular-column-manager.d.ts.map +1 -1
- package/types/slotted-angular-combobox.d.ts +6 -1
- package/types/slotted-angular-combobox.d.ts.map +1 -1
- package/types/slotted-angular-command-palette.d.ts +10 -1
- package/types/slotted-angular-command-palette.d.ts.map +1 -1
- package/types/slotted-angular-container.d.ts.map +1 -1
- package/types/slotted-angular-context-menu.d.ts.map +1 -1
- package/types/slotted-angular-currency-field.d.ts +40 -14
- package/types/slotted-angular-currency-field.d.ts.map +1 -1
- package/types/slotted-angular-dashboard-grid.d.ts +63 -7
- package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-grid.d.ts +63 -5
- package/types/slotted-angular-data-grid.d.ts.map +1 -1
- package/types/slotted-angular-data-list.d.ts.map +1 -1
- package/types/slotted-angular-date-field.d.ts +11 -1
- package/types/slotted-angular-date-field.d.ts.map +1 -1
- package/types/slotted-angular-date-picker.d.ts +39 -12
- package/types/slotted-angular-date-picker.d.ts.map +1 -1
- package/types/slotted-angular-date-range-picker.d.ts +1 -1
- package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-field.d.ts.map +1 -1
- package/types/slotted-angular-datetime-picker.d.ts +1 -1
- package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
- package/types/slotted-angular-datetime-range-picker.d.ts +2 -2
- package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-description-list.d.ts +12 -4
- package/types/slotted-angular-description-list.d.ts.map +1 -1
- package/types/slotted-angular-detail-panel.d.ts.map +1 -1
- package/types/slotted-angular-dialog.d.ts +11 -3
- package/types/slotted-angular-dialog.d.ts.map +1 -1
- package/types/slotted-angular-divider.d.ts.map +1 -1
- package/types/slotted-angular-drawer.d.ts +29 -3
- package/types/slotted-angular-drawer.d.ts.map +1 -1
- package/types/slotted-angular-entity-picker.d.ts +63 -15
- package/types/slotted-angular-entity-picker.d.ts.map +1 -1
- package/types/slotted-angular-event-calendar.d.ts.map +1 -1
- package/types/slotted-angular-field-group.d.ts +10 -2
- package/types/slotted-angular-field-group.d.ts.map +1 -1
- package/types/slotted-angular-field.d.ts +12 -4
- package/types/slotted-angular-field.d.ts.map +1 -1
- package/types/slotted-angular-filter-bar.d.ts.map +1 -1
- package/types/slotted-angular-form.d.ts +11 -2
- package/types/slotted-angular-form.d.ts.map +1 -1
- package/types/slotted-angular-fullscreen.d.ts.map +1 -1
- package/types/slotted-angular-grid.d.ts.map +1 -1
- package/types/slotted-angular-highlight.d.ts +1 -1
- package/types/slotted-angular-highlight.d.ts.map +1 -1
- package/types/slotted-angular-hover-card.d.ts.map +1 -1
- package/types/slotted-angular-icon.d.ts +15 -5
- package/types/slotted-angular-icon.d.ts.map +1 -1
- package/types/slotted-angular-image.d.ts.map +1 -1
- package/types/slotted-angular-import-export-center.d.ts +9 -9
- package/types/slotted-angular-import-export-center.d.ts.map +1 -1
- package/types/slotted-angular-inline-message.d.ts +32 -31
- package/types/slotted-angular-inline-message.d.ts.map +1 -1
- package/types/slotted-angular-inline.d.ts +1 -1
- package/types/slotted-angular-inline.d.ts.map +1 -1
- package/types/slotted-angular-kbd.d.ts +1 -1
- package/types/slotted-angular-kbd.d.ts.map +1 -1
- package/types/slotted-angular-link.d.ts +8 -2
- package/types/slotted-angular-link.d.ts.map +1 -1
- package/types/slotted-angular-list-item.d.ts +5 -1
- package/types/slotted-angular-list-item.d.ts.map +1 -1
- package/types/slotted-angular-list.d.ts +1 -1
- package/types/slotted-angular-list.d.ts.map +1 -1
- package/types/slotted-angular-listbox.d.ts +2 -2
- package/types/slotted-angular-listbox.d.ts.map +1 -1
- package/types/slotted-angular-loading-overlay.d.ts +3 -3
- package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
- package/types/slotted-angular-markdown.d.ts +6 -1
- package/types/slotted-angular-markdown.d.ts.map +1 -1
- package/types/slotted-angular-media-viewer.d.ts +140 -0
- package/types/slotted-angular-media-viewer.d.ts.map +1 -0
- package/types/slotted-angular-menu.d.ts +17 -3
- package/types/slotted-angular-menu.d.ts.map +1 -1
- package/types/slotted-angular-menubar.d.ts +5 -4
- package/types/slotted-angular-menubar.d.ts.map +1 -1
- package/types/slotted-angular-message-scroller.d.ts +1 -1
- package/types/slotted-angular-message-scroller.d.ts.map +1 -1
- package/types/slotted-angular-message.d.ts +1 -1
- package/types/slotted-angular-message.d.ts.map +1 -1
- package/types/slotted-angular-multi-select.d.ts +6 -1
- package/types/slotted-angular-multi-select.d.ts.map +1 -1
- package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
- package/types/slotted-angular-notification-center.d.ts +5 -5
- package/types/slotted-angular-notification-center.d.ts.map +1 -1
- package/types/slotted-angular-number-field.d.ts.map +1 -1
- package/types/slotted-angular-otp-input.d.ts +1 -1
- package/types/slotted-angular-otp-input.d.ts.map +1 -1
- package/types/slotted-angular-page-header.d.ts +15 -6
- package/types/slotted-angular-page-header.d.ts.map +1 -1
- package/types/slotted-angular-page.d.ts +7 -1
- package/types/slotted-angular-page.d.ts.map +1 -1
- package/types/slotted-angular-pagination.d.ts.map +1 -1
- package/types/slotted-angular-popover.d.ts.map +1 -1
- package/types/slotted-angular-progress-indicator.d.ts +10 -3
- package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
- package/types/slotted-angular-prompt-composer.d.ts +35 -3
- package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
- package/types/slotted-angular-prose.d.ts.map +1 -1
- package/types/slotted-angular-radio-group.d.ts +2 -2
- package/types/slotted-angular-radio-group.d.ts.map +1 -1
- package/types/slotted-angular-rating.d.ts +3 -3
- package/types/slotted-angular-rating.d.ts.map +1 -1
- package/types/slotted-angular-result-state.d.ts +1 -1
- package/types/slotted-angular-result-state.d.ts.map +1 -1
- package/types/slotted-angular-saved-views.d.ts.map +1 -1
- package/types/slotted-angular-scroll-area.d.ts.map +1 -1
- package/types/slotted-angular-section.d.ts +14 -4
- package/types/slotted-angular-section.d.ts.map +1 -1
- package/types/slotted-angular-segmented-control.d.ts +2 -2
- package/types/slotted-angular-segmented-control.d.ts.map +1 -1
- package/types/slotted-angular-select.d.ts +13 -2
- package/types/slotted-angular-select.d.ts.map +1 -1
- package/types/slotted-angular-side-navigation.d.ts.map +1 -1
- package/types/slotted-angular-skeleton.d.ts.map +1 -1
- package/types/slotted-angular-slider.d.ts.map +1 -1
- package/types/slotted-angular-sparkline.d.ts +7 -1
- package/types/slotted-angular-sparkline.d.ts.map +1 -1
- package/types/slotted-angular-split-button.d.ts +2 -2
- package/types/slotted-angular-split-button.d.ts.map +1 -1
- package/types/slotted-angular-splitter.d.ts.map +1 -1
- package/types/slotted-angular-stack.d.ts.map +1 -1
- package/types/slotted-angular-stat-card.d.ts +31 -7
- package/types/slotted-angular-stat-card.d.ts.map +1 -1
- package/types/slotted-angular-status-indicator.d.ts +15 -5
- package/types/slotted-angular-status-indicator.d.ts.map +1 -1
- package/types/slotted-angular-stepper.d.ts +2 -1
- package/types/slotted-angular-stepper.d.ts.map +1 -1
- package/types/slotted-angular-switch.d.ts +1 -1
- package/types/slotted-angular-switch.d.ts.map +1 -1
- package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
- package/types/slotted-angular-table.d.ts +21 -4
- package/types/slotted-angular-table.d.ts.map +1 -1
- package/types/slotted-angular-tabs.d.ts +4 -5
- package/types/slotted-angular-tabs.d.ts.map +1 -1
- package/types/slotted-angular-tag.d.ts +5 -5
- package/types/slotted-angular-tag.d.ts.map +1 -1
- package/types/slotted-angular-tags-input.d.ts +34 -2
- package/types/slotted-angular-tags-input.d.ts.map +1 -1
- package/types/slotted-angular-text-field.d.ts.map +1 -1
- package/types/slotted-angular-textarea.d.ts.map +1 -1
- package/types/slotted-angular-theme.d.ts +8 -6
- package/types/slotted-angular-theme.d.ts.map +1 -1
- package/types/slotted-angular-time-field.d.ts.map +1 -1
- package/types/slotted-angular-time-picker.d.ts +1 -1
- package/types/slotted-angular-time-picker.d.ts.map +1 -1
- package/types/slotted-angular-time-range-picker.d.ts +2 -2
- package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
- package/types/slotted-angular-timeline.d.ts +1 -1
- package/types/slotted-angular-timeline.d.ts.map +1 -1
- package/types/slotted-angular-toast.d.ts +9 -7
- package/types/slotted-angular-toast.d.ts.map +1 -1
- package/types/slotted-angular-toggle-group.d.ts +1 -1
- package/types/slotted-angular-toggle-group.d.ts.map +1 -1
- package/types/slotted-angular-toggle.d.ts +1 -1
- package/types/slotted-angular-toggle.d.ts.map +1 -1
- package/types/slotted-angular-toolbar.d.ts +2 -0
- package/types/slotted-angular-toolbar.d.ts.map +1 -1
- package/types/slotted-angular-tooltip.d.ts.map +1 -1
- package/types/slotted-angular-top-navigation.d.ts.map +1 -1
- package/types/slotted-angular-tour.d.ts +2 -2
- package/types/slotted-angular-tour.d.ts.map +1 -1
- package/types/slotted-angular-transfer.d.ts.map +1 -1
- package/types/slotted-angular-tree.d.ts.map +1 -1
- package/types/slotted-angular-typography.d.ts +1 -1
- package/types/slotted-angular-typography.d.ts.map +1 -1
- package/types/slotted-angular-upload.d.ts +4 -2
- package/types/slotted-angular-upload.d.ts.map +1 -1
- package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
- package/types/slotted-angular-wizard.d.ts +1 -1
- package/types/slotted-angular-wizard.d.ts.map +1 -1
package/docs/tag.json
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"tone": [
|
|
11
11
|
"accent",
|
|
12
12
|
"secondary",
|
|
13
|
+
"info",
|
|
13
14
|
"success",
|
|
14
15
|
"warning",
|
|
15
16
|
"danger"
|
|
@@ -17,7 +18,8 @@
|
|
|
17
18
|
"variant": [
|
|
18
19
|
"solid",
|
|
19
20
|
"soft",
|
|
20
|
-
"outline"
|
|
21
|
+
"outline",
|
|
22
|
+
"dashed"
|
|
21
23
|
],
|
|
22
24
|
"size": [
|
|
23
25
|
"sm",
|
|
@@ -181,17 +183,17 @@
|
|
|
181
183
|
"api": [
|
|
182
184
|
{
|
|
183
185
|
"name": "tone",
|
|
184
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
186
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
185
187
|
"defaultValue": "secondary",
|
|
186
188
|
"appliesTo": "slTag",
|
|
187
|
-
"description": "Which of the five semantic
|
|
189
|
+
"description": "Which of the five semantic colors the tag speaks in"
|
|
188
190
|
},
|
|
189
191
|
{
|
|
190
192
|
"name": "variant",
|
|
191
|
-
"type": "'solid' | 'soft' | 'outline'",
|
|
193
|
+
"type": "'solid' | 'soft' | 'outline' | 'dashed'",
|
|
192
194
|
"defaultValue": "soft",
|
|
193
195
|
"appliesTo": "slTag",
|
|
194
|
-
"description": "How that
|
|
196
|
+
"description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
|
|
195
197
|
},
|
|
196
198
|
{
|
|
197
199
|
"name": "size",
|
|
@@ -304,7 +306,7 @@
|
|
|
304
306
|
"The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
|
|
305
307
|
"A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: the whole value stays in the DOM, in the accessibility tree, and findable by page search.",
|
|
306
308
|
"The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
|
|
307
|
-
"Under forced
|
|
309
|
+
"Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair.",
|
|
308
310
|
"A static tag carries no role of its own. What a value means comes from where it sits, and a role invented here would be wrong more often than right.",
|
|
309
311
|
"A run of static tags is written role=\"list\" on the group, which announces its length and turns the arrow keys off."
|
|
310
312
|
]
|
|
@@ -315,17 +317,17 @@
|
|
|
315
317
|
"api": [
|
|
316
318
|
{
|
|
317
319
|
"name": "tone",
|
|
318
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
320
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
319
321
|
"defaultValue": "secondary",
|
|
320
322
|
"appliesTo": "slTag",
|
|
321
|
-
"description": "Which of the five semantic
|
|
323
|
+
"description": "Which of the five semantic colors the tag speaks in"
|
|
322
324
|
},
|
|
323
325
|
{
|
|
324
326
|
"name": "variant",
|
|
325
|
-
"type": "'solid' | 'soft' | 'outline'",
|
|
327
|
+
"type": "'solid' | 'soft' | 'outline' | 'dashed'",
|
|
326
328
|
"defaultValue": "soft",
|
|
327
329
|
"appliesTo": "slTag",
|
|
328
|
-
"description": "How that
|
|
330
|
+
"description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
|
|
329
331
|
},
|
|
330
332
|
{
|
|
331
333
|
"name": "size",
|
|
@@ -410,7 +412,7 @@
|
|
|
410
412
|
"The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
|
|
411
413
|
"A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: the whole value stays in the DOM, in the accessibility tree, and findable by page search.",
|
|
412
414
|
"The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
|
|
413
|
-
"Under forced
|
|
415
|
+
"Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair.",
|
|
414
416
|
"The command is a real button, so Enter and Space both activate it and the platform supplies the rest.",
|
|
415
417
|
"A disabled chip writes the native disabled attribute on a button body, which is the form the platform offers for that element."
|
|
416
418
|
]
|
|
@@ -421,17 +423,17 @@
|
|
|
421
423
|
"api": [
|
|
422
424
|
{
|
|
423
425
|
"name": "tone",
|
|
424
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
426
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
425
427
|
"defaultValue": "secondary",
|
|
426
428
|
"appliesTo": "slTag",
|
|
427
|
-
"description": "Which of the five semantic
|
|
429
|
+
"description": "Which of the five semantic colors the tag speaks in"
|
|
428
430
|
},
|
|
429
431
|
{
|
|
430
432
|
"name": "variant",
|
|
431
|
-
"type": "'solid' | 'soft' | 'outline'",
|
|
433
|
+
"type": "'solid' | 'soft' | 'outline' | 'dashed'",
|
|
432
434
|
"defaultValue": "soft",
|
|
433
435
|
"appliesTo": "slTag",
|
|
434
|
-
"description": "How that
|
|
436
|
+
"description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
|
|
435
437
|
},
|
|
436
438
|
{
|
|
437
439
|
"name": "size",
|
|
@@ -516,7 +518,7 @@
|
|
|
516
518
|
"The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
|
|
517
519
|
"A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: the whole value stays in the DOM, in the accessibility tree, and findable by page search.",
|
|
518
520
|
"The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
|
|
519
|
-
"Under forced
|
|
521
|
+
"Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair.",
|
|
520
522
|
"The destination is a real anchor, so middle click, the context menu, download and “open in new tab” all keep working.",
|
|
521
523
|
"A disabled chip link keeps its place in the tab sequence and loses its href, which is the line the link family draws: an anchor without a destination would drop out of the tab sequence and take its own explanation with it."
|
|
522
524
|
]
|
|
@@ -527,17 +529,17 @@
|
|
|
527
529
|
"api": [
|
|
528
530
|
{
|
|
529
531
|
"name": "tone",
|
|
530
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
532
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
531
533
|
"defaultValue": "secondary",
|
|
532
534
|
"appliesTo": "slTag",
|
|
533
|
-
"description": "Which of the five semantic
|
|
535
|
+
"description": "Which of the five semantic colors the tag speaks in"
|
|
534
536
|
},
|
|
535
537
|
{
|
|
536
538
|
"name": "variant",
|
|
537
|
-
"type": "'solid' | 'soft' | 'outline'",
|
|
539
|
+
"type": "'solid' | 'soft' | 'outline' | 'dashed'",
|
|
538
540
|
"defaultValue": "soft",
|
|
539
541
|
"appliesTo": "slTag",
|
|
540
|
-
"description": "How that
|
|
542
|
+
"description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
|
|
541
543
|
},
|
|
542
544
|
{
|
|
543
545
|
"name": "size",
|
|
@@ -636,10 +638,10 @@
|
|
|
636
638
|
"The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
|
|
637
639
|
"A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: the whole value stays in the DOM, in the accessibility tree, and findable by page search.",
|
|
638
640
|
"The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
|
|
639
|
-
"Under forced
|
|
641
|
+
"Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair.",
|
|
640
642
|
"A selected tag announces aria-pressed, not aria-selected. aria-selected is only valid inside a listbox, a grid or a tree, and an option may not contain the remove control this family puts beside the label.",
|
|
641
643
|
"The label never changes with the state, which is the APG’s rule for a toggle.",
|
|
642
|
-
"Selection is not
|
|
644
|
+
"Selection is not color alone. The chip fills, and a check grows into the label beside the words — WCAG 2.2 1.4.1."
|
|
643
645
|
]
|
|
644
646
|
}
|
|
645
647
|
},
|
|
@@ -679,6 +681,7 @@
|
|
|
679
681
|
"--slotted-tag-font-weight",
|
|
680
682
|
"--slotted-tag-group-gap",
|
|
681
683
|
"--slotted-tag-inset-block",
|
|
684
|
+
"--slotted-tag-inset-inline",
|
|
682
685
|
"--slotted-tag-state-layer-active",
|
|
683
686
|
"--slotted-tag-state-layer-hover",
|
|
684
687
|
"--slotted-target-comfortable",
|
|
@@ -701,6 +704,15 @@
|
|
|
701
704
|
"--slotted-tone-danger-subtle-hover",
|
|
702
705
|
"--slotted-tone-danger-surface",
|
|
703
706
|
"--slotted-tone-danger-text",
|
|
707
|
+
"--slotted-tone-info-border",
|
|
708
|
+
"--slotted-tone-info-on-solid",
|
|
709
|
+
"--slotted-tone-info-solid",
|
|
710
|
+
"--slotted-tone-info-solid-active",
|
|
711
|
+
"--slotted-tone-info-solid-hover",
|
|
712
|
+
"--slotted-tone-info-subtle-active",
|
|
713
|
+
"--slotted-tone-info-subtle-hover",
|
|
714
|
+
"--slotted-tone-info-surface",
|
|
715
|
+
"--slotted-tone-info-text",
|
|
704
716
|
"--slotted-tone-secondary-border",
|
|
705
717
|
"--slotted-tone-secondary-on-solid",
|
|
706
718
|
"--slotted-tone-secondary-solid-active",
|
|
@@ -734,7 +746,7 @@
|
|
|
734
746
|
"title": "A value beside the thing it belongs to",
|
|
735
747
|
"note": null,
|
|
736
748
|
"language": "html",
|
|
737
|
-
"source": "<span slTag tone=\"success\"><span slTagBody>
|
|
749
|
+
"source": "<span slTag tone=\"success\"><span slTagBody>Delivered</span></span>\n",
|
|
738
750
|
"verdict": "excerpt"
|
|
739
751
|
},
|
|
740
752
|
{
|
|
@@ -742,7 +754,7 @@
|
|
|
742
754
|
"title": "A run of values a person can take away",
|
|
743
755
|
"note": null,
|
|
744
756
|
"language": "html",
|
|
745
|
-
"source": "<div slTagGroup aria-label=\"
|
|
757
|
+
"source": "<div slTagGroup aria-label=\"Labels\">\n @for (label of labels(); track label) {\n <span slTag removable (remove)=\"drop(label)\">\n <span slTagBody>{{ label }}</span>\n <button slTagRemove></button>\n </span>\n }\n</div>\n",
|
|
746
758
|
"verdict": "excerpt"
|
|
747
759
|
},
|
|
748
760
|
{
|
|
@@ -750,7 +762,7 @@
|
|
|
750
762
|
"title": "A removal the application refuses until it is confirmed",
|
|
751
763
|
"note": null,
|
|
752
764
|
"language": "html",
|
|
753
|
-
"source": "<span slTag removable (remove)=\"confirm($event)\">\n <span slTagBody>
|
|
765
|
+
"source": "<span slTag removable (remove)=\"confirm($event)\">\n <span slTagBody>Production</span>\n <button slTagRemove></button>\n</span>\n",
|
|
754
766
|
"verdict": "excerpt"
|
|
755
767
|
},
|
|
756
768
|
{
|
|
@@ -766,7 +778,7 @@
|
|
|
766
778
|
"title": "A chip that runs a command",
|
|
767
779
|
"note": null,
|
|
768
780
|
"language": "html",
|
|
769
|
-
"source": "<span slTag>\n <button slTagBody (click)=\"assign()\">
|
|
781
|
+
"source": "<span slTag>\n <button slTagBody (click)=\"assign()\">Assign owner</button>\n</span>\n",
|
|
770
782
|
"verdict": "excerpt"
|
|
771
783
|
},
|
|
772
784
|
{
|
package/docs/tag.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
Excerpt — not a complete module
|
|
9
9
|
|
|
10
10
|
```html
|
|
11
|
-
<span slTag tone="success"><span slTagBody>
|
|
11
|
+
<span slTag tone="success"><span slTagBody>Delivered</span></span>
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Props
|
|
@@ -17,8 +17,8 @@ Excerpt — not a complete module
|
|
|
17
17
|
|
|
18
18
|
| Name | Type | Default | Applies to | Description |
|
|
19
19
|
| --- | --- | --- | --- | --- |
|
|
20
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic
|
|
21
|
-
| `variant` | `'solid' \| 'soft' \| 'outline'` | soft | slTag | How that
|
|
20
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic colors the tag speaks in |
|
|
21
|
+
| `variant` | `'solid' \| 'soft' \| 'outline' \| 'dashed'` | soft | slTag | How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant |
|
|
22
22
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slTag | Type, glyph and gap come from the control scale, so a tag shrinks with density beside the controls it sits with |
|
|
23
23
|
| `shape` | `'pill' \| 'square'` | pill | slTag | A rounded chip, or a rectangle with the small corner radius |
|
|
24
24
|
| `start` | `slTagStart` | — | slTag | A glyph or an avatar before the words: the directive on the consumer’s own element, projected into the content box |
|
|
@@ -38,8 +38,8 @@ Excerpt — not a complete module
|
|
|
38
38
|
|
|
39
39
|
| Name | Type | Default | Applies to | Description |
|
|
40
40
|
| --- | --- | --- | --- | --- |
|
|
41
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic
|
|
42
|
-
| `variant` | `'solid' \| 'soft' \| 'outline'` | soft | slTag | How that
|
|
41
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic colors the tag speaks in |
|
|
42
|
+
| `variant` | `'solid' \| 'soft' \| 'outline' \| 'dashed'` | soft | slTag | How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant |
|
|
43
43
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slTag | Type, glyph and gap come from the control scale, so a tag shrinks with density beside the controls it sits with |
|
|
44
44
|
| `shape` | `'pill' \| 'square'` | pill | slTag | A rounded chip, or a rectangle with the small corner radius |
|
|
45
45
|
| `start` | `slTagStart` | — | slTagBody | A glyph or an avatar before the words: the directive on the consumer’s own element, projected into the content box |
|
|
@@ -55,8 +55,8 @@ Excerpt — not a complete module
|
|
|
55
55
|
|
|
56
56
|
| Name | Type | Default | Applies to | Description |
|
|
57
57
|
| --- | --- | --- | --- | --- |
|
|
58
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic
|
|
59
|
-
| `variant` | `'solid' \| 'soft' \| 'outline'` | soft | slTag | How that
|
|
58
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic colors the tag speaks in |
|
|
59
|
+
| `variant` | `'solid' \| 'soft' \| 'outline' \| 'dashed'` | soft | slTag | How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant |
|
|
60
60
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slTag | Type, glyph and gap come from the control scale, so a tag shrinks with density beside the controls it sits with |
|
|
61
61
|
| `shape` | `'pill' \| 'square'` | pill | slTag | A rounded chip, or a rectangle with the small corner radius |
|
|
62
62
|
| `start` | `slTagStart` | — | slTagBody | A glyph or an avatar before the words: the directive on the consumer’s own element, projected into the content box |
|
|
@@ -72,8 +72,8 @@ Excerpt — not a complete module
|
|
|
72
72
|
|
|
73
73
|
| Name | Type | Default | Applies to | Description |
|
|
74
74
|
| --- | --- | --- | --- | --- |
|
|
75
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic
|
|
76
|
-
| `variant` | `'solid' \| 'soft' \| 'outline'` | soft | slTag | How that
|
|
75
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slTag | Which of the five semantic colors the tag speaks in |
|
|
76
|
+
| `variant` | `'solid' \| 'soft' \| 'outline' \| 'dashed'` | soft | slTag | How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant |
|
|
77
77
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | slTag | Type, glyph and gap come from the control scale, so a tag shrinks with density beside the controls it sits with |
|
|
78
78
|
| `shape` | `'pill' \| 'square'` | pill | slTag | A rounded chip, or a rectangle with the small corner radius |
|
|
79
79
|
| `start` | `slTagStart` | — | slTagToggle | A glyph or an avatar before the words: the directive on the consumer’s own element, projected into the content box |
|
|
@@ -91,8 +91,8 @@ Excerpt — not a complete module
|
|
|
91
91
|
|
|
92
92
|
| Axis | Values | Default |
|
|
93
93
|
| --- | --- | --- |
|
|
94
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `secondary` |
|
|
95
|
-
| `variant` | `solid`, `soft`, `outline` | `soft` |
|
|
94
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `secondary` |
|
|
95
|
+
| `variant` | `solid`, `soft`, `outline`, `dashed` | `soft` |
|
|
96
96
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
97
97
|
| `shape` | `pill`, `square` | `pill` |
|
|
98
98
|
| `orientation` | `horizontal`, `vertical` | `horizontal` |
|
|
@@ -108,7 +108,7 @@ Excerpt — not a complete module
|
|
|
108
108
|
- The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.
|
|
109
109
|
- A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: the whole value stays in the DOM, in the accessibility tree, and findable by page search.
|
|
110
110
|
- The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.
|
|
111
|
-
- Under forced
|
|
111
|
+
- Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair.
|
|
112
112
|
- A static tag carries no role of its own. What a value means comes from where it sits, and a role invented here would be wrong more often than right.
|
|
113
113
|
- A run of static tags is written role="list" on the group, which announces its length and turns the arrow keys off.
|
|
114
114
|
- The command is a real button, so Enter and Space both activate it and the platform supplies the rest.
|
|
@@ -117,11 +117,11 @@ Excerpt — not a complete module
|
|
|
117
117
|
- A disabled chip link keeps its place in the tab sequence and loses its href, which is the line the link family draws: an anchor without a destination would drop out of the tab sequence and take its own explanation with it.
|
|
118
118
|
- A selected tag announces aria-pressed, not aria-selected. aria-selected is only valid inside a listbox, a grid or a tree, and an option may not contain the remove control this family puts beside the label.
|
|
119
119
|
- The label never changes with the state, which is the APG’s rule for a toggle.
|
|
120
|
-
- Selection is not
|
|
120
|
+
- Selection is not color alone. The chip fills, and a check grows into the label beside the words — WCAG 2.2 1.4.1.
|
|
121
121
|
|
|
122
122
|
## Tokens
|
|
123
123
|
|
|
124
|
-
`--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-control-inner-size`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--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-tag-border-color`, `--slotted-tag-border-width`, `--slotted-tag-font-family`, `--slotted-tag-font-weight`, `--slotted-tag-group-gap`, `--slotted-tag-inset-block`, `--slotted-tag-state-layer-active`, `--slotted-tag-state-layer-hover`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-subtle-hover`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-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-solid-active`, `--slotted-tone-success-solid-hover`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-subtle-hover`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-solid-active`, `--slotted-tone-warning-solid-hover`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-subtle-hover`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
124
|
+
`--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-control-inner-size`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--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-tag-border-color`, `--slotted-tag-border-width`, `--slotted-tag-font-family`, `--slotted-tag-font-weight`, `--slotted-tag-group-gap`, `--slotted-tag-inset-block`, `--slotted-tag-inset-inline`, `--slotted-tag-state-layer-active`, `--slotted-tag-state-layer-hover`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-subtle-hover`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-solid-active`, `--slotted-tone-info-solid-hover`, `--slotted-tone-info-subtle-active`, `--slotted-tone-info-subtle-hover`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-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-solid-active`, `--slotted-tone-success-solid-hover`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-subtle-hover`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-solid-active`, `--slotted-tone-warning-solid-hover`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-subtle-hover`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
125
125
|
|
|
126
126
|
## Examples
|
|
127
127
|
|
|
@@ -130,7 +130,7 @@ Excerpt — not a complete module
|
|
|
130
130
|
Excerpt — not a complete module
|
|
131
131
|
|
|
132
132
|
```html
|
|
133
|
-
<div slTagGroup aria-label="
|
|
133
|
+
<div slTagGroup aria-label="Labels">
|
|
134
134
|
@for (label of labels(); track label) {
|
|
135
135
|
<span slTag removable (remove)="drop(label)">
|
|
136
136
|
<span slTagBody>{{ label }}</span>
|
|
@@ -146,7 +146,7 @@ Excerpt — not a complete module
|
|
|
146
146
|
|
|
147
147
|
```html
|
|
148
148
|
<span slTag removable (remove)="confirm($event)">
|
|
149
|
-
<span slTagBody>
|
|
149
|
+
<span slTagBody>Production</span>
|
|
150
150
|
<button slTagRemove></button>
|
|
151
151
|
</span>
|
|
152
152
|
```
|
|
@@ -167,7 +167,7 @@ Excerpt — not a complete module
|
|
|
167
167
|
|
|
168
168
|
```html
|
|
169
169
|
<span slTag>
|
|
170
|
-
<button slTagBody (click)="assign()">
|
|
170
|
+
<button slTagBody (click)="assign()">Assign owner</button>
|
|
171
171
|
</span>
|
|
172
172
|
```
|
|
173
173
|
|
package/docs/tags-input.json
CHANGED
|
@@ -130,7 +130,9 @@
|
|
|
130
130
|
"message",
|
|
131
131
|
"counter",
|
|
132
132
|
"clear",
|
|
133
|
-
"hint"
|
|
133
|
+
"hint",
|
|
134
|
+
"suggestions",
|
|
135
|
+
"suggestion"
|
|
134
136
|
]
|
|
135
137
|
}
|
|
136
138
|
},
|
|
@@ -195,6 +197,18 @@
|
|
|
195
197
|
"element": "span, visually hidden",
|
|
196
198
|
"required": true,
|
|
197
199
|
"purpose": "What the row answers to, for a reader who cannot see the remove buttons: Delete removes a value, and — while editable — Enter edits it. The row names it as its description."
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"part": "suggestions",
|
|
203
|
+
"element": "div[role=\"listbox\"]",
|
|
204
|
+
"required": false,
|
|
205
|
+
"purpose": "With suggestions, the list under the frame of the ones the typed text matches, minus the values already chosen. Rendered only while open; the input controls it and names its highlighted option by aria-activedescendant."
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"part": "suggestion",
|
|
209
|
+
"element": "div[role=\"option\"]",
|
|
210
|
+
"required": false,
|
|
211
|
+
"purpose": "One suggestion. data-highlighted and aria-selected on the one Enter adds; a press adds it and keeps focus in the input."
|
|
198
212
|
}
|
|
199
213
|
],
|
|
200
214
|
"api": [
|
|
@@ -254,6 +268,13 @@
|
|
|
254
268
|
"appliesTo": "sl-tags-input",
|
|
255
269
|
"description": "How a paste is split. The default splits on the delimiters and on every line break."
|
|
256
270
|
},
|
|
271
|
+
{
|
|
272
|
+
"name": "suggestions",
|
|
273
|
+
"type": "readonly string[]",
|
|
274
|
+
"defaultValue": "—",
|
|
275
|
+
"appliesTo": "sl-tags-input",
|
|
276
|
+
"description": "Values the reader may choose instead of typing them whole. The input becomes a combobox: the typed text filters them by the locale’s collator, ArrowDown and ArrowUp move through them, Enter adds the highlighted one. A chosen suggestion is normalized, judged, deduplicated and capped like typed text, and typed text still commits."
|
|
277
|
+
},
|
|
257
278
|
{
|
|
258
279
|
"name": "formatLabel",
|
|
259
280
|
"type": "(value: string) => string",
|
|
@@ -516,7 +537,7 @@
|
|
|
516
537
|
"accessibility": [
|
|
517
538
|
"The control is a layout grid with one row: the chips are cells and the field is the last cell, so one Tab reaches the input and the arrows walk the row. The input carries no role, because it opens nothing.",
|
|
518
539
|
"Focus is set on a chip cell rather than on the remove button inside it, which is tabindex=\"-1\"; Delete and Backspace do what the button does, and the row’s hint says so. Angular Material’s own chip grid resolves the grid pattern’s text-plus-widget cell the same way.",
|
|
519
|
-
"An invalid value is said three ways — the danger tone, the alert mark, and a description carrying the reason — because
|
|
540
|
+
"An invalid value is said three ways — the danger tone, the alert mark, and a description carrying the reason — because color alone is not a message. The same reason is the input’s custom validity and the Validator’s invalidValues error, so a native form and a Reactive Form both refuse it.",
|
|
520
541
|
"Every change is announced once, politely: a value added with the count now held and its reason if it failed, a value removed with the count that is left, a move with its new position, a duplicate with the chip that holds it, and a copy with the count copied.",
|
|
521
542
|
"After a removal focus goes to the chip that took the removed one’s index, then the previous one, then the input — it is never lost to the document body."
|
|
522
543
|
]
|
|
@@ -524,8 +545,10 @@
|
|
|
524
545
|
},
|
|
525
546
|
"tokens": [
|
|
526
547
|
"--slotted-border-subtle",
|
|
548
|
+
"--slotted-border-width-thin",
|
|
527
549
|
"--slotted-control-border-color",
|
|
528
550
|
"--slotted-control-border-width",
|
|
551
|
+
"--slotted-control-focus-ring-offset",
|
|
529
552
|
"--slotted-control-font-family",
|
|
530
553
|
"--slotted-control-font-size-lg",
|
|
531
554
|
"--slotted-control-font-size-md",
|
|
@@ -562,9 +585,12 @@
|
|
|
562
585
|
"--slotted-font-size-xs",
|
|
563
586
|
"--slotted-font-weight-medium",
|
|
564
587
|
"--slotted-line-height-sm",
|
|
588
|
+
"--slotted-radius-lg",
|
|
565
589
|
"--slotted-radius-none",
|
|
590
|
+
"--slotted-shadow-md",
|
|
566
591
|
"--slotted-space-1",
|
|
567
592
|
"--slotted-space-2",
|
|
593
|
+
"--slotted-surface-raised",
|
|
568
594
|
"--slotted-surface-sunken",
|
|
569
595
|
"--slotted-tags-input-action-active-background",
|
|
570
596
|
"--slotted-tags-input-action-color",
|
|
@@ -604,7 +630,8 @@
|
|
|
604
630
|
"--slotted-tone-accent-text",
|
|
605
631
|
"--slotted-tone-danger-border",
|
|
606
632
|
"--slotted-tone-secondary-subtle-active",
|
|
607
|
-
"--slotted-tone-secondary-subtle-hover"
|
|
633
|
+
"--slotted-tone-secondary-subtle-hover",
|
|
634
|
+
"--slotted-z-index-popover"
|
|
608
635
|
],
|
|
609
636
|
"examples": [
|
|
610
637
|
{
|
package/docs/tags-input.md
CHANGED
|
@@ -37,6 +37,8 @@ Excerpt — not a complete module
|
|
|
37
37
|
| `counter` | span | no |
|
|
38
38
|
| `clear` | button | no |
|
|
39
39
|
| `hint` | span, visually hidden | yes |
|
|
40
|
+
| `suggestions` | div[role="listbox"] | no |
|
|
41
|
+
| `suggestion` | div[role="option"] | no |
|
|
40
42
|
|
|
41
43
|
## Props
|
|
42
44
|
|
|
@@ -50,6 +52,7 @@ Excerpt — not a complete module
|
|
|
50
52
|
| `invalidValues` | `'keep' \| 'refuse'` | keep | sl-tags-input | What becomes of a value that fails: a chip in the danger tone with its reason, or a report through valueRefuse. |
|
|
51
53
|
| `normalize` | `(text: string) => string` | — | sl-tags-input | Runs before a value is judged. Trim by default. |
|
|
52
54
|
| `split` | `(text: string) => readonly string[]` | — | sl-tags-input | How a paste is split. The default splits on the delimiters and on every line break. |
|
|
55
|
+
| `suggestions` | `readonly string[]` | — | sl-tags-input | Values the reader may choose instead of typing them whole. The input becomes a combobox: the typed text filters them by the locale’s collator, ArrowDown and ArrowUp move through them, Enter adds the highlighted one. A chosen suggestion is normalized, judged, deduplicated and capped like typed text, and typed text still commits. |
|
|
53
56
|
| `formatLabel` | `(value: string) => string` | — | sl-tags-input | The chip’s text for a value. |
|
|
54
57
|
| `lockedValues` | `readonly string[]` | — | sl-tags-input | The values the reader may not remove. |
|
|
55
58
|
| `pattern` | `string` | — | sl-tags-input | The input’s own pattern, applied to each value. |
|
|
@@ -118,13 +121,13 @@ Excerpt — not a complete module
|
|
|
118
121
|
|
|
119
122
|
- The control is a layout grid with one row: the chips are cells and the field is the last cell, so one Tab reaches the input and the arrows walk the row. The input carries no role, because it opens nothing.
|
|
120
123
|
- Focus is set on a chip cell rather than on the remove button inside it, which is tabindex="-1"; Delete and Backspace do what the button does, and the row’s hint says so. Angular Material’s own chip grid resolves the grid pattern’s text-plus-widget cell the same way.
|
|
121
|
-
- An invalid value is said three ways — the danger tone, the alert mark, and a description carrying the reason — because
|
|
124
|
+
- An invalid value is said three ways — the danger tone, the alert mark, and a description carrying the reason — because color alone is not a message. The same reason is the input’s custom validity and the Validator’s invalidValues error, so a native form and a Reactive Form both refuse it.
|
|
122
125
|
- Every change is announced once, politely: a value added with the count now held and its reason if it failed, a value removed with the count that is left, a move with its new position, a duplicate with the chip that holds it, and a copy with the count copied.
|
|
123
126
|
- After a removal focus goes to the chip that took the removed one’s index, then the previous one, then the input — it is never lost to the document body.
|
|
124
127
|
|
|
125
128
|
## Tokens
|
|
126
129
|
|
|
127
|
-
`--slotted-border-subtle`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-line-height-sm`, `--slotted-radius-none`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-surface-sunken`, `--slotted-tags-input-action-active-background`, `--slotted-tags-input-action-color`, `--slotted-tags-input-action-hover-background`, `--slotted-tags-input-action-size`, `--slotted-tags-input-autofill-background`, `--slotted-tags-input-background`, `--slotted-tags-input-border-color`, `--slotted-tags-input-color`, `--slotted-tags-input-counter-color`, `--slotted-tags-input-counter-complete-color`, `--slotted-tags-input-current-border-color`, `--slotted-tags-input-disabled-background`, `--slotted-tags-input-disabled-border-color`, `--slotted-tags-input-disabled-color`, `--slotted-tags-input-field-basis`, `--slotted-tags-input-field-min`, `--slotted-tags-input-hover-border-color`, `--slotted-tags-input-icon-size-min`, `--slotted-tags-input-invalid-border-color`, `--slotted-tags-input-invalid-edge-width`, `--slotted-tags-input-invalid-focus-ring-color`, `--slotted-tags-input-placeholder-color`, `--slotted-tags-input-plain-hover-background`, `--slotted-tags-input-radius`, `--slotted-tags-input-readonly-background`, `--slotted-tags-input-shadow`, `--slotted-tags-input-subtle-background`, `--slotted-tags-input-subtle-border-color`, `--slotted-tags-input-subtle-hover-background`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
130
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-tags-input-action-active-background`, `--slotted-tags-input-action-color`, `--slotted-tags-input-action-hover-background`, `--slotted-tags-input-action-size`, `--slotted-tags-input-autofill-background`, `--slotted-tags-input-background`, `--slotted-tags-input-border-color`, `--slotted-tags-input-color`, `--slotted-tags-input-counter-color`, `--slotted-tags-input-counter-complete-color`, `--slotted-tags-input-current-border-color`, `--slotted-tags-input-disabled-background`, `--slotted-tags-input-disabled-border-color`, `--slotted-tags-input-disabled-color`, `--slotted-tags-input-field-basis`, `--slotted-tags-input-field-min`, `--slotted-tags-input-hover-border-color`, `--slotted-tags-input-icon-size-min`, `--slotted-tags-input-invalid-border-color`, `--slotted-tags-input-invalid-edge-width`, `--slotted-tags-input-invalid-focus-ring-color`, `--slotted-tags-input-placeholder-color`, `--slotted-tags-input-plain-hover-background`, `--slotted-tags-input-radius`, `--slotted-tags-input-readonly-background`, `--slotted-tags-input-shadow`, `--slotted-tags-input-subtle-background`, `--slotted-tags-input-subtle-border-color`, `--slotted-tags-input-subtle-hover-background`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
|
|
128
131
|
|
|
129
132
|
## Examples
|
|
130
133
|
|
|
@@ -15,9 +15,9 @@ Excerpt — not a complete module
|
|
|
15
15
|
<div slField>
|
|
16
16
|
<label slFieldLabel>E-mail</label>
|
|
17
17
|
<div slTextField clearable>
|
|
18
|
-
<input slTextFieldInput type="email" placeholder="
|
|
18
|
+
<input slTextFieldInput type="email" placeholder="you@company.com" />
|
|
19
19
|
</div>
|
|
20
|
-
<span slFieldDescription>
|
|
20
|
+
<span slFieldDescription>We will use this address for billing.</span>
|
|
21
21
|
</div>
|
|
22
22
|
```
|
|
23
23
|
|
|
@@ -201,7 +201,7 @@ Excerpt — not a complete module
|
|
|
201
201
|
|
|
202
202
|
```html
|
|
203
203
|
<div slTextField clearable>
|
|
204
|
-
<input slTextFieldInput type="search" defaultValue="
|
|
204
|
+
<input slTextFieldInput type="search" defaultValue="invoice 2026" />
|
|
205
205
|
</div>
|
|
206
206
|
|
|
207
207
|
<div slTextField revealable>
|
|
@@ -429,7 +429,7 @@ export class TextFieldLoading {
|
|
|
429
429
|
|
|
430
430
|
### The four states the frame paints
|
|
431
431
|
|
|
432
|
-
Read-only keeps full-strength ink and only its ground changes, because the value is real and still submitted; disabled is muted to a measured
|
|
432
|
+
Read-only keeps full-strength ink and only its ground changes, because the value is real and still submitted; disabled is muted to a measured color rather than faded, so a disabled form still says what it holds.
|
|
433
433
|
|
|
434
434
|
Example
|
|
435
435
|
|
|
@@ -607,9 +607,9 @@ Excerpt — not a complete module
|
|
|
607
607
|
|
|
608
608
|
<!-- exportAs, for the element the template has to reach. -->
|
|
609
609
|
<div slTextField>
|
|
610
|
-
<input slTextFieldInput #
|
|
610
|
+
<input slTextFieldInput #field="slTextFieldInput" />
|
|
611
611
|
<span slTextFieldEnd>
|
|
612
|
-
<button slTextFieldAction (click)="
|
|
612
|
+
<button slTextFieldAction (click)="field.inputElement.select()">Select</button>
|
|
613
613
|
</span>
|
|
614
614
|
</div>
|
|
615
615
|
```
|
package/docs/text-field.json
CHANGED
|
@@ -256,7 +256,7 @@
|
|
|
256
256
|
"type": "'text' | 'search' | 'email' | 'url' | 'tel' | 'password'",
|
|
257
257
|
"defaultValue": "text",
|
|
258
258
|
"appliesTo": "the input element",
|
|
259
|
-
"description": "The input’s own type, written as a static attribute. It is read before the host binding computes, so the reveal toggle can swap it and restore what you wrote."
|
|
259
|
+
"description": "The input’s own type, one of the six listed, written as a static attribute. It is read before the host binding computes, so the reveal toggle can swap it and restore what you wrote. A date, a time, a month or a number is not a text field: use date-picker (forms.md FM-16), time-picker or number-field. Other strings still reach the element for compatibility and are not supported."
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"name": "copyable",
|
|
@@ -356,6 +356,7 @@
|
|
|
356
356
|
"--slotted-border-subtle",
|
|
357
357
|
"--slotted-control-border-color",
|
|
358
358
|
"--slotted-control-border-width",
|
|
359
|
+
"--slotted-control-focus-ring-offset",
|
|
359
360
|
"--slotted-control-font-family",
|
|
360
361
|
"--slotted-control-font-size-lg",
|
|
361
362
|
"--slotted-control-font-size-md",
|
|
@@ -445,7 +446,7 @@
|
|
|
445
446
|
"title": "Playground",
|
|
446
447
|
"note": "One control with every axis on it, driven by the controls below the canvas. Type into it: the clear button appears only once there is something to clear.",
|
|
447
448
|
"language": "html",
|
|
448
|
-
"source": "<div slField>\n <label slFieldLabel>E-mail</label>\n <div slTextField clearable>\n <input slTextFieldInput type=\"email\" placeholder=\"
|
|
449
|
+
"source": "<div slField>\n <label slFieldLabel>E-mail</label>\n <div slTextField clearable>\n <input slTextFieldInput type=\"email\" placeholder=\"you@company.com\" />\n </div>\n <span slFieldDescription>We will use this address for billing.</span>\n</div>\n",
|
|
449
450
|
"verdict": "excerpt"
|
|
450
451
|
},
|
|
451
452
|
{
|
|
@@ -477,7 +478,7 @@
|
|
|
477
478
|
"title": "The two buttons the frame draws",
|
|
478
479
|
"note": "Both are real buttons inside the frame, both keep the caret, and both are held to the 24-pixel minimum. Tab into the field and press Tab again: the ring moves to the button rather than staying around the box.",
|
|
479
480
|
"language": "html",
|
|
480
|
-
"source": "<div slTextField clearable>\n <input slTextFieldInput type=\"search\" defaultValue=\"
|
|
481
|
+
"source": "<div slTextField clearable>\n <input slTextFieldInput type=\"search\" defaultValue=\"invoice 2026\" />\n</div>\n\n<div slTextField revealable>\n <input slTextFieldInput type=\"password\" autocomplete=\"current-password\" />\n</div>\n",
|
|
481
482
|
"verdict": "excerpt"
|
|
482
483
|
},
|
|
483
484
|
{
|
|
@@ -515,7 +516,7 @@
|
|
|
515
516
|
{
|
|
516
517
|
"id": "states",
|
|
517
518
|
"title": "The four states the frame paints",
|
|
518
|
-
"note": "Read-only keeps full-strength ink and only its ground changes, because the value is real and still submitted; disabled is muted to a measured
|
|
519
|
+
"note": "Read-only keeps full-strength ink and only its ground changes, because the value is real and still submitted; disabled is muted to a measured color rather than faded, so a disabled form still says what it holds.",
|
|
519
520
|
"language": "ts",
|
|
520
521
|
"source": "import { Component } from '@angular/core';\nimport { SlField, SlFieldDescription, SlFieldError, SlFieldLabel } from '@slotted/angular/field';\nimport { SlStack } from '@slotted/angular/stack';\nimport { SlTextField, SlTextFieldInput } from '@slotted/angular/text-field';\n\n@Component({\n selector: 'app-text-field-states',\n imports: [\n SlField,\n SlFieldDescription,\n SlFieldError,\n SlFieldLabel,\n SlStack,\n SlTextField,\n SlTextFieldInput,\n ],\n template: `\n <div slStack [gap]=\"5\">\n <div slField invalid>\n <label slFieldLabel>VAT number</label>\n <div slTextField><input slTextFieldInput defaultValue=\"DE 81234\" /></div>\n <span slFieldError>A German VAT number has nine digits after DE.</span>\n </div>\n <div slField readOnly>\n <label slFieldLabel>Order number</label>\n <div slTextField mono><input slTextFieldInput defaultValue=\"SO-2026-00418\" /></div>\n <span slFieldDescription>Assigned when the order was placed.</span>\n </div>\n <div slField disabled>\n <label slFieldLabel>Currency</label>\n <div slTextField><input slTextFieldInput defaultValue=\"USD\" /></div>\n <span slFieldDescription>Set by the customer’s price list.</span>\n </div>\n </div>\n `,\n})\nexport class TextFieldStates {}\n",
|
|
521
522
|
"verdict": "example"
|
|
@@ -549,7 +550,7 @@
|
|
|
549
550
|
"title": "Setting it once, and reaching past it",
|
|
550
551
|
"note": "provideTextFieldDefaults carries the decisions an application takes once; exportAs reaches the instance, and inputElement is the native element with focus, select and setSelectionRange already on it.",
|
|
551
552
|
"language": "html",
|
|
552
|
-
"source": "<!-- ControlValueAccessor: the control belongs in a form as it stands. -->\n<div slTextField clearable>\n <input slTextFieldInput [formControl]=\"email\" type=\"email\" />\n</div>\n\n<!-- exportAs, for the element the template has to reach. -->\n<div slTextField>\n <input slTextFieldInput #
|
|
553
|
+
"source": "<!-- ControlValueAccessor: the control belongs in a form as it stands. -->\n<div slTextField clearable>\n <input slTextFieldInput [formControl]=\"email\" type=\"email\" />\n</div>\n\n<!-- exportAs, for the element the template has to reach. -->\n<div slTextField>\n <input slTextFieldInput #field=\"slTextFieldInput\" />\n <span slTextFieldEnd>\n <button slTextFieldAction (click)=\"field.inputElement.select()\">Select</button>\n </span>\n</div>\n",
|
|
553
554
|
"verdict": "excerpt"
|
|
554
555
|
},
|
|
555
556
|
{
|
package/docs/text-field.md
CHANGED
|
@@ -78,7 +78,7 @@ export class TextFieldBasic {}
|
|
|
78
78
|
| `readOnly` | `boolean` | from the field, or false | slTextFieldInput | Unset by default, so the input takes the state of the field around it. It is the native readonly: the input stays focusable and selectable, and its value is submitted. A static readonly attribute you write is read before the binding computes. |
|
|
79
79
|
| `invalid` | `boolean` | from the field, or false | slTextFieldInput | Unset by default, so the input takes the state of the field around it. It sets aria-invalid on the input and data-invalid on the frame. |
|
|
80
80
|
| `required` | `boolean` | — | the input element | The input’s own attribute; slTextFieldInput never writes it. A field marks a required value with aria-required instead, because the native attribute turns on browser constraint validation. |
|
|
81
|
-
| `type` | `'text' \| 'search' \| 'email' \| 'url' \| 'tel' \| 'password'` | text | the input element | The input’s own type, written as a static attribute. It is read before the host binding computes, so the reveal toggle can swap it and restore what you wrote. |
|
|
81
|
+
| `type` | `'text' \| 'search' \| 'email' \| 'url' \| 'tel' \| 'password'` | text | the input element | The input’s own type, one of the six listed, written as a static attribute. It is read before the host binding computes, so the reveal toggle can swap it and restore what you wrote. A date, a time, a month or a number is not a text field: use date-picker (forms.md FM-16), time-picker or number-field. Other strings still reach the element for compatibility and are not supported. |
|
|
82
82
|
| `copyable` | `boolean` | false | slTextField | Draws a button that writes the value to the clipboard, shows a check for two seconds and announces the outcome. It is hidden while the value is empty or the input is disabled. |
|
|
83
83
|
| `loading` | `boolean` | false | slTextField | Draws the shared spinner before the buttons and sets aria-busy on the input; the value stays editable. Once loading is bound, false included, the spinner keeps its place so it can leave with a transition. |
|
|
84
84
|
| `messages` | `Partial<TextFieldMessages>` | — | slTextField | Replaces words of the active language, key by key. clear, reveal and copy name the buttons; reveal does not change with the state, because aria-pressed carries it. copied and copyFailed announce the outcome of a copy. capsLock is announced once when Caps Lock turns on in a focused password field. |
|
|
@@ -118,7 +118,7 @@ export class TextFieldBasic {}
|
|
|
118
118
|
|
|
119
119
|
## Tokens
|
|
120
120
|
|
|
121
|
-
`--slotted-border-subtle`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-mono`, `--slotted-font-weight-medium`, `--slotted-radius-none`, `--slotted-radius-xs`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-field-action-active-background`, `--slotted-text-field-action-color`, `--slotted-text-field-action-hover-background`, `--slotted-text-field-action-label-color`, `--slotted-text-field-action-size`, `--slotted-text-field-adornment-color`, `--slotted-text-field-autofill-background`, `--slotted-text-field-background`, `--slotted-text-field-border-color`, `--slotted-text-field-caps-lock-color`, `--slotted-text-field-color`, `--slotted-text-field-copy-complete-color`, `--slotted-text-field-disabled-background`, `--slotted-text-field-disabled-border-color`, `--slotted-text-field-disabled-color`, `--slotted-text-field-hover-border-color`, `--slotted-text-field-icon-size-min`, `--slotted-text-field-invalid-border-color`, `--slotted-text-field-invalid-edge-width`, `--slotted-text-field-invalid-focus-ring-color`, `--slotted-text-field-placeholder-color`, `--slotted-text-field-plain-hover-background`, `--slotted-text-field-radius`, `--slotted-text-field-readonly-background`, `--slotted-text-field-shadow`, `--slotted-text-field-subtle-background`, `--slotted-text-field-subtle-border-color`, `--slotted-text-field-subtle-hover-background`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
121
|
+
`--slotted-border-subtle`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-mono`, `--slotted-font-weight-medium`, `--slotted-radius-none`, `--slotted-radius-xs`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-field-action-active-background`, `--slotted-text-field-action-color`, `--slotted-text-field-action-hover-background`, `--slotted-text-field-action-label-color`, `--slotted-text-field-action-size`, `--slotted-text-field-adornment-color`, `--slotted-text-field-autofill-background`, `--slotted-text-field-background`, `--slotted-text-field-border-color`, `--slotted-text-field-caps-lock-color`, `--slotted-text-field-color`, `--slotted-text-field-copy-complete-color`, `--slotted-text-field-disabled-background`, `--slotted-text-field-disabled-border-color`, `--slotted-text-field-disabled-color`, `--slotted-text-field-hover-border-color`, `--slotted-text-field-icon-size-min`, `--slotted-text-field-invalid-border-color`, `--slotted-text-field-invalid-edge-width`, `--slotted-text-field-invalid-focus-ring-color`, `--slotted-text-field-placeholder-color`, `--slotted-text-field-plain-hover-background`, `--slotted-text-field-radius`, `--slotted-text-field-readonly-background`, `--slotted-text-field-shadow`, `--slotted-text-field-subtle-background`, `--slotted-text-field-subtle-border-color`, `--slotted-text-field-subtle-hover-background`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
|
|
122
122
|
|
|
123
123
|
## Examples
|
|
124
124
|
|