@ids-group-ltd/ids-design-system 0.13.2 → 0.13.4
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 +1106 -9
- package/components.md +563 -44
- package/design-system.md +9 -0
- package/docs/agent/INDEX.md +58 -17
- package/docs/agent/charts/chart-colour-which-palette-a-chart-takes.md +1 -1
- package/docs/agent/charts/column-series-component.md +8 -0
- package/docs/agent/charts/ds-bar-chart.md +6 -1
- package/docs/agent/charts/ds-chart-data-table.md +10 -0
- package/docs/agent/charts/ds-chart.md +8 -0
- package/docs/agent/charts/ds-column-chart.md +7 -2
- package/docs/agent/charts/ds-funnel-chart.md +5 -1
- package/docs/agent/charts/ds-heatmap-chart.md +20 -0
- package/docs/agent/charts/ds-line-chart.md +8 -4
- package/docs/agent/charts/{ds-donut-chart.md → ds-pie-chart.md} +10 -6
- package/docs/agent/charts/ds-scatter-chart.md +20 -0
- package/docs/agent/charts/ds-waterfall-chart.md +20 -0
- package/docs/agent/charts/line-series-component.md +8 -0
- package/docs/agent/charts/reference-label-component.md +8 -0
- package/docs/agent/charts/reference-line-component.md +8 -0
- package/docs/agent/charts/series-annotation-component.md +10 -0
- package/docs/agent/feedback/ds-alert.md +4 -0
- package/docs/agent/feedback/ds-avatar-group.md +4 -0
- package/docs/agent/feedback/ds-avatar.md +4 -0
- package/docs/agent/feedback/ds-badge.md +4 -0
- package/docs/agent/feedback/ds-banner.md +5 -1
- package/docs/agent/feedback/ds-bar.md +17 -0
- package/docs/agent/feedback/ds-description-item.md +8 -0
- package/docs/agent/feedback/ds-description-list.md +8 -0
- package/docs/agent/feedback/ds-empty-state.md +4 -0
- package/docs/agent/feedback/ds-list-item.md +8 -0
- package/docs/agent/feedback/ds-list.md +8 -0
- package/docs/agent/feedback/ds-loading-overlay.md +8 -0
- package/docs/agent/feedback/ds-skeleton.md +4 -0
- package/docs/agent/feedback/ds-spinner.md +4 -0
- package/docs/agent/feedback/ds-stat.md +4 -0
- package/docs/agent/feedback/ds-status-dot.md +4 -0
- package/docs/agent/feedback/ds-tag.md +4 -0
- package/docs/agent/feedback/ds-timeline-item.md +8 -0
- package/docs/agent/feedback/ds-toast-region.md +8 -0
- package/docs/agent/feedback/ds-toast.md +4 -0
- package/docs/agent/feedback/ds-tree.md +8 -0
- package/docs/agent/forms/ds-autocomplete.md +4 -0
- package/docs/agent/forms/ds-button-group.md +8 -0
- package/docs/agent/forms/ds-button.md +6 -2
- package/docs/agent/forms/ds-checkbox.md +4 -0
- package/docs/agent/forms/ds-color-picker.md +8 -0
- package/docs/agent/forms/ds-date-picker.md +5 -1
- package/docs/agent/forms/ds-dropzone.md +4 -0
- package/docs/agent/forms/ds-field-group.md +8 -0
- package/docs/agent/forms/ds-filter-bar.md +8 -0
- package/docs/agent/forms/ds-icon-button.md +4 -0
- package/docs/agent/forms/ds-input.md +13 -1
- package/docs/agent/forms/ds-multi-select.md +4 -0
- package/docs/agent/forms/ds-number-stepper.md +4 -0
- package/docs/agent/forms/ds-otp-input.md +8 -0
- package/docs/agent/forms/ds-password-rules.md +8 -0
- package/docs/agent/forms/ds-radio-group.md +8 -0
- package/docs/agent/forms/ds-radio.md +4 -0
- package/docs/agent/forms/ds-search.md +4 -0
- package/docs/agent/forms/ds-segmented.md +8 -0
- package/docs/agent/forms/ds-select.md +4 -0
- package/docs/agent/forms/ds-slider.md +8 -0
- package/docs/agent/forms/ds-split-button.md +8 -0
- package/docs/agent/forms/ds-switch.md +4 -0
- package/docs/agent/forms/ds-textarea.md +5 -1
- package/docs/agent/forms/ds-time-picker.md +8 -0
- package/docs/agent/forms/ds-toggle-button.md +8 -0
- package/docs/agent/forms/filter-item-directive.md +8 -0
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +4 -0
- package/docs/agent/navigation/ds-app-layout.md +6 -2
- package/docs/agent/navigation/ds-auth-layout.md +5 -1
- package/docs/agent/navigation/ds-breadcrumbs.md +4 -0
- package/docs/agent/navigation/ds-container.md +8 -0
- package/docs/agent/navigation/ds-divider.md +4 -0
- package/docs/agent/navigation/ds-inline.md +8 -0
- package/docs/agent/navigation/ds-page-footer.md +4 -0
- package/docs/agent/navigation/ds-page-header.md +5 -1
- package/docs/agent/navigation/ds-pagination.md +5 -1
- package/docs/agent/navigation/ds-sidenav-footer.md +8 -0
- package/docs/agent/navigation/ds-sidenav-group.md +4 -0
- package/docs/agent/navigation/ds-sidenav-item.md +4 -0
- package/docs/agent/navigation/ds-sidenav.md +4 -0
- package/docs/agent/navigation/ds-stack.md +8 -0
- package/docs/agent/navigation/ds-stepper.md +4 -0
- package/docs/agent/navigation/ds-tab.md +8 -0
- package/docs/agent/navigation/ds-tabs.md +5 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +4 -0
- package/docs/agent/overlays/ds-drawer.md +4 -0
- package/docs/agent/overlays/ds-menu.md +4 -0
- package/docs/agent/overlays/ds-modal-card.md +4 -0
- package/docs/agent/overlays/ds-modal.md +4 -0
- package/docs/agent/overlays/ds-popover.md +4 -0
- package/docs/agent/overlays/ds-tooltip-panel.md +8 -0
- package/docs/agent/overlays/ds-tooltip.md +4 -0
- package/docs/agent/surfaces/ds-accordion-item.md +8 -0
- package/docs/agent/surfaces/ds-accordion.md +4 -0
- package/docs/agent/surfaces/ds-card.md +6 -2
- package/docs/agent/tables/ds-cell-template.md +8 -0
- package/docs/agent/tables/ds-table-columns.md +8 -0
- package/docs/agent/tables/ds-table-export.md +8 -0
- package/docs/agent/tables/ds-table.md +9 -2
- package/docs/agent/tables/header-filter-directive.md +8 -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 +10 -8
- 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 +19 -19
- 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 +7 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.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 +9 -6
- 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 +119 -30
- 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 +95 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.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 +32 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- 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 +84 -43
- 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 +1322 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
- 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 +8 -6
- 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 +164 -126
- 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 +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- 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-dropzone.mjs +23 -16
- 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-filter-bar.mjs +1 -1
- 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 +32 -13
- 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 +217 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- 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 +2 -2
- 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 +185 -573
- 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 +2 -2
- 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 +2 -2
- 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 +6 -6
- 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 +7 -5
- 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 +2 -2
- 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-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 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +391 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -3
- 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 +2 -2
- 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 +300 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -0
- 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 +9 -4
- 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 +7 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.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-table-columns.mjs +4 -4
- 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 +4 -1
- 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.mjs +9 -9
- 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 +2 -2
- 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 +5 -3
- 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 +2 -2
- 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 +34 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.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-waterfall-chart.mjs +252 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +429 -24
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +8 -4
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +2 -2
- package/migrations/0.10.1.json +3 -3
- package/migrations/0.10.2.json +8 -28
- package/migrations/0.11.0.json +3 -3
- package/migrations/0.11.1.json +15 -15
- package/migrations/0.11.2.json +9 -9
- package/migrations/0.11.3.json +1 -1
- package/migrations/0.11.4.json +8 -8
- package/migrations/0.12.1.json +1 -1
- package/migrations/0.12.2.json +1 -1
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +24 -32
- package/migrations/0.13.1.json +5 -5
- package/migrations/0.13.3.json +211 -0
- package/migrations/0.13.4.json +994 -0
- package/migrations/0.5.0.json +1 -1
- package/migrations/0.8.0.json +4 -3
- package/migrations/0.9.0.json +1 -1
- package/package.json +57 -25
- package/styles/_chart-frame.scss +31 -8
- package/styles/_check-box.scss +12 -12
- package/styles/_dropdown-overlay.scss +14 -10
- package/styles/_field-box.scss +3 -3
- package/styles/_field-label.scss +7 -7
- package/styles/_overlay-motion.scss +1 -1
- package/styles/_table-controls.scss +3 -3
- package/styles/_tokens-charts.scss +69 -12
- package/styles/_tokens.scss +3 -3
- package/styles/_typography.scss +101 -101
- package/themes/dark/_theme.scss +13 -0
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +5 -4
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +37 -3
- package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +63 -0
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +31 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +11 -4
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +729 -0
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +99 -38
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -7
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +9 -1
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +124 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +84 -148
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +13 -1
- package/types/{ids-group-ltd-ids-design-system-components-donut-chart.d.ts → ids-group-ltd-ids-design-system-components-pie-chart.d.ts} +35 -17
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +183 -0
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +11 -11
- 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 +5 -2
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +116 -0
- package/types/ids-group-ltd-ids-design-system-components.d.ts +151 -9
- package/types/ids-group-ltd-ids-design-system-core.d.ts +78 -4
- package/types/ids-group-ltd-ids-design-system.d.ts +16 -12
- package/docs/agent/feedback/ds-meter.md +0 -11
- package/docs/agent/feedback/ds-progress.md +0 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +0 -351
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +0 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-meter.mjs +0 -61
- package/fesm2022/ids-group-ltd-ids-design-system-components-meter.mjs.map +0 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs +0 -65
- package/fesm2022/ids-group-ltd-ids-design-system-components-progress.mjs.map +0 -1
- package/types/ids-group-ltd-ids-design-system-components-meter.d.ts +0 -36
- package/types/ids-group-ltd-ids-design-system-components-progress.d.ts +0 -40
|
@@ -21,13 +21,15 @@ declare class BannerComponent {
|
|
|
21
21
|
/** Fires when the user dismisses the banner. */
|
|
22
22
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
23
23
|
protected get noRail(): boolean;
|
|
24
|
-
/** Announce this banner to a screen reader when it appears.
|
|
24
|
+
/** Announce this banner to a screen reader when it appears. Unset follows
|
|
25
|
+
* `DS_CONFIG.banner.announce`, then `false`.
|
|
25
26
|
*
|
|
26
27
|
* Off by default: an `alert` region fires on INSERTION, so a banner that is page
|
|
27
28
|
* furniture would interrupt the reader on every route into the page. Turn it on for
|
|
28
29
|
* one the app raises in response to an event; for anything transient prefer
|
|
29
30
|
* `ToastService`, which owns a live region built for the purpose. */
|
|
30
|
-
readonly announce: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly announce: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
32
|
+
readonly announceResolved: _angular_core.Signal<boolean>;
|
|
31
33
|
protected get ariaRole(): 'alert' | 'status' | null;
|
|
32
34
|
protected get ariaLive(): 'assertive' | 'polite' | null;
|
|
33
35
|
protected readonly classes: _angular_core.Signal<string>;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
2
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
3
4
|
import * as _angular_core from '@angular/core';
|
|
4
5
|
import { TemplateRef } from '@angular/core';
|
|
5
6
|
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
8
|
|
|
9
|
+
/** A row's reading: one number, or the two ends of a band.
|
|
10
|
+
*
|
|
11
|
+
* A plain number spans from zero, which is what a bar has always drawn. A pair spans between its
|
|
12
|
+
* own two ends - a floating bar, a range, a min-to-max - and the ends may be written either way
|
|
13
|
+
* round, because a reader who reverses them means the same band. */
|
|
14
|
+
type BarChartValue = number | readonly [low: number, high: number];
|
|
7
15
|
/** One part of a row that is a distribution rather than a single quantity. */
|
|
8
16
|
interface BarChartSegment {
|
|
9
17
|
/** Falls back to the segment's position when left out. */
|
|
@@ -18,7 +26,17 @@ interface BarChartRow {
|
|
|
18
26
|
/** Falls back to the row's position when left out, so a reorder rewrites the DOM. */
|
|
19
27
|
id?: string;
|
|
20
28
|
label: string;
|
|
21
|
-
|
|
29
|
+
/** One number spans from zero. A `[low, high]` pair spans between its own ends, which is what
|
|
30
|
+
* draws a floating bar - a range, a min to max, a period that starts partway along. */
|
|
31
|
+
value: BarChartValue;
|
|
32
|
+
/** A tick across the bar at one reading: a goal, a budget, a last-period figure. With `ranges`
|
|
33
|
+
* behind it this is the bullet chart, which is a bar with two extras rather than a chart type. */
|
|
34
|
+
target?: number;
|
|
35
|
+
/** Qualitative bands drawn behind the bar, given as their upper bounds in ascending order -
|
|
36
|
+
* `[60, 80, 100]` is three bands. They say what the reading MEANS where the number alone does
|
|
37
|
+
* not: poor, fair, good. They are painted in one neutral hue at rising opacity, never in the
|
|
38
|
+
* series palette, because a band is a backdrop and a bar is the reading. */
|
|
39
|
+
ranges?: readonly number[];
|
|
22
40
|
/** A percentage already out of 100, not a fraction: `42`, never `0.42`. Printed at
|
|
23
41
|
* the row's end while `showPercent` is on; derived from `value / max` when omitted. */
|
|
24
42
|
percent?: number;
|
|
@@ -101,11 +119,12 @@ declare class BarChartComponent {
|
|
|
101
119
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
102
120
|
* grouping with a K/M/B suffix past four digits. */
|
|
103
121
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
122
|
+
private readonly defaults;
|
|
104
123
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
105
124
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
106
125
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
107
126
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
108
|
-
readonly valueFormatResolved: _angular_core.Signal<
|
|
127
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
109
128
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
110
129
|
* The click output fires whether or not this is set, so a consumer that
|
|
111
130
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -146,12 +165,27 @@ declare class BarChartComponent {
|
|
|
146
165
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
147
166
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
148
167
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
168
|
+
/** The track has to hold the far end of every bar, the target tick and the outermost band -
|
|
169
|
+
* a goal above every reading is the one the chart is read for, and an axis derived from the
|
|
170
|
+
* bars alone would draw it off the end. */
|
|
149
171
|
protected readonly resolvedMax: _angular_core.Signal<number>;
|
|
172
|
+
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
173
|
+
/** A row's segments follow it as nested rows: one table reads in one pass, and a segment is
|
|
174
|
+
* read against the bar it belongs to rather than against the other bars. */
|
|
175
|
+
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
150
176
|
protected readonly rows: _angular_core.Signal<{
|
|
151
177
|
key: string;
|
|
152
178
|
row: BarChartRow;
|
|
179
|
+
offsetPercent: number;
|
|
153
180
|
widthPercent: number;
|
|
154
181
|
formattedValue: string;
|
|
182
|
+
targetPercent: number | null;
|
|
183
|
+
formattedTarget: string;
|
|
184
|
+
bands: {
|
|
185
|
+
key: string;
|
|
186
|
+
widthPercent: number;
|
|
187
|
+
opacity: number;
|
|
188
|
+
}[];
|
|
155
189
|
formattedPercent: string;
|
|
156
190
|
share: string;
|
|
157
191
|
segments: readonly {
|
|
@@ -178,4 +212,4 @@ declare class BarChartComponent {
|
|
|
178
212
|
}
|
|
179
213
|
|
|
180
214
|
export { BarChartComponent };
|
|
181
|
-
export type { BarChartRow, BarChartSegment };
|
|
215
|
+
export type { BarChartRow, BarChartSegment, BarChartValue };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/** Colour role for the fill. */
|
|
4
|
+
type BarVariant = 'default' | 'success' | 'warning' | 'error';
|
|
5
|
+
/** What the bar IS, which decides how it is announced.
|
|
6
|
+
*
|
|
7
|
+
* - `'progress'` — how far a task has got. `role="progressbar"`.
|
|
8
|
+
* - `'meter'` — a measurement on a known scale: a rate, a score, a count against a ceiling. It
|
|
9
|
+
* has no beginning and no completion. `role="meter"`.
|
|
10
|
+
* - `'none'` — drawn only, hidden from assistive technology. For a bar in a table cell whose
|
|
11
|
+
* figure is printed beside it, where announcing each one repeats what the row already says. */
|
|
12
|
+
type BarSemantics = 'progress' | 'meter' | 'none';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* One horizontal track with one fill: a task's completion, or a measurement on a known scale.
|
|
16
|
+
*
|
|
17
|
+
* The two are the same drawing and a different claim, which is what `semantics` carries — the
|
|
18
|
+
* platform splits them the same way, into `<progress>` and `<meter>`. Getting it wrong is not
|
|
19
|
+
* cosmetic: a table of two hundred rates under `'progress'` announces two hundred progress bars.
|
|
20
|
+
*/
|
|
21
|
+
declare class BarComponent {
|
|
22
|
+
/** The reading, in units of `max`; clamped, and ignored while `indeterminate`. */
|
|
23
|
+
readonly value: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
24
|
+
/** The full scale `value` and `target` are read against. Left at 100 they are percentages. Set
|
|
25
|
+
* it to the real total — `[value]="37" [max]="80"` — and the accessible name carries "37 of 80"
|
|
26
|
+
* rather than the 46% a caller would otherwise have to compute. For a column of measurements
|
|
27
|
+
* it is usually the column's own largest value, so the longest bar fills its track and the rest
|
|
28
|
+
* are its share. Zero or less falls back to 100, because a scale with no width has no fraction
|
|
29
|
+
* to draw. */
|
|
30
|
+
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
31
|
+
/** What the bar is, and therefore how it is announced. See `BarSemantics`. Defaults to
|
|
32
|
+
* `'progress'`. */
|
|
33
|
+
readonly semantics: _angular_core.InputSignal<BarSemantics>;
|
|
34
|
+
/** Colour role — drives the success/warning/error styling. */
|
|
35
|
+
readonly variant: _angular_core.InputSignal<BarVariant>;
|
|
36
|
+
/** Indeterminate (unknown-duration) animation instead of a fixed `value`. Only a task has an
|
|
37
|
+
* unknown duration, so it is ignored unless `semantics` is `'progress'`. */
|
|
38
|
+
readonly indeterminate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
39
|
+
/** Overrides the fill for this one bar. A whole column is coloured once through
|
|
40
|
+
* `--ds-bar-fill-color` instead; use this where the colour carries meaning on one row. */
|
|
41
|
+
readonly color: _angular_core.InputSignal<string | null>;
|
|
42
|
+
/** Accessible name (e.g. "Upload progress"). With a `target` set, name the comparison here —
|
|
43
|
+
* the mark is drawn and the role has no second value to announce, so "Resolved 62% against a
|
|
44
|
+
* 75% target" is what reaches a screen reader. Unused under `semantics="none"`. */
|
|
45
|
+
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
46
|
+
/** A second point on the same scale as `value`, drawn as a hairline across the track — a goal,
|
|
47
|
+
* a baseline or a threshold to read `value` against. Clamped like `value`, ignored while
|
|
48
|
+
* `indeterminate`, and unset draws nothing. */
|
|
49
|
+
readonly target: _angular_core.InputSignal<number | null>;
|
|
50
|
+
protected readonly role: _angular_core.Signal<"meter" | "progressbar" | null>;
|
|
51
|
+
protected readonly scale: _angular_core.Signal<number>;
|
|
52
|
+
protected readonly clampedValue: _angular_core.Signal<number>;
|
|
53
|
+
/** Width and offset are percentages of the track whatever the scale is. */
|
|
54
|
+
protected readonly valuePercent: _angular_core.Signal<number>;
|
|
55
|
+
protected readonly clampedTarget: _angular_core.Signal<number | null>;
|
|
56
|
+
protected readonly targetPercent: _angular_core.Signal<number | null>;
|
|
57
|
+
protected readonly isIndet: _angular_core.Signal<boolean>;
|
|
58
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarComponent, never>;
|
|
59
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarComponent, "ds-bar", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "semantics": { "alias": "semantics"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export { BarComponent };
|
|
63
|
+
export type { BarSemantics, BarVariant };
|
|
@@ -4,7 +4,7 @@ import { OnDestroy } from '@angular/core';
|
|
|
4
4
|
/** Bottom-anchored sheet — the mobile sibling of ds-drawer. Closes on scrim
|
|
5
5
|
* tap, Escape, or a downward drag on the grab strip. While open it locks
|
|
6
6
|
* body scroll. On wide viewports the panel is capped by
|
|
7
|
-
* --ds-bottom-sheet-
|
|
7
|
+
* --ds-bottom-sheet-max-width and centred; prefer ds-modal / ds-drawer for
|
|
8
8
|
* desktop-first layouts. position: fixed resolves against the nearest
|
|
9
9
|
* ancestor containing block, so framed hosts contain the sheet. */
|
|
10
10
|
declare class BottomSheetComponent implements OnDestroy {
|
|
@@ -8,6 +8,7 @@ import { DsSize, IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
|
8
8
|
type ButtonColor = 'primary' | 'secondary' | 'tertiary' | 'neutral' | 'error' | 'success' | 'warning';
|
|
9
9
|
type ButtonVariant = 'solid' | 'tonal' | 'ghost' | 'outline' | 'text';
|
|
10
10
|
type ButtonType = 'button' | 'submit' | 'reset';
|
|
11
|
+
type ButtonAlign = 'center' | 'between';
|
|
11
12
|
|
|
12
13
|
declare class ButtonComponent extends DsMessageBase {
|
|
13
14
|
protected readonly reserveFollowsFieldDefault = false;
|
|
@@ -18,6 +19,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
18
19
|
* reason. `text` is discouraged for every colour — prefer the global `.link` class, and keep
|
|
19
20
|
* this one only where the ds-button API is needed. */
|
|
20
21
|
readonly variant: _angular_core.InputSignal<ButtonVariant>;
|
|
22
|
+
/** Where the contents sit once the button is wider than them, which in practice means
|
|
23
|
+
* `fullWidth`. `'between'` pushes the label and a trailing icon to opposite edges. */
|
|
24
|
+
readonly align: _angular_core.InputSignal<ButtonAlign>;
|
|
21
25
|
/** Button height — sm/md/lg.
|
|
22
26
|
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
23
27
|
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
@@ -114,8 +118,8 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
114
118
|
constructor();
|
|
115
119
|
protected onClick(event: MouseEvent): void;
|
|
116
120
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
117
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
|
|
121
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
|
|
118
122
|
}
|
|
119
123
|
|
|
120
124
|
export { ButtonComponent };
|
|
121
|
-
export type { ButtonColor, ButtonType, ButtonVariant };
|
|
125
|
+
export type { ButtonAlign, ButtonColor, ButtonType, ButtonVariant };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/** Cells arrive formatted: how a value reads is the chart's decision, not the table's. */
|
|
4
|
+
interface ChartDataRow {
|
|
5
|
+
readonly key: string;
|
|
6
|
+
readonly cells: readonly string[];
|
|
7
|
+
/** A part of the row above rather than a row of its own - one bar's segment, one stage's drop.
|
|
8
|
+
* Drawn indented and quieter, so the nesting survives without a second table. */
|
|
9
|
+
readonly nested?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The annex table under a chart: the non-visual route to the numbers, and the only one a reader
|
|
13
|
+
* with no pointer has.
|
|
14
|
+
*/
|
|
15
|
+
declare class ChartDataTableComponent {
|
|
16
|
+
readonly columns: _angular_core.InputSignal<readonly string[]>;
|
|
17
|
+
readonly rows: _angular_core.InputSignal<readonly ChartDataRow[]>;
|
|
18
|
+
readonly caption: _angular_core.InputSignal<string | null>;
|
|
19
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
/** Renders each row's first cell as a `<th scope="row">`, for a matrix whose rows are named
|
|
21
|
+
* rather than numbered. */
|
|
22
|
+
readonly rowHeader: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
/** Fires with the disclosure's state, so a chart with thousands of readings can build its rows
|
|
24
|
+
* only while they are on screen. */
|
|
25
|
+
readonly toggled: _angular_core.OutputEmitterRef<boolean>;
|
|
26
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDataTableComponent, never>;
|
|
27
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartDataTableComponent, "ds-chart-data-table", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "rowHeader": { "alias": "rowHeader"; "required": false; "isSignal": true; }; }, { "toggled": "toggled"; }, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { ChartDataTableComponent };
|
|
31
|
+
export type { ChartDataRow };
|
|
@@ -52,9 +52,12 @@ declare class ChartTooltipDirective {
|
|
|
52
52
|
* that text as well as the mark, or the two overlap. Ignored for touch, where the gap is already
|
|
53
53
|
* sized for a fingertip. */
|
|
54
54
|
readonly dsChartTooltipExtraGap: _angular_core.InputSignal<number>;
|
|
55
|
+
/** Opens the panel BELOW the mark first. A chart sets it while a mark is held, so the panel
|
|
56
|
+
* leaves the plot's top edge — and the Unpin control that lives there — alone. */
|
|
57
|
+
readonly dsChartTooltipPreferBelow: _angular_core.InputSignal<boolean>;
|
|
55
58
|
private overlayRef;
|
|
56
59
|
private panelRef;
|
|
57
|
-
private
|
|
60
|
+
private detachScrollReposition;
|
|
58
61
|
private detachEscape;
|
|
59
62
|
constructor();
|
|
60
63
|
private open;
|
|
@@ -62,7 +65,7 @@ declare class ChartTooltipDirective {
|
|
|
62
65
|
private closeOnEscape;
|
|
63
66
|
private close;
|
|
64
67
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTooltipDirective, never>;
|
|
65
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
68
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "dsChartTooltipPreferBelow": { "alias": "dsChartTooltipPreferBelow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
66
69
|
}
|
|
67
70
|
|
|
68
71
|
/** @internal */
|
|
@@ -73,11 +76,15 @@ interface ChartActiveMark {
|
|
|
73
76
|
readonly origin: Signal<Element | null>;
|
|
74
77
|
/** Whether the active mark is held rather than followed — a tap, or a click under `pinOnClick`. */
|
|
75
78
|
readonly pinned: Signal<boolean>;
|
|
76
|
-
enter(index: number, event: Event,
|
|
79
|
+
enter(index: number, event: Event, anchor?: string | Element | null): void;
|
|
80
|
+
/** Moves the active index with no pointer behind it - a keyboard, or a mark handing over which
|
|
81
|
+
* category it took focus on. Leaves the anchor alone: the caller that has no event has no
|
|
82
|
+
* element to aim at either. A pin holds against this too. */
|
|
83
|
+
setIndex(index: number): void;
|
|
77
84
|
leave(): void;
|
|
78
85
|
/** Holds the mark that was activated, for any pointer type. Activating the mark that is already
|
|
79
86
|
* pinned releases it, so one gesture both sets and clears. */
|
|
80
|
-
pin(index: number, event: Event,
|
|
87
|
+
pin(index: number, event: Event, anchor?: string | Element | null): void;
|
|
81
88
|
/** Lets go of a held mark, for a control that offers the way out in as many words. */
|
|
82
89
|
release(): void;
|
|
83
90
|
}
|