@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
|
@@ -6,44 +6,34 @@ type AvatarSize = 'xs' | DsSize;
|
|
|
6
6
|
type AvatarStatus = 'online' | 'offline' | 'away' | 'busy';
|
|
7
7
|
|
|
8
8
|
declare class AvatarComponent {
|
|
9
|
-
/** Diameter
|
|
9
|
+
/** Diameter. */
|
|
10
10
|
readonly size: _angular_core.InputSignal<AvatarSize>;
|
|
11
|
-
/** Fallback text shown when there
|
|
12
|
-
* from `name`, so a caller that already has the letters keeps passing them. */
|
|
11
|
+
/** Fallback text shown when there is no `imageUrl`. Wins over initials derived from `name`. */
|
|
13
12
|
readonly initials: _angular_core.InputSignal<string>;
|
|
14
|
-
/** The person or thing this avatar stands for
|
|
15
|
-
* initials and the seed the tint hashes.
|
|
16
|
-
*
|
|
17
|
-
* The tint keys on the NAME, never on the initials — two letters collide
|
|
18
|
-
* wholesale, so every Alice Brown and Adam Bell would share one colour. */
|
|
13
|
+
/** The person or thing this avatar stands for; drives the initials and the tint seed. */
|
|
19
14
|
readonly name: _angular_core.InputSignal<string>;
|
|
20
|
-
/** Replaces the
|
|
21
|
-
*
|
|
22
|
-
* `initialsFrom` — first two words, a Latin-script guess the library does not
|
|
23
|
-
* pretend is universal. */
|
|
15
|
+
/** Replaces the rule turning `name` into initials. Falls back to
|
|
16
|
+
* `DS_CONFIG.avatar.initials`, then to `initialsFrom` (first two words, Latin script). */
|
|
24
17
|
readonly initialsRule: _angular_core.InputSignal<((name: string) => string) | null>;
|
|
25
18
|
/** Image source; shown before `initials` or `fallbackIcon` when set. */
|
|
26
19
|
readonly imageUrl: _angular_core.InputSignal<string | null>;
|
|
27
|
-
/** Accessible name. When omitted, the avatar is
|
|
28
|
-
* (hidden from AT) — correct when a visible name sits beside it. */
|
|
20
|
+
/** Accessible name. When omitted, the avatar is decorative (hidden from AT). */
|
|
29
21
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* for the default brand-subtle tones from avatar.scss. */
|
|
22
|
+
/** Tint: a `{ bg, fg }` pair, the literal `'neutral'` for the overflow-chip look, or null
|
|
23
|
+
* for the default brand-subtle tones. */
|
|
33
24
|
readonly tint: _angular_core.InputSignal<{
|
|
34
25
|
bg: string;
|
|
35
26
|
fg: string;
|
|
36
27
|
} | "neutral" | null>;
|
|
37
|
-
/** Presence
|
|
28
|
+
/** Presence dot in the bottom-right corner. */
|
|
38
29
|
readonly status: _angular_core.InputSignal<AvatarStatus | null>;
|
|
39
30
|
/** Icon rendered when there is no imageUrl and no initials. */
|
|
40
31
|
readonly fallbackIcon: _angular_core.InputSignal<IconName | null>;
|
|
41
|
-
/** Seed for
|
|
42
|
-
*
|
|
43
|
-
* explicitly when identity is an id or an email rather than the display name. */
|
|
32
|
+
/** Seed for the deterministic tint when no `tint` is set. Defaults to `name`; set it when
|
|
33
|
+
* identity is an id or an email rather than the display name. */
|
|
44
34
|
readonly seed: _angular_core.InputSignal<string | null>;
|
|
45
|
-
/** Hue arcs `[start, end]` (0
|
|
46
|
-
*
|
|
35
|
+
/** Hue arcs `[start, end]` (0-360 degrees) the seeded tint avoids, e.g. `[[310, 360], [0, 20]]`.
|
|
36
|
+
* Only applies when `seed` drives the tint. */
|
|
47
37
|
readonly avoidHues: _angular_core.InputSignal<readonly (readonly [number, number])[]>;
|
|
48
38
|
private readonly config;
|
|
49
39
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
@@ -59,10 +49,9 @@ declare class AvatarComponent {
|
|
|
59
49
|
|
|
60
50
|
/** Options for {@link avatarTint}. */
|
|
61
51
|
interface AvatarTintOptions {
|
|
62
|
-
/** Hue arcs (degrees, `[start, end]` with `start < end`, within 0
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
* Default: none (full 0–360 range). */
|
|
52
|
+
/** Hue arcs (degrees, `[start, end]` with `start < end`, within 0-360) the derived hue
|
|
53
|
+
* never lands in, e.g. `[[310, 360], [0, 20]]`. An arc crossing 0 is given as two arcs.
|
|
54
|
+
* Default: none. */
|
|
66
55
|
avoidHues?: readonly (readonly [number, number])[];
|
|
67
56
|
/** HSL lightness percentage. Default 62. */
|
|
68
57
|
lightness?: number;
|
|
@@ -71,30 +60,18 @@ interface AvatarTintOptions {
|
|
|
71
60
|
/** Text colour paired with the background. Default `#fff`. */
|
|
72
61
|
foreground?: string;
|
|
73
62
|
}
|
|
74
|
-
/** Deterministic `{ bg, fg }` tint for a seed string (an email, a name)
|
|
75
|
-
*
|
|
63
|
+
/** Deterministic `{ bg, fg }` tint for a seed string (an email, a name): the same seed always
|
|
64
|
+
* gives the same colour.
|
|
76
65
|
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* the lighter hues measures as little as 1.65:1, under the 4.5:1 WCAG AA asks of
|
|
80
|
-
* text. Where the initials are the only identifier, pass your own `lightness`
|
|
81
|
-
* (about 50) and keep white, which measures 5.3-6.6:1.
|
|
82
|
-
*
|
|
83
|
-
* Pass to `ds-avatar`'s `tint`, or let the component derive it via `seed`. */
|
|
66
|
+
* White on the lighter hues measures as little as 1.65:1 (WCAG AA asks 4.5:1 for text); where
|
|
67
|
+
* initials are the only identifier, pass `lightness` about 50 and keep white (5.3-6.6:1). */
|
|
84
68
|
declare function avatarTint(seed: string, options?: AvatarTintOptions): {
|
|
85
69
|
bg: string;
|
|
86
70
|
fg: string;
|
|
87
71
|
};
|
|
88
|
-
/** Uppercased initials from the first two words
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* A deliberately naive Latin-script guess, and the library's ONLY naming rule.
|
|
93
|
-
* Reading a name is a cultural convention, not a UI decision — "María José
|
|
94
|
-
* García López" wants MG from a Spanish reader and "Bramley Rovers Football Club" wants
|
|
95
|
-
* BR from its members — so an app with a real rule passes its own through
|
|
96
|
-
* `DS_CONFIG.avatar.initials` or `ds-avatar`'s `initialsRule` rather than asking
|
|
97
|
-
* this to grow modes it cannot get right. */
|
|
72
|
+
/** Uppercased initials from the first two words: `(first, last)` parts or one full name
|
|
73
|
+
* (`initialsFrom('Ada Lovelace')` gives `AL`); `?` when empty. A naive Latin-script guess: apps
|
|
74
|
+
* with a real naming rule use `DS_CONFIG.avatar.initials` or `ds-avatar`'s `initialsRule`. */
|
|
98
75
|
declare function initialsFrom(first?: string, last?: string): string;
|
|
99
76
|
|
|
100
77
|
export { AvatarComponent, avatarTint, initialsFrom };
|
|
@@ -3,19 +3,19 @@ import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-desig
|
|
|
3
3
|
|
|
4
4
|
declare class BadgeComponent {
|
|
5
5
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
6
|
-
/** Consumer-defined status key
|
|
6
|
+
/** Consumer-defined status key that colours the badge. Unset is neutral. */
|
|
7
7
|
readonly status: _angular_core.InputSignal<string | undefined>;
|
|
8
|
-
/** Leading status dot, rendered only while `count` is unset
|
|
9
|
-
* badge's whole content. Unset falls back to `DS_CONFIG.badge.withDot`, then `false`. */
|
|
8
|
+
/** Leading status dot, rendered only while `count` is unset (a count replaces the
|
|
9
|
+
* badge's whole content). Unset falls back to `DS_CONFIG.badge.withDot`, then `false`. */
|
|
10
10
|
readonly withDot: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
11
11
|
readonly withDotResolved: _angular_core.Signal<boolean>;
|
|
12
12
|
/** Solid accent fill instead of the default subtle background. */
|
|
13
13
|
readonly solid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14
14
|
/** Numeric count to display; overrides projected content when set. */
|
|
15
15
|
readonly count: _angular_core.InputSignal<number | null>;
|
|
16
|
-
/**
|
|
16
|
+
/** Counts above this show as `"max+"`. */
|
|
17
17
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
18
|
-
/** Noun used in the count's accessible label
|
|
18
|
+
/** Noun used in the count's accessible label; set for non-notification counts (cart, results).
|
|
19
19
|
* Unset falls back to `DS_INTL.badge.noun`. */
|
|
20
20
|
readonly countLabel: _angular_core.InputSignal<string | null>;
|
|
21
21
|
readonly countLabelResolved: _angular_core.Signal<string>;
|
|
@@ -6,7 +6,7 @@ type BannerVariant = 'info' | 'success' | 'warning' | 'severe' | 'error' | 'neut
|
|
|
6
6
|
|
|
7
7
|
declare class BannerComponent {
|
|
8
8
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
9
|
-
/** Severity
|
|
9
|
+
/** Severity: drives colour, the default icon and the ARIA role/live. */
|
|
10
10
|
readonly variant: _angular_core.InputSignal<BannerVariant>;
|
|
11
11
|
/** Optional bold heading above the message. */
|
|
12
12
|
readonly title: _angular_core.InputSignal<string>;
|
|
@@ -23,13 +23,9 @@ declare class BannerComponent {
|
|
|
23
23
|
/** Fires when the user dismisses the banner. */
|
|
24
24
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
25
25
|
protected get noRail(): boolean;
|
|
26
|
-
/**
|
|
27
|
-
* `DS_CONFIG.banner.announce`, then `false`.
|
|
28
|
-
*
|
|
29
|
-
* Off by default: an `alert` region fires on INSERTION, so a banner that is page
|
|
30
|
-
* furniture would interrupt the reader on every route into the page. Turn it on for
|
|
31
|
-
* one the app raises in response to an event; for anything transient prefer
|
|
32
|
-
* `ToastService`, which owns a live region built for the purpose. */
|
|
26
|
+
/** Announces the banner to a screen reader when it appears. Unset follows
|
|
27
|
+
* `DS_CONFIG.banner.announce`, then `false`. Off by default: an `alert` region
|
|
28
|
+
* fires on insertion. Turn it on for a banner raised in response to an event. */
|
|
33
29
|
readonly announce: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
34
30
|
readonly announceResolved: _angular_core.Signal<boolean>;
|
|
35
31
|
private readonly liveRole;
|
|
@@ -1,18 +1,13 @@
|
|
|
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';
|
|
7
|
+
import { ChartDataTable } from '@ids-group-ltd/ids-design-system/core';
|
|
9
8
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
10
9
|
|
|
11
|
-
/** A row's reading: one number, or
|
|
12
|
-
*
|
|
13
|
-
* A plain number spans from zero, which is what a bar has always drawn. A pair spans between its
|
|
14
|
-
* own two ends - a floating bar, a range, a min-to-max - and the ends may be written either way
|
|
15
|
-
* round, because a reader who reverses them means the same band. */
|
|
10
|
+
/** A row's reading: one number spanning from zero, or a `[low, high]` pair for a floating bar. The pair's ends may be given in either order. */
|
|
16
11
|
type BarChartValue = number | readonly [low: number, high: number];
|
|
17
12
|
/** One part of a row that is a distribution rather than a single quantity. */
|
|
18
13
|
interface BarChartSegment {
|
|
@@ -20,178 +15,76 @@ interface BarChartSegment {
|
|
|
20
15
|
id?: string;
|
|
21
16
|
label: string;
|
|
22
17
|
value: number;
|
|
23
|
-
/** Overrides the palette slot this segment would take.
|
|
24
|
-
* categorical palette in order — unlike the rows, which are one series and share one colour. */
|
|
18
|
+
/** Overrides the palette slot this segment would take. */
|
|
25
19
|
color?: string;
|
|
26
20
|
}
|
|
27
21
|
interface BarChartRow {
|
|
28
22
|
/** Falls back to the row's position when left out, so a reorder rewrites the DOM. */
|
|
29
23
|
id?: string;
|
|
30
24
|
label: string;
|
|
31
|
-
/** One number spans from zero
|
|
32
|
-
* draws a floating bar - a range, a min to max, a period that starts partway along. */
|
|
25
|
+
/** One number spans from zero; a `[low, high]` pair draws a floating bar. */
|
|
33
26
|
value: BarChartValue;
|
|
34
|
-
/** A tick across the bar at one reading
|
|
35
|
-
* behind it this is the bullet chart, which is a bar with two extras rather than a chart type. */
|
|
27
|
+
/** A tick across the bar at one reading, such as a goal or budget. Combined with `ranges` it draws a bullet chart. */
|
|
36
28
|
target?: number;
|
|
37
|
-
/** Qualitative bands
|
|
38
|
-
*
|
|
39
|
-
* not: poor, fair, good. They are painted in one neutral hue at rising opacity, never in the
|
|
40
|
-
* series palette, because a band is a backdrop and a bar is the reading. */
|
|
29
|
+
/** Qualitative bands behind the bar, as upper bounds in ascending order: `[60, 80, 100]` is three
|
|
30
|
+
* bands. Painted in one neutral hue at rising opacity, never in the series palette. */
|
|
41
31
|
ranges?: readonly number[];
|
|
42
32
|
/** A percentage already out of 100, not a fraction: `42`, never `0.42`. Printed at
|
|
43
33
|
* the row's end while `showPercent` is on; derived from `value / max` when omitted. */
|
|
44
34
|
percent?: number;
|
|
45
|
-
/** Divides the row's
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* The parts are sized against their OWN sum and always fill the bar: a set that does not add up
|
|
49
|
-
* to `value` is a data error the chart cannot silently paper over by leaving a gap that looks
|
|
50
|
-
* like a category.
|
|
51
|
-
*
|
|
52
|
-
* Where segments are present the row's own colour is unused — each part takes its own, and each
|
|
53
|
-
* part gets its own row in the data table. */
|
|
35
|
+
/** Divides the row's bar into parts sized against their OWN sum, filling the bar even when it
|
|
36
|
+
* differs from `value`. The row's `color` is unused and each part gets its own data-table row. */
|
|
54
37
|
segments?: readonly BarChartSegment[];
|
|
55
|
-
/** A second reading for this row, printed under the label.
|
|
56
|
-
*
|
|
57
|
-
* place for the other, the chart drops half of what the row is about.
|
|
58
|
-
*
|
|
59
|
-
* Already formatted: the row knows what its second number means and the chart does not, so a
|
|
60
|
-
* `valueFormat` written for the bar's own scale would be the wrong one to apply to it. */
|
|
38
|
+
/** A second reading for this row, printed under the label. Already formatted: `valueFormat` is
|
|
39
|
+
* written for the bar's own scale and is not applied to it. */
|
|
61
40
|
detail?: string;
|
|
62
|
-
/** Overrides this row's colour
|
|
63
|
-
* colour by default; set this on the row the reader should land on, usually
|
|
64
|
-
* to `var(--ds-chart-series-accent-color)`. There is no separate accent
|
|
65
|
-
* flag — the accent is a colour, so a boolean would only be a less flexible
|
|
66
|
-
* way of setting one. */
|
|
41
|
+
/** Overrides this row's colour, usually `var(--ds-chart-series-accent-color)` to accent it. */
|
|
67
42
|
color?: string;
|
|
68
43
|
}
|
|
69
44
|
|
|
70
|
-
declare class BarChartComponent {
|
|
45
|
+
declare class BarChartComponent extends DsChartBase implements ChartDimmable, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger {
|
|
71
46
|
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
72
47
|
protected readonly leaveMark: typeof leaveMark;
|
|
73
48
|
/** One row per bar, drawn in the order given. */
|
|
74
49
|
readonly data: _angular_core.InputSignal<readonly BarChartRow[]>;
|
|
75
|
-
/** Track length is relative to this. Null uses the largest value
|
|
76
|
-
* longest row always fills its track. */
|
|
50
|
+
/** Track length is relative to this. Null uses the largest value. */
|
|
77
51
|
readonly max: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
78
|
-
/** Whether the chart draws its own bordered, padded box. `'auto'`, the default, draws it;
|
|
79
|
-
* `'none'` leaves the chart bare, for one placed inside a card the page has already drawn.
|
|
80
|
-
* Unset falls back to `DS_CONFIG.chart.frame`, then `'auto'` — whether charts live inside cards
|
|
81
|
-
* is one decision per app rather than per plot. */
|
|
82
|
-
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
83
|
-
/** Whether the tooltip draws a colour dot beside each reading. Unset falls back to
|
|
84
|
-
* `DS_CONFIG.chart.tooltipSwatches`, then draws them for up to four readings. */
|
|
85
|
-
readonly tooltipSwatches: _angular_core.InputSignalWithTransform<boolean | null, boolean | null>;
|
|
86
|
-
/** How long the tooltip stays after the pointer leaves the mark, in milliseconds. The default,
|
|
87
|
-
* 500, lets the pointer cross to the next mark and find the same panel, which glides there
|
|
88
|
-
* instead of closing and opening again. Zero takes it away at once. Unset falls back to
|
|
89
|
-
* `DS_CONFIG.chart.tooltipLingerMs`, then 500. */
|
|
90
|
-
readonly tooltipLingerMs: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
91
|
-
/** Printed above the plot as the chart's visible title, and reused as the annex table's
|
|
92
|
-
* caption. */
|
|
93
|
-
readonly caption: _angular_core.InputSignal<string | null>;
|
|
94
|
-
/** Accessible name. Generated from the data when omitted. */
|
|
95
|
-
readonly summary: _angular_core.InputSignal<string | null>;
|
|
96
52
|
/** The label-and-value table under the plot: `'toggle'` puts it behind a disclosure,
|
|
97
|
-
* `'visible'` opens it, `'none'` renders none.
|
|
98
|
-
* `'none'
|
|
99
|
-
* Unset falls back to `DS_CONFIG.chart.dataTable`, then `'none'`. */
|
|
53
|
+
* `'visible'` opens it, `'none'` renders none. Unset falls back to `DS_CONFIG.chart.dataTable`,
|
|
54
|
+
* then `'none'`. */
|
|
100
55
|
readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
|
|
101
|
-
/** Declares
|
|
102
|
-
*
|
|
103
|
-
* number nobody can point at, and "18.6% of total" against it is arithmetic dressed as a fact.
|
|
104
|
-
* On, each mark's share appears on the tooltip's second line and in the data table. */
|
|
56
|
+
/** Declares the marks parts of one whole: each share appears on the tooltip's second line and in
|
|
57
|
+
* the data table. */
|
|
105
58
|
readonly partOfWhole: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
106
59
|
/** Prints each row's share of `max` beside its value. */
|
|
107
60
|
readonly showPercent: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
108
|
-
/** Draws skeleton marks in place of the data, at the same count, so the chart does not resize
|
|
109
|
-
* when the data lands. */
|
|
110
|
-
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
111
|
-
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
112
|
-
* `DS_INTL.chart.empty`. */
|
|
113
|
-
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
114
|
-
/** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
|
|
115
|
-
* because "the request failed" and "there is nothing to show" read the same to a reader and
|
|
116
|
-
* mean opposite things. */
|
|
117
|
-
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
118
|
-
/** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */
|
|
119
|
-
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
120
|
-
/** Formats every value the chart prints, the annex table and the generated description
|
|
121
|
-
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
|
|
122
|
-
* `LOCALE_ID`. */
|
|
123
|
-
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
124
|
-
/** Holds the clicked row and its tooltip in place, with a pin disc on it, until a second click,
|
|
125
|
-
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
126
|
-
* `true`. `rowClicked` fires either way - pinning is a state, not a handler. */
|
|
127
|
-
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
128
|
-
protected readonly defaults: {
|
|
129
|
-
locale: string;
|
|
130
|
-
frame: _angular_core.Signal<ChartFrame>;
|
|
131
|
-
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
132
|
-
emptyText: _angular_core.Signal<string>;
|
|
133
|
-
errorText: _angular_core.Signal<string>;
|
|
134
|
-
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
135
|
-
tooltipLingerMs: _angular_core.Signal<number>;
|
|
136
|
-
pinOnClick: _angular_core.Signal<boolean>;
|
|
137
|
-
hoverDelayMs: _angular_core.Signal<number>;
|
|
138
|
-
tooltipSwatches: _angular_core.Signal<boolean | "auto">;
|
|
139
|
-
};
|
|
140
|
-
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
141
|
-
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
142
61
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
143
|
-
|
|
144
|
-
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
145
|
-
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
146
|
-
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
147
|
-
* The click output fires whether or not this is set, so a consumer that
|
|
148
|
-
* binds the output and forgets the flag still receives every click. */
|
|
149
|
-
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
150
|
-
/** The row that was clicked, or activated with Enter or Space. Fires whether or not
|
|
151
|
-
* `interactive` is set. */
|
|
62
|
+
/** The row clicked or activated with Enter or Space, whether or not `interactive` is set. */
|
|
152
63
|
readonly rowClicked: _angular_core.OutputEmitterRef<BarChartRow>;
|
|
153
|
-
/** Dims every OTHER mark while one is hovered or focused
|
|
154
|
-
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
155
|
-
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
156
|
-
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
157
|
-
* and pays for it with the rest of the chart. */
|
|
64
|
+
/** Dims every OTHER mark while one is hovered or focused. */
|
|
158
65
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
159
|
-
/** The segment to single out, by its `id`
|
|
160
|
-
*
|
|
161
|
-
* mark. Independent of `dimOthers`, which governs what a pointer does. A row without segments
|
|
162
|
-
* is unaffected. */
|
|
66
|
+
/** The segment to single out, by its `id` or its position as a string; every other segment
|
|
67
|
+
* fades. Independent of `dimOthers`. */
|
|
163
68
|
readonly highlighted: _angular_core.InputSignal<string | null>;
|
|
164
69
|
protected isSegmentDimmed(key: string): boolean;
|
|
165
|
-
/** Milliseconds between one row's entrance and the next
|
|
166
|
-
* off. The whole spread stays within 260ms, so a long chart
|
|
167
|
-
* narrows the step instead of crawling in. */
|
|
70
|
+
/** Milliseconds between one row's entrance and the next; `0` turns it off. The step narrows to keep the spread within 260ms. */
|
|
168
71
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
169
72
|
protected markStagger(index: number): string;
|
|
170
|
-
/** Whether a hovered or focused row opens a tooltip.
|
|
171
|
-
* chart's marks ARE its categories, so an axis tooltip would repeat the item one. */
|
|
73
|
+
/** Whether a hovered or focused row opens a tooltip. */
|
|
172
74
|
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
173
75
|
protected readonly tooltipTemplate: _angular_core.Signal<TemplateRef<{
|
|
174
76
|
$implicit: ChartTooltipContext;
|
|
175
77
|
}> | undefined>;
|
|
176
78
|
private readonly tooltipLingerResolved;
|
|
177
79
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
178
|
-
protected readonly hoveredLabel: _angular_core.WritableSignal<number>;
|
|
179
|
-
/** Naming a row by its label fades the rest whether or not `dimOthers` is set, the way a legend
|
|
180
|
-
* singles out its series. The row itself answers the pointer, so the fade waits out the same
|
|
181
|
-
* hover delay as the tooltip. */
|
|
182
|
-
protected readonly dimsOthers: _angular_core.Signal<boolean>;
|
|
183
80
|
protected onMarkClick(payload: BarChartRow, index: number, event: Event): void;
|
|
184
81
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
185
82
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
186
83
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
187
84
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
188
|
-
/** The track
|
|
189
|
-
* a goal above every reading is the one the chart is read for, and an axis derived from the
|
|
190
|
-
* bars alone would draw it off the end. */
|
|
85
|
+
/** The track spans every bar end, target tick and outermost band. */
|
|
191
86
|
protected readonly resolvedMax: _angular_core.Signal<number>;
|
|
192
87
|
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
193
|
-
/** A row's segments follow it as nested rows: one table reads in one pass, and a segment is
|
|
194
|
-
* read against the bar it belongs to rather than against the other bars. */
|
|
195
88
|
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
196
89
|
protected readonly rows: _angular_core.Signal<{
|
|
197
90
|
key: string;
|
|
@@ -224,11 +117,9 @@ declare class BarChartComponent {
|
|
|
224
117
|
}): string;
|
|
225
118
|
protected onRowKey(row: BarChartRow, event: Event): void;
|
|
226
119
|
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
227
|
-
/** Placeholder bars while loading. Follows the real row count so the chart does not resize
|
|
228
|
-
* when the data lands; falls back to three when `data` is still empty. */
|
|
229
120
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
230
121
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
231
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required":
|
|
122
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "showPercent": { "alias": "showPercent"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "rowClicked": "rowClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
232
123
|
}
|
|
233
124
|
|
|
234
125
|
export { BarChartComponent };
|
|
@@ -4,53 +4,34 @@ import * as _angular_core from '@angular/core';
|
|
|
4
4
|
type BarVariant = 'default' | 'success' | 'warning' | 'error';
|
|
5
5
|
/** What the bar IS, which decides how it is announced.
|
|
6
6
|
*
|
|
7
|
-
* - `'progress'
|
|
8
|
-
* - `'meter'
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* figure is printed beside it, where announcing each one repeats what the row already says. */
|
|
7
|
+
* - `'progress'`: how far a task has got. `role="progressbar"`.
|
|
8
|
+
* - `'meter'`: a measurement on a known scale, with no beginning or completion. `role="meter"`.
|
|
9
|
+
* - `'none'`: drawn only, hidden from assistive technology. For a bar whose figure is printed
|
|
10
|
+
* beside it. */
|
|
12
11
|
type BarSemantics = 'progress' | 'meter' | 'none';
|
|
13
12
|
|
|
14
|
-
/**
|
|
15
|
-
* One horizontal track with one fill: a task's completion, or a measurement on a known scale.
|
|
16
|
-
*
|
|
17
|
-
* The two are the same drawing and a different claim, which is what `semantics` carries — the
|
|
18
|
-
* platform splits them the same way, into `<progress>` and `<meter>`. Getting it wrong is not
|
|
19
|
-
* cosmetic: a table of two hundred rates under `'progress'` announces two hundred progress bars.
|
|
20
|
-
*/
|
|
13
|
+
/** One horizontal track with one fill: a task's completion, or a measurement on a known scale. */
|
|
21
14
|
declare class BarComponent {
|
|
22
15
|
/** The reading, in units of `max`; clamped, and ignored while `indeterminate`. */
|
|
23
16
|
readonly value: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
24
|
-
/** The full scale `value` and `target` are read against.
|
|
25
|
-
* it to the real total — `[value]="37" [max]="80"` — and the accessible name carries "37 of 80"
|
|
26
|
-
* rather than the 46% a caller would otherwise have to compute. For a column of measurements
|
|
27
|
-
* it is usually the column's own largest value, so the longest bar fills its track and the rest
|
|
28
|
-
* are its share. Zero or less falls back to 100, because a scale with no width has no fraction
|
|
29
|
-
* to draw. */
|
|
17
|
+
/** The full scale `value` and `target` are read against; the accessible name reads "value of max". Zero or less falls back to 100. */
|
|
30
18
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
31
|
-
/** What the bar is, and
|
|
32
|
-
* `'progress'`. */
|
|
19
|
+
/** What the bar is, and so how it is announced. See `BarSemantics`. */
|
|
33
20
|
readonly semantics: _angular_core.InputSignal<BarSemantics>;
|
|
34
|
-
/** Colour role
|
|
21
|
+
/** Colour role: drives the success/warning/error styling. */
|
|
35
22
|
readonly variant: _angular_core.InputSignal<BarVariant>;
|
|
36
|
-
/** Indeterminate
|
|
37
|
-
* unknown duration, so it is ignored unless `semantics` is `'progress'`. */
|
|
23
|
+
/** Indeterminate animation instead of a fixed `value`; ignored unless `semantics` is `'progress'`. */
|
|
38
24
|
readonly indeterminate: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
39
|
-
/** Overrides the fill for this one bar.
|
|
40
|
-
* `--ds-bar-fill-color` instead; use this where the colour carries meaning on one row. */
|
|
25
|
+
/** Overrides the fill for this one bar. */
|
|
41
26
|
readonly color: _angular_core.InputSignal<string | null>;
|
|
42
|
-
/** Accessible name
|
|
43
|
-
*
|
|
44
|
-
* 75% target" is what reaches a screen reader. Unused under `semantics="none"`. */
|
|
27
|
+
/** Accessible name. With a `target`, name the comparison here: the role has no second value to
|
|
28
|
+
* announce. Unused under `semantics="none"`. */
|
|
45
29
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
46
|
-
/** A second point on the
|
|
47
|
-
* a baseline or a threshold to read `value` against. Clamped like `value`, ignored while
|
|
48
|
-
* `indeterminate`, and unset draws nothing. */
|
|
30
|
+
/** A second point on the scale, drawn as a hairline across the track. Clamped like `value`, ignored while `indeterminate`. */
|
|
49
31
|
readonly target: _angular_core.InputSignal<number | null>;
|
|
50
32
|
protected readonly role: _angular_core.Signal<"meter" | "progressbar" | null>;
|
|
51
33
|
protected readonly scale: _angular_core.Signal<number>;
|
|
52
34
|
protected readonly clampedValue: _angular_core.Signal<number>;
|
|
53
|
-
/** Width and offset are percentages of the track whatever the scale is. */
|
|
54
35
|
protected readonly valuePercent: _angular_core.Signal<number>;
|
|
55
36
|
protected readonly clampedTarget: _angular_core.Signal<number | null>;
|
|
56
37
|
protected readonly targetPercent: _angular_core.Signal<number | null>;
|
|
@@ -3,12 +3,11 @@ import { OnDestroy } from '@angular/core';
|
|
|
3
3
|
import * as i1 from '@ids-group-ltd/ids-design-system/components';
|
|
4
4
|
import { DsStaticPreview } from '@ids-group-ltd/ids-design-system/components';
|
|
5
5
|
|
|
6
|
-
/** Bottom-anchored sheet
|
|
6
|
+
/** Bottom-anchored sheet, the mobile sibling of ds-drawer. Closes on scrim
|
|
7
7
|
* tap, Escape, or a downward drag on the grab strip. While open it locks
|
|
8
8
|
* body scroll. On wide viewports the panel is capped by
|
|
9
|
-
* --ds-bottom-sheet-max-width and centred
|
|
10
|
-
*
|
|
11
|
-
* ancestor containing block, so framed hosts contain the sheet. */
|
|
9
|
+
* --ds-bottom-sheet-max-width and centred. position: fixed resolves against
|
|
10
|
+
* the nearest ancestor containing block, so framed hosts contain the sheet. */
|
|
12
11
|
declare class BottomSheetComponent implements OnDestroy {
|
|
13
12
|
/** Open state, two-way bound. */
|
|
14
13
|
readonly open: _angular_core.ModelSignal<boolean>;
|
|
@@ -18,10 +17,9 @@ declare class BottomSheetComponent implements OnDestroy {
|
|
|
18
17
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
19
18
|
protected readonly titleId: string;
|
|
20
19
|
/**
|
|
21
|
-
* Snap-point heights as fractions of viewport height (0
|
|
22
|
-
* e.g. [0.4, 0.9].
|
|
23
|
-
*
|
|
24
|
-
* When empty (default) the original single-height behavior is preserved.
|
|
20
|
+
* Snap-point heights as fractions of viewport height (0-1), ascending,
|
|
21
|
+
* e.g. [0.4, 0.9]. The sheet opens at the first snap point; dragging snaps to the
|
|
22
|
+
* nearest point; dragging below the lowest closes. Empty (default) means a single height.
|
|
25
23
|
*/
|
|
26
24
|
readonly snapPoints: _angular_core.InputSignal<readonly number[]>;
|
|
27
25
|
private readonly doc;
|
|
@@ -29,13 +27,9 @@ declare class BottomSheetComponent implements OnDestroy {
|
|
|
29
27
|
protected readonly preview: DsStaticPreview;
|
|
30
28
|
private readonly sheetRef;
|
|
31
29
|
protected readonly dragOffset: _angular_core.WritableSignal<number | null>;
|
|
32
|
-
/** Sheet is in the DOM (kept true through the leave animation). */
|
|
33
30
|
protected readonly rendered: _angular_core.WritableSignal<boolean>;
|
|
34
|
-
/** Playing the slide-down + scrim-fade leave animation. */
|
|
35
31
|
protected readonly closing: _angular_core.WritableSignal<boolean>;
|
|
36
|
-
/** Index of the currently active snap point (only used when snapPoints is non-empty). */
|
|
37
32
|
protected readonly activeSnapIndex: _angular_core.WritableSignal<number>;
|
|
38
|
-
/** CSS height string derived from the active snap point, or null when snapPoints is empty. */
|
|
39
33
|
protected readonly snapHeight: _angular_core.Signal<string | null>;
|
|
40
34
|
private dragStartY;
|
|
41
35
|
private lastMoveY;
|
|
@@ -7,8 +7,7 @@ interface BreadcrumbItem {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
href?: string;
|
|
9
9
|
icon?: IconName;
|
|
10
|
-
/** The name of a crumb with an icon and no `label
|
|
11
|
-
* is not a word for the user. */
|
|
10
|
+
/** The accessible name of a crumb with an icon and no `label`; not derived from `icon`. */
|
|
12
11
|
ariaLabel?: string;
|
|
13
12
|
}
|
|
14
13
|
|
|
@@ -22,11 +21,11 @@ declare class BreadcrumbsComponent {
|
|
|
22
21
|
readonly separator: _angular_core.InputSignal<IconName | null>;
|
|
23
22
|
/** Whether crumbs render as links; falls back to `DS_CONFIG.breadcrumbs.clickable`, then `true`. */
|
|
24
23
|
readonly clickable: _angular_core.InputSignal<boolean | null>;
|
|
25
|
-
/** Caps how many crumbs render, collapsing the middle
|
|
26
|
-
*
|
|
27
|
-
* is clipped from the END, which is the current page. */
|
|
24
|
+
/** Caps how many crumbs render, collapsing the middle; the first and the LAST always survive.
|
|
25
|
+
* Uncapped, a long trail is clipped from the END, which is the current page. */
|
|
28
26
|
readonly maxItems: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
29
|
-
/** Fires when a clickable crumb with `href` is activated
|
|
27
|
+
/** Fires when a clickable crumb with `href` is activated by a plain primary click, whose default
|
|
28
|
+
* navigation is prevented; a modified or non-primary click opens `href` in the browser instead. */
|
|
30
29
|
readonly navigate: _angular_core.OutputEmitterRef<BreadcrumbItem>;
|
|
31
30
|
private readonly allItems;
|
|
32
31
|
protected readonly resolvedItems: _angular_core.Signal<BreadcrumbItem[]>;
|
|
@@ -39,9 +38,7 @@ declare class BreadcrumbsComponent {
|
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
/**
|
|
42
|
-
*
|
|
43
|
-
* (page constructor / effect) or via a router-data driver (see app docs).
|
|
44
|
-
* `<ds-breadcrumbs>` reads from here when no `[items]` input is provided.
|
|
41
|
+
* Breadcrumb state that `<ds-breadcrumbs>` reads when no `[items]` input is provided.
|
|
45
42
|
*/
|
|
46
43
|
declare class BreadcrumbsService {
|
|
47
44
|
private readonly _items;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
|
|
3
3
|
declare class ButtonGroupComponent {
|
|
4
|
-
/**
|
|
4
|
+
/** `aria-label` of the `role="group"` host. */
|
|
5
5
|
readonly ariaLabel: i0.InputSignal<string | null>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
7
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "ds-button-group", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|