@ids-group-ltd/ids-design-system 0.14.4 → 0.14.5
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 +160 -0
- package/components.md +14 -14
- 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-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 +16 -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 +51 -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/package.json +1 -1
- package/schematics/check-overrides/surface.json +17 -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 +133 -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
|
@@ -8,27 +8,25 @@ interface DropzoneFile {
|
|
|
8
8
|
size: number;
|
|
9
9
|
state: DropzoneFileState;
|
|
10
10
|
progress: number;
|
|
11
|
-
/**
|
|
12
|
-
* (e.g. "uploaded", "exceeds 10 MB limit"). */
|
|
11
|
+
/** Status text shown in place of the bare state name, e.g. "exceeds 10 MB limit". */
|
|
13
12
|
message?: string;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
declare class DropzoneComponent {
|
|
17
16
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
18
17
|
private readonly sizeFormat;
|
|
19
|
-
/** Native `accept
|
|
18
|
+
/** Native `accept`: comma-separated MIME types or extensions. */
|
|
20
19
|
readonly accept: _angular_core.InputSignal<string>;
|
|
21
|
-
/** Allows picking more than one file at once.
|
|
22
|
-
* does with no `multiple`. */
|
|
20
|
+
/** Allows picking more than one file at once. */
|
|
23
21
|
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
|
-
/** Files shown in the list
|
|
22
|
+
/** Files shown in the list; the consumer owns upload state and progress. */
|
|
25
23
|
readonly files: _angular_core.ModelSignal<DropzoneFile[]>;
|
|
26
|
-
/**
|
|
24
|
+
/** Blocks all file picking. */
|
|
27
25
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
28
26
|
protected readonly dragOver: _angular_core.WritableSignal<boolean>;
|
|
29
27
|
/** Fires with the raw files picked or dropped; the consumer adds them to `files`. */
|
|
30
28
|
readonly filesAdded: _angular_core.OutputEmitterRef<File[]>;
|
|
31
|
-
/** Fires when the user removes a file;
|
|
29
|
+
/** Fires when the user removes a file; the consumer removes the matching entry from `files`. */
|
|
32
30
|
readonly fileRemoved: _angular_core.OutputEmitterRef<DropzoneFile>;
|
|
33
31
|
protected readonly classes: _angular_core.Signal<string>;
|
|
34
32
|
protected onDragOver(event: DragEvent): void;
|
|
@@ -4,7 +4,7 @@ import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
|
4
4
|
type EmptyStateVariant = 'none' | 'loading' | 'error' | 'locked' | 'success';
|
|
5
5
|
|
|
6
6
|
declare class EmptyStateComponent {
|
|
7
|
-
/**
|
|
7
|
+
/** Drives the default icon; `'loading'` shows a loading overlay. */
|
|
8
8
|
readonly variant: _angular_core.InputSignal<EmptyStateVariant>;
|
|
9
9
|
/** Override the variant's default icon. */
|
|
10
10
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
@@ -6,56 +6,36 @@ import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
|
6
6
|
|
|
7
7
|
/** What a grouped control can read off the group that encloses it. */
|
|
8
8
|
interface DsFieldGroupContext {
|
|
9
|
-
/** The group's size,
|
|
10
|
-
* Resolved, not the raw input: `size` is unset by default and falls back to
|
|
11
|
-
* `DS_CONFIG.control.size`, which a segment must not have to resolve again. */
|
|
9
|
+
/** The group's size, already resolved against `DS_CONFIG.control.size`. */
|
|
12
10
|
readonly sizeResolved: () => DsSize;
|
|
13
|
-
/** Whether the
|
|
14
|
-
* `invalid` flag. A segment ORs it into its own state, so focusing any of them announces the
|
|
15
|
-
* error: the pair is invalid, and a reader who tabs to the second segment must hear it too.
|
|
16
|
-
* Named for the resolved value so it cannot be confused with the group's raw `invalid` input. */
|
|
11
|
+
/** Whether the group is in error, counting an `error` string as well as the `invalid` flag. */
|
|
17
12
|
readonly invalidResolved: () => boolean;
|
|
18
|
-
/**
|
|
19
|
-
* group's one sentence to every control it describes. */
|
|
13
|
+
/** Id a segment adds to its `aria-describedby`. */
|
|
20
14
|
readonly messageId: () => string | null;
|
|
21
15
|
}
|
|
22
16
|
/**
|
|
23
|
-
* Provided by `ds-field-group`, injected `{ optional: true }` by every control
|
|
24
|
-
* that can be a segment.
|
|
17
|
+
* Provided by `ds-field-group`, injected `{ optional: true }` by every control that can be a segment.
|
|
25
18
|
*
|
|
26
|
-
* DI rather than
|
|
27
|
-
* and one segment where it was forgotten renders its own border and radius in
|
|
28
|
-
* the middle of a glued row — a broken control that still looks deliberate.
|
|
29
|
-
* Presence of the token IS the fact the child needs, and the consumer already
|
|
30
|
-
* declared it by wrapping them.
|
|
19
|
+
* DI rather than an input on each child: a segment with a forgotten input would render its own border mid-row.
|
|
31
20
|
*/
|
|
32
21
|
declare const DS_FIELD_GROUP: InjectionToken<DsFieldGroupContext>;
|
|
33
22
|
/**
|
|
34
|
-
* Whether this control is a segment of a `ds-field-group
|
|
35
|
-
* component and bind the result to a host `.in-group` class; the component's own
|
|
36
|
-
* `.in-group` block then strips the chrome the group has taken over.
|
|
37
|
-
*
|
|
38
|
-
* A function so the six supported controls share one line instead of six copies
|
|
39
|
-
* of the same optional inject — and so the contract has one place to change.
|
|
23
|
+
* Whether this control is a segment of a `ds-field-group`; bind it to a host `.in-group` class.
|
|
40
24
|
* @internal
|
|
41
25
|
*/
|
|
42
26
|
declare function inFieldGroup(): boolean;
|
|
43
27
|
/**
|
|
44
|
-
* The enclosing group, or `null`.
|
|
45
|
-
* group's error state and the id of its message.
|
|
28
|
+
* The enclosing group, or `null`. For where the boolean is not enough: the group's error state and message id.
|
|
46
29
|
* @internal
|
|
47
30
|
*/
|
|
48
31
|
declare function fieldGroupContext(): DsFieldGroupContext | null;
|
|
49
32
|
/**
|
|
50
|
-
* A segment's own error state, ORed with the enclosing group's.
|
|
51
|
-
* every segment announces it: a reader who tabs straight to the second one has to hear it too,
|
|
52
|
-
* and the group's border is not something a screen reader can see.
|
|
33
|
+
* A segment's own error state, ORed with the enclosing group's.
|
|
53
34
|
* @internal
|
|
54
35
|
*/
|
|
55
36
|
declare function groupInvalid(own: Signal<boolean>): Signal<boolean>;
|
|
56
37
|
/**
|
|
57
|
-
* The id of the enclosing group's message, for a segment's `aria-describedby
|
|
58
|
-
* describing every control it covers.
|
|
38
|
+
* The id of the enclosing group's message, for a segment's `aria-describedby`.
|
|
59
39
|
* @internal
|
|
60
40
|
*/
|
|
61
41
|
declare function groupMessageId(): Signal<string | null>;
|
|
@@ -63,12 +43,10 @@ declare function groupMessageId(): Signal<string | null>;
|
|
|
63
43
|
declare function describedByIds(...ids: readonly (string | null | undefined)[]): string | null;
|
|
64
44
|
|
|
65
45
|
/**
|
|
66
|
-
* One bordered control out of several: `select + input`, `search + button`,
|
|
67
|
-
*
|
|
68
|
-
* the divider between segments; the controls inside render "naked".
|
|
46
|
+
* One bordered control out of several: `select + input`, `search + button`, `button + select`. The group owns the border, radius,
|
|
47
|
+
* focus ring and segment dividers; the controls inside render "naked".
|
|
69
48
|
*
|
|
70
|
-
* Segments are the direct children. Each hugs its content by default; mark the
|
|
71
|
-
* one that should take the slack with `grow`:
|
|
49
|
+
* Segments are the direct children. Each hugs its content by default; mark the one that should take the slack with `grow`:
|
|
72
50
|
*
|
|
73
51
|
* ```html
|
|
74
52
|
* <ds-field-group error="Введите сумму больше нуля">
|
|
@@ -77,27 +55,16 @@ declare function describedByIds(...ids: readonly (string | null | undefined)[]):
|
|
|
77
55
|
* </ds-field-group>
|
|
78
56
|
* ```
|
|
79
57
|
*
|
|
80
|
-
* A control knows it is a segment by injecting `DS_FIELD_GROUP
|
|
81
|
-
*
|
|
82
|
-
* suppressed: they would break the glued line, which is why the group carries
|
|
83
|
-
* the pair every field has — `error` for state WITH text, `invalid` for state
|
|
84
|
-
* whose text lives elsewhere.
|
|
58
|
+
* A control knows it is a segment by injecting `DS_FIELD_GROUP`. A segment's own label and message stay suppressed; the group
|
|
59
|
+
* carries them: `error` for state with text, `invalid` for state whose text lives elsewhere.
|
|
85
60
|
*/
|
|
86
61
|
declare class FieldGroupComponent extends DsMessageBase implements DsFieldGroupContext {
|
|
87
|
-
/** Segment height
|
|
88
|
-
* plain field beside it.
|
|
89
|
-
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
62
|
+
/** Segment height; falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
90
63
|
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
91
64
|
readonly sizeResolved: _angular_core.Signal<DsSize>;
|
|
92
|
-
/** Paints the error state
|
|
93
|
-
* lives in a form-level summary. Use `error` to show text; binding either one
|
|
94
|
-
* is enough, exactly as on a field.
|
|
95
|
-
*
|
|
96
|
-
* Segments read `invalidResolved`, not this, so an `error` string announces
|
|
97
|
-
* itself without the flag beside it. */
|
|
65
|
+
/** Paints the error state without a message, for when the text lives elsewhere. Use `error` to show text; either one is enough. */
|
|
98
66
|
readonly invalid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
99
|
-
/** Dims the group
|
|
100
|
-
* interactivity. */
|
|
67
|
+
/** Dims the group's chrome; disable the controls too. */
|
|
101
68
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
102
69
|
/** Fills the container instead of hugging its segments. */
|
|
103
70
|
readonly fullWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -3,29 +3,25 @@ import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
|
3
3
|
|
|
4
4
|
/** @internal */
|
|
5
5
|
type FieldMessageState = 'default' | 'error' | 'warning' | 'success';
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* and passes `messageId`; this only renders the element that carries it.
|
|
6
|
+
/** Helper/error line for form fields. Renders nothing when `text` is empty. The host field owns
|
|
7
|
+
* the `aria-describedby` relationship and passes `messageId`.
|
|
9
8
|
* @internal
|
|
10
9
|
*/
|
|
11
10
|
declare class FieldMessageComponent {
|
|
12
11
|
/** The one line under a field. Empty renders nothing (or reserved space, if the field asks). */
|
|
13
12
|
readonly text: _angular_core.InputSignal<string>;
|
|
14
|
-
/**
|
|
13
|
+
/** Hint, error, warning or success; decides the colour. */
|
|
15
14
|
readonly state: _angular_core.InputSignal<FieldMessageState>;
|
|
16
|
-
/** Id the field
|
|
15
|
+
/** Id the field's `aria-describedby` points at. */
|
|
17
16
|
readonly messageId: _angular_core.InputSignal<string | null>;
|
|
18
|
-
/** Leading glyph. Unset resolves from the state
|
|
19
|
-
*
|
|
20
|
-
* the hint line does not. A name here overrides that for this message; `false`
|
|
17
|
+
/** Leading glyph. Unset resolves from the state via `DS_CONFIG.field.stateIcons` (error,
|
|
18
|
+
* warning and success carry one by default, hint does not). A name overrides it; `false`
|
|
21
19
|
* removes it. */
|
|
22
20
|
readonly icon: _angular_core.InputSignal<false | IconName | null>;
|
|
23
|
-
/**
|
|
24
|
-
* gains/loses a message doesn't shift the layout below it. */
|
|
21
|
+
/** Reserves one line of height with no `text`, so the layout below does not shift. */
|
|
25
22
|
readonly reserve: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
23
|
private readonly config;
|
|
27
|
-
/** `hint`
|
|
28
|
-
* and `default` would read as "the default icon". */
|
|
24
|
+
/** Keyed `hint` in the config, not `default`, which would read as "the default icon". */
|
|
29
25
|
private static readonly BUILT_IN;
|
|
30
26
|
protected readonly iconResolved: _angular_core.Signal<IconName | null>;
|
|
31
27
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldMessageComponent, never>;
|
|
@@ -6,16 +6,11 @@ import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
|
6
6
|
* One filter inside `ds-filter-bar`, with the width it should occupy:
|
|
7
7
|
* `<ng-template [dsFilterItem]="220"> <ds-date-picker … /> </ng-template>`.
|
|
8
8
|
*
|
|
9
|
-
* A template
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* destroys and re-creates the view, so a control's internal state (an open panel,
|
|
13
|
-
* focus) does not survive a resize that collapses it. Its VALUE does: that lives
|
|
14
|
-
* in the consumer's own signal or form control.
|
|
9
|
+
* A template, because projected DOM cannot be relocated into the overflow panel. Crossing the
|
|
10
|
+
* boundary destroys and re-creates the view, so a control's internal state (open panel, focus)
|
|
11
|
+
* is lost on collapse; its value survives in the consumer's own signal or form control.
|
|
15
12
|
*
|
|
16
|
-
* The width is a contract, not a hint
|
|
17
|
-
* and decides the split from it, so a control that would render wider is
|
|
18
|
-
* narrowed rather than allowed to break the row.
|
|
13
|
+
* The width is a contract, not a hint: a wider control is narrowed to fit the slot.
|
|
19
14
|
*/
|
|
20
15
|
declare class FilterItemDirective {
|
|
21
16
|
readonly template: TemplateRef<unknown>;
|
|
@@ -26,21 +21,15 @@ declare class FilterItemDirective {
|
|
|
26
21
|
}
|
|
27
22
|
|
|
28
23
|
/**
|
|
29
|
-
* Priority+ filter row: renders as many filters as fit and collapses the rest
|
|
30
|
-
*
|
|
31
|
-
* — the row wraps to a second line on a laptop, or the consumer hand-rolls this.
|
|
24
|
+
* Priority+ filter row: renders as many filters as fit and collapses the rest into a "+N more"
|
|
25
|
+
* panel.
|
|
32
26
|
*
|
|
33
|
-
* The split
|
|
34
|
-
* on the row, never
|
|
35
|
-
* the DOM to be measured, so anything that did not fit would flash before being
|
|
36
|
-
* taken away. `[dsFilterItem]` carries the width.
|
|
27
|
+
* The split comes from each item's declared width (`[dsFilterItem]`) plus one `ResizeObserver`
|
|
28
|
+
* on the row, never from measuring the filters (they would flash before being removed).
|
|
37
29
|
*
|
|
38
|
-
* Anything marked `dsFilterBarTrailing`
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* plain block whose children stack. The trailing group is outside the measured
|
|
42
|
-
* row, so flexbox subtracts its width before the row is measured and the
|
|
43
|
-
* arithmetic needs no allowance for it.
|
|
30
|
+
* Anything marked `dsFilterBarTrailing` (search, a Clear button) sits at the trailing edge and
|
|
31
|
+
* never collapses. Mark each control rather than wrapping them: a projected wrapper is a plain
|
|
32
|
+
* block whose children stack.
|
|
44
33
|
*
|
|
45
34
|
* ```html
|
|
46
35
|
* <ds-filter-bar>
|
|
@@ -58,7 +47,7 @@ declare class FilterItemDirective {
|
|
|
58
47
|
*/
|
|
59
48
|
declare class FilterBarComponent {
|
|
60
49
|
private readonly intl;
|
|
61
|
-
/** Trailing word of the trigger, after the count
|
|
50
|
+
/** Trailing word of the trigger, after the count ("+2 filters"). Unset falls back to
|
|
62
51
|
* `DS_INTL.filterBar.more`. */
|
|
63
52
|
readonly moreLabel: _angular_core.InputSignal<string | null>;
|
|
64
53
|
protected readonly moreLabelResolved: _angular_core.Signal<string>;
|
|
@@ -66,10 +55,7 @@ declare class FilterBarComponent {
|
|
|
66
55
|
* `DS_INTL.filterBar.panelLabel`. */
|
|
67
56
|
readonly panelLabel: _angular_core.InputSignal<string | null>;
|
|
68
57
|
protected readonly panelLabelResolved: _angular_core.Signal<string>;
|
|
69
|
-
/** Height of the "+N" trigger
|
|
70
|
-
* infer this: `dsFilterItem` carries a WIDTH, and the filters are arbitrary
|
|
71
|
-
* projected controls whose own `size` it never sees — so a row of `sm` filters
|
|
72
|
-
* got an `md` trigger standing 8px taller under `align-items: flex-end`. */
|
|
58
|
+
/** Height of the "+N" trigger; set it to match the filters beside it. */
|
|
73
59
|
readonly triggerSize: _angular_core.InputSignal<DsSize>;
|
|
74
60
|
protected readonly devMode: boolean;
|
|
75
61
|
protected readonly items: _angular_core.Signal<readonly FilterItemDirective[]>;
|
|
@@ -78,7 +64,6 @@ declare class FilterBarComponent {
|
|
|
78
64
|
private readonly gap;
|
|
79
65
|
protected readonly inlineCount: _angular_core.Signal<number>;
|
|
80
66
|
protected readonly inline: _angular_core.Signal<FilterItemDirective[]>;
|
|
81
|
-
/** The filters currently in the overflow panel. */
|
|
82
67
|
readonly collapsed: _angular_core.Signal<FilterItemDirective[]>;
|
|
83
68
|
constructor();
|
|
84
69
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterBarComponent, never>;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
-
import { leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
+
import { DsChartBase, ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
3
3
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
4
4
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
5
|
-
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
6
|
-
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
5
|
import * as _angular_core from '@angular/core';
|
|
8
6
|
import { TemplateRef } from '@angular/core';
|
|
9
7
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
8
|
+
import { ChartDataTable } from '@ids-group-ltd/ids-design-system/core';
|
|
10
9
|
|
|
11
10
|
interface FunnelChartStage {
|
|
12
11
|
id: string;
|
|
@@ -14,124 +13,47 @@ interface FunnelChartStage {
|
|
|
14
13
|
value: number;
|
|
15
14
|
}
|
|
16
15
|
/** What the Drop column reports. `'relative'` is the share that leaked at this stage,
|
|
17
|
-
* `'absolute'` the
|
|
18
|
-
*
|
|
19
|
-
* Both answer real questions and they are not the same question: on a settlement funnel the share
|
|
20
|
-
* is a talking point and the count is a re-targeting job. The count is recoverable by subtracting
|
|
21
|
-
* two rows, but a reader should not have to. */
|
|
16
|
+
* `'absolute'` the count that leaked, `'none'` drops the column. */
|
|
22
17
|
type FunnelChartDrop = 'relative' | 'absolute' | 'none';
|
|
23
|
-
/** How a stage's geometry encodes its value. `'area'` is the default; `'taper'` encodes nothing
|
|
24
|
-
* the silhouette is fixed whatever the data.
|
|
18
|
+
/** How a stage's geometry encodes its value. `'area'` is the default; `'taper'` encodes nothing:
|
|
19
|
+
* the silhouette is fixed whatever the data. */
|
|
25
20
|
type FunnelChartShape = 'taper' | 'width' | 'area';
|
|
26
21
|
|
|
27
|
-
declare class FunnelChartComponent {
|
|
22
|
+
declare class FunnelChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger {
|
|
28
23
|
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
29
24
|
protected readonly leaveMark: typeof leaveMark;
|
|
30
|
-
/** Drawn in the order given
|
|
31
|
-
* so they are never sorted. */
|
|
25
|
+
/** Drawn in the order given; stages are never sorted, since their order is the meaning. */
|
|
32
26
|
readonly data: _angular_core.InputSignal<readonly FunnelChartStage[]>;
|
|
33
|
-
/** What the silhouette encodes. `'area'
|
|
34
|
-
*
|
|
35
|
-
* `'
|
|
36
|
-
* funnel below a labellable width. `'taper'` encodes NOTHING: the shape is fixed whatever the
|
|
37
|
-
* data, and the numbers are read from the table beside it. */
|
|
27
|
+
/** What the silhouette encodes. `'area'` (default) makes each stage's area proportional to its
|
|
28
|
+
* value. `'width'` reads widths straight off the values, which collapses the tail of a steep
|
|
29
|
+
* funnel. `'taper'` encodes nothing: the shape is fixed. */
|
|
38
30
|
readonly shape: _angular_core.InputSignal<FunnelChartShape>;
|
|
39
|
-
/** The value, percent and drop table printed under the funnel.
|
|
40
|
-
* `dataTable`: while this is on, the disclosure every chart carries would
|
|
41
|
-
* repeat a strict subset of these same numbers, so it is not rendered. */
|
|
31
|
+
/** The value, percent and drop table printed under the funnel. While on, `dataTable` is not rendered. */
|
|
42
32
|
readonly showTable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
43
|
-
/**
|
|
44
|
-
* `'none'
|
|
45
|
-
* Unset falls back to `DS_CONFIG.chart.frame`, then `'auto'` — whether charts live inside cards
|
|
46
|
-
* is one decision per app rather than per plot. */
|
|
47
|
-
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
48
|
-
/** Whether the tooltip draws a colour dot beside each reading. Unset falls back to
|
|
49
|
-
* `DS_CONFIG.chart.tooltipSwatches`, then draws them for up to four readings. */
|
|
50
|
-
readonly tooltipSwatches: _angular_core.InputSignalWithTransform<boolean | null, boolean | null>;
|
|
51
|
-
/** How long the tooltip stays after the pointer leaves the mark, in milliseconds. The default,
|
|
52
|
-
* 500, lets the pointer cross to the next mark and find the same panel, which glides there
|
|
53
|
-
* instead of closing and opening again. Zero takes it away at once. Unset falls back to
|
|
54
|
-
* `DS_CONFIG.chart.tooltipLingerMs`, then 500. */
|
|
55
|
-
readonly tooltipLingerMs: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
56
|
-
/** Printed above the plot as the chart's visible title, and reused as the annex table's
|
|
57
|
-
* caption. */
|
|
58
|
-
readonly caption: _angular_core.InputSignal<string | null>;
|
|
59
|
-
/** Accessible name. Generated from the data when omitted. */
|
|
60
|
-
readonly summary: _angular_core.InputSignal<string | null>;
|
|
61
|
-
/** The label-and-value disclosure every chart carries. Ignored while `showTable` is on, which
|
|
62
|
-
* already prints every label and value. Unset falls back to `DS_CONFIG.chart.dataTable`, then
|
|
63
|
-
* `'toggle'`. */
|
|
33
|
+
/** The label-and-value disclosure. Ignored while `showTable` is on. Unset falls back to
|
|
34
|
+
* `DS_CONFIG.chart.dataTable`, then `'none'`. */
|
|
64
35
|
readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
|
|
65
|
-
/** What the Drop column reports: `'relative'` (
|
|
66
|
-
*
|
|
36
|
+
/** What the Drop column reports: `'relative'` (default) the share that leaked at this stage,
|
|
37
|
+
* `'absolute'` the count, `'none'` no column. */
|
|
67
38
|
readonly drop: _angular_core.InputSignal<FunnelChartDrop>;
|
|
68
|
-
/** Draws skeleton marks in place of the data, at the same count, so the chart does not resize
|
|
69
|
-
* when the data lands. */
|
|
70
|
-
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
71
|
-
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
72
|
-
* `DS_INTL.chart.empty`. */
|
|
73
|
-
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
74
|
-
/** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
|
|
75
|
-
* because "the request failed" and "there is nothing to show" read the same to a reader and
|
|
76
|
-
* mean opposite things. */
|
|
77
|
-
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
78
|
-
/** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */
|
|
79
|
-
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
80
|
-
/** Formats every value the chart prints, the annex table and the generated description
|
|
81
|
-
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
|
|
82
|
-
* `LOCALE_ID`. */
|
|
83
|
-
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
84
|
-
/** Holds the clicked mark and its tooltip in place, with a pin disc on it, until a second click,
|
|
85
|
-
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
86
|
-
* `true`. `stageClicked` fires either way - pinning is a state, not a handler. */
|
|
87
|
-
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
88
|
-
protected readonly defaults: {
|
|
89
|
-
locale: string;
|
|
90
|
-
frame: _angular_core.Signal<ChartFrame>;
|
|
91
|
-
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
92
|
-
emptyText: _angular_core.Signal<string>;
|
|
93
|
-
errorText: _angular_core.Signal<string>;
|
|
94
|
-
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
95
|
-
tooltipLingerMs: _angular_core.Signal<number>;
|
|
96
|
-
pinOnClick: _angular_core.Signal<boolean>;
|
|
97
|
-
hoverDelayMs: _angular_core.Signal<number>;
|
|
98
|
-
tooltipSwatches: _angular_core.Signal<boolean | "auto">;
|
|
99
|
-
};
|
|
100
|
-
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
101
|
-
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
102
39
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
103
|
-
|
|
104
|
-
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
105
|
-
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
106
|
-
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
107
|
-
* The click output fires whether or not this is set, so a consumer that
|
|
108
|
-
* binds the output and forgets the flag still receives every click. */
|
|
109
|
-
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
110
|
-
/** The stage that was clicked, or activated with Enter or Space. Fires whether or not
|
|
111
|
-
* `interactive` is set. */
|
|
40
|
+
/** The stage clicked or activated with Enter or Space, whether or not `interactive` is set. */
|
|
112
41
|
readonly stageClicked: _angular_core.OutputEmitterRef<FunnelChartStage>;
|
|
113
|
-
/** Dims every OTHER mark while one is hovered or focused
|
|
114
|
-
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
115
|
-
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
116
|
-
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
117
|
-
* and pays for it with the rest of the chart. */
|
|
42
|
+
/** Dims every OTHER mark while one is hovered or focused. */
|
|
118
43
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
119
|
-
/** Milliseconds between one stage's entrance and the next, top to bottom
|
|
120
|
-
*
|
|
121
|
-
* 260ms to start, so a long funnel does not crawl in. */
|
|
44
|
+
/** Milliseconds between one stage's entrance and the next, top to bottom; `0` turns it off. The
|
|
45
|
+
* step narrows to keep the spread within 260ms. */
|
|
122
46
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
123
47
|
protected markStagger(index: number): string;
|
|
124
|
-
/** Whether a hovered or focused stage opens a tooltip.
|
|
125
|
-
* funnel's stages are its categories, so an axis tooltip would repeat the item one. */
|
|
48
|
+
/** Whether a hovered or focused stage opens a tooltip. */
|
|
126
49
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
127
50
|
protected readonly tooltipTemplate: _angular_core.Signal<TemplateRef<{
|
|
128
51
|
$implicit: ChartTooltipContext;
|
|
129
52
|
}> | undefined>;
|
|
130
53
|
private readonly tooltipLingerResolved;
|
|
131
54
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* card, and anything measured in user units stretches with it. */
|
|
55
|
+
/** Badge position as a percentage of the shape's box, not viewBox units: the svg is
|
|
56
|
+
* `preserveAspectRatio="none"` and stretches horizontally. */
|
|
135
57
|
protected readonly pinnedCenter: _angular_core.Signal<{
|
|
136
58
|
xPercent: number;
|
|
137
59
|
yPercent: number;
|
|
@@ -141,17 +63,13 @@ declare class FunnelChartComponent {
|
|
|
141
63
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
142
64
|
private readonly rowHighlight;
|
|
143
65
|
private readonly rowDwell;
|
|
144
|
-
/** A table row stands for its band, so it opens the band's tooltip over the BAND and dims the
|
|
145
|
-
* others - the same state hovering the band itself produces. */
|
|
146
66
|
protected onRowEnter(index: number, event: Event): void;
|
|
147
67
|
protected onRowLeave(): void;
|
|
148
68
|
protected isDimmed(index: number): boolean;
|
|
149
69
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
150
70
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
151
71
|
protected readonly viewBox = "0 0 100 100";
|
|
152
|
-
/**
|
|
153
|
-
* edge it is drawn on, so each band claims half the gap above it and half below — the gap stays
|
|
154
|
-
* exactly as wide to the eye and stops being dead space to the pointer. */
|
|
72
|
+
/** Gap between two bands, painted as a transparent stroke on each so the gap still answers the pointer. */
|
|
155
73
|
protected readonly hitGapUnits: _angular_core.Signal<number>;
|
|
156
74
|
protected readonly tableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
157
75
|
protected readonly stages: _angular_core.Signal<{
|
|
@@ -175,16 +93,10 @@ declare class FunnelChartComponent {
|
|
|
175
93
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
176
94
|
protected readonly showDataTable: _angular_core.Signal<boolean>;
|
|
177
95
|
protected readonly chartHeight: _angular_core.Signal<string>;
|
|
178
|
-
/** Placeholder
|
|
179
|
-
* count so the chart does not resize when the data lands, falling back to
|
|
180
|
-
* three when `data` is still empty. The widths vary — and deliberately do
|
|
181
|
-
* not narrow in order — because a column of equal full-width bars is
|
|
182
|
-
* indistinguishable from a funnel whose stages have all gone grey, and a
|
|
183
|
-
* narrowing one just reads as the funnel itself. Same reasoning as the
|
|
184
|
-
* table's skeleton rows. */
|
|
96
|
+
/** Placeholder widths deliberately do not narrow in order: equal bars read as a grey funnel. */
|
|
185
97
|
protected readonly skeletonStages: _angular_core.Signal<("88%" | "62%" | "80%" | "54%" | "72%")[]>;
|
|
186
98
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FunnelChartComponent, never>;
|
|
187
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FunnelChartComponent, "ds-funnel-chart", never, { "data": { "alias": "data"; "required":
|
|
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>;
|
|
188
100
|
}
|
|
189
101
|
|
|
190
102
|
export { FunnelChartComponent };
|