@ids-group-ltd/ids-design-system 0.14.8 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1145 -234
- package/components.md +122 -53
- package/docs/agent/INDEX.md +5 -3
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +7 -4
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +2 -1
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-heatmap-chart.md +2 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +3 -2
- package/docs/agent/charts/ds-scatter-chart.md +2 -1
- package/docs/agent/charts/ds-waterfall-chart.md +2 -2
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-loading-overlay.md +2 -0
- package/docs/agent/feedback/ds-skeleton.md +1 -1
- package/docs/agent/feedback/ds-toast.md +2 -0
- package/docs/agent/forms/ds-autocomplete.md +1 -1
- package/docs/agent/forms/ds-button.md +1 -0
- package/docs/agent/forms/ds-checkbox.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +2 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +1 -1
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-radio-group.md +1 -1
- package/docs/agent/forms/ds-segmented.md +1 -1
- package/docs/agent/forms/ds-select.md +1 -1
- package/docs/agent/forms/ds-slider.md +1 -1
- package/docs/agent/forms/ds-switch.md +1 -1
- package/docs/agent/forms/ds-textarea.md +1 -1
- package/docs/agent/forms/ds-time-picker.md +1 -1
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/docs/agent/foundations/global-helper-classes.md +4 -4
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +2 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
- package/docs/agent/overlays/ds-definition-term.md +10 -0
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-info-hint.md +29 -0
- package/docs/agent/overlays/ds-menu.md +1 -1
- package/docs/agent/overlays/ds-modal-card.md +1 -1
- package/docs/agent/overlays/ds-modal.md +19 -1
- package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/tables/ds-table-columns.md +2 -0
- package/docs/agent/tables/ds-table.md +4 -3
- package/eslint/deprecated-api.json +889 -0
- package/eslint/index.mjs +394 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +6 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +27 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +169 -37
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +8 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +7 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +875 -90
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +2183 -1232
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +50 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +22 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs +107 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +5 -15
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +44 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +11 -22
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +51 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +110 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +11 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +41 -46
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +183 -31
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +21 -26
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +27 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +14 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +106 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +7 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +12 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +140 -26
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +29 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs +55 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-show-dirty.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +10 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +36 -18
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +17 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +193 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +26 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +20 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +434 -157
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +18 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +323 -68
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +27 -83
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +3 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +79 -21
- package/migrations/0.10.1.json +38 -21
- package/migrations/0.10.2.json +44 -7
- package/migrations/0.10.3.json +7 -5
- package/migrations/0.11.0.json +10 -7
- package/migrations/0.11.1.json +25 -14
- package/migrations/0.11.2.json +3 -3
- package/migrations/0.11.3.json +9 -6
- package/migrations/0.11.4.json +13 -12
- package/migrations/0.12.1.json +41 -14
- package/migrations/0.12.2.json +7 -6
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +11 -11
- package/migrations/0.13.1.json +60 -8
- package/migrations/0.13.2.json +98 -44
- package/migrations/0.13.3.json +46 -16
- package/migrations/0.13.4.json +23 -22
- package/migrations/0.14.0.json +5 -5
- package/migrations/0.14.1.json +5 -5
- package/migrations/0.14.2.json +1 -1
- package/migrations/0.14.4.json +6 -5
- package/migrations/0.14.5.json +13 -7
- package/migrations/0.14.6.json +2 -2
- package/migrations/0.14.8.json +26 -2
- package/migrations/0.15.0.json +999 -0
- package/migrations/0.15.1.json +738 -0
- package/migrations/0.2.0.json +2 -2
- package/migrations/0.3.0.json +43 -6
- package/migrations/0.4.0.json +95 -13
- package/migrations/0.5.0.json +116 -10
- package/migrations/0.5.1.json +97 -11
- package/migrations/0.6.0.json +30 -1
- package/migrations/0.6.1.json +22 -1
- package/migrations/0.6.2.json +8 -4
- package/migrations/0.6.3.json +17 -5
- package/migrations/0.7.0.json +58 -9
- package/migrations/0.7.1.json +62 -8
- package/migrations/0.8.0.json +60 -12
- package/migrations/0.9.0.json +68 -25
- package/migrations/0.9.1.json +1 -1
- package/migrations/README.md +57 -3
- package/package.json +27 -1
- package/schematics/check-overrides/index.cjs +4 -11
- package/schematics/check-overrides/scan.cjs +12 -1
- package/schematics/check-overrides/surface.json +94 -11
- package/schematics/ng-add/index.cjs +7 -1
- package/stylelint/deprecated-tokens.json +2711 -0
- package/stylelint/index.mjs +94 -0
- package/stylelint/since-version.mjs +26 -0
- package/styles/_chart-frame.scss +14 -0
- package/styles/_chart-interactive.scss +26 -1
- package/styles/_chart-motion.scss +50 -17
- package/styles/_chip-row.scss +5 -2
- package/styles/_clear-button.scss +2 -0
- package/styles/_component-base.scss +56 -0
- package/styles/_dismiss-button.scss +16 -0
- package/styles/_dropdown-overlay.scss +19 -0
- package/styles/_focus.scss +4 -1
- package/styles/_link.scss +35 -12
- package/styles/_overlay-motion.scss +4 -6
- package/styles/_pinned.scss +43 -0
- package/styles/_skeleton-shimmer.scss +2 -8
- package/styles/_table-controls.scss +4 -0
- package/styles/_target.scss +40 -0
- package/styles/_text-clip.scss +23 -4
- package/styles/_tokens.scss +3 -1
- package/styles/_typography.scss +2 -0
- package/styles/_visually-hidden.scss +2 -0
- package/styles/ds.scss +0 -1
- package/themes/README.md +60 -7
- package/themes/_semantic.scss +5 -8
- package/themes/dark/_theme.scss +5 -8
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +74 -4
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +87 -7
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +207 -29
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +30 -4
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-definition-term.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +0 -1
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +19 -2
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +7 -6
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +22 -8
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +23 -0
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +18 -7
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +14 -3
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +0 -2
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +26 -7
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +52 -10
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +6 -1
- package/types/ids-group-ltd-ids-design-system-components-show-dirty.d.ts +29 -0
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +39 -9
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +54 -24
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +9 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +135 -35
- package/types/ids-group-ltd-ids-design-system-core.d.ts +46 -23
- package/types/ids-group-ltd-ids-design-system.d.ts +6 -3
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import * as i1 from '@ids-group-ltd/ids-design-system/components/tooltip';
|
|
3
|
+
|
|
4
|
+
/** Marks a term that carries its definition, on any element: `<span dsDefinitionTerm="…">term</span>`.
|
|
5
|
+
* Brings its own `.ds-definition-term` styles; no stylesheet import is needed. A host other than `<button>` gets
|
|
6
|
+
* `tabindex="0"` and `role="button"`, and `Enter` / `Space` act as a click on it. */
|
|
7
|
+
declare class DefinitionTermDirective {
|
|
8
|
+
private readonly host;
|
|
9
|
+
protected readonly isButton: boolean;
|
|
10
|
+
constructor();
|
|
11
|
+
/** Keeps the definition open after a click until a click outside, `Escape` or blur. Turn it off
|
|
12
|
+
* where the click already does something, such as sorting a table column. */
|
|
13
|
+
readonly pinOnClick: i0.InputSignalWithTransform<boolean, unknown>;
|
|
14
|
+
protected holdSpace(event: Event): void;
|
|
15
|
+
protected pressFromKeyboard(event: Event): void;
|
|
16
|
+
protected releaseFromSpace(event: Event): void;
|
|
17
|
+
protected release(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefinitionTermDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DefinitionTermDirective, "[dsDefinitionTerm]", never, { "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TooltipDirective; inputs: { "dsTooltip": "dsDefinitionTerm"; "dsTooltipPlacement": "dsTooltipPlacement"; }; outputs: {}; }]>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { DefinitionTermDirective };
|
|
@@ -27,7 +27,6 @@ declare class DrawerComponent implements OnDestroy {
|
|
|
27
27
|
private wasOpen;
|
|
28
28
|
private closeFallbackTimer;
|
|
29
29
|
protected readonly classes: _angular_core.Signal<string>;
|
|
30
|
-
private readonly unslotted;
|
|
31
30
|
constructor();
|
|
32
31
|
ngOnDestroy(): void;
|
|
33
32
|
protected onClose(): void;
|
|
@@ -20,13 +20,30 @@ declare class FieldMessageComponent {
|
|
|
20
20
|
readonly icon: _angular_core.InputSignal<false | IconName | null>;
|
|
21
21
|
/** Reserves one line of height with no `text`, so the layout below does not shift. */
|
|
22
22
|
readonly reserve: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
/** Appends the "Changed" mark of a field under `showDirty`, inside the described element. */
|
|
24
|
+
readonly changed: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
private readonly intl;
|
|
26
|
+
protected readonly changedText: _angular_core.Signal<string>;
|
|
23
27
|
private readonly config;
|
|
24
28
|
/** Keyed `hint` in the config, not `default`, which would read as "the default icon". */
|
|
25
29
|
private static readonly BUILT_IN;
|
|
26
30
|
protected readonly iconResolved: _angular_core.Signal<IconName | null>;
|
|
27
31
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldMessageComponent, never>;
|
|
28
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldMessageComponent, "ds-field-message", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "messageId": { "alias": "messageId"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "reserve": { "alias": "reserve"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldMessageComponent, "ds-field-message", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "messageId": { "alias": "messageId"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "reserve": { "alias": "reserve"; "required": false; "isSignal": true; }; "changed": { "alias": "changed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
/** The trailing marks inside a field's control: a spinner while `pending`, a dot when `changed`.
|
|
36
|
+
* The dot is decorative; `ds-field-message` carries the "Changed" text the field describes itself with.
|
|
37
|
+
* @internal
|
|
38
|
+
*/
|
|
39
|
+
declare class FieldStatusComponent {
|
|
40
|
+
/** Shows the spinner. */
|
|
41
|
+
readonly pending: _angular_core.InputSignal<boolean>;
|
|
42
|
+
/** Shows the changed dot. */
|
|
43
|
+
readonly changed: _angular_core.InputSignal<boolean>;
|
|
44
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldStatusComponent, never>;
|
|
45
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldStatusComponent, "ds-field-status", never, { "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "changed": { "alias": "changed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { FieldMessageComponent, FieldStatusComponent };
|
|
32
49
|
export type { FieldMessageState };
|
|
@@ -36,6 +36,8 @@ declare class FunnelChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
36
36
|
/** What the Drop column reports: `'relative'` (default) the share that leaked at this stage,
|
|
37
37
|
* `'absolute'` the count, `'none'` no column. */
|
|
38
38
|
readonly drop: _angular_core.InputSignal<FunnelChartDrop>;
|
|
39
|
+
/** How many stages the loading skeleton draws before the data is known. */
|
|
40
|
+
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
39
41
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
40
42
|
/** The stage clicked or activated with Enter or Space, whether or not `interactive` is set. */
|
|
41
43
|
readonly stageClicked: _angular_core.OutputEmitterRef<FunnelChartStage>;
|
|
@@ -61,11 +63,8 @@ declare class FunnelChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
61
63
|
protected onMarkClick(payload: FunnelChartStage, index: number, event: Event): void;
|
|
62
64
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
63
65
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
64
|
-
private readonly rowHighlight;
|
|
65
|
-
private readonly rowDwell;
|
|
66
66
|
protected onRowEnter(index: number, event: Event): void;
|
|
67
67
|
protected onRowLeave(): void;
|
|
68
|
-
protected isDimmed(index: number): boolean;
|
|
69
68
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
70
69
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
71
70
|
protected readonly viewBox = "0 0 100 100";
|
|
@@ -93,10 +92,12 @@ declare class FunnelChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
93
92
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
94
93
|
protected readonly showDataTable: _angular_core.Signal<boolean>;
|
|
95
94
|
protected readonly chartHeight: _angular_core.Signal<string>;
|
|
96
|
-
/**
|
|
97
|
-
protected readonly
|
|
95
|
+
/** The stage table's columns: stage, value, share, and the drop when it is shown. */
|
|
96
|
+
protected readonly skeletonColumns: _angular_core.Signal<unknown[]>;
|
|
97
|
+
/** Equal stages narrowing by the same step, the funnel's shape before its numbers. */
|
|
98
|
+
protected readonly skeletonStages: _angular_core.Signal<string[]>;
|
|
98
99
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
|
|
99
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FunnelChartComponent, "ds-funnel-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "showTable": { "alias": "showTable"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "drop": { "alias": "drop"; "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; }; }, { "stageClicked": "stageClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
100
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FunnelChartComponent, "ds-funnel-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "showTable": { "alias": "showTable"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "drop": { "alias": "drop"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "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; }; }, { "stageClicked": "stageClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
export { FunnelChartComponent };
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
|
|
4
|
+
import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
5
5
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
6
6
|
|
|
7
7
|
/** One row of the matrix. `data` has one reading per column; a `null` is a cell never measured. */
|
|
@@ -38,6 +38,7 @@ interface PlacedRow {
|
|
|
38
38
|
/** A matrix of readings, coloured by magnitude. Every cell names its reading to assistive tech and the annex table is always present. */
|
|
39
39
|
declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithTooltipTrigger {
|
|
40
40
|
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
41
|
+
protected readonly leaveMark: typeof leaveMark;
|
|
41
42
|
/** The column headings, left to right; a row longer than this loses its tail. */
|
|
42
43
|
readonly columns: _angular_core.InputSignal<readonly string[]>;
|
|
43
44
|
/** One entry per row, one reading per column; a `null` reading is drawn as the surface. */
|
|
@@ -49,22 +50,34 @@ declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable
|
|
|
49
50
|
readonly max: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
50
51
|
/** Prints each cell's reading inside it. */
|
|
51
52
|
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
/** Marks the hovered or focused cell's reading on the colour scale. */
|
|
54
|
+
readonly showScaleMarker: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
52
55
|
/** Fades every cell but the one under the pointer. */
|
|
53
56
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
54
57
|
/** Whether a hovered or focused cell opens a tooltip. */
|
|
55
58
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
56
|
-
/** Milliseconds between one
|
|
59
|
+
/** Milliseconds between one diagonal's entrance and the next, from the top-left cell; `0` turns
|
|
60
|
+
* it off. The spread is capped at 260ms. */
|
|
57
61
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
58
|
-
protected
|
|
62
|
+
protected cellStagger(rowIndex: number, columnIndex: number): string;
|
|
59
63
|
/** The clicked cell, with its row and column. Never fires for an unmeasured cell. */
|
|
60
64
|
readonly cellClicked: _angular_core.OutputEmitterRef<HeatmapChartCell>;
|
|
61
65
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
62
|
-
/** The ramp step under the pointer on the scale;
|
|
66
|
+
/** The ramp step under the pointer on the scale; its cells brighten, and under `dimOthers` the rest fade. */
|
|
63
67
|
protected readonly highlightedStep: _angular_core.WritableSignal<number | null>;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
protected readonly stepHighlight: {
|
|
69
|
+
enter(item: number, event: Event): void;
|
|
70
|
+
leave(): void;
|
|
71
|
+
};
|
|
67
72
|
protected isCellDimmed(cell: PlacedCell): boolean;
|
|
73
|
+
private readonly host;
|
|
74
|
+
private readonly scaleMarkerIndex;
|
|
75
|
+
private readonly settleScaleMarker;
|
|
76
|
+
/** Where the settled cell's reading sits along the scale, as a percentage of the ramp. */
|
|
77
|
+
protected readonly scaleMarker: _angular_core.Signal<{
|
|
78
|
+
offset: number;
|
|
79
|
+
label: string;
|
|
80
|
+
} | null>;
|
|
68
81
|
protected onCellPress(cell: PlacedCell, index: number, event: Event): void;
|
|
69
82
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
70
83
|
private readonly domain;
|
|
@@ -76,13 +89,14 @@ declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable
|
|
|
76
89
|
protected readonly scaleMaxLabel: _angular_core.Signal<string>;
|
|
77
90
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
78
91
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
92
|
+
protected readonly skeletonColumns: _angular_core.Signal<unknown[]>;
|
|
79
93
|
/** Flattened so one index addresses a cell (`chartActiveMark` counts marks). */
|
|
80
94
|
private readonly flatCells;
|
|
81
95
|
protected cellIndex(rowIndex: number, columnIndex: number): number;
|
|
82
96
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
83
97
|
protected onCellClick(row: PlacedRow, cell: PlacedCell, rowIndex: number): void;
|
|
84
98
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
|
|
85
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "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; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
99
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HeatmapChartComponent, "ds-heatmap-chart", ["dsHeatmapChart"], { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "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; }; "showScaleMarker": { "alias": "showScaleMarker"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; }, { "cellClicked": "cellClicked"; }, never, never, true, never>;
|
|
86
100
|
}
|
|
87
101
|
|
|
88
102
|
export { HeatmapChartComponent };
|
|
@@ -28,8 +28,9 @@ declare class IconButtonComponent {
|
|
|
28
28
|
readonly type: _angular_core.InputSignal<IconButtonType>;
|
|
29
29
|
/** Disables the button and blocks `pressed`. */
|
|
30
30
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
-
/** Toggle state: renders the pressed look and sets `aria-pressed
|
|
32
|
-
|
|
31
|
+
/** Toggle state: renders the pressed look and sets `aria-pressed`, `"false"` when bound off.
|
|
32
|
+
* Unbound, the button is no toggle and carries no `aria-pressed`. */
|
|
33
|
+
readonly selected: _angular_core.InputSignalWithTransform<boolean | null, boolean | null>;
|
|
33
34
|
/** `aria-expanded` on the inner `<button>`; bind to the open state. On the host it would land
|
|
34
35
|
* on a non-focusable wrapper. */
|
|
35
36
|
readonly ariaExpanded: _angular_core.InputSignal<boolean | null>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
4
|
+
|
|
5
|
+
declare class InfoHintComponent {
|
|
6
|
+
/** The supplementary text, shown on hover and focus and kept open by a click. `**bold**` runs render bold. */
|
|
7
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
8
|
+
/** A template shown in the panel in place of `text`. Wins over projected content and `text`. */
|
|
9
|
+
readonly content: _angular_core.InputSignal<TemplateRef<unknown> | null>;
|
|
10
|
+
/** Accessible name of the icon button, such as "About conversion rate". */
|
|
11
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
12
|
+
/** Any DS icon; `'help'` draws a question mark in a circle, `'info'` an "i". */
|
|
13
|
+
readonly icon: _angular_core.InputSignal<IconName>;
|
|
14
|
+
private readonly projected;
|
|
15
|
+
private readonly hasProjected;
|
|
16
|
+
private readonly sources;
|
|
17
|
+
protected readonly tip: _angular_core.Signal<string | TemplateRef<unknown>>;
|
|
18
|
+
constructor();
|
|
19
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoHintComponent, never>;
|
|
20
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoHintComponent, "ds-info-hint", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { InfoHintComponent };
|
|
@@ -79,6 +79,8 @@ declare class InputComponent extends DsControlValueAccessor<string> {
|
|
|
79
79
|
protected readonly describedBy: _angular_core.Signal<string | null>;
|
|
80
80
|
private readonly fieldMessage;
|
|
81
81
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
82
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
83
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
82
84
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
83
85
|
protected readonly groupMessage: _angular_core.Signal<string | null>;
|
|
84
86
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
@@ -99,7 +99,8 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
99
99
|
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedSeries[]>;
|
|
100
100
|
/** Ids of the series the legend has switched off. */
|
|
101
101
|
readonly hiddenSeries: _angular_core.ModelSignal<readonly string[]>;
|
|
102
|
-
/** Whether hiding a series re-scales the value axis to what is left.
|
|
102
|
+
/** Whether hiding a series re-scales the value axis to what is left. Off holds the axis where it
|
|
103
|
+
* stands with every series shown. */
|
|
103
104
|
readonly rescaleOnHide: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
104
105
|
/** Whether the legend switches series off. Off leaves it a plain key. */
|
|
105
106
|
readonly legendFilters: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -112,6 +113,16 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
112
113
|
readonly noVisibleSeriesTextResolved: _angular_core.Signal<string>;
|
|
113
114
|
/** Gives every series a dash pattern, so lines differ by shape as well as colour. */
|
|
114
115
|
readonly patterns: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
116
|
+
/** Lets a press dragged across categories select them: a band, the sum and mean of every reading in
|
|
117
|
+
* it, and the readings outside faded. Escape or a press outside clears it. Off by default. */
|
|
118
|
+
readonly selectRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
119
|
+
/** Answers the pointer on the axes: the category label in bold, a guide from the value axis and
|
|
120
|
+
* the value there in a pill on the axis. On by default. */
|
|
121
|
+
readonly showAxisReadout: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
122
|
+
/** On the hovered reading, thickens the stretches from the reading before it and to the reading
|
|
123
|
+
* after it, each in its own rising or falling colour and with its own change in percent; with
|
|
124
|
+
* several series, for the one singled out. */
|
|
125
|
+
readonly showChange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
126
|
/** Milliseconds between one series' entrance and the next; `0` turns it off. The step narrows
|
|
116
127
|
* so the last series still starts within the stagger budget. */
|
|
117
128
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
@@ -154,11 +165,6 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
154
165
|
protected readonly dashPatterns: _angular_core.Signal<readonly string[]>;
|
|
155
166
|
protected readonly markAnnotations: _angular_core.Signal<readonly ChartAnnotation[]>;
|
|
156
167
|
protected readonly hasSecondaryAxis: _angular_core.Signal<boolean>;
|
|
157
|
-
/** The ceiling handed to the container, which only raises its domain to it. Unless `rescaleOnHide`,
|
|
158
|
-
* it spans every series, so hiding one does not move the gridlines. */
|
|
159
|
-
protected readonly axisMax: _angular_core.Signal<number | null>;
|
|
160
|
-
protected readonly axisMaxSecondary: _angular_core.Signal<number | null>;
|
|
161
|
-
private ceilingOf;
|
|
162
168
|
protected readonly plotHeight: _angular_core.Signal<number>;
|
|
163
169
|
protected readonly viewHeightPx: _angular_core.Signal<string>;
|
|
164
170
|
protected onPointClicked(reading: {
|
|
@@ -169,9 +175,14 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
169
175
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
170
176
|
protected readonly showLegend: _angular_core.Signal<boolean>;
|
|
171
177
|
protected readonly noVisibleSeries: _angular_core.Signal<boolean>;
|
|
178
|
+
protected readonly skeletonPoints: _angular_core.Signal<number>;
|
|
179
|
+
protected readonly skeletonValueSpace = 20;
|
|
180
|
+
/** `--ds-line-chart-placeholder-height` sizes the whole skeleton; the plot takes what the labels leave. */
|
|
181
|
+
protected readonly skeletonPlotHeight = "calc(var(--_line-chart-skeleton-height) - 50px)";
|
|
182
|
+
protected readonly skeletonAxisGutter = 46;
|
|
172
183
|
protected readonly skeletonSeries: _angular_core.Signal<unknown[]>;
|
|
173
184
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
174
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "series": { "alias": "series"; "required": false; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "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"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
185
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LineChartComponent, "ds-line-chart", never, { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "series": { "alias": "series"; "required": false; "isSignal": true; }; "yAxisMode": { "alias": "yAxisMode"; "required": false; "isSignal": true; }; "showMarkers": { "alias": "showMarkers"; "required": false; "isSignal": true; }; "outline": { "alias": "outline"; "required": false; "isSignal": true; }; "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "gaps": { "alias": "gaps"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "hiddenSeries": { "alias": "hiddenSeries"; "required": false; "isSignal": true; }; "rescaleOnHide": { "alias": "rescaleOnHide"; "required": false; "isSignal": true; }; "legendFilters": { "alias": "legendFilters"; "required": false; "isSignal": true; }; "legendMode": { "alias": "legendMode"; "required": false; "isSignal": true; }; "noVisibleSeriesText": { "alias": "noVisibleSeriesText"; "required": false; "isSignal": true; }; "patterns": { "alias": "patterns"; "required": false; "isSignal": true; }; "selectRange": { "alias": "selectRange"; "required": false; "isSignal": true; }; "showAxisReadout": { "alias": "showAxisReadout"; "required": false; "isSignal": true; }; "showChange": { "alias": "showChange"; "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"; "hiddenSeries": "hiddenSeriesChange"; }, ["tooltipTemplate"], never, true, never>;
|
|
175
186
|
}
|
|
176
187
|
|
|
177
188
|
export { LineChartComponent };
|
|
@@ -3,12 +3,16 @@ import { OnDestroy, TemplateRef } from '@angular/core';
|
|
|
3
3
|
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
4
4
|
|
|
5
5
|
declare class MenuComponent {
|
|
6
|
+
private readonly host;
|
|
7
|
+
private readonly closeRef;
|
|
6
8
|
private readonly items;
|
|
7
9
|
/** One item with an icon makes every item reserve the slot, so the labels share one axis. */
|
|
8
10
|
protected readonly anyIcon: _angular_core.Signal<boolean>;
|
|
9
11
|
/** Index of the roving-focus item, the single one reachable via Tab. */
|
|
10
12
|
private readonly activeIndex;
|
|
11
13
|
constructor();
|
|
14
|
+
protected onFocusIn(event: FocusEvent): void;
|
|
15
|
+
protected onFocusOut(event: FocusEvent): void;
|
|
12
16
|
protected onKeydown(event: KeyboardEvent): void;
|
|
13
17
|
private typeAhead;
|
|
14
18
|
private focusItem;
|
|
@@ -16,11 +20,17 @@ declare class MenuComponent {
|
|
|
16
20
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuComponent, "ds-menu", never, {}, {}, ["items"], ["*"], true, never>;
|
|
17
21
|
}
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
interface AimHoverTarget {
|
|
24
|
+
activateHover(): void;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class MenuItemComponent implements OnDestroy, AimHoverTarget {
|
|
20
28
|
private readonly closeRef;
|
|
21
29
|
private readonly overlay;
|
|
22
30
|
private readonly vcr;
|
|
31
|
+
private readonly injector;
|
|
23
32
|
private readonly hostElement;
|
|
33
|
+
private readonly aim;
|
|
24
34
|
private readonly button;
|
|
25
35
|
/** Leading icon shown before the projected label. */
|
|
26
36
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
@@ -48,7 +58,6 @@ declare class MenuItemComponent implements OnDestroy {
|
|
|
48
58
|
readonly submenuOpen: _angular_core.WritableSignal<boolean>;
|
|
49
59
|
private submenuRef;
|
|
50
60
|
private openTimer;
|
|
51
|
-
private closeTimer;
|
|
52
61
|
/** Move keyboard focus to this item's control. */
|
|
53
62
|
focus(): void;
|
|
54
63
|
/** Whether `node` lives inside this item's control. */
|
|
@@ -59,12 +68,14 @@ declare class MenuItemComponent implements OnDestroy {
|
|
|
59
68
|
protected onClick(event: MouseEvent): void;
|
|
60
69
|
protected onKeydown(event: KeyboardEvent): void;
|
|
61
70
|
protected onMouseEnter(): void;
|
|
71
|
+
/** Opens the submenu after the hover delay; called directly or once a sibling's aim ends. */
|
|
72
|
+
activateHover(): void;
|
|
62
73
|
protected onMouseLeave(event: MouseEvent): void;
|
|
63
74
|
openSubmenu(): void;
|
|
64
75
|
closeSubmenu(): void;
|
|
65
76
|
ngOnDestroy(): void;
|
|
77
|
+
private focusSubmenu;
|
|
66
78
|
private clearOpenTimer;
|
|
67
|
-
private clearCloseTimer;
|
|
68
79
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
69
80
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuItemComponent, "ds-menu-item", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "quiet": { "alias": "quiet"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "submenu": { "alias": "submenu"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["[icon]", "*"], true, never>;
|
|
70
81
|
}
|
|
@@ -38,7 +38,6 @@ declare class ModalComponent implements OnDestroy {
|
|
|
38
38
|
protected readonly closing: _angular_core.WritableSignal<boolean>;
|
|
39
39
|
private wasOpen;
|
|
40
40
|
private closeFallbackTimer;
|
|
41
|
-
private readonly unslotted;
|
|
42
41
|
constructor();
|
|
43
42
|
ngOnDestroy(): void;
|
|
44
43
|
protected onClose(): void;
|
|
@@ -81,7 +80,6 @@ declare class ModalCardComponent {
|
|
|
81
80
|
protected readonly titleId: string;
|
|
82
81
|
private readonly header;
|
|
83
82
|
private readonly actionsRow;
|
|
84
|
-
private readonly unslotted;
|
|
85
83
|
constructor();
|
|
86
84
|
private stackOverflowingActions;
|
|
87
85
|
protected readonly resolvedIcon: _angular_core.Signal<IconName | null>;
|
|
@@ -47,8 +47,10 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
47
47
|
readonly filterWith: _angular_core.InputSignal<((option: MultiSelectOption, query: string) => boolean) | "none">;
|
|
48
48
|
/** The typed query, on every change; pair with `filterWith="none"` for server-side search. */
|
|
49
49
|
readonly filterChange: _angular_core.OutputEmitterRef<string>;
|
|
50
|
-
/** Options are still being fetched
|
|
50
|
+
/** Options are still being fetched and the list reports `aria-busy`: with no options it shows
|
|
51
|
+
* placeholder rows, with options it keeps them under an overlay until they are replaced. */
|
|
51
52
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
protected readonly skeletonOptionWidths: string[];
|
|
52
54
|
/** The panel opened. */
|
|
53
55
|
readonly opened: _angular_core.OutputEmitterRef<void>;
|
|
54
56
|
/** The panel closed, for any reason - a pick, Escape, an outside click, a scroll. */
|
|
@@ -122,10 +124,13 @@ declare class MultiSelectComponent extends DsControlValueAccessor<string[]> impl
|
|
|
122
124
|
/** Position in the flat visible list: the id `aria-activedescendant` points at, which a grouped render cannot get from the loop index. */
|
|
123
125
|
protected flatIndexOf(option: MultiSelectOption): number;
|
|
124
126
|
protected readonly activeDescendant: _angular_core.Signal<string | null>;
|
|
127
|
+
protected readonly listInert: _angular_core.Signal<boolean>;
|
|
125
128
|
protected readonly resolvedAriaLabel: _angular_core.Signal<string>;
|
|
126
129
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
127
130
|
private readonly fieldMessage;
|
|
128
131
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
132
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
133
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
129
134
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
130
135
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
131
136
|
private enabledFiltered;
|
|
@@ -30,6 +30,8 @@ declare class OtpInputComponent extends DsControlValueAccessor<string> {
|
|
|
30
30
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
31
31
|
private readonly fieldMessage;
|
|
32
32
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
33
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
34
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
33
35
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
34
36
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
35
37
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
@@ -26,10 +26,12 @@ declare class PaginationComponent {
|
|
|
26
26
|
* then `'grouped'`. */
|
|
27
27
|
readonly layout: _angular_core.InputSignal<PaginationLayout | null>;
|
|
28
28
|
readonly layoutResolved: _angular_core.Signal<PaginationLayout>;
|
|
29
|
-
/** The host is still fetching:
|
|
30
|
-
*
|
|
29
|
+
/** The host is still fetching: the page buttons take `aria-disabled` and ignore presses while
|
|
30
|
+
* staying focusable, the size select disables, the range label is masked with a `<ds-skeleton>`
|
|
31
|
+
* so a stale `total` is never quoted, and the nav reports `aria-busy`. */
|
|
31
32
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
32
33
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
34
|
+
private readonly rescueFocus;
|
|
33
35
|
protected readonly navClass: _angular_core.Signal<string>;
|
|
34
36
|
protected readonly empty: _angular_core.Signal<boolean>;
|
|
35
37
|
protected readonly totalPages: _angular_core.Signal<number>;
|
|
@@ -40,7 +42,7 @@ declare class PaginationComponent {
|
|
|
40
42
|
value: string;
|
|
41
43
|
}[]>;
|
|
42
44
|
protected readonly pageSizeStr: _angular_core.Signal<string>;
|
|
43
|
-
protected goTo(page: number): void;
|
|
45
|
+
protected goTo(page: number, nav: HTMLElement): void;
|
|
44
46
|
protected onSizeChange(value: string): void;
|
|
45
47
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
46
48
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationComponent, "ds-pagination", never, { "total": { "alias": "total"; "required": true; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, { "pageSize": "pageSizeChange"; "currentPage": "currentPageChange"; }, never, never, true, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
-
import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger } from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
+
import { DsChartBase, ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
3
3
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
4
4
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
5
5
|
import * as _angular_core from '@angular/core';
|
|
@@ -31,8 +31,13 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
31
31
|
/** `'below'` prints the value and its caption under the ring at full size, never shrunk or
|
|
32
32
|
* shortened. */
|
|
33
33
|
readonly centerPlacement: _angular_core.InputSignal<PieChartCenterPlacement>;
|
|
34
|
+
/** The hovered, focused or held slice prints its value and label in the centre in place of
|
|
35
|
+
* `centerValue` and `centerLabel`. */
|
|
36
|
+
readonly showHoverCenter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
34
37
|
/** Legend placement, logical so it flips in right-to-left. */
|
|
35
38
|
readonly legend: _angular_core.InputSignal<"end" | "bottom" | "none">;
|
|
39
|
+
/** How many slices, and legend rows, the loading skeleton draws before the data is known. */
|
|
40
|
+
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
36
41
|
/** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
|
|
37
42
|
readonly maxSlices: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
38
43
|
/** Names the grouped slice. Unset falls back to `DS_INTL.chart.other`. */
|
|
@@ -61,15 +66,12 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
61
66
|
protected onMarkClick(payload: PieChartSlice, index: number, event: Event): void;
|
|
62
67
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
63
68
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
64
|
-
|
|
65
|
-
private readonly legendDwell;
|
|
66
|
-
/** A legend item opens the arc's tooltip and dims the other slices, as hovering the arc does. */
|
|
69
|
+
/** A legend item opens the arc's tooltip and slides the arc out, as hovering the arc does. */
|
|
67
70
|
protected onLegendEnter(index: number, event: Event): void;
|
|
68
71
|
protected onLegendLeave(): void;
|
|
69
72
|
protected onLegendFocus(index: number, event: FocusEvent): void;
|
|
70
73
|
protected onLegendClick(slice: PieChartSlice, index: number, event: Event): void;
|
|
71
74
|
private arcAt;
|
|
72
|
-
protected isDimmed(index: number): boolean;
|
|
73
75
|
protected onMarkNavigation(event: KeyboardEvent, index: number, scope: string): void;
|
|
74
76
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
75
77
|
protected readonly viewBox = "0 0 100 100";
|
|
@@ -77,8 +79,18 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
77
79
|
protected readonly visibleSlices: _angular_core.Signal<PieChartSlice[]>;
|
|
78
80
|
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
79
81
|
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
82
|
+
protected readonly leaveMark: typeof leaveMark;
|
|
83
|
+
protected readonly sliceHoverShift = 3;
|
|
84
|
+
private readonly drawnArcs;
|
|
85
|
+
private stopArcTween;
|
|
86
|
+
private readonly states;
|
|
87
|
+
private readonly tweenArcs;
|
|
80
88
|
protected readonly slices: _angular_core.Signal<{
|
|
81
89
|
slice: PieChartSlice;
|
|
90
|
+
shift: {
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
};
|
|
82
94
|
center: {
|
|
83
95
|
x: number;
|
|
84
96
|
y: number;
|
|
@@ -96,6 +108,13 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
96
108
|
};
|
|
97
109
|
} | null>;
|
|
98
110
|
protected readonly resolvedCenterValue: _angular_core.Signal<string>;
|
|
111
|
+
private readonly centerEntry;
|
|
112
|
+
private readonly centerKey;
|
|
113
|
+
private readonly centerSwapElement;
|
|
114
|
+
private shownCenterKey;
|
|
115
|
+
private readonly fadeCenterSwap;
|
|
116
|
+
private readonly shownCenterValue;
|
|
117
|
+
protected readonly shownCenterLabel: _angular_core.Signal<string | null>;
|
|
99
118
|
private readonly compactCenterValue;
|
|
100
119
|
private readonly ringElement;
|
|
101
120
|
private readonly centerValueElement;
|
|
@@ -117,10 +136,10 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
117
136
|
protected onSliceKey(slice: PieChartSlice, event: Event): void;
|
|
118
137
|
protected readonly ringCarriesTheRoute: _angular_core.Signal<boolean>;
|
|
119
138
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
120
|
-
|
|
139
|
+
protected readonly skeletonMarks: _angular_core.Signal<number>;
|
|
121
140
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
122
141
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
123
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "centerCompact": { "alias": "centerCompact"; "required": false; "isSignal": true; }; "centerPlacement": { "alias": "centerPlacement"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
142
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "centerCompact": { "alias": "centerCompact"; "required": false; "isSignal": true; }; "centerPlacement": { "alias": "centerPlacement"; "required": false; "isSignal": true; }; "showHoverCenter": { "alias": "showHoverCenter"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
124
143
|
}
|
|
125
144
|
|
|
126
145
|
export { PieChartComponent };
|
|
@@ -27,7 +27,8 @@ declare class PopoverComponent implements OnDestroy, DsOverlayCloseRef {
|
|
|
27
27
|
readonly arrow: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
28
|
/** ARIA role for the panel (e.g. 'dialog'). When set, the panel traps focus and captures it
|
|
29
29
|
* on open; Escape or an in-panel close returns focus to the trigger, an outside click or
|
|
30
|
-
* scroll does not (non-modal). Leave null for plain text popovers.
|
|
30
|
+
* scroll does not (non-modal). Leave null for plain text popovers. A panel holding a
|
|
31
|
+
* `role="menu"` (a `ds-menu`) captures focus on open without it, untrapped. */
|
|
31
32
|
readonly panelRole: _angular_core.InputSignal<string | null>;
|
|
32
33
|
/** Accessible name for the panel; pair with `panelRole`. */
|
|
33
34
|
readonly panelLabel: _angular_core.InputSignal<string | null>;
|
|
@@ -38,6 +38,8 @@ declare class RadioGroupComponent extends DsControlValueAccessor<unknown> implem
|
|
|
38
38
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
39
39
|
private readonly fieldMessage;
|
|
40
40
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
41
|
+
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
42
|
+
protected readonly changedShown: _angular_core.Signal<boolean>;
|
|
41
43
|
protected readonly invalidResolved: _angular_core.Signal<boolean>;
|
|
42
44
|
protected readonly controlState: _angular_core.Signal<_ids_group_ltd_ids_design_system_components_field_message.FieldMessageState | null>;
|
|
43
45
|
private readonly radios;
|