@ids-group-ltd/ids-design-system 0.14.3 → 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 +279 -0
- package/components.md +16 -16
- package/docs/agent/INDEX.md +1 -1
- package/docs/agent/charts/column-series-component.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/charts/line-series-component.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 -131
- 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 +109 -105
- 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 +190 -439
- 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 -124
- 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 -164
- 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 +29 -84
- 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 +55 -169
- 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 -121
- 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 +64 -96
- 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 +163 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -0
- 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 -82
- 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 -571
- 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/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.14.4.json +231 -0
- package/migrations/0.14.5.json +311 -0
- package/package.json +9 -1
- package/schematics/check-overrides/surface.json +30 -2
- package/styles/_breakpoints.scss +6 -23
- package/styles/_chart-data-table.scss +3 -11
- package/styles/_chart-frame.scss +14 -65
- 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 +8 -3
- package/styles/_tokens-charts.scss +31 -90
- package/styles/_tokens.scss +115 -154
- 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 +31 -49
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +165 -382
- 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 -125
- 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 +19 -83
- 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 +54 -163
- 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 +25 -94
- 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 +58 -0
- 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 -67
- package/types/ids-group-ltd-ids-design-system-components.d.ts +266 -410
- package/types/ids-group-ltd-ids-design-system-core.d.ts +134 -259
- 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
- package/types/ids-group-ltd-ids-design-system.d.ts +1 -0
|
@@ -6,28 +6,16 @@ import { resolveWithConfig, ICONS } from '@ids-group-ltd/ids-design-system/core'
|
|
|
6
6
|
const DS_ICON_REGISTRY = new InjectionToken('DS_ICON_REGISTRY', {
|
|
7
7
|
factory: () => ({}),
|
|
8
8
|
});
|
|
9
|
-
/** Register additional icons
|
|
10
|
-
*
|
|
11
|
-
* providers: [
|
|
12
|
-
* provideDsIcons({
|
|
13
|
-
* 'cloud-upload': '<path d="..."/>',
|
|
14
|
-
* 'shield': '<path d="..."/>',
|
|
15
|
-
* }),
|
|
16
|
-
* ]
|
|
17
|
-
*
|
|
18
|
-
* Names take precedence as: built-in `ICONS` > consumer registry. Consumer names that clash with
|
|
19
|
-
* built-ins are ignored — to override a built-in, edit the DS source.
|
|
20
|
-
*/
|
|
9
|
+
/** Register additional icons for `<ds-icon [name]>`. Built-in names win: a clashing consumer name is ignored. */
|
|
21
10
|
function provideDsIcons(icons) {
|
|
22
11
|
return { provide: DS_ICON_REGISTRY, useValue: icons };
|
|
23
12
|
}
|
|
24
13
|
|
|
25
14
|
/* Truncation contract:
|
|
26
|
-
Glyph
|
|
27
|
-
Icon + text pair
|
|
15
|
+
Glyph - Never clipped - the SVG sits in a square frame at one of the fixed sizes.
|
|
16
|
+
Icon + text pair - Glyph fixed; text label takes the remaining width and clips with ellipsis. */
|
|
28
17
|
class IconComponent {
|
|
29
18
|
sanitizer = inject(DomSanitizer);
|
|
30
|
-
// Consumer-supplied icons via provideDsIcons(...). Empty record by default.
|
|
31
19
|
registry = inject(DS_ICON_REGISTRY);
|
|
32
20
|
name = input.required(...(ngDevMode ? [{ debugName: "name" }] : /* istanbul ignore next */ []));
|
|
33
21
|
/** Pixel size of the square glyph. Unset falls back to `DS_CONFIG.icon.size`,
|
|
@@ -40,13 +28,8 @@ class IconComponent {
|
|
|
40
28
|
ariaLabel = input(null, ...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
41
29
|
paths = computed(() => {
|
|
42
30
|
const key = this.name();
|
|
43
|
-
// Built-in DS set wins over consumer registry — see provideDsIcons() docs.
|
|
44
31
|
const body = ICONS[key] ?? this.registry[key] ?? '';
|
|
45
|
-
//
|
|
46
|
-
// the type cannot catch it: IconName stays open (`| (string & {})`) so a
|
|
47
|
-
// consumer can register their own through provideDsIcons(), and closing the
|
|
48
|
-
// union would reject every registered name. This branch is the only place
|
|
49
|
-
// that knows. Production pays one falsy check.
|
|
32
|
+
// IconName is open (`| (string & {})`) for consumer-registered names, so the type cannot catch a typo; this warning is the only check.
|
|
50
33
|
if (!body && isDevMode()) {
|
|
51
34
|
console.warn(`[ds-icon] Unknown icon name "${key}" — not in the DS set and not registered through provideDsIcons(), so nothing renders.`);
|
|
52
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-icons.mjs","sources":["../../../src/lib/icons/icon-registry.ts","../../../src/lib/icons/icon.component.ts","../../../src/lib/icons/icon.component.html","../../../src/lib/icons/ids-group-ltd-ids-design-system-icons.ts"],"sourcesContent":["import { InjectionToken, Provider } from '@angular/core';\n\n/**
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-icons.mjs","sources":["../../../src/lib/icons/icon-registry.ts","../../../src/lib/icons/icon.component.ts","../../../src/lib/icons/icon.component.html","../../../src/lib/icons/ids-group-ltd-ids-design-system-icons.ts"],"sourcesContent":["import { InjectionToken, Provider } from '@angular/core';\n\n/** Custom icon name -> SVG body markup (the inside of the host's 24x24 stroke `<svg>`). Omit the `stroke` attribute; the host template sets stroke, caps and joins. */\nexport type DsIconRegistry = Readonly<Record<string, string>>;\n\nexport const DS_ICON_REGISTRY = new InjectionToken<DsIconRegistry>(\n 'DS_ICON_REGISTRY',\n {\n factory: () => ({}),\n },\n);\n\n/** Register additional icons for `<ds-icon [name]>`. Built-in names win: a clashing consumer name is ignored. */\nexport function provideDsIcons(icons: DsIconRegistry): Provider {\n return { provide: DS_ICON_REGISTRY, useValue: icons };\n}\n","import {\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n isDevMode,\n numberAttribute,\n} from '@angular/core';\nimport { DomSanitizer, type SafeHtml } from '@angular/platform-browser';\nimport { DS_ICON_REGISTRY } from './icon-registry';\nimport { ICONS, type IconName } from '@ids-group-ltd/ids-design-system/core';\nimport { resolveWithConfig } from '@ids-group-ltd/ids-design-system/core';\n\n/* Truncation contract:\n Glyph - Never clipped - the SVG sits in a square frame at one of the fixed sizes.\n Icon + text pair - Glyph fixed; text label takes the remaining width and clips with ellipsis. */\n\n@Component({\n selector: 'ds-icon',\n standalone: true,\n encapsulation: ViewEncapsulation.None,\n // Host inline-flex + svg block prevents baseline-gap when icon sits next to text.\n styles: [\n `\n ds-icon {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n line-height: 0;\n }\n ds-icon > svg.icon {\n display: block;\n }\n `,\n ],\n templateUrl: './icon.component.html',\n})\nexport class IconComponent {\n private readonly sanitizer = inject(DomSanitizer);\n private readonly registry = inject(DS_ICON_REGISTRY);\n readonly name = input.required<IconName>();\n /** Pixel size of the square glyph. Unset falls back to `DS_CONFIG.icon.size`,\n * then `16`. */\n readonly size = input<number | null, unknown>(null, {\n transform: (value) => (value == null ? null : numberAttribute(value)),\n });\n readonly sizeResolved = resolveWithConfig(\n this.size,\n (config) => config.icon?.size,\n 16,\n );\n readonly stroke = input<number>(1.75);\n /** When set, the icon is exposed to assistive tech as an image with this\n * name; otherwise it is decorative and hidden (`aria-hidden`). */\n readonly ariaLabel = input<string | null>(null);\n protected readonly paths = computed<SafeHtml>(() => {\n const key = this.name();\n const body =\n (ICONS as Record<string, string>)[key] ?? this.registry[key] ?? '';\n // IconName is open (`| (string & {})`) for consumer-registered names, so the type cannot catch a typo; this warning is the only check.\n if (!body && isDevMode()) {\n console.warn(\n `[ds-icon] Unknown icon name \"${key}\" — not in the DS set and not registered through provideDsIcons(), so nothing renders.`,\n );\n }\n\n return this.sanitizer.bypassSecurityTrustHtml(body);\n });\n}\n","<svg\n class=\"icon\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n [style.--ds-icon-size]=\"sizeResolved() + 'px'\"\n [attr.width]=\"sizeResolved()\"\n [attr.height]=\"sizeResolved()\"\n [attr.stroke-width]=\"stroke()\"\n [attr.role]=\"ariaLabel() ? 'img' : null\"\n [attr.aria-label]=\"ariaLabel()\"\n [attr.aria-hidden]=\"ariaLabel() ? null : 'true'\"\n [innerHTML]=\"paths()\">\n</svg>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,gBAAgB,GAAG,IAAI,cAAc,CAChD,kBAAkB,EAClB;AACE,IAAA,OAAO,EAAE,OAAO,EAAE,CAAC;AACpB,CAAA;AAGH;AACM,SAAU,cAAc,CAAC,KAAqB,EAAA;IAClD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE;AACvD;;ACDA;;AAEmG;MAuBtF,aAAa,CAAA;AACP,IAAA,SAAS,GAAG,MAAM,CAAC,YAAY,CAAC;AAChC,IAAA,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC3C,IAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,0EAAY;AAC1C;AACiB;AACR,IAAA,IAAI,GAAG,KAAK,CAAyB,IAAI,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,MAAA,EAAA,8BAAA,EAAA,CAAA,EAChD,SAAS,EAAE,CAAC,KAAK,MAAM,KAAK,IAAI,IAAI,GAAG,IAAI,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC,GACrE;IACO,YAAY,GAAG,iBAAiB,CACvC,IAAI,CAAC,IAAI,EACT,CAAC,MAAM,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,EAC7B,EAAE,CACH;AACQ,IAAA,MAAM,GAAG,KAAK,CAAS,IAAI,6EAAC;AACrC;AACmE;AAC1D,IAAA,SAAS,GAAG,KAAK,CAAgB,IAAI,gFAAC;AAC5B,IAAA,KAAK,GAAG,QAAQ,CAAW,MAAK;AACjD,QAAA,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE;AACvB,QAAA,MAAM,IAAI,GACP,KAAgC,CAAC,GAAG,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE;;AAEpE,QAAA,IAAI,CAAC,IAAI,IAAI,SAAS,EAAE,EAAE;AACxB,YAAA,OAAO,CAAC,IAAI,CACV,gCAAgC,GAAG,CAAA,sFAAA,CAAwF,CAC5H;QACH;QAEA,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,IAAI,CAAC;AACrD,IAAA,CAAC,4EAAC;wGA9BS,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,ujBCvC1B,oeAgBA,EAAA,MAAA,EAAA,CAAA,6IAAA,CAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;4FDuBa,aAAa,EAAA,UAAA,EAAA,CAAA;kBArBzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,SAAS,EAAA,UAAA,EACP,IAAI,EAAA,aAAA,EACD,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,oeAAA,EAAA,MAAA,EAAA,CAAA,6IAAA,CAAA,EAAA;;;AErBvC;;AAEG;;;;"}
|
|
@@ -3,11 +3,9 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { inject, Injectable } from '@angular/core';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Ref-counted lock on `document.body` scroll
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* so closing one overlay never re-enables page scroll while another stacked on
|
|
10
|
-
* top of it is still open. Calls must be paired (one `unlock()` per `lock()`).
|
|
6
|
+
* Ref-counted lock on `document.body` scroll for viewport-covering overlays.
|
|
7
|
+
* The first `lock()` saves and hides the body overflow, the last `unlock()`
|
|
8
|
+
* restores it. Calls must be paired.
|
|
11
9
|
*/
|
|
12
10
|
class BodyScrollLockService {
|
|
13
11
|
doc = inject(DOCUMENT);
|
|
@@ -37,14 +35,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
37
35
|
args: [{ providedIn: 'root' }]
|
|
38
36
|
}] });
|
|
39
37
|
|
|
40
|
-
/**
|
|
41
|
-
* close it from the inside — e.g. a popover (and, later, a dropdown/select)
|
|
42
|
-
* closing when a menu item is selected. The container provides it via DI;
|
|
43
|
-
* content injects it with `{ optional: true }` so the same content also works
|
|
44
|
-
* standalone (outside any overlay).
|
|
45
|
-
*
|
|
46
|
-
* Same shape as Angular Material's `MatDialogRef` (content calls `close()` on a
|
|
47
|
-
* ref), generalised so any dismissible overlay can provide it. */
|
|
38
|
+
/** Lets projected content close the overlay it lives in. The container provides it via DI; inject with `{ optional: true }` so the content also works outside any overlay. */
|
|
48
39
|
class DsOverlayCloseRef {
|
|
49
40
|
}
|
|
50
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-overlay.mjs","sources":["../../../src/lib/overlay/body-scroll-lock.service.ts","../../../src/lib/overlay/ds-overlay-close-ref.ts","../../../src/lib/overlay/ids-group-ltd-ids-design-system-overlay.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { Injectable, inject } from '@angular/core';\n\n/**\n * Ref-counted lock on `document.body` scroll
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-overlay.mjs","sources":["../../../src/lib/overlay/body-scroll-lock.service.ts","../../../src/lib/overlay/ds-overlay-close-ref.ts","../../../src/lib/overlay/ids-group-ltd-ids-design-system-overlay.ts"],"sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { Injectable, inject } from '@angular/core';\n\n/**\n * Ref-counted lock on `document.body` scroll for viewport-covering overlays.\n * The first `lock()` saves and hides the body overflow, the last `unlock()`\n * restores it. Calls must be paired.\n */\n@Injectable({ providedIn: 'root' })\nexport class BodyScrollLockService {\n private readonly doc = inject(DOCUMENT);\n private count = 0;\n private previousOverflow = '';\n\n lock(): void {\n if (this.count === 0) {\n this.previousOverflow = this.doc.body.style.overflow;\n this.doc.body.style.overflow = 'hidden';\n }\n this.count += 1;\n }\n\n unlock(): void {\n if (this.count === 0) {\n return;\n }\n this.count -= 1;\n if (this.count === 0) {\n this.doc.body.style.overflow = this.previousOverflow;\n }\n }\n}\n","/** Lets projected content close the overlay it lives in. The container provides it via DI; inject with `{ optional: true }` so the content also works outside any overlay. */\nexport abstract class DsOverlayCloseRef {\n abstract close(): void;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;AAIG;MAEU,qBAAqB,CAAA;AACf,IAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC/B,KAAK,GAAG,CAAC;IACT,gBAAgB,GAAG,EAAE;IAE7B,IAAI,GAAA;AACF,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;AACpB,YAAA,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ;YACpD,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ;QACzC;AACA,QAAA,IAAI,CAAC,KAAK,IAAI,CAAC;IACjB;IAEA,MAAM,GAAA;AACJ,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;YACpB;QACF;AACA,QAAA,IAAI,CAAC,KAAK,IAAI,CAAC;AACf,QAAA,IAAI,IAAI,CAAC,KAAK,KAAK,CAAC,EAAE;AACpB,YAAA,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,CAAC,gBAAgB;QACtD;IACF;wGArBW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAArB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cADR,MAAM,EAAA,CAAA;;4FACnB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;;ACRlC;MACsB,iBAAiB,CAAA;AAEtC;;ACHD;;AAEG;;;;"}
|
|
@@ -12,8 +12,7 @@ import { isPlatformBrowser } from '@angular/common';
|
|
|
12
12
|
* ```
|
|
13
13
|
*
|
|
14
14
|
* Light is the default with no provider; `followSystem` opts into OS-driven
|
|
15
|
-
* switching. A manual `<html data-theme="dark">`
|
|
16
|
-
* value this sets.
|
|
15
|
+
* switching. A manual `<html data-theme="dark">` wins over the initial value.
|
|
17
16
|
*/
|
|
18
17
|
function provideDsTheme(options = {}) {
|
|
19
18
|
return makeEnvironmentProviders([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-theme.mjs","sources":["../../../src/lib/theme/provide-ds-theme.ts","../../../src/lib/theme/ids-group-ltd-ids-design-system-theme.ts"],"sourcesContent":["import {\n EnvironmentProviders,\n PLATFORM_ID,\n inject,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nexport interface DsThemeOptions {\n /**\n * Follow the operating-system colour scheme:
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-theme.mjs","sources":["../../../src/lib/theme/provide-ds-theme.ts","../../../src/lib/theme/ids-group-ltd-ids-design-system-theme.ts"],"sourcesContent":["import {\n EnvironmentProviders,\n PLATFORM_ID,\n inject,\n makeEnvironmentProviders,\n provideEnvironmentInitializer,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nexport interface DsThemeOptions {\n /**\n * Follow the operating-system colour scheme: sets `data-theme` on `<html>`\n * from `prefers-color-scheme` at startup and on every OS change.\n * Default `false`: light, with dark opt-in via `<html data-theme=\"dark\">`.\n */\n followSystem?: boolean;\n}\n\n/**\n * App-root theme configuration for the design system.\n *\n * ```ts\n * // app.config.ts\n * export const appConfig: ApplicationConfig = {\n * providers: [provideDsTheme({ followSystem: true })],\n * };\n * ```\n *\n * Light is the default with no provider; `followSystem` opts into OS-driven\n * switching. A manual `<html data-theme=\"dark\">` wins over the initial value.\n */\nexport function provideDsTheme(\n options: DsThemeOptions = {},\n): EnvironmentProviders {\n return makeEnvironmentProviders([\n provideEnvironmentInitializer((): void => {\n if (!options.followSystem || !isPlatformBrowser(inject(PLATFORM_ID))) {\n return;\n }\n const query = window.matchMedia('(prefers-color-scheme: dark)');\n const apply = (): void =>\n document.documentElement.setAttribute(\n 'data-theme',\n query.matches ? 'dark' : 'light',\n );\n apply();\n query.addEventListener('change', apply);\n }),\n ]);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAkBA;;;;;;;;;;;;AAYG;AACG,SAAU,cAAc,CAC5B,OAAA,GAA0B,EAAE,EAAA;AAE5B,IAAA,OAAO,wBAAwB,CAAC;QAC9B,6BAA6B,CAAC,MAAW;AACvC,YAAA,IAAI,CAAC,OAAO,CAAC,YAAY,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE;gBACpE;YACF;YACA,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC;YAC/D,MAAM,KAAK,GAAG,MACZ,QAAQ,CAAC,eAAe,CAAC,YAAY,CACnC,YAAY,EACZ,KAAK,CAAC,OAAO,GAAG,MAAM,GAAG,OAAO,CACjC;AACH,YAAA,KAAK,EAAE;AACP,YAAA,KAAK,CAAC,gBAAgB,CAAC,QAAQ,EAAE,KAAK,CAAC;AACzC,QAAA,CAAC,CAAC;AACH,KAAA,CAAC;AACJ;;ACjDA;;AAEG;;;;"}
|
|
@@ -57,6 +57,7 @@ export { BrandNameDirective, SIDENAV, SidenavComponent, SidenavGroupComponent, S
|
|
|
57
57
|
export { SidenavFooterComponent } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';
|
|
58
58
|
export { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';
|
|
59
59
|
export { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';
|
|
60
|
+
export { SparklineComponent } from '@ids-group-ltd/ids-design-system/components/sparkline';
|
|
60
61
|
export { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';
|
|
61
62
|
export { SplitButtonComponent } from '@ids-group-ltd/ids-design-system/components/split-button';
|
|
62
63
|
export { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system.mjs","sources":["../../../src/lib/public-api.ts","../../../src/lib/ids-group-ltd-ids-design-system.ts"],"sourcesContent":["// GENERATED by tools/generate-public-api.mjs from each entry point index.\n// Do not edit. A symbol is published here unless it carries @internal.\n\n// Shared component contracts\nexport {\n DS_FIELD_WARNING_KIND,\n DsChipTemplateDirective,\n DsCreateTemplateDirective,\n DsEmptyTemplateDirective,\n DsGroupLabelTemplateDirective,\n DsOptionTemplateDirective,\n DsPanelFooterTemplateDirective,\n DsPanelHeaderTemplateDirective,\n DsPickerTriggerDirective,\n DsStaticPreview,\n FieldClickFocusDirective,\n} from '@ids-group-ltd/ids-design-system/components';\nexport type {\n DsAriaCurrent,\n DsFieldError,\n DsFieldErrorsInput,\n DsRouterLink,\n} from '@ids-group-ltd/ids-design-system/components';\n\n// Components\nexport {\n ACCORDION,\n AccordionComponent,\n AccordionItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport type {\n AccordionChevron,\n AccordionContract,\n AccordionItemRef,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport { AlertComponent } from '@ids-group-ltd/ids-design-system/components/alert';\nexport type { AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';\nexport {\n AppLayoutComponent,\n AppLayoutNavigationService,\n AppLayoutScrollService,\n RailTriggerDirective,\n} from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport type { DsAppLayoutScrollReset } from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';\nexport { AutocompleteComponent } from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport type {\n AutocompleteItem,\n AutocompleteOption,\n AutocompleteOptionGroup,\n AutocompleteValueOverflow,\n AutocompleteWidth,\n} from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport {\n AvatarComponent,\n avatarTint,\n initialsFrom,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport type {\n AvatarSize,\n AvatarStatus,\n AvatarTintOptions,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';\nexport { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';\nexport { BannerComponent } from '@ids-group-ltd/ids-design-system/components/banner';\nexport type { BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';\nexport { BarComponent } from '@ids-group-ltd/ids-design-system/components/bar';\nexport type {\n BarSemantics,\n BarVariant,\n} from '@ids-group-ltd/ids-design-system/components/bar';\nexport { BarChartComponent } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport type {\n BarChartRow,\n BarChartSegment,\n BarChartValue,\n} from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';\nexport {\n BreadcrumbsComponent,\n BreadcrumbsService,\n} from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport type { BreadcrumbItem } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport { ButtonComponent } from '@ids-group-ltd/ids-design-system/components/button';\nexport type {\n ButtonAlign,\n ButtonColor,\n ButtonType,\n ButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/button';\nexport { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';\nexport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nexport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/components/card';\nexport {\n CHART_DEFAULT_VALUE_SPACE,\n CHART_SCALES,\n ChartComponent,\n ColumnSeriesComponent,\n LineSeriesComponent,\n ReferenceLabelComponent,\n ReferenceLineComponent,\n SeriesAnnotationComponent,\n stackOffsets,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport type {\n ChartAnnotation,\n ChartPlot,\n ChartScales,\n ChartStackOffset,\n ColumnSeriesPoint,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nexport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nexport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nexport type {\n ChartItemTooltipTrigger,\n ChartTooltipContext,\n ChartTooltipEntry,\n ChartTooltipOrigin,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nexport { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';\nexport { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';\nexport { ColumnChartComponent } from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport type {\n ColumnChartPoint,\n ColumnChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport { DatePickerComponent } from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport type {\n DatePickerMode,\n DatePickerPreset,\n DatePickerValue,\n DateRangeValue,\n DateValue,\n} from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport {\n DescriptionItemComponent,\n DescriptionListComponent,\n} from '@ids-group-ltd/ids-design-system/components/description-list';\nexport type { DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';\nexport { DividerComponent } from '@ids-group-ltd/ids-design-system/components/divider';\nexport type {\n DividerSpacing,\n DividerVariant,\n} from '@ids-group-ltd/ids-design-system/components/divider';\nexport { DrawerComponent } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport type { DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport { DropzoneComponent } from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport type {\n DropzoneFile,\n DropzoneFileState,\n} from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport { EmptyStateComponent } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport type { EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport {\n DS_FIELD_GROUP,\n FieldGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nexport type { DsFieldGroupContext } from '@ids-group-ltd/ids-design-system/components/field-group';\nexport {\n FilterBarComponent,\n FilterItemDirective,\n} from '@ids-group-ltd/ids-design-system/components/filter-bar';\nexport { FunnelChartComponent } from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport type {\n FunnelChartDrop,\n FunnelChartShape,\n FunnelChartStage,\n} from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport { HeatmapChartComponent } from '@ids-group-ltd/ids-design-system/components/heatmap-chart';\nexport type {\n HeatmapChartCell,\n HeatmapChartRow,\n} from '@ids-group-ltd/ids-design-system/components/heatmap-chart';\nexport { IconButtonComponent } from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport type {\n IconButtonType,\n IconButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport { InputComponent } from '@ids-group-ltd/ids-design-system/components/input';\nexport type { InputType } from '@ids-group-ltd/ids-design-system/components/input';\nexport {\n ContainerComponent,\n InlineComponent,\n StackComponent,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport type {\n ContainerSize,\n LayoutAlign,\n LayoutGap,\n LayoutJustify,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport { LineChartComponent } from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport type {\n LineChartAnnotation,\n LineChartReading,\n LineChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport {\n ListComponent,\n ListItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/list';\nexport { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';\nexport {\n MenuComponent,\n MenuDividerComponent,\n MenuItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/menu';\nexport {\n ModalCardComponent,\n ModalComponent,\n ModalService,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport type {\n ModalConfirmOptions,\n ModalConfirmTone,\n ModalSize,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport { MultiSelectComponent } from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport type {\n MultiSelectItem,\n MultiSelectOption,\n MultiSelectOptionGroup,\n MultiSelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';\nexport { OtpInputComponent } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport type { OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport { PageFooterComponent } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport type { PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';\nexport { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport type { PaginationLayout } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport {\n PasswordRulesComponent,\n passwordRulesMet,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport type {\n DsPasswordRule,\n DsPasswordRuleState,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport { PieChartComponent } from '@ids-group-ltd/ids-design-system/components/pie-chart';\nexport type { PieChartSlice } from '@ids-group-ltd/ids-design-system/components/pie-chart';\nexport { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';\nexport type {\n PopoverAlign,\n PopoverPlacement,\n} from '@ids-group-ltd/ids-design-system/components/popover';\nexport {\n RADIO_GROUP,\n RadioComponent,\n RadioGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport type {\n RadioGroupChild,\n RadioGroupContract,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';\nexport { ScatterChartComponent } from '@ids-group-ltd/ids-design-system/components/scatter-chart';\nexport type {\n ScatterChartDecimator,\n ScatterChartReading,\n ScatterChartSeries,\n ScatterPoint,\n} from '@ids-group-ltd/ids-design-system/components/scatter-chart';\nexport { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';\nexport { SegmentedComponent } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport type { SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport {\n SelectComponent,\n isSelectOptionGroup,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport type {\n SelectItem,\n SelectOption,\n SelectOptionGroup,\n SelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport {\n BrandNameDirective,\n SIDENAV,\n SidenavComponent,\n SidenavGroupComponent,\n SidenavItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport type {\n SidenavContract,\n SidenavItemModel,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport { SidenavFooterComponent } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport type {\n SidenavAlertItem,\n SidenavSearchProvider,\n SidenavSearchResult,\n} from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nexport { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';\nexport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nexport { SplitButtonComponent } from '@ids-group-ltd/ids-design-system/components/split-button';\nexport type {\n SplitButtonItem,\n SplitButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/split-button';\nexport { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';\nexport { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';\nexport { StepperComponent } from '@ids-group-ltd/ids-design-system/components/stepper';\nexport type {\n StepperLabelPosition,\n StepperOrientation,\n} from '@ids-group-ltd/ids-design-system/components/stepper';\nexport { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';\nexport {\n CellTemplateDirective,\n HeaderFilterDirective,\n TableComponent,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport type {\n CellTemplateContext,\n HeaderFilterContext,\n SortChangeEvent,\n SortDirection,\n TableCellEditEvent,\n TableColumn,\n TableExpandMode,\n TableFilterMode,\n TableRowAction,\n TableRowActionEvent,\n TableSortMode,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';\nexport { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table-export';\nexport { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';\nexport {\n TabComponent,\n TabsComponent,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport type {\n TabsOrientation,\n TabsVariant,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport { TagComponent } from '@ids-group-ltd/ids-design-system/components/tag';\nexport type { TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';\nexport { TextareaComponent } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport type {\n TextareaMaxLengthMode,\n TextareaResize,\n} from '@ids-group-ltd/ids-design-system/components/textarea';\nexport { TimePickerComponent } from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport type {\n TimeFormat,\n TimePickerMode,\n TimePickerValue,\n TimeRangeValue,\n TimeValue,\n} from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport {\n TimelineComponent,\n TimelineItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/timeline';\nexport type { TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';\nexport {\n DS_TOAST_POSITION_DEFAULT,\n ToastComponent,\n ToastRegionComponent,\n ToastService,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport type {\n DsToastHorizontalPosition,\n DsToastPosition,\n DsToastVerticalPosition,\n ToastAction,\n ToastEntry,\n ToastOptions,\n ToastPromiseMessages,\n ToastRef,\n ToastVariant,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';\nexport {\n TooltipDirective,\n TooltipPanelComponent,\n} from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport type { TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';\nexport { TreeComponent } from '@ids-group-ltd/ids-design-system/components/tree';\nexport type { TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';\nexport { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';\nexport { WaterfallChartComponent } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';\nexport type {\n WaterfallChartBar,\n WaterfallChartKind,\n} from '@ids-group-ltd/ids-design-system/components/waterfall-chart';\n\n// Core\nexport {\n DS_CONFIG,\n DS_INTL,\n DS_INTL_DEFAULTS,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n provideDsIntl,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n AnnounceState,\n ChartAxis,\n ChartAxisMode,\n ChartCurve,\n ChartDataTable,\n ChartFormatLocation,\n ChartFrame,\n ChartGaps,\n ChartRendering,\n ChartStackMode,\n ChartThreshold,\n ChartThresholdDash,\n ChartValueFormat,\n DsConfig,\n DsControlWidth,\n DsIntl,\n DsIntlOverrides,\n DsIntlSortDirection,\n DsIntlStepState,\n DsOption,\n DsOptionGroup,\n DsOptionItem,\n DsSize,\n DsStatus,\n DsStatusKey,\n DsStatusRegistry,\n DsTriggerDisplay,\n IconName,\n} from '@ids-group-ltd/ids-design-system/core';\n\n// Icons\nexport {\n DS_ICON_REGISTRY,\n IconComponent,\n provideDsIcons,\n} from '@ids-group-ltd/ids-design-system/icons';\nexport type { DsIconRegistry } from '@ids-group-ltd/ids-design-system/icons';\n\n// Overlay\nexport {\n BodyScrollLockService,\n DsOverlayCloseRef,\n} from '@ids-group-ltd/ids-design-system/overlay';\n\n// Theme\nexport { provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';\nexport type { DsThemeOptions } from '@ids-group-ltd/ids-design-system/theme';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;ACHA;;AAEG"}
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system.mjs","sources":["../../../src/lib/public-api.ts","../../../src/lib/ids-group-ltd-ids-design-system.ts"],"sourcesContent":["// GENERATED by tools/generate-public-api.mjs from each entry point index.\n// Do not edit. A symbol is published here unless it carries @internal.\n\n// Shared component contracts\nexport {\n DS_FIELD_WARNING_KIND,\n DsChipTemplateDirective,\n DsCreateTemplateDirective,\n DsEmptyTemplateDirective,\n DsGroupLabelTemplateDirective,\n DsOptionTemplateDirective,\n DsPanelFooterTemplateDirective,\n DsPanelHeaderTemplateDirective,\n DsPickerTriggerDirective,\n DsStaticPreview,\n FieldClickFocusDirective,\n} from '@ids-group-ltd/ids-design-system/components';\nexport type {\n DsAriaCurrent,\n DsFieldError,\n DsFieldErrorsInput,\n DsRouterLink,\n} from '@ids-group-ltd/ids-design-system/components';\n\n// Components\nexport {\n ACCORDION,\n AccordionComponent,\n AccordionItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport type {\n AccordionChevron,\n AccordionContract,\n AccordionItemRef,\n} from '@ids-group-ltd/ids-design-system/components/accordion';\nexport { AlertComponent } from '@ids-group-ltd/ids-design-system/components/alert';\nexport type { AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';\nexport {\n AppLayoutComponent,\n AppLayoutNavigationService,\n AppLayoutScrollService,\n RailTriggerDirective,\n} from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport type { DsAppLayoutScrollReset } from '@ids-group-ltd/ids-design-system/components/app-layout';\nexport { AuthLayoutComponent } from '@ids-group-ltd/ids-design-system/components/auth-layout';\nexport { AutocompleteComponent } from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport type {\n AutocompleteItem,\n AutocompleteOption,\n AutocompleteOptionGroup,\n AutocompleteValueOverflow,\n AutocompleteWidth,\n} from '@ids-group-ltd/ids-design-system/components/autocomplete';\nexport {\n AvatarComponent,\n avatarTint,\n initialsFrom,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport type {\n AvatarSize,\n AvatarStatus,\n AvatarTintOptions,\n} from '@ids-group-ltd/ids-design-system/components/avatar';\nexport { AvatarGroupComponent } from '@ids-group-ltd/ids-design-system/components/avatar-group';\nexport { BadgeComponent } from '@ids-group-ltd/ids-design-system/components/badge';\nexport { BannerComponent } from '@ids-group-ltd/ids-design-system/components/banner';\nexport type { BannerVariant } from '@ids-group-ltd/ids-design-system/components/banner';\nexport { BarComponent } from '@ids-group-ltd/ids-design-system/components/bar';\nexport type {\n BarSemantics,\n BarVariant,\n} from '@ids-group-ltd/ids-design-system/components/bar';\nexport { BarChartComponent } from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport type {\n BarChartRow,\n BarChartSegment,\n BarChartValue,\n} from '@ids-group-ltd/ids-design-system/components/bar-chart';\nexport { BottomSheetComponent } from '@ids-group-ltd/ids-design-system/components/bottom-sheet';\nexport {\n BreadcrumbsComponent,\n BreadcrumbsService,\n} from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport type { BreadcrumbItem } from '@ids-group-ltd/ids-design-system/components/breadcrumbs';\nexport { ButtonComponent } from '@ids-group-ltd/ids-design-system/components/button';\nexport type {\n ButtonAlign,\n ButtonColor,\n ButtonType,\n ButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/button';\nexport { ButtonGroupComponent } from '@ids-group-ltd/ids-design-system/components/button-group';\nexport { CardComponent } from '@ids-group-ltd/ids-design-system/components/card';\nexport type {\n CardElevation,\n CardPadding,\n} from '@ids-group-ltd/ids-design-system/components/card';\nexport {\n CHART_DEFAULT_VALUE_SPACE,\n CHART_SCALES,\n ChartComponent,\n ColumnSeriesComponent,\n LineSeriesComponent,\n ReferenceLabelComponent,\n ReferenceLineComponent,\n SeriesAnnotationComponent,\n stackOffsets,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport type {\n ChartAnnotation,\n ChartPlot,\n ChartScales,\n ChartStackOffset,\n ColumnSeriesPoint,\n LineSeriesData,\n} from '@ids-group-ltd/ids-design-system/components/chart';\nexport { ChartDataTableComponent } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nexport type { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';\nexport type { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';\nexport type {\n ChartItemTooltipTrigger,\n ChartTooltipContext,\n ChartTooltipEntry,\n ChartTooltipOrigin,\n ChartTooltipTrigger,\n} from '@ids-group-ltd/ids-design-system/components/chart-tooltip';\nexport { CheckboxComponent } from '@ids-group-ltd/ids-design-system/components/checkbox';\nexport { ColorPickerComponent } from '@ids-group-ltd/ids-design-system/components/color-picker';\nexport { ColumnChartComponent } from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport type {\n ColumnChartPoint,\n ColumnChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/column-chart';\nexport { DatePickerComponent } from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport type {\n DatePickerMode,\n DatePickerPreset,\n DatePickerValue,\n DateRangeValue,\n DateValue,\n} from '@ids-group-ltd/ids-design-system/components/date-picker';\nexport {\n DescriptionItemComponent,\n DescriptionListComponent,\n} from '@ids-group-ltd/ids-design-system/components/description-list';\nexport type { DescriptionListOrientation } from '@ids-group-ltd/ids-design-system/components/description-list';\nexport { DividerComponent } from '@ids-group-ltd/ids-design-system/components/divider';\nexport type {\n DividerSpacing,\n DividerVariant,\n} from '@ids-group-ltd/ids-design-system/components/divider';\nexport { DrawerComponent } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport type { DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';\nexport { DropzoneComponent } from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport type {\n DropzoneFile,\n DropzoneFileState,\n} from '@ids-group-ltd/ids-design-system/components/dropzone';\nexport { EmptyStateComponent } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport type { EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';\nexport {\n DS_FIELD_GROUP,\n FieldGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/field-group';\nexport type { DsFieldGroupContext } from '@ids-group-ltd/ids-design-system/components/field-group';\nexport {\n FilterBarComponent,\n FilterItemDirective,\n} from '@ids-group-ltd/ids-design-system/components/filter-bar';\nexport { FunnelChartComponent } from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport type {\n FunnelChartDrop,\n FunnelChartShape,\n FunnelChartStage,\n} from '@ids-group-ltd/ids-design-system/components/funnel-chart';\nexport { HeatmapChartComponent } from '@ids-group-ltd/ids-design-system/components/heatmap-chart';\nexport type {\n HeatmapChartCell,\n HeatmapChartRow,\n} from '@ids-group-ltd/ids-design-system/components/heatmap-chart';\nexport { IconButtonComponent } from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport type {\n IconButtonType,\n IconButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/icon-button';\nexport { InputComponent } from '@ids-group-ltd/ids-design-system/components/input';\nexport type { InputType } from '@ids-group-ltd/ids-design-system/components/input';\nexport {\n ContainerComponent,\n InlineComponent,\n StackComponent,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport type {\n ContainerSize,\n LayoutAlign,\n LayoutGap,\n LayoutJustify,\n} from '@ids-group-ltd/ids-design-system/components/layout';\nexport { LineChartComponent } from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport type {\n LineChartAnnotation,\n LineChartReading,\n LineChartSeries,\n} from '@ids-group-ltd/ids-design-system/components/line-chart';\nexport {\n ListComponent,\n ListItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/list';\nexport { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';\nexport {\n MenuComponent,\n MenuDividerComponent,\n MenuItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/menu';\nexport {\n ModalCardComponent,\n ModalComponent,\n ModalService,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport type {\n ModalConfirmOptions,\n ModalConfirmTone,\n ModalSize,\n} from '@ids-group-ltd/ids-design-system/components/modal';\nexport { MultiSelectComponent } from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport type {\n MultiSelectItem,\n MultiSelectOption,\n MultiSelectOptionGroup,\n MultiSelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/multi-select';\nexport { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';\nexport { OtpInputComponent } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport type { OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';\nexport { PageFooterComponent } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport type { PageFooterVariant } from '@ids-group-ltd/ids-design-system/components/page-footer';\nexport { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';\nexport { PaginationComponent } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport type { PaginationLayout } from '@ids-group-ltd/ids-design-system/components/pagination';\nexport {\n PasswordRulesComponent,\n passwordRulesMet,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport type {\n DsPasswordRule,\n DsPasswordRuleState,\n} from '@ids-group-ltd/ids-design-system/components/password-rules';\nexport { PieChartComponent } from '@ids-group-ltd/ids-design-system/components/pie-chart';\nexport type { PieChartSlice } from '@ids-group-ltd/ids-design-system/components/pie-chart';\nexport { PopoverComponent } from '@ids-group-ltd/ids-design-system/components/popover';\nexport type {\n PopoverAlign,\n PopoverPlacement,\n} from '@ids-group-ltd/ids-design-system/components/popover';\nexport {\n RADIO_GROUP,\n RadioComponent,\n RadioGroupComponent,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport type {\n RadioGroupChild,\n RadioGroupContract,\n} from '@ids-group-ltd/ids-design-system/components/radio-group';\nexport { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';\nexport { ScatterChartComponent } from '@ids-group-ltd/ids-design-system/components/scatter-chart';\nexport type {\n ScatterChartDecimator,\n ScatterChartReading,\n ScatterChartSeries,\n ScatterPoint,\n} from '@ids-group-ltd/ids-design-system/components/scatter-chart';\nexport { SearchComponent } from '@ids-group-ltd/ids-design-system/components/search';\nexport { SegmentedComponent } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport type { SegmentedOption } from '@ids-group-ltd/ids-design-system/components/segmented';\nexport {\n SelectComponent,\n isSelectOptionGroup,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport type {\n SelectItem,\n SelectOption,\n SelectOptionGroup,\n SelectWidth,\n} from '@ids-group-ltd/ids-design-system/components/select';\nexport {\n BrandNameDirective,\n SIDENAV,\n SidenavComponent,\n SidenavGroupComponent,\n SidenavItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport type {\n SidenavContract,\n SidenavItemModel,\n} from '@ids-group-ltd/ids-design-system/components/sidenav';\nexport { SidenavFooterComponent } from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport type {\n SidenavAlertItem,\n SidenavSearchProvider,\n SidenavSearchResult,\n} from '@ids-group-ltd/ids-design-system/components/sidenav-footer';\nexport { SkeletonComponent } from '@ids-group-ltd/ids-design-system/components/skeleton';\nexport { SliderComponent } from '@ids-group-ltd/ids-design-system/components/slider';\nexport { SparklineComponent } from '@ids-group-ltd/ids-design-system/components/sparkline';\nexport type { SparklineScale } from '@ids-group-ltd/ids-design-system/components/sparkline';\nexport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nexport { SplitButtonComponent } from '@ids-group-ltd/ids-design-system/components/split-button';\nexport type {\n SplitButtonItem,\n SplitButtonVariant,\n} from '@ids-group-ltd/ids-design-system/components/split-button';\nexport { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';\nexport { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';\nexport { StepperComponent } from '@ids-group-ltd/ids-design-system/components/stepper';\nexport type {\n StepperLabelPosition,\n StepperOrientation,\n} from '@ids-group-ltd/ids-design-system/components/stepper';\nexport { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';\nexport {\n CellTemplateDirective,\n HeaderFilterDirective,\n TableComponent,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport type {\n CellTemplateContext,\n HeaderFilterContext,\n SortChangeEvent,\n SortDirection,\n TableCellEditEvent,\n TableColumn,\n TableExpandMode,\n TableFilterMode,\n TableRowAction,\n TableRowActionEvent,\n TableSortMode,\n} from '@ids-group-ltd/ids-design-system/components/table';\nexport { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';\nexport { DsTableExport } from '@ids-group-ltd/ids-design-system/components/table-export';\nexport { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table-resize';\nexport {\n TabComponent,\n TabsComponent,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport type {\n TabsOrientation,\n TabsVariant,\n} from '@ids-group-ltd/ids-design-system/components/tabs';\nexport { TagComponent } from '@ids-group-ltd/ids-design-system/components/tag';\nexport type { TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';\nexport { TextareaComponent } from '@ids-group-ltd/ids-design-system/components/textarea';\nexport type {\n TextareaMaxLengthMode,\n TextareaResize,\n} from '@ids-group-ltd/ids-design-system/components/textarea';\nexport { TimePickerComponent } from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport type {\n TimeFormat,\n TimePickerMode,\n TimePickerValue,\n TimeRangeValue,\n TimeValue,\n} from '@ids-group-ltd/ids-design-system/components/time-picker';\nexport {\n TimelineComponent,\n TimelineItemComponent,\n} from '@ids-group-ltd/ids-design-system/components/timeline';\nexport type { TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';\nexport {\n DS_TOAST_POSITION_DEFAULT,\n ToastComponent,\n ToastRegionComponent,\n ToastService,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport type {\n DsToastHorizontalPosition,\n DsToastPosition,\n DsToastVerticalPosition,\n ToastAction,\n ToastEntry,\n ToastOptions,\n ToastPromiseMessages,\n ToastRef,\n ToastVariant,\n} from '@ids-group-ltd/ids-design-system/components/toast';\nexport { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';\nexport {\n TooltipDirective,\n TooltipPanelComponent,\n} from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport type { TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';\nexport { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';\nexport { TreeComponent } from '@ids-group-ltd/ids-design-system/components/tree';\nexport type { TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';\nexport { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';\nexport { WaterfallChartComponent } from '@ids-group-ltd/ids-design-system/components/waterfall-chart';\nexport type {\n WaterfallChartBar,\n WaterfallChartKind,\n} from '@ids-group-ltd/ids-design-system/components/waterfall-chart';\n\n// Core\nexport {\n DS_CONFIG,\n DS_INTL,\n DS_INTL_DEFAULTS,\n ICONS,\n flattenDsOptions,\n inheritDsConfig,\n isDsOptionGroup,\n isTextClipped,\n provideDsConfig,\n provideDsIntl,\n} from '@ids-group-ltd/ids-design-system/core';\nexport type {\n AnnounceState,\n ChartAxis,\n ChartAxisMode,\n ChartCurve,\n ChartDataTable,\n ChartFormatLocation,\n ChartFrame,\n ChartGaps,\n ChartRendering,\n ChartStackMode,\n ChartThreshold,\n ChartThresholdDash,\n ChartValueFormat,\n DsConfig,\n DsControlWidth,\n DsIntl,\n DsIntlOverrides,\n DsIntlSortDirection,\n DsIntlStepState,\n DsOption,\n DsOptionGroup,\n DsOptionItem,\n DsSize,\n DsStatus,\n DsStatusKey,\n DsStatusRegistry,\n DsTriggerDisplay,\n IconName,\n} from '@ids-group-ltd/ids-design-system/core';\n\n// Icons\nexport {\n DS_ICON_REGISTRY,\n IconComponent,\n provideDsIcons,\n} from '@ids-group-ltd/ids-design-system/icons';\nexport type { DsIconRegistry } from '@ids-group-ltd/ids-design-system/icons';\n\n// Overlay\nexport {\n BodyScrollLockService,\n DsOverlayCloseRef,\n} from '@ids-group-ltd/ids-design-system/overlay';\n\n// Theme\nexport { provideDsTheme } from '@ids-group-ltd/ids-design-system/theme';\nexport type { DsThemeOptions } from '@ids-group-ltd/ids-design-system/theme';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAEA;;ACHA;;AAEG"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.14.4",
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "chart-hover-delay-0",
|
|
6
|
+
"kind": "behavior",
|
|
7
|
+
"old": "DS_CONFIG.chart.hoverDelayMs",
|
|
8
|
+
"new": null,
|
|
9
|
+
"surface": [
|
|
10
|
+
"typescript",
|
|
11
|
+
"config"
|
|
12
|
+
],
|
|
13
|
+
"action": "None, unless you want a resting pointer to wait before a chart answers: set provideDsConfig({ chart: { hoverDelayMs: 500 } }). Delete a hoverDelayMs: 0 that only restated the new default (delete list: chart-hover-delay-zero-redundant).",
|
|
14
|
+
"appliesWhen": "Every chart's pointer hover on a mark, a category, a legend entry, a heat map scale step, a funnel stage row, a pie legend entry or a bar label. Focus, a tap and a click that pins already answered at once.",
|
|
15
|
+
"pitfall": "A test written to wait out the delay before reading the tooltip still passes, and one that asserts nothing is shown yet straight after a hover now fails.",
|
|
16
|
+
"restore": "provideDsConfig({ chart: { hoverDelayMs: 500 } })",
|
|
17
|
+
"searchHints": [
|
|
18
|
+
"hoverDelayMs",
|
|
19
|
+
"provideDsConfig",
|
|
20
|
+
"hover()",
|
|
21
|
+
"ds-chart-tooltip-panel"
|
|
22
|
+
],
|
|
23
|
+
"detect": [
|
|
24
|
+
"hoverDelayMs",
|
|
25
|
+
".hover(",
|
|
26
|
+
"ds-chart-tooltip-panel"
|
|
27
|
+
],
|
|
28
|
+
"verify": "No test asserts that a chart tooltip or highlight is absent right after a hover, unless it runs under hoverDelayMs: 500.",
|
|
29
|
+
"supersedes": [
|
|
30
|
+
"0.14.2#chart-hover-delay-500"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "chart-tooltip-linger-500",
|
|
35
|
+
"kind": "behavior",
|
|
36
|
+
"old": "tooltipLingerMs",
|
|
37
|
+
"new": null,
|
|
38
|
+
"surface": [
|
|
39
|
+
"template",
|
|
40
|
+
"typescript",
|
|
41
|
+
"config"
|
|
42
|
+
],
|
|
43
|
+
"action": "None, unless something expects a chart tooltip gone the moment the pointer leaves a mark: wait 500 ms first, or set provideDsConfig({ chart: { tooltipLingerMs: 0 } }), or tooltipLingerMs=\"0\" on the series.",
|
|
44
|
+
"appliesWhen": "Every chart's tooltip after the pointer leaves a mark, and dsColumnSeries / dsLineSeries with no tooltipLingerMs of their own. The highlight, the dimming and the category cursor still go at once. A pinned tooltip is unaffected.",
|
|
45
|
+
"pitfall": "A test that moves the pointer off a chart and asserts the tooltip is gone in the same step now finds it still open.",
|
|
46
|
+
"restore": "provideDsConfig({ chart: { tooltipLingerMs: 0 } })",
|
|
47
|
+
"searchHints": [
|
|
48
|
+
"tooltipLingerMs",
|
|
49
|
+
"provideDsConfig",
|
|
50
|
+
"mouseleave",
|
|
51
|
+
"pointerleave",
|
|
52
|
+
"ds-chart-tooltip-panel"
|
|
53
|
+
],
|
|
54
|
+
"detect": [
|
|
55
|
+
"tooltipLingerMs",
|
|
56
|
+
"mouseleave",
|
|
57
|
+
"pointerleave",
|
|
58
|
+
"ds-chart-tooltip-panel"
|
|
59
|
+
],
|
|
60
|
+
"verify": "Every test that leaves a chart and asserts its tooltip closed waits at least 500 ms or runs under tooltipLingerMs: 0.",
|
|
61
|
+
"note": "DS_CONFIG.chart.tooltipLingerMs and the per-series tooltipLingerMs both default to 500, was 0."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "chart-tooltip-swatches-auto",
|
|
65
|
+
"kind": "behavior",
|
|
66
|
+
"old": "ds-chart-tooltip-panel",
|
|
67
|
+
"new": null,
|
|
68
|
+
"surface": [
|
|
69
|
+
"template",
|
|
70
|
+
"config"
|
|
71
|
+
],
|
|
72
|
+
"action": "None, unless a tooltip listing five or more readings must keep its colour dots: set [tooltipSwatches]=\"true\" on that chart, or provideDsConfig({ chart: { tooltipSwatches: true } }) for every chart.",
|
|
73
|
+
"appliesWhen": "A tooltip of ds-chart, ds-bar-chart, ds-column-chart, ds-funnel-chart, ds-pie-chart, ds-heatmap-chart, ds-scatter-chart, ds-waterfall-chart or ds-line-chart that lists five or more readings. Four or fewer keep their dots.",
|
|
74
|
+
"pitfall": "A test or style that reads the swatch of each tooltip row finds none once the chart has five series.",
|
|
75
|
+
"restore": "provideDsConfig({ chart: { tooltipSwatches: true } })",
|
|
76
|
+
"searchHints": [
|
|
77
|
+
"ds-chart-tooltip-panel",
|
|
78
|
+
"swatch",
|
|
79
|
+
"provideDsConfig"
|
|
80
|
+
],
|
|
81
|
+
"detect": [
|
|
82
|
+
"ds-chart-tooltip-panel",
|
|
83
|
+
"swatch"
|
|
84
|
+
],
|
|
85
|
+
"verify": "A tooltip with five or more readings shows colour dots only where tooltipSwatches is true on the chart or in DS_CONFIG.chart."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "chart-category-label-dims-only-under-dim-others",
|
|
89
|
+
"kind": "behavior",
|
|
90
|
+
"old": "dimOthers",
|
|
91
|
+
"new": null,
|
|
92
|
+
"surface": "template",
|
|
93
|
+
"action": "None, unless you want hovering a category label to dim the other columns: set dimOthers on that chart.",
|
|
94
|
+
"appliesWhen": "ds-chart and ds-column-chart with columns and a category axis, dimOthers unset. A legend entry still dims the other series, and a chart with dimOthers set is unchanged.",
|
|
95
|
+
"restore": "dimOthers",
|
|
96
|
+
"searchHints": [
|
|
97
|
+
"dimOthers",
|
|
98
|
+
"ds-column-chart",
|
|
99
|
+
"ds-chart"
|
|
100
|
+
],
|
|
101
|
+
"verify": "Hovering a category label dims the other columns only on charts that set dimOthers."
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"id": "line-chart-tooltip-item-none-honoured",
|
|
105
|
+
"kind": "behavior",
|
|
106
|
+
"old": "ds-line-chart[tooltip]",
|
|
107
|
+
"new": null,
|
|
108
|
+
"surface": "template",
|
|
109
|
+
"action": "None, unless a ds-line-chart sets tooltip=\"item\" or tooltip=\"none\" and should keep the all-series category panel: set tooltip=\"axis\", or remove the binding.",
|
|
110
|
+
"appliesWhen": "Only ds-line-chart with tooltip set to \"item\" or \"none\". The default \"axis\" is unchanged; the tooltip input of other charts is not affected.",
|
|
111
|
+
"pitfall": "A chart set to \"item\" to get per-marker tooltips alongside the category panel now shows only the per-marker ones, and nothing fails.",
|
|
112
|
+
"restore": "tooltip=\"axis\"",
|
|
113
|
+
"searchHints": [
|
|
114
|
+
"tooltip=\"item\"",
|
|
115
|
+
"tooltip=\"none\"",
|
|
116
|
+
"[tooltip]="
|
|
117
|
+
],
|
|
118
|
+
"verify": "Every ds-line-chart with tooltip=\"item\" is meant to show per-marker tooltips only, and every one with tooltip=\"none\" no tooltip."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "chart-range-inputs-take-number-attribute",
|
|
122
|
+
"kind": "behavior",
|
|
123
|
+
"old": "HeatmapChartComponent, LineChartComponent",
|
|
124
|
+
"new": null,
|
|
125
|
+
"surface": "typescript",
|
|
126
|
+
"action": "Only in a subclass that redeclares min or max of HeatmapChartComponent, or max or maxSecondary of LineChartComponent: declare it input<number | null, unknown> with the same numberAttribute transform.",
|
|
127
|
+
"appliesWhen": "A class of yours that extends ds-heatmap-chart or ds-line-chart and redeclares one of those four inputs. Reading the value back and binding it in a template are unaffected.",
|
|
128
|
+
"restore": null,
|
|
129
|
+
"searchHints": [
|
|
130
|
+
"extends HeatmapChartComponent",
|
|
131
|
+
"extends LineChartComponent"
|
|
132
|
+
],
|
|
133
|
+
"detect": [
|
|
134
|
+
"extends HeatmapChartComponent",
|
|
135
|
+
"extends LineChartComponent"
|
|
136
|
+
],
|
|
137
|
+
"verify": "The app builds with no TS2416 on min, max or maxSecondary of a chart subclass.",
|
|
138
|
+
"note": "The write type widened from number | null to unknown; the value read back is still number | null. Subclassing a DS component is unsupported."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "exported-class-members-grew",
|
|
142
|
+
"kind": "behavior",
|
|
143
|
+
"old": "BarChartComponent, ChartComponent, ColumnChartComponent, ColumnSeriesComponent, FunnelChartComponent, HeatmapChartComponent, LineChartComponent, LineSeriesComponent, PieChartComponent, ScatterChartComponent, WaterfallChartComponent, ChartTooltipPanelComponent, ChartTooltipDirective",
|
|
144
|
+
"new": null,
|
|
145
|
+
"surface": "typescript",
|
|
146
|
+
"action": "Build after upgrading, rename or mark `override` every member of yours the compiler reports as colliding, and delete an override whose base member is gone.",
|
|
147
|
+
"appliesWhen": "Only a class of yours that extends one of the listed components. Template users of those components need nothing; subclassing a DS component is unsupported.",
|
|
148
|
+
"pitfall": "`protected` and `private` are no protection: a redeclared member collides exactly as a public one does. A method of yours named like a removed member and declared without `override` still compiles, and is simply never called again.",
|
|
149
|
+
"restore": null,
|
|
150
|
+
"searchHints": [
|
|
151
|
+
"extends BarChartComponent",
|
|
152
|
+
"extends ChartComponent",
|
|
153
|
+
"extends ColumnChartComponent",
|
|
154
|
+
"extends ColumnSeriesComponent",
|
|
155
|
+
"extends FunnelChartComponent",
|
|
156
|
+
"extends HeatmapChartComponent",
|
|
157
|
+
"extends LineChartComponent",
|
|
158
|
+
"extends LineSeriesComponent",
|
|
159
|
+
"extends PieChartComponent",
|
|
160
|
+
"extends ScatterChartComponent",
|
|
161
|
+
"extends WaterfallChartComponent",
|
|
162
|
+
"extends ChartTooltipPanelComponent",
|
|
163
|
+
"extends ChartTooltipDirective"
|
|
164
|
+
],
|
|
165
|
+
"detect": [
|
|
166
|
+
"extends BarChartComponent",
|
|
167
|
+
"extends ChartComponent",
|
|
168
|
+
"extends ColumnChartComponent",
|
|
169
|
+
"extends ColumnSeriesComponent",
|
|
170
|
+
"extends FunnelChartComponent",
|
|
171
|
+
"extends HeatmapChartComponent",
|
|
172
|
+
"extends LineChartComponent",
|
|
173
|
+
"extends LineSeriesComponent",
|
|
174
|
+
"extends PieChartComponent",
|
|
175
|
+
"extends ScatterChartComponent",
|
|
176
|
+
"extends WaterfallChartComponent",
|
|
177
|
+
"extends ChartTooltipPanelComponent",
|
|
178
|
+
"extends ChartTooltipDirective"
|
|
179
|
+
],
|
|
180
|
+
"verify": "The app builds with no TS4114 or TS2416 against a DS base class, and no subclass keeps a member named after a removed one.",
|
|
181
|
+
"note": "Every chart component gained tooltipSwatches; ChartComponent also tooltipSwatchesResolved, LineChartComponent plotCursor, ScatterChartComponent hoveredIndex, nearestMark, onCanvasLeave and onCanvasPointer, ColumnSeriesComponent soleSeries and slotStepPx, the internal ChartTooltipPanelComponent showsSwatches and swatches, the internal ChartTooltipDirective dsChartTooltipSwatches, glide and glideFrom. tooltipLingerMs on ColumnSeriesComponent and LineSeriesComponent defaults to 500. ScatterChartComponent lost onPointOver and onPointOut, ColumnSeriesComponent lost dimsFromLabel and slotBandPx. The compiler names every collision."
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"informational": [
|
|
185
|
+
{
|
|
186
|
+
"text": "A toast's announcement stays off screen from the first toast on a page. ToastService speaks through the CDK LiveAnnouncer, whose region carries .cdk-visually-hidden, and the CDK loads that rule only with a dialog or a focus trap, so until one opened the announcement rendered as text at the page's bottom-left. styles/toast-overlay, which styles/ds forwards, declares the rule, and an app's own include of it is redundant (delete list: cdk-visually-hidden-include).",
|
|
187
|
+
"verify": "On a freshly loaded page, show a toast before opening any dialog: .cdk-live-announcer-element measures 1x1 px and the toast text appears nowhere else on the page."
|
|
188
|
+
},
|
|
189
|
+
"The chart tooltip glides from the mark it left to the mark it reached, tuned by --ds-motion-chart-tooltip-move-duration (300ms, 0ms under reduced motion) and --ds-motion-chart-tooltip-move-easing (var(--ease-standard)).",
|
|
190
|
+
{
|
|
191
|
+
"text": "A scroll of the window or an ancestor scroll container closes an unpinned chart tooltip instead of repositioning it; a pinned one repositions and stays.",
|
|
192
|
+
"verify": "Hover a chart mark inside a scroll container, scroll the container, and confirm the tooltip closes; pin a mark, scroll, and confirm it follows the mark."
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"text": "A captionless chart no longer gains top padding while a mark is held; the Unpin control floats over the top end of the plot. A captioned chart keeps the control on its caption line.",
|
|
196
|
+
"verify": "Click a mark of a chart with no caption and confirm the chart's height does not change and Unpin sits over the plot's top end."
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"text": "Chart hit areas tile the plot: ds-chart and ds-column-chart answer the nearest category across the gap between column bands, a ds-waterfall-chart step answers at any plot height in its category, a ds-heatmap-chart cell reaches half the gap on each side, and a ds-scatter-chart point answers within 16 screen pixels of its centre. dsColumnSeries takes soleSeries for an offsets series drawn as one series.",
|
|
200
|
+
"verify": "Move the pointer across the gap between two columns and between two heat-map cells and confirm a mark answers at every position."
|
|
201
|
+
},
|
|
202
|
+
"The hovered ds-heatmap-chart colour-scale step grows to 1.75x its height.",
|
|
203
|
+
"A hovered ds-funnel-chart stage-table row is tinted edge to edge with --ds-chart-legend-hover-bg-color and --ds-chart-legend-hover-text-color.",
|
|
204
|
+
{
|
|
205
|
+
"text": "The ds-funnel-chart figure clips its vertical overflow, so stage rows rising in the entrance no longer flash a vertical scrollbar; horizontal scrolling is kept.",
|
|
206
|
+
"verify": "Replay a funnel chart's entrance and confirm no vertical scrollbar appears while a narrow one still scrolls horizontally."
|
|
207
|
+
},
|
|
208
|
+
"min and max on ds-heatmap-chart and max and maxSecondary on ds-line-chart accept a static attribute such as min=\"0\", coerced with numberAttribute."
|
|
209
|
+
],
|
|
210
|
+
"deleteList": [
|
|
211
|
+
{
|
|
212
|
+
"id": "cdk-visually-hidden-include",
|
|
213
|
+
"surface": "style",
|
|
214
|
+
"find": [
|
|
215
|
+
"a11y-visually-hidden",
|
|
216
|
+
"a11y-prebuilt.css"
|
|
217
|
+
],
|
|
218
|
+
"why": "styles/toast-overlay, which styles/ds forwards, declares .cdk-visually-hidden for the announcer region ToastService writes to, so an app-level include of the CDK rule restates it.",
|
|
219
|
+
"replaceWith": "nothing; keep it where the app loads neither styles/ds nor styles/toast-overlay"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"id": "chart-hover-delay-zero-redundant",
|
|
223
|
+
"surface": "config",
|
|
224
|
+
"find": [
|
|
225
|
+
"hoverDelayMs: 0"
|
|
226
|
+
],
|
|
227
|
+
"why": "DS_CONFIG.chart.hoverDelayMs defaults to 0, so setting it to 0 restates the default.",
|
|
228
|
+
"replaceWith": "nothing"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|