@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
|
@@ -18,7 +18,9 @@ declare class ColorPickerComponent extends DsControlValueAccessor<string> implem
|
|
|
18
18
|
private readonly vcr;
|
|
19
19
|
private readonly host;
|
|
20
20
|
/** Public panel tokens forwarded onto the portaled overlay pane on open so
|
|
21
|
-
* a consumer's `ds-color-picker { --ds-color-picker-panel-*: … }` reaches it.
|
|
21
|
+
* a consumer's `ds-color-picker { --ds-color-picker-panel-*: … }` reaches it.
|
|
22
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
23
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
22
24
|
private readonly panelTokens;
|
|
23
25
|
/** Selected colour as a hex string, two-way bound. */
|
|
24
26
|
readonly value: _angular_core.ModelSignal<string>;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
3
2
|
import * as _angular_core from '@angular/core';
|
|
4
3
|
import { TemplateRef } from '@angular/core';
|
|
5
|
-
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
4
|
+
import { ChartStackMode, ChartThreshold, ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
5
|
+
import { ColumnSeriesComponent, ChartStackOffset } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
6
|
+
import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
7
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
8
|
+
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
6
9
|
|
|
10
|
+
/** How a mark is painted. `'hatched'` is the second encoding channel a colour cannot carry on its
|
|
11
|
+
* own: it survives greyscale, print and colour-vision deficiency, which is what makes it the right
|
|
12
|
+
* way to separate readings of different STANDING - a projection from a settled figure, an estimate
|
|
13
|
+
* from a measurement - rather than a second hue nobody can name. */
|
|
14
|
+
type ChartMarkFill = 'solid' | 'hatched';
|
|
7
15
|
interface ColumnChartPoint {
|
|
8
16
|
/** Falls back to the column's position when left out, so a reorder rewrites the DOM. */
|
|
9
17
|
id?: string;
|
|
@@ -13,11 +21,59 @@ interface ColumnChartPoint {
|
|
|
13
21
|
* position; set this where a column carries a meaning its position does not,
|
|
14
22
|
* such as the accent on the period the reader should land on. */
|
|
15
23
|
color?: string;
|
|
24
|
+
/** Defaults to `'solid'`. The chart draws what it is given and reads nothing into it: which
|
|
25
|
+
* columns are projections is the caller's fact, not one a chart can derive. */
|
|
26
|
+
fill?: ChartMarkFill;
|
|
27
|
+
}
|
|
28
|
+
/** One named set of columns, for a chart that compares two or more readings per category.
|
|
29
|
+
*
|
|
30
|
+
* A chart handed a flat `ColumnChartPoint[]` stays exactly what it was - one series whose marks
|
|
31
|
+
* ARE the categories, coloured by position. The series form is the one that needs a key, so it
|
|
32
|
+
* carries a label and takes one colour for all of its marks. */
|
|
33
|
+
interface ColumnChartSeries {
|
|
34
|
+
/** Names the series in the legend and in the tooltip, and keys it in the DOM. */
|
|
35
|
+
id: string;
|
|
36
|
+
label: string;
|
|
37
|
+
/** One point per category, in the same order for every series. */
|
|
38
|
+
data: readonly ColumnChartPoint[];
|
|
39
|
+
/** Overrides the palette slot this series would take. A point's own `color` wins over it. */
|
|
40
|
+
color?: string;
|
|
41
|
+
/** Paints every mark of this series, so a whole projected or estimated series is written once
|
|
42
|
+
* rather than per point. A point's own `fill` wins over it. */
|
|
43
|
+
fill?: ChartMarkFill;
|
|
16
44
|
}
|
|
17
45
|
|
|
46
|
+
/** One series, ready to draw. `points` is the caller's own array, never a copy: the colour and the
|
|
47
|
+
* fill reach the marks as series-wide defaults so a clicked point comes back as the object that
|
|
48
|
+
* was handed in. */
|
|
49
|
+
interface ResolvedColumnSeries {
|
|
50
|
+
readonly key: string;
|
|
51
|
+
readonly label: string;
|
|
52
|
+
/** Null leaves each mark on the categorical palette by its own position, which is what a chart
|
|
53
|
+
* of one series has always drawn. */
|
|
54
|
+
readonly color: string | null;
|
|
55
|
+
readonly fill: ChartMarkFill | null;
|
|
56
|
+
readonly points: readonly ColumnChartPoint[];
|
|
57
|
+
}
|
|
18
58
|
declare class ColumnChartComponent {
|
|
19
|
-
/** One column per point, drawn in the order given
|
|
20
|
-
|
|
59
|
+
/** One column per point, drawn in the order given - or one NAMED SERIES per entry, where every
|
|
60
|
+
* category carries a column from each. The two forms are told apart by their shape, so a chart
|
|
61
|
+
* handed a flat list behaves exactly as it always has. */
|
|
62
|
+
readonly data: _angular_core.InputSignal<readonly ColumnChartPoint[] | readonly ColumnChartSeries[]>;
|
|
63
|
+
/** How several series share one category's band. `'none'`, the default, and `'grouped'` draw
|
|
64
|
+
* them side by side - a chart of one series takes the whole band either way, so the two differ
|
|
65
|
+
* only in spelling. `'stacked'` puts each series on top of the one before it, and
|
|
66
|
+
* `'normalized'` stacks then divides by the category's total, so every band is full and the
|
|
67
|
+
* axis reads in shares.
|
|
68
|
+
*
|
|
69
|
+
* Unrelated to `ds-line-chart`'s `axisMode="stacked"`, which is two PLOTS one above the
|
|
70
|
+
* other. */
|
|
71
|
+
readonly stack: _angular_core.InputSignal<ChartStackMode>;
|
|
72
|
+
/** Reference lines and bands drawn across the plot, behind the columns: a target, a budget, an
|
|
73
|
+
* SLA. Each one opens the value axis far enough to hold it, so a target above every column is
|
|
74
|
+
* still on the plot, and each is named in the generated description - a line only the sighted
|
|
75
|
+
* reader gets is an annotation half the audience never receives. */
|
|
76
|
+
readonly thresholds: _angular_core.InputSignal<readonly ChartThreshold[]>;
|
|
21
77
|
/** Prints each column's value above the column. */
|
|
22
78
|
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
79
|
/** How many value-axis ticks to aim for. A hint, not a count: ticks are
|
|
@@ -69,11 +125,12 @@ declare class ColumnChartComponent {
|
|
|
69
125
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
70
126
|
* grouping with a K/M/B suffix past four digits. */
|
|
71
127
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
128
|
+
private readonly defaults;
|
|
72
129
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
73
130
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
74
131
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
75
132
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
76
|
-
readonly valueFormatResolved: _angular_core.Signal<
|
|
133
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
77
134
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
78
135
|
* The click output fires whether or not this is set, so a consumer that
|
|
79
136
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -96,7 +153,6 @@ declare class ColumnChartComponent {
|
|
|
96
153
|
* all; `40` is the documented non-zero step. The total is capped, so a long series does not
|
|
97
154
|
* crawl in. */
|
|
98
155
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
99
|
-
protected markStagger(index: number): string;
|
|
100
156
|
/** Whether a hovered or focused column opens a tooltip. `'axis'` is not offered — a
|
|
101
157
|
* column chart's marks ARE its categories, so an axis tooltip would repeat the item one. */
|
|
102
158
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
@@ -110,47 +166,52 @@ declare class ColumnChartComponent {
|
|
|
110
166
|
/** The value is printed ABOVE the column, so a panel anchored to the column alone opens on top
|
|
111
167
|
* of that number. One text line of clearance puts it above both. */
|
|
112
168
|
protected readonly valueClearance: _angular_core.Signal<0 | 18>;
|
|
113
|
-
|
|
114
|
-
protected readonly
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
protected
|
|
123
|
-
protected
|
|
124
|
-
protected readonly
|
|
125
|
-
protected readonly
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
169
|
+
protected readonly tooltipLingerResolved: _angular_core.Signal<number>;
|
|
170
|
+
protected readonly geometry: _angular_core.WritableSignal<{
|
|
171
|
+
plotHeight: number;
|
|
172
|
+
axisGutter: number;
|
|
173
|
+
valueSpace: number;
|
|
174
|
+
columnWidthRatio: number;
|
|
175
|
+
}>;
|
|
176
|
+
/** Every state occupies the box the plot would have, so nothing on the page moves when the data
|
|
177
|
+
* lands or the request fails. */
|
|
178
|
+
protected readonly viewHeightPx: _angular_core.Signal<string>;
|
|
179
|
+
protected readonly skeletonHeightPx: _angular_core.Signal<string>;
|
|
180
|
+
protected readonly seriesRefs: _angular_core.Signal<readonly ColumnSeriesComponent[]>;
|
|
181
|
+
protected readonly pinnedSeries: _angular_core.Signal<ColumnSeriesComponent | null>;
|
|
182
|
+
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedColumnSeries[]>;
|
|
183
|
+
/** Stacking collapses every series onto ONE slot, which is also why a stacked series is drawn
|
|
184
|
+
* at slot 0 rather than at its own index - its segments sit on top of each other, not beside
|
|
185
|
+
* them. */
|
|
186
|
+
protected readonly slotCount: _angular_core.Signal<number>;
|
|
187
|
+
private readonly offsets;
|
|
188
|
+
protected offsetsFor(index: number): readonly ChartStackOffset[];
|
|
189
|
+
/** The categories come from the LONGEST series: a series that stops early leaves the bands past
|
|
190
|
+
* its end standing rather than taking them off the axis for every other series too. */
|
|
191
|
+
protected readonly categories: _angular_core.Signal<string[]>;
|
|
192
|
+
protected readonly multiSeries: _angular_core.Signal<boolean>;
|
|
193
|
+
protected readonly legendItems: _angular_core.Signal<readonly ChartLegendItem[]>;
|
|
194
|
+
/** A normalized stack draws shares, not readings, so the axis has to say so - the value printed
|
|
195
|
+
* beside each mark stays the reading, which is what `valueFormat` goes on formatting. */
|
|
196
|
+
protected readonly axisFormat: _angular_core.Signal<ChartValueFormat | null>;
|
|
197
|
+
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
198
|
+
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
199
|
+
protected readonly tableRows: _angular_core.Signal<{
|
|
134
200
|
key: string;
|
|
135
|
-
|
|
136
|
-
|
|
201
|
+
series: string;
|
|
202
|
+
label: string;
|
|
137
203
|
formattedValue: string;
|
|
138
204
|
share: string;
|
|
139
|
-
color: string;
|
|
140
205
|
}[]>;
|
|
141
206
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
142
|
-
protected entryLabel(entry: {
|
|
143
|
-
point: ColumnChartPoint;
|
|
144
|
-
formattedValue: string;
|
|
145
|
-
}): string;
|
|
146
|
-
protected onPointKey(point: ColumnChartPoint, event: Event): void;
|
|
147
207
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
148
208
|
/** Placeholder columns while loading. Follows the real point count so the chart does not resize
|
|
149
209
|
* when the data lands; falls back to three when `data` is still empty. */
|
|
150
210
|
protected readonly skeletonColumns: _angular_core.Signal<unknown[]>;
|
|
211
|
+
constructor();
|
|
151
212
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
152
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
213
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
153
214
|
}
|
|
154
215
|
|
|
155
216
|
export { ColumnChartComponent };
|
|
156
|
-
export type { ColumnChartPoint };
|
|
217
|
+
export type { ColumnChartPoint, ColumnChartSeries };
|
|
@@ -32,11 +32,11 @@ interface DisplayPart {
|
|
|
32
32
|
|
|
33
33
|
type DatePickerMode = 'single' | 'range';
|
|
34
34
|
type DateValue = Date | null;
|
|
35
|
-
type
|
|
36
|
-
type DatePickerValue = DateValue |
|
|
35
|
+
type DateRangeValue = [Date | null, Date | null];
|
|
36
|
+
type DatePickerValue = DateValue | DateRangeValue;
|
|
37
37
|
interface DatePickerPreset {
|
|
38
38
|
label: string;
|
|
39
|
-
value: Date |
|
|
39
|
+
value: Date | DateRangeValue;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
interface DayCell {
|
|
@@ -50,7 +50,7 @@ interface DayCell {
|
|
|
50
50
|
isSelected: boolean;
|
|
51
51
|
isDisabled: boolean;
|
|
52
52
|
}
|
|
53
|
-
declare class DatePickerComponent extends DsControlValueAccessor<Date |
|
|
53
|
+
declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRangeValue | null> implements OnDestroy {
|
|
54
54
|
/** Segment of a ds-field-group: the group owns the border, radius and focus
|
|
55
55
|
* ring, so .in-group strips this control back to its bare contents. */
|
|
56
56
|
protected readonly inGroup: boolean;
|
|
@@ -65,7 +65,9 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | RangeVal
|
|
|
65
65
|
private readonly config;
|
|
66
66
|
private readonly host;
|
|
67
67
|
/** Public panel tokens forwarded onto the portaled overlay pane on open so
|
|
68
|
-
* a consumer's `ds-date-picker { --ds-date-picker-*: … }` reaches it.
|
|
68
|
+
* a consumer's `ds-date-picker { --ds-date-picker-*: … }` reaches it.
|
|
69
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
70
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
69
71
|
private readonly panelTokens;
|
|
70
72
|
/** Selection mode — single date or start/end range. */
|
|
71
73
|
readonly mode: _angular_core.InputSignal<DatePickerMode>;
|
|
@@ -77,7 +79,7 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | RangeVal
|
|
|
77
79
|
* width — opt in when the field shares a grid/flex track with inputs. */
|
|
78
80
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
79
81
|
/** Selected date (single) or `[start, end]` (range), two-way bound. */
|
|
80
|
-
readonly value: _angular_core.ModelSignal<Date |
|
|
82
|
+
readonly value: _angular_core.ModelSignal<Date | DateRangeValue | null>;
|
|
81
83
|
/** Accessible-name fallback only — the mask fills the visible placeholder, not this. */
|
|
82
84
|
readonly placeholder: _angular_core.InputSignal<string>;
|
|
83
85
|
/** Field label shown above the trigger. */
|
|
@@ -256,4 +258,4 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | RangeVal
|
|
|
256
258
|
}
|
|
257
259
|
|
|
258
260
|
export { DatePickerComponent };
|
|
259
|
-
export type { DatePickerMode, DatePickerPreset, DatePickerValue,
|
|
261
|
+
export type { DatePickerMode, DatePickerPreset, DatePickerValue, DateRangeValue, DateValue };
|
|
@@ -15,14 +15,13 @@ interface DropzoneFile {
|
|
|
15
15
|
declare class DropzoneComponent {
|
|
16
16
|
/** Native `accept` attribute — comma-separated MIME types or extensions. */
|
|
17
17
|
readonly accept: _angular_core.InputSignal<string>;
|
|
18
|
-
/** Allows picking more than one file at once
|
|
18
|
+
/** Allows picking more than one file at once. Unset takes one, which is what the native input
|
|
19
|
+
* does with no `multiple`. */
|
|
19
20
|
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
21
|
/** Files shown in the list — the consumer owns upload state and progress. */
|
|
21
22
|
readonly files: _angular_core.ModelSignal<DropzoneFile[]>;
|
|
22
23
|
/** Disables the dropzone: blocks all file-picking interactions and signals unavailability. */
|
|
23
24
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
|
-
/** Restricts the dropzone to a single file; narrows the panel to `--col-cap-text`. */
|
|
25
|
-
readonly single: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
25
|
protected readonly dragOver: _angular_core.WritableSignal<boolean>;
|
|
27
26
|
/** Fires with the raw files picked or dropped; the consumer adds them to `files`. */
|
|
28
27
|
readonly filesAdded: _angular_core.OutputEmitterRef<File[]>;
|
|
@@ -33,12 +32,13 @@ declare class DropzoneComponent {
|
|
|
33
32
|
protected onDragLeave(): void;
|
|
34
33
|
protected onDrop(event: DragEvent): void;
|
|
35
34
|
protected onPickerChange(event: Event): void;
|
|
35
|
+
private emitPicked;
|
|
36
36
|
protected onRemove(file: DropzoneFile): void;
|
|
37
37
|
protected fileMeta(file: DropzoneFile): string;
|
|
38
38
|
protected formatSize(bytes: number): string;
|
|
39
39
|
protected fileIcon(state: DropzoneFile['state']): 'file' | 'check' | 'error';
|
|
40
40
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropzoneComponent, never>;
|
|
41
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropzoneComponent, "ds-dropzone", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; };
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropzoneComponent, "ds-dropzone", never, { "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "files": { "alias": "files"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "files": "filesChange"; "filesAdded": "filesAdded"; "fileRemoved": "fileRemoved"; }, never, ["[hint]"], true, never>;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export { DropzoneComponent };
|
|
@@ -1,7 +1,9 @@
|
|
|
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';
|
|
6
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
5
7
|
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
6
8
|
|
|
7
9
|
interface FunnelChartStage {
|
|
@@ -77,11 +79,12 @@ declare class FunnelChartComponent {
|
|
|
77
79
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
78
80
|
* grouping with a K/M/B suffix past four digits. */
|
|
79
81
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
82
|
+
private readonly defaults;
|
|
80
83
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
81
84
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
82
85
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
83
86
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
84
|
-
readonly valueFormatResolved: _angular_core.Signal<
|
|
87
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
85
88
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
86
89
|
* The click output fires whether or not this is set, so a consumer that
|
|
87
90
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -127,6 +130,10 @@ declare class FunnelChartComponent {
|
|
|
127
130
|
protected readonly rovingIndex: _angular_core.WritableSignal<number>;
|
|
128
131
|
protected readonly tabStopIndex: _angular_core.Signal<number>;
|
|
129
132
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
133
|
+
/** A table row stands for its band, so it opens the band's tooltip over the BAND and dims the
|
|
134
|
+
* others — the same state hovering the band itself produces. */
|
|
135
|
+
protected onRowEnter(index: number, event: Event): void;
|
|
136
|
+
protected isDimmed(index: number): boolean;
|
|
130
137
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
131
138
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
132
139
|
protected readonly viewBox = "0 0 100 100";
|
|
@@ -134,6 +141,7 @@ declare class FunnelChartComponent {
|
|
|
134
141
|
* edge it is drawn on, so each band claims half the gap above it and half below — the gap stays
|
|
135
142
|
* exactly as wide to the eye and stops being dead space to the pointer. */
|
|
136
143
|
protected readonly hitGapUnits: _angular_core.Signal<number>;
|
|
144
|
+
protected readonly tableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
137
145
|
protected readonly stages: _angular_core.Signal<{
|
|
138
146
|
stage: FunnelChartStage;
|
|
139
147
|
center: {
|
|
@@ -0,0 +1,124 @@
|
|
|
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 { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
|
+
import { ChartFrame, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
|
+
|
|
8
|
+
/** One row of the matrix. `data` carries one reading per column, in the chart's own column order;
|
|
9
|
+
* a `null` is a cell that was never measured and is drawn as a hole rather than as a low value. */
|
|
10
|
+
interface HeatmapChartRow {
|
|
11
|
+
/** Falls back to the row's position when left out, so a reorder rewrites the DOM. */
|
|
12
|
+
id?: string;
|
|
13
|
+
label: string;
|
|
14
|
+
data: readonly (number | null)[];
|
|
15
|
+
}
|
|
16
|
+
/** One cell, named by the row and the column it sits at. */
|
|
17
|
+
interface HeatmapChartCell {
|
|
18
|
+
readonly row: HeatmapChartRow;
|
|
19
|
+
readonly rowIndex: number;
|
|
20
|
+
readonly columnIndex: number;
|
|
21
|
+
readonly column: string;
|
|
22
|
+
readonly value: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface PlacedCell {
|
|
26
|
+
readonly key: string;
|
|
27
|
+
readonly columnIndex: number;
|
|
28
|
+
readonly column: string;
|
|
29
|
+
readonly value: number | null;
|
|
30
|
+
readonly color: string | null;
|
|
31
|
+
readonly formattedValue: string;
|
|
32
|
+
readonly accessibleName: string;
|
|
33
|
+
}
|
|
34
|
+
interface PlacedRow {
|
|
35
|
+
readonly key: string;
|
|
36
|
+
readonly row: HeatmapChartRow;
|
|
37
|
+
readonly cells: readonly PlacedCell[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A matrix of readings, coloured by magnitude: depot by weekday, hour by date, queue by region.
|
|
41
|
+
*
|
|
42
|
+
* Colour carries the quantity and nothing else carries it on the plot, so every cell names its own
|
|
43
|
+
* reading to assistive tech and the annex table is not optional here the way it is on the other
|
|
44
|
+
* charts - WCAG 1.4.1 is not satisfied by a grid of coloured squares.
|
|
45
|
+
*/
|
|
46
|
+
declare class HeatmapChartComponent {
|
|
47
|
+
/** The column headings, left to right. Their count decides how many readings of a row are drawn:
|
|
48
|
+
* a row longer than this loses its tail, a shorter one ends early. */
|
|
49
|
+
readonly columns: _angular_core.InputSignal<readonly string[]>;
|
|
50
|
+
/** One entry per row, each carrying one reading per column. A `null` reading is a cell that
|
|
51
|
+
* was never measured and is drawn as the surface rather than as the ramp's coldest step. */
|
|
52
|
+
readonly data: _angular_core.InputSignal<readonly HeatmapChartRow[]>;
|
|
53
|
+
/** Printed above the grid as the visible title. */
|
|
54
|
+
readonly caption: _angular_core.InputSignal<string | null>;
|
|
55
|
+
/** Pins the floor of the colour scale. It only ever OPENS the scale further, so a floor above
|
|
56
|
+
* the data cannot push a reading off the ramp. Unset, the scale starts at the lowest reading. */
|
|
57
|
+
readonly min: _angular_core.InputSignal<number | null>;
|
|
58
|
+
/** Pins the ceiling of the colour scale, the same way `min` pins its floor. Set both to compare
|
|
59
|
+
* two heat maps by colour: unset, each one spans its own readings and the same hue means a
|
|
60
|
+
* different quantity on each. */
|
|
61
|
+
readonly max: _angular_core.InputSignal<number | null>;
|
|
62
|
+
/** Prints each cell's reading inside it. Off by default: a grid dense enough to be worth a heat
|
|
63
|
+
* map has no room for the numbers, which is why the annex table is always there. */
|
|
64
|
+
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
65
|
+
/** Makes every measured cell a button. An unmeasured cell stays inert - a grid of buttons with
|
|
66
|
+
* nothing behind them is a tab trap. */
|
|
67
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
68
|
+
/** Fades every cell but the one under the pointer. Off by default: the dimming costs the
|
|
69
|
+
* separation BETWEEN the dimmed cells, which on a ramp is the only thing carrying magnitude. */
|
|
70
|
+
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
+
/** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card the
|
|
72
|
+
* page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */
|
|
73
|
+
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
74
|
+
/** A skeleton at the grid's own height, so the page does not resize when the data lands. */
|
|
75
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
76
|
+
/** Separate from an empty matrix: "the request failed" and "there is nothing to show" read the
|
|
77
|
+
* same and mean opposite things. */
|
|
78
|
+
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
79
|
+
/** Shown when there are no rows or no columns. Unset falls back to `DS_CONFIG.chart.emptyText`. */
|
|
80
|
+
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
81
|
+
/** Shown in place of the grid while `error` is set. Unset falls back to
|
|
82
|
+
* `DS_CONFIG.chart.errorText`. */
|
|
83
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
84
|
+
/** Formats every reading the chart prints - the scale's two ends, each cell's accessible name
|
|
85
|
+
* and the annex table. Unset falls back to `DS_CONFIG.chart.valueFormat`. */
|
|
86
|
+
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
87
|
+
/** Whether a hovered or focused cell opens a tooltip. A heat map's cells carry no printed value
|
|
88
|
+
* by default, so this is where a reading is read without reaching for the annex table. */
|
|
89
|
+
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
90
|
+
/** The clicked cell, with the row and the column it sits at. Never fires for an unmeasured
|
|
91
|
+
* cell, which has no reading to drill into. */
|
|
92
|
+
readonly cellClicked: _angular_core.OutputEmitterRef<HeatmapChartCell>;
|
|
93
|
+
private readonly defaults;
|
|
94
|
+
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
95
|
+
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
96
|
+
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
97
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
98
|
+
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
99
|
+
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
100
|
+
private readonly domain;
|
|
101
|
+
/** The row header column has no name of its own: the corner cell above it is blank, which is
|
|
102
|
+
* what a matrix's top-left is. */
|
|
103
|
+
protected readonly tableColumns: _angular_core.Signal<readonly string[]>;
|
|
104
|
+
protected readonly tableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
105
|
+
protected readonly rows: _angular_core.Signal<readonly PlacedRow[]>;
|
|
106
|
+
/** The legend under the grid: the ramp's own steps with the readings at either end, which is the
|
|
107
|
+
* only thing that says what a colour is worth. */
|
|
108
|
+
protected readonly scaleSteps: _angular_core.Signal<readonly string[]>;
|
|
109
|
+
protected readonly scaleMinLabel: _angular_core.Signal<string>;
|
|
110
|
+
protected readonly scaleMaxLabel: _angular_core.Signal<string>;
|
|
111
|
+
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
112
|
+
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
113
|
+
/** Flattened so one index addresses a cell: `chartActiveMark` counts marks, and a grid's marks
|
|
114
|
+
* are its cells rather than its rows. */
|
|
115
|
+
private readonly flatCells;
|
|
116
|
+
protected cellIndex(rowIndex: number, columnIndex: number): number;
|
|
117
|
+
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
118
|
+
protected onCellClick(row: PlacedRow, cell: PlacedCell, rowIndex: number): void;
|
|
119
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
|
|
120
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "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; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { HeatmapChartComponent };
|
|
124
|
+
export type { HeatmapChartCell, HeatmapChartRow };
|