@slotted/angular 0.1.0-beta.3 → 0.1.0-beta.31
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 +31 -14
- package/docs/alert.md +29 -18
- package/docs/app-shell.examples.md +8 -8
- package/docs/app-shell.json +38 -21
- 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 +3 -2
- package/docs/card.md +3 -3
- package/docs/carousel.json +10 -10
- package/docs/carousel.md +11 -11
- package/docs/cascader.json +2 -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 +12 -11
- package/docs/collapsible.md +20 -20
- package/docs/color-picker.json +26 -26
- package/docs/color-picker.md +16 -16
- package/docs/combobox.json +6 -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 +53 -10
- package/docs/dashboard-grid.md +18 -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 +58 -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 +44 -17
- package/docs/drawer.md +10 -8
- package/docs/entity-picker.json +22 -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 +24 -12
- 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 +24 -23
- package/docs/import-export-center.md +18 -18
- 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.examples.md +907 -0
- package/docs/list.json +121 -33
- package/docs/list.md +73 -137
- 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 +15 -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 +4 -1
- package/docs/multi-select.md +1 -1
- package/docs/navigation-menu.json +1 -0
- package/docs/navigation-menu.md +1 -1
- package/docs/notification-center.json +21 -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 +31 -14
- 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 +5 -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 +13 -12
- package/docs/result-state.md +18 -18
- 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 +44 -22
- package/docs/section.md +34 -31
- package/docs/segmented-control.json +21 -25
- package/docs/segmented-control.md +33 -33
- package/docs/select.json +4 -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 +59 -18
- package/docs/skills/index.md +2 -2
- package/docs/skills/review-screen/SKILL.md +29 -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 +15 -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 +53 -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 +10 -9
- package/docs/tour.md +7 -7
- 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 +384 -88
- 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 +78 -27
- 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 +65 -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 +12 -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
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
<!-- index: ./index.md -->
|
|
2
|
+
# media-viewer
|
|
3
|
+
|
|
4
|
+
`data-ui="media-viewer"` · Full-screen viewer of files: fitted, zoomed, stepped.
|
|
5
|
+
|
|
6
|
+
## Import
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
import { provideMediaViewerDefaults, SlMediaViewer, SlMediaViewerAction } from '@slotted/angular/media-viewer';
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Selector: `sl-media-viewer, [slMediaViewerAction]` · exportAs: `slMediaViewer`
|
|
13
|
+
|
|
14
|
+
## Minimal example
|
|
15
|
+
|
|
16
|
+
Excerpt — not a complete module
|
|
17
|
+
|
|
18
|
+
```html
|
|
19
|
+
<button slAttachmentTrigger (click)="value.set(file.id); open.set(true)"></button>
|
|
20
|
+
<sl-media-viewer [items]="files" [(open)]="open" [(value)]="value" />
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Anatomy
|
|
24
|
+
|
|
25
|
+
| Part | Element | Required |
|
|
26
|
+
| --- | --- | --- |
|
|
27
|
+
| `root` | div | yes |
|
|
28
|
+
| `bar` | div | yes |
|
|
29
|
+
| `close` | button | yes |
|
|
30
|
+
| `heading` | div | yes |
|
|
31
|
+
| `title` | h2 | yes |
|
|
32
|
+
| `position` | p | no |
|
|
33
|
+
| `actions` | div | yes |
|
|
34
|
+
| `download` | a download | no |
|
|
35
|
+
| `stage` | div | yes |
|
|
36
|
+
| `frame` | div | no |
|
|
37
|
+
| `media` | img, iframe, video or audio | no |
|
|
38
|
+
| `unsupported` | div | no |
|
|
39
|
+
| `tile` | span | no |
|
|
40
|
+
| `text` | div | no |
|
|
41
|
+
| `retry` | button | no |
|
|
42
|
+
| `status` | div role="status" | no |
|
|
43
|
+
| `previous` | button | no |
|
|
44
|
+
| `next` | button | no |
|
|
45
|
+
| `zoom` | div role="group" | no |
|
|
46
|
+
| `zoom-out` | button | no |
|
|
47
|
+
| `zoom-level` | output | no |
|
|
48
|
+
| `zoom-in` | button | no |
|
|
49
|
+
| `fit` | button | no |
|
|
50
|
+
| `rotate` | button | no |
|
|
51
|
+
| `caption` | p | no |
|
|
52
|
+
| `thumbnails` | div role="group" | no |
|
|
53
|
+
| `thumbnail` | button | no |
|
|
54
|
+
|
|
55
|
+
## Props
|
|
56
|
+
|
|
57
|
+
| Name | Type | Default | Applies to | Description |
|
|
58
|
+
| --- | --- | --- | --- | --- |
|
|
59
|
+
| `items` | `MediaViewerItem[]` | [] | sl-media-viewer | { id, src, name, type, caption?, downloadHref?, thumbnail?, width?, height? }; type is a MIME type |
|
|
60
|
+
| `open` | `model<boolean>` | false | sl-media-viewer | Whether the viewer is shown; [(open)] two-way |
|
|
61
|
+
| `value` | `model<string \| undefined>` | the first item | sl-media-viewer | The id of the item shown; [(value)] two-way |
|
|
62
|
+
| `zoom` | `model<number>` | 1 | sl-media-viewer | The level, a multiple of the fit; [(zoom)] two-way |
|
|
63
|
+
| `rotation` | `model<0 \| 90 \| 180 \| 270>` | 0 | sl-media-viewer | The turn; [(rotation)] two-way |
|
|
64
|
+
| `minZoom` | `number` | 1 | sl-media-viewer | The lowest level; 1 is the whole picture |
|
|
65
|
+
| `maxZoom` | `number` | 4 | sl-media-viewer | The highest level |
|
|
66
|
+
| `zoomStep` | `number` | 0.25 | sl-media-viewer | What a button, a key or 100 pixels of wheel add |
|
|
67
|
+
| `loop` | `boolean` | false | sl-media-viewer | Steps wrap at the ends instead of stopping |
|
|
68
|
+
| `thumbnails` | `boolean` | false | sl-media-viewer | Draws the strip of the set under the stage |
|
|
69
|
+
| `thumbnailsLabel` | `string` | — | sl-media-viewer | The strip’s accessible name |
|
|
70
|
+
| `fullscreenToggle` | `boolean` | false | sl-media-viewer | Passed to sl-dialog: asks the platform for the whole screen |
|
|
71
|
+
| `container` | `Element \| null` | the dialog’s own | sl-media-viewer | Where the layer is written |
|
|
72
|
+
| `messages` | `Partial<MediaViewerMessages>` | — | sl-media-viewer | Words laid over the language in force, key by key: close, previous, next, zoomIn, zoomOut, fit, rotate, download, position, zoomLevel, unsupportedTitle, unsupported, errorTitle, error, retry, truncated, loading, announce, label |
|
|
73
|
+
| `provideMediaViewerDefaults` | `{ minZoom, maxZoom, zoomStep, loop, messages }` | — | providers | Sets them once for every viewer under the injector; an input still wins |
|
|
74
|
+
| `slMediaViewerAction` | `directive` | — | a control of the consumer’s own | Projected into the bar beside the download |
|
|
75
|
+
| `exportAs` | `slMediaViewer` | — | sl-media-viewer | The instance: requestStep, requestZoom, requestRotation, requestOpen |
|
|
76
|
+
|
|
77
|
+
## Events
|
|
78
|
+
|
|
79
|
+
| Name | Payload | When |
|
|
80
|
+
| --- | --- | --- |
|
|
81
|
+
| `openChangeRequest` | `ChangeRequest<boolean>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'escape' \| 'outsidePress' \| 'back' \| 'programmatic', cancel() }` | The close button, Escape, the platform’s back, a click on the ground beside the picture, a pull down on a finger, or a set that became empty. cancel() keeps the viewer open. |
|
|
82
|
+
| `valueChangeRequest` | `ChangeRequest<string>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'remove' \| 'programmatic', cancel() }` | A step by a button, a thumbnail, an arrow, Home, End or a swipe; remove when the shown item left the set and its neighbour takes its place. |
|
|
83
|
+
| `zoomChangeRequest` | `ChangeRequest<number>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'select' \| 'programmatic', cancel() }` | The wheel, a pinch, a double-click, the pill or a key; select when a step puts the level back to the fit. |
|
|
84
|
+
| `rotationChangeRequest` | `ChangeRequest<0 \| 90 \| 180 \| 270>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'select' \| 'programmatic', cancel() }` | The rotate button or R; select when a step puts the turn back to 0. |
|
|
85
|
+
|
|
86
|
+
## Rules
|
|
87
|
+
|
|
88
|
+
- The layer is dialog’s: focus enters it, Tab stays inside, Escape and the platform’s back close it, and focus returns to the opener.
|
|
89
|
+
- The dialog is named by the file’s title and described by its position, so a reader hears “police-report.pdf, 3 of 5” when it opens; a step announces the new name and position politely.
|
|
90
|
+
- Focus lands on the stage rather than on the close button, because the content is the picture; the stage is named by the file and takes the arrows, plus, minus, zero and R.
|
|
91
|
+
- The family’s keys give way inside a video, an audio, a frame or a field, whose own keys win; Ctrl and Meta combinations stay the browser’s zoom. A text file keeps the arrows that scroll it.
|
|
92
|
+
- A text file is fetched and set as text, never executed, so an HTML file shows its source; the stage holding it scrolls under a finger as a document does.
|
|
93
|
+
- Every control is a real button with a name from the catalog, and the level is an output that is not live, so the zoom does not chatter at every wheel event.
|
|
94
|
+
- The viewer draws the dark scheme on its dark ground in light and dark, and keeps the high-contrast scheme when the reader chose it.
|
|
95
|
+
|
|
96
|
+
## Tokens
|
|
97
|
+
|
|
98
|
+
`--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-mono`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-media-viewer-control-radius`, `--slotted-media-viewer-ground`, `--slotted-media-viewer-step-surface`, `--slotted-media-viewer-text-measure`, `--slotted-media-viewer-text-surface`, `--slotted-media-viewer-thumbnail-size`, `--slotted-media-viewer-tile-glyph-size`, `--slotted-media-viewer-tile-size`, `--slotted-media-viewer-zoom-surface`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
|
|
99
|
+
|
|
100
|
+
## Examples
|
|
101
|
+
|
|
102
|
+
### Zoom around a point
|
|
103
|
+
|
|
104
|
+
The wheel zooms around the point under the pointer by distance, so a trackpad’s many small events do not jump to the maximum. Drag to pan; double-click returns to the fit.
|
|
105
|
+
|
|
106
|
+
Excerpt — not a complete module
|
|
107
|
+
|
|
108
|
+
```html
|
|
109
|
+
<sl-media-viewer [items]="files" [(open)]="open" [maxZoom]="8" [zoomStep]="0.5" />
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### A photograph, a PDF, a JSON export and a spreadsheet
|
|
113
|
+
|
|
114
|
+
The PDF opens in the browser’s own reader; the JSON export is read as text, indented and never executed, as a log, a CSV or source would be. A spreadsheet the browser cannot draw gets its tile, a sentence and the download.
|
|
115
|
+
|
|
116
|
+
Excerpt — not a complete module
|
|
117
|
+
|
|
118
|
+
```html
|
|
119
|
+
<sl-media-viewer [items]="claimFiles" [(open)]="open" />
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### A picture that fails to load
|
|
123
|
+
|
|
124
|
+
The photograph’s address no longer answers: the stage says what happened and offers to try again or to download, and the zoom pill leaves because there is nothing to zoom.
|
|
125
|
+
|
|
126
|
+
Excerpt — not a complete module
|
|
127
|
+
|
|
128
|
+
```html
|
|
129
|
+
<sl-media-viewer [items]="[front, wheelArch, rear]" [(open)]="open" />
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### A long name and a set of one
|
|
133
|
+
|
|
134
|
+
A scanner’s name is cut in the middle so the extension stays; the whole name is in the tooltip and the accessible name. A single file draws no steps and no position.
|
|
135
|
+
|
|
136
|
+
Excerpt — not a complete module
|
|
137
|
+
|
|
138
|
+
```html
|
|
139
|
+
<sl-media-viewer [items]="[scan]" [(open)]="open" />
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### A strip of the set
|
|
143
|
+
|
|
144
|
+
Composed under the stage: the current photograph is framed and the others dimmed until the pointer reaches them. A press steps straight to that file.
|
|
145
|
+
|
|
146
|
+
Excerpt — not a complete module
|
|
147
|
+
|
|
148
|
+
```html
|
|
149
|
+
<sl-media-viewer [items]="files" [(open)]="open" thumbnails thumbnailsLabel="Claim photographs" />
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### Actions of the product, defaults of the application
|
|
153
|
+
|
|
154
|
+
The bar takes the product’s own controls beside the download. A provider sets the limits, the loop and the words once for every viewer under it.
|
|
155
|
+
|
|
156
|
+
Excerpt — not a complete module
|
|
157
|
+
|
|
158
|
+
```html
|
|
159
|
+
<sl-media-viewer [items]="files" [(open)]="open">
|
|
160
|
+
<button slMediaViewerAction type="button" (click)="share()">Share with adjuster</button>
|
|
161
|
+
</sl-media-viewer>
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### The application holds the file and the level
|
|
165
|
+
|
|
166
|
+
Every move is a request with a reason: the step says pointer, keyboard or remove, the level says pointer, keyboard or select. The log below the openers shows each one.
|
|
167
|
+
|
|
168
|
+
Excerpt — not a complete module
|
|
169
|
+
|
|
170
|
+
```html
|
|
171
|
+
<sl-media-viewer
|
|
172
|
+
[items]="files"
|
|
173
|
+
[(open)]="open"
|
|
174
|
+
[(value)]="value"
|
|
175
|
+
[(zoom)]="zoom"
|
|
176
|
+
(zoomChangeRequest)="log('level by ' + $event.reason)"
|
|
177
|
+
/>
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Every key of the viewer
|
|
181
|
+
|
|
182
|
+
Arrows step while the picture fits and pan once it is zoomed; plus, minus and zero zoom; R turns; Home and End reach the ends; Escape closes and focus returns to the opener.
|
|
183
|
+
|
|
184
|
+
Excerpt — not a complete module
|
|
185
|
+
|
|
186
|
+
```html
|
|
187
|
+
<sl-media-viewer [items]="files" [(open)]="open" />
|
|
188
|
+
```
|
package/docs/menu.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"md",
|
|
13
13
|
"lg"
|
|
14
14
|
],
|
|
15
|
+
"width": [
|
|
16
|
+
"content",
|
|
17
|
+
"anchor"
|
|
18
|
+
],
|
|
15
19
|
"side": [
|
|
16
20
|
"bottom",
|
|
17
21
|
"top",
|
|
@@ -84,6 +88,7 @@
|
|
|
84
88
|
"nativeElement": "div",
|
|
85
89
|
"defaults": {
|
|
86
90
|
"size": "md",
|
|
91
|
+
"width": "content",
|
|
87
92
|
"side": "bottom",
|
|
88
93
|
"align": "start",
|
|
89
94
|
"mount": "active",
|
|
@@ -269,6 +274,13 @@
|
|
|
269
274
|
"appliesTo": "sl-menu",
|
|
270
275
|
"description": "The width of the surface and the height of its items."
|
|
271
276
|
},
|
|
277
|
+
{
|
|
278
|
+
"name": "width",
|
|
279
|
+
"type": "'content' | 'anchor'",
|
|
280
|
+
"defaultValue": "content",
|
|
281
|
+
"appliesTo": "sl-menu",
|
|
282
|
+
"description": "content: the surface takes its own measure; anchor: it is exactly as wide as its trigger, capped by the available width. A submenu is always content."
|
|
283
|
+
},
|
|
272
284
|
{
|
|
273
285
|
"name": "side",
|
|
274
286
|
"type": "'top' | 'bottom' | 'inline-start' | 'inline-end' | 'left' | 'right'",
|
|
@@ -585,7 +597,6 @@
|
|
|
585
597
|
"--slotted-control-padding-inline-lg",
|
|
586
598
|
"--slotted-control-padding-inline-md",
|
|
587
599
|
"--slotted-control-padding-inline-sm",
|
|
588
|
-
"--slotted-control-radius",
|
|
589
600
|
"--slotted-control-transition-duration",
|
|
590
601
|
"--slotted-control-transition-easing",
|
|
591
602
|
"--slotted-disabled-foreground",
|
|
@@ -601,8 +612,10 @@
|
|
|
601
612
|
"--slotted-font-weight-semibold",
|
|
602
613
|
"--slotted-line-height-md",
|
|
603
614
|
"--slotted-line-height-sm",
|
|
615
|
+
"--slotted-menu-backdrop-filter",
|
|
604
616
|
"--slotted-menu-border-color",
|
|
605
617
|
"--slotted-menu-gap",
|
|
618
|
+
"--slotted-menu-group-label-height",
|
|
606
619
|
"--slotted-menu-highlight",
|
|
607
620
|
"--slotted-menu-highlight-active",
|
|
608
621
|
"--slotted-menu-item-radius",
|
|
@@ -618,6 +631,7 @@
|
|
|
618
631
|
"--slotted-menu-surface",
|
|
619
632
|
"--slotted-menu-text",
|
|
620
633
|
"--slotted-menu-text-muted",
|
|
634
|
+
"--slotted-overlay-max-block-size",
|
|
621
635
|
"--slotted-radius-lg",
|
|
622
636
|
"--slotted-shadow-md",
|
|
623
637
|
"--slotted-space-1",
|
package/docs/menu.md
CHANGED
|
@@ -69,6 +69,7 @@ export class MenuBasic {}
|
|
|
69
69
|
| `value` | `string \| undefined` | — | sl-menu, sl-menu-radio-group, button[slMenuRadioItem] | On an sl-menu inside sl-menubar, the name the bar knows it by; a menu on its own needs none. On sl-menu-radio-group, the chosen value, bound with [(value)]. On a radio item, the value the item stands for. |
|
|
70
70
|
| `checked` | `model<boolean>` | false | button[slMenuCheckboxItem] | Whether the option is on. Bind [(checked)] to read and write it. |
|
|
71
71
|
| `size` | `'sm' \| 'md' \| 'lg'` | md | sl-menu | The width of the surface and the height of its items. |
|
|
72
|
+
| `width` | `'content' \| 'anchor'` | content | sl-menu | content: the surface takes its own measure; anchor: it is exactly as wide as its trigger, capped by the available width. A submenu is always content. |
|
|
72
73
|
| `side` | `'top' \| 'bottom' \| 'inline-start' \| 'inline-end' \| 'left' \| 'right'` | bottom | sl-menu | The edge of the trigger the surface opens from. inline-start and inline-end follow the reading direction. |
|
|
73
74
|
| `align` | `'start' \| 'center' \| 'end'` | start | sl-menu | Where the surface sits along that edge. |
|
|
74
75
|
| `mount` | `'active' \| 'lazy' \| 'eager'` | active | sl-menu | When the surface is in the document: only while open, from the first open on, or from the start. A surface kept while closed carries inert. |
|
|
@@ -122,6 +123,7 @@ export class MenuBasic {}
|
|
|
122
123
|
| Axis | Values | Default |
|
|
123
124
|
| --- | --- | --- |
|
|
124
125
|
| `size` | `sm`, `md`, `lg` | `md` |
|
|
126
|
+
| `width` | `content`, `anchor` | `content` |
|
|
125
127
|
| `side` | `bottom`, `top`, `inline-start`, `inline-end`, `left`, `right` | `bottom` |
|
|
126
128
|
| `align` | `start`, `center`, `end` | `start` |
|
|
127
129
|
| `mount` | `active`, `lazy`, `eager` | `active` |
|
|
@@ -148,7 +150,7 @@ export class MenuBasic {}
|
|
|
148
150
|
|
|
149
151
|
## Tokens
|
|
150
152
|
|
|
151
|
-
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-
|
|
153
|
+
`--slotted-border-subtle`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-menu-backdrop-filter`, `--slotted-menu-border-color`, `--slotted-menu-gap`, `--slotted-menu-group-label-height`, `--slotted-menu-highlight`, `--slotted-menu-highlight-active`, `--slotted-menu-item-radius`, `--slotted-menu-measure`, `--slotted-menu-measure-lg`, `--slotted-menu-measure-sm`, `--slotted-menu-min-measure`, `--slotted-menu-padding-block`, `--slotted-menu-padding-inline`, `--slotted-menu-radius`, `--slotted-menu-separator-color`, `--slotted-menu-shadow`, `--slotted-menu-surface`, `--slotted-menu-text`, `--slotted-menu-text-muted`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`, `--slotted-z-index-popover`
|
|
152
154
|
|
|
153
155
|
## Examples
|
|
154
156
|
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"part": "root",
|
|
69
69
|
"element": "div",
|
|
70
70
|
"required": true,
|
|
71
|
-
"purpose": "The frame. Fills a bounded parent; the engine writes data-scrollable, data-following and data-pending on it while the reader scrolls."
|
|
71
|
+
"purpose": "The frame. Fills a bounded parent; the engine writes data-scrollable, data-following and data-pending on it while the reader scrolls. data-pending hides the content until the opening position is applied, and content that holds no item is never pending."
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
"part": "viewport",
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
"title": "Days that stay at the top",
|
|
379
379
|
"note": "A sticky separator is a pill that stays at the top while its day is in view and gives way to the next day as it arrives; a separator that is not sticky keeps its rules.",
|
|
380
380
|
"language": "html",
|
|
381
|
-
"source": "<div slMessageScrollerItem>\n <div slMessageScrollerSeparator sticky>
|
|
381
|
+
"source": "<div slMessageScrollerItem>\n <div slMessageScrollerSeparator sticky>Yesterday</div>\n</div>\n",
|
|
382
382
|
"verdict": "excerpt"
|
|
383
383
|
},
|
|
384
384
|
{
|
package/docs/message-scroller.md
CHANGED
package/docs/message.json
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"tone": [
|
|
37
37
|
"accent",
|
|
38
38
|
"secondary",
|
|
39
|
+
"info",
|
|
39
40
|
"success",
|
|
40
41
|
"warning",
|
|
41
42
|
"danger"
|
|
@@ -473,7 +474,7 @@
|
|
|
473
474
|
},
|
|
474
475
|
{
|
|
475
476
|
"name": "tone",
|
|
476
|
-
"type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
|
|
477
|
+
"type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
|
|
477
478
|
"defaultValue": "secondary",
|
|
478
479
|
"appliesTo": "slBubble",
|
|
479
480
|
"description": "The tone. Falls back to the row (end is accent), then the token"
|
|
@@ -681,6 +682,11 @@
|
|
|
681
682
|
"--slotted-tone-danger-solid-active",
|
|
682
683
|
"--slotted-tone-danger-surface",
|
|
683
684
|
"--slotted-tone-danger-text",
|
|
685
|
+
"--slotted-tone-info-border",
|
|
686
|
+
"--slotted-tone-info-on-solid",
|
|
687
|
+
"--slotted-tone-info-solid",
|
|
688
|
+
"--slotted-tone-info-surface",
|
|
689
|
+
"--slotted-tone-info-text",
|
|
684
690
|
"--slotted-tone-secondary-on-solid",
|
|
685
691
|
"--slotted-tone-secondary-solid",
|
|
686
692
|
"--slotted-tone-secondary-subtle-active",
|
|
@@ -703,7 +709,7 @@
|
|
|
703
709
|
"title": "Playground",
|
|
704
710
|
"note": "One row with its side, layout, action visibility and status on the controls. Switch status to failed, read or streaming and watch the article’s own states and the receipt follow.",
|
|
705
711
|
"language": "html",
|
|
706
|
-
"source": "<article slMessage status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>
|
|
712
|
+
"source": "<article slMessage status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>The payout from Tuesday came back with error R03.</div>\n </div>\n </div>\n</article>\n",
|
|
707
713
|
"verdict": "excerpt"
|
|
708
714
|
},
|
|
709
715
|
{
|
|
@@ -711,7 +717,7 @@
|
|
|
711
717
|
"title": "Two sides, asked once",
|
|
712
718
|
"note": "align lives on the row. A bubble in an end row paints the accent’s fill by itself; a bubble in a start row the secondary tint. Nothing is repeated on the bubble.",
|
|
713
719
|
"language": "html",
|
|
714
|
-
"source": "<article slMessage align=\"end\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent
|
|
720
|
+
"source": "<article slMessage align=\"end\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>Great. I will resend as soon as it arrives.</div>\n </div>\n </div>\n</article>\n",
|
|
715
721
|
"verdict": "excerpt"
|
|
716
722
|
},
|
|
717
723
|
{
|
|
@@ -719,7 +725,7 @@
|
|
|
719
725
|
"title": "The avatar at the foot of the words",
|
|
720
726
|
"note": "The avatar sits on the line of the last bubble, not of the footer under it, and moves to the end side with the row. It is the avatar family’s small step, so it follows the density.",
|
|
721
727
|
"language": "html",
|
|
722
|
-
"source": "<article slMessage>\n <div slMessageAvatar>\n <span slAvatar name=\"Marta Silva\" size=\"sm\"></span>\n </div>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>
|
|
728
|
+
"source": "<article slMessage>\n <div slMessageAvatar>\n <span slAvatar name=\"Marta Silva\" size=\"sm\"></span>\n </div>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>It arrives this afternoon.</div>\n </div>\n </div>\n</article>\n",
|
|
723
729
|
"verdict": "excerpt"
|
|
724
730
|
},
|
|
725
731
|
{
|
|
@@ -727,7 +733,7 @@
|
|
|
727
733
|
"title": "A run from one sender",
|
|
728
734
|
"note": "Three rows, one avatar on the last. The rows stand two pixels apart and the corners facing each other on the sender’s side draw in to four; the earlier rows keep the avatar column without an empty slot.",
|
|
729
735
|
"language": "html",
|
|
730
|
-
"source": "<div slMessageGroup>\n <article slMessage>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>
|
|
736
|
+
"source": "<div slMessageGroup>\n <article slMessage>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>The payout from Tuesday came back with error R03.</div>\n </div>\n </div>\n </article>\n <article slMessage>\n <div slMessageAvatar>\n <span slAvatar name=\"Marta Silva\" size=\"sm\"></span>\n </div>\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>It arrives this afternoon.</div>\n </div>\n </div>\n </article>\n</div>\n",
|
|
731
737
|
"verdict": "excerpt"
|
|
732
738
|
},
|
|
733
739
|
{
|
|
@@ -743,7 +749,7 @@
|
|
|
743
749
|
"title": "Where a message is in its delivery",
|
|
744
750
|
"note": "Inside the bubble the hour and the mark ride at the end of the last line: a breathing clock while sending, one tick, two ticks, and two ticks in full ink once read. A message that did not go says so in a word under it, with the retry control beside it.",
|
|
745
751
|
"language": "html",
|
|
746
|
-
"source": "<article slMessage align=\"end\" status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>\n
|
|
752
|
+
"source": "<article slMessage align=\"end\" status=\"read\">\n <div slMessageBody>\n <div slBubble>\n <div slBubbleContent>\n And I mark the invoice as paid only after the credit.\n <span slBubbleMeta>\n <time slMessageTime datetime=\"2026-09-30T09:41\">09:41</time>\n <span slMessageReceipt></span>\n </span>\n </div>\n </div>\n </div>\n</article>\n",
|
|
747
753
|
"verdict": "excerpt"
|
|
748
754
|
},
|
|
749
755
|
{
|
|
@@ -759,7 +765,7 @@
|
|
|
759
765
|
"title": "What a reply is doing before it has words",
|
|
760
766
|
"note": "Steps done carry a tick and step back into the muted ink; the current one carries the shared ring and a band of light across its words. Under reduced motion the band stops and the words stand in the plain ink.",
|
|
761
767
|
"language": "html",
|
|
762
|
-
"source": "<article slMessage status=\"streaming\">\n <div slMessageBody>\n <div slMessageActivity>\n <div slMessageActivityStep status=\"complete\">
|
|
768
|
+
"source": "<article slMessage status=\"streaming\">\n <div slMessageBody>\n <div slMessageActivity>\n <div slMessageActivityStep status=\"complete\">I read the log from 14:00 to 14:10</div>\n <div slMessageActivityStep>Looking for the cause of the p95…</div>\n </div>\n </div>\n</article>\n",
|
|
763
769
|
"verdict": "excerpt"
|
|
764
770
|
},
|
|
765
771
|
{
|
|
@@ -775,7 +781,7 @@
|
|
|
775
781
|
"title": "A comment thread",
|
|
776
782
|
"note": "layout=\"thread\" sets every row at the start with the avatar at the top, the name inline, the words unframed and a band under the pointer; the actions float at the row’s top end on a raised plate.",
|
|
777
783
|
"language": "html",
|
|
778
|
-
"source": "<article slMessage layout=\"thread\">\n <div slMessageAvatar>\n <span slAvatar name=\"
|
|
784
|
+
"source": "<article slMessage layout=\"thread\">\n <div slMessageAvatar>\n <span slAvatar name=\"Emily Parker\"></span>\n </div>\n <div slMessageBody>\n <div slMessageHeader>\n <span slMessageAuthor>Emily Parker</span>\n <time slMessageTime datetime=\"2026-09-30T09:12\">4 minutes ago</time>\n </div>\n <div slBubble>\n <div slBubbleContent>Can we name the SSO owner before the review?</div>\n </div>\n </div>\n</article>\n",
|
|
779
785
|
"verdict": "excerpt"
|
|
780
786
|
},
|
|
781
787
|
{
|
|
@@ -783,7 +789,7 @@
|
|
|
783
789
|
"title": "Playground",
|
|
784
790
|
"note": "One bubble with its variant, tone and clamp on the controls. A bubble outside a row takes the provider’s painting; inside one it takes the row’s side.",
|
|
785
791
|
"language": "html",
|
|
786
|
-
"source": "<div slBubble variant=\"soft\" tone=\"secondary\">\n <div slBubbleContent>
|
|
792
|
+
"source": "<div slBubble variant=\"soft\" tone=\"secondary\">\n <div slBubbleContent>The destination account does not exist at the bank.</div>\n</div>\n",
|
|
787
793
|
"verdict": "excerpt"
|
|
788
794
|
},
|
|
789
795
|
{
|
|
@@ -797,9 +803,9 @@
|
|
|
797
803
|
{
|
|
798
804
|
"id": "tones",
|
|
799
805
|
"title": "Five tones",
|
|
800
|
-
"note": "accent and secondary write in the page’s ink; success, warning and danger in their own, because there the
|
|
806
|
+
"note": "accent and secondary write in the page’s ink; success, warning and danger in their own, because there the color of the words is the point — and the words say it too.",
|
|
801
807
|
"language": "html",
|
|
802
|
-
"source": "<div slBubble tone=\"danger\">\n <div slBubbleContent>
|
|
808
|
+
"source": "<div slBubble tone=\"danger\">\n <div slBubbleContent>Step 5 failed and the worker did not come back.</div>\n</div>\n",
|
|
803
809
|
"verdict": "excerpt"
|
|
804
810
|
},
|
|
805
811
|
{
|
|
@@ -815,7 +821,7 @@
|
|
|
815
821
|
"title": "Replying to a message",
|
|
816
822
|
"note": "The quote heads the surface in a block tinted with the surface’s own ink, author over up to three lines. Written on a button it asks, through (click), the scroller to take the reader to the quoted message.",
|
|
817
823
|
"language": "html",
|
|
818
|
-
"source": "<div slBubbleContent>\n <button\n slBubbleQuote\n type=\"button\"\n author=\"Marta Silva\"\n (click)=\"chat.scrollToMessage('m2', { highlight: true })\"\n >\n
|
|
824
|
+
"source": "<div slBubbleContent>\n <button\n slBubbleQuote\n type=\"button\"\n author=\"Marta Silva\"\n (click)=\"chat.scrollToMessage('m2', { highlight: true })\"\n >\n The destination account does not exist at the bank.\n </button>\n Send me the account number when it arrives.\n</div>\n",
|
|
819
825
|
"verdict": "excerpt"
|
|
820
826
|
},
|
|
821
827
|
{
|
package/docs/message.md
CHANGED
|
@@ -21,7 +21,7 @@ Excerpt — not a complete module
|
|
|
21
21
|
<article slMessage status="read">
|
|
22
22
|
<div slMessageBody>
|
|
23
23
|
<div slBubble>
|
|
24
|
-
<div slBubbleContent>
|
|
24
|
+
<div slBubbleContent>The payout from Tuesday came back with error R03.</div>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
</article>
|
|
@@ -97,7 +97,7 @@ Excerpt — not a complete module
|
|
|
97
97
|
| Name | Type | Default | Applies to | Description |
|
|
98
98
|
| --- | --- | --- | --- | --- |
|
|
99
99
|
| `variant` | `'solid' \| 'soft' \| 'outline' \| 'plain'` | soft | slBubble | The painting. Falls back to the row (end is solid, thread is plain), then the token |
|
|
100
|
-
| `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | secondary | slBubble | The tone. Falls back to the row (end is accent), then the token |
|
|
100
|
+
| `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | secondary | slBubble | The tone. Falls back to the row (end is accent), then the token |
|
|
101
101
|
| `maxLines` | `number` | — | slBubble | Lines shown before the text is clamped behind “Show more” |
|
|
102
102
|
| `revealed` | `boolean (model)` | false | slBubble | The clamped text shown whole; two-way with [(revealed)] |
|
|
103
103
|
| `defaultRevealed` | `boolean` | false | slBubble | An unbound [revealed] is the starting state; the component then holds it |
|
|
@@ -140,7 +140,7 @@ Excerpt — not a complete module
|
|
|
140
140
|
| `actionsVisibility` | `always`, `hover` | `hover` |
|
|
141
141
|
| `status` | `sending`, `sent`, `delivered`, `read`, `failed`, `streaming` | — |
|
|
142
142
|
| `variant` | `solid`, `soft`, `outline`, `plain` | `soft` |
|
|
143
|
-
| `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `secondary` |
|
|
143
|
+
| `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `secondary` |
|
|
144
144
|
|
|
145
145
|
## Rules
|
|
146
146
|
|
|
@@ -158,7 +158,7 @@ Excerpt — not a complete module
|
|
|
158
158
|
|
|
159
159
|
## Tokens
|
|
160
160
|
|
|
161
|
-
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-message-avatar-size`, `--slotted-message-bubble-padding-block`, `--slotted-message-bubble-padding-inline`, `--slotted-message-bubble-radius`, `--slotted-message-bubble-radius-joined`, `--slotted-message-bubble-share`, `--slotted-message-column-gap`, `--slotted-message-retry-state-layer`, `--slotted-message-run-gap`, `--slotted-message-stack-gap`, `--slotted-message-state-layer-active`, `--slotted-message-state-layer-hover`, `--slotted-message-thread-avatar-size`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
161
|
+
`--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-radius`, `--slotted-disabled-foreground`, `--slotted-duration-long`, `--slotted-duration-loop`, `--slotted-duration-loop-slow`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-emphasized`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-message-avatar-size`, `--slotted-message-bubble-padding-block`, `--slotted-message-bubble-padding-inline`, `--slotted-message-bubble-radius`, `--slotted-message-bubble-radius-joined`, `--slotted-message-bubble-share`, `--slotted-message-column-gap`, `--slotted-message-retry-state-layer`, `--slotted-message-run-gap`, `--slotted-message-stack-gap`, `--slotted-message-state-layer-active`, `--slotted-message-state-layer-hover`, `--slotted-message-thread-avatar-size`, `--slotted-radius-full`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
|
|
162
162
|
|
|
163
163
|
## Examples
|
|
164
164
|
|
|
@@ -172,7 +172,7 @@ Excerpt — not a complete module
|
|
|
172
172
|
<article slMessage align="end">
|
|
173
173
|
<div slMessageBody>
|
|
174
174
|
<div slBubble>
|
|
175
|
-
<div slBubbleContent
|
|
175
|
+
<div slBubbleContent>Great. I will resend as soon as it arrives.</div>
|
|
176
176
|
</div>
|
|
177
177
|
</div>
|
|
178
178
|
</article>
|
|
@@ -191,7 +191,7 @@ Excerpt — not a complete module
|
|
|
191
191
|
</div>
|
|
192
192
|
<div slMessageBody>
|
|
193
193
|
<div slBubble>
|
|
194
|
-
<div slBubbleContent>
|
|
194
|
+
<div slBubbleContent>It arrives this afternoon.</div>
|
|
195
195
|
</div>
|
|
196
196
|
</div>
|
|
197
197
|
</article>
|
|
@@ -208,7 +208,7 @@ Excerpt — not a complete module
|
|
|
208
208
|
<article slMessage>
|
|
209
209
|
<div slMessageBody>
|
|
210
210
|
<div slBubble>
|
|
211
|
-
<div slBubbleContent>
|
|
211
|
+
<div slBubbleContent>The payout from Tuesday came back with error R03.</div>
|
|
212
212
|
</div>
|
|
213
213
|
</div>
|
|
214
214
|
</article>
|
|
@@ -218,7 +218,7 @@ Excerpt — not a complete module
|
|
|
218
218
|
</div>
|
|
219
219
|
<div slMessageBody>
|
|
220
220
|
<div slBubble>
|
|
221
|
-
<div slBubbleContent>
|
|
221
|
+
<div slBubbleContent>It arrives this afternoon.</div>
|
|
222
222
|
</div>
|
|
223
223
|
</div>
|
|
224
224
|
</article>
|
|
@@ -249,7 +249,7 @@ Excerpt — not a complete module
|
|
|
249
249
|
<div slMessageBody>
|
|
250
250
|
<div slBubble>
|
|
251
251
|
<div slBubbleContent>
|
|
252
|
-
|
|
252
|
+
And I mark the invoice as paid only after the credit.
|
|
253
253
|
<span slBubbleMeta>
|
|
254
254
|
<time slMessageTime datetime="2026-09-30T09:41">09:41</time>
|
|
255
255
|
<span slMessageReceipt></span>
|
|
@@ -286,8 +286,8 @@ Excerpt — not a complete module
|
|
|
286
286
|
<article slMessage status="streaming">
|
|
287
287
|
<div slMessageBody>
|
|
288
288
|
<div slMessageActivity>
|
|
289
|
-
<div slMessageActivityStep status="complete">
|
|
290
|
-
<div slMessageActivityStep>
|
|
289
|
+
<div slMessageActivityStep status="complete">I read the log from 14:00 to 14:10</div>
|
|
290
|
+
<div slMessageActivityStep>Looking for the cause of the p95…</div>
|
|
291
291
|
</div>
|
|
292
292
|
</div>
|
|
293
293
|
</article>
|
|
@@ -321,15 +321,15 @@ Excerpt — not a complete module
|
|
|
321
321
|
```html
|
|
322
322
|
<article slMessage layout="thread">
|
|
323
323
|
<div slMessageAvatar>
|
|
324
|
-
<span slAvatar name="
|
|
324
|
+
<span slAvatar name="Emily Parker"></span>
|
|
325
325
|
</div>
|
|
326
326
|
<div slMessageBody>
|
|
327
327
|
<div slMessageHeader>
|
|
328
|
-
<span slMessageAuthor>
|
|
329
|
-
<time slMessageTime datetime="2026-09-30T09:12">
|
|
328
|
+
<span slMessageAuthor>Emily Parker</span>
|
|
329
|
+
<time slMessageTime datetime="2026-09-30T09:12">4 minutes ago</time>
|
|
330
330
|
</div>
|
|
331
331
|
<div slBubble>
|
|
332
|
-
<div slBubbleContent>
|
|
332
|
+
<div slBubbleContent>Can we name the SSO owner before the review?</div>
|
|
333
333
|
</div>
|
|
334
334
|
</div>
|
|
335
335
|
</article>
|
|
@@ -343,7 +343,7 @@ Excerpt — not a complete module
|
|
|
343
343
|
|
|
344
344
|
```html
|
|
345
345
|
<div slBubble variant="soft" tone="secondary">
|
|
346
|
-
<div slBubbleContent>
|
|
346
|
+
<div slBubbleContent>The destination account does not exist at the bank.</div>
|
|
347
347
|
</div>
|
|
348
348
|
```
|
|
349
349
|
|
|
@@ -362,13 +362,13 @@ Excerpt — not a complete module
|
|
|
362
362
|
|
|
363
363
|
### Five tones
|
|
364
364
|
|
|
365
|
-
accent and secondary write in the page’s ink; success, warning and danger in their own, because there the
|
|
365
|
+
accent and secondary write in the page’s ink; success, warning and danger in their own, because there the color of the words is the point — and the words say it too.
|
|
366
366
|
|
|
367
367
|
Excerpt — not a complete module
|
|
368
368
|
|
|
369
369
|
```html
|
|
370
370
|
<div slBubble tone="danger">
|
|
371
|
-
<div slBubbleContent>
|
|
371
|
+
<div slBubbleContent>Step 5 failed and the worker did not come back.</div>
|
|
372
372
|
</div>
|
|
373
373
|
```
|
|
374
374
|
|
|
@@ -398,9 +398,9 @@ Excerpt — not a complete module
|
|
|
398
398
|
author="Marta Silva"
|
|
399
399
|
(click)="chat.scrollToMessage('m2', { highlight: true })"
|
|
400
400
|
>
|
|
401
|
-
|
|
401
|
+
The destination account does not exist at the bank.
|
|
402
402
|
</button>
|
|
403
|
-
|
|
403
|
+
Send me the account number when it arrives.
|
|
404
404
|
</div>
|
|
405
405
|
```
|
|
406
406
|
|
package/docs/multi-select.json
CHANGED
|
@@ -365,7 +365,7 @@
|
|
|
365
365
|
"part": "icon",
|
|
366
366
|
"element": "span",
|
|
367
367
|
"required": false,
|
|
368
|
-
"purpose": "The first column of an option, for an icon that makes rows
|
|
368
|
+
"purpose": "The first column of an option, for an icon that makes rows recognizable."
|
|
369
369
|
},
|
|
370
370
|
{
|
|
371
371
|
"part": "label",
|
|
@@ -912,6 +912,7 @@
|
|
|
912
912
|
"--slotted-border-width-thin",
|
|
913
913
|
"--slotted-control-border-color",
|
|
914
914
|
"--slotted-control-border-width",
|
|
915
|
+
"--slotted-control-focus-ring-offset",
|
|
915
916
|
"--slotted-control-font-family",
|
|
916
917
|
"--slotted-control-font-size-lg",
|
|
917
918
|
"--slotted-control-font-size-md",
|
|
@@ -979,6 +980,7 @@
|
|
|
979
980
|
"--slotted-multi-select-disabled-color",
|
|
980
981
|
"--slotted-multi-select-field-basis",
|
|
981
982
|
"--slotted-multi-select-field-min",
|
|
983
|
+
"--slotted-multi-select-group-label-height",
|
|
982
984
|
"--slotted-multi-select-highlight",
|
|
983
985
|
"--slotted-multi-select-highlight-active",
|
|
984
986
|
"--slotted-multi-select-highlight-ring",
|
|
@@ -1001,6 +1003,7 @@
|
|
|
1001
1003
|
"--slotted-multi-select-subtle-border-color",
|
|
1002
1004
|
"--slotted-multi-select-subtle-hover-background",
|
|
1003
1005
|
"--slotted-multi-select-surface",
|
|
1006
|
+
"--slotted-overlay-max-block-size",
|
|
1004
1007
|
"--slotted-radius-lg",
|
|
1005
1008
|
"--slotted-radius-none",
|
|
1006
1009
|
"--slotted-shadow-md",
|