@ids-group-ltd/ids-design-system 0.14.4 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +160 -0
- package/components.md +14 -14
- package/docs/agent/INDEX.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +1 -1
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +1 -1
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-heatmap-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +1 -1
- package/docs/agent/charts/ds-pie-chart.md +3 -3
- package/docs/agent/charts/ds-scatter-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/navigation/ds-breadcrumbs.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +58 -163
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +21 -34
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +34 -105
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +22 -48
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +7 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +6 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +28 -130
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +11 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +10 -28
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +16 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +42 -69
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +15 -20
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +6 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +3 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +12 -28
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +58 -112
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +182 -432
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +8 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -22
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -123
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +45 -116
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +4 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +7 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +16 -45
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +10 -14
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +19 -41
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +48 -163
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +27 -85
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +17 -25
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +21 -41
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +3 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +50 -166
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +7 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +6 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +19 -36
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +30 -57
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +37 -103
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +9 -15
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +8 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +9 -24
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +32 -120
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +14 -24
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +15 -24
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs +9 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +27 -91
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +16 -41
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +8 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +18 -52
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +30 -49
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +8 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +29 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +8 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +5 -20
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +5 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +11 -23
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +7 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs +9 -43
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-resize.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +167 -353
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +33 -86
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +7 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -47
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +21 -49
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +35 -63
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +38 -50
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +3 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +28 -85
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +325 -579
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +51 -85
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -21
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +4 -13
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +1 -2
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs.map +1 -1
- package/migrations/0.14.5.json +311 -0
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +17 -2
- package/styles/_breakpoints.scss +6 -23
- package/styles/_chart-data-table.scss +3 -11
- package/styles/_chart-frame.scss +14 -63
- package/styles/_chart-interactive.scss +8 -36
- package/styles/_chart-motion.scss +11 -39
- package/styles/_check-box.scss +7 -26
- package/styles/_check-mark.scss +7 -23
- package/styles/_chip-row.scss +3 -14
- package/styles/_clear-button.scss +2 -7
- package/styles/_control-label.scss +2 -13
- package/styles/_control-line.scss +2 -6
- package/styles/_dropdown-overlay.scss +8 -33
- package/styles/_ds-color.scss +9 -28
- package/styles/_field-box.scss +4 -16
- package/styles/_field-group-segment.scss +6 -6
- package/styles/_field-label.scss +3 -14
- package/styles/_field-state.scss +5 -10
- package/styles/_focus.scss +20 -60
- package/styles/_icon-base.scss +0 -2
- package/styles/_layout-utils.scss +0 -3
- package/styles/_link.scss +4 -18
- package/styles/_overlay-motion.scss +15 -38
- package/styles/_page-grid.scss +4 -29
- package/styles/_press.scss +5 -18
- package/styles/_reset.scss +1 -14
- package/styles/_scrollbar.scss +0 -2
- package/styles/_skeleton-shimmer.scss +3 -14
- package/styles/_status.scss +5 -13
- package/styles/_surface-motion.scss +7 -34
- package/styles/_table-controls.scss +3 -6
- package/styles/_text-clip.scss +2 -6
- package/styles/_theme-activation.scss +7 -20
- package/styles/_toast-overlay.scss +2 -6
- package/styles/_tokens-charts.scss +31 -90
- package/styles/_tokens.scss +111 -156
- package/styles/_typography.scss +6 -13
- package/styles/_visually-hidden.scss +2 -3
- package/styles/ds.scss +2 -10
- package/themes/_base-palette.scss +12 -35
- package/themes/_semantic.scss +29 -98
- package/themes/dark/_palette.scss +15 -29
- package/themes/dark/_theme.scss +14 -32
- package/themes/light/_palette.scss +2 -17
- package/themes/light/_theme.scss +1 -7
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +2 -6
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +2 -3
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +45 -119
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +19 -32
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +29 -92
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +23 -46
- package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +5 -5
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -8
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +27 -136
- package/types/ids-group-ltd-ids-design-system-components-bar.d.ts +13 -32
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +6 -12
- package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +6 -9
- package/types/ids-group-ltd-ids-design-system-components-button-group.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +36 -55
- package/types/ids-group-ltd-ids-design-system-components-calendar-day.d.ts +13 -18
- package/types/ids-group-ltd-ids-design-system-components-card.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +5 -11
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +10 -26
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +27 -49
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +161 -385
- package/types/ids-group-ltd-ids-design-system-components-checkbox.d.ts +6 -10
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +5 -14
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +29 -124
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +23 -70
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-divider.d.ts +3 -7
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +1 -3
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +6 -8
- package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-field-group.d.ts +17 -50
- package/types/ids-group-ltd-ids-design-system-components-field-message.d.ts +8 -12
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +13 -28
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +25 -113
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +17 -85
- package/types/ids-group-ltd-ids-design-system-components-icon-button.d.ts +15 -23
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +18 -37
- package/types/ids-group-ltd-ids-design-system-components-layout.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +51 -160
- package/types/ids-group-ltd-ids-design-system-components-list.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +4 -9
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +13 -21
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +15 -28
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +27 -83
- package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +5 -6
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +5 -7
- package/types/ids-group-ltd-ids-design-system-components-page-footer.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -10
- package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +8 -22
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +18 -102
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +7 -11
- package/types/ids-group-ltd-ids-design-system-components-radio-group.d.ts +14 -25
- package/types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts +7 -12
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +21 -96
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +12 -33
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +6 -7
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +12 -41
- package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +8 -15
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +23 -40
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +3 -5
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-sparkline.d.ts +14 -10
- package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +6 -7
- package/types/ids-group-ltd-ids-design-system-components-stat.d.ts +2 -15
- package/types/ids-group-ltd-ids-design-system-components-status-dot.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +4 -6
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +5 -9
- package/types/ids-group-ltd-ids-design-system-components-table-columns.d.ts +3 -7
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +4 -8
- package/types/ids-group-ltd-ids-design-system-components-table-resize.d.ts +9 -43
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +160 -369
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +21 -49
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +5 -5
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +17 -34
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +17 -38
- package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +20 -37
- package/types/ids-group-ltd-ids-design-system-components-toggle-button.d.ts +2 -3
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +17 -36
- package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +21 -70
- package/types/ids-group-ltd-ids-design-system-components.d.ts +262 -415
- package/types/ids-group-ltd-ids-design-system-core.d.ts +133 -260
- package/types/ids-group-ltd-ids-design-system-icons.d.ts +2 -24
- package/types/ids-group-ltd-ids-design-system-overlay.d.ts +4 -13
- package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -6
|
@@ -6,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;;;;"}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.14.5",
|
|
3
|
+
"items": [
|
|
4
|
+
{
|
|
5
|
+
"id": "pie-chart-stagger-ms-removed",
|
|
6
|
+
"kind": "removed-api",
|
|
7
|
+
"old": "ds-pie-chart[staggerMs]",
|
|
8
|
+
"new": null,
|
|
9
|
+
"action": "Remove the `staggerMs` attribute or `[staggerMs]` binding from every ds-pie-chart.",
|
|
10
|
+
"appliesWhen": "ds-pie-chart only. `staggerMs` on the other charts and on the chart series is unchanged and still spaces their arrivals.",
|
|
11
|
+
"searchHints": [
|
|
12
|
+
"staggerMs",
|
|
13
|
+
"ds-pie-chart"
|
|
14
|
+
],
|
|
15
|
+
"surface": "template",
|
|
16
|
+
"verify": "No ds-pie-chart element carries a staggerMs attribute or binding, and the app compiles.",
|
|
17
|
+
"detect": [
|
|
18
|
+
"extends PieChartComponent",
|
|
19
|
+
"staggerMs"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "chart-tooltip-light-panel",
|
|
24
|
+
"kind": "behavior",
|
|
25
|
+
"old": "--chart-tooltip-bg-color",
|
|
26
|
+
"new": null,
|
|
27
|
+
"surface": "style",
|
|
28
|
+
"action": "None, unless a screen relies on the dark tooltip panel on the light theme: set the three --ds-chart-tooltip-* colours on :root as in restore. Delete an override that only restated the new light colours (delete list: chart-tooltip-light-override-redundant).",
|
|
29
|
+
"appliesWhen": "Every chart tooltip panel on the light theme, which ships in styles/tokens-charts. The dark theme is unchanged.",
|
|
30
|
+
"pitfall": "A screenshot test of an open chart tooltip on the light theme changes, and a page styled to sit a dark panel on a light card loses that contrast.",
|
|
31
|
+
"restore": ":root { --ds-chart-tooltip-bg-color: var(--neutral-900); --ds-chart-tooltip-text-color: var(--neutral-0); --ds-chart-tooltip-border-color: var(--neutral-700); }",
|
|
32
|
+
"searchHints": [
|
|
33
|
+
"--ds-chart-tooltip-bg-color",
|
|
34
|
+
"--ds-chart-tooltip-text-color",
|
|
35
|
+
"--ds-chart-tooltip-border-color",
|
|
36
|
+
"ds-chart-tooltip-panel"
|
|
37
|
+
],
|
|
38
|
+
"detect": [
|
|
39
|
+
"--ds-chart-tooltip-bg-color",
|
|
40
|
+
"ds-chart-tooltip-panel",
|
|
41
|
+
"toHaveScreenshot"
|
|
42
|
+
],
|
|
43
|
+
"verify": "On the light theme an open chart tooltip panel computes a light background, unless the app sets --ds-chart-tooltip-bg-color on purpose."
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "chart-tooltip-lone-reading-no-swatch",
|
|
47
|
+
"kind": "behavior",
|
|
48
|
+
"old": "ds-chart-tooltip-panel",
|
|
49
|
+
"new": null,
|
|
50
|
+
"surface": [
|
|
51
|
+
"template",
|
|
52
|
+
"config"
|
|
53
|
+
],
|
|
54
|
+
"action": "None, unless a tooltip listing a single reading must keep its colour dot: set [tooltipSwatches]=\"true\" on that chart, or provideDsConfig({ chart: { tooltipSwatches: true } }) for every chart.",
|
|
55
|
+
"appliesWhen": "A chart tooltip with exactly one reading under the default tooltipSwatches. Two to four readings keep their dots; five or more had none already.",
|
|
56
|
+
"pitfall": "A test or style that reads the swatch of a single-series tooltip finds none.",
|
|
57
|
+
"restore": "provideDsConfig({ chart: { tooltipSwatches: true } })",
|
|
58
|
+
"searchHints": [
|
|
59
|
+
"ds-chart-tooltip-panel",
|
|
60
|
+
"swatch",
|
|
61
|
+
"tooltipSwatches"
|
|
62
|
+
],
|
|
63
|
+
"detect": [
|
|
64
|
+
"ds-chart-tooltip-panel",
|
|
65
|
+
"swatch"
|
|
66
|
+
],
|
|
67
|
+
"verify": "A one-reading chart tooltip shows a colour dot only where tooltipSwatches is true on the chart or in DS_CONFIG.chart."
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "chart-frame-tokens-fall-back-to-chart-bg",
|
|
71
|
+
"kind": "behavior",
|
|
72
|
+
"old": "--ds-chart-frame-bg-color",
|
|
73
|
+
"new": null,
|
|
74
|
+
"surface": "style",
|
|
75
|
+
"action": "Where your own CSS reads var(--ds-chart-frame-bg-color), var(--ds-chart-focus-halo-color) or var(--ds-chart-hatch-color), read var(--ds-chart-bg-color) instead. Setting the three still overrides. To keep the white focus halo, set --ds-chart-focus-halo-color: white.",
|
|
76
|
+
"appliesWhen": "Stylesheets that read one of the three tokens, which ship in styles/tokens-charts, which styles/ds forwards, and every chart's keyboard focus halo, which follows the chart background instead of white. Setting the tokens is unaffected.",
|
|
77
|
+
"pitfall": "A var(--ds-chart-frame-bg-color) with no fallback in your CSS resolves to nothing and the declaration it sits in is dropped without an error.",
|
|
78
|
+
"restore": ":root { --ds-chart-focus-halo-color: white; }",
|
|
79
|
+
"searchHints": [
|
|
80
|
+
"--ds-chart-frame-bg-color",
|
|
81
|
+
"--ds-chart-focus-halo-color",
|
|
82
|
+
"--ds-chart-hatch-color"
|
|
83
|
+
],
|
|
84
|
+
"detect": [
|
|
85
|
+
"var(--ds-chart-frame-bg-color",
|
|
86
|
+
"var(--ds-chart-focus-halo-color",
|
|
87
|
+
"var(--ds-chart-hatch-color"
|
|
88
|
+
],
|
|
89
|
+
"verify": "The built CSS declares --ds-chart-bg-color on :root, and no rule of yours reads one of the three tokens without a fallback.",
|
|
90
|
+
"note": "The three no longer declare a default; each chart reads var(--token, var(--ds-chart-bg-color)), and --ds-chart-bg-color defaults to var(--surface-default)."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "bar-chart-row-label-dims-only-under-dim-others",
|
|
94
|
+
"kind": "behavior",
|
|
95
|
+
"old": "ds-bar-chart[dimOthers]",
|
|
96
|
+
"new": null,
|
|
97
|
+
"surface": "template",
|
|
98
|
+
"action": "None, unless you want hovering a ds-bar-chart row label to dim the other rows: set dimOthers on that chart.",
|
|
99
|
+
"appliesWhen": "ds-bar-chart with dimOthers unset. A chart with dimOthers set is unchanged, and hovering a bar itself never dimmed the other rows without it.",
|
|
100
|
+
"restore": "dimOthers",
|
|
101
|
+
"searchHints": [
|
|
102
|
+
"dimOthers",
|
|
103
|
+
"ds-bar-chart"
|
|
104
|
+
],
|
|
105
|
+
"verify": "Hovering a row label dims the other rows only on ds-bar-chart elements that set dimOthers."
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "chart-cursor-pin-renamed",
|
|
109
|
+
"kind": "input-rename",
|
|
110
|
+
"old": "ds-chart[cursorPin]",
|
|
111
|
+
"new": "ds-chart[pinOnClick]",
|
|
112
|
+
"surface": "template",
|
|
113
|
+
"action": "Rename cursorPin to pinOnClick on every ds-chart, in static attributes and [cursorPin] bindings alike.",
|
|
114
|
+
"appliesWhen": "ds-chart only. pinOnClick on the preset charts is unchanged, and DS_CONFIG.chart.pinOnClick still sets the default.",
|
|
115
|
+
"searchHints": [
|
|
116
|
+
"cursorPin",
|
|
117
|
+
"ds-chart"
|
|
118
|
+
],
|
|
119
|
+
"verify": "No template binds cursorPin, and the app compiles."
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "chart-cursor-pin-resolved-renamed",
|
|
123
|
+
"kind": "behavior",
|
|
124
|
+
"old": "cursorPinResolved",
|
|
125
|
+
"new": null,
|
|
126
|
+
"surface": "typescript",
|
|
127
|
+
"action": "Replace cursorPinResolved() with pinOnClickResolved() wherever your code reads it from a ds-chart reference.",
|
|
128
|
+
"appliesWhen": "Only TypeScript reading the resolved pin setting back from a ChartComponent through viewChild or a template reference. The preset charts already exposed pinOnClickResolved.",
|
|
129
|
+
"restore": null,
|
|
130
|
+
"searchHints": [
|
|
131
|
+
"cursorPinResolved"
|
|
132
|
+
],
|
|
133
|
+
"detect": [
|
|
134
|
+
".cursorPinResolved(",
|
|
135
|
+
"cursorPinResolved()"
|
|
136
|
+
],
|
|
137
|
+
"verify": "No code calls cursorPinResolved, and the app compiles."
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "line-chart-tooltip-anchor-point-renamed",
|
|
141
|
+
"kind": "value-remap",
|
|
142
|
+
"old": "ds-line-chart[tooltipAnchor]",
|
|
143
|
+
"new": "ds-line-chart[tooltipAnchor]",
|
|
144
|
+
"map": {
|
|
145
|
+
"point": "tooltipAnchor=\"reading\"",
|
|
146
|
+
"pointer": "tooltipAnchor=\"pointer\""
|
|
147
|
+
},
|
|
148
|
+
"surface": [
|
|
149
|
+
"template",
|
|
150
|
+
"typescript"
|
|
151
|
+
],
|
|
152
|
+
"action": "Replace tooltipAnchor=\"point\" with tooltipAnchor=\"reading\" on ds-line-chart, and 'point' with 'reading' in any typed field bound to [tooltipAnchor].",
|
|
153
|
+
"appliesWhen": "ds-line-chart only. dsLineSeries already took 'reading'; ds-column-chart's tooltipAnchor takes 'mark' | 'cell' and is unaffected.",
|
|
154
|
+
"searchHints": [
|
|
155
|
+
"tooltipAnchor",
|
|
156
|
+
"'point'"
|
|
157
|
+
],
|
|
158
|
+
"detect": [
|
|
159
|
+
"tooltipAnchor=\"point\"",
|
|
160
|
+
"'point' | 'pointer'",
|
|
161
|
+
"tooltipAnchor: 'point'"
|
|
162
|
+
],
|
|
163
|
+
"verify": "No ds-line-chart binds tooltipAnchor to 'point', and the app compiles."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "line-series-area-widened",
|
|
167
|
+
"kind": "behavior",
|
|
168
|
+
"old": "LineChartSeries.area",
|
|
169
|
+
"new": null,
|
|
170
|
+
"surface": "typescript",
|
|
171
|
+
"action": "Where your code reads area back from a LineChartSeries or a dsLineSeries data entry, handle 'fade' as well as true and false.",
|
|
172
|
+
"appliesWhen": "Only code that READS area; building a series with area: true or false needs nothing.",
|
|
173
|
+
"restore": null,
|
|
174
|
+
"searchHints": [
|
|
175
|
+
"LineChartSeries",
|
|
176
|
+
".area",
|
|
177
|
+
"area:"
|
|
178
|
+
],
|
|
179
|
+
"detect": [
|
|
180
|
+
".area ?",
|
|
181
|
+
".area)",
|
|
182
|
+
"area === true",
|
|
183
|
+
"if (series.area"
|
|
184
|
+
],
|
|
185
|
+
"verify": "Every read of a series' area handles the 'fade' value, and the app compiles.",
|
|
186
|
+
"note": "The type widened from boolean to boolean | 'fade'; 'fade' fills from the line down to nothing at the baseline."
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"id": "chart-classes-members-moved",
|
|
190
|
+
"kind": "behavior",
|
|
191
|
+
"old": "BarChartComponent, ChartComponent, ColumnChartComponent, FunnelChartComponent, HeatmapChartComponent, LineChartComponent, PieChartComponent, ScatterChartComponent, WaterfallChartComponent, SparklineComponent, LineSeriesComponent, ChartTooltipDirective",
|
|
192
|
+
"new": null,
|
|
193
|
+
"surface": "typescript",
|
|
194
|
+
"action": "Build after upgrading, and rename or mark `override` every member of yours the compiler reports as colliding.",
|
|
195
|
+
"appliesWhen": "Only a class of yours that extends one of the listed charts. Template users need nothing; subclassing a DS component is unsupported.",
|
|
196
|
+
"pitfall": "A subclass that overrode a shared input such as caption or frame now shadows the base class member: it compiles only with `override`, and a redeclared input.required data breaks against the optional base.",
|
|
197
|
+
"restore": null,
|
|
198
|
+
"searchHints": [
|
|
199
|
+
"extends BarChartComponent",
|
|
200
|
+
"extends ChartComponent",
|
|
201
|
+
"extends ColumnChartComponent",
|
|
202
|
+
"extends FunnelChartComponent",
|
|
203
|
+
"extends HeatmapChartComponent",
|
|
204
|
+
"extends LineChartComponent",
|
|
205
|
+
"extends PieChartComponent",
|
|
206
|
+
"extends ScatterChartComponent",
|
|
207
|
+
"extends WaterfallChartComponent",
|
|
208
|
+
"extends SparklineComponent",
|
|
209
|
+
"extends LineSeriesComponent",
|
|
210
|
+
"extends ChartTooltipDirective"
|
|
211
|
+
],
|
|
212
|
+
"detect": [
|
|
213
|
+
"extends BarChartComponent",
|
|
214
|
+
"extends ChartComponent",
|
|
215
|
+
"extends ColumnChartComponent",
|
|
216
|
+
"extends FunnelChartComponent",
|
|
217
|
+
"extends HeatmapChartComponent",
|
|
218
|
+
"extends LineChartComponent",
|
|
219
|
+
"extends PieChartComponent",
|
|
220
|
+
"extends ScatterChartComponent",
|
|
221
|
+
"extends WaterfallChartComponent",
|
|
222
|
+
"extends SparklineComponent",
|
|
223
|
+
"extends LineSeriesComponent",
|
|
224
|
+
"extends ChartTooltipDirective"
|
|
225
|
+
],
|
|
226
|
+
"verify": "The app builds with no TS4114 or TS2416 against a DS chart class.",
|
|
227
|
+
"note": "The shared chart inputs and their resolved signals moved to an internal base class. ChartComponent lost cursorPin and cursorPinResolved and gained pinOnClickResolved, BarChartComponent lost dimsOthers and hoveredLabel, LineChartComponent lost markAnchor, PieChartComponent lost staggerMs; the internal ChartTooltipDirective gained host, LineSeriesComponent fadeId, SparklineComponent area, WaterfallChartComponent dimOthers and tooltip; data, categories and series became optional. The compiler names every collision."
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"id": "tooltip-light-panel",
|
|
231
|
+
"kind": "behavior",
|
|
232
|
+
"old": "--ds-tooltip-bg-color",
|
|
233
|
+
"new": null,
|
|
234
|
+
"surface": "style",
|
|
235
|
+
"action": "None, unless a screen relies on the inverted ds-tooltip: set the three --ds-tooltip-* colours on :root as in restore.",
|
|
236
|
+
"appliesWhen": "Every ds-tooltip, on both themes. The chart tooltip already took the same colours and is unchanged by this item.",
|
|
237
|
+
"pitfall": "A screenshot test of an open ds-tooltip changes, and a --ds-tooltip-bg-color override now meets a --tooltip-border-color border it did not have.",
|
|
238
|
+
"restore": ":root { --ds-tooltip-bg-color: var(--surface-inverted); --ds-tooltip-text-color: var(--text-inverted); --ds-tooltip-border-color: transparent; }",
|
|
239
|
+
"searchHints": [
|
|
240
|
+
"--ds-tooltip-bg-color",
|
|
241
|
+
"--ds-tooltip-text-color",
|
|
242
|
+
"ds-tooltip-panel",
|
|
243
|
+
"dsTooltip"
|
|
244
|
+
],
|
|
245
|
+
"detect": [
|
|
246
|
+
"--ds-tooltip-bg-color",
|
|
247
|
+
"ds-tooltip-panel",
|
|
248
|
+
"toHaveScreenshot"
|
|
249
|
+
],
|
|
250
|
+
"verify": "An open ds-tooltip on the light theme computes a light background and a visible border, unless the app sets --ds-tooltip-bg-color on purpose."
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"informational": [
|
|
254
|
+
"ds-table's exportCsv() and runExport() log a warning in a development build when the table has no dsTableExport, where they threw NG0203 from the calling click handler.",
|
|
255
|
+
"provideDsConfig and provideDsIntl merge several calls in one providers array in order, the later winning per key, where the last call used to replace the others.",
|
|
256
|
+
"A dsLineSeries with tooltip=\"axis\" opens its category panel under the default cursor=\"auto\", where the category cursor used to stay off unless two or more marks showed a tooltip. A cursor=\"category\" set only to make that panel appear is redundant (delete list: chart-cursor-category-for-axis-tooltip).",
|
|
257
|
+
"--ds-chart-tooltip-bg-color, --ds-chart-tooltip-text-color and --ds-chart-tooltip-border-color set on a chart element or an ancestor reach the tooltip panel, which copies them onto its overlay pane on every open; before, only :root reached it.",
|
|
258
|
+
"--ds-chart-bg-color (default var(--surface-default)) paints the chart frame and every knockout, and --ds-chart-plot-bg-color (default transparent) fills the plot area of ds-chart and ds-scatter-chart.",
|
|
259
|
+
"data on ds-bar-chart, ds-column-chart, ds-funnel-chart, ds-pie-chart and ds-sparkline, and categories and series on ds-line-chart, are optional and default to empty, so an omitted one shows the empty state instead of throwing NG0950.",
|
|
260
|
+
"A ds-breadcrumbs label clipped at 16ch (the current page at 32ch) opens a tooltip with its full text on hover, and on focus of its link; a label that fits opens none.",
|
|
261
|
+
"ds-tooltip and the chart tooltip read three new theme tokens, --tooltip-bg-color, --tooltip-text-color and --tooltip-border-color, so one override on :root recolours both; ds-tooltip gains the --ds-tooltip-border-color hook for its border and caret.",
|
|
262
|
+
"dsTooltipWhenClipped applies the tooltip directive on its own, so the empty dsTooltip written beside it is redundant (delete list: tooltip-empty-beside-when-clipped).",
|
|
263
|
+
"A ds-breadcrumbs link clicked with Ctrl, Cmd, Shift or Alt, or with a non-primary button, opens its href the browser's way and emits no (navigate); a plain primary click is unchanged.",
|
|
264
|
+
"ds-breadcrumbs gains --ds-breadcrumbs-font-size (default var(--font-size-s)), --ds-breadcrumbs-font-weight (var(--font-weight-regular)), --ds-breadcrumbs-current-label-font-weight (var(--font-weight-bold)), --ds-breadcrumbs-gap (var(--space-2)), --ds-breadcrumbs-label-max-width (16ch) and --ds-breadcrumbs-current-label-max-width (32ch); rendering is unchanged until one is set.",
|
|
265
|
+
{
|
|
266
|
+
"text": "A dsTooltip whose preferred side does not fit in the viewport opens on the opposite side, 8px from the edge, with its arrow turned to match.",
|
|
267
|
+
"verify": "Hover a trigger near the top of the viewport whose tooltip is placed on top and confirm the panel opens below it, fully on screen, arrow pointing up at the trigger."
|
|
268
|
+
}
|
|
269
|
+
],
|
|
270
|
+
"deleteList": [
|
|
271
|
+
{
|
|
272
|
+
"id": "chart-cursor-category-for-axis-tooltip",
|
|
273
|
+
"surface": "template",
|
|
274
|
+
"find": [
|
|
275
|
+
"cursor=\"category\""
|
|
276
|
+
],
|
|
277
|
+
"why": "cursor=\"auto\", the default, turns the category cursor on for any mark with tooltip=\"axis\".",
|
|
278
|
+
"replaceWith": "nothing; keep it on a plot whose marks do not use tooltip=\"axis\", where it is what turns the cursor on"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"id": "chart-frame-bg-color-for-surface",
|
|
282
|
+
"surface": "style",
|
|
283
|
+
"find": [
|
|
284
|
+
"--ds-chart-frame-bg-color"
|
|
285
|
+
],
|
|
286
|
+
"why": "--ds-chart-bg-color paints the frame and every knockout together, so a frame override set only to match the surface behind the chart leaves the knockouts on the old colour.",
|
|
287
|
+
"replaceWith": "--ds-chart-bg-color set to that surface; keep --ds-chart-frame-bg-color only to colour the frame apart from the knockouts"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"id": "chart-tooltip-light-override-redundant",
|
|
291
|
+
"surface": "style",
|
|
292
|
+
"find": [
|
|
293
|
+
"--ds-chart-tooltip-bg-color",
|
|
294
|
+
"--ds-chart-tooltip-text-color",
|
|
295
|
+
"--ds-chart-tooltip-border-color"
|
|
296
|
+
],
|
|
297
|
+
"why": "The panel takes --surface-overlay, --text-primary and --border-default by default, so an override setting those light colours restates it.",
|
|
298
|
+
"replaceWith": "nothing; keep an override that sets any other colour"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "tooltip-empty-beside-when-clipped",
|
|
302
|
+
"surface": "template",
|
|
303
|
+
"find": [
|
|
304
|
+
"dsTooltip dsTooltipWhenClipped",
|
|
305
|
+
"dsTooltipWhenClipped"
|
|
306
|
+
],
|
|
307
|
+
"why": "The directive selector includes [dsTooltipWhenClipped], so the attribute alone creates the tooltip.",
|
|
308
|
+
"replaceWith": "nothing; keep a dsTooltip that carries text or a [dsTooltip] binding"
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.14.
|
|
2
|
+
"version": "0.14.5",
|
|
3
3
|
"tokens": [
|
|
4
4
|
"--ds-accordion-body-padding",
|
|
5
5
|
"--ds-accordion-body-text-color",
|
|
@@ -130,8 +130,14 @@
|
|
|
130
130
|
"--ds-bottom-sheet-scrim-color",
|
|
131
131
|
"--ds-bottom-sheet-title-text-color",
|
|
132
132
|
"--ds-breadcrumbs-current-label-color",
|
|
133
|
+
"--ds-breadcrumbs-current-label-font-weight",
|
|
134
|
+
"--ds-breadcrumbs-current-label-max-width",
|
|
135
|
+
"--ds-breadcrumbs-font-size",
|
|
136
|
+
"--ds-breadcrumbs-font-weight",
|
|
137
|
+
"--ds-breadcrumbs-gap",
|
|
133
138
|
"--ds-breadcrumbs-label-color",
|
|
134
139
|
"--ds-breadcrumbs-label-color-hover",
|
|
140
|
+
"--ds-breadcrumbs-label-max-width",
|
|
135
141
|
"--ds-breadcrumbs-separator-icon-color",
|
|
136
142
|
"--ds-button-bg-color",
|
|
137
143
|
"--ds-button-bg-color-active",
|
|
@@ -172,11 +178,14 @@
|
|
|
172
178
|
"--ds-chart-annotation-font-weight",
|
|
173
179
|
"--ds-chart-annotation-halo-color",
|
|
174
180
|
"--ds-chart-annotation-halo-width",
|
|
181
|
+
"--ds-chart-area-color",
|
|
182
|
+
"--ds-chart-area-fade-opacity",
|
|
175
183
|
"--ds-chart-area-opacity",
|
|
176
184
|
"--ds-chart-axis-font-size",
|
|
177
185
|
"--ds-chart-axis-label-color",
|
|
178
186
|
"--ds-chart-axis-line-color",
|
|
179
187
|
"--ds-chart-bar-gap",
|
|
188
|
+
"--ds-chart-bg-color",
|
|
180
189
|
"--ds-chart-cursor-line-color",
|
|
181
190
|
"--ds-chart-dim-opacity",
|
|
182
191
|
"--ds-chart-dot-radius",
|
|
@@ -207,8 +216,8 @@
|
|
|
207
216
|
"--ds-chart-line-width-bold",
|
|
208
217
|
"--ds-chart-mark-cap-radius",
|
|
209
218
|
"--ds-chart-negative-color",
|
|
210
|
-
"--ds-chart-orange-color",
|
|
211
219
|
"--ds-chart-pin-size",
|
|
220
|
+
"--ds-chart-plot-bg-color",
|
|
212
221
|
"--ds-chart-positive-color",
|
|
213
222
|
"--ds-chart-ramp-1-color",
|
|
214
223
|
"--ds-chart-ramp-2-color",
|
|
@@ -768,6 +777,8 @@
|
|
|
768
777
|
"--ds-slider-thumb-size",
|
|
769
778
|
"--ds-slider-track-color",
|
|
770
779
|
"--ds-slider-track-height",
|
|
780
|
+
"--ds-sparkline-area-color",
|
|
781
|
+
"--ds-sparkline-area-opacity",
|
|
771
782
|
"--ds-sparkline-dot-radius",
|
|
772
783
|
"--ds-sparkline-height",
|
|
773
784
|
"--ds-sparkline-line-color",
|
|
@@ -952,6 +963,7 @@
|
|
|
952
963
|
"--ds-toggle-button-selected-border-color",
|
|
953
964
|
"--ds-toggle-button-selected-color",
|
|
954
965
|
"--ds-tooltip-bg-color",
|
|
966
|
+
"--ds-tooltip-border-color",
|
|
955
967
|
"--ds-tooltip-max-width",
|
|
956
968
|
"--ds-tooltip-padding",
|
|
957
969
|
"--ds-tooltip-radius",
|
|
@@ -1350,6 +1362,7 @@
|
|
|
1350
1362
|
"marks",
|
|
1351
1363
|
"measuring",
|
|
1352
1364
|
"pins",
|
|
1365
|
+
"plot-bg",
|
|
1353
1366
|
"stage-table",
|
|
1354
1367
|
"zero-line"
|
|
1355
1368
|
],
|
|
@@ -1921,6 +1934,7 @@
|
|
|
1921
1934
|
"mark-leave",
|
|
1922
1935
|
"pin-reset",
|
|
1923
1936
|
"pins",
|
|
1937
|
+
"plot-bg",
|
|
1924
1938
|
"point",
|
|
1925
1939
|
"scatter-chart",
|
|
1926
1940
|
"stage-table",
|
|
@@ -2048,6 +2062,7 @@
|
|
|
2048
2062
|
"track"
|
|
2049
2063
|
],
|
|
2050
2064
|
"ds-sparkline": [
|
|
2065
|
+
"area",
|
|
2051
2066
|
"dot",
|
|
2052
2067
|
"line",
|
|
2053
2068
|
"sparkline"
|
package/styles/_breakpoints.scss
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// $bp-* compile-time Sass aliases, usable inside @media
|
|
5
|
-
//
|
|
6
|
-
// Why $bp-* exist: a custom property CANNOT be used in a @media condition
|
|
7
|
-
// (`@media (width >= var(--bp-md))` is ignored — the condition is evaluated
|
|
8
|
-
// before custom-property resolution). Sass variables resolve at build time, so
|
|
9
|
-
// they can. Use this partial wherever a media query needs the scale:
|
|
10
|
-
// @use 'breakpoints' as bp; // same dir; relative path elsewhere
|
|
11
|
-
// @include bp.up(md) { … } // width >= 768px
|
|
12
|
-
// @include bp.down(sm) { … } // width < 640px
|
|
13
|
-
// @media (width >= #{bp.$bp-lg}) { } // or read an alias directly
|
|
14
|
-
//
|
|
15
|
-
// Plain @use above is side-effect-free (no CSS emitted) — safe from any
|
|
16
|
-
// component SCSS without duplicating output. The runtime mirror is opt-in via
|
|
17
|
-
// the emit-vars mixin (see bottom of file) — call it from exactly one global
|
|
18
|
-
// stylesheet, not per component.
|
|
1
|
+
// Single source of the breakpoint scale: `$bp-*` Sass aliases (a custom property
|
|
2
|
+
// is ignored inside a @media condition) and the `--bp-*` runtime mirror, emitted
|
|
3
|
+
// only by `emit-vars`. A plain @use emits no CSS.
|
|
19
4
|
|
|
20
5
|
@use 'sass:map';
|
|
21
6
|
|
|
@@ -24,7 +9,7 @@ $breakpoints: (
|
|
|
24
9
|
'sm': 640px,
|
|
25
10
|
'md': 768px,
|
|
26
11
|
'lg': 1024px,
|
|
27
|
-
'xl': 1441px,
|
|
12
|
+
'xl': 1441px,
|
|
28
13
|
'2xl': 1536px,
|
|
29
14
|
);
|
|
30
15
|
$bp-xs: map.get($breakpoints, 'xs');
|
|
@@ -34,22 +19,20 @@ $bp-lg: map.get($breakpoints, 'lg');
|
|
|
34
19
|
$bp-xl: map.get($breakpoints, 'xl');
|
|
35
20
|
$bp-2xl: map.get($breakpoints, '2xl');
|
|
36
21
|
|
|
37
|
-
// width >= breakpoint — mobile-first / min-width semantics.
|
|
38
22
|
@mixin up($name) {
|
|
39
23
|
@media (width >= #{map.get($breakpoints, $name)}) {
|
|
40
24
|
@content;
|
|
41
25
|
}
|
|
42
26
|
}
|
|
43
27
|
|
|
44
|
-
//
|
|
28
|
+
// Exclusive of the breakpoint itself.
|
|
45
29
|
@mixin down($name) {
|
|
46
30
|
@media (width < #{map.get($breakpoints, $name)}) {
|
|
47
31
|
@content;
|
|
48
32
|
}
|
|
49
33
|
}
|
|
50
34
|
|
|
51
|
-
//
|
|
52
|
-
// (styles/ds does this); plain @use stays CSS-free for component styles.
|
|
35
|
+
// Call from exactly one global stylesheet.
|
|
53
36
|
@mixin emit-vars {
|
|
54
37
|
:root {
|
|
55
38
|
@each $name, $value in $breakpoints {
|