@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
package/docs/chart.examples.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
### Lines for a trend
|
|
9
9
|
|
|
10
|
-
Revenue and cost with a marker on the last point, and the target dashed in the neutral tone so it reads as a reference before its
|
|
10
|
+
Revenue and cost with a marker on the last point, and the target dashed in the neutral tone so it reads as a reference before its color does.
|
|
11
11
|
|
|
12
12
|
Excerpt — not a complete module
|
|
13
13
|
|
|
@@ -22,7 +22,7 @@ Three channels stacked with a monotone curve: the wash sits under each line and
|
|
|
22
22
|
Excerpt — not a complete module
|
|
23
23
|
|
|
24
24
|
```html
|
|
25
|
-
<figure slChart title="
|
|
25
|
+
<figure slChart title="Sessions by channel" [data]="sessions" [series]="stackedAreas"></figure>
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
### Grouped bars
|
|
@@ -32,7 +32,7 @@ Three channels side by side in each month; the band under the pointer lights the
|
|
|
32
32
|
Excerpt — not a complete module
|
|
33
33
|
|
|
34
34
|
```html
|
|
35
|
-
<figure slChart title="
|
|
35
|
+
<figure slChart title="Orders by channel" [data]="orders" [series]="channels"></figure>
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
### A ranking reads across
|
|
@@ -45,7 +45,7 @@ Excerpt — not a complete module
|
|
|
45
45
|
<figure
|
|
46
46
|
slChart
|
|
47
47
|
orientation="horizontal"
|
|
48
|
-
title="
|
|
48
|
+
title="Revenue by region"
|
|
49
49
|
[data]="regions"
|
|
50
50
|
[series]="ranking"
|
|
51
51
|
></figure>
|
|
@@ -58,7 +58,7 @@ Series that share a stack id pile up; the tooltip lists each and closes with the
|
|
|
58
58
|
Excerpt — not a complete module
|
|
59
59
|
|
|
60
60
|
```html
|
|
61
|
-
<figure slChart title="
|
|
61
|
+
<figure slChart title="Orders by channel" [data]="orders" [series]="stackedBars"></figure>
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
### Shares of a whole
|
|
@@ -71,7 +71,7 @@ Excerpt — not a complete module
|
|
|
71
71
|
<figure
|
|
72
72
|
slChart
|
|
73
73
|
stackMode="percent"
|
|
74
|
-
title="
|
|
74
|
+
title="Share by channel"
|
|
75
75
|
[data]="orders"
|
|
76
76
|
[series]="stackedAreas"
|
|
77
77
|
></figure>
|
|
@@ -96,7 +96,7 @@ Excerpt — not a complete module
|
|
|
96
96
|
```html
|
|
97
97
|
<figure
|
|
98
98
|
slChart
|
|
99
|
-
title="
|
|
99
|
+
title="Orders and margin"
|
|
100
100
|
[data]="monthly"
|
|
101
101
|
[series]="ordersAndMargin"
|
|
102
102
|
[y]="[orders, margin]"
|
|
@@ -112,7 +112,7 @@ Excerpt — not a complete module
|
|
|
112
112
|
```html
|
|
113
113
|
<figure
|
|
114
114
|
slChart
|
|
115
|
-
title="
|
|
115
|
+
title="Daily sessions"
|
|
116
116
|
[data]="daily"
|
|
117
117
|
[series]="sessions"
|
|
118
118
|
[x]="{ field: 'day', type: 'time' }"
|
|
@@ -128,7 +128,7 @@ Excerpt — not a complete module
|
|
|
128
128
|
```html
|
|
129
129
|
<figure
|
|
130
130
|
slChart
|
|
131
|
-
title="
|
|
131
|
+
title="Active users"
|
|
132
132
|
[data]="users"
|
|
133
133
|
[series]="series"
|
|
134
134
|
[y]="{ scale: 'log' }"
|
|
@@ -144,7 +144,7 @@ Excerpt — not a complete module
|
|
|
144
144
|
```html
|
|
145
145
|
<figure
|
|
146
146
|
slChart
|
|
147
|
-
title="
|
|
147
|
+
title="Revenue by region"
|
|
148
148
|
[data]="regions"
|
|
149
149
|
[series]="pie"
|
|
150
150
|
[x]="{ field: 'region' }"
|
|
@@ -153,7 +153,7 @@ Excerpt — not a complete module
|
|
|
153
153
|
|
|
154
154
|
### A donut with the total inside
|
|
155
155
|
|
|
156
|
-
innerRadius opens the middle and the center holds the total; a slChartCenter template replaces it, here with the resolution rate.
|
|
156
|
+
innerRadius opens the middle and the center holds the total; a slChartCenter template replaces it, here with the resolution rate. slotField and toneField give each slice the slot or tone its record names, so a category keeps the color it has everywhere else; a slice that names none takes the next free slot.
|
|
157
157
|
|
|
158
158
|
Excerpt — not a complete module
|
|
159
159
|
|
|
@@ -176,7 +176,7 @@ Excerpt — not a complete module
|
|
|
176
176
|
<figure
|
|
177
177
|
slChart
|
|
178
178
|
recordKey="id"
|
|
179
|
-
title="
|
|
179
|
+
title="Effort and impact"
|
|
180
180
|
[data]="work"
|
|
181
181
|
[series]="groups"
|
|
182
182
|
[x]="effort"
|
|
@@ -193,7 +193,7 @@ Excerpt — not a complete module
|
|
|
193
193
|
<figure
|
|
194
194
|
slChart
|
|
195
195
|
recordKey="id"
|
|
196
|
-
title="
|
|
196
|
+
title="Effort, impact and customers"
|
|
197
197
|
[data]="work"
|
|
198
198
|
[series]="bubbles"
|
|
199
199
|
></figure>
|
|
@@ -224,7 +224,7 @@ Excerpt — not a complete module
|
|
|
224
224
|
```html
|
|
225
225
|
<figure
|
|
226
226
|
slChart
|
|
227
|
-
title="
|
|
227
|
+
title="Acquisition channels"
|
|
228
228
|
[data]="sessions"
|
|
229
229
|
[series]="channels"
|
|
230
230
|
[(hidden)]="hidden"
|
|
@@ -241,7 +241,7 @@ Excerpt — not a complete module
|
|
|
241
241
|
<figure
|
|
242
242
|
slChart
|
|
243
243
|
legendValues
|
|
244
|
-
title="
|
|
244
|
+
title="Acquisition channels"
|
|
245
245
|
[data]="sessions"
|
|
246
246
|
[series]="channels"
|
|
247
247
|
></figure>
|
|
@@ -307,7 +307,7 @@ Excerpt — not a complete module
|
|
|
307
307
|
<figure
|
|
308
308
|
slChart
|
|
309
309
|
zoomable
|
|
310
|
-
title="
|
|
310
|
+
title="Daily sessions"
|
|
311
311
|
[data]="daily"
|
|
312
312
|
[series]="sessions"
|
|
313
313
|
[(zoom)]="zoom"
|
|
@@ -323,12 +323,12 @@ Excerpt — not a complete module
|
|
|
323
323
|
```html
|
|
324
324
|
<figure
|
|
325
325
|
slChart
|
|
326
|
-
title="
|
|
326
|
+
title="Revenue"
|
|
327
327
|
[data]="monthly"
|
|
328
328
|
[series]="revenue"
|
|
329
329
|
[(activePoint)]="point"
|
|
330
330
|
></figure>
|
|
331
|
-
<figure slChart title="
|
|
331
|
+
<figure slChart title="Orders" [data]="monthly" [series]="orders" [(activePoint)]="point"></figure>
|
|
332
332
|
```
|
|
333
333
|
|
|
334
334
|
### Three heights
|
|
@@ -345,7 +345,7 @@ Excerpt — not a complete module
|
|
|
345
345
|
|
|
346
346
|
### More series than slots
|
|
347
347
|
|
|
348
|
-
Eleven channels over eight
|
|
348
|
+
Eleven channels over eight color slots: the first eight take the palette, the rest take the overflow neutral, and the legend says which is which.
|
|
349
349
|
|
|
350
350
|
Excerpt — not a complete module
|
|
351
351
|
|
|
@@ -378,7 +378,7 @@ Excerpt — not a complete module
|
|
|
378
378
|
|
|
379
379
|
### Missing values stay missing
|
|
380
380
|
|
|
381
|
-
A null breaks the line on the left; connectNulls bridges it on the right, for a series where the gap is a sampling
|
|
381
|
+
A null breaks the line on the left; connectNulls bridges it on the right, for a series where the gap is a sampling artifact rather than a fact.
|
|
382
382
|
|
|
383
383
|
Excerpt — not a complete module
|
|
384
384
|
|
|
@@ -409,12 +409,12 @@ Excerpt — not a complete module
|
|
|
409
409
|
|
|
410
410
|
### Texture as a second channel
|
|
411
411
|
|
|
412
|
-
texture adds a pattern per slot, so a series is told apart in print, in
|
|
412
|
+
texture adds a pattern per slot, so a series is told apart in print, in grayscale or by a reader who does not see the difference between two hues.
|
|
413
413
|
|
|
414
414
|
Excerpt — not a complete module
|
|
415
415
|
|
|
416
416
|
```html
|
|
417
|
-
<figure slChart texture title="
|
|
417
|
+
<figure slChart texture title="Orders by channel" [data]="orders" [series]="channels"></figure>
|
|
418
418
|
```
|
|
419
419
|
|
|
420
420
|
### Waiting, in the shape of what is coming
|
|
@@ -426,7 +426,7 @@ Excerpt — not a complete module
|
|
|
426
426
|
```html
|
|
427
427
|
<figure
|
|
428
428
|
slChart
|
|
429
|
-
title="
|
|
429
|
+
title="Orders by channel"
|
|
430
430
|
[data]="orders()"
|
|
431
431
|
[loading]="pending()"
|
|
432
432
|
[series]="channels"
|
|
@@ -468,7 +468,7 @@ Excerpt — not a complete module
|
|
|
468
468
|
```html
|
|
469
469
|
<figure
|
|
470
470
|
slChart
|
|
471
|
-
title="
|
|
471
|
+
title="Conversion"
|
|
472
472
|
[data]="monthly"
|
|
473
473
|
[error]="failed()"
|
|
474
474
|
[series]="conversion"
|
|
@@ -488,23 +488,37 @@ Excerpt — not a complete module
|
|
|
488
488
|
slChart
|
|
489
489
|
size="sm"
|
|
490
490
|
variant="card"
|
|
491
|
-
title="
|
|
491
|
+
title="Revenue"
|
|
492
492
|
[data]="monthly"
|
|
493
493
|
[series]="revenue"
|
|
494
494
|
></figure>
|
|
495
|
-
<figure slChart loading size="sm" variant="card" title="
|
|
495
|
+
<figure slChart loading size="sm" variant="card" title="Orders" [series]="channels"></figure>
|
|
496
496
|
</div>
|
|
497
497
|
```
|
|
498
498
|
|
|
499
499
|
### On the page, or as a card
|
|
500
500
|
|
|
501
|
-
plain sits on the page’s own surface for a report; card draws its own surface, border and padding, and fills the grid cell it is given.
|
|
501
|
+
plain sits on the page’s own surface for a report; card draws its own surface, border and padding, and fills the grid cell it is given. Inside a section whose heading already names the chart, leave title out and write aria-label: it names the plot.
|
|
502
502
|
|
|
503
503
|
Excerpt — not a complete module
|
|
504
504
|
|
|
505
505
|
```html
|
|
506
506
|
<figure slChart variant="plain" [data]="monthly" [series]="revenue"></figure>
|
|
507
507
|
<figure slChart variant="card" [data]="monthly" [series]="revenue"></figure>
|
|
508
|
+
|
|
509
|
+
<section slSection>
|
|
510
|
+
<div slSectionHeader>
|
|
511
|
+
<div slSectionTitle><h2 slSectionHeading>Revenue</h2></div>
|
|
512
|
+
</div>
|
|
513
|
+
<div slSectionBody>
|
|
514
|
+
<figure
|
|
515
|
+
slChart
|
|
516
|
+
aria-label="Revenue, last 12 months"
|
|
517
|
+
[data]="monthly"
|
|
518
|
+
[series]="revenue"
|
|
519
|
+
></figure>
|
|
520
|
+
</div>
|
|
521
|
+
</section>
|
|
508
522
|
```
|
|
509
523
|
|
|
510
524
|
### The controls, and when to show them
|
|
@@ -531,9 +545,9 @@ Excerpt — not a complete module
|
|
|
531
545
|
</figure>
|
|
532
546
|
```
|
|
533
547
|
|
|
534
|
-
###
|
|
548
|
+
### Color from the design system
|
|
535
549
|
|
|
536
|
-
categorical tells series apart, sequential orders them by one hue for ranked data, focus draws the first series in
|
|
550
|
+
categorical tells series apart, sequential orders them by one hue for ranked data, focus draws the first series in color and the rest in neutral. slot and tone pin a series to a color.
|
|
537
551
|
|
|
538
552
|
Excerpt — not a complete module
|
|
539
553
|
|
|
@@ -552,8 +566,8 @@ Excerpt — not a complete module
|
|
|
552
566
|
```html
|
|
553
567
|
<figure
|
|
554
568
|
slChart
|
|
555
|
-
help="
|
|
556
|
-
title="
|
|
569
|
+
help="Revenue recognized in the month, excluding taxes."
|
|
570
|
+
title="Revenue"
|
|
557
571
|
[data]="monthly"
|
|
558
572
|
[series]="revenue"
|
|
559
573
|
></figure>
|
package/docs/chart.json
CHANGED
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"neutral",
|
|
81
81
|
"accent",
|
|
82
82
|
"secondary",
|
|
83
|
+
"info",
|
|
83
84
|
"success",
|
|
84
85
|
"warning",
|
|
85
86
|
"danger"
|
|
@@ -321,7 +322,7 @@
|
|
|
321
322
|
"part": "legend-marker",
|
|
322
323
|
"element": "span",
|
|
323
324
|
"required": false,
|
|
324
|
-
"purpose": "The series’ mark in its
|
|
325
|
+
"purpose": "The series’ mark in its color and shape: a line, a bar or a dot, dashed when the series is."
|
|
325
326
|
},
|
|
326
327
|
{
|
|
327
328
|
"part": "legend-label",
|
|
@@ -481,7 +482,7 @@
|
|
|
481
482
|
"type": "readonly ChartSeries[]",
|
|
482
483
|
"defaultValue": "[]",
|
|
483
484
|
"appliesTo": "slChart",
|
|
484
|
-
"description": "What is drawn: kind, field, label, and how. Order is legend order and
|
|
485
|
+
"description": "What is drawn: kind, field, label, and how. Order is legend order and color order"
|
|
485
486
|
},
|
|
486
487
|
{
|
|
487
488
|
"name": "x",
|
|
@@ -579,7 +580,7 @@
|
|
|
579
580
|
"type": "string",
|
|
580
581
|
"defaultValue": "—",
|
|
581
582
|
"appliesTo": "slChart",
|
|
582
|
-
"description": "The caption, and the plot’s accessible name. Taken from the native title attribute, which the figure does not keep"
|
|
583
|
+
"description": "The caption, and the plot’s accessible name. Taken from the native title attribute, which the figure does not keep. Without title, the plot is named by the aria-label written on the figure; use it when a surrounding heading already names the chart"
|
|
583
584
|
},
|
|
584
585
|
{
|
|
585
586
|
"name": "description",
|
|
@@ -642,7 +643,7 @@
|
|
|
642
643
|
"type": "boolean",
|
|
643
644
|
"defaultValue": "false",
|
|
644
645
|
"appliesTo": "slChart",
|
|
645
|
-
"description": "A pattern per slot, as a second channel beside
|
|
646
|
+
"description": "A pattern per slot, as a second channel beside color"
|
|
646
647
|
},
|
|
647
648
|
{
|
|
648
649
|
"name": "renderer",
|
|
@@ -913,8 +914,8 @@
|
|
|
913
914
|
"Inside the plot the keyboard follows an adaptation of the APG Grid pattern: Left and Right move along the categories, Up and Down between series, Home and End to the ends, Page keys by a tenth; Enter selects, + − and 0 zoom, Escape clears. The tooltip is aria-hidden, and a polite live region says the point reached — only the last one, so holding an arrow does not queue twelve sentences.",
|
|
914
915
|
"The legend is a toolbar of toggle buttons with a roving tab stop: aria-pressed says whether a series is drawn, Enter hides it, Shift+Enter shows it alone, and the live region confirms the change.",
|
|
915
916
|
"Every chart has a table view with the same numbers in their formats, reachable from the toolbar or the menu; it is the complete reading for anyone the drawing does not serve.",
|
|
916
|
-
"
|
|
917
|
-
"The eight slots of the data scale keep adjacent
|
|
917
|
+
"Color is never the only channel: series differ in stroke and marker shape, texture adds a pattern per slot, and under forced colors the drawing is redrawn in system colors with the legend markers kept by mask.",
|
|
918
|
+
"The eight slots of the data scale keep adjacent colors apart under simulated protanopia and deuteranopia in every scheme, and each clears 3:1 against the surface."
|
|
918
919
|
]
|
|
919
920
|
}
|
|
920
921
|
},
|
|
@@ -948,6 +949,7 @@
|
|
|
948
949
|
"--slotted-chart-label-size",
|
|
949
950
|
"--slotted-chart-line-width",
|
|
950
951
|
"--slotted-chart-marker-size",
|
|
952
|
+
"--slotted-chart-overlay-backdrop-filter",
|
|
951
953
|
"--slotted-chart-plot-block-size",
|
|
952
954
|
"--slotted-chart-plot-block-size-lg",
|
|
953
955
|
"--slotted-chart-plot-block-size-sm",
|
|
@@ -956,6 +958,8 @@
|
|
|
956
958
|
"--slotted-chart-sequential-color",
|
|
957
959
|
"--slotted-chart-skeleton-hole",
|
|
958
960
|
"--slotted-chart-surface",
|
|
961
|
+
"--slotted-chart-table-header-surface",
|
|
962
|
+
"--slotted-chart-table-surface",
|
|
959
963
|
"--slotted-chart-tooltip-surface",
|
|
960
964
|
"--slotted-control-border-color",
|
|
961
965
|
"--slotted-control-font-size-sm",
|
|
@@ -1017,6 +1021,7 @@
|
|
|
1017
1021
|
"--slotted-text-muted",
|
|
1018
1022
|
"--slotted-tone-accent-text",
|
|
1019
1023
|
"--slotted-tone-danger-text",
|
|
1024
|
+
"--slotted-tone-info-text",
|
|
1020
1025
|
"--slotted-tone-secondary-subtle-hover",
|
|
1021
1026
|
"--slotted-tone-secondary-surface",
|
|
1022
1027
|
"--slotted-tone-secondary-text",
|
|
@@ -1037,7 +1042,7 @@
|
|
|
1037
1042
|
{
|
|
1038
1043
|
"id": "line",
|
|
1039
1044
|
"title": "Lines for a trend",
|
|
1040
|
-
"note": "Revenue and cost with a marker on the last point, and the target dashed in the neutral tone so it reads as a reference before its
|
|
1045
|
+
"note": "Revenue and cost with a marker on the last point, and the target dashed in the neutral tone so it reads as a reference before its color does.",
|
|
1041
1046
|
"language": "html",
|
|
1042
1047
|
"source": "<figure slChart title=\"Receita e custo\" [data]=\"monthly\" [series]=\"series\" [x]=\"x\" [y]=\"y\"></figure>\n",
|
|
1043
1048
|
"verdict": "excerpt"
|
|
@@ -1047,7 +1052,7 @@
|
|
|
1047
1052
|
"title": "Areas, stacked and smoothed",
|
|
1048
1053
|
"note": "Three channels stacked with a monotone curve: the wash sits under each line and the tooltip adds the stack’s total.",
|
|
1049
1054
|
"language": "html",
|
|
1050
|
-
"source": "<figure slChart title=\"
|
|
1055
|
+
"source": "<figure slChart title=\"Sessions by channel\" [data]=\"sessions\" [series]=\"stackedAreas\"></figure>\n",
|
|
1051
1056
|
"verdict": "excerpt"
|
|
1052
1057
|
},
|
|
1053
1058
|
{
|
|
@@ -1055,7 +1060,7 @@
|
|
|
1055
1060
|
"title": "Grouped bars",
|
|
1056
1061
|
"note": "Three channels side by side in each month; the band under the pointer lights the whole category, not one bar.",
|
|
1057
1062
|
"language": "html",
|
|
1058
|
-
"source": "<figure slChart title=\"
|
|
1063
|
+
"source": "<figure slChart title=\"Orders by channel\" [data]=\"orders\" [series]=\"channels\"></figure>\n",
|
|
1059
1064
|
"verdict": "excerpt"
|
|
1060
1065
|
},
|
|
1061
1066
|
{
|
|
@@ -1063,7 +1068,7 @@
|
|
|
1063
1068
|
"title": "A ranking reads across",
|
|
1064
1069
|
"note": "Horizontal bars with value labels: long category names get the room a vertical axis cannot give them.",
|
|
1065
1070
|
"language": "html",
|
|
1066
|
-
"source": "<figure\n slChart\n orientation=\"horizontal\"\n title=\"
|
|
1071
|
+
"source": "<figure\n slChart\n orientation=\"horizontal\"\n title=\"Revenue by region\"\n [data]=\"regions\"\n [series]=\"ranking\"\n></figure>\n",
|
|
1067
1072
|
"verdict": "excerpt"
|
|
1068
1073
|
},
|
|
1069
1074
|
{
|
|
@@ -1071,7 +1076,7 @@
|
|
|
1071
1076
|
"title": "Bars stacked into a total",
|
|
1072
1077
|
"note": "Series that share a stack id pile up; the tooltip lists each and closes with the total of the pile.",
|
|
1073
1078
|
"language": "html",
|
|
1074
|
-
"source": "<figure slChart title=\"
|
|
1079
|
+
"source": "<figure slChart title=\"Orders by channel\" [data]=\"orders\" [series]=\"stackedBars\"></figure>\n",
|
|
1075
1080
|
"verdict": "excerpt"
|
|
1076
1081
|
},
|
|
1077
1082
|
{
|
|
@@ -1079,7 +1084,7 @@
|
|
|
1079
1084
|
"title": "Shares of a whole",
|
|
1080
1085
|
"note": "stackMode=\"percent\" draws each month as 100 %, so a channel growing in share reads even when the total falls.",
|
|
1081
1086
|
"language": "html",
|
|
1082
|
-
"source": "<figure\n slChart\n stackMode=\"percent\"\n title=\"
|
|
1087
|
+
"source": "<figure\n slChart\n stackMode=\"percent\"\n title=\"Share by channel\"\n [data]=\"orders\"\n [series]=\"stackedAreas\"\n></figure>\n",
|
|
1083
1088
|
"verdict": "excerpt"
|
|
1084
1089
|
},
|
|
1085
1090
|
{
|
|
@@ -1095,7 +1100,7 @@
|
|
|
1095
1100
|
"title": "Two units, two axes",
|
|
1096
1101
|
"note": "Orders on the start axis and margin in percent on the end one; each axis is named at its own top, so neither needs the legend to be read.",
|
|
1097
1102
|
"language": "html",
|
|
1098
|
-
"source": "<figure\n slChart\n title=\"
|
|
1103
|
+
"source": "<figure\n slChart\n title=\"Orders and margin\"\n [data]=\"monthly\"\n [series]=\"ordersAndMargin\"\n [y]=\"[orders, margin]\"\n></figure>\n",
|
|
1099
1104
|
"verdict": "excerpt"
|
|
1100
1105
|
},
|
|
1101
1106
|
{
|
|
@@ -1103,7 +1108,7 @@
|
|
|
1103
1108
|
"title": "Dates on a time axis",
|
|
1104
1109
|
"note": "Forty days of sessions: ticks fall on real dates, gaps in the calendar stay gaps, and the dates are wall-clock days, not shifted by the reader’s time zone.",
|
|
1105
1110
|
"language": "html",
|
|
1106
|
-
"source": "<figure\n slChart\n title=\"
|
|
1111
|
+
"source": "<figure\n slChart\n title=\"Daily sessions\"\n [data]=\"daily\"\n [series]=\"sessions\"\n [x]=\"{ field: 'day', type: 'time' }\"\n></figure>\n",
|
|
1107
1112
|
"verdict": "excerpt"
|
|
1108
1113
|
},
|
|
1109
1114
|
{
|
|
@@ -1111,7 +1116,7 @@
|
|
|
1111
1116
|
"title": "Growth by orders of magnitude",
|
|
1112
1117
|
"note": "Active users doubling each month on a logarithmic scale: a steady rate is a straight line, and the early months are not flattened into the floor.",
|
|
1113
1118
|
"language": "html",
|
|
1114
|
-
"source": "<figure\n slChart\n title=\"
|
|
1119
|
+
"source": "<figure\n slChart\n title=\"Active users\"\n [data]=\"users\"\n [series]=\"series\"\n [y]=\"{ scale: 'log' }\"\n></figure>\n",
|
|
1115
1120
|
"verdict": "excerpt"
|
|
1116
1121
|
},
|
|
1117
1122
|
{
|
|
@@ -1119,13 +1124,13 @@
|
|
|
1119
1124
|
"title": "Parts of a whole",
|
|
1120
1125
|
"note": "Revenue by region with labels outside the slices; the tooltip adds each slice’s share of the total.",
|
|
1121
1126
|
"language": "html",
|
|
1122
|
-
"source": "<figure\n slChart\n title=\"
|
|
1127
|
+
"source": "<figure\n slChart\n title=\"Revenue by region\"\n [data]=\"regions\"\n [series]=\"pie\"\n [x]=\"{ field: 'region' }\"\n></figure>\n",
|
|
1123
1128
|
"verdict": "excerpt"
|
|
1124
1129
|
},
|
|
1125
1130
|
{
|
|
1126
1131
|
"id": "donut",
|
|
1127
1132
|
"title": "A donut with the total inside",
|
|
1128
|
-
"note": "innerRadius opens the middle and the center holds the total; a slChartCenter template replaces it, here with the resolution rate.",
|
|
1133
|
+
"note": "innerRadius opens the middle and the center holds the total; a slChartCenter template replaces it, here with the resolution rate. slotField and toneField give each slice the slot or tone its record names, so a category keeps the color it has everywhere else; a slice that names none takes the next free slot.",
|
|
1129
1134
|
"language": "html",
|
|
1130
1135
|
"source": "<figure slChart title=\"Tickets por estado\" [data]=\"tickets\" [series]=\"donut\">\n <ng-template slChartCenter let-model>\n <span data-part=\"center-value\">{{ resolved(model) }}</span>\n <span data-part=\"center-label\">resolvidos</span>\n </ng-template>\n</figure>\n",
|
|
1131
1136
|
"verdict": "excerpt"
|
|
@@ -1135,7 +1140,7 @@
|
|
|
1135
1140
|
"title": "Two measures of each record",
|
|
1136
1141
|
"note": "Sixty tickets by effort and impact in two groups; the tooltip follows the point, not the axis, because a value axis has no categories to gather.",
|
|
1137
1142
|
"language": "html",
|
|
1138
|
-
"source": "<figure\n slChart\n recordKey=\"id\"\n title=\"
|
|
1143
|
+
"source": "<figure\n slChart\n recordKey=\"id\"\n title=\"Effort and impact\"\n [data]=\"work\"\n [series]=\"groups\"\n [x]=\"effort\"\n></figure>\n",
|
|
1139
1144
|
"verdict": "excerpt"
|
|
1140
1145
|
},
|
|
1141
1146
|
{
|
|
@@ -1143,7 +1148,7 @@
|
|
|
1143
1148
|
"title": "A third measure as size",
|
|
1144
1149
|
"note": "sizeField scales each dot by the customers affected, by area rather than radius, so twice the customers reads as twice the ink.",
|
|
1145
1150
|
"language": "html",
|
|
1146
|
-
"source": "<figure\n slChart\n recordKey=\"id\"\n title=\"
|
|
1151
|
+
"source": "<figure\n slChart\n recordKey=\"id\"\n title=\"Effort, impact and customers\"\n [data]=\"work\"\n [series]=\"bubbles\"\n></figure>\n",
|
|
1147
1152
|
"verdict": "excerpt"
|
|
1148
1153
|
},
|
|
1149
1154
|
{
|
|
@@ -1159,7 +1164,7 @@
|
|
|
1159
1164
|
"title": "A legend that toggles",
|
|
1160
1165
|
"note": "Click a series to hide it, Shift+click to show it alone; arrows move along the legend. The legend holds one line: narrower than its items, the ones that do not fit wait behind +N.",
|
|
1161
1166
|
"language": "html",
|
|
1162
|
-
"source": "<figure\n slChart\n title=\"
|
|
1167
|
+
"source": "<figure\n slChart\n title=\"Acquisition channels\"\n [data]=\"sessions\"\n [series]=\"channels\"\n [(hidden)]=\"hidden\"\n></figure>\n",
|
|
1163
1168
|
"verdict": "excerpt"
|
|
1164
1169
|
},
|
|
1165
1170
|
{
|
|
@@ -1167,7 +1172,7 @@
|
|
|
1167
1172
|
"title": "Values in the legend",
|
|
1168
1173
|
"note": "Each legend item carries its series’ value at the active point, and the last value when nothing is active — a readout that never covers the drawing.",
|
|
1169
1174
|
"language": "html",
|
|
1170
|
-
"source": "<figure\n slChart\n legendValues\n title=\"
|
|
1175
|
+
"source": "<figure\n slChart\n legendValues\n title=\"Acquisition channels\"\n [data]=\"sessions\"\n [series]=\"channels\"\n></figure>\n",
|
|
1171
1176
|
"verdict": "excerpt"
|
|
1172
1177
|
},
|
|
1173
1178
|
{
|
|
@@ -1199,7 +1204,7 @@
|
|
|
1199
1204
|
"title": "Zooming a long range",
|
|
1200
1205
|
"note": "Drag across the plot, wheel with Ctrl, or press + and − with the plot focused; 0 or the reset control gives the whole range back.",
|
|
1201
1206
|
"language": "html",
|
|
1202
|
-
"source": "<figure\n slChart\n zoomable\n title=\"
|
|
1207
|
+
"source": "<figure\n slChart\n zoomable\n title=\"Daily sessions\"\n [data]=\"daily\"\n [series]=\"sessions\"\n [(zoom)]=\"zoom\"\n></figure>\n",
|
|
1203
1208
|
"verdict": "excerpt"
|
|
1204
1209
|
},
|
|
1205
1210
|
{
|
|
@@ -1207,7 +1212,7 @@
|
|
|
1207
1212
|
"title": "Charts that move together",
|
|
1208
1213
|
"note": "Two charts share one active point through the two-way value: the pointer on either draws the crosshair on both.",
|
|
1209
1214
|
"language": "html",
|
|
1210
|
-
"source": "<figure\n slChart\n title=\"
|
|
1215
|
+
"source": "<figure\n slChart\n title=\"Revenue\"\n [data]=\"monthly\"\n [series]=\"revenue\"\n [(activePoint)]=\"point\"\n></figure>\n<figure slChart title=\"Orders\" [data]=\"monthly\" [series]=\"orders\" [(activePoint)]=\"point\"></figure>\n",
|
|
1211
1216
|
"verdict": "excerpt"
|
|
1212
1217
|
},
|
|
1213
1218
|
{
|
|
@@ -1221,7 +1226,7 @@
|
|
|
1221
1226
|
{
|
|
1222
1227
|
"id": "many-series",
|
|
1223
1228
|
"title": "More series than slots",
|
|
1224
|
-
"note": "Eleven channels over eight
|
|
1229
|
+
"note": "Eleven channels over eight color slots: the first eight take the palette, the rest take the overflow neutral, and the legend says which is which.",
|
|
1225
1230
|
"language": "html",
|
|
1226
1231
|
"source": "<figure\n slChart\n legendOverflow=\"wrap\"\n title=\"Onze canais\"\n [data]=\"sessions\"\n [series]=\"eleven\"\n></figure>\n",
|
|
1227
1232
|
"verdict": "excerpt"
|
|
@@ -1237,7 +1242,7 @@
|
|
|
1237
1242
|
{
|
|
1238
1243
|
"id": "gaps",
|
|
1239
1244
|
"title": "Missing values stay missing",
|
|
1240
|
-
"note": "A null breaks the line on the left; connectNulls bridges it on the right, for a series where the gap is a sampling
|
|
1245
|
+
"note": "A null breaks the line on the left; connectNulls bridges it on the right, for a series where the gap is a sampling artifact rather than a fact.",
|
|
1241
1246
|
"language": "html",
|
|
1242
1247
|
"source": "<figure slChart title=\"Lacunas\" [data]=\"withGaps\" [series]=\"broken\"></figure>\n<figure slChart title=\"Lacunas ligadas\" [data]=\"withGaps\" [series]=\"connected\"></figure>\n",
|
|
1243
1248
|
"verdict": "excerpt"
|
|
@@ -1261,9 +1266,9 @@
|
|
|
1261
1266
|
{
|
|
1262
1267
|
"id": "texture",
|
|
1263
1268
|
"title": "Texture as a second channel",
|
|
1264
|
-
"note": "texture adds a pattern per slot, so a series is told apart in print, in
|
|
1269
|
+
"note": "texture adds a pattern per slot, so a series is told apart in print, in grayscale or by a reader who does not see the difference between two hues.",
|
|
1265
1270
|
"language": "html",
|
|
1266
|
-
"source": "<figure slChart texture title=\"
|
|
1271
|
+
"source": "<figure slChart texture title=\"Orders by channel\" [data]=\"orders\" [series]=\"channels\"></figure>\n",
|
|
1267
1272
|
"verdict": "excerpt"
|
|
1268
1273
|
},
|
|
1269
1274
|
{
|
|
@@ -1271,7 +1276,7 @@
|
|
|
1271
1276
|
"title": "Waiting, in the shape of what is coming",
|
|
1272
1277
|
"note": "The skeleton is the kind being loaded — bars, a line, a ring — over axis lines, in the plot’s own box, with one line of legend: nothing moves when the data arrives.",
|
|
1273
1278
|
"language": "html",
|
|
1274
|
-
"source": "<figure\n slChart\n title=\"
|
|
1279
|
+
"source": "<figure\n slChart\n title=\"Orders by channel\"\n [data]=\"orders()\"\n [loading]=\"pending()\"\n [series]=\"channels\"\n></figure>\n",
|
|
1275
1280
|
"verdict": "excerpt"
|
|
1276
1281
|
},
|
|
1277
1282
|
{
|
|
@@ -1295,7 +1300,7 @@
|
|
|
1295
1300
|
"title": "The data did not arrive",
|
|
1296
1301
|
"note": "error replaces the drawing with a message and the action that asks again; the header and the box stay where they were.",
|
|
1297
1302
|
"language": "html",
|
|
1298
|
-
"source": "<figure\n slChart\n title=\"
|
|
1303
|
+
"source": "<figure\n slChart\n title=\"Conversion\"\n [data]=\"monthly\"\n [error]=\"failed()\"\n [series]=\"conversion\"\n (retry)=\"reload()\"\n></figure>\n",
|
|
1299
1304
|
"verdict": "excerpt"
|
|
1300
1305
|
},
|
|
1301
1306
|
{
|
|
@@ -1303,15 +1308,15 @@
|
|
|
1303
1308
|
"title": "A row of tiles",
|
|
1304
1309
|
"note": "Four cards in one row: with and without a description, loading, a donut, eight series. Every tile is one height and every plot starts on one line.",
|
|
1305
1310
|
"language": "html",
|
|
1306
|
-
"source": "<div slGrid [columns]=\"4\" [gap]=\"4\">\n <figure\n slChart\n size=\"sm\"\n variant=\"card\"\n title=\"
|
|
1311
|
+
"source": "<div slGrid [columns]=\"4\" [gap]=\"4\">\n <figure\n slChart\n size=\"sm\"\n variant=\"card\"\n title=\"Revenue\"\n [data]=\"monthly\"\n [series]=\"revenue\"\n ></figure>\n <figure slChart loading size=\"sm\" variant=\"card\" title=\"Orders\" [series]=\"channels\"></figure>\n</div>\n",
|
|
1307
1312
|
"verdict": "excerpt"
|
|
1308
1313
|
},
|
|
1309
1314
|
{
|
|
1310
1315
|
"id": "card",
|
|
1311
1316
|
"title": "On the page, or as a card",
|
|
1312
|
-
"note": "plain sits on the page’s own surface for a report; card draws its own surface, border and padding, and fills the grid cell it is given.",
|
|
1317
|
+
"note": "plain sits on the page’s own surface for a report; card draws its own surface, border and padding, and fills the grid cell it is given. Inside a section whose heading already names the chart, leave title out and write aria-label: it names the plot.",
|
|
1313
1318
|
"language": "html",
|
|
1314
|
-
"source": "<figure slChart variant=\"plain\" [data]=\"monthly\" [series]=\"revenue\"></figure>\n<figure slChart variant=\"card\" [data]=\"monthly\" [series]=\"revenue\"></figure>\n",
|
|
1319
|
+
"source": "<figure slChart variant=\"plain\" [data]=\"monthly\" [series]=\"revenue\"></figure>\n<figure slChart variant=\"card\" [data]=\"monthly\" [series]=\"revenue\"></figure>\n\n<section slSection>\n <div slSectionHeader>\n <div slSectionTitle><h2 slSectionHeading>Revenue</h2></div>\n </div>\n <div slSectionBody>\n <figure\n slChart\n aria-label=\"Revenue, last 12 months\"\n [data]=\"monthly\"\n [series]=\"revenue\"\n ></figure>\n </div>\n</section>\n",
|
|
1315
1320
|
"verdict": "excerpt"
|
|
1316
1321
|
},
|
|
1317
1322
|
{
|
|
@@ -1332,8 +1337,8 @@
|
|
|
1332
1337
|
},
|
|
1333
1338
|
{
|
|
1334
1339
|
"id": "palette",
|
|
1335
|
-
"title": "
|
|
1336
|
-
"note": "categorical tells series apart, sequential orders them by one hue for ranked data, focus draws the first series in
|
|
1340
|
+
"title": "Color from the design system",
|
|
1341
|
+
"note": "categorical tells series apart, sequential orders them by one hue for ranked data, focus draws the first series in color and the rest in neutral. slot and tone pin a series to a color.",
|
|
1337
1342
|
"language": "html",
|
|
1338
1343
|
"source": "<figure slChart palette=\"categorical\" [data]=\"sessions\" [series]=\"channels\"></figure>\n<figure slChart palette=\"sequential\" [data]=\"regions\" [series]=\"ranking\"></figure>\n<figure slChart palette=\"focus\" [data]=\"sessions\" [series]=\"channels\"></figure>\n",
|
|
1339
1344
|
"verdict": "excerpt"
|
|
@@ -1343,7 +1348,7 @@
|
|
|
1343
1348
|
"title": "A note behind the title",
|
|
1344
1349
|
"note": "help puts an information control beside the title; its note opens on click or Enter, anchored to it, and closes on Escape or outside.",
|
|
1345
1350
|
"language": "html",
|
|
1346
|
-
"source": "<figure\n slChart\n help=\"
|
|
1351
|
+
"source": "<figure\n slChart\n help=\"Revenue recognized in the month, excluding taxes.\"\n title=\"Revenue\"\n [data]=\"monthly\"\n [series]=\"revenue\"\n></figure>\n",
|
|
1347
1352
|
"verdict": "excerpt"
|
|
1348
1353
|
},
|
|
1349
1354
|
{
|