@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Signal, ElementRef, TemplateRef, ModelSignal, WritableSignal } from '@angular/core';
|
|
3
|
+
import { ChartFormatLocation, ChartCurve, ChartThreshold, IconName, ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
3
4
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
5
5
|
import { FieldMessageState } from '@ids-group-ltd/ids-design-system/components/field-message';
|
|
6
6
|
import { Params, QueryParamsHandling, UrlTree } from '@angular/router';
|
|
7
7
|
import { OverlayRef, Overlay, FlexibleConnectedPositionStrategy, OverlayConfig } from '@angular/cdk/overlay';
|
|
@@ -39,14 +39,30 @@ declare const chartColors: {
|
|
|
39
39
|
readonly ramp6: "var(--ds-chart-ramp-6-color)";
|
|
40
40
|
readonly ramp7: "var(--ds-chart-ramp-7-color)";
|
|
41
41
|
readonly ramp8: "var(--ds-chart-ramp-8-color)";
|
|
42
|
+
readonly heat1: "var(--ds-chart-heat-1-color)";
|
|
43
|
+
readonly heat2: "var(--ds-chart-heat-2-color)";
|
|
44
|
+
readonly heat3: "var(--ds-chart-heat-3-color)";
|
|
45
|
+
readonly heat4: "var(--ds-chart-heat-4-color)";
|
|
46
|
+
readonly heat5: "var(--ds-chart-heat-5-color)";
|
|
47
|
+
readonly heat6: "var(--ds-chart-heat-6-color)";
|
|
48
|
+
readonly heat7: "var(--ds-chart-heat-7-color)";
|
|
49
|
+
readonly heat8: "var(--ds-chart-heat-8-color)";
|
|
42
50
|
};
|
|
43
51
|
/** @internal See chartColors. */
|
|
44
52
|
declare const CHART_SERIES_COLORS: readonly string[];
|
|
45
53
|
/** @internal See chartColors. */
|
|
46
54
|
declare const CHART_RAMP_COLORS: readonly string[];
|
|
55
|
+
/** @internal See chartColors. */
|
|
56
|
+
declare const CHART_HEAT_COLORS: readonly string[];
|
|
47
57
|
|
|
48
58
|
/** @internal */
|
|
49
59
|
declare function formatValue(value: number, locale?: string): string;
|
|
60
|
+
/** The built-in `valueFormat`: compact on a tick (`1.2M`), spelled out everywhere else
|
|
61
|
+
* (`1 248 392`). A caller-supplied formatter receives the same `location` and decides for
|
|
62
|
+
* itself; this is only the default.
|
|
63
|
+
*
|
|
64
|
+
* @internal */
|
|
65
|
+
declare function defaultChartFormat(value: number, location: ChartFormatLocation): string;
|
|
50
66
|
/** @internal */
|
|
51
67
|
declare function formatPercent(value: number, total: number): string;
|
|
52
68
|
/** Whole percentages that sum to exactly 100. Rounding each share on its own
|
|
@@ -76,17 +92,107 @@ declare function describeShare(values: readonly number[], index: number): string
|
|
|
76
92
|
* @internal */
|
|
77
93
|
declare function elementWidth(host: ElementRef<HTMLElement>): Signal<number>;
|
|
78
94
|
|
|
95
|
+
/** The WIDEST label decides for all of them: an axis that thins on the average still collides on
|
|
96
|
+
* the one long month name, and a reader meets the collision rather than the average.
|
|
97
|
+
*
|
|
98
|
+
* @internal */
|
|
99
|
+
declare function labelInterval(labelWidths: readonly number[], step: number, rotated: boolean): number;
|
|
100
|
+
/** Asked before thinning, so the axis spends a tilt before it spends a reading.
|
|
101
|
+
*
|
|
102
|
+
* @internal */
|
|
103
|
+
declare function rotationWouldFit(labelWidths: readonly number[], step: number): boolean;
|
|
104
|
+
|
|
105
|
+
/** One reading on two continuous scales. Structural and local: the decimators work on any pair
|
|
106
|
+
* of continuous coordinates, and naming the published type here would put a chart's own type in
|
|
107
|
+
* the shared entry point. */
|
|
108
|
+
interface Reading {
|
|
109
|
+
readonly x: number;
|
|
110
|
+
readonly y: number;
|
|
111
|
+
}
|
|
112
|
+
/** How many marks the plot can carry: one per pixel of its own width. Drawing two marks where the
|
|
113
|
+
* screen has one pixel is two DOM nodes the reader cannot tell apart.
|
|
114
|
+
*
|
|
115
|
+
* @internal */
|
|
116
|
+
declare function decimationTarget(plotWidth: number): number;
|
|
79
117
|
/** @internal */
|
|
80
|
-
declare function
|
|
118
|
+
declare function needsDecimating(count: number, target: number): boolean;
|
|
119
|
+
/** Buckets the series by position and keeps each bucket's highest and lowest reading.
|
|
120
|
+
*
|
|
121
|
+
* The default, because it is the only one of the two that can PROMISE something: a bucket's
|
|
122
|
+
* extremum is in the output by construction, so a spike the reader is looking for cannot be the
|
|
123
|
+
* point that was dropped. It also parallelises and stays stable while the reader pans, since a
|
|
124
|
+
* bucket's answer does not depend on the buckets around it.
|
|
125
|
+
*
|
|
126
|
+
* @internal */
|
|
127
|
+
declare function minMaxDecimate(points: readonly Reading[], target: number): readonly Reading[];
|
|
128
|
+
/** Largest Triangle Three Buckets: keeps the reading in each bucket that makes the biggest triangle
|
|
129
|
+
* with the point already kept and the next bucket's centre of mass.
|
|
130
|
+
*
|
|
131
|
+
* It draws a truer SHAPE than MinMax at the same budget, and it makes no promise about the
|
|
132
|
+
* extremum - a spike is dropped whenever a different point describes the silhouette better. Reach
|
|
133
|
+
* for it where the outline is the reading and an individual point is not.
|
|
134
|
+
*
|
|
135
|
+
* @internal */
|
|
136
|
+
declare function lttbDecimate(points: readonly Reading[], target: number): readonly Reading[];
|
|
137
|
+
|
|
138
|
+
/** One plotted reading, in the canvas's own coordinates.
|
|
139
|
+
*
|
|
140
|
+
* @internal */
|
|
141
|
+
interface LinePoint {
|
|
142
|
+
readonly categoryIndex: number;
|
|
143
|
+
readonly x: number;
|
|
144
|
+
readonly y: number;
|
|
145
|
+
readonly value: number;
|
|
146
|
+
}
|
|
147
|
+
/** The unbroken runs of a series: a missing reading ends one run and starts the next.
|
|
148
|
+
*
|
|
149
|
+
* @internal */
|
|
150
|
+
declare function lineSegments(points: readonly (LinePoint | null)[]): LinePoint[][];
|
|
151
|
+
/** `''` rather than a partial list when a coordinate is unplottable: one `NaN` in a
|
|
152
|
+
* `points` list or a path `d` voids the whole attribute, and the line then vanishes
|
|
153
|
+
* with nothing logged.
|
|
154
|
+
*
|
|
155
|
+
* @internal */
|
|
156
|
+
declare function polylinePoints(segment: readonly LinePoint[]): string;
|
|
157
|
+
/** One unbroken run as a path `d`. `''` rather than a partial path when a coordinate is
|
|
158
|
+
* unplottable: one `NaN` voids the whole attribute and the line vanishes with nothing logged.
|
|
159
|
+
*
|
|
160
|
+
* @internal */
|
|
161
|
+
declare function linePath(segment: readonly LinePoint[], curve?: ChartCurve): string;
|
|
162
|
+
/** The filled band between two edges - a stacked area sitting on the series below it, or a
|
|
163
|
+
* confidence band around a line. The lower edge is walked BACKWARDS, so its curve is rebuilt from
|
|
164
|
+
* the reversed points rather than reused: a monotone cubic is not symmetric, and closing the shape
|
|
165
|
+
* along the forward path would bend the bottom of the band the wrong way.
|
|
166
|
+
*
|
|
167
|
+
* @internal */
|
|
168
|
+
declare function bandPath(upper: readonly LinePoint[], lower: readonly LinePoint[], curve?: ChartCurve): string;
|
|
169
|
+
/** The same run as `linePath`, closed down to the baseline. It takes the curve so a filled series
|
|
170
|
+
* and its own line share one edge - drawn apart, a smooth line floats off a straight-edged fill.
|
|
171
|
+
*
|
|
172
|
+
* @internal */
|
|
173
|
+
declare function areaPath(segment: readonly LinePoint[], baselineY: number, curve?: ChartCurve): string;
|
|
174
|
+
|
|
175
|
+
/** The floor of a domain that has to include zero: zero itself for an all-positive
|
|
176
|
+
* series, and the most negative reading otherwise.
|
|
177
|
+
*
|
|
178
|
+
* @internal */
|
|
179
|
+
declare function domainMinOf(values: readonly number[]): number;
|
|
180
|
+
/** @internal */
|
|
181
|
+
declare function tickValues(domainMin: number, domainMax: number, targetCount: number): number[];
|
|
182
|
+
/** @internal */
|
|
183
|
+
interface NiceDomain {
|
|
184
|
+
readonly min: number;
|
|
185
|
+
readonly max: number;
|
|
186
|
+
}
|
|
81
187
|
/** @internal */
|
|
82
|
-
declare function
|
|
188
|
+
declare function niceDomain(domainMin: number, domainMax: number, targetCount: number): NiceDomain;
|
|
83
189
|
/** Distance between two ticks, which `formatTick` needs to pick a precision. A
|
|
84
190
|
* degenerate series yields a single tick and therefore no step.
|
|
85
191
|
*
|
|
86
192
|
* @internal */
|
|
87
193
|
declare function tickStep(ticks: readonly number[]): number;
|
|
88
194
|
/** @internal */
|
|
89
|
-
declare function linearScale(domainMax: number, rangeSize: number): (value: number) => number;
|
|
195
|
+
declare function linearScale(domainMin: number, domainMax: number, rangeSize: number): (value: number) => number;
|
|
90
196
|
/** @internal */
|
|
91
197
|
interface PointScale {
|
|
92
198
|
readonly step: number;
|
|
@@ -117,6 +223,13 @@ interface BandScale {
|
|
|
117
223
|
declare function pointScale(count: number, rangeSize: number): PointScale;
|
|
118
224
|
/** @internal */
|
|
119
225
|
declare function bandScale(count: number, rangeSize: number, paddingRatio: number): BandScale;
|
|
226
|
+
/** The smallest 1/2/5/10 x power-of-ten step that is not below `minimumStep`.
|
|
227
|
+
* `niceDomain` picks its own number of intervals, so it cannot answer this: a second
|
|
228
|
+
* axis drawn against the first's gridlines has to reach its data within the intervals
|
|
229
|
+
* the first already drew.
|
|
230
|
+
*
|
|
231
|
+
* @internal */
|
|
232
|
+
declare function roundStepAtLeast(minimumStep: number): number;
|
|
120
233
|
|
|
121
234
|
/** Entrance delay for the mark at `index`, in milliseconds. `stepMs` of `0` is the default and
|
|
122
235
|
* means no stagger at all.
|
|
@@ -131,9 +244,13 @@ declare function staggerDelay(index: number, stepMs: number): number;
|
|
|
131
244
|
*
|
|
132
245
|
* @internal */
|
|
133
246
|
declare function nextRovingIndex(key: string, current: number, count: number): number | null;
|
|
247
|
+
/** The mark `index` within `scope`. `within` narrows the search for a chart whose marks repeat the
|
|
248
|
+
* same index once per series.
|
|
249
|
+
*
|
|
250
|
+
* @internal */
|
|
251
|
+
declare function markAt(scope: Element | null, index: number, within?: string): Element | null;
|
|
134
252
|
/** Moves DOM focus to the mark `index` within `scope`, which is what makes the roving tabindex a
|
|
135
|
-
* traversal rather than a state change nobody can see.
|
|
136
|
-
* whose marks repeat the same index once per series.
|
|
253
|
+
* traversal rather than a state change nobody can see.
|
|
137
254
|
*
|
|
138
255
|
* @internal */
|
|
139
256
|
declare function focusMark(scope: Element | null, index: number, within?: string): void;
|
|
@@ -152,7 +269,7 @@ interface SummaryPoint {
|
|
|
152
269
|
* levels of chart description, and the encoding is the one thing a screen-reader user cannot use.
|
|
153
270
|
*
|
|
154
271
|
* @internal */
|
|
155
|
-
declare function describeSeries(label: string, points: readonly SummaryPoint[], format?: (value: number) => string, tableFollows?: boolean): string;
|
|
272
|
+
declare function describeSeries(label: string, points: readonly SummaryPoint[], format?: (value: number) => string, tableFollows?: boolean, thresholds?: readonly ChartThreshold[]): string;
|
|
156
273
|
|
|
157
274
|
/** @internal */
|
|
158
275
|
declare function chipFit(count: Signal<number>, chipRow: Signal<ElementRef<HTMLElement> | undefined>, enabled: Signal<boolean>,
|
|
@@ -827,5 +944,30 @@ interface DsTypeAhead {
|
|
|
827
944
|
/** @internal */
|
|
828
945
|
declare function createTypeAhead(): DsTypeAhead;
|
|
829
946
|
|
|
830
|
-
|
|
831
|
-
|
|
947
|
+
/** The five inputs every chart carries for the decisions an app makes once rather than per plot.
|
|
948
|
+
*
|
|
949
|
+
* @internal */
|
|
950
|
+
interface ChartDefaultInputs {
|
|
951
|
+
readonly frame: Signal<ChartFrame | null>;
|
|
952
|
+
/** Absent on a chart with no annex table of its own - the container, the heat map. */
|
|
953
|
+
readonly dataTable?: Signal<ChartDataTable | null>;
|
|
954
|
+
readonly emptyText: Signal<string | null>;
|
|
955
|
+
readonly errorText: Signal<string | null>;
|
|
956
|
+
readonly valueFormat: Signal<ChartValueFormat | null>;
|
|
957
|
+
/** Absent on a chart with no tooltip of its own. */
|
|
958
|
+
readonly tooltipLingerMs?: Signal<number | null>;
|
|
959
|
+
}
|
|
960
|
+
/** Each resolved input → `DS_CONFIG.chart` → the built-in. Call from an injection context.
|
|
961
|
+
*
|
|
962
|
+
* @internal */
|
|
963
|
+
declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
|
|
964
|
+
frame: Signal<ChartFrame>;
|
|
965
|
+
dataTable: Signal<ChartDataTable>;
|
|
966
|
+
emptyText: Signal<string>;
|
|
967
|
+
errorText: Signal<string>;
|
|
968
|
+
valueFormat: Signal<typeof defaultChartFormat>;
|
|
969
|
+
tooltipLingerMs: Signal<number>;
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
export { CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_SERIES_COLORS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, defaultChartFormat, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, forwardOverlayTokens, labelInterval, largestRemainder, linePath, lineSegments, linearScale, lttbDecimate, markAt, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
|
|
973
|
+
export type { BandScale, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, NiceDomain, PointScale, SummaryPoint };
|
|
@@ -26,8 +26,67 @@ type ChartDataTable = 'toggle' | 'visible' | 'none';
|
|
|
26
26
|
/** Whether a chart draws its own bordered, padded box. `'auto'` draws it; `'none'` leaves the
|
|
27
27
|
* chart bare, for a chart placed inside a card the page has already drawn. */
|
|
28
28
|
type ChartFrame = 'auto' | 'none';
|
|
29
|
-
/**
|
|
30
|
-
|
|
29
|
+
/** Where a chart-value formatter is printing: the compact `'tick'` label on the value axis, or
|
|
30
|
+
* `'tooltip'` everywhere else a value is spelled out in full, meaning the annex table, the
|
|
31
|
+
* generated description, and a value printed beside a mark. */
|
|
32
|
+
type ChartFormatLocation = 'tick' | 'tooltip';
|
|
33
|
+
/** Formats every value a chart prints — the annex table and the generated description included.
|
|
34
|
+
* Called with the location it is formatting for, so one function can abbreviate on the axis and
|
|
35
|
+
* spell the value out everywhere else. */
|
|
36
|
+
type ChartValueFormat = (value: number, location: ChartFormatLocation) => string;
|
|
37
|
+
/** How a reference line is stroked. Named rather than a `stroke-dasharray`, so the rhythm is the
|
|
38
|
+
* design system's to retune once and the same word draws the same line on every chart. */
|
|
39
|
+
type ChartThresholdDash = 'solid' | 'dashed' | 'dotted';
|
|
40
|
+
/** A line drawn across a chart's plot at one reading - a target, a budget, an SLA - or, with `to`,
|
|
41
|
+
* the band between two of them.
|
|
42
|
+
*
|
|
43
|
+
* ONE number, not a coordinate pair: a horizontal line has a single reading, and a shape that
|
|
44
|
+
* makes it write that reading twice is a shape whose two ends can drift apart. */
|
|
45
|
+
interface ChartThreshold {
|
|
46
|
+
readonly value: number;
|
|
47
|
+
/** Printed at the line's left end and named in the generated description. An unlabelled one
|
|
48
|
+
* reads as "Threshold" there. */
|
|
49
|
+
readonly label?: string;
|
|
50
|
+
/** Any CSS colour. Unset takes `--ds-chart-threshold-color`. */
|
|
51
|
+
readonly color?: string;
|
|
52
|
+
/** The band's other end. Present, the threshold is drawn as a filled region between the two
|
|
53
|
+
* readings rather than a line; either order reads the same. */
|
|
54
|
+
readonly to?: number;
|
|
55
|
+
/** Defaults to `'dashed'`, which is what separates an annotation from another series. Carries
|
|
56
|
+
* nothing on a band, which is a fill. */
|
|
57
|
+
readonly dash?: ChartThresholdDash;
|
|
58
|
+
}
|
|
59
|
+
/** Which of a chart's two value axes a mark is measured against. */
|
|
60
|
+
type ChartAxis = 'primary' | 'secondary';
|
|
61
|
+
/** How a chart's second value axis relates to its first. Every name says what is done to the
|
|
62
|
+
* GRIDLINES, which is the only thing the four modes actually differ in.
|
|
63
|
+
*
|
|
64
|
+
* - `'aligned'` - one set of gridlines, and the secondary axis rounds its step up to a round
|
|
65
|
+
* number, so its series stops short of the top.
|
|
66
|
+
* - `'exact'` - one set of gridlines, and the secondary axis ends exactly at its largest
|
|
67
|
+
* reading, so its series uses the full height and the labels are not round.
|
|
68
|
+
* - `'dual-grid'` - each axis is scaled and gridded on its own.
|
|
69
|
+
* - `'split'` - two plots one above the other, sharing the category axis. */
|
|
70
|
+
type ChartAxisMode = 'aligned' | 'exact' | 'dual-grid' | 'split';
|
|
71
|
+
/** How a line joins its readings. `'linear'` asserts nothing the data does not say. `'step'`
|
|
72
|
+
* holds each reading until the next, which is right for a quantity that CHANGES at a moment
|
|
73
|
+
* rather than drifting between two. `'smooth'` is a monotone cubic: it never draws a peak or a
|
|
74
|
+
* trough the readings do not contain, which a Catmull-Rom does. */
|
|
75
|
+
type ChartCurve = 'linear' | 'step' | 'smooth';
|
|
76
|
+
/** What a `null` reading draws: a hole in the line, or a point at zero. */
|
|
77
|
+
type ChartGaps = 'break' | 'zero';
|
|
78
|
+
/** How several series share one category's band.
|
|
79
|
+
*
|
|
80
|
+
* - `'none'` - every series draws from the baseline at the band's centre, which is the single
|
|
81
|
+
* series case and what a chart that was handed one list has always done.
|
|
82
|
+
* - `'grouped'` - each series takes its own slot inside the band, side by side.
|
|
83
|
+
* - `'stacked'` - each series starts where the one before it ended, so the band's full height is
|
|
84
|
+
* the category's total.
|
|
85
|
+
* - `'normalized'` - stacked, then divided by the category's own total, so every band is full and
|
|
86
|
+
* the axis reads in shares rather than in the data's own unit.
|
|
87
|
+
*
|
|
88
|
+
* Unrelated to `ChartAxisMode`'s `'split'`, which puts two PLOTS one above the other. */
|
|
89
|
+
type ChartStackMode = 'none' | 'grouped' | 'stacked' | 'normalized';
|
|
31
90
|
|
|
32
91
|
declare const ICONS: {
|
|
33
92
|
readonly search: "<circle cx=\"11\" cy=\"11\" r=\"7\" /><path d=\"m20 20-3.5-3.5\" />";
|
|
@@ -89,7 +148,7 @@ declare const ICONS: {
|
|
|
89
148
|
readonly lock: "<rect x=\"4\" y=\"11\" width=\"16\" height=\"10\" rx=\"2\" /><path d=\"M8 11V7a4 4 0 0 1 8 0v4\" />";
|
|
90
149
|
readonly logout: "<path d=\"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4\" /><path d=\"m16 17 5-5-5-5M21 12H9\" />";
|
|
91
150
|
readonly help: "<circle cx=\"12\" cy=\"12\" r=\"9\" /><path d=\"M9.5 9a2.5 2.5 0 0 1 5 0c0 1.5-2.5 2-2.5 4M12 17v.01\" />";
|
|
92
|
-
readonly pin: "<path d=\"
|
|
151
|
+
readonly pin: "<path d=\"M15 4.5 11 8.5 7 10 5.5 11.5 12.5 18.5 14 17 15.5 13 19.5 9\" /><path d=\"m9 15-4.5 4.5\" /><path d=\"m14.5 4 5.5 5.5\" />";
|
|
93
152
|
readonly bookmark: "<path d=\"M5 21V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16l-7-4z\" />";
|
|
94
153
|
readonly sparkle: "<path d=\"M12 3v6M12 15v6M3 12h6M15 12h6M5.6 5.6l4.2 4.2M14.2 14.2l4.2 4.2M5.6 18.4l4.2-4.2M14.2 9.8l4.2-4.2\" />";
|
|
95
154
|
readonly layers: "<path d=\"m12 3 9 5-9 5-9-5z\" /><path d=\"m3 13 9 5 9-5M3 18l9 5 9-5\" />";
|
|
@@ -194,6 +253,19 @@ interface DsConfig {
|
|
|
194
253
|
* `ds-modal` ancestor to bind — an attribute cannot reach it. */
|
|
195
254
|
dividers?: boolean;
|
|
196
255
|
};
|
|
256
|
+
banner?: {
|
|
257
|
+
/** Default for every `ds-banner`'s `announce`. Default `false`, because an
|
|
258
|
+
* `alert` region fires on INSERTION: a banner that is page furniture would
|
|
259
|
+
* interrupt the reader on every route into the page. Set `true` where the app
|
|
260
|
+
* raises banners in response to events, and bind `[announce]="false"` on the
|
|
261
|
+
* furniture. `ds-alert` has its own key, so the two can differ. */
|
|
262
|
+
announce?: boolean;
|
|
263
|
+
};
|
|
264
|
+
alert?: {
|
|
265
|
+
/** Default for every `ds-alert`'s `announce`. Default `false`, for the reason
|
|
266
|
+
* under `banner.announce`. */
|
|
267
|
+
announce?: boolean;
|
|
268
|
+
};
|
|
197
269
|
toast?: {
|
|
198
270
|
/** Where the stack sits. Merged field by field over the built-in
|
|
199
271
|
* `right` / `top` / `var(--space-6)`, so naming one key keeps the other two. */
|
|
@@ -201,6 +273,8 @@ interface DsConfig {
|
|
|
201
273
|
/** Maximum number of toasts visible at once. Extras are queued and shown as
|
|
202
274
|
* earlier ones dismiss. Default `5`; `0` means unlimited. */
|
|
203
275
|
maxVisible?: number;
|
|
276
|
+
/** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */
|
|
277
|
+
showQueueCount?: boolean;
|
|
204
278
|
};
|
|
205
279
|
picker?: {
|
|
206
280
|
/** Default for `ds-multi-select``s `searchable`. `true` always shows the panel's
|
|
@@ -488,4 +562,4 @@ type DsTriggerDisplay = 'full' | 'count' | 'labels';
|
|
|
488
562
|
type DsControlWidth = 'fill' | 'content';
|
|
489
563
|
|
|
490
564
|
export { DS_CONFIG, ICONS, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, resolveWithConfig };
|
|
491
|
-
export type { CardElevation, CardPadding, ChartDataTable, ChartFrame, ChartValueFormat, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName };
|
|
565
|
+
export type { CardElevation, CardPadding, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName };
|
|
@@ -1,54 +1,57 @@
|
|
|
1
1
|
export { DS_FIELD_WARNING_KIND, DsAriaCurrent, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldError, DsFieldErrorsInput, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsRouterLink, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
|
|
2
2
|
export { ACCORDION, AccordionComponent, AccordionContract, AccordionItemComponent, AccordionItemRef } from '@ids-group-ltd/ids-design-system/components/accordion';
|
|
3
3
|
export { AlertComponent, AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';
|
|
4
|
-
export { AppLayoutComponent,
|
|
4
|
+
export { AppLayoutComponent, AppLayoutNavigationService, AppLayoutScrollService, DsAppLayoutScrollReset, RailTriggerDirective } from '@ids-group-ltd/ids-design-system/components/app-layout';
|
|
5
5
|
export { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';
|
|
6
6
|
export { AutocompleteComponent, AutocompleteItem, AutocompleteOption, AutocompleteOptionGroup, AutocompleteValueOverflow, AutocompleteWidth } from '@ids-group-ltd/ids-design-system/components/autocomplete';
|
|
7
7
|
export { AvatarComponent, AvatarSize, AvatarStatus, AvatarTintOptions, avatarTint, initialsFrom } from '@ids-group-ltd/ids-design-system/components/avatar';
|
|
8
8
|
export { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';
|
|
9
9
|
export { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';
|
|
10
10
|
export { BannerComponent, BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';
|
|
11
|
-
export {
|
|
11
|
+
export { BarComponent, BarSemantics, BarVariant } from '@ids-group-ltd/ids-design-system/components/bar';
|
|
12
|
+
export { BarChartComponent, BarChartRow, BarChartSegment, BarChartValue } from '@ids-group-ltd/ids-design-system/components/bar-chart';
|
|
12
13
|
export { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';
|
|
13
14
|
export { BreadcrumbItem, BreadcrumbsComponent, BreadcrumbsService } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';
|
|
14
|
-
export { ButtonColor, ButtonComponent, ButtonType, ButtonVariant } from '@ids-group-ltd/ids-design-system/components/button';
|
|
15
|
+
export { ButtonAlign, ButtonColor, ButtonComponent, ButtonType, ButtonVariant } from '@ids-group-ltd/ids-design-system/components/button';
|
|
15
16
|
export { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';
|
|
16
17
|
export { CardComponent, CardElevation, CardPadding } from '@ids-group-ltd/ids-design-system/components/card';
|
|
18
|
+
export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartAnnotation, ChartComponent, ChartPlot, ChartScales, ChartStackOffset, ColumnSeriesComponent, ColumnSeriesPoint, LineSeriesComponent, LineSeriesData, ReferenceLabelComponent, ReferenceLineComponent, SeriesAnnotationComponent, stackOffsets } from '@ids-group-ltd/ids-design-system/components/chart';
|
|
19
|
+
export { ChartDataRow, ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
17
20
|
export { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
18
21
|
export { ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
19
22
|
export { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';
|
|
20
23
|
export { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';
|
|
21
|
-
export { ColumnChartComponent, ColumnChartPoint } from '@ids-group-ltd/ids-design-system/components/column-chart';
|
|
22
|
-
export { DatePickerComponent, DatePickerMode, DatePickerPreset, DatePickerValue,
|
|
24
|
+
export { ColumnChartComponent, ColumnChartPoint, ColumnChartSeries } from '@ids-group-ltd/ids-design-system/components/column-chart';
|
|
25
|
+
export { DatePickerComponent, DatePickerMode, DatePickerPreset, DatePickerValue, DateRangeValue, DateValue } from '@ids-group-ltd/ids-design-system/components/date-picker';
|
|
23
26
|
export { DescriptionItemComponent, DescriptionListComponent, DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';
|
|
24
27
|
export { DividerComponent, DividerSpacing, DividerVariant } from '@ids-group-ltd/ids-design-system/components/divider';
|
|
25
|
-
export { DonutChartComponent, DonutChartSlice } from '@ids-group-ltd/ids-design-system/components/donut-chart';
|
|
26
28
|
export { DrawerComponent, DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';
|
|
27
29
|
export { DropzoneComponent, DropzoneFile, DropzoneFileState } from '@ids-group-ltd/ids-design-system/components/dropzone';
|
|
28
30
|
export { EmptyStateComponent, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
|
|
29
31
|
export { DS_FIELD_GROUP, DsFieldGroupContext, FieldGroupComponent } from '@ids-group-ltd/ids-design-system/components/field-group';
|
|
30
32
|
export { FilterBarComponent, FilterItemDirective } from '@ids-group-ltd/ids-design-system/components/filter-bar';
|
|
31
33
|
export { FunnelChartComponent, FunnelChartDrop, FunnelChartShape, FunnelChartStage } from '@ids-group-ltd/ids-design-system/components/funnel-chart';
|
|
34
|
+
export { HeatmapChartCell, HeatmapChartComponent, HeatmapChartRow } from '@ids-group-ltd/ids-design-system/components/heatmap-chart';
|
|
32
35
|
export { IconButtonComponent, IconButtonType, IconButtonVariant } from '@ids-group-ltd/ids-design-system/components/icon-button';
|
|
33
36
|
export { InputComponent, InputType } from '@ids-group-ltd/ids-design-system/components/input';
|
|
34
37
|
export { ContainerComponent, ContainerSize, InlineComponent, LayoutAlign, LayoutGap, LayoutJustify, StackComponent } from '@ids-group-ltd/ids-design-system/components/layout';
|
|
35
|
-
export { LineChartAnnotation,
|
|
38
|
+
export { LineChartAnnotation, LineChartComponent, LineChartReading, LineChartSeries } from '@ids-group-ltd/ids-design-system/components/line-chart';
|
|
36
39
|
export { ListComponent, ListItemComponent } from '@ids-group-ltd/ids-design-system/components/list';
|
|
37
40
|
export { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';
|
|
38
41
|
export { MenuComponent, MenuDividerComponent, MenuItemComponent } from '@ids-group-ltd/ids-design-system/components/menu';
|
|
39
|
-
export { MeterComponent } from '@ids-group-ltd/ids-design-system/components/meter';
|
|
40
42
|
export { ModalCardComponent, ModalComponent, ModalConfirmOptions, ModalConfirmTone, ModalService, ModalSize } from '@ids-group-ltd/ids-design-system/components/modal';
|
|
41
43
|
export { MultiSelectComponent, MultiSelectItem, MultiSelectOption, MultiSelectOptionGroup, MultiSelectWidth } from '@ids-group-ltd/ids-design-system/components/multi-select';
|
|
42
44
|
export { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';
|
|
43
45
|
export { OtpInputComponent, OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';
|
|
44
46
|
export { PageFooterComponent, PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';
|
|
45
47
|
export { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';
|
|
46
|
-
export { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';
|
|
48
|
+
export { PaginationComponent, PaginationLayout } from '@ids-group-ltd/ids-design-system/components/pagination';
|
|
47
49
|
export { DsPasswordRule, DsPasswordRuleState, PasswordRulesComponent, passwordRulesMet } from '@ids-group-ltd/ids-design-system/components/password-rules';
|
|
50
|
+
export { PieChartComponent, PieChartSlice } from '@ids-group-ltd/ids-design-system/components/pie-chart';
|
|
48
51
|
export { PopoverAlign, PopoverComponent, PopoverPlacement } from '@ids-group-ltd/ids-design-system/components/popover';
|
|
49
|
-
export { ProgressComponent, ProgressVariant } from '@ids-group-ltd/ids-design-system/components/progress';
|
|
50
52
|
export { RADIO_GROUP, RadioComponent, RadioGroupChild, RadioGroupComponent, RadioGroupContract } from '@ids-group-ltd/ids-design-system/components/radio-group';
|
|
51
53
|
export { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';
|
|
54
|
+
export { ScatterChartComponent, ScatterChartDecimator, ScatterChartReading, ScatterChartSeries, ScatterPoint } from '@ids-group-ltd/ids-design-system/components/scatter-chart';
|
|
52
55
|
export { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';
|
|
53
56
|
export { SegmentedComponent, SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';
|
|
54
57
|
export { SelectComponent, SelectItem, SelectOption, SelectOptionGroup, SelectWidth, isSelectOptionGroup } from '@ids-group-ltd/ids-design-system/components/select';
|
|
@@ -62,7 +65,7 @@ export { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat'
|
|
|
62
65
|
export { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';
|
|
63
66
|
export { StepperComponent, StepperLabelPosition, StepperOrientation } from '@ids-group-ltd/ids-design-system/components/stepper';
|
|
64
67
|
export { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';
|
|
65
|
-
export { CellTemplateDirective, HeaderFilterContext, HeaderFilterDirective, SortChangeEvent,
|
|
68
|
+
export { CellTemplateDirective, HeaderFilterContext, HeaderFilterDirective, SortChangeEvent, SortDirection, TableCellEditEvent, TableColumn, TableComponent, TableExpandMode, TableFilterMode, TableRowAction, TableRowActionEvent, TableSortMode } from '@ids-group-ltd/ids-design-system/components/table';
|
|
66
69
|
export { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';
|
|
67
70
|
export { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table-export';
|
|
68
71
|
export { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';
|
|
@@ -77,7 +80,8 @@ export { TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-
|
|
|
77
80
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
78
81
|
export { TreeComponent, TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
79
82
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
80
|
-
export {
|
|
83
|
+
export { WaterfallChartBar, WaterfallChartComponent, WaterfallChartKind } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';
|
|
84
|
+
export { ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DS_CONFIG, DsConfig, DsControlWidth, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsTriggerDisplay, ICONS, IconName, flattenDsOptions, inheritDsConfig, isDsOptionGroup, isTextClipped, provideDsConfig } from '@ids-group-ltd/ids-design-system/core';
|
|
81
85
|
export { DS_ICON_REGISTRY, DsIconRegistry, IconComponent, provideDsIcons } from '@ids-group-ltd/ids-design-system/icons';
|
|
82
86
|
export { BodyScrollLockService, DsOverlayCloseRef } from '@ids-group-ltd/ids-design-system/overlay';
|
|
83
87
|
export { DsThemeOptions, provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-meter>` — `MeterComponent`
|
|
3
|
-
|
|
4
|
-
Group: Display & feedback
|
|
5
|
-
|
|
6
|
-
One track and one fill, for a measurement inside a table cell — no caption, no legend, no annex table.
|
|
7
|
-
Inputs: `value: number = 0` (in units of `max`, clamped), `max: number = 100` (zero or less falls back to 100), `color: string | null = null`, `ariaLabel: string | null = null`.
|
|
8
|
-
Not `<ds-progress>`: that reports how far a task has got and says so with `role="progressbar"`, which a table of two hundred measurements would announce two hundred times. Here the mark is `aria-hidden` unless `ariaLabel` names it — leave it unset where the cell prints the figure beside the bar, set it where the bar is the only place the number appears.
|
|
9
|
-
`max` is usually the column's own largest value, so the longest bar fills its track and the rest are its share.
|
|
10
|
-
The meter fills whatever box it is in, so the column decides the bar's width. A box sized to its content — `width: 'content'` on `ds-table`, or a shrink-to-fit flex or grid item — is sized by what its contents contribute intrinsically, and a bar that is 100% of its cell contributes nothing, so the host carries a `min-inline-size` of `3rem`. Give it a width of your own where the bar should be a fixed size.
|
|
11
|
-
Tokens: `--ds-meter-height`, `--ds-meter-min-width`, `--ds-meter-track-color`, `--ds-meter-radius`, `--ds-meter-fill-color`.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-progress>` — `ProgressComponent`
|
|
3
|
-
|
|
4
|
-
Group: Display & feedback
|
|
5
|
-
|
|
6
|
-
Linear progress bar (no circular variant).
|
|
7
|
-
Inputs: `value: number = 0` (in units of `max`, clamped), `max: number = 100`, `variant: 'default' | 'success' | 'warning' | 'error' = 'default'`, `indeterminate: boolean = false`, `target: number | null = null`, `ariaLabel: string | null = null`.
|
|
8
|
-
`max` is the scale `value` and `target` are read against; left at 100 they are percentages. Set it to the real total — `[value]="37" [max]="80"` — and `aria-valuenow`/`aria-valuemax` carry "37 of 80" instead of a percentage the caller had to compute. Zero or less falls back to 100.
|
|
9
|
-
`target` is a second point on the same scale, drawn as a hairline across the track — a goal or baseline to read `value` against. Clamped like `value` and ignored while `indeterminate`. `role="progressbar"` announces one value, so name the comparison in `ariaLabel` ("Resolved 62% against a 75% target"); the mark alone reaches nobody using a screen reader.
|
|
10
|
-
Tokens: `--ds-progress-height`, `--ds-progress-track-color`, `--ds-progress-bar-color`, `--ds-progress-bar-color-success`, `--ds-progress-bar-color-warning`, `--ds-progress-bar-color-error`, `--ds-progress-target-color`, `--ds-progress-target-width`.
|