@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
package/styles/_page-grid.scss
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// scale with the viewport, content caps at --col-cap-content on the widest
|
|
5
|
-
// tier and stays fluid below. Sub-regions inherit the page grid — never
|
|
6
|
-
// invent a local grid. Sidenav lives OUTSIDE this grid (reserve its rail
|
|
7
|
-
// first, start `.page-grid` in the remaining width).
|
|
8
|
-
//
|
|
9
|
-
// Tier | Range | Cols | Gutter | Margin | Cap
|
|
10
|
-
// ------------ | -------------- | ---- | ------------- | ------------- | ----------------
|
|
11
|
-
// Mobile | < 640px | 4 | --space-3 (12px) | --space-4 (16px) | fluid
|
|
12
|
-
// Tablet | 640-1023px | 8 | --space-4 (16px) | --space-6 (24px) | fluid
|
|
13
|
-
// Desktop | 1024-1440px | 12 | --space-5 (20px) | --space-8 (32px) | fluid
|
|
14
|
-
// Desktop wide | >= 1441px | 12 | --space-6 (24px) | --space-10 (40px) | --col-cap-content (1280px)
|
|
15
|
-
//
|
|
16
|
-
// Snap to columns, not pixels: 8+4 / 6+6 / 9+3 are canonical splits;
|
|
17
|
-
// 7+5 is forbidden. Prose blocks cap at --col-cap-text (720px) regardless
|
|
18
|
-
// of grid width.
|
|
19
|
-
//
|
|
20
|
-
// Mobile tier is the base rule below; the Tablet/Desktop/Desktop-wide tiers
|
|
21
|
-
// (the @include bp.up(...) blocks) nest inside the same selector below.
|
|
1
|
+
// Four-tier responsive layout grid. Sub-regions inherit the page grid, never a local one. The
|
|
2
|
+
// sidenav lives outside it: reserve its rail first, then start `.page-grid` in the remaining width.
|
|
3
|
+
// Tiers: < 640px 4 columns, 640-1023px 8, 1024-1440px 12, >= 1441px 12 capped at `--col-cap-content`.
|
|
22
4
|
|
|
23
5
|
@use 'breakpoints' as bp;
|
|
24
6
|
|
|
@@ -29,13 +11,11 @@
|
|
|
29
11
|
max-width: var(--col-cap-content);
|
|
30
12
|
margin: 0 auto;
|
|
31
13
|
|
|
32
|
-
// Mobile (default, < 640px) — 4 columns
|
|
33
14
|
--page-gutter: var(--page-gutter-mobile);
|
|
34
15
|
--page-margin: var(--page-margin-mobile);
|
|
35
16
|
|
|
36
17
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
37
18
|
|
|
38
|
-
// Tablet (640-1023px) — 8 columns
|
|
39
19
|
@include bp.up(sm) {
|
|
40
20
|
--page-gutter: var(--page-gutter-tablet);
|
|
41
21
|
--page-margin: var(--page-margin-tablet);
|
|
@@ -43,7 +23,6 @@
|
|
|
43
23
|
grid-template-columns: repeat(8, minmax(0, 1fr));
|
|
44
24
|
}
|
|
45
25
|
|
|
46
|
-
// Desktop (1024-1440px) — 12 columns, fluid width
|
|
47
26
|
@include bp.up(lg) {
|
|
48
27
|
--page-gutter: var(--page-gutter-desktop);
|
|
49
28
|
--page-margin: var(--page-margin-desktop);
|
|
@@ -51,17 +30,13 @@
|
|
|
51
30
|
grid-template-columns: repeat(12, minmax(0, 1fr));
|
|
52
31
|
}
|
|
53
32
|
|
|
54
|
-
// Desktop wide (>= 1441px) — 12 columns, container capped at --col-cap-content
|
|
55
33
|
@include bp.up(xl) {
|
|
56
34
|
--page-gutter: var(--page-gutter-wide);
|
|
57
35
|
--page-margin: var(--page-margin-wide);
|
|
58
36
|
}
|
|
59
37
|
}
|
|
60
38
|
|
|
61
|
-
//
|
|
62
|
-
// (8 / 4 cols) a span larger than the active column-count wraps to its own
|
|
63
|
-
// row, which is the intended fallback. Snap to canonical splits (8+4 / 6+6 /
|
|
64
|
-
// 9+3 / 4+4+4) rather than ad-hoc widths.
|
|
39
|
+
// At narrower tiers a span larger than the active column count wraps to its own row.
|
|
65
40
|
.col-span-1 { grid-column: span 1; }
|
|
66
41
|
.col-span-2 { grid-column: span 2; }
|
|
67
42
|
.col-span-3 { grid-column: span 3; }
|
package/styles/_press.scss
CHANGED
|
@@ -1,22 +1,9 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// `filter` + `transform` apply to the rendered element, so any border-radius /
|
|
5
|
-
// clip is followed automatically, and neither conflicts with the box-shadow
|
|
6
|
-
// focus rings (different properties).
|
|
7
|
-
//
|
|
8
|
-
// Usage — @include INSIDE the clickable element's own selector, so `&:active`
|
|
9
|
-
// resolves to that element:
|
|
10
|
-
// @use '../../styles/press' as press; // relative path from the component
|
|
11
|
-
// .check { …; @include press.feedback; }
|
|
12
|
-
//
|
|
13
|
-
// Tunable per component (read-with-fallback, like the --ds-* layer):
|
|
1
|
+
// Press state that follows the control shape, replacing the native tap highlight (dropped in the reset;
|
|
2
|
+
// a rectangle ignoring border-radius). `filter` and `transform` do not conflict with box-shadow focus rings.
|
|
3
|
+
// Include inside the clickable element's own selector so `&:active` resolves to it.
|
|
14
4
|
// --ds-press-brightness (default .9) darken amount on press
|
|
15
|
-
// --ds-press-scale (default .97)
|
|
16
|
-
//
|
|
17
|
-
// Intentionally does NOT declare `transition` — that would clobber the host
|
|
18
|
-
// element's existing transition. Press is immediate (crisp on tap); components
|
|
19
|
-
// wanting an eased release add `filter`/`transform` to their own transition.
|
|
5
|
+
// --ds-press-scale (default .97) press scale
|
|
6
|
+
// Declares no `transition`, which would clobber the host's own; add `filter`/`transform` to yours for an eased release.
|
|
20
7
|
|
|
21
8
|
@mixin feedback {
|
|
22
9
|
&:active:not(:disabled, [disabled], .is-disabled) {
|
package/styles/_reset.scss
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
*, *::before, *::after { box-sizing: border-box; }
|
|
3
3
|
|
|
4
|
-
/* Opt into animating to/from intrinsic sizes (height: auto, max-content).
|
|
5
|
-
Inherited, so components can transition height:0 ↔ auto natively
|
|
6
|
-
(accordion, sidenav group) without max-height magic numbers. */
|
|
7
4
|
:root { interpolate-size: allow-keywords; }
|
|
8
5
|
html, body {
|
|
9
6
|
margin: 0;
|
|
@@ -13,18 +10,8 @@ html, body {
|
|
|
13
10
|
-webkit-font-smoothing: antialiased;
|
|
14
11
|
text-rendering: optimizelegibility;
|
|
15
12
|
|
|
16
|
-
/*
|
|
17
|
-
rectangular overlay on tap whose geometry is browser-controlled (ignores
|
|
18
|
-
border-radius, NOT clipped by overflow), so on pill/rounded controls it
|
|
19
|
-
pokes square corners out past the shape. We can only set its colour, not
|
|
20
|
-
reshape it — so we remove it and let each control's own rounded
|
|
21
|
-
:active/:focus-visible state provide press feedback. Inherited → covers all
|
|
22
|
-
descendants. */
|
|
13
|
+
/* Android Chrome's tap overlay is a rectangle that ignores border-radius; controls provide their own :active feedback. */
|
|
23
14
|
-webkit-tap-highlight-color: transparent;
|
|
24
15
|
}
|
|
25
16
|
button, input, select, textarea { font-family: inherit; }
|
|
26
|
-
|
|
27
|
-
/* Zero the browser's default heading margins (~0.83em) — they otherwise leak
|
|
28
|
-
into consumers and mangle spacing. Headings get their size from .t-* utils;
|
|
29
|
-
spacing is owned by the surrounding layout (gap / margin), not the element. */
|
|
30
17
|
h1, h2, h3, h4, h5, h6 { margin: 0; }
|
package/styles/_scrollbar.scss
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
// Applied globally, not per component: a consumer gets the thumb without opting in.
|
|
2
|
-
|
|
3
1
|
html { scrollbar-width: thin; scrollbar-color: var(--scrollbar-thumb) transparent; }
|
|
4
2
|
*::-webkit-scrollbar { width: var(--scrollbar-w); height: var(--scrollbar-w); }
|
|
5
3
|
*::-webkit-scrollbar-track { background: transparent; }
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
// Reduced-motion opt-out for the skeleton shimmer.
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// has to be global: the media query is a document-level preference, and a component stylesheet
|
|
5
|
-
// cannot express "stop wherever a skeleton appears" without one.
|
|
6
|
-
//
|
|
7
|
-
// Do NOT drive it from one animated custom property on :root instead, however tempting the
|
|
8
|
-
// phase-lock between skeletons is: a REGISTERED custom property is a computed value, so animating
|
|
9
|
-
// one invalidates the style of every element that could inherit it — the whole document, every
|
|
10
|
-
// frame. And the phase-lock buys no viewport anchoring anyway, because `mask-position` measures
|
|
11
|
-
// from the host's own box.
|
|
12
|
-
//
|
|
13
|
-
// `!important`, because the travel is declared as `[_nghost-…]::after`, which outranks
|
|
14
|
-
// `ds-skeleton::after` whatever the order.
|
|
1
|
+
// Reduced-motion opt-out for the skeleton shimmer; the travel is per-element in the skeleton component.
|
|
2
|
+
// Not driven from one animated `:root` custom property: a registered property is a computed value, so animating it invalidates style for the whole document every frame.
|
|
3
|
+
// `!important`: the travel is declared as `[_nghost-...]::after`, which outranks `ds-skeleton::after`.
|
|
15
4
|
@media (prefers-reduced-motion: reduce) {
|
|
16
5
|
ds-skeleton::after {
|
|
17
6
|
animation: none !important;
|
package/styles/_status.scss
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// The DS ships NO statuses — a consumer declares their own vocabulary here and
|
|
5
|
-
// wires each to a colour (a palette token, recommended, or a raw value). The
|
|
6
|
-
// component keys off [data-status]; these rules set the public --ds-badge-* /
|
|
7
|
-
// --ds-status-dot-* tokens the components already read.
|
|
1
|
+
// Status colour wiring for ds-badge / ds-status-dot. The DS ships no statuses: a consumer declares
|
|
2
|
+
// their own and wires each to a colour. The components key off [data-status].
|
|
8
3
|
//
|
|
9
4
|
// @use '@ids-group-ltd/ids-design-system/styles/status' as status;
|
|
10
5
|
// @include status.semantic-preset; // optional universal set
|
|
@@ -13,10 +8,8 @@
|
|
|
13
8
|
// shipped: (bg: #E1EFFF, text: #0A6DB3),
|
|
14
9
|
// ));
|
|
15
10
|
//
|
|
16
|
-
// Map entry
|
|
17
|
-
//
|
|
18
|
-
// optional (ds-status-dot colour; unset → falls back to `text`).
|
|
19
|
-
// =========================================================================
|
|
11
|
+
// Map entry: (bg:, text?:, dot?:). `bg` is the badge fill, `text` the badge label (unset:
|
|
12
|
+
// --text-secondary), `dot` the ds-status-dot colour (unset: `text`).
|
|
20
13
|
|
|
21
14
|
@use 'sass:map';
|
|
22
15
|
|
|
@@ -44,8 +37,7 @@
|
|
|
44
37
|
}
|
|
45
38
|
}
|
|
46
39
|
|
|
47
|
-
// Opt-in:
|
|
48
|
-
// Not emitted unless called — nothing is predefined at the factory.
|
|
40
|
+
// Opt-in: emitted only when called.
|
|
49
41
|
@mixin semantic-preset {
|
|
50
42
|
@include define((
|
|
51
43
|
info: (bg: var(--info-subtitle), text: var(--info-text), dot: var(--info)),
|
|
@@ -1,36 +1,18 @@
|
|
|
1
|
-
//
|
|
2
|
-
// `--ds-<surface>-enter-keyframes` (overlay panels, modal, drawer, bottom-sheet,
|
|
3
|
-
// toast, banner, alert, loading-overlay).
|
|
1
|
+
// Enter-motion presets every DS surface picks from via `--ds-<surface>-enter-keyframes`.
|
|
4
2
|
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
// property untouched, so a scoped default would resolve to a name that no longer
|
|
8
|
-
// exists. Global keyframes are also what lets a consumer point a surface at its
|
|
9
|
-
// own @keyframes — those must likewise be declared in global styles.
|
|
3
|
+
// Global on purpose: emulated encapsulation renames @keyframes declared in a component stylesheet but not
|
|
4
|
+
// a name held in a custom property. A consumer's own @keyframes must be global too.
|
|
10
5
|
//
|
|
11
|
-
//
|
|
12
|
-
// `--_ds-
|
|
13
|
-
//
|
|
14
|
-
// surface, and swapping presets never loses the surface's own geometry.
|
|
15
|
-
//
|
|
16
|
-
// Exit presets mirror the entrances and are swappable the same way, via
|
|
17
|
-
// `--ds-<surface>-leave-keyframes`. Swapping one is only safe because teardown checks
|
|
18
|
-
// that the animationend came from the animated element rather than matching the
|
|
19
|
-
// animation NAME — a name match would break closing entirely on a renamed keyframe.
|
|
20
|
-
//
|
|
21
|
-
// An exit reads `--_ds-exit-*` and falls back to the matching `--_ds-enter-*`, so
|
|
22
|
-
// a surface that leaves the way it arrived declares nothing: one preset replaces
|
|
23
|
-
// the drawer's four direction-specific keyframes.
|
|
6
|
+
// Presets read the private `--_ds-enter-*` hooks, filled from the surface's `--ds-<surface>-enter-offset` / `-scale`.
|
|
7
|
+
// Exit presets (`--ds-<surface>-leave-keyframes`) read `--_ds-exit-*` and fall back to `--_ds-enter-*`; swapping is
|
|
8
|
+
// safe because teardown checks that animationend came from the animated element, not the animation name.
|
|
24
9
|
|
|
25
|
-
/* Opacity only — the calmest entrance. */
|
|
26
10
|
@keyframes ds-fade-in {
|
|
27
11
|
from {
|
|
28
12
|
opacity: 0;
|
|
29
13
|
}
|
|
30
14
|
}
|
|
31
15
|
|
|
32
|
-
/* Grows into place from a micro-scale — reads --_ds-enter-scale, and the
|
|
33
|
-
surface's transform-origin decides what it grows out of. */
|
|
34
16
|
@keyframes ds-scale-in {
|
|
35
17
|
from {
|
|
36
18
|
opacity: 0;
|
|
@@ -38,7 +20,6 @@
|
|
|
38
20
|
}
|
|
39
21
|
}
|
|
40
22
|
|
|
41
|
-
/* Travels a short distance while fading — reads --_ds-enter-x / --_ds-enter-y. */
|
|
42
23
|
@keyframes ds-slide-in {
|
|
43
24
|
from {
|
|
44
25
|
opacity: 0;
|
|
@@ -46,24 +27,19 @@
|
|
|
46
27
|
}
|
|
47
28
|
}
|
|
48
29
|
|
|
49
|
-
/*
|
|
50
|
-
(drawer, bottom-sheet) where a fade would read as a flicker. */
|
|
30
|
+
/* No fade: for panels sliding fully on-screen (drawer, bottom-sheet), where a fade flickers. */
|
|
51
31
|
@keyframes ds-slide-edge-in {
|
|
52
32
|
from {
|
|
53
33
|
transform: translate(var(--_ds-enter-x, 0), var(--_ds-enter-y, 0));
|
|
54
34
|
}
|
|
55
35
|
}
|
|
56
36
|
|
|
57
|
-
/* ── Exits ───────────────────────────────────────────────────────────────── */
|
|
58
|
-
|
|
59
|
-
/* Opacity only — the calmest exit, and what a scrim wants. */
|
|
60
37
|
@keyframes ds-fade-out {
|
|
61
38
|
to {
|
|
62
39
|
opacity: 0;
|
|
63
40
|
}
|
|
64
41
|
}
|
|
65
42
|
|
|
66
|
-
/* Shrinks away as it fades — the mirror of ds-scale-in. */
|
|
67
43
|
@keyframes ds-scale-out {
|
|
68
44
|
to {
|
|
69
45
|
opacity: 0;
|
|
@@ -71,7 +47,6 @@
|
|
|
71
47
|
}
|
|
72
48
|
}
|
|
73
49
|
|
|
74
|
-
/* Travels a short distance while fading — the mirror of ds-slide-in. */
|
|
75
50
|
@keyframes ds-slide-out {
|
|
76
51
|
to {
|
|
77
52
|
opacity: 0;
|
|
@@ -82,8 +57,6 @@
|
|
|
82
57
|
}
|
|
83
58
|
}
|
|
84
59
|
|
|
85
|
-
/* Edge-anchored travel with NO fade, for panels that slide fully off-screen
|
|
86
|
-
(drawer, bottom-sheet) where a fade would read as a flicker. */
|
|
87
60
|
@keyframes ds-slide-edge-out {
|
|
88
61
|
to {
|
|
89
62
|
transform: translate(
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
@use 'focus' as focus;
|
|
2
2
|
|
|
3
|
-
// Controls
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
// live somewhere both stylesheets can include it.
|
|
7
|
-
|
|
8
|
-
// The square icon button in a header cell — expand-all, row actions, the column-panel trigger.
|
|
3
|
+
// Controls shared by ds-table and its opt-in directives. `dsTableColumns` renders from its own
|
|
4
|
+
// components, which lack ds-table's encapsulation attribute, so both stylesheets include these.
|
|
5
|
+
// The square icon button in a header cell: expand-all, row actions, the column-panel trigger.
|
|
9
6
|
// Reads the `--_table-icon-btn-*` resolvers, so include it only inside a ds-table.
|
|
10
7
|
@mixin header-icon-button {
|
|
11
8
|
display: flex;
|
package/styles/_text-clip.scss
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
@mixin single-line-ellipsis {
|
|
2
|
-
/* `clip` with a margin, not `hidden`:
|
|
3
|
-
|
|
4
|
-
eats the glyph. Mulish measures 1.257em, so --line-height-flat (1) and -tight
|
|
5
|
-
(1.1) are both under it and shave EVERY label, not only the ones with
|
|
6
|
-
descenders. `text-overflow` reads any non-`visible` overflow, so the
|
|
7
|
-
ellipsis still applies under `clip`. */
|
|
2
|
+
/* `clip` with a margin, not `hidden`: where the line box is tighter than the glyph box (Mulish is 1.257em;
|
|
3
|
+
--line-height-flat and -tight are below it) `hidden` shaves every label. `text-overflow` applies under `clip` too. */
|
|
8
4
|
overflow: clip;
|
|
9
5
|
overflow-clip-margin: var(--space-1);
|
|
10
6
|
text-overflow: ellipsis;
|
|
@@ -1,31 +1,18 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
// OPT-IN via <html data-theme="dark">; because the dark block declares the
|
|
6
|
-
// complete token set (palette + roles + overrides), the more-specific
|
|
7
|
-
// [data-theme='dark'] selector fully replaces light when present — it is not
|
|
8
|
-
// a delta-patch.
|
|
9
|
-
//
|
|
10
|
-
// There is no automatic prefers-color-scheme switch. To follow the OS, a
|
|
11
|
-
// consumer opts in at the app root: provideDsTheme({ followSystem: true })
|
|
12
|
-
// (exported from the package; see themes/README.md).
|
|
13
|
-
//
|
|
14
|
-
// Order matters: the dark block comes LAST so it wins over the light-context
|
|
15
|
-
// overrides (brand-gray neutrals) at equal specificity.
|
|
16
|
-
// =========================================================================
|
|
1
|
+
// Light applies at bare :root. Dark is opt-in via <html data-theme="dark">; its block declares the complete
|
|
2
|
+
// token set, so it replaces light rather than patching it. No automatic prefers-color-scheme switch:
|
|
3
|
+
// opt in with provideDsTheme({ followSystem: true }). The dark block comes last so it wins over the
|
|
4
|
+
// light-context overrides (brand-gray neutrals) at equal specificity.
|
|
17
5
|
|
|
18
6
|
@use '../themes/light/theme' as light;
|
|
19
7
|
@use '../themes/dark/theme' as dark;
|
|
20
8
|
|
|
21
9
|
:root {
|
|
22
|
-
color-scheme: light; //
|
|
10
|
+
color-scheme: light; // opts out of UA force-dark
|
|
23
11
|
|
|
24
12
|
@include light.theme;
|
|
25
13
|
}
|
|
26
14
|
|
|
27
|
-
//
|
|
28
|
-
// A light-theme feature: dark ships its own neutral ramp and wins below.
|
|
15
|
+
// Opt-in via <html data-neutrals="brand">; light only, dark ships its own neutral ramp.
|
|
29
16
|
:root[data-neutrals='brand'] {
|
|
30
17
|
--neutral-0: var(--brand-gray-0);
|
|
31
18
|
--neutral-50: var(--brand-gray-50);
|
|
@@ -43,7 +30,7 @@
|
|
|
43
30
|
}
|
|
44
31
|
|
|
45
32
|
:root[data-theme='dark'] {
|
|
46
|
-
color-scheme: dark;
|
|
33
|
+
color-scheme: dark;
|
|
47
34
|
|
|
48
35
|
@include dark.theme;
|
|
49
36
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
// insertion order, so
|
|
1
|
+
@use 'visually-hidden' as visually-hidden;
|
|
2
|
+
|
|
3
|
+
// Overlays stack by DOM insertion order, so the toast wrapper (portaled via `panelClass: 'ds-toast-panel'`) is lifted above modals and drawers explicitly.
|
|
4
4
|
.cdk-global-overlay-wrapper:has(> .ds-toast-panel) {
|
|
5
5
|
z-index: var(--layer-toast);
|
|
6
6
|
}
|
|
7
|
+
|
|
8
|
+
// The CDK loads the `.cdk-visually-hidden` rule only with a dialog or focus trap; without it the LiveAnnouncer's first announcement renders visibly.
|
|
9
|
+
.cdk-visually-hidden {
|
|
10
|
+
@include visually-hidden.visually-hidden;
|
|
11
|
+
}
|
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
/* Chart and dataviz tokens.
|
|
2
2
|
|
|
3
|
-
Categorical:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
WCAG 1.4.11 and sits in a narrow perceptual band (L* 56-62)
|
|
9
|
-
so no series shouts over another; an older set ran 45% to
|
|
10
|
-
100% saturation and the first bar drowned the last.
|
|
11
|
-
Slot 8 is the "rest" / "other" bucket: neutral, and darker
|
|
12
|
-
than the band on purpose. Neutral, because every eighth HUE
|
|
13
|
-
that clears the floor lands within dE 4 of one of the seven
|
|
14
|
-
under protanopia or deuteranopia. Darker, because a mid
|
|
15
|
-
grey is not safe either — colour-vision deficiency drains
|
|
16
|
-
the emerald toward grey, and only the lightness gap keeps
|
|
17
|
-
the two apart.
|
|
18
|
-
|
|
19
|
-
Sequential: single-hue ramp (blue) for ordinal data —
|
|
20
|
-
"low → high" magnitudes.
|
|
21
|
-
|
|
22
|
-
Divergent: red ↔ neutral ↔ green for signed data —
|
|
23
|
-
"bad ← zero → good". Used for Excess / Shortage matrix.
|
|
24
|
-
============================================================ */
|
|
3
|
+
Categorical: no hue between 35 and 130 (yellow and lime sit at high luminance; darkening one to clear
|
|
4
|
+
3:1 turns it mustard). Every hue clears 3:1 (WCAG 1.4.11) inside a narrow band (L* 56-62) so no series
|
|
5
|
+
shouts. Slot 8 is the neutral "rest"/"other" bucket, darker than the band because a mid grey is drained
|
|
6
|
+
toward the emerald by colour-vision deficiency.
|
|
7
|
+
Sequential: single-hue ramp for ordinal data. Divergent: red, neutral, green for signed data. */
|
|
25
8
|
|
|
26
9
|
:root {
|
|
27
|
-
/* CATEGORICAL (8) ----------------------------------------- */
|
|
28
10
|
--chart-categorical-1: hsl( 8deg 78% 58%); /* coral */
|
|
29
11
|
--chart-categorical-2: hsl(172deg 82% 36%); /* teal */
|
|
30
12
|
--chart-categorical-3: hsl(222deg 70% 62%); /* blue */
|
|
@@ -34,26 +16,16 @@
|
|
|
34
16
|
--chart-categorical-7: hsl(300deg 62% 60%); /* orchid */
|
|
35
17
|
--chart-categorical-8: hsl(222deg 14% 29%); /* slate */
|
|
36
18
|
|
|
37
|
-
/*
|
|
38
|
-
row the reader is meant to land on. A categorical slot is the wrong tool
|
|
39
|
-
here: those separate series from each other, not rows within one. */
|
|
19
|
+
/* Rows of one series, plus the accent for the row to land on. */
|
|
40
20
|
--chart-series-default: hsl(222deg 16% 42%);
|
|
41
21
|
--chart-series-accent: var(--chart-categorical-2);
|
|
42
22
|
|
|
43
|
-
/* A waterfall's up and down are
|
|
44
|
-
one - so the pair points at the palette's own two lead hues rather than at --success and
|
|
45
|
-
--error. The sign is carried by the label and the accessible name as well, because a hue
|
|
46
|
-
cannot say which direction is the welcome one. */
|
|
23
|
+
/* A waterfall's up and down are not success and failure, so these point at the lead hues, not --success/--error. */
|
|
47
24
|
--chart-positive: var(--chart-categorical-2);
|
|
48
25
|
--chart-negative: var(--chart-categorical-1);
|
|
49
26
|
|
|
50
|
-
/* RAMP
|
|
51
|
-
|
|
52
|
-
than as eight unrelated categories. It stays in the middle of the
|
|
53
|
-
lightness range, 76% to 51%: a funnel's stages are a shape to read at
|
|
54
|
-
a glance, and a stage at either extreme reads as a different object
|
|
55
|
-
rather than as the next step. A scale that needs magnitude read from
|
|
56
|
-
the step between two colours takes --chart-heat-* instead. */
|
|
27
|
+
/* RAMP: one hue, light to deep, for the ordered stages of one quantity, kept mid-lightness (76% to 51%) so no
|
|
28
|
+
stage reads as a different object. Magnitude read from the step between two colours takes --chart-heat-*. */
|
|
57
29
|
--chart-ramp-1: hsl( 8deg 78% 76%);
|
|
58
30
|
--chart-ramp-2: hsl( 8deg 78% 72%);
|
|
59
31
|
--chart-ramp-3: hsl( 8deg 78% 69%);
|
|
@@ -63,12 +35,9 @@
|
|
|
63
35
|
--chart-ramp-7: hsl( 8deg 75% 55%);
|
|
64
36
|
--chart-ramp-8: hsl( 8deg 72% 51%);
|
|
65
37
|
|
|
66
|
-
/* HEAT
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
2026-09-19 in OKLab against the ramp's 2.1–3.9 and 20.7. Contrast on
|
|
70
|
-
white runs 1.14:1 to 9.07:1, so a label over a cell is chosen against
|
|
71
|
-
that cell's own end of the scale, never once for the whole of it. */
|
|
38
|
+
/* HEAT: the same hue across lightness 95% to 31%, for a grid where magnitude is read from the step between
|
|
39
|
+
cells (adjacent OKLab dE 6.9-10.6, measured 2026-09-19). Contrast on white runs 1.14:1 to 9.07:1, so
|
|
40
|
+
choose a label colour per cell, never once for the grid. */
|
|
72
41
|
--chart-heat-1: hsl( 8deg 60% 95%);
|
|
73
42
|
--chart-heat-2: hsl( 8deg 67% 88%);
|
|
74
43
|
--chart-heat-3: hsl( 8deg 73% 80%);
|
|
@@ -78,7 +47,6 @@
|
|
|
78
47
|
--chart-heat-7: hsl( 8deg 74% 41%);
|
|
79
48
|
--chart-heat-8: hsl( 8deg 68% 31%);
|
|
80
49
|
|
|
81
|
-
/* SEQUENTIAL — single-hue, light → dark */
|
|
82
50
|
--chart-sequential-1: var(--blue-100);
|
|
83
51
|
--chart-sequential-2: var(--blue-200);
|
|
84
52
|
--chart-sequential-3: var(--blue-300);
|
|
@@ -86,10 +54,7 @@
|
|
|
86
54
|
--chart-sequential-5: var(--blue-700);
|
|
87
55
|
--chart-sequential-6: var(--blue-900);
|
|
88
56
|
|
|
89
|
-
/* DIVERGENT
|
|
90
|
-
Explicit HSL keeps the ramp
|
|
91
|
-
independent of palette retunes — re-skinning brand/red/green
|
|
92
|
-
should not shift the dataviz colour story. */
|
|
57
|
+
/* DIVERGENT: explicit HSL keeps the ramp independent of palette retunes. */
|
|
93
58
|
--chart-divergent--3: hsl( 8deg 48% 38%); /* large negative (worst) */
|
|
94
59
|
--chart-divergent--2: hsl( 8deg 42% 56%);
|
|
95
60
|
--chart-divergent--1: hsl( 8deg 34% 80%);
|
|
@@ -98,57 +63,41 @@
|
|
|
98
63
|
--chart-divergent-2: hsl(145deg 38% 52%);
|
|
99
64
|
--chart-divergent-3: hsl(145deg 46% 34%); /* large positive (best) */
|
|
100
65
|
|
|
101
|
-
/*
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
66
|
+
/* BACKGROUND: the frame and every knockout between marks. Read where it is used: a token deriving
|
|
67
|
+
from it on :root would ignore one set on a single chart. */
|
|
68
|
+
--chart-bg-color: var(--surface-default);
|
|
69
|
+
|
|
70
|
+
/* FRAME: inside a card, drop it with --ds-chart-frame-border-width: 0 and --ds-chart-frame-padding: 0. */
|
|
106
71
|
--chart-frame-border-color: var(--border-default);
|
|
107
72
|
--chart-frame-border-width: var(--border-width-default);
|
|
108
73
|
--chart-frame-radius: var(--radius-lg);
|
|
109
74
|
--chart-frame-padding: var(--space-5);
|
|
110
|
-
--chart-frame-bg-color: var(--surface-default);
|
|
111
75
|
|
|
112
|
-
/* AXIS / GRID / LEGEND */
|
|
113
76
|
--chart-axis-line-color: var(--neutral-300);
|
|
114
77
|
--chart-axis-label-color: var(--text-tertiary);
|
|
115
78
|
--chart-grid-line-color: var(--neutral-150);
|
|
116
79
|
--chart-axis-font-size: var(--font-size-2xs);
|
|
117
80
|
|
|
118
|
-
/* REFERENCE LINES
|
|
119
|
-
target from reading as one more category, and the band's opacity is low enough that a mark
|
|
120
|
-
drawn over it stays its own colour. */
|
|
81
|
+
/* REFERENCE LINES: an annotation, not a series; the band opacity keeps marks over it their own colour. */
|
|
121
82
|
--chart-threshold-color: var(--neutral-500);
|
|
122
83
|
--chart-threshold-band-opacity: 0.12;
|
|
123
84
|
--chart-threshold-dashed-pattern: 6 4;
|
|
124
85
|
--chart-threshold-dotted-pattern: 1 5;
|
|
125
86
|
|
|
126
|
-
/*
|
|
127
|
-
|
|
128
|
-
/* Every level of dimming costs the separation BETWEEN the dimmed series: measured 2026-09-13,
|
|
129
|
-
OKLab dE x100, the worst pair of three dimmed series falls from 14.8 at full opacity to 5.2 at
|
|
130
|
-
60% and 2.1 at 30%. There is no level that keeps them apart, so this number buys accent
|
|
131
|
-
loudness, not readable context. 30% is Carbon's. */
|
|
87
|
+
/* Dimming costs the separation between dimmed series (OKLab dE x100, worst pair of three: 14.8 at full
|
|
88
|
+
opacity, 2.1 at 30%, measured 2026-09-13): this buys accent loudness, not readable context. */
|
|
132
89
|
--chart-dim-opacity: 0.3;
|
|
133
90
|
--chart-hover-bg-color: hsl(225deg 39% 7% / 4%);
|
|
134
91
|
--chart-cursor-line-color: var(--neutral-400);
|
|
135
92
|
|
|
136
|
-
/*
|
|
137
|
-
same hue family, and a chart's marks are exactly the surfaces a ring has to survive. The ring
|
|
138
|
-
itself is the app's, so a focused mark reads as the same indicator as every other control;
|
|
139
|
-
the white keyline is what separates it from the mark underneath, and it is the keyline rather
|
|
140
|
-
than the ring that does the surviving. */
|
|
93
|
+
/* Two tones: a single ring disappears on a mark of the same hue; the white keyline separates it. */
|
|
141
94
|
--chart-focus-ring-color: var(--focus-ring-color);
|
|
142
|
-
--chart-focus-halo-color: white;
|
|
143
|
-
|
|
144
|
-
--chart-tooltip-bg-color: var(--neutral-900);
|
|
145
|
-
--chart-tooltip-text-color: var(--neutral-0);
|
|
146
|
-
--chart-tooltip-border-color: var(--neutral-700);
|
|
147
95
|
|
|
148
|
-
|
|
96
|
+
--chart-tooltip-bg-color: var(--tooltip-bg-color);
|
|
97
|
+
--chart-tooltip-text-color: var(--tooltip-text-color);
|
|
98
|
+
--chart-tooltip-border-color: var(--tooltip-border-color);
|
|
149
99
|
|
|
150
|
-
/*
|
|
151
|
-
enough that the squash is not readable. */
|
|
100
|
+
/* Not a pill: the cap squashes with the body while a mark grows in; 3px keeps that unreadable. */
|
|
152
101
|
--chart-mark-cap-radius: 3px;
|
|
153
102
|
--chart-bar-gap: 4px;
|
|
154
103
|
--chart-line-width: 2px;
|
|
@@ -156,20 +105,13 @@
|
|
|
156
105
|
--chart-dot-radius: 4px;
|
|
157
106
|
--chart-dot-radius-active: 6px;
|
|
158
107
|
--chart-area-opacity: 0.16;
|
|
108
|
+
--chart-area-fade-opacity: 0.32;
|
|
159
109
|
|
|
160
|
-
/*
|
|
161
|
-
so they read as gaps cut out of the mark rather than a second hue competing with it. */
|
|
162
|
-
--chart-hatch-color: var(--surface-default);
|
|
110
|
+
/* Wide enough to survive a 24px mark; background-coloured so they read as gaps. */
|
|
163
111
|
--chart-hatch-width: 1.5px;
|
|
164
112
|
}
|
|
165
113
|
|
|
166
|
-
/* Public override layer.
|
|
167
|
-
The block above is the palette; this block is the contract. A consumer sets
|
|
168
|
-
--ds-chart-*, never the palette itself, so recolouring one series costs one
|
|
169
|
-
declaration instead of the whole ramp. Series slots are numbered rather than
|
|
170
|
-
named after a hue: --ds-chart-series-3-color stays meaningful after a retune,
|
|
171
|
-
--ds-chart-orange-color would not.
|
|
172
|
-
============================================================ */
|
|
114
|
+
/* Public override layer: consumers set --ds-chart-*, never the palette. */
|
|
173
115
|
|
|
174
116
|
:root {
|
|
175
117
|
--ds-chart-series-1-color: var(--chart-categorical-1);
|
|
@@ -203,11 +145,11 @@
|
|
|
203
145
|
--ds-chart-heat-7-color: var(--chart-heat-7);
|
|
204
146
|
--ds-chart-heat-8-color: var(--chart-heat-8);
|
|
205
147
|
|
|
148
|
+
--ds-chart-bg-color: var(--chart-bg-color);
|
|
206
149
|
--ds-chart-frame-border-color: var(--chart-frame-border-color);
|
|
207
150
|
--ds-chart-frame-border-width: var(--chart-frame-border-width);
|
|
208
151
|
--ds-chart-frame-radius: var(--chart-frame-radius);
|
|
209
152
|
--ds-chart-frame-padding: var(--chart-frame-padding);
|
|
210
|
-
--ds-chart-frame-bg-color: var(--chart-frame-bg-color);
|
|
211
153
|
|
|
212
154
|
--ds-chart-axis-line-color: var(--chart-axis-line-color);
|
|
213
155
|
--ds-chart-axis-label-color: var(--chart-axis-label-color);
|
|
@@ -223,7 +165,6 @@
|
|
|
223
165
|
--ds-chart-hover-bg-color: var(--chart-hover-bg-color);
|
|
224
166
|
--ds-chart-cursor-line-color: var(--chart-cursor-line-color);
|
|
225
167
|
--ds-chart-focus-ring-color: var(--chart-focus-ring-color);
|
|
226
|
-
--ds-chart-focus-halo-color: var(--chart-focus-halo-color);
|
|
227
168
|
--ds-chart-tooltip-bg-color: var(--chart-tooltip-bg-color);
|
|
228
169
|
--ds-chart-tooltip-text-color: var(--chart-tooltip-text-color);
|
|
229
170
|
--ds-chart-tooltip-border-color: var(--chart-tooltip-border-color);
|
|
@@ -235,6 +176,6 @@
|
|
|
235
176
|
--ds-chart-dot-radius: var(--chart-dot-radius);
|
|
236
177
|
--ds-chart-dot-radius-active: var(--chart-dot-radius-active);
|
|
237
178
|
--ds-chart-area-opacity: var(--chart-area-opacity);
|
|
238
|
-
--ds-chart-
|
|
179
|
+
--ds-chart-area-fade-opacity: var(--chart-area-fade-opacity);
|
|
239
180
|
--ds-chart-hatch-width: var(--chart-hatch-width);
|
|
240
181
|
}
|