@ids-group-ltd/ids-design-system 0.14.7 → 0.15.0
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 +735 -230
- package/components.md +64 -25
- package/docs/agent/INDEX.md +3 -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 +1 -1
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-pie-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +2 -2
- package/docs/agent/feedback/ds-loading-overlay.md +2 -0
- package/docs/agent/feedback/ds-skeleton.md +1 -1
- package/docs/agent/forms/ds-button.md +2 -2
- package/docs/agent/forms/ds-date-picker.md +1 -0
- package/docs/agent/foundations/global-helper-classes.md +3 -3
- 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 +10 -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.md +3 -2
- 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 +2 -2
- 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 +19 -7
- 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 +2 -2
- 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 +2 -2
- 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 +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 +195 -27
- 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 +23 -20
- 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 +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 +2 -2
- 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 +9 -9
- 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 +2 -2
- 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 +2 -2
- 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 -8
- 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 +4 -3
- 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 +2 -2
- 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 +44 -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 +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 +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 +10 -4
- 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 +136 -29
- 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 +19 -7
- 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-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 +2 -2
- 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 +8 -6
- 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 +2 -2
- 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 +4 -4
- 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 +19 -5
- 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 +2 -2
- 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 +21 -7
- 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 +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 +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-sparkline.mjs +2 -2
- 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 +2 -2
- 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 +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.mjs +223 -8
- 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 +4 -4
- 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 +4 -4
- 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 +410 -145
- 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 +14 -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 +86 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +18 -81
- 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 +2 -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 +56 -0
- package/migrations/0.15.0.json +999 -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 +19 -1
- package/schematics/check-overrides/index.cjs +4 -11
- package/schematics/check-overrides/scan.cjs +12 -1
- package/schematics/check-overrides/surface.json +51 -10
- package/schematics/ng-add/index.cjs +7 -1
- package/stylelint/deprecated-tokens.json +2697 -0
- package/stylelint/index.mjs +94 -0
- package/stylelint/since-version.mjs +26 -0
- package/styles/_chart-motion.scss +3 -9
- 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/_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 +0 -1
- package/styles/_typography.scss +2 -0
- package/styles/_visually-hidden.scss +2 -0
- package/styles/ds.scss +0 -1
- package/themes/README.md +7 -7
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +4 -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 +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +40 -4
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +8 -3
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +4 -3
- 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-funnel-chart.d.ts +7 -3
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +14 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +5 -0
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +8 -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 +4 -1
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +13 -3
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +30 -3
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +48 -17
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +26 -2
- package/types/ids-group-ltd-ids-design-system-core.d.ts +7 -11
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -1
|
@@ -9,6 +9,8 @@ import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-
|
|
|
9
9
|
|
|
10
10
|
/** A row's reading: one number spanning from zero, or a `[low, high]` pair for a floating bar. The pair's ends may be given in either order. */
|
|
11
11
|
type BarChartValue = number | readonly [low: number, high: number];
|
|
12
|
+
/** Where a row's label sits: on its own line above the bar, or in a column before it. */
|
|
13
|
+
type BarChartLabelPosition = 'top' | 'start';
|
|
12
14
|
/** One part of a row that is a distribution rather than a single quantity. */
|
|
13
15
|
interface BarChartSegment {
|
|
14
16
|
/** Falls back to the segment's position when left out. */
|
|
@@ -40,6 +42,21 @@ interface BarChartRow {
|
|
|
40
42
|
detail?: string;
|
|
41
43
|
/** Overrides this row's colour, usually `var(--ds-chart-series-accent-color)` to accent it. */
|
|
42
44
|
color?: string;
|
|
45
|
+
/** Rows nested under this one, shown by a disclosure button after the label and closed at first.
|
|
46
|
+
* Each child's bar and derived percent are measured against this row's value, not `max`; a child
|
|
47
|
+
* takes this row's colour unless it sets its own. One level: a child's own `children` are ignored. */
|
|
48
|
+
children?: readonly BarChartRow[];
|
|
49
|
+
/** Turns the label into a defined term: a dotted underline, and this text in a tooltip on hover
|
|
50
|
+
* and keyboard focus, announced as the label's description. */
|
|
51
|
+
hint?: string;
|
|
52
|
+
/** Prints the label in bold, as for the first and last rows of a funnel. */
|
|
53
|
+
emphasis?: boolean;
|
|
54
|
+
/** Prints or hides this row's percent, overriding the chart's `showPercent`; a child without its
|
|
55
|
+
* own takes its parent's. */
|
|
56
|
+
showPercent?: boolean;
|
|
57
|
+
/** Marks a row that is not a part of the others, such as a total of those who finished or left:
|
|
58
|
+
* a divider separates it from the row before, and `partOfWhole` gives it no share. */
|
|
59
|
+
detached?: boolean;
|
|
43
60
|
}
|
|
44
61
|
|
|
45
62
|
declare class BarChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger {
|
|
@@ -56,8 +73,19 @@ declare class BarChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
56
73
|
/** Declares the marks parts of one whole: each share appears on the tooltip's second line and in
|
|
57
74
|
* the data table. */
|
|
58
75
|
readonly partOfWhole: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
59
|
-
/** Prints each row's share of `max` beside its value. */
|
|
76
|
+
/** Prints each row's share of `max` beside its value. A row's own `showPercent` overrides it. */
|
|
60
77
|
readonly showPercent: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
78
|
+
/** `'start'` puts each label in a column before its bar, on the bar's line, with the values in
|
|
79
|
+
* aligned columns after it; `'top'` keeps the label on its own line above the bar. */
|
|
80
|
+
readonly labelPosition: _angular_core.InputSignal<BarChartLabelPosition>;
|
|
81
|
+
private readonly idPrefix;
|
|
82
|
+
private readonly expanded;
|
|
83
|
+
protected isExpanded(key: string): boolean;
|
|
84
|
+
protected toggleRow(key: string, event?: Event): void;
|
|
85
|
+
protected hintId(key: string): string;
|
|
86
|
+
/** A disclosure or a term button cannot live inside `role="img"`, whose children are presentational. */
|
|
87
|
+
protected readonly holdsControls: _angular_core.Signal<boolean>;
|
|
88
|
+
protected readonly percentColumn: _angular_core.Signal<boolean>;
|
|
61
89
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
62
90
|
/** The row clicked or activated with Enter or Space, whether or not `interactive` is set. */
|
|
63
91
|
readonly rowClicked: _angular_core.OutputEmitterRef<BarChartRow>;
|
|
@@ -86,9 +114,47 @@ declare class BarChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
86
114
|
protected readonly resolvedMax: _angular_core.Signal<number>;
|
|
87
115
|
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
88
116
|
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
117
|
+
/** Every row, children included whether or not their group is open: the data table lists them all. */
|
|
118
|
+
protected readonly entries: _angular_core.Signal<{
|
|
119
|
+
key: string;
|
|
120
|
+
parentKey: string | null;
|
|
121
|
+
row: BarChartRow;
|
|
122
|
+
dataIndex: number | null;
|
|
123
|
+
hasChildren: boolean;
|
|
124
|
+
startsDetached: boolean;
|
|
125
|
+
showsPercent: boolean;
|
|
126
|
+
missing: boolean;
|
|
127
|
+
offsetPercent: number;
|
|
128
|
+
widthPercent: number;
|
|
129
|
+
formattedValue: string;
|
|
130
|
+
targetPercent: number | null;
|
|
131
|
+
formattedTarget: string;
|
|
132
|
+
bands: {
|
|
133
|
+
key: string;
|
|
134
|
+
widthPercent: number;
|
|
135
|
+
opacity: number;
|
|
136
|
+
}[];
|
|
137
|
+
formattedPercent: string;
|
|
138
|
+
share: string;
|
|
139
|
+
segments: readonly {
|
|
140
|
+
key: string;
|
|
141
|
+
segment: BarChartSegment;
|
|
142
|
+
widthPercent: number;
|
|
143
|
+
formattedValue: string;
|
|
144
|
+
color: string;
|
|
145
|
+
}[];
|
|
146
|
+
color: string;
|
|
147
|
+
}[]>;
|
|
148
|
+
/** The rows drawn: every top-level row, and the children of the open groups. */
|
|
89
149
|
protected readonly rows: _angular_core.Signal<{
|
|
90
150
|
key: string;
|
|
151
|
+
parentKey: string | null;
|
|
91
152
|
row: BarChartRow;
|
|
153
|
+
dataIndex: number | null;
|
|
154
|
+
hasChildren: boolean;
|
|
155
|
+
startsDetached: boolean;
|
|
156
|
+
showsPercent: boolean;
|
|
157
|
+
missing: boolean;
|
|
92
158
|
offsetPercent: number;
|
|
93
159
|
widthPercent: number;
|
|
94
160
|
formattedValue: string;
|
|
@@ -117,10 +183,14 @@ declare class BarChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
117
183
|
}): string;
|
|
118
184
|
protected onRowKey(row: BarChartRow, event: Event): void;
|
|
119
185
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
120
|
-
|
|
186
|
+
/** Skeleton rows only before there is a row to show; a reload keeps the rows under an overlay, as `ds-table` does. */
|
|
187
|
+
protected readonly showsSkeleton: _angular_core.Signal<boolean>;
|
|
188
|
+
protected readonly reloading: _angular_core.Signal<boolean>;
|
|
189
|
+
/** One label width per placeholder row, varied so the column does not read as a solid block. */
|
|
190
|
+
protected readonly skeletonRows: _angular_core.Signal<string[]>;
|
|
121
191
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
122
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "showPercent": { "alias": "showPercent"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "rowClicked": "rowClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
192
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "showPercent": { "alias": "showPercent"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "rowClicked": "rowClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
123
193
|
}
|
|
124
194
|
|
|
125
195
|
export { BarChartComponent };
|
|
126
|
-
export type { BarChartRow, BarChartSegment, BarChartValue };
|
|
196
|
+
export type { BarChartLabelPosition, BarChartRow, BarChartSegment, BarChartValue };
|
|
@@ -45,9 +45,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
45
45
|
/** How `routerLinkActive` decides the `active` class; prefix by default. It also bounds the
|
|
46
46
|
* announcement: with `{ exact: true }` a prefix match announces nothing rather than `true`.
|
|
47
47
|
* Pass `ariaCurrent` alongside to keep one. */
|
|
48
|
-
readonly routerLinkActiveOptions: _angular_core.InputSignal<
|
|
48
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<{
|
|
49
49
|
exact: boolean;
|
|
50
|
-
}>;
|
|
50
|
+
} | IsActiveMatchOptions>;
|
|
51
51
|
/** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
|
|
52
52
|
* `true`; `null` announces nothing; use `step` or `location` when the link is not a page. */
|
|
53
53
|
readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
|
|
@@ -59,7 +59,6 @@ declare class ChartTooltipDirective {
|
|
|
59
59
|
private open;
|
|
60
60
|
private glideFrom;
|
|
61
61
|
private strategyFor;
|
|
62
|
-
private closeOnEscape;
|
|
63
62
|
private close;
|
|
64
63
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTooltipDirective, never>;
|
|
65
64
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "dsChartTooltipPinned": { "alias": "dsChartTooltipPinned"; "required": false; "isSignal": true; }; "dsChartTooltipSwatches": { "alias": "dsChartTooltipSwatches"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -142,6 +141,36 @@ declare class ChartUnpinComponent {
|
|
|
142
141
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartUnpinComponent, "ds-chart-unpin", never, { "pinned": { "alias": "pinned"; "required": true; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
|
|
143
142
|
}
|
|
144
143
|
|
|
144
|
+
/** What the skeleton draws inside the axes. @internal */
|
|
145
|
+
type ChartSkeletonMarks = 'columns' | 'line' | 'steps';
|
|
146
|
+
/** Height of the category label band under the plot, as the drawn chart budgets it. @internal */
|
|
147
|
+
declare const CHART_SKELETON_CATEGORY_BAND = 30;
|
|
148
|
+
/**
|
|
149
|
+
* The loading silhouette of a chart on a category axis: tick pills, the axis L, marks and category
|
|
150
|
+
* pills, laid out on the same value space, plot height and gutter as the drawn chart so the card
|
|
151
|
+
* keeps its height when the data lands.
|
|
152
|
+
*
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
declare class ChartSkeletonComponent {
|
|
156
|
+
readonly marks: _angular_core.InputSignal<ChartSkeletonMarks>;
|
|
157
|
+
readonly count: _angular_core.InputSignal<number>;
|
|
158
|
+
/** A CSS length, so a chart can pass its own height token. */
|
|
159
|
+
readonly plotHeight: _angular_core.InputSignal<string>;
|
|
160
|
+
readonly valueSpace: _angular_core.InputSignal<number>;
|
|
161
|
+
readonly axisGutter: _angular_core.InputSignal<number>;
|
|
162
|
+
readonly shimmer: _angular_core.InputSignal<boolean>;
|
|
163
|
+
protected readonly ticks: number[];
|
|
164
|
+
protected readonly categoryBand = 30;
|
|
165
|
+
protected readonly bars: _angular_core.Signal<{
|
|
166
|
+
bottom: string;
|
|
167
|
+
height: string;
|
|
168
|
+
}[]>;
|
|
169
|
+
protected readonly lineClip: _angular_core.Signal<string>;
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartSkeletonComponent, never>;
|
|
171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartSkeletonComponent, "ds-chart-skeleton", never, { "marks": { "alias": "marks"; "required": false; "isSignal": true; }; "count": { "alias": "count"; "required": true; "isSignal": true; }; "plotHeight": { "alias": "plotHeight"; "required": true; "isSignal": true; }; "valueSpace": { "alias": "valueSpace"; "required": true; "isSignal": true; }; "axisGutter": { "alias": "axisGutter"; "required": true; "isSignal": true; }; "shimmer": { "alias": "shimmer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
172
|
+
}
|
|
173
|
+
|
|
145
174
|
/**
|
|
146
175
|
* Context of a chart's own `message` template: the text, and whether it reports an error.
|
|
147
176
|
*
|
|
@@ -167,7 +196,14 @@ declare class ChartStatesComponent {
|
|
|
167
196
|
readonly caption: _angular_core.InputSignal<string | null>;
|
|
168
197
|
readonly error: _angular_core.InputSignal<boolean>;
|
|
169
198
|
readonly errorText: _angular_core.InputSignal<string>;
|
|
199
|
+
/** Draws `skeleton` in place of `body`: there is nothing to draw yet. */
|
|
170
200
|
readonly pending: _angular_core.InputSignal<boolean>;
|
|
201
|
+
/** Holds the room of the chart's data-table disclosure under the skeleton. */
|
|
202
|
+
readonly dataTable: _angular_core.InputSignal<boolean>;
|
|
203
|
+
/** Whether the data-table placeholder shimmers, as the chart's own skeleton does. */
|
|
204
|
+
readonly shimmer: _angular_core.InputSignal<boolean>;
|
|
205
|
+
/** Keeps `body` on screen under a loading overlay bound to it, the caption left uncovered. */
|
|
206
|
+
readonly reloading: _angular_core.InputSignal<boolean>;
|
|
171
207
|
readonly empty: _angular_core.InputSignal<boolean>;
|
|
172
208
|
readonly emptyText: _angular_core.InputSignal<string>;
|
|
173
209
|
/** Draws the axis L along the message box's start and bottom edges. */
|
|
@@ -177,8 +213,8 @@ declare class ChartStatesComponent {
|
|
|
177
213
|
/** Replaces the default error and empty paragraph. */
|
|
178
214
|
readonly message: _angular_core.InputSignal<TemplateRef<ChartStatesMessageContext> | null>;
|
|
179
215
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartStatesComponent, never>;
|
|
180
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartStatesComponent, "figure[dsChartStates]", never, { "unpin": { "alias": "unpin"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "messageAxes": { "alias": "messageAxes"; "required": false; "isSignal": true; }; "skeleton": { "alias": "skeleton"; "required": true; "isSignal": true; }; "body": { "alias": "body"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
|
|
216
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartStatesComponent, "figure[dsChartStates]", never, { "unpin": { "alias": "unpin"; "required": false; "isSignal": true; }; "pinned": { "alias": "pinned"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "shimmer": { "alias": "shimmer"; "required": false; "isSignal": true; }; "reloading": { "alias": "reloading"; "required": false; "isSignal": true; }; "empty": { "alias": "empty"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "messageAxes": { "alias": "messageAxes"; "required": false; "isSignal": true; }; "skeleton": { "alias": "skeleton"; "required": true; "isSignal": true; }; "body": { "alias": "body"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": false; "isSignal": true; }; }, { "release": "release"; }, never, never, true, never>;
|
|
181
217
|
}
|
|
182
218
|
|
|
183
|
-
export { CHART_PIN_GAP, CHART_PIN_RADIUS, CHART_UNPIN_DRAWN_BY_HOST, ChartPinMarkerComponent, ChartStatesComponent, ChartTooltipDirective, ChartUnpinComponent, chartActiveMark };
|
|
184
|
-
export type { ChartActiveMark, ChartItemTooltipTrigger, ChartStatesMessageContext, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };
|
|
219
|
+
export { CHART_PIN_GAP, CHART_PIN_RADIUS, CHART_SKELETON_CATEGORY_BAND, CHART_UNPIN_DRAWN_BY_HOST, ChartPinMarkerComponent, ChartSkeletonComponent, ChartStatesComponent, ChartTooltipDirective, ChartUnpinComponent, chartActiveMark };
|
|
220
|
+
export type { ChartActiveMark, ChartItemTooltipTrigger, ChartSkeletonMarks, ChartStatesMessageContext, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };
|
|
@@ -87,6 +87,8 @@ interface ChartScales {
|
|
|
87
87
|
}
|
|
88
88
|
declare const CHART_SCALES: InjectionToken<ChartScales>;
|
|
89
89
|
|
|
90
|
+
/** Width of the value-axis label gutter a chart draws when none is set. @internal */
|
|
91
|
+
declare const CHART_DEFAULT_AXIS_GUTTER = 46;
|
|
90
92
|
declare const CHART_DEFAULT_VALUE_SPACE = 20;
|
|
91
93
|
/** The viewBox's height, equal to the `<svg>`'s rendered height in pixels.
|
|
92
94
|
*
|
|
@@ -159,6 +161,9 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
159
161
|
protected readonly renderReady: Signal<boolean>;
|
|
160
162
|
/** One band per category; every projected mark is positioned against them. */
|
|
161
163
|
readonly categories: _angular_core.InputSignal<readonly string[]>;
|
|
164
|
+
/** How many columns the loading skeleton draws before the categories are known. */
|
|
165
|
+
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
166
|
+
protected readonly skeletonMarks: Signal<number>;
|
|
162
167
|
/** How many value-axis ticks to aim for; ticks snap to a round step, so the count may differ by one. */
|
|
163
168
|
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
164
169
|
/** Pins the floor of the value axis. It only opens the axis further; a floor above the data is ignored. */
|
|
@@ -263,7 +268,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
263
268
|
/** Second gridlines only where the scales do not share rows; an aligned axis would double every stroke. */
|
|
264
269
|
protected readonly showSecondaryGridlines: Signal<boolean>;
|
|
265
270
|
protected readonly secondaryLabelX: Signal<number>;
|
|
266
|
-
protected readonly secondaryLabelAnchor: Signal<"
|
|
271
|
+
protected readonly secondaryLabelAnchor: Signal<"start" | "end">;
|
|
267
272
|
protected readonly secondaryPlotBottom: Signal<number>;
|
|
268
273
|
/** No tint on a single-scale plot. */
|
|
269
274
|
protected readonly axisLabelFill: Signal<string | null>;
|
|
@@ -371,7 +376,7 @@ declare class ChartComponent extends DsChartBase implements ChartScales {
|
|
|
371
376
|
protected readonly isEmpty: Signal<boolean>;
|
|
372
377
|
protected readonly accessibleName: Signal<string>;
|
|
373
378
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartComponent, never>;
|
|
374
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComponent, "ds-chart", ["dsChart"], { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "cursor": { "alias": "cursor"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "plotHeight": { "alias": "plotHeight"; "required": false; "isSignal": true; }; "axisGutter": { "alias": "axisGutter"; "required": false; "isSignal": true; }; "valueSpace": { "alias": "valueSpace"; "required": false; "isSignal": true; }; "secondaryAxisMode": { "alias": "secondaryAxisMode"; "required": false; "isSignal": true; }; "axisColor": { "alias": "axisColor"; "required": false; "isSignal": true; }; "secondaryAxisColor": { "alias": "secondaryAxisColor"; "required": false; "isSignal": true; }; "axisLabel": { "alias": "axisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "tooltipExtraGap": { "alias": "tooltipExtraGap"; "required": false; "isSignal": true; }; }, {}, never, ["[dsReferenceLine]", "*", "[dsReferenceLabel], [dsSeriesAnnotation]"], true, never>;
|
|
379
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartComponent, "ds-chart", ["dsChart"], { "categories": { "alias": "categories"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "cursor": { "alias": "cursor"; "required": false; "isSignal": true; }; "maxSecondary": { "alias": "maxSecondary"; "required": false; "isSignal": true; }; "plotHeight": { "alias": "plotHeight"; "required": false; "isSignal": true; }; "axisGutter": { "alias": "axisGutter"; "required": false; "isSignal": true; }; "valueSpace": { "alias": "valueSpace"; "required": false; "isSignal": true; }; "secondaryAxisMode": { "alias": "secondaryAxisMode"; "required": false; "isSignal": true; }; "axisColor": { "alias": "axisColor"; "required": false; "isSignal": true; }; "secondaryAxisColor": { "alias": "secondaryAxisColor"; "required": false; "isSignal": true; }; "axisLabel": { "alias": "axisLabel"; "required": false; "isSignal": true; }; "secondaryAxisLabel": { "alias": "secondaryAxisLabel"; "required": false; "isSignal": true; }; "tooltipTemplate": { "alias": "tooltipTemplate"; "required": false; "isSignal": true; }; "tooltipExtraGap": { "alias": "tooltipExtraGap"; "required": false; "isSignal": true; }; }, {}, never, ["[dsReferenceLine]", "*", "[dsReferenceLabel], [dsSeriesAnnotation]"], true, never>;
|
|
375
380
|
}
|
|
376
381
|
|
|
377
382
|
interface ColumnSeriesPoint {
|
|
@@ -723,5 +728,5 @@ declare class SeriesAnnotationComponent {
|
|
|
723
728
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SeriesAnnotationComponent, "g[dsSeriesAnnotation]", never, { "annotations": { "alias": "annotations"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
724
729
|
}
|
|
725
730
|
|
|
726
|
-
export { CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartComponent, ColumnSeriesComponent, LineSeriesComponent, ReferenceLabelComponent, ReferenceLineComponent, SeriesAnnotationComponent, annotationMarks, chartViewHeight, stackOffsets };
|
|
731
|
+
export { CHART_DEFAULT_AXIS_GUTTER, CHART_DEFAULT_VALUE_SPACE, CHART_SCALES, ChartComponent, ColumnSeriesComponent, LineSeriesComponent, ReferenceLabelComponent, ReferenceLineComponent, SeriesAnnotationComponent, annotationMarks, chartViewHeight, stackOffsets };
|
|
727
732
|
export type { ChartAnnotation, ChartAnnotationMark, ChartPlot, ChartScales, ChartStackOffset, ColumnSeriesPoint, LineSeriesData };
|
|
@@ -56,6 +56,8 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
56
56
|
readonly thresholds: _angular_core.InputSignal<readonly ChartThreshold[]>;
|
|
57
57
|
/** Prints each column's value above the column. */
|
|
58
58
|
readonly showValues: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
59
|
+
/** How many columns the loading skeleton draws before the data is known. */
|
|
60
|
+
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
59
61
|
/** How many value-axis ticks to aim for; ticks snap to a round step. */
|
|
60
62
|
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
61
63
|
/** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,
|
|
@@ -90,7 +92,6 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
90
92
|
columnWidthRatio: number;
|
|
91
93
|
}>;
|
|
92
94
|
protected readonly viewHeightPx: _angular_core.Signal<string>;
|
|
93
|
-
protected readonly skeletonHeightPx: _angular_core.Signal<string>;
|
|
94
95
|
protected readonly seriesRefs: _angular_core.Signal<readonly ColumnSeriesComponent[]>;
|
|
95
96
|
protected readonly pinnedSeries: _angular_core.Signal<ColumnSeriesComponent | null>;
|
|
96
97
|
protected readonly resolvedSeries: _angular_core.Signal<readonly ResolvedColumnSeries[]>;
|
|
@@ -113,9 +114,9 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
113
114
|
}[]>;
|
|
114
115
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
115
116
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
116
|
-
protected readonly
|
|
117
|
+
protected readonly skeletonMarks: _angular_core.Signal<number>;
|
|
117
118
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
118
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
119
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ColumnChartComponent, "ds-column-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "stack": { "alias": "stack"; "required": false; "isSignal": true; }; "thresholds": { "alias": "thresholds"; "required": false; "isSignal": true; }; "showValues": { "alias": "showValues"; "required": false; "isSignal": true; }; "skeletonCount": { "alias": "skeletonCount"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "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; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "tooltipAnchor": { "alias": "tooltipAnchor"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
export { ColumnChartComponent };
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -93,10 +95,12 @@ declare class FunnelChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
93
95
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
94
96
|
protected readonly showDataTable: _angular_core.Signal<boolean>;
|
|
95
97
|
protected readonly chartHeight: _angular_core.Signal<string>;
|
|
96
|
-
/**
|
|
97
|
-
protected readonly
|
|
98
|
+
/** The stage table's columns: stage, value, share, and the drop when it is shown. */
|
|
99
|
+
protected readonly skeletonColumns: _angular_core.Signal<unknown[]>;
|
|
100
|
+
/** Equal stages narrowing by the same step, the funnel's shape before its numbers. */
|
|
101
|
+
protected readonly skeletonStages: _angular_core.Signal<string[]>;
|
|
98
102
|
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>;
|
|
103
|
+
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
104
|
}
|
|
101
105
|
|
|
102
106
|
export { FunnelChartComponent };
|
|
@@ -76,6 +76,7 @@ declare class HeatmapChartComponent extends DsChartBase implements ChartDimmable
|
|
|
76
76
|
protected readonly scaleMaxLabel: _angular_core.Signal<string>;
|
|
77
77
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
78
78
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
79
|
+
protected readonly skeletonColumns: _angular_core.Signal<unknown[]>;
|
|
79
80
|
/** Flattened so one index addresses a cell (`chartActiveMark` counts marks). */
|
|
80
81
|
private readonly flatCells;
|
|
81
82
|
protected cellIndex(rowIndex: number, columnIndex: number): number;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class InfoHintComponent {
|
|
4
|
+
/** The supplementary text, shown on hover and focus and kept open by a click. */
|
|
5
|
+
readonly text: _angular_core.InputSignal<string>;
|
|
6
|
+
/** Accessible name of the icon button, such as "About conversion rate". */
|
|
7
|
+
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
8
|
+
/** `'help'` draws a question mark in a circle, `'info'` an "i". */
|
|
9
|
+
readonly icon: _angular_core.InputSignal<"help" | "info">;
|
|
10
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoHintComponent, never>;
|
|
11
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoHintComponent, "ds-info-hint", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { InfoHintComponent };
|
|
@@ -169,6 +169,11 @@ declare class LineChartComponent extends DsChartBase implements ChartDimmable, C
|
|
|
169
169
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
170
170
|
protected readonly showLegend: _angular_core.Signal<boolean>;
|
|
171
171
|
protected readonly noVisibleSeries: _angular_core.Signal<boolean>;
|
|
172
|
+
protected readonly skeletonPoints: _angular_core.Signal<number>;
|
|
173
|
+
protected readonly skeletonValueSpace = 20;
|
|
174
|
+
/** `--ds-line-chart-placeholder-height` sizes the whole skeleton; the plot takes what the labels leave. */
|
|
175
|
+
protected readonly skeletonPlotHeight = "calc(var(--_line-chart-skeleton-height) - 50px)";
|
|
176
|
+
protected readonly skeletonAxisGutter = 46;
|
|
172
177
|
protected readonly skeletonSeries: _angular_core.Signal<unknown[]>;
|
|
173
178
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
174
179
|
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>;
|
|
@@ -16,11 +16,16 @@ declare class MenuComponent {
|
|
|
16
16
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuComponent, "ds-menu", never, {}, {}, ["items"], ["*"], true, never>;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
interface AimHoverTarget {
|
|
20
|
+
activateHover(): void;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare class MenuItemComponent implements OnDestroy, AimHoverTarget {
|
|
20
24
|
private readonly closeRef;
|
|
21
25
|
private readonly overlay;
|
|
22
26
|
private readonly vcr;
|
|
23
27
|
private readonly hostElement;
|
|
28
|
+
private readonly aim;
|
|
24
29
|
private readonly button;
|
|
25
30
|
/** Leading icon shown before the projected label. */
|
|
26
31
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
@@ -48,7 +53,6 @@ declare class MenuItemComponent implements OnDestroy {
|
|
|
48
53
|
readonly submenuOpen: _angular_core.WritableSignal<boolean>;
|
|
49
54
|
private submenuRef;
|
|
50
55
|
private openTimer;
|
|
51
|
-
private closeTimer;
|
|
52
56
|
/** Move keyboard focus to this item's control. */
|
|
53
57
|
focus(): void;
|
|
54
58
|
/** Whether `node` lives inside this item's control. */
|
|
@@ -59,12 +63,13 @@ declare class MenuItemComponent implements OnDestroy {
|
|
|
59
63
|
protected onClick(event: MouseEvent): void;
|
|
60
64
|
protected onKeydown(event: KeyboardEvent): void;
|
|
61
65
|
protected onMouseEnter(): void;
|
|
66
|
+
/** Opens the submenu after the hover delay; called directly or once a sibling's aim ends. */
|
|
67
|
+
activateHover(): void;
|
|
62
68
|
protected onMouseLeave(event: MouseEvent): void;
|
|
63
69
|
openSubmenu(): void;
|
|
64
70
|
closeSubmenu(): void;
|
|
65
71
|
ngOnDestroy(): void;
|
|
66
72
|
private clearOpenTimer;
|
|
67
|
-
private clearCloseTimer;
|
|
68
73
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
69
74
|
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
75
|
}
|
|
@@ -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,6 +124,7 @@ 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;
|
|
@@ -32,7 +32,9 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
32
32
|
* shortened. */
|
|
33
33
|
readonly centerPlacement: _angular_core.InputSignal<PieChartCenterPlacement>;
|
|
34
34
|
/** Legend placement, logical so it flips in right-to-left. */
|
|
35
|
-
readonly legend: _angular_core.InputSignal<"
|
|
35
|
+
readonly legend: _angular_core.InputSignal<"none" | "end" | "bottom">;
|
|
36
|
+
/** How many slices, and legend rows, the loading skeleton draws before the data is known. */
|
|
37
|
+
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
36
38
|
/** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
|
|
37
39
|
readonly maxSlices: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
38
40
|
/** Names the grouped slice. Unset falls back to `DS_INTL.chart.other`. */
|
|
@@ -117,10 +119,10 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
117
119
|
protected onSliceKey(slice: PieChartSlice, event: Event): void;
|
|
118
120
|
protected readonly ringCarriesTheRoute: _angular_core.Signal<boolean>;
|
|
119
121
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
120
|
-
|
|
122
|
+
protected readonly skeletonMarks: _angular_core.Signal<number>;
|
|
121
123
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
122
124
|
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>;
|
|
125
|
+
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; }; "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
126
|
}
|
|
125
127
|
|
|
126
128
|
export { PieChartComponent };
|
|
@@ -74,6 +74,8 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
|
|
|
74
74
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
75
75
|
protected readonly viewBox = "0 0 640 360";
|
|
76
76
|
protected readonly plot: ScatterPlot;
|
|
77
|
+
protected readonly plotBottom: number;
|
|
78
|
+
protected readonly plotRight: number;
|
|
77
79
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
78
80
|
/** One mark per drawn unit of plot width is the ceiling. */
|
|
79
81
|
private readonly budget;
|
|
@@ -97,8 +99,6 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
|
|
|
97
99
|
y: number;
|
|
98
100
|
label: string;
|
|
99
101
|
}[]>;
|
|
100
|
-
protected readonly plotBottom: number;
|
|
101
|
-
protected readonly plotRight: number;
|
|
102
102
|
protected readonly multiSeries: _angular_core.Signal<boolean>;
|
|
103
103
|
/** The series named in the legend under the pointer, which fades the rest. */
|
|
104
104
|
protected readonly highlightedSeries: _angular_core.WritableSignal<string | null>;
|
|
@@ -116,7 +116,17 @@ declare class ScatterChartComponent extends DsChartBase implements ChartDimmable
|
|
|
116
116
|
/** `<details>` keeps its children in the DOM while shut, so rows exist only while it is open. */
|
|
117
117
|
protected readonly tableOpen: _angular_core.WritableSignal<boolean>;
|
|
118
118
|
protected readonly tableIsOpen: _angular_core.Signal<boolean>;
|
|
119
|
-
|
|
119
|
+
/** Where the drawn chart puts its grid lines and labels, as shares of the box, which keeps the
|
|
120
|
+
* drawn chart's aspect ratio. Marks are left out: no dots while loading. */
|
|
121
|
+
protected readonly skeletonLayout: {
|
|
122
|
+
plotLeft: string;
|
|
123
|
+
plotWidth: string;
|
|
124
|
+
labelEnd: string;
|
|
125
|
+
categoryTop: string;
|
|
126
|
+
titleTop: string;
|
|
127
|
+
rows: string[];
|
|
128
|
+
columns: string[];
|
|
129
|
+
};
|
|
120
130
|
/** Flattened so one index addresses a mark (`chartActiveMark` counts marks). */
|
|
121
131
|
private readonly flatMarks;
|
|
122
132
|
/** Where each series starts in `flatMarks`. */
|
|
@@ -38,8 +38,10 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
38
38
|
readonly label: _angular_core.InputSignal<string>;
|
|
39
39
|
/** Disables the trigger and blocks all interaction. */
|
|
40
40
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
41
|
-
/** Options are still being fetched
|
|
41
|
+
/** Options are still being fetched and the list reports `aria-busy`: with no options it shows
|
|
42
|
+
* placeholder rows, with options it keeps them under an overlay until they are replaced. */
|
|
42
43
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
44
|
+
protected readonly skeletonOptionWidths: string[];
|
|
43
45
|
/** The panel opened. */
|
|
44
46
|
readonly opened: _angular_core.OutputEmitterRef<void>;
|
|
45
47
|
/** The panel closed, for any reason - a pick, Escape, an outside click, a scroll. */
|
|
@@ -84,6 +86,7 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
84
86
|
protected optionId(flatIndex: number): string;
|
|
85
87
|
/** Active option for `aria-activedescendant` (combobox keeps DOM focus). */
|
|
86
88
|
protected readonly activeDescendant: _angular_core.Signal<string | null>;
|
|
89
|
+
protected readonly listInert: _angular_core.Signal<boolean>;
|
|
87
90
|
protected readonly resolvedAriaLabel: _angular_core.Signal<string | null>;
|
|
88
91
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
89
92
|
protected readonly trigger: _angular_core.Signal<ElementRef<HTMLElement>>;
|