@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
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
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';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
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';
|
|
8
|
+
|
|
9
|
+
/** One reading on two continuous scales. */
|
|
10
|
+
interface ScatterPoint {
|
|
11
|
+
readonly x: number;
|
|
12
|
+
readonly y: number;
|
|
13
|
+
}
|
|
14
|
+
/** One named set of readings. Both scales are continuous, so a point carries its own position on
|
|
15
|
+
* each rather than an index into a list of categories. */
|
|
16
|
+
interface ScatterChartSeries {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
data: readonly ScatterPoint[];
|
|
20
|
+
/** Overrides the palette slot this series would take. */
|
|
21
|
+
color?: string;
|
|
22
|
+
}
|
|
23
|
+
/** Which decimator thins a series that exceeds the plot's budget.
|
|
24
|
+
*
|
|
25
|
+
* `'minMax'` is the default because it is the only one that can promise something: each bucket's
|
|
26
|
+
* highest and lowest reading are in the output by construction, so the spike a reader is looking
|
|
27
|
+
* for cannot be the point that was dropped. `'lttb'` draws a truer silhouette at the same budget
|
|
28
|
+
* and makes no such promise - reach for it where the outline is the reading. `'none'` draws every
|
|
29
|
+
* point and is the caller taking the node budget on themselves. */
|
|
30
|
+
type ScatterChartDecimator = 'minMax' | 'lttb' | 'none';
|
|
31
|
+
/** One reading, named by the series it belongs to. */
|
|
32
|
+
interface ScatterChartReading {
|
|
33
|
+
readonly series: ScatterChartSeries;
|
|
34
|
+
readonly point: ScatterPoint;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** The drawable rectangle, in the canvas's own units. */
|
|
38
|
+
interface ScatterPlot {
|
|
39
|
+
readonly left: number;
|
|
40
|
+
readonly top: number;
|
|
41
|
+
readonly width: number;
|
|
42
|
+
readonly height: number;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface PlacedPoint {
|
|
46
|
+
readonly key: string;
|
|
47
|
+
readonly cx: number;
|
|
48
|
+
readonly cy: number;
|
|
49
|
+
readonly point: ScatterPoint;
|
|
50
|
+
}
|
|
51
|
+
interface PlacedSeries {
|
|
52
|
+
readonly key: string;
|
|
53
|
+
readonly series: ScatterChartSeries;
|
|
54
|
+
readonly color: string;
|
|
55
|
+
readonly points: readonly PlacedPoint[];
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Two continuous quantities against each other: weight against carriage cost, distance against
|
|
59
|
+
* time, volume against conversion. None of the other five charts draws this.
|
|
60
|
+
*
|
|
61
|
+
* It is the only chart in the family whose mark count the CALLER decides - an area has one node per
|
|
62
|
+
* series, a waterfall one per step, a heat map one per cell, and all three are bounded by the
|
|
63
|
+
* question itself. So it is also the only one that thins its own data before drawing: past four
|
|
64
|
+
* times the plot's width in marks the series is decimated, and the chart says so on its face
|
|
65
|
+
* rather than leaving the reader to count points that are not there.
|
|
66
|
+
*/
|
|
67
|
+
declare class ScatterChartComponent {
|
|
68
|
+
/** One entry per series, each carrying its own readings. Both scales are continuous, so a
|
|
69
|
+
* point holds its position on each rather than an index into a list of categories. */
|
|
70
|
+
readonly data: _angular_core.InputSignal<readonly ScatterChartSeries[]>;
|
|
71
|
+
/** Names the horizontal quantity under the plot. Without it the reader has two numbers and no
|
|
72
|
+
* idea which is which - on a scatter that is the whole reading. */
|
|
73
|
+
readonly xLabel: _angular_core.InputSignal<string | null>;
|
|
74
|
+
/** Names the vertical quantity beside the plot. */
|
|
75
|
+
readonly yLabel: _angular_core.InputSignal<string | null>;
|
|
76
|
+
/** Which decimator thins a series past the budget. `'minMax'` by default, because it is the only
|
|
77
|
+
* one that promises each bucket's extremum survives. */
|
|
78
|
+
readonly decimator: _angular_core.InputSignal<ScatterChartDecimator>;
|
|
79
|
+
/** A hint, not a count, and it applies to BOTH axes. Ticks snap to a round step. */
|
|
80
|
+
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
81
|
+
/** Printed above the plot as the visible title, and reused as the annex table's caption. */
|
|
82
|
+
readonly caption: _angular_core.InputSignal<string | null>;
|
|
83
|
+
/** The accessible name. Generated when omitted, naming both axes' spans, how many readings
|
|
84
|
+
* were drawn and how many were thinned out. */
|
|
85
|
+
readonly summary: _angular_core.InputSignal<string | null>;
|
|
86
|
+
/** Makes every mark a button and gives it a keyboard route. `pointClicked` fires whether or
|
|
87
|
+
* not this is set. */
|
|
88
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
89
|
+
/** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card
|
|
90
|
+
* the page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */
|
|
91
|
+
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
92
|
+
/** The annex table under the plot. It lists EVERY reading, including the ones decimation left
|
|
93
|
+
* out of the drawing, which is what keeps a thinned chart honest. */
|
|
94
|
+
readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
|
|
95
|
+
/** A skeleton at the plot's own height, so the page does not resize when the data lands. */
|
|
96
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
97
|
+
/** Separate from empty data: "the request failed" and "there is nothing to show" read the same
|
|
98
|
+
* and mean opposite things. */
|
|
99
|
+
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
100
|
+
/** Shown when no series carries a reading. Unset falls back to `DS_CONFIG.chart.emptyText`. */
|
|
101
|
+
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
102
|
+
/** Shown in place of the plot while `error` is set. Unset falls back to
|
|
103
|
+
* `DS_CONFIG.chart.errorText`. */
|
|
104
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
105
|
+
/** Formats every number the chart prints - both axes' ticks, the accessible name and the annex
|
|
106
|
+
* table. Unset falls back to `DS_CONFIG.chart.valueFormat`. */
|
|
107
|
+
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
108
|
+
/** Whether a hovered or focused mark opens a tooltip. A scatter prints no value beside its
|
|
109
|
+
* marks - there is no room - so this is where a reading is read without the annex table. */
|
|
110
|
+
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
111
|
+
/** Fades every mark but the one under the pointer. Off by default: on a scatter the pile-up IS
|
|
112
|
+
* the reading, and dimming the neighbours takes exactly that away. */
|
|
113
|
+
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
114
|
+
/** The clicked reading, with the series it belongs to. Fires on click and on Enter or Space. */
|
|
115
|
+
readonly pointClicked: _angular_core.OutputEmitterRef<ScatterChartReading>;
|
|
116
|
+
private readonly defaults;
|
|
117
|
+
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
118
|
+
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
119
|
+
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
120
|
+
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
121
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
122
|
+
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
123
|
+
protected readonly viewBox = "0 0 640 360";
|
|
124
|
+
protected readonly plot: ScatterPlot;
|
|
125
|
+
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
126
|
+
/** One mark per drawn unit of plot width is the ceiling: two marks sharing a pixel are two DOM
|
|
127
|
+
* nodes a reader cannot tell apart. The viewBox is one unit per pixel at a typical card width. */
|
|
128
|
+
private readonly budget;
|
|
129
|
+
protected readonly drawnSeries: _angular_core.Signal<{
|
|
130
|
+
series: ScatterChartSeries;
|
|
131
|
+
data: readonly ScatterPoint[];
|
|
132
|
+
thinned: number;
|
|
133
|
+
}[]>;
|
|
134
|
+
/** How many readings were dropped, over every series. A decimated chart that does not SAY it is
|
|
135
|
+
* decimated leaves the reader counting points that were never drawn. */
|
|
136
|
+
protected readonly droppedCount: _angular_core.Signal<number>;
|
|
137
|
+
private readonly extent;
|
|
138
|
+
private readonly domains;
|
|
139
|
+
protected readonly series: _angular_core.Signal<readonly PlacedSeries[]>;
|
|
140
|
+
protected readonly xTicks: _angular_core.Signal<{
|
|
141
|
+
value: number;
|
|
142
|
+
x: number;
|
|
143
|
+
label: string;
|
|
144
|
+
}[]>;
|
|
145
|
+
protected readonly yTicks: _angular_core.Signal<{
|
|
146
|
+
value: number;
|
|
147
|
+
y: number;
|
|
148
|
+
label: string;
|
|
149
|
+
}[]>;
|
|
150
|
+
protected readonly plotBottom: number;
|
|
151
|
+
protected readonly plotRight: number;
|
|
152
|
+
protected readonly multiSeries: _angular_core.Signal<boolean>;
|
|
153
|
+
protected readonly legendItems: _angular_core.Signal<readonly ChartLegendItem[]>;
|
|
154
|
+
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
155
|
+
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
156
|
+
/** Built only while the disclosure is open: a scatter carries thousands of readings, and every
|
|
157
|
+
* one of them as a table row is a cost nobody pays until they ask. */
|
|
158
|
+
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
159
|
+
protected readonly tableRows: _angular_core.Signal<{
|
|
160
|
+
key: string;
|
|
161
|
+
series: string;
|
|
162
|
+
x: string;
|
|
163
|
+
y: string;
|
|
164
|
+
}[]>;
|
|
165
|
+
/** `<details>` keeps its children in the DOM while it is shut, so a scatter of 12 000 readings
|
|
166
|
+
* parked 48 000 nodes on the page - three times what decimating the PLOT had just saved. The
|
|
167
|
+
* rows are built when the disclosure opens and dropped when it shuts; every reading is still
|
|
168
|
+
* one click away, which is what the table is for. */
|
|
169
|
+
protected readonly tableOpen: _angular_core.WritableSignal<boolean>;
|
|
170
|
+
protected readonly tableIsOpen: _angular_core.Signal<boolean>;
|
|
171
|
+
protected readonly skeletonHeight = "360";
|
|
172
|
+
/** Flattened so one index addresses a mark, which is what `chartActiveMark` counts. */
|
|
173
|
+
private readonly flatMarks;
|
|
174
|
+
protected markIndex(seriesKey: string, pointKey: string): number;
|
|
175
|
+
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
176
|
+
protected onPointClick(series: ScatterChartSeries, point: ScatterPoint): void;
|
|
177
|
+
protected pointLabel(series: ScatterChartSeries, point: ScatterPoint): string;
|
|
178
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
179
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export { ScatterChartComponent };
|
|
183
|
+
export type { ScatterChartDecimator, ScatterChartReading, ScatterChartSeries, ScatterPoint };
|
|
@@ -21,6 +21,10 @@ declare class SegmentedComponent extends DsControlValueAccessor<string> {
|
|
|
21
21
|
readonly label: _angular_core.InputSignal<string>;
|
|
22
22
|
/** Disables every segment. */
|
|
23
23
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
|
+
/** Segments share their edges instead of floating in a padded track: borders collapse into one
|
|
25
|
+
* hairline and only the outer ends round. Needs `--ds-segmented-segment-border` to be set,
|
|
26
|
+
* since the shared edge IS the border. */
|
|
27
|
+
readonly joined: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
28
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
25
29
|
protected readonly uid: string;
|
|
26
30
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
@@ -33,7 +37,7 @@ declare class SegmentedComponent extends DsControlValueAccessor<string> {
|
|
|
33
37
|
protected onKeydown(event: KeyboardEvent, index: number): void;
|
|
34
38
|
private nextEnabled;
|
|
35
39
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedComponent, never>;
|
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedComponent, "ds-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedComponent, "ds-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "joined": { "alias": "joined"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
export { SegmentedComponent };
|
|
@@ -28,7 +28,9 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
28
28
|
/** Flat options or option groups rendered in the dropdown panel. */
|
|
29
29
|
readonly options: _angular_core.InputSignal<readonly SelectItem[]>;
|
|
30
30
|
/** Public panel tokens forwarded onto the portaled overlay pane on open, so a
|
|
31
|
-
* consumer's `ds-select { --ds-dropdown-panel-*: … }` reaches it.
|
|
31
|
+
* consumer's `ds-select { --ds-dropdown-panel-*: … }` reaches it.
|
|
32
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
33
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
32
34
|
private readonly panelTokens;
|
|
33
35
|
/** Trigger width — `fill` stretches to the container and pins the panel to the
|
|
34
36
|
* trigger's width; `content` hugs the trigger's own content and takes that width
|
|
@@ -23,6 +23,9 @@ declare class DsTableExport<T extends object> {
|
|
|
23
23
|
/** Renders the built-in toolbar button. `false` keeps the feature and hides the control, for a
|
|
24
24
|
* table whose export is driven from somewhere else on the page. */
|
|
25
25
|
readonly dsTableExport: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
/** The download's name, extension included - it is passed through, never derived. A custom
|
|
27
|
+
* `exportFetcher` returning a Blob is saved under this same name, so an export that is not CSV
|
|
28
|
+
* has to say so here. */
|
|
26
29
|
readonly exportFilename: _angular_core.InputSignal<string>;
|
|
27
30
|
/** Fetches the rows to export. Without it the export serialises what the table holds, which on
|
|
28
31
|
* a server-paged table is one page. */
|
|
@@ -107,7 +107,7 @@ interface TableColumn<T = unknown> {
|
|
|
107
107
|
label: string;
|
|
108
108
|
/** Visually-hidden accessible header name — use when `label` is
|
|
109
109
|
* intentionally empty (e.g. an actions column). */
|
|
110
|
-
|
|
110
|
+
screenReaderLabel?: string;
|
|
111
111
|
sortable?: boolean;
|
|
112
112
|
/** Include the column in `filterQuery` matching. When no column is marked,
|
|
113
113
|
* every column matches. Works on `hidden` columns too. */
|
|
@@ -174,10 +174,10 @@ interface TableColumn<T = unknown> {
|
|
|
174
174
|
* column stays available to `filterable` matching and sorting. */
|
|
175
175
|
hidden?: boolean;
|
|
176
176
|
}
|
|
177
|
-
type
|
|
177
|
+
type SortDirection = 'asc' | 'desc' | null;
|
|
178
178
|
interface SortChangeEvent {
|
|
179
179
|
key: string;
|
|
180
|
-
dir:
|
|
180
|
+
dir: SortDirection;
|
|
181
181
|
}
|
|
182
182
|
interface TableRowAction<T = unknown> {
|
|
183
183
|
/** Stable identifier — use it to branch in `rowActionSelected`. */
|
|
@@ -414,9 +414,9 @@ declare class TableComponent<T extends object> {
|
|
|
414
414
|
* halves at once, which is usually the one to listen to. */
|
|
415
415
|
readonly sortKeyChange: _angular_core.OutputEmitterRef<string | null>;
|
|
416
416
|
/** Sort direction for `sortKey`. */
|
|
417
|
-
readonly
|
|
418
|
-
/** Emitted for `[(
|
|
419
|
-
readonly
|
|
417
|
+
readonly sortDirection: _angular_core.InputSignal<SortDirection>;
|
|
418
|
+
/** Emitted for `[(sortDirection)]`. */
|
|
419
|
+
readonly sortDirectionChange: _angular_core.OutputEmitterRef<SortDirection>;
|
|
420
420
|
/**
|
|
421
421
|
* What the header marks, and what a client sort reads.
|
|
422
422
|
*
|
|
@@ -429,16 +429,16 @@ declare class TableComponent<T extends object> {
|
|
|
429
429
|
*/
|
|
430
430
|
private readonly sortState;
|
|
431
431
|
protected readonly activeSortKey: _angular_core.Signal<string | null>;
|
|
432
|
-
protected readonly activeSortDir: _angular_core.Signal<
|
|
432
|
+
protected readonly activeSortDir: _angular_core.Signal<SortDirection>;
|
|
433
433
|
/** Sort states a column cycles through on click. Default includes null
|
|
434
434
|
* (unsorted); pass ['asc','desc'] to forbid the unsorted state (e.g.
|
|
435
435
|
* server-paged lists). */
|
|
436
|
-
readonly sortingOrder: _angular_core.InputSignal<
|
|
436
|
+
readonly sortingOrder: _angular_core.InputSignal<SortDirection[]>;
|
|
437
437
|
/**
|
|
438
438
|
* Wording for the sort announcement, so it can be translated. Receives the
|
|
439
439
|
* column's label and the new direction; return an empty string to say nothing.
|
|
440
440
|
*/
|
|
441
|
-
readonly sortAnnouncement: _angular_core.InputSignal<(label: string, dir:
|
|
441
|
+
readonly sortAnnouncement: _angular_core.InputSignal<(label: string, dir: SortDirection) => string>;
|
|
442
442
|
/**
|
|
443
443
|
* Wording for the row-range announcement, so it can be translated. Receives
|
|
444
444
|
* the 1-based first and last row on screen and the total; return an empty
|
|
@@ -810,8 +810,8 @@ declare class TableComponent<T extends object> {
|
|
|
810
810
|
* across re-renders. */
|
|
811
811
|
protected skeletonWidth(col: TableColumn<T>, rowIndex: number): string;
|
|
812
812
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
813
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "
|
|
813
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortingOrder": { "alias": "sortingOrder"; "required": false; "isSignal": true; }; "sortAnnouncement": { "alias": "sortAnnouncement"; "required": false; "isSignal": true; }; "rangeAnnouncement": { "alias": "rangeAnnouncement"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "rowInteractive": { "alias": "rowInteractive"; "required": false; "isSignal": true; }; "activeRowId": { "alias": "activeRowId"; "required": false; "isSignal": true; }; "filterQuery": { "alias": "filterQuery"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "persistLayout": { "alias": "persistLayout"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "stickyScrollbar": { "alias": "stickyScrollbar"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "scrollToTopOnPageChange": { "alias": "scrollToTopOnPageChange"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "columnFilterOptions": { "alias": "columnFilterOptions"; "required": false; "isSignal": true; }; "stickyScrollbarOffset": { "alias": "stickyScrollbarOffset"; "required": false; "isSignal": true; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualRowSize": { "alias": "virtualRowSize"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "cellTemplateMap": { "alias": "cellTemplateMap"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "expandableRows": { "alias": "expandableRows"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "expandMode": { "alias": "expandMode"; "required": false; "isSignal": true; }; "expandAllToggle": { "alias": "expandAllToggle"; "required": false; "isSignal": true; }; "rowExpandTemplate": { "alias": "rowExpandTemplate"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "sortKeyChange": "sortKeyChange"; "sortDirectionChange": "sortDirectionChange"; "columnFilters": "columnFiltersChange"; "pageSize": "pageSizeChange"; "page": "pageChange"; "lazyLoad": "lazyLoad"; "rowClicked": "rowClicked"; "sortChange": "sortChange"; "rowActionSelected": "rowActionSelected"; "cellEdited": "cellEdited"; "expandedIds": "expandedIdsChange"; "rowExpanded": "rowExpanded"; "rowCollapsed": "rowCollapsed"; }, ["cellTemplateDirectives", "headerFilters"], ["[toolbar]", "[empty]", "[bulk-actions]"], true, never>;
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
export { CellTemplateDirective, DsTableLayout, HeaderFilterDirective, TableComponent };
|
|
817
|
-
export type { DsTableColumnStage, DsTableExportContribution, DsTableRowStage, DsTableView, HeaderFilterContext, SortChangeEvent,
|
|
817
|
+
export type { DsTableColumnStage, DsTableExportContribution, DsTableRowStage, DsTableView, HeaderFilterContext, SortChangeEvent, SortDirection, TableCellEditEvent, TableColumn, TableExpandMode, TableFilterMode, TableRowAction, TableRowActionEvent, TableSortMode };
|
|
@@ -94,7 +94,9 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
94
94
|
private readonly injector;
|
|
95
95
|
private readonly host;
|
|
96
96
|
/** Public panel tokens forwarded onto the portaled overlay pane on open so
|
|
97
|
-
* a consumer's `ds-time-picker { --ds-time-picker-panel-*: … }` reaches it.
|
|
97
|
+
* a consumer's `ds-time-picker { --ds-time-picker-panel-*: … }` reaches it.
|
|
98
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
99
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
98
100
|
private readonly panelTokens;
|
|
99
101
|
/** Selected time, or `[start, end]` tuple when `mode="range"`. Two-way bound. */
|
|
100
102
|
readonly value: _angular_core.ModelSignal<string | TimeRangeValue | null>;
|
|
@@ -85,9 +85,12 @@ declare class ToastRegionComponent {
|
|
|
85
85
|
/** Cap on concurrently visible toasts. Extras are queued and shown as
|
|
86
86
|
* earlier ones dismiss. `0` = unlimited. */
|
|
87
87
|
readonly maxVisible: _angular_core.InputSignal<number>;
|
|
88
|
+
/** Show a `+N` strip while toasts wait behind `maxVisible`. */
|
|
89
|
+
readonly showQueueCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
88
90
|
protected readonly visibleEntries: _angular_core.WritableSignal<readonly ToastEntry[]>;
|
|
89
91
|
protected readonly leaving: _angular_core.WritableSignal<ReadonlySet<number>>;
|
|
90
92
|
private readonly pendingQueue;
|
|
93
|
+
protected readonly queuedLabel: _angular_core.Signal<string | null>;
|
|
91
94
|
private readonly timers;
|
|
92
95
|
private readonly leaveTimers;
|
|
93
96
|
private readonly remaining;
|
|
@@ -100,7 +103,7 @@ declare class ToastRegionComponent {
|
|
|
100
103
|
/** Newest goes NEAREST the anchor, so the toast that just fired appears where the
|
|
101
104
|
* stack is pinned rather than at the far end of a list the reader has to hunt
|
|
102
105
|
* down. DOM order is the visual order, so this also keeps the reading order. */
|
|
103
|
-
|
|
106
|
+
protected readonly newestFirst: boolean;
|
|
104
107
|
add(entry: ToastEntry): void;
|
|
105
108
|
private show;
|
|
106
109
|
/** FLIP, rather than the usual absolute stack: absolute positioning collapses the region
|
|
@@ -130,7 +133,7 @@ declare class ToastRegionComponent {
|
|
|
130
133
|
clear(): void;
|
|
131
134
|
private drainQueue;
|
|
132
135
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastRegionComponent, never>;
|
|
133
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastRegionComponent, "ds-toast-region", never, { "maxVisible": { "alias": "maxVisible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
136
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastRegionComponent, "ds-toast-region", never, { "maxVisible": { "alias": "maxVisible"; "required": false; "isSignal": true; }; "showQueueCount": { "alias": "showQueueCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
/**
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ColumnSeriesPoint } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
4
|
+
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
5
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
|
+
|
|
7
|
+
/** What a bar is, which decides where it stands rather than how it is coloured.
|
|
8
|
+
*
|
|
9
|
+
* A `'delta'` hangs from the level the bar before it left off at. A `'total'` or a `'subtotal'`
|
|
10
|
+
* stands on zero at the running sum, which is what makes it readable as a figure in its own right
|
|
11
|
+
* rather than as a change. The two differ only in the chain: the running sum carries on past a
|
|
12
|
+
* subtotal and a closing total is the end of it. */
|
|
13
|
+
type WaterfallChartKind = 'delta' | 'total' | 'subtotal';
|
|
14
|
+
interface WaterfallChartBar {
|
|
15
|
+
/** Falls back to the bar's position when left out, so a reorder rewrites the DOM. */
|
|
16
|
+
readonly id?: string;
|
|
17
|
+
readonly label: string;
|
|
18
|
+
/** Added to the running sum wherever it sits. A closing total usually carries `0`: it prints the
|
|
19
|
+
* sum reached, not a change of its own. */
|
|
20
|
+
readonly value: number;
|
|
21
|
+
/** Defaults to `'delta'`. */
|
|
22
|
+
readonly kind?: WaterfallChartKind;
|
|
23
|
+
}
|
|
24
|
+
/** Where one bar spans on the value axis, and which of the three meanings it carries.
|
|
25
|
+
*
|
|
26
|
+
* @internal */
|
|
27
|
+
interface WaterfallChartStep {
|
|
28
|
+
readonly label: string;
|
|
29
|
+
readonly from: number;
|
|
30
|
+
readonly to: number;
|
|
31
|
+
readonly direction: 'increase' | 'decrease' | 'total';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* A running total, bar by bar: what a figure started at, what moved it, and what it ended at.
|
|
36
|
+
*
|
|
37
|
+
* The one chart in the family that cannot be a mode on another, because it needs three things at
|
|
38
|
+
* once - an accumulating level, bars pinned to zero for the totals, and its own three-colour
|
|
39
|
+
* semantic. Colour never carries that semantic alone: every bar's label prints its own sign and
|
|
40
|
+
* every bar's accessible name says "increase" or "decrease" in words.
|
|
41
|
+
*/
|
|
42
|
+
declare class WaterfallChartComponent {
|
|
43
|
+
/** The bars in the order they are read, which is the order they happened in - a waterfall is
|
|
44
|
+
* never sorted, because the sequence is the meaning. */
|
|
45
|
+
readonly data: _angular_core.InputSignal<readonly WaterfallChartBar[]>;
|
|
46
|
+
/** Prints each bar's own reading above it, with its sign. */
|
|
47
|
+
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
48
|
+
/** The dashed rule chaining one bar to the next at the level they share. Without it the bars
|
|
49
|
+
* read as separate columns rather than as one running total. */
|
|
50
|
+
readonly showConnectors: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
51
|
+
/** Printed above the plot as the visible title, and reused as the annex table's caption. */
|
|
52
|
+
readonly caption: _angular_core.InputSignal<string | null>;
|
|
53
|
+
/** The accessible name. Generated from the steps when omitted, naming each one's direction in
|
|
54
|
+
* words and the figure the chain ends at. */
|
|
55
|
+
readonly summary: _angular_core.InputSignal<string | null>;
|
|
56
|
+
/** A hint, not a count. Ticks snap to a round step. */
|
|
57
|
+
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
58
|
+
/** Turns on the click affordance and the keyboard route. `barClicked` fires whether or not
|
|
59
|
+
* this is set. */
|
|
60
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
61
|
+
/** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card
|
|
62
|
+
* the page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */
|
|
63
|
+
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
64
|
+
/** The annex table under the plot. Unset falls back to `DS_CONFIG.chart.dataTable`, then
|
|
65
|
+
* `'none'`. It prints each step's direction, its own reading and the running total. */
|
|
66
|
+
readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
|
|
67
|
+
/** Skeleton bars at the real count, so the page does not resize when the data lands. */
|
|
68
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
69
|
+
/** Separate from an empty `data`: "the request failed" and "there is nothing to show" read the
|
|
70
|
+
* same and mean opposite things. */
|
|
71
|
+
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
72
|
+
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
73
|
+
* `DS_CONFIG.chart.emptyText`. */
|
|
74
|
+
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
75
|
+
/** Shown in place of the plot while `error` is set. Unset falls back to
|
|
76
|
+
* `DS_CONFIG.chart.errorText`. */
|
|
77
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
78
|
+
/** Formats every value the chart prints - the axis ticks, the bar labels and the annex table.
|
|
79
|
+
* The sign a delta carries is added around it, so a formatter never has to know about one. */
|
|
80
|
+
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
81
|
+
/** The clicked datum, as it was given. Fires on click and on Enter or Space. */
|
|
82
|
+
readonly barClicked: _angular_core.OutputEmitterRef<WaterfallChartBar>;
|
|
83
|
+
private readonly defaults;
|
|
84
|
+
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
85
|
+
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
86
|
+
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
87
|
+
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
88
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
89
|
+
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
90
|
+
protected readonly steps: _angular_core.Signal<readonly WaterfallChartStep[]>;
|
|
91
|
+
protected readonly categories: _angular_core.Signal<string[]>;
|
|
92
|
+
protected readonly offsets: _angular_core.Signal<{
|
|
93
|
+
from: number;
|
|
94
|
+
to: number;
|
|
95
|
+
}[]>;
|
|
96
|
+
/** What each bar's label prints: a delta's own change, a total's running sum. The two are
|
|
97
|
+
* different readings and only one of them takes a sign. */
|
|
98
|
+
protected readonly labelValues: _angular_core.Signal<number[]>;
|
|
99
|
+
protected readonly points: _angular_core.Signal<readonly ColumnSeriesPoint[]>;
|
|
100
|
+
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
101
|
+
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
102
|
+
protected readonly tableRows: _angular_core.Signal<{
|
|
103
|
+
key: string;
|
|
104
|
+
label: string;
|
|
105
|
+
direction: string;
|
|
106
|
+
formattedValue: string;
|
|
107
|
+
formattedRunningTotal: string;
|
|
108
|
+
}[]>;
|
|
109
|
+
protected readonly skeletonBars: _angular_core.Signal<unknown[]>;
|
|
110
|
+
protected onPointClicked(point: ColumnSeriesPoint): void;
|
|
111
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WaterfallChartComponent, never>;
|
|
112
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<WaterfallChartComponent, "ds-waterfall-chart", ["dsWaterfallChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "showConnectors": { "alias": "showConnectors"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; }, { "barClicked": "barClicked"; }, never, never, true, never>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export { WaterfallChartComponent };
|
|
116
|
+
export type { WaterfallChartBar, WaterfallChartKind };
|