@ids-group-ltd/ids-design-system 0.14.8 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1145 -234
- package/components.md +122 -53
- package/docs/agent/INDEX.md +5 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +7 -4
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +2 -1
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-heatmap-chart.md +2 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +3 -2
- package/docs/agent/charts/ds-scatter-chart.md +2 -1
- package/docs/agent/charts/ds-waterfall-chart.md +2 -2
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-loading-overlay.md +2 -0
- package/docs/agent/feedback/ds-skeleton.md +1 -1
- package/docs/agent/feedback/ds-toast.md +2 -0
- package/docs/agent/forms/ds-autocomplete.md +1 -1
- package/docs/agent/forms/ds-button.md +1 -0
- package/docs/agent/forms/ds-checkbox.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +2 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +1 -1
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-radio-group.md +1 -1
- package/docs/agent/forms/ds-segmented.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-slider.md +1 -1
- package/docs/agent/forms/ds-switch.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/ds-time-picker.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/global-helper-classes.md +4 -4
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +2 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
- package/docs/agent/overlays/ds-definition-term.md +10 -0
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-info-hint.md +29 -0
- package/docs/agent/overlays/ds-menu.md +1 -1
- package/docs/agent/overlays/ds-modal-card.md +1 -1
- package/docs/agent/overlays/ds-modal.md +19 -1
- package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/tables/ds-table-columns.md +2 -0
- package/docs/agent/tables/ds-table.md +4 -3
- package/eslint/deprecated-api.json +889 -0
- package/eslint/index.mjs +394 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +6 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +27 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +169 -37
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +875 -90
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +2183 -1232
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +50 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +22 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs +107 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +5 -15
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +44 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +11 -22
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +51 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +110 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +41 -46
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +183 -31
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +21 -26
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +27 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +106 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +7 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +12 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +140 -26
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +29 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +36 -18
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +17 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +193 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +26 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +20 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +434 -157
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +18 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +323 -68
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +27 -83
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +3 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +79 -21
- package/migrations/0.10.1.json +38 -21
- package/migrations/0.10.2.json +44 -7
- package/migrations/0.10.3.json +7 -5
- package/migrations/0.11.0.json +10 -7
- package/migrations/0.11.1.json +25 -14
- package/migrations/0.11.2.json +3 -3
- package/migrations/0.11.3.json +9 -6
- package/migrations/0.11.4.json +13 -12
- package/migrations/0.12.1.json +41 -14
- package/migrations/0.12.2.json +7 -6
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +11 -11
- package/migrations/0.13.1.json +60 -8
- package/migrations/0.13.2.json +98 -44
- package/migrations/0.13.3.json +46 -16
- package/migrations/0.13.4.json +23 -22
- package/migrations/0.14.0.json +5 -5
- package/migrations/0.14.1.json +5 -5
- package/migrations/0.14.2.json +1 -1
- package/migrations/0.14.4.json +6 -5
- package/migrations/0.14.5.json +13 -7
- package/migrations/0.14.6.json +2 -2
- package/migrations/0.14.8.json +26 -2
- package/migrations/0.15.0.json +999 -0
- package/migrations/0.15.1.json +738 -0
- package/migrations/0.2.0.json +2 -2
- package/migrations/0.3.0.json +43 -6
- package/migrations/0.4.0.json +95 -13
- package/migrations/0.5.0.json +116 -10
- package/migrations/0.5.1.json +97 -11
- package/migrations/0.6.0.json +30 -1
- package/migrations/0.6.1.json +22 -1
- package/migrations/0.6.2.json +8 -4
- package/migrations/0.6.3.json +17 -5
- package/migrations/0.7.0.json +58 -9
- package/migrations/0.7.1.json +62 -8
- package/migrations/0.8.0.json +60 -12
- package/migrations/0.9.0.json +68 -25
- package/migrations/0.9.1.json +1 -1
- package/migrations/README.md +57 -3
- package/package.json +27 -1
- package/schematics/check-overrides/index.cjs +4 -11
- package/schematics/check-overrides/scan.cjs +12 -1
- package/schematics/check-overrides/surface.json +94 -11
- package/schematics/ng-add/index.cjs +7 -1
- package/stylelint/deprecated-tokens.json +2711 -0
- package/stylelint/index.mjs +94 -0
- package/stylelint/since-version.mjs +26 -0
- package/styles/_chart-frame.scss +14 -0
- package/styles/_chart-interactive.scss +26 -1
- package/styles/_chart-motion.scss +50 -17
- package/styles/_chip-row.scss +5 -2
- package/styles/_clear-button.scss +2 -0
- package/styles/_component-base.scss +56 -0
- package/styles/_dismiss-button.scss +16 -0
- package/styles/_dropdown-overlay.scss +19 -0
- package/styles/_focus.scss +4 -1
- package/styles/_link.scss +35 -12
- package/styles/_overlay-motion.scss +4 -6
- package/styles/_pinned.scss +43 -0
- package/styles/_skeleton-shimmer.scss +2 -8
- package/styles/_table-controls.scss +4 -0
- package/styles/_target.scss +40 -0
- package/styles/_text-clip.scss +23 -4
- package/styles/_tokens.scss +3 -1
- package/styles/_typography.scss +2 -0
- package/styles/_visually-hidden.scss +2 -0
- package/styles/ds.scss +0 -1
- package/themes/README.md +60 -7
- package/themes/_semantic.scss +5 -8
- package/themes/dark/_theme.scss +5 -8
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +74 -4
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +87 -7
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +207 -29
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +30 -4
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-definition-term.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +0 -1
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +7 -6
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +22 -8
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +23 -0
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +18 -7
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +14 -3
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +0 -2
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +26 -7
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +52 -10
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +39 -9
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +54 -24
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +9 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +135 -35
- package/types/ids-group-ltd-ids-design-system-core.d.ts +46 -23
- package/types/ids-group-ltd-ids-design-system.d.ts +6 -3
|
@@ -12,6 +12,18 @@ import * as _ids_group_ltd_ids_design_system_components_chart from '@ids-group-l
|
|
|
12
12
|
interface ChartAxisEntry extends ChartTooltipEntry {
|
|
13
13
|
/** Where the reading is drawn, in plot pixels from the top; a category panel orders rows by it. */
|
|
14
14
|
readonly y?: number;
|
|
15
|
+
/** The value axis `y` is measured on. Absent means the first. */
|
|
16
|
+
readonly axis?: ChartAxis;
|
|
17
|
+
}
|
|
18
|
+
/** The reading the value axis answers while a mark is hovered: a guide from the axis at `y` and the
|
|
19
|
+
* axis value there in a pill. */
|
|
20
|
+
interface ChartAxisReadout {
|
|
21
|
+
readonly categoryIndex: number;
|
|
22
|
+
/** In plot pixels from the top, on the axis `axis` names (absent: the first). */
|
|
23
|
+
readonly y: number;
|
|
24
|
+
readonly axis?: ChartAxis;
|
|
25
|
+
/** `'plot'` runs the guide across the plot; `'mark'` stops it at the mark's category. */
|
|
26
|
+
readonly reach?: 'plot' | 'mark';
|
|
15
27
|
}
|
|
16
28
|
/** What a mark hands the container to open its panel: the mark decides the content and anchor, the container ensures a plot never opens two. */
|
|
17
29
|
interface ChartTooltipSource {
|
|
@@ -24,12 +36,26 @@ interface ChartTooltipSource {
|
|
|
24
36
|
/** Whether the mark's own panel is about the category, as `tooltip="axis"` is; one such mark turns
|
|
25
37
|
* the category cursor on under `cursor="auto"`. */
|
|
26
38
|
readonly readsCategory?: Signal<boolean>;
|
|
39
|
+
/** Whether the mark sits in a stack; its own panel hangs over the stack's top, clear of the segments above it. */
|
|
40
|
+
readonly stacked?: Signal<boolean>;
|
|
27
41
|
/** This mark's reading at the cursor's category as an element; a category panel hangs over the highest. Absent falls back to `origin`. */
|
|
28
42
|
readonly axisOrigin?: Signal<Element | null>;
|
|
43
|
+
/** This mark's top reading at the cursor's category in plot pixels from the top, while it draws no
|
|
44
|
+
* element there; the panel and the pin anchor to it as to a marker. */
|
|
45
|
+
readonly axisReadingY?: Signal<number | null>;
|
|
29
46
|
/** What this mark reads at the cursor's category, whatever its own tooltip setting. */
|
|
30
47
|
readonly axisEntries?: Signal<readonly ChartAxisEntry[]>;
|
|
31
48
|
/** The drawn element of each `axisEntries` reading, same order; the keyboard focuses it. */
|
|
32
49
|
readonly axisPointElements?: Signal<readonly (Element | null)[]>;
|
|
50
|
+
/** The reading of the mark answering the pointer or focus, while the category cursor is off. */
|
|
51
|
+
readonly axisReadout?: Signal<ChartAxisReadout | null>;
|
|
52
|
+
/** Every reading this mark draws, per category; a dragged range sums them. */
|
|
53
|
+
readonly valuesByCategory?: Signal<readonly (readonly number[])[]>;
|
|
54
|
+
}
|
|
55
|
+
/** The categories a drag selected, both ends included. */
|
|
56
|
+
interface ChartCategoryRange {
|
|
57
|
+
readonly from: number;
|
|
58
|
+
readonly to: number;
|
|
33
59
|
}
|
|
34
60
|
/** The drawable rectangle inside `ds-chart`, in CSS pixels; one `viewBox` user unit is one pixel. */
|
|
35
61
|
interface ChartPlot {
|
|
@@ -66,6 +92,8 @@ interface ChartScales {
|
|
|
66
92
|
readonly index: number;
|
|
67
93
|
readonly event: PointerEvent;
|
|
68
94
|
} | null>;
|
|
95
|
+
/** The categories a drag selected; marks outside it fade. Absent or `null` means none. */
|
|
96
|
+
readonly selectedRange?: Signal<ChartCategoryRange | null>;
|
|
69
97
|
/** How long a resting pointer waits before a mark answers it. Absent means at once. */
|
|
70
98
|
readonly hoverDelayMs?: Signal<number>;
|
|
71
99
|
/** The band over the active category. `null` while `cursor` is off or nothing is active. */
|
|
@@ -77,8 +105,9 @@ interface ChartScales {
|
|
|
77
105
|
} | null>;
|
|
78
106
|
setActiveIndex(index: number): void;
|
|
79
107
|
/** Contributes values to the shared domain under a caller-owned id; the same id replaces its earlier report.
|
|
80
|
-
* Call from an `effect`: required inputs are unreadable in the constructor.
|
|
81
|
-
|
|
108
|
+
* Call from an `effect`: required inputs are unreadable in the constructor. A `hidden` report
|
|
109
|
+
* holds the axis only while `rescaleOnHide` is off. */
|
|
110
|
+
reportDomain(id: string, values: readonly number[], axis?: ChartAxis, hidden?: boolean): void;
|
|
82
111
|
/** Withdraws a contribution. */
|
|
83
112
|
releaseDomain(id: string): void;
|
|
84
113
|
/** Offers a panel to open while this mark is active; the same id replaces the offer. */
|
|
@@ -87,6 +116,8 @@ interface ChartScales {
|
|
|
87
116
|
}
|
|
88
117
|
declare const CHART_SCALES: InjectionToken<ChartScales>;
|
|
89
118
|
|
|
119
|
+
/** Width of the value-axis label gutter a chart draws when none is set. @internal */
|
|
120
|
+
declare const CHART_DEFAULT_AXIS_GUTTER = 46;
|
|
90
121
|
declare const CHART_DEFAULT_VALUE_SPACE = 20;
|
|
91
122
|
/** The viewBox's height, equal to the `<svg>`'s rendered height in pixels.
|
|
92
123
|
*
|
|
@@ -156,9 +187,13 @@ interface ChartStackOffset {
|
|
|
156
187
|
}
|
|
157
188
|
|
|
158
189
|
declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
190
|
+
protected readonly leaveMark: typeof leaveMark;
|
|
159
191
|
protected readonly renderReady: Signal<boolean>;
|
|
160
192
|
/** One band per category; every projected mark is positioned against them. */
|
|
161
193
|
readonly categories: _angular_core.InputSignal<readonly string[]>;
|
|
194
|
+
/** How many columns the loading skeleton draws before the categories are known. */
|
|
195
|
+
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
196
|
+
protected readonly skeletonMarks: Signal<number>;
|
|
162
197
|
/** How many value-axis ticks to aim for; ticks snap to a round step, so the count may differ by one. */
|
|
163
198
|
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
164
199
|
/** Pins the floor of the value axis. It only opens the axis further; a floor above the data is ignored. */
|
|
@@ -171,6 +206,9 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
171
206
|
* `'none'`. */
|
|
172
207
|
readonly cursor: _angular_core.InputSignal<"none" | "category" | "auto">;
|
|
173
208
|
readonly pinOnClickResolved: Signal<boolean>;
|
|
209
|
+
/** Whether hiding a series re-scales the value axes to what is left. Off holds them where they
|
|
210
|
+
* stand with every series shown. */
|
|
211
|
+
readonly rescaleOnHide: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
174
212
|
/** Pins the ceiling of the SECOND value axis, the way `max` pins the first. */
|
|
175
213
|
readonly maxSecondary: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
176
214
|
/** Plot height in CSS pixels, axis labels and headroom excluded; fixed across card widths. */
|
|
@@ -189,6 +227,13 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
189
227
|
readonly axisLabel: _angular_core.InputSignal<string | null>;
|
|
190
228
|
/** `axisLabel` for the second axis. */
|
|
191
229
|
readonly secondaryAxisLabel: _angular_core.InputSignal<string | null>;
|
|
230
|
+
/** Lets a press dragged across categories select them: a band over the range, the sum and mean of
|
|
231
|
+
* every reading in it, and the marks outside it faded. Escape or a press outside clears it; a
|
|
232
|
+
* press released in its own category still pins. Off by default. */
|
|
233
|
+
readonly selectRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
234
|
+
/** Answers the pointer on the axes: the category label in bold, a guide from the value axis and
|
|
235
|
+
* the value there in a pill on the axis. On by default. */
|
|
236
|
+
readonly showAxisReadout: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
192
237
|
protected readonly tooltipSwatchesResolved: Signal<boolean | "auto">;
|
|
193
238
|
readonly hoverDelayMs: Signal<number>;
|
|
194
239
|
private readonly host;
|
|
@@ -199,9 +244,15 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
199
244
|
/** True under SSR, which draws at the fallback width. */
|
|
200
245
|
readonly measured: Signal<boolean>;
|
|
201
246
|
protected readonly viewWidth: Signal<number>;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
|
|
247
|
+
/** The geometry a resize redraws; marks hold still while it changes. A category coming or going is
|
|
248
|
+
* not part of it: the marks glide sideways and a line morphs to its new point count. */
|
|
249
|
+
private readonly layout;
|
|
250
|
+
private readonly settledLayout;
|
|
251
|
+
/** Whether the marks may animate: the correction after measuring and a resize must not, or the plot
|
|
252
|
+
* drags behind the pointer. Derived from the layout, so the hold lands in the same render as the new
|
|
253
|
+
* geometry. Two frames, because after one the corrected geometry is unstyled and `transitionrun`
|
|
254
|
+
* fires on `x` and `width`. */
|
|
255
|
+
protected readonly settled: Signal<boolean>;
|
|
205
256
|
constructor();
|
|
206
257
|
private widestLabel;
|
|
207
258
|
/** Two plots stacked on a shared category axis. */
|
|
@@ -225,7 +276,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
225
276
|
readonly plot: Signal<ChartPlot>;
|
|
226
277
|
readonly secondaryPlot: Signal<ChartPlot>;
|
|
227
278
|
private readonly reportedDomains;
|
|
228
|
-
reportDomain(id: string, values: readonly number[], axis?: ChartAxis): void;
|
|
279
|
+
reportDomain(id: string, values: readonly number[], axis?: ChartAxis, hidden?: boolean): void;
|
|
229
280
|
private valuesOn;
|
|
230
281
|
releaseDomain(id: string): void;
|
|
231
282
|
/** A template that replaces the panel's body. */
|
|
@@ -249,6 +300,10 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
249
300
|
private readonly categoryContext;
|
|
250
301
|
protected readonly tooltipOrigin: Signal<_ids_group_ltd_ids_design_system_components_chart_tooltip.ChartTooltipOrigin | null>;
|
|
251
302
|
private readonly categoryOrigin;
|
|
303
|
+
/** The highest reading a mark reports without an element; the cursor band shrinks to a marker's
|
|
304
|
+
* box there, so the panel and the pin anchor to it as to a marker. */
|
|
305
|
+
protected readonly readingY: Signal<number | null>;
|
|
306
|
+
private readingAnchorTop;
|
|
252
307
|
protected readonly tooltipPinned: Signal<boolean>;
|
|
253
308
|
/** Compared by value: a mark that reports and reads `yPosition()` in one effect would otherwise loop forever. */
|
|
254
309
|
protected readonly domain: Signal<_ids_group_ltd_ids_design_system_components.NiceDomain>;
|
|
@@ -263,7 +318,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
263
318
|
/** Second gridlines only where the scales do not share rows; an aligned axis would double every stroke. */
|
|
264
319
|
protected readonly showSecondaryGridlines: Signal<boolean>;
|
|
265
320
|
protected readonly secondaryLabelX: Signal<number>;
|
|
266
|
-
protected readonly secondaryLabelAnchor: Signal<"
|
|
321
|
+
protected readonly secondaryLabelAnchor: Signal<"start" | "end">;
|
|
267
322
|
protected readonly secondaryPlotBottom: Signal<number>;
|
|
268
323
|
/** No tint on a single-scale plot. */
|
|
269
324
|
protected readonly axisLabelFill: Signal<string | null>;
|
|
@@ -295,10 +350,15 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
295
350
|
private readonly hoveredCategory;
|
|
296
351
|
/** Under the panel: it opens over the tallest reading, so the disc sits at that reading's head -
|
|
297
352
|
* inside a column, below a marker, and over a column too short to hold it. */
|
|
298
|
-
protected readonly bandPinY:
|
|
353
|
+
protected readonly bandPinY: _angular_core.WritableSignal<number>;
|
|
354
|
+
private stackTop;
|
|
355
|
+
private measureBandPinY;
|
|
299
356
|
/** How far a held pin sits above the panel's anchor; the panel rises by as much to stay over it. */
|
|
300
357
|
private readonly pinRise;
|
|
301
358
|
protected readonly tooltipGap: Signal<number>;
|
|
359
|
+
protected readonly pinnedCategories: Signal<number[]>;
|
|
360
|
+
private readonly lineSeries;
|
|
361
|
+
protected readonly pinnedLine: Signal<boolean>;
|
|
302
362
|
protected readonly bandPins: Signal<boolean>;
|
|
303
363
|
readonly cursorPointer: Signal<{
|
|
304
364
|
x: number;
|
|
@@ -310,15 +370,49 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
310
370
|
releaseCursor(): void;
|
|
311
371
|
private readonly canvasElement;
|
|
312
372
|
private canvasRect;
|
|
373
|
+
private readonly forgetCanvasRect;
|
|
374
|
+
private viewXOf;
|
|
313
375
|
private plotPointer;
|
|
314
376
|
/** Listens only when a category cursor is drawn, outside the zone. */
|
|
315
377
|
private listenForCursor;
|
|
378
|
+
private readonly range;
|
|
379
|
+
/** The categories a drag selected, both ends included; `null` when none are. */
|
|
380
|
+
readonly selectedRange: Signal<ChartCategoryRange | null>;
|
|
381
|
+
private listenForRange;
|
|
382
|
+
private readonly rangeTotal;
|
|
383
|
+
private readonly rangeTextWidth;
|
|
384
|
+
protected readonly rangeBand: Signal<{
|
|
385
|
+
x: number;
|
|
386
|
+
width: number;
|
|
387
|
+
top: number;
|
|
388
|
+
height: number;
|
|
389
|
+
label: string;
|
|
390
|
+
pillWidth: number;
|
|
391
|
+
pillX: number;
|
|
392
|
+
pillY: number;
|
|
393
|
+
} | null>;
|
|
394
|
+
/** Under the category cursor the highest reading at the category, or the one the keyboard picked;
|
|
395
|
+
* otherwise the reading of the mark answering the pointer or focus. */
|
|
396
|
+
private readonly activeReadout;
|
|
397
|
+
private readonly readoutTextWidth;
|
|
398
|
+
/** A guide from the value axis at the active reading, and the axis value there in a pill on the axis. */
|
|
399
|
+
protected readonly shownReadout: Signal<{
|
|
400
|
+
categoryIndex: number;
|
|
401
|
+
y: number;
|
|
402
|
+
label: string;
|
|
403
|
+
x1: number;
|
|
404
|
+
x2: number;
|
|
405
|
+
pillWidth: number;
|
|
406
|
+
pillX: number;
|
|
407
|
+
} | null>;
|
|
408
|
+
protected readonly hotCategory: Signal<number>;
|
|
316
409
|
private readonly bandElement;
|
|
317
410
|
readonly cursorOrigin: Signal<Element | null>;
|
|
318
411
|
protected readonly keyboardStops: Signal<boolean>;
|
|
319
412
|
private readonly roving;
|
|
320
413
|
private refocusStop;
|
|
321
414
|
readonly focusedCategory: Signal<number>;
|
|
415
|
+
protected readonly focusedStopX: Signal<number>;
|
|
322
416
|
protected readonly categoryStops: Signal<{
|
|
323
417
|
index: number;
|
|
324
418
|
category: string;
|
|
@@ -338,6 +432,10 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
338
432
|
private readingsTopDown;
|
|
339
433
|
protected onChartKey(event: KeyboardEvent): void;
|
|
340
434
|
protected onStopKey(event: KeyboardEvent): void;
|
|
435
|
+
private readonly extendRangeFromKeys;
|
|
436
|
+
private listenForRangeKeys;
|
|
437
|
+
private extendRange;
|
|
438
|
+
private markInCategory;
|
|
341
439
|
setActiveIndex(index: number): void;
|
|
342
440
|
private clampIndex;
|
|
343
441
|
protected readonly plotRight: Signal<number>;
|
|
@@ -365,13 +463,14 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
365
463
|
x: number;
|
|
366
464
|
text: string;
|
|
367
465
|
index: number;
|
|
466
|
+
key: string;
|
|
368
467
|
}[]>;
|
|
369
468
|
protected readonly reachesBelowZero: Signal<boolean>;
|
|
370
469
|
/** Read off `categories` alone: the marks are projected into the branch this decides, so waiting for a report would deadlock. */
|
|
371
470
|
protected readonly isEmpty: Signal<boolean>;
|
|
372
471
|
protected readonly accessibleName: Signal<string>;
|
|
373
472
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartComponent, never>;
|
|
374
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComponent, "ds-chart", ["dsChart"], { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "cursor": { "alias": "cursor"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "plotHeight": { "alias": "plotHeight"; "required": false; "isSignal": true; }; "axisGutter": { "alias": "axisGutter"; "required": false; "isSignal": true; }; "valueSpace": { "alias": "valueSpace"; "required": false; "isSignal": true; }; "secondaryAxisMode": { "alias": "secondaryAxisMode"; "required": false; "isSignal": true; }; "axisColor": { "alias": "axisColor"; "required": false; "isSignal": true; }; "secondaryAxisColor": { "alias": "secondaryAxisColor"; "required": false; "isSignal": true; }; "axisLabel": { "alias": "axisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "tooltipExtraGap": { "alias": "tooltipExtraGap"; "required": false; "isSignal": true; }; }, {},
|
|
473
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComponent, "ds-chart", ["dsChart"], { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "cursor": { "alias": "cursor"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "plotHeight": { "alias": "plotHeight"; "required": false; "isSignal": true; }; "axisGutter": { "alias": "axisGutter"; "required": false; "isSignal": true; }; "valueSpace": { "alias": "valueSpace"; "required": false; "isSignal": true; }; "secondaryAxisMode": { "alias": "secondaryAxisMode"; "required": false; "isSignal": true; }; "axisColor": { "alias": "axisColor"; "required": false; "isSignal": true; }; "secondaryAxisColor": { "alias": "secondaryAxisColor"; "required": false; "isSignal": true; }; "axisLabel": { "alias": "axisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "selectRange": { "alias": "selectRange"; "required": false; "isSignal": true; }; "showAxisReadout": { "alias": "showAxisReadout"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "tooltipExtraGap": { "alias": "tooltipExtraGap"; "required": false; "isSignal": true; }; }, {}, ["lineSeries"], ["[dsReferenceLine]", "*", "[dsReferenceLabel], [dsSeriesAnnotation]"], true, never>;
|
|
375
474
|
}
|
|
376
475
|
|
|
377
476
|
interface ColumnSeriesPoint {
|
|
@@ -415,7 +514,7 @@ declare class ColumnSeriesComponent implements OnDestroy {
|
|
|
415
514
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
416
515
|
/** Where the tooltip is pinned: `'mark'` is the column, `'cell'` the full-height category cell (panel at the plot top). */
|
|
417
516
|
readonly tooltipAnchor: _angular_core.InputSignal<"mark" | "cell">;
|
|
418
|
-
/** Milliseconds the panel survives the pointer leaving the mark. */
|
|
517
|
+
/** Milliseconds the panel survives the pointer leaving the mark within the chart. */
|
|
419
518
|
readonly tooltipLingerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
420
519
|
/** Formats every value this series prints: `'tick'` for an axis label, `'tooltip'` for a value in full. */
|
|
421
520
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat>;
|
|
@@ -441,9 +540,17 @@ declare class ColumnSeriesComponent implements OnDestroy {
|
|
|
441
540
|
readonly seriesLabel: _angular_core.InputSignal<string | null>;
|
|
442
541
|
/** Identifies this series to the legend, so hovering a legend item can single it out. */
|
|
443
542
|
readonly seriesKey: _angular_core.InputSignal<string | null>;
|
|
444
|
-
/** The series the reader is pointing at in the legend.
|
|
543
|
+
/** The series the reader is pointing at in the legend. It brightens; under `dimOthers` every other
|
|
544
|
+
* series fades instead, as the other columns do when one is hovered. */
|
|
445
545
|
readonly highlighted: _angular_core.InputSignal<string | null>;
|
|
446
546
|
protected readonly dimmedBySeries: _angular_core.Signal<boolean>;
|
|
547
|
+
protected readonly spotlit: _angular_core.Signal<boolean>;
|
|
548
|
+
/** Sinks every column to the baseline; the value axis follows the chart's `rescaleOnHide`. Set it
|
|
549
|
+
* rather than removing the series to animate a legend hiding it. */
|
|
550
|
+
readonly hidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
551
|
+
/** Reads the columns as a running total, as a waterfall's are: the axis guide stops at the hovered
|
|
552
|
+
* column, and under `dimOthers` every column after it fades. */
|
|
553
|
+
readonly runningTotal: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
447
554
|
/** The clicked datum. Fires on click and on Enter or Space, whatever `interactive` says. */
|
|
448
555
|
readonly pointClicked: _angular_core.OutputEmitterRef<ColumnSeriesPoint>;
|
|
449
556
|
private readonly seriesId;
|
|
@@ -452,8 +559,11 @@ declare class ColumnSeriesComponent implements OnDestroy {
|
|
|
452
559
|
protected readonly hatchId: string;
|
|
453
560
|
/** Where each mark spans, which the axis has to hold: a stacked segment's top is the running total. */
|
|
454
561
|
private readonly spans;
|
|
562
|
+
private spansOf;
|
|
455
563
|
constructor();
|
|
456
564
|
ngOnDestroy(): void;
|
|
565
|
+
private placedX;
|
|
566
|
+
private glideReordered;
|
|
457
567
|
readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
458
568
|
private readonly barElements;
|
|
459
569
|
/** One series' slot inside a category's band: the whole band, or a share per series when grouped. The pointer box is sized from it. */
|
|
@@ -507,11 +617,30 @@ declare class ColumnSeriesComponent implements OnDestroy {
|
|
|
507
617
|
}): string;
|
|
508
618
|
/** This series' reading at the cursor's category, filled whatever `tooltip` says; feeds only the container's category panel. */
|
|
509
619
|
readonly axisEntries: _angular_core.Signal<readonly ChartAxisEntry[]>;
|
|
620
|
+
protected readonly axisReadout: _angular_core.Signal<ChartAxisReadout | null>;
|
|
621
|
+
protected isLater(index: number): boolean;
|
|
622
|
+
protected isOutsideRange(index: number): boolean;
|
|
623
|
+
protected readonly focusedMark: _angular_core.Signal<{
|
|
624
|
+
key: string;
|
|
625
|
+
point: ColumnSeriesPoint;
|
|
626
|
+
x: number;
|
|
627
|
+
tip: number;
|
|
628
|
+
below: boolean;
|
|
629
|
+
baseline: number;
|
|
630
|
+
top: number;
|
|
631
|
+
height: number;
|
|
632
|
+
labelY: number;
|
|
633
|
+
pinY: number;
|
|
634
|
+
origin: string;
|
|
635
|
+
formattedValue: string;
|
|
636
|
+
color: string;
|
|
637
|
+
hatched: boolean;
|
|
638
|
+
}>;
|
|
510
639
|
readonly axisPointElements: _angular_core.Signal<readonly (Element | null)[]>;
|
|
511
640
|
private shareDetail;
|
|
512
641
|
readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
513
642
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnSeriesComponent, never>;
|
|
514
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnSeriesComponent, "g[dsColumnSeries]", ["dsColumnSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "columnWidthRatio": { "alias": "columnWidthRatio"; "required": false; "isSignal": true; }; "slot": { "alias": "slot"; "required": false; "isSignal": true; }; "slotCount": { "alias": "slotCount"; "required": false; "isSignal": true; }; "offsets": { "alias": "offsets"; "required": false; "isSignal": true; }; "soleSeries": { "alias": "soleSeries"; "required": false; "isSignal": true; }; "axis": { "alias": "axis"; "required": false; "isSignal": true; }; "seriesColor": { "alias": "seriesColor"; "required": false; "isSignal": true; }; "seriesFill": { "alias": "seriesFill"; "required": false; "isSignal": true; }; "seriesLabel": { "alias": "seriesLabel"; "required": false; "isSignal": true; }; "seriesKey": { "alias": "seriesKey"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
643
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnSeriesComponent, "g[dsColumnSeries]", ["dsColumnSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "columnWidthRatio": { "alias": "columnWidthRatio"; "required": false; "isSignal": true; }; "slot": { "alias": "slot"; "required": false; "isSignal": true; }; "slotCount": { "alias": "slotCount"; "required": false; "isSignal": true; }; "offsets": { "alias": "offsets"; "required": false; "isSignal": true; }; "soleSeries": { "alias": "soleSeries"; "required": false; "isSignal": true; }; "axis": { "alias": "axis"; "required": false; "isSignal": true; }; "seriesColor": { "alias": "seriesColor"; "required": false; "isSignal": true; }; "seriesFill": { "alias": "seriesFill"; "required": false; "isSignal": true; }; "seriesLabel": { "alias": "seriesLabel"; "required": false; "isSignal": true; }; "seriesKey": { "alias": "seriesKey"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "runningTotal": { "alias": "runningTotal"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
515
644
|
}
|
|
516
645
|
|
|
517
646
|
interface LineSeriesData {
|
|
@@ -529,6 +658,9 @@ interface LineSeriesData {
|
|
|
529
658
|
lower?: readonly (number | null)[];
|
|
530
659
|
/** Any CSS colour. Unset takes the categorical palette slot for the series' position. */
|
|
531
660
|
color?: string;
|
|
661
|
+
/** Erases the line back along itself and leaves the value axis to the other series; set it rather
|
|
662
|
+
* than removing the series to animate a legend hiding it. */
|
|
663
|
+
hidden?: boolean;
|
|
532
664
|
}
|
|
533
665
|
/**
|
|
534
666
|
* One line per series, drawn against the scales `ds-chart` supplies, on either value axis.
|
|
@@ -552,10 +684,16 @@ declare class LineSeriesComponent implements OnDestroy {
|
|
|
552
684
|
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
553
685
|
readonly pinOnClickResolved: _angular_core.Signal<boolean>;
|
|
554
686
|
protected readonly pins: _angular_core.Signal<boolean>;
|
|
555
|
-
/** Fades every series but the one under the pointer
|
|
687
|
+
/** Fades every series but the one under the pointer or singled out by `highlighted`. Off by default:
|
|
688
|
+
* it costs separation between the rest. */
|
|
556
689
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
557
|
-
/** The series to single out
|
|
690
|
+
/** The series to single out, as hovering one of its markers does: it draws bold, and under
|
|
691
|
+
* `dimOthers` the others fade. */
|
|
558
692
|
readonly highlighted: _angular_core.InputSignal<string | null>;
|
|
693
|
+
/** On the hovered reading, thickens the stretches from the reading before it and to the reading
|
|
694
|
+
* after it, each in its own rising or falling colour (`--ds-chart-positive-color`,
|
|
695
|
+
* `--ds-chart-negative-color`) and with its own change in percent. With several series it follows the one singled out: hovered, focused or highlighted. */
|
|
696
|
+
readonly showChange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
559
697
|
/** A dash pattern per series, in series order. A series past the end, or given `''`, draws solid. */
|
|
560
698
|
readonly patterns: _angular_core.InputSignal<readonly string[]>;
|
|
561
699
|
/** Fills each area from the series below it rather than from the baseline (stacked plots). */
|
|
@@ -573,7 +711,7 @@ declare class LineSeriesComponent implements OnDestroy {
|
|
|
573
711
|
readonly tooltip: _angular_core.InputSignal<ChartTooltipTrigger>;
|
|
574
712
|
/** Where an `'axis'` panel hangs: `'reading'` over the highest reading in the category; `'pointer'` follows the cursor. */
|
|
575
713
|
readonly tooltipAnchor: _angular_core.InputSignal<"reading" | "pointer">;
|
|
576
|
-
/** Milliseconds the panel survives the pointer leaving the marker. */
|
|
714
|
+
/** Milliseconds the panel survives the pointer leaving the marker within the chart. */
|
|
577
715
|
readonly tooltipLingerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
578
716
|
/** Formats every value this series prints: `'tick'` for an axis label, `'tooltip'` for a value in full. */
|
|
579
717
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat>;
|
|
@@ -588,6 +726,7 @@ declare class LineSeriesComponent implements OnDestroy {
|
|
|
588
726
|
constructor();
|
|
589
727
|
ngOnDestroy(): void;
|
|
590
728
|
readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
729
|
+
private reportIdOf;
|
|
591
730
|
private valuesOn;
|
|
592
731
|
/** A `null` past the end is a missing reading. */
|
|
593
732
|
private readingsOf;
|
|
@@ -599,6 +738,7 @@ declare class LineSeriesComponent implements OnDestroy {
|
|
|
599
738
|
areaPaths: readonly string[];
|
|
600
739
|
markers: {
|
|
601
740
|
key: string;
|
|
741
|
+
categoryKey: string;
|
|
602
742
|
markIndex: number;
|
|
603
743
|
x: number;
|
|
604
744
|
y: number;
|
|
@@ -609,8 +749,10 @@ declare class LineSeriesComponent implements OnDestroy {
|
|
|
609
749
|
seriesId: string;
|
|
610
750
|
categoryIndex: number;
|
|
611
751
|
color: string;
|
|
752
|
+
hidden: boolean;
|
|
612
753
|
}[];
|
|
613
754
|
}[]>;
|
|
755
|
+
private readonly visibleCount;
|
|
614
756
|
private areaPathsFor;
|
|
615
757
|
private readonly allMarkers;
|
|
616
758
|
protected seriesStagger(index: number): string;
|
|
@@ -620,24 +762,56 @@ declare class LineSeriesComponent implements OnDestroy {
|
|
|
620
762
|
protected isTabStop(seriesId: string, markIndex: number): boolean;
|
|
621
763
|
/** The series a marker holds focus on; narrows an `'axis'` panel to that reading. */
|
|
622
764
|
private readonly focusedSeries;
|
|
623
|
-
/** Active when its own marker is hovered or
|
|
765
|
+
/** Active when its own marker is hovered, or its category is active while the category cursor is
|
|
766
|
+
* off; under the cursor a travelling marker answers the category instead. */
|
|
624
767
|
protected isActiveMarker(marker: {
|
|
625
768
|
markIndex: number;
|
|
626
769
|
categoryIndex: number;
|
|
627
770
|
}): boolean;
|
|
628
|
-
protected
|
|
771
|
+
protected isOutsideRange(categoryIndex: number): boolean;
|
|
772
|
+
private readonly host;
|
|
773
|
+
private readonly zone;
|
|
774
|
+
private readonly travel;
|
|
775
|
+
private moveTravelMarkers;
|
|
776
|
+
private drawnPoints;
|
|
777
|
+
private drawnKeys;
|
|
778
|
+
private drawnBaselines;
|
|
779
|
+
private stopMorph;
|
|
780
|
+
private morphing;
|
|
781
|
+
private morphOnCategoryChange;
|
|
782
|
+
private baselineOf;
|
|
783
|
+
private readonly hoveredSeries;
|
|
784
|
+
/** One rule for the legend and the markers: the series either singles out draws bold, and under
|
|
785
|
+
* `dimOthers` the others fade. */
|
|
786
|
+
private readonly spotlight;
|
|
787
|
+
protected isSpotlit(seriesId: string): boolean;
|
|
788
|
+
private readonly locale;
|
|
789
|
+
protected readonly changes: _angular_core.Signal<{
|
|
629
790
|
key: string;
|
|
630
|
-
|
|
791
|
+
path: string;
|
|
792
|
+
rising: boolean;
|
|
793
|
+
label: string;
|
|
631
794
|
x: number;
|
|
632
795
|
y: number;
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
796
|
+
}[]>;
|
|
797
|
+
protected readonly pinnedMarkers: _angular_core.Signal<readonly {
|
|
798
|
+
index: number;
|
|
799
|
+
value: {
|
|
800
|
+
key: string;
|
|
801
|
+
categoryKey: string;
|
|
802
|
+
markIndex: number;
|
|
803
|
+
x: number;
|
|
804
|
+
y: number;
|
|
805
|
+
value: number;
|
|
806
|
+
category: string;
|
|
807
|
+
formattedValue: string;
|
|
808
|
+
seriesLabel: string;
|
|
809
|
+
seriesId: string;
|
|
810
|
+
categoryIndex: number;
|
|
811
|
+
color: string;
|
|
812
|
+
hidden: boolean;
|
|
813
|
+
};
|
|
814
|
+
}[]>;
|
|
641
815
|
protected readonly pinLift: number;
|
|
642
816
|
protected onMarkerOver(event: PointerEvent): void;
|
|
643
817
|
protected onMarkerOut(event: PointerEvent): void;
|
|
@@ -657,13 +831,17 @@ declare class LineSeriesComponent implements OnDestroy {
|
|
|
657
831
|
readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
658
832
|
private readonly markerElements;
|
|
659
833
|
readonly axisPointElements: _angular_core.Signal<readonly (Element | null)[]>;
|
|
834
|
+
private readonly topReading;
|
|
660
835
|
/** The topmost reading at the active category, as an element; the cursor band spans the plot and would open an `'axis'` panel at the top. */
|
|
661
836
|
private readonly topReadingElement;
|
|
837
|
+
private readonly topReadingY;
|
|
838
|
+
private readonly axisReadout;
|
|
839
|
+
private readonly valuesByCategory;
|
|
662
840
|
readonly tooltipOrigin: _angular_core.Signal<ChartTooltipOrigin | null>;
|
|
663
841
|
/** Every series' reading at the active category; a series with none contributes no row. */
|
|
664
842
|
private readonly axisTooltipContext;
|
|
665
843
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineSeriesComponent, never>;
|
|
666
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineSeriesComponent, "g[dsLineSeries]", ["dsLineSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
844
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineSeriesComponent, "g[dsLineSeries]", ["dsLineSeries"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "showChange": { "alias": "showChange"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
667
845
|
}
|
|
668
846
|
|
|
669
847
|
/**
|
|
@@ -723,5 +901,5 @@ declare class SeriesAnnotationComponent {
|
|
|
723
901
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SeriesAnnotationComponent, "g[dsSeriesAnnotation]", never, { "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
724
902
|
}
|
|
725
903
|
|
|
726
|
-
export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartComponent, ColumnSeriesComponent, LineSeriesComponent, ReferenceLabelComponent, ReferenceLineComponent, SeriesAnnotationComponent, annotationMarks, chartViewHeight, stackOffsets };
|
|
727
|
-
export type { ChartAnnotation, ChartAnnotationMark, ChartPlot, ChartScales, ChartStackOffset, ColumnSeriesPoint, LineSeriesData };
|
|
904
|
+
export { CHART_DEFAULT_AXIS_GUTTER, CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartComponent, ColumnSeriesComponent, LineSeriesComponent, ReferenceLabelComponent, ReferenceLineComponent, SeriesAnnotationComponent, annotationMarks, chartViewHeight, stackOffsets };
|
|
905
|
+
export type { ChartAnnotation, ChartAnnotationMark, ChartCategoryRange, ChartPlot, ChartScales, ChartStackOffset, ColumnSeriesPoint, LineSeriesData };
|
|
@@ -30,6 +30,8 @@ declare class CheckboxComponent extends DsBooleanControlValueAccessor {
|
|
|
30
30
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
31
31
|
private readonly fieldMessage;
|
|
32
32
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
33
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
34
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
33
35
|
protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
|
|
34
36
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
35
37
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
@@ -47,6 +47,8 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
|
|
|
47
47
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
48
48
|
private readonly fieldMessage;
|
|
49
49
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
50
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
51
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
50
52
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
51
53
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
52
54
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
@@ -56,6 +56,8 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
56
56
|
readonly thresholds: _angular_core.InputSignal<readonly ChartThreshold[]>;
|
|
57
57
|
/** Prints each column's value above the column. */
|
|
58
58
|
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
/** How many columns the loading skeleton draws before the data is known. */
|
|
60
|
+
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
59
61
|
/** How many value-axis ticks to aim for; ticks snap to a round step. */
|
|
60
62
|
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
61
63
|
/** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,
|
|
@@ -75,13 +77,29 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
75
77
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
76
78
|
/** Whether a hovered or focused column opens a tooltip. */
|
|
77
79
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
80
|
+
/** Ids of the series the legend has switched off; their columns sink to the baseline. */
|
|
81
|
+
readonly hiddenSeries: _angular_core.ModelSignal<readonly string[]>;
|
|
82
|
+
/** Whether hiding a series re-scales the value axis to what is left. Off holds the axis where it
|
|
83
|
+
* stands with every series shown. */
|
|
84
|
+
readonly rescaleOnHide: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
85
|
+
/** Whether the legend switches series off. Off leaves it a plain key. */
|
|
86
|
+
readonly legendFilters: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
87
|
+
/** What a legend control does. `'isolate'` shows one series and hides the rest (radios);
|
|
88
|
+
* `'toggle'` hides one and leaves the rest (checkboxes). */
|
|
89
|
+
readonly legendMode: _angular_core.InputSignal<"toggle" | "isolate">;
|
|
90
|
+
/** Lets a press dragged across columns select their categories: a band, the sum and mean of every
|
|
91
|
+
* column in it, and the rest faded. Escape or a press outside clears it. Off by default. */
|
|
92
|
+
readonly selectRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
93
|
+
/** Answers the pointer on the axes: the category label in bold, a guide from the value axis and
|
|
94
|
+
* the value there in a pill on the axis. On by default. */
|
|
95
|
+
readonly showAxisReadout: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
78
96
|
protected readonly tooltipTemplate: _angular_core.Signal<TemplateRef<{
|
|
79
97
|
$implicit: ChartTooltipContext;
|
|
80
98
|
}> | undefined>;
|
|
81
99
|
/** Where the tooltip anchors: `'mark'` (default) is the column; `'cell'` is the full-height category cell. */
|
|
82
100
|
readonly tooltipAnchor: _angular_core.InputSignal<"mark" | "cell">;
|
|
83
101
|
/** Keeps the panel clear of the value printed above the column. */
|
|
84
|
-
protected readonly valueClearance: _angular_core.Signal<
|
|
102
|
+
protected readonly valueClearance: _angular_core.Signal<18 | 0>;
|
|
85
103
|
protected readonly tooltipLingerResolved: _angular_core.Signal<number>;
|
|
86
104
|
protected readonly geometry: _angular_core.Signal<{
|
|
87
105
|
plotHeight: number;
|
|
@@ -90,12 +108,20 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
90
108
|
columnWidthRatio: number;
|
|
91
109
|
}>;
|
|
92
110
|
protected readonly viewHeightPx: _angular_core.Signal<string>;
|
|
93
|
-
protected readonly skeletonHeightPx: _angular_core.Signal<string>;
|
|
94
111
|
protected readonly seriesRefs: _angular_core.Signal<readonly ColumnSeriesComponent[]>;
|
|
95
112
|
protected readonly pinnedSeries: _angular_core.Signal<ColumnSeriesComponent | null>;
|
|
96
113
|
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedColumnSeries[]>;
|
|
97
114
|
protected readonly slotCount: _angular_core.Signal<number>;
|
|
98
115
|
private readonly offsets;
|
|
116
|
+
protected readonly heldExtent: _angular_core.Signal<{
|
|
117
|
+
min: null;
|
|
118
|
+
max: null;
|
|
119
|
+
} | {
|
|
120
|
+
min: number;
|
|
121
|
+
max: number;
|
|
122
|
+
}>;
|
|
123
|
+
protected isHidden(key: string): boolean;
|
|
124
|
+
protected readonly spotlitSeries: _angular_core.Signal<string | null>;
|
|
99
125
|
protected offsetsFor(index: number): readonly ChartStackOffset[];
|
|
100
126
|
protected readonly categories: _angular_core.Signal<string[]>;
|
|
101
127
|
protected readonly multiSeries: _angular_core.Signal<boolean>;
|
|
@@ -113,9 +139,9 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
113
139
|
}[]>;
|
|
114
140
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
115
141
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
116
|
-
protected readonly
|
|
142
|
+
protected readonly skeletonMarks: _angular_core.Signal<number>;
|
|
117
143
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
118
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
144
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "selectRange": { "alias": "selectRange"; "required": false; "isSignal": true; }; "showAxisReadout": { "alias": "showAxisReadout"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
119
145
|
}
|
|
120
146
|
|
|
121
147
|
export { ColumnChartComponent };
|
|
@@ -105,7 +105,7 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
|
|
|
105
105
|
readonly locale: _angular_core.InputSignal<string | null>;
|
|
106
106
|
/** Explicit token format e.g. `'MM/DD/YYYY'`; default derived from `locale`. */
|
|
107
107
|
readonly dateFormat: _angular_core.InputSignal<string | null>;
|
|
108
|
-
/** First weekday column: 0=Sunday … 6=Saturday.
|
|
108
|
+
/** First weekday column: 0=Sunday … 6=Saturday. Falls back to `DS_CONFIG.datePicker.firstDayOfWeek`, then the resolved `locale`'s week, then 1 (Monday). */
|
|
109
109
|
readonly firstDayOfWeek: _angular_core.InputSignal<number | null>;
|
|
110
110
|
/** Date the calendar opens on when the value is empty; never written to `value`. */
|
|
111
111
|
readonly defaultDate: _angular_core.InputSignal<Date | null>;
|
|
@@ -117,6 +117,8 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
|
|
|
117
117
|
private readonly dateInvalid;
|
|
118
118
|
private readonly fieldMessage;
|
|
119
119
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
120
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
121
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
120
122
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
121
123
|
protected readonly groupMessage: _angular_core.Signal<string | null>;
|
|
122
124
|
protected readonly describedByIds: typeof describedByIds;
|