@ids-group-ltd/ids-design-system 0.14.4 → 0.14.6-beta.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 +176 -1
- package/components.md +15 -15
- package/docs/agent/INDEX.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +1 -1
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +1 -1
- package/docs/agent/charts/ds-config.md +1 -1
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-heatmap-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +1 -1
- package/docs/agent/charts/ds-pie-chart.md +3 -3
- package/docs/agent/charts/ds-scatter-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/navigation/ds-breadcrumbs.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -6
- 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 -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 +58 -163
- 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 +21 -34
- 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 +34 -105
- 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 +3 -3
- 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 +22 -48
- 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 +7 -7
- 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 -10
- 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 +28 -130
- 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 +11 -29
- 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 +10 -28
- 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 +20 -13
- 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 +3 -3
- 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 +42 -69
- 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 +15 -20
- 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 +6 -7
- 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 +3 -10
- 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 +12 -28
- 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 +58 -112
- 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 +182 -432
- 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 +8 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -22
- 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 +28 -123
- 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 +45 -116
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
- 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 +4 -6
- 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 +7 -16
- 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 +7 -8
- 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 +3 -3
- 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 +16 -45
- 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 +10 -14
- 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 +19 -41
- 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 +48 -163
- 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 +27 -85
- 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 +17 -25
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +21 -41
- 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 +3 -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 +50 -166
- 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 +7 -7
- 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 +6 -11
- 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 +19 -36
- 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 +30 -57
- 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 +37 -103
- 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 +5 -6
- 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 +9 -15
- 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 +1 -1
- 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 +8 -12
- 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 +9 -24
- 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 +32 -120
- 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 +14 -24
- 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 +15 -24
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +9 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +27 -91
- 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 +16 -41
- 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 +8 -11
- 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 +18 -52
- 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 +4 -7
- 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 +30 -49
- 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 +8 -12
- 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 +6 -7
- 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 +29 -13
- 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 +3 -3
- 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 +8 -9
- 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 +5 -20
- 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 +4 -4
- 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 +3 -3
- 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 +5 -9
- 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 +11 -23
- 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 +7 -16
- 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 +9 -43
- 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 +167 -353
- 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 +33 -86
- 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 +7 -7
- 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 +23 -47
- 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 +21 -49
- 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 +35 -63
- 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 -3
- 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 +38 -50
- 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 +3 -5
- 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 +3 -3
- 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 +28 -85
- 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 +325 -579
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +52 -85
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -21
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +4 -13
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +1 -2
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
- package/migrations/0.14.5.json +311 -0
- package/migrations/0.14.6-beta.0.json +9 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +20 -2
- package/styles/_breakpoints.scss +6 -23
- package/styles/_chart-data-table.scss +3 -11
- package/styles/_chart-frame.scss +14 -63
- package/styles/_chart-interactive.scss +8 -36
- package/styles/_chart-motion.scss +11 -39
- package/styles/_check-box.scss +7 -26
- package/styles/_check-mark.scss +7 -23
- package/styles/_chip-row.scss +3 -14
- package/styles/_clear-button.scss +2 -7
- package/styles/_control-label.scss +2 -13
- package/styles/_control-line.scss +2 -6
- package/styles/_dropdown-overlay.scss +8 -33
- package/styles/_ds-color.scss +9 -28
- package/styles/_field-box.scss +4 -16
- package/styles/_field-group-segment.scss +6 -6
- package/styles/_field-label.scss +3 -14
- package/styles/_field-state.scss +5 -10
- package/styles/_focus.scss +20 -60
- package/styles/_icon-base.scss +0 -2
- package/styles/_layout-utils.scss +0 -3
- package/styles/_link.scss +4 -18
- package/styles/_overlay-motion.scss +15 -38
- package/styles/_page-grid.scss +4 -29
- package/styles/_press.scss +5 -18
- package/styles/_reset.scss +1 -14
- package/styles/_scrollbar.scss +0 -2
- package/styles/_skeleton-shimmer.scss +3 -14
- package/styles/_status.scss +5 -13
- package/styles/_surface-motion.scss +7 -34
- package/styles/_table-controls.scss +3 -6
- package/styles/_text-clip.scss +2 -6
- package/styles/_theme-activation.scss +7 -20
- package/styles/_toast-overlay.scss +2 -6
- package/styles/_tokens-charts.scss +31 -90
- package/styles/_tokens.scss +111 -156
- package/styles/_typography.scss +6 -13
- package/styles/_visually-hidden.scss +2 -3
- package/styles/ds.scss +2 -10
- package/themes/_base-palette.scss +12 -35
- package/themes/_semantic.scss +29 -98
- package/themes/dark/_palette.scss +15 -29
- package/themes/dark/_theme.scss +14 -32
- package/themes/light/_palette.scss +2 -17
- package/themes/light/_theme.scss +1 -7
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +2 -6
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +2 -3
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +45 -119
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +19 -32
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +29 -92
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +23 -46
- package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +5 -5
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -8
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +27 -136
- package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +13 -32
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +6 -12
- package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +6 -9
- package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +36 -55
- package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +13 -18
- package/types/ids-group-ltd-ids-design-system-components-card.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -11
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +10 -26
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +27 -49
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +161 -385
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -10
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +5 -14
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -124
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +23 -70
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +3 -7
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +1 -3
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +6 -8
- package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +17 -50
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +8 -12
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +13 -28
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +25 -113
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +17 -85
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +15 -23
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +18 -37
- package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +51 -160
- package/types/ids-group-ltd-ids-design-system-components-list.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +4 -9
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +13 -21
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +15 -28
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +27 -83
- package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +5 -6
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +5 -7
- package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -10
- package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +8 -22
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +18 -102
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +7 -11
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +14 -25
- package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +7 -12
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +21 -96
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +12 -33
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +6 -7
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +12 -41
- package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +8 -15
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +23 -40
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +3 -5
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +14 -10
- package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +6 -7
- package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +2 -15
- package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +4 -6
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +5 -9
- package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +3 -7
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +4 -8
- package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +9 -43
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +160 -369
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +21 -49
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +5 -5
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +17 -34
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +17 -38
- package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +20 -37
- package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +2 -3
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +17 -36
- package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +21 -70
- package/types/ids-group-ltd-ids-design-system-components.d.ts +262 -415
- package/types/ids-group-ltd-ids-design-system-core.d.ts +134 -260
- package/types/ids-group-ltd-ids-design-system-icons.d.ts +2 -24
- package/types/ids-group-ltd-ids-design-system-overlay.d.ts +4 -13
- package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -6
|
@@ -16,92 +16,73 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
16
16
|
/** Brand/status hue family. */
|
|
17
17
|
readonly color: _angular_core.InputSignal<ButtonColor>;
|
|
18
18
|
/** Fill pattern. Every color×variant pair renders; the discouraged ones dev-warn with the
|
|
19
|
-
* reason.
|
|
20
|
-
* this one only where the ds-button API is needed. */
|
|
19
|
+
* reason. Prefer the global `.link` class over `text` unless the ds-button API is needed. */
|
|
21
20
|
readonly variant: _angular_core.InputSignal<ButtonVariant>;
|
|
22
|
-
/** Where the contents sit once the button is wider than them
|
|
23
|
-
*
|
|
21
|
+
/** Where the contents sit once the button is wider than them (`fullWidth`, a stretching grid
|
|
22
|
+
* cell). `'between'` pushes the label and a trailing icon to opposite edges. */
|
|
24
23
|
readonly align: _angular_core.InputSignal<ButtonAlign>;
|
|
25
|
-
/**
|
|
26
|
-
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
24
|
+
/** Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
27
25
|
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
28
26
|
readonly sizeResolved: _angular_core.Signal<DsSize>;
|
|
29
27
|
/** `RouterLink` target. Set it and the button renders an `<a [routerLink]>` with
|
|
30
|
-
* `routerLinkActive
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* Accepts a `UrlTree` as well as a path or a command array — `Router.createUrlTree` is the way
|
|
34
|
-
* to reach the `UrlCreationOptions` that have no input of their own here (`relativeTo`,
|
|
35
|
-
* `preserveFragment`). */
|
|
28
|
+
* `routerLinkActive`, so middle-click, open-in-new-tab and the "link" role work.
|
|
29
|
+
* Accepts a `UrlTree` as well as a path or command array. */
|
|
36
30
|
readonly routerLink: _angular_core.InputSignal<DsRouterLink>;
|
|
37
|
-
/** Plain `href` target, used when `routerLink` is not set
|
|
38
|
-
* Renders an `<a href
|
|
31
|
+
/** Plain `href` target, used when `routerLink` is not set (external address, download).
|
|
32
|
+
* Renders an `<a href>`. */
|
|
39
33
|
readonly href: _angular_core.InputSignal<string>;
|
|
40
|
-
/** Hash to append to a `routerLink` destination
|
|
41
|
-
*
|
|
42
|
-
* dev warning. */
|
|
34
|
+
/** Hash to append to a `routerLink` destination. routerLink-only: on an `href` put it in the
|
|
35
|
+
* URL; on a plain button it is ignored with a dev warning. */
|
|
43
36
|
readonly fragment: _angular_core.InputSignal<string | undefined>;
|
|
44
|
-
/** Query parameters for a `routerLink` destination. routerLink-only
|
|
37
|
+
/** Query parameters for a `routerLink` destination. routerLink-only. */
|
|
45
38
|
readonly queryParams: _angular_core.InputSignal<Params | null | undefined>;
|
|
46
|
-
/** How the destination's query merges with the current one
|
|
47
|
-
* `'replace'`. routerLink-only. */
|
|
39
|
+
/** How the destination's query merges with the current one. routerLink-only. */
|
|
48
40
|
readonly queryParamsHandling: _angular_core.InputSignal<QueryParamsHandling | null | undefined>;
|
|
49
|
-
/** Browsing context for the link
|
|
50
|
-
* plain button it is ignored with a dev warning. */
|
|
41
|
+
/** Browsing context for the link (`'_blank'`, ...). Ignored with a dev warning on a plain button. */
|
|
51
42
|
readonly target: _angular_core.InputSignal<string | undefined>;
|
|
52
|
-
/** `rel` for the link
|
|
53
|
-
* reach back through `window.opener`. Both link destinations take it. */
|
|
43
|
+
/** `rel` for the link; pair with `target="_blank"` (`noopener` blocks `window.opener` access). */
|
|
54
44
|
readonly rel: _angular_core.InputSignal<string | undefined>;
|
|
55
|
-
/** How `routerLinkActive` decides the `active`
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
|
|
59
|
-
readonly routerLinkActiveOptions: _angular_core.InputSignal<{
|
|
45
|
+
/** How `routerLinkActive` decides the `active` class; prefix by default. It also bounds the
|
|
46
|
+
* announcement: with `{ exact: true }` a prefix match announces nothing rather than `true`.
|
|
47
|
+
* Pass `ariaCurrent` alongside to keep one. */
|
|
48
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<IsActiveMatchOptions | {
|
|
60
49
|
exact: boolean;
|
|
61
|
-
}
|
|
50
|
+
}>;
|
|
62
51
|
/** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
|
|
63
|
-
*
|
|
64
|
-
* of the other values when the link is a step or a location rather than a page. */
|
|
52
|
+
* `true`; `null` announces nothing; use `step` or `location` when the link is not a page. */
|
|
65
53
|
readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
|
|
66
|
-
/** Native `type
|
|
67
|
-
*
|
|
54
|
+
/** Native `type`; defaults to `'button'` so it never submits an ancestor form. Button-only:
|
|
55
|
+
* ignored on a link, with a dev warning. */
|
|
68
56
|
readonly type: _angular_core.InputSignal<ButtonType>;
|
|
69
57
|
/** Disables the button and blocks `pressed`. */
|
|
70
58
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
-
/** Busy state
|
|
72
|
-
*
|
|
59
|
+
/** Busy state: disables interaction and sets `aria-busy`. Button-only; ignored on an anchor
|
|
60
|
+
* with a dev warning. */
|
|
73
61
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
74
|
-
/**
|
|
62
|
+
/** Fills the container: the host becomes block-level and 100% wide. */
|
|
75
63
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
76
64
|
/** Accessible name, forwarded as `aria-label`. For an icon-only or non-descriptive label. */
|
|
77
65
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
78
|
-
/**
|
|
66
|
+
/** Icon before the projected content. */
|
|
79
67
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
80
|
-
/**
|
|
68
|
+
/** Icon after the projected content. */
|
|
81
69
|
readonly trailingIcon: _angular_core.InputSignal<IconName | null>;
|
|
82
|
-
/**
|
|
83
|
-
* button triggers a menu/dialog/listbox overlay. */
|
|
70
|
+
/** `aria-haspopup` on the inner <button>; set when this button triggers an overlay. */
|
|
84
71
|
readonly ariaHasPopup: _angular_core.InputSignal<"menu" | "grid" | "true" | "listbox" | "tree" | "dialog" | null>;
|
|
85
|
-
/**
|
|
86
|
-
* overlay's open state on a trigger button. */
|
|
72
|
+
/** `aria-expanded` on the inner <button>; bind to the overlay's open state. */
|
|
87
73
|
readonly ariaExpanded: _angular_core.InputSignal<boolean | null>;
|
|
88
|
-
/**
|
|
89
|
-
* this button opens, e.g. `ds-app-layout`'s `railId`. */
|
|
74
|
+
/** `aria-controls` on the inner <button>: the id of the panel this button opens. */
|
|
90
75
|
readonly ariaControls: _angular_core.InputSignal<string | null>;
|
|
91
76
|
/** Why the button is refused, shown as its second line and read only while `disabled`. Setting
|
|
92
|
-
* it
|
|
93
|
-
*
|
|
94
|
-
* so the click is swallowed in `onClick` instead. Uncapped: the text wraps and the button grows.
|
|
95
|
-
* Same name and meaning as `TableRowAction.disabledReason`. */
|
|
77
|
+
* it uses `aria-disabled` instead of the native attribute (a native disabled button cannot be
|
|
78
|
+
* focused, so the reason would go unannounced) and swallows the click. Uncapped: the text wraps. */
|
|
96
79
|
readonly disabledReason: _angular_core.InputSignalWithTransform<string, string | null | undefined>;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* `disabledReason` when both are present. */
|
|
80
|
+
/** `aria-describedby` pointing at a description the app renders itself. Merged with the id
|
|
81
|
+
* of `disabledReason` when both are present. */
|
|
100
82
|
readonly ariaDescribedBy: _angular_core.InputSignal<string | null>;
|
|
101
|
-
/** Fires on click
|
|
83
|
+
/** Fires on click unless `disabled` or `loading`. */
|
|
102
84
|
readonly pressed: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
103
|
-
/** The inner control, for an overlay
|
|
104
|
-
* `HTMLElement`, not `HTMLButtonElement`: the element follows the destination. */
|
|
85
|
+
/** The inner control, for an overlay to position against and restore focus to. */
|
|
105
86
|
readonly controlRef: _angular_core.Signal<ElementRef<HTMLElement>>;
|
|
106
87
|
protected readonly destination: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsDestination>;
|
|
107
88
|
protected readonly linkModifiers: _angular_core.Signal<DsLinkModifiers>;
|
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
|
|
3
|
-
/** A single calendar day cell
|
|
4
|
-
* also usable standalone (e.g. a state showcase). Renders a focusable
|
|
5
|
-
* `<button class="day">` whose state classes are driven by inputs. The host is
|
|
6
|
-
* `display: contents` so the inner button is the grid item, and the date-picker
|
|
7
|
-
* can still focus a specific day via `[data-day]` (roving tabindex).
|
|
3
|
+
/** A single calendar day cell of `<ds-date-picker>`'s grid.
|
|
8
4
|
* @internal
|
|
9
5
|
*/
|
|
10
6
|
declare class CalendarDayComponent {
|
|
11
|
-
/** The chosen day
|
|
7
|
+
/** The chosen day, or an end of the range. Drives `aria-selected`. */
|
|
12
8
|
readonly selected: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
13
|
-
/** A day
|
|
9
|
+
/** A day between the two ends of a range. */
|
|
14
10
|
readonly inRange: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
15
|
-
/** First day of a range
|
|
11
|
+
/** First day of a range. */
|
|
16
12
|
readonly rangeStart: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
|
-
/** Last day of a range
|
|
13
|
+
/** Last day of a range. */
|
|
18
14
|
readonly rangeEnd: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
19
|
-
/** Marks the current date.
|
|
15
|
+
/** Marks the current date. */
|
|
20
16
|
readonly today: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
21
|
-
/** Day from an adjacent month
|
|
17
|
+
/** Day from an adjacent month. */
|
|
22
18
|
readonly muted: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
-
/** Outside `minDate`/`maxDate` or rejected by `disabledDate
|
|
19
|
+
/** Outside `minDate`/`maxDate` or rejected by `disabledDate`. */
|
|
24
20
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
-
/** Stable key the date-picker uses to focus a
|
|
21
|
+
/** Stable key the date-picker uses to focus a day. */
|
|
26
22
|
readonly dataDay: _angular_core.InputSignal<string | null>;
|
|
27
|
-
/** Roving tabindex:
|
|
28
|
-
* grid once and arrows move within it. */
|
|
23
|
+
/** Roving tabindex: one day carries 0, the rest -1. */
|
|
29
24
|
readonly tabIndex: _angular_core.InputSignal<number>;
|
|
30
|
-
/** Full spoken date ("12 March 2026")
|
|
25
|
+
/** Full spoken date ("12 March 2026"). */
|
|
31
26
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
32
|
-
/** Click on an enabled day.
|
|
27
|
+
/** Click on an enabled day. */
|
|
33
28
|
readonly daySelected: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
34
|
-
/** Key press on the focused day
|
|
29
|
+
/** Key press on the focused day. */
|
|
35
30
|
readonly dayKeydown: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
36
31
|
protected readonly classes: _angular_core.Signal<string>;
|
|
37
32
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CalendarDayComponent, never>;
|
|
@@ -3,13 +3,13 @@ import { CardElevation, CardPadding } from '@ids-group-ltd/ids-design-system/cor
|
|
|
3
3
|
export { CardElevation, CardPadding } from '@ids-group-ltd/ids-design-system/core';
|
|
4
4
|
|
|
5
5
|
declare class CardComponent {
|
|
6
|
-
/**
|
|
6
|
+
/** `interactive` makes the card clickable and emits `pressed`.
|
|
7
7
|
* Unset falls back to `DS_CONFIG.card.elevation`, then `'flat'`. */
|
|
8
8
|
readonly elevation: _angular_core.InputSignal<CardElevation | null>;
|
|
9
9
|
/** Inner padding preset. Unset falls back to `DS_CONFIG.card.padding`, then the
|
|
10
10
|
* card's own padding. */
|
|
11
11
|
readonly padding: _angular_core.InputSignal<CardPadding | null>;
|
|
12
|
-
/** Fires
|
|
12
|
+
/** Fires on click when `elevation` is `interactive`. */
|
|
13
13
|
readonly pressed: _angular_core.OutputEmitterRef<MouseEvent>;
|
|
14
14
|
readonly elevationResolved: _angular_core.Signal<CardElevation>;
|
|
15
15
|
readonly paddingResolved: _angular_core.Signal<CardPadding | null>;
|
|
@@ -1,29 +1,23 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
3
3
|
|
|
4
|
-
/** Cells arrive formatted
|
|
4
|
+
/** Cells arrive already formatted. */
|
|
5
5
|
interface ChartDataRow {
|
|
6
6
|
readonly key: string;
|
|
7
7
|
readonly cells: readonly string[];
|
|
8
|
-
/** A part of the row above
|
|
9
|
-
* Drawn indented and quieter, so the nesting survives without a second table. */
|
|
8
|
+
/** A part of the row above (one bar's segment, one stage's drop); drawn indented and quieter. */
|
|
10
9
|
readonly nested?: boolean;
|
|
11
10
|
}
|
|
12
|
-
/**
|
|
13
|
-
* The annex table under a chart: the non-visual route to the numbers, and the only one a reader
|
|
14
|
-
* with no pointer has.
|
|
15
|
-
*/
|
|
11
|
+
/** The annex table under a chart: the non-visual route to the numbers. */
|
|
16
12
|
declare class ChartDataTableComponent {
|
|
17
13
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
18
14
|
readonly columns: _angular_core.InputSignal<readonly string[]>;
|
|
19
15
|
readonly rows: _angular_core.InputSignal<readonly ChartDataRow[]>;
|
|
20
16
|
readonly caption: _angular_core.InputSignal<string | null>;
|
|
21
17
|
readonly open: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
-
/**
|
|
23
|
-
* rather than numbered. */
|
|
18
|
+
/** First cell of each row as a row header. */
|
|
24
19
|
readonly rowHeader: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
-
/** Fires with the disclosure's state
|
|
26
|
-
* only while they are on screen. */
|
|
20
|
+
/** Fires with the disclosure's state. */
|
|
27
21
|
readonly toggled: _angular_core.OutputEmitterRef<boolean>;
|
|
28
22
|
private readonly openedOnce;
|
|
29
23
|
protected readonly built: _angular_core.Signal<boolean>;
|
|
@@ -9,32 +9,23 @@ interface ChartLegendItem {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
* The key beside a chart, and
|
|
13
|
-
*
|
|
14
|
-
* Ordinary DOM, never inside the `<svg>`: an item is a real `<input type="checkbox">`, which is
|
|
15
|
-
* what makes the toggle keyboard-operable and correctly announced without inventing a role.
|
|
12
|
+
* The key beside a chart, and, when `toggleable`, the control that hides a series.
|
|
13
|
+
* Real inputs in ordinary DOM, never inside the `<svg>`.
|
|
16
14
|
*
|
|
17
15
|
* @internal
|
|
18
16
|
*/
|
|
19
17
|
declare class ChartLegendComponent {
|
|
20
18
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
21
19
|
readonly items: _angular_core.InputSignal<readonly ChartLegendItem[]>;
|
|
22
|
-
/** Ids of the hidden items. Two-way, so a page can drive it from a URL parameter
|
|
23
|
-
* cross-chart filtering later is this same mechanism. */
|
|
20
|
+
/** Ids of the hidden items. Two-way, so a page can drive it from a URL parameter. */
|
|
24
21
|
readonly hidden: _angular_core.ModelSignal<readonly string[]>;
|
|
25
|
-
/**
|
|
22
|
+
/** Makes each item hide its series; off leaves a plain key. */
|
|
26
23
|
readonly toggleable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* per series. `'toggle'` hides one and leaves the rest, for taking a dominant series out so the
|
|
30
|
-
* others can be read at a usable scale.
|
|
31
|
-
*
|
|
32
|
-
* The two are different controls, not two styles of one: isolate is a single choice among many,
|
|
33
|
-
* so it renders as a radio group with an "All" option, and toggle renders as checkboxes. That is
|
|
34
|
-
* what gives each the keyboard and screen-reader behaviour it should have. */
|
|
24
|
+
/** `'isolate'` shows one series and hides the rest (a radio group with an "All" option);
|
|
25
|
+
* `'toggle'` hides one and leaves the rest (checkboxes). */
|
|
35
26
|
readonly mode: _angular_core.InputSignal<"toggle" | "isolate">;
|
|
36
|
-
/** The item under the pointer or holding focus, which
|
|
37
|
-
*
|
|
27
|
+
/** The item under the pointer or holding focus, which the chart dims from; a pointer waits
|
|
28
|
+
* `DS_CONFIG.chart.hoverDelayMs`. */
|
|
38
29
|
readonly highlighted: _angular_core.ModelSignal<string | null>;
|
|
39
30
|
private readonly dwell;
|
|
40
31
|
constructor();
|
|
@@ -42,16 +33,9 @@ declare class ChartLegendComponent {
|
|
|
42
33
|
protected onItemLeave(): void;
|
|
43
34
|
protected isHidden(id: string): boolean;
|
|
44
35
|
protected toggle(id: string): void;
|
|
45
|
-
/** Radio
|
|
46
|
-
* legend on a page one group: choosing a series in one chart would clear the choice in all the
|
|
47
|
-
* others, and only the last one rendered would show a selection at all. */
|
|
36
|
+
/** Radio group name; unique per legend. */
|
|
48
37
|
protected readonly groupName: string;
|
|
49
|
-
/**
|
|
50
|
-
* group is never a set of empty circles with nothing chosen — a radio group with no selection
|
|
51
|
-
* reads as broken, and the reader cannot tell "everything" from "not decided yet".
|
|
52
|
-
*
|
|
53
|
-
* A partial set left over from `'toggle'` — some hidden, more than one visible — is not a state
|
|
54
|
-
* isolate can express, so it settles on `'all'` and the next choice makes it true. */
|
|
38
|
+
/** The radio that is on: an item id, `'all'`, or `'none'`. */
|
|
55
39
|
protected readonly isolated: _angular_core.Signal<string>;
|
|
56
40
|
protected isolate(id: string): void;
|
|
57
41
|
protected showAll(): void;
|
|
@@ -3,63 +3,50 @@ import { TemplateRef, Signal } from '@angular/core';
|
|
|
3
3
|
import { SafeHtml } from '@angular/platform-browser';
|
|
4
4
|
|
|
5
5
|
/** Which mark a chart's tooltip answers for. `'item'` is the mark under the pointer;
|
|
6
|
-
* `'axis'` is every series at the category under the pointer
|
|
7
|
-
* chart needs and a bar chart does not. */
|
|
6
|
+
* `'axis'` is every series at the category under the pointer (line charts). */
|
|
8
7
|
type ChartTooltipTrigger = 'item' | 'axis' | 'none';
|
|
9
|
-
/** The subset a chart whose marks ARE its categories offers.
|
|
8
|
+
/** The subset a chart whose marks ARE its categories offers. Not written as
|
|
10
9
|
* `Exclude<ChartTooltipTrigger, 'axis'>`: the React wrapper generator cannot resolve a built-in
|
|
11
|
-
* utility type
|
|
10
|
+
* utility type and collapses the input to `unknown`. */
|
|
12
11
|
type ChartItemTooltipTrigger = 'item' | 'none';
|
|
13
12
|
interface ChartTooltipEntry {
|
|
14
13
|
readonly label: string;
|
|
15
14
|
readonly value: number;
|
|
16
|
-
/** Already through the chart's `valueFormat
|
|
15
|
+
/** Already through the chart's `valueFormat`. */
|
|
17
16
|
readonly formatted: string;
|
|
18
17
|
readonly color: string;
|
|
19
|
-
/** Marks whose fill is hatched
|
|
20
|
-
* panel and the plot encode the distinction the same way and neither relies on hue alone. */
|
|
18
|
+
/** Marks whose fill is hatched; the swatch is hatched too. */
|
|
21
19
|
readonly hatched?: boolean;
|
|
22
|
-
/** A second line under the value
|
|
23
|
-
* its share of the total, its rank, the drop into it. A tooltip that repeats the label a
|
|
24
|
-
* reader is looking at has told them nothing. */
|
|
20
|
+
/** A second line under the value: share of the total, rank, the drop into it. */
|
|
25
21
|
readonly detail?: string;
|
|
26
22
|
}
|
|
27
23
|
interface ChartTooltipContext {
|
|
28
|
-
/** Empty on a chart whose marks are the categories
|
|
24
|
+
/** Empty on a chart whose marks are the categories. */
|
|
29
25
|
readonly category: string;
|
|
30
26
|
readonly entries: readonly ChartTooltipEntry[];
|
|
31
27
|
}
|
|
32
|
-
/**
|
|
33
|
-
* coordinates for a chart whose active mark has no element of its own. */
|
|
28
|
+
/** The mark's own element, or a point in client coordinates when the active mark has no element. */
|
|
34
29
|
type ChartTooltipOrigin = Element | {
|
|
35
30
|
readonly x: number;
|
|
36
31
|
readonly y: number;
|
|
37
32
|
};
|
|
38
33
|
|
|
39
|
-
/**
|
|
40
|
-
* The chart tooltip, driven entirely by the context a chart hands it: non-null opens the
|
|
41
|
-
* panel, null closes it. Pointer and keyboard therefore share one path — a chart that
|
|
42
|
-
* sets the context on `focus` gets the panel with no pointer involved.
|
|
43
|
-
*
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
34
|
+
/** The chart tooltip: a non-null context opens the panel, null closes it. @internal */
|
|
46
35
|
declare class ChartTooltipDirective {
|
|
47
36
|
private readonly overlay;
|
|
48
37
|
private readonly viewContainerRef;
|
|
38
|
+
private readonly host;
|
|
49
39
|
readonly dsChartTooltip: _angular_core.InputSignal<ChartTooltipContext | null>;
|
|
50
40
|
readonly dsChartTooltipOrigin: _angular_core.InputSignal<ChartTooltipOrigin | null>;
|
|
51
41
|
readonly dsChartTooltipTemplate: _angular_core.InputSignal<TemplateRef<{
|
|
52
42
|
$implicit: ChartTooltipContext;
|
|
53
43
|
}> | null>;
|
|
54
|
-
/** Extra clearance between the mark and the panel,
|
|
55
|
-
* prints something ABOVE its mark — a column with its value on top — needs the panel to clear
|
|
56
|
-
* that text as well as the mark, or the two overlap. Ignored for touch, where the gap is already
|
|
57
|
-
* sized for a fingertip. */
|
|
44
|
+
/** Extra clearance between the mark and the panel, for text printed above the mark. Ignored for touch. */
|
|
58
45
|
readonly dsChartTooltipExtraGap: _angular_core.InputSignal<number>;
|
|
59
|
-
/** A held panel takes the pointer
|
|
60
|
-
* the
|
|
46
|
+
/** A held panel takes the pointer so its text can be selected; a following one stays inert or
|
|
47
|
+
* the mark under it never sees the pointer. */
|
|
61
48
|
readonly dsChartTooltipPinned: _angular_core.InputSignal<boolean>;
|
|
62
|
-
/** Whether each reading carries its colour dot. `'auto'` draws them for
|
|
49
|
+
/** Whether each reading carries its colour dot. `'auto'` draws them for two to four readings. */
|
|
63
50
|
readonly dsChartTooltipSwatches: _angular_core.InputSignal<boolean | "auto">;
|
|
64
51
|
private overlayRef;
|
|
65
52
|
private panelRef;
|
|
@@ -80,54 +67,45 @@ declare class ChartTooltipDirective {
|
|
|
80
67
|
interface ChartActiveMark {
|
|
81
68
|
/** Index of the mark under the pointer or holding focus; `-1` when none is. */
|
|
82
69
|
readonly index: Signal<number>;
|
|
83
|
-
/** The
|
|
70
|
+
/** The element the tooltip anchors to. */
|
|
84
71
|
readonly origin: Signal<Element | null>;
|
|
85
|
-
/** Whether the active mark is held rather than followed
|
|
72
|
+
/** Whether the active mark is held rather than followed: a tap, or a click under `pinOnClick`. */
|
|
86
73
|
readonly pinned: Signal<boolean>;
|
|
87
74
|
/** `mark` is the hovered element, for a listener delegated to the marks' parent; it defaults to
|
|
88
75
|
* the event's `currentTarget`. */
|
|
89
76
|
enter(index: number, event: Event, anchor?: string | Element | null, mark?: Element): void;
|
|
90
|
-
/** Moves the active index with no pointer
|
|
91
|
-
* category it took focus on. Leaves the anchor alone: the caller that has no event has no
|
|
92
|
-
* element to aim at either. A pin holds against this too. */
|
|
77
|
+
/** Moves the active index with no pointer (keyboard, category handover); leaves the anchor alone, and a pin holds. */
|
|
93
78
|
setIndex(index: number): void;
|
|
94
79
|
leave(): void;
|
|
95
|
-
/** Holds the mark
|
|
96
|
-
* pinned releases it, so one gesture both sets and clears. */
|
|
80
|
+
/** Holds the activated mark, for any pointer type. Activating the already-pinned mark releases it. */
|
|
97
81
|
pin(index: number, event: Event, anchor?: string | Element | null, mark?: Element): void;
|
|
98
|
-
/** Lets go of a held mark, for a control that offers the way out in as many words. */
|
|
99
82
|
release(): void;
|
|
100
83
|
}
|
|
101
84
|
/**
|
|
102
85
|
* The pointer-and-focus target the tooltip reads, for a chart whose marks are elements.
|
|
103
|
-
* Pointer and keyboard write the same pair
|
|
104
|
-
* `enter` and gets one code path rather than two.
|
|
86
|
+
* Pointer and keyboard write the same pair: wire `pointerenter` and `focus` to `enter`.
|
|
105
87
|
*
|
|
106
|
-
* A
|
|
107
|
-
*
|
|
88
|
+
* A pointer is answered after resting `hoverDelayMs` on a mark (at once while the chart has
|
|
89
|
+
* already answered); focus, a tap and a pin are answered at once.
|
|
108
90
|
*
|
|
109
|
-
* A
|
|
110
|
-
*
|
|
111
|
-
* from an injection context — the release listener is torn down with the component.
|
|
91
|
+
* A tap latches: touch fires `pointerleave` on lift, so the panel stays until the next tap
|
|
92
|
+
* outside the mark. Call from an injection context.
|
|
112
93
|
*
|
|
113
94
|
* @internal
|
|
114
95
|
*/
|
|
115
96
|
declare function chartActiveMark(lingerMs?: () => number, hoverDelayMs?: () => number): ChartActiveMark;
|
|
116
97
|
|
|
117
|
-
/** Radius of the pin disc, in plot pixels.
|
|
118
|
-
* much room from its edge.
|
|
98
|
+
/** Radius of the pin disc, in plot pixels.
|
|
119
99
|
*
|
|
120
100
|
* @internal */
|
|
121
101
|
declare const CHART_PIN_RADIUS = 11;
|
|
122
|
-
/**
|
|
123
|
-
* the edge and reads as part of the mark rather than as a badge on it.
|
|
102
|
+
/** Gap between a disc and the top edge of what it holds.
|
|
124
103
|
*
|
|
125
104
|
* @internal */
|
|
126
105
|
declare const CHART_PIN_GAP = 4;
|
|
127
106
|
/**
|
|
128
|
-
* The disc an SVG chart draws on the mark or category it holds. Drawn
|
|
129
|
-
* `ds-icon`'s host is an
|
|
130
|
-
* nothing inside a canvas. The opaque disc is what keeps the glyph legible on any series colour.
|
|
107
|
+
* The disc an SVG chart draws on the mark or category it holds. Drawn, not composed:
|
|
108
|
+
* `ds-icon`'s host is an element SVG does not know, which renders nothing inside a canvas.
|
|
131
109
|
* Centred on the host's origin; place it with a `transform`.
|
|
132
110
|
*
|
|
133
111
|
* @internal
|