@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
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
//
|
|
2
|
-
// :root. What is NOT here, because it is per-theme, lives in each theme's
|
|
3
|
-
// _palette.scss mixin: the --neutral-* family slot (which gray ramp is active)
|
|
4
|
-
// and --shadow-tint-l. Components consume only semantic roles; they never
|
|
5
|
-
// reference this file directly.
|
|
1
|
+
// Tier 1 primitives identical in every theme. Each theme's palette mixin supplies the --neutral-* slot and --shadow-tint-l.
|
|
6
2
|
|
|
7
3
|
:root {
|
|
8
|
-
// Hand-drawn slate gray
|
|
9
|
-
//
|
|
10
|
-
// are hex, so a new one has to be placed on those curves by hand.
|
|
4
|
+
// Hand-drawn slate gray: hue drifts 210 to 227 toward the brand hue (229) as it darkens, chroma follows a
|
|
5
|
+
// U-curve (S 40%, 12%, 37%). Stops are hex, so place a new one on the curves by hand.
|
|
11
6
|
--cool-gray-0: #FFF;
|
|
12
7
|
--cool-gray-50: #F8FAFC;
|
|
13
8
|
--cool-gray-100: #F1F4F9;
|
|
@@ -22,9 +17,7 @@
|
|
|
22
17
|
--cool-gray-900: #161A28;
|
|
23
18
|
--cool-gray-950: #0B0E18;
|
|
24
19
|
|
|
25
|
-
// The
|
|
26
|
-
// so re-skinning --primary-h re-tints every gray to match the brand. With the
|
|
27
|
-
// default blue brand the two ramps match to within rounding.
|
|
20
|
+
// The cool-gray curve sourced from --neutral-h, so re-skinning --primary-h re-tints every gray.
|
|
28
21
|
--neutral-h: var(--primary-h, var(--blue-h));
|
|
29
22
|
--brand-gray-0: #FFF;
|
|
30
23
|
--brand-gray-50: hsl(calc(var(--neutral-h) - 19) 40.0% 98.0%);
|
|
@@ -40,8 +33,7 @@
|
|
|
40
33
|
--brand-gray-900: hsl(calc(var(--neutral-h) - 2) 29.0% 12.2%);
|
|
41
34
|
--brand-gray-950: hsl(calc(var(--neutral-h) - 3) 37.1% 6.9%);
|
|
42
35
|
|
|
43
|
-
// Blue
|
|
44
|
-
// #2F54FF ≈ hsl(229, 100%, 59%). _semantic.scss maps --primary onto this ramp.
|
|
36
|
+
// Blue, channel-split so halos and tints compose from the same source.
|
|
45
37
|
--blue-h: 229;
|
|
46
38
|
--blue-s: 100%;
|
|
47
39
|
--blue-l: 59%;
|
|
@@ -57,9 +49,7 @@
|
|
|
57
49
|
--blue-800: hsl(var(--blue-h) 79% 40%);
|
|
58
50
|
--blue-900: hsl(var(--blue-h) 77% 30%);
|
|
59
51
|
|
|
60
|
-
// Orange
|
|
61
|
-
// ≈ #FF7A2E for composing fills and tints; the ramp stops stay hand-picked hex
|
|
62
|
-
// and are NOT derived from them.
|
|
52
|
+
// Orange, the secondary family. The channels reproduce --orange-500 for fills and tints; the ramp stops are hand-picked hex.
|
|
63
53
|
--orange-h: 22; --orange-s: 100%; --orange-l: 59%;
|
|
64
54
|
--orange-50: #FFF7F0;
|
|
65
55
|
--orange-100: #FFEEDF;
|
|
@@ -71,8 +61,7 @@
|
|
|
71
61
|
--orange-700: #B84812;
|
|
72
62
|
--orange-800: #8A340A;
|
|
73
63
|
|
|
74
|
-
// Green
|
|
75
|
-
// composition and ds-color; the ramp stops stay hand-picked hex.
|
|
64
|
+
// Green, success. The channels reproduce --green-500 for focus rings and ds-color; the ramp stops are hand-picked hex.
|
|
76
65
|
--green-h: 132; --green-s: 66%; --green-l: 39%;
|
|
77
66
|
--green-50: #ECFAEE;
|
|
78
67
|
--green-100: #D6F3DB;
|
|
@@ -83,8 +72,7 @@
|
|
|
83
72
|
--green-600: #1B8A2E;
|
|
84
73
|
--green-700: #156822;
|
|
85
74
|
|
|
86
|
-
// Yellow
|
|
87
|
-
// focus-ring composition and ds-color; the ramp stops stay hand-picked hex.
|
|
75
|
+
// Yellow, warning. The channels reproduce --yellow-400 for focus rings and ds-color; the ramp stops are hand-picked hex.
|
|
88
76
|
--yellow-h: 47; --yellow-s: 89%; --yellow-l: 59%;
|
|
89
77
|
--yellow-50: #FFFBEA;
|
|
90
78
|
--yellow-100: #FEF8DC;
|
|
@@ -95,8 +83,7 @@
|
|
|
95
83
|
--yellow-600: #B89B00;
|
|
96
84
|
--yellow-700: #8A7400;
|
|
97
85
|
|
|
98
|
-
// Red
|
|
99
|
-
// _semantic.scss maps --error onto this ramp.
|
|
86
|
+
// Red, channel-split for halo derivation.
|
|
100
87
|
--red-h: 0;
|
|
101
88
|
--red-s: 75%;
|
|
102
89
|
--red-l: 49%;
|
|
@@ -110,9 +97,6 @@
|
|
|
110
97
|
--red-600: hsl(var(--red-h) 78% 41%);
|
|
111
98
|
--red-700: hsl(var(--red-h) 78% 31%);
|
|
112
99
|
|
|
113
|
-
// Sky — the info role. A brighter, cooler blue (#3B82F6) kept distinct from the
|
|
114
|
-
// primary --blue ramp (#2F54FF) so "informational" reads apart from "primary
|
|
115
|
-
// action".
|
|
116
100
|
--sky-50: #EFF6FF;
|
|
117
101
|
--sky-100: #DBEAFE;
|
|
118
102
|
--sky-200: #BFDBFE;
|
|
@@ -122,23 +106,16 @@
|
|
|
122
106
|
--sky-600: #2563EB;
|
|
123
107
|
--sky-700: #1D4ED8;
|
|
124
108
|
|
|
125
|
-
// Violet — the tertiary brand hue, channel-split only. No discrete ramp stops
|
|
126
|
-
// yet; add hand-picked hex if a component ever needs stepped violet swatches.
|
|
127
109
|
--violet-h: 262; --violet-s: 70%; --violet-l: 56%;
|
|
128
110
|
|
|
129
|
-
// Shadow
|
|
130
|
-
// _palette.scss mixin sets it (light 7%, dark 95%).
|
|
111
|
+
// Shadow tint h/s only; lightness is per-theme (light 7%, dark 95%).
|
|
131
112
|
--shadow-tint-h: 225;
|
|
132
113
|
--shadow-tint-s: 39%;
|
|
133
114
|
|
|
134
|
-
// Never flips with the theme
|
|
135
|
-
//
|
|
136
|
-
// for text on a LIGHT fill: that uses the `white` keyword directly, since a
|
|
137
|
-
// token for a constant would be pure indirection.
|
|
115
|
+
// Never flips with the theme: text on a dark fill (the yellow warning fill) stays dark in both.
|
|
116
|
+
// Text on a light fill uses the `white` keyword directly.
|
|
138
117
|
--static-ink: #161A28;
|
|
139
118
|
|
|
140
|
-
// Font families are a theme/brand choice; the size/weight/leading SCALE is
|
|
141
|
-
// theme-independent and lives in ../styles/_tokens.scss.
|
|
142
119
|
--font-sans: "Mulish", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, sans-serif;
|
|
143
120
|
--font-mono: "JetBrains Mono", ui-monospace, sfmono-regular, menlo, monospace;
|
|
144
121
|
--font-display: var(--font-sans);
|
package/themes/_semantic.scss
CHANGED
|
@@ -1,26 +1,15 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
// Exposes @mixin roles: the role map whose structure is identical across
|
|
4
|
-
// themes and which resolves through the per-theme palette (surfaces →
|
|
5
|
-
// --neutral-*, text/icon/border → --neutral-*, brand channels, status, focus,
|
|
6
|
-
// semantic→palette bridge). These are the LIGHT-DEFAULT values — dark theme
|
|
7
|
-
// overrides only the deltas in its own _theme.scss mixin body.
|
|
8
|
-
//
|
|
9
|
-
// This mixin is an authoring-DRY device. At runtime, exactly one theme block
|
|
10
|
-
// matches (`:not([data-theme='dark'])` vs `[data-theme='dark']`), and that
|
|
11
|
-
// block declares the complete token set itself (palette + roles + overrides).
|
|
1
|
+
// Tier 2 semantic role assignments: the light-default values, resolved through the per-theme palette; dark
|
|
2
|
+
// overrides only the deltas. At runtime exactly one theme block matches and declares the complete token set itself.
|
|
12
3
|
|
|
13
4
|
@mixin roles {
|
|
14
|
-
/* Surfaces
|
|
5
|
+
/* Surfaces.
|
|
15
6
|
· canvas : page background
|
|
16
|
-
· default : cards, sheets, toolbars
|
|
7
|
+
· default : cards, sheets, toolbars
|
|
17
8
|
· secondary : hover lanes, table heads, addons, code blocks
|
|
18
9
|
· overlay : modals, drawers, popovers (paired with scrim)
|
|
19
10
|
· tint : brand-tinted (active rows, sidenav active item)
|
|
20
11
|
· inverted : dark-on-light callouts, toasts
|
|
21
|
-
|
|
22
|
-
not by surface tokens. Hover/pressed states use
|
|
23
|
-
--opacity-state-* overlays on top of the underlying surface. */
|
|
12
|
+
Hover/pressed use --opacity-state-* overlays. */
|
|
24
13
|
--surface-canvas: var(--neutral-50);
|
|
25
14
|
--surface-default: var(--neutral-0);
|
|
26
15
|
--surface-secondary: var(--neutral-100);
|
|
@@ -31,21 +20,14 @@
|
|
|
31
20
|
--surface-disabled: var(--neutral-100);
|
|
32
21
|
--surface-muted: var(--neutral-150);
|
|
33
22
|
|
|
34
|
-
/*
|
|
35
|
-
so dark-mode override flips automatically. */
|
|
23
|
+
/* Modal/drawer backdrop; the dark theme flips the tint. */
|
|
36
24
|
--surface-scrim: hsl(var(--shadow-tint-h) var(--shadow-tint-s) var(--shadow-tint-l) / 55%);
|
|
37
25
|
|
|
38
|
-
/*
|
|
39
|
-
sits ON the brand fill, so a transparent white hairline reads correctly
|
|
40
|
-
across any brand hue. Override per theme if the brand is too light. */
|
|
26
|
+
/* Divider on a coloured fill (split-button chevron); a translucent white reads on any brand hue. */
|
|
41
27
|
--btn-split-divider: hsl(0deg 0% 100% / 25%);
|
|
42
28
|
|
|
43
|
-
/* Visited link — derives from --primary-muted by default so it sympathetically
|
|
44
|
-
shifts with the brand hue. Override (e.g. for financial dashboards that
|
|
45
|
-
want neutral-grey visited links) by setting this token directly. */
|
|
46
29
|
--link-visited: hsl(var(--primary-h) calc(var(--primary-s) * 0.6) 45%);
|
|
47
30
|
|
|
48
|
-
/* Borders */
|
|
49
31
|
--border-default: var(--neutral-200);
|
|
50
32
|
--border-strong: var(--neutral-300);
|
|
51
33
|
--border-subtitle: var(--neutral-150);
|
|
@@ -53,7 +35,6 @@
|
|
|
53
35
|
--border-inverted: var(--neutral-700);
|
|
54
36
|
--border-disabled: var(--neutral-150);
|
|
55
37
|
|
|
56
|
-
/* Text */
|
|
57
38
|
--text-primary: var(--neutral-900);
|
|
58
39
|
--text-secondary: var(--neutral-700);
|
|
59
40
|
--text-tertiary: var(--neutral-500);
|
|
@@ -61,31 +42,23 @@
|
|
|
61
42
|
--text-disabled: var(--neutral-400);
|
|
62
43
|
--text-inverted: var(--neutral-0);
|
|
63
44
|
|
|
64
|
-
/* Text overlaid on arbitrary imagery (camera feeds, photos) — pairs a
|
|
65
|
-
guaranteed-light colour with a contrast shadow. */
|
|
66
45
|
--text-on-media: white;
|
|
67
46
|
--text-on-media-shadow: 0 1px 3px hsl(0deg 0% 0% / 70%);
|
|
68
47
|
--text-link: var(--blue-700);
|
|
69
48
|
--text-on-primary: white;
|
|
70
49
|
--text-on-success: white;
|
|
71
50
|
|
|
72
|
-
/*
|
|
73
|
-
~1.5:1 (fails WCAG). On-warning text is the darkest neutral (~10:1). */
|
|
51
|
+
/* White on the yellow warning fill (--yellow-400) is ~1.5:1 and fails WCAG; the darkest neutral is ~10:1. */
|
|
74
52
|
--text-on-warning: var(--static-ink);
|
|
75
53
|
--text-on-error: white;
|
|
76
54
|
|
|
77
|
-
/* Icons */
|
|
78
55
|
--icon-default: var(--neutral-500);
|
|
79
56
|
--icon-strong: var(--neutral-700);
|
|
80
57
|
--icon-muted: var(--neutral-400);
|
|
81
58
|
--icon-on-primary: white;
|
|
82
59
|
|
|
83
|
-
/*
|
|
84
|
-
(
|
|
85
|
-
is the one place that maps semantic roles onto a concrete palette. A brand
|
|
86
|
-
re-skins by overriding either the palette (--blue-*, --red-*) or these
|
|
87
|
-
role tokens directly.
|
|
88
|
-
Channel mappings let hsla() halos/tints compose from the same hue source. */
|
|
60
|
+
/* The one place semantic roles map onto the concrete palette. A brand re-skins by overriding the palette
|
|
61
|
+
(--blue-*, --red-*) or these roles. */
|
|
89
62
|
--primary-h: var(--blue-h);
|
|
90
63
|
--primary-s: var(--blue-s);
|
|
91
64
|
--primary-l: var(--blue-l);
|
|
@@ -99,12 +72,8 @@
|
|
|
99
72
|
--warning-s: var(--yellow-s);
|
|
100
73
|
--warning-l: var(--yellow-l);
|
|
101
74
|
|
|
102
|
-
/*
|
|
103
|
-
|
|
104
|
-
color-mix() so a brand swap (overriding only --primary) propagates to every
|
|
105
|
-
interaction state automatically. A brand that wants a non-derived hover
|
|
106
|
-
hue can still override these tokens directly.
|
|
107
|
-
Step sizes (12% / 24% darker) mirror the blue 600→700→800 ramp. */
|
|
75
|
+
/* Hover, pressed and selected-hover derive from --primary via color-mix(), so overriding only --primary
|
|
76
|
+
propagates to every state. Steps (12% / 24% darker) mirror the blue 600, 700, 800 ramp. */
|
|
108
77
|
--primary: var(--blue-600);
|
|
109
78
|
--primary-hover: color-mix(in srgb, var(--primary) 88%, black);
|
|
110
79
|
--primary-pressed: color-mix(in srgb, var(--primary) 76%, black);
|
|
@@ -115,11 +84,7 @@
|
|
|
115
84
|
--primary-strong: var(--blue-700);
|
|
116
85
|
--primary-on: white;
|
|
117
86
|
|
|
118
|
-
/*
|
|
119
|
-
kept distinct from --primary so the brand slots read apart. Override
|
|
120
|
-
--secondary-h/s/l per-brand to reskin it —
|
|
121
|
-
--secondary recomposes automatically. Hover/pressed derive from --secondary
|
|
122
|
-
so any hue change propagates. */
|
|
87
|
+
/* Override --secondary-h/s/l to reskin; --secondary, hover and pressed recompose. */
|
|
123
88
|
--secondary-h: var(--orange-h);
|
|
124
89
|
--secondary-s: var(--orange-s);
|
|
125
90
|
--secondary-l: var(--orange-l);
|
|
@@ -133,13 +98,7 @@
|
|
|
133
98
|
--secondary-muted-strong: hsl(var(--secondary-h) 95% 89%);
|
|
134
99
|
--secondary-on: var(--primary-on);
|
|
135
100
|
|
|
136
|
-
/*
|
|
137
|
-
tonal accents (decorative chips, hierarchy tones, indicators). Mirrors
|
|
138
|
-
the --primary / --secondary token-family shape: HSL channels for halo
|
|
139
|
-
composition, hover/pressed via color-mix, subtle/muted ramps for tonal
|
|
140
|
-
surfaces. Maps onto the palette --violet family (Tier-1), distinct from
|
|
141
|
-
--primary / --secondary. Brands override --tertiary-h/s/l (or --tertiary
|
|
142
|
-
directly for non-HSL values) to reskin it. */
|
|
101
|
+
/* Third brand hue (tertiary button, tonal accents). Override --tertiary-h/s/l (or --tertiary for non-HSL values) to reskin. */
|
|
143
102
|
--tertiary-h: var(--violet-h);
|
|
144
103
|
--tertiary-s: var(--violet-s);
|
|
145
104
|
--tertiary-l: var(--violet-l);
|
|
@@ -153,11 +112,8 @@
|
|
|
153
112
|
--tertiary-muted-strong: hsl(var(--tertiary-h) 95% 89%);
|
|
154
113
|
--tertiary-on: var(--primary-on);
|
|
155
114
|
|
|
156
|
-
/*
|
|
157
|
-
|
|
158
|
-
rule as --primary-hover. Override per role if a brand needs a non-derived
|
|
159
|
-
hue. -text / -border / -subtle / -muted stay as ramp picks because their
|
|
160
|
-
contrast targets are tuned, not procedural. */
|
|
115
|
+
/* -hover and -pressed derive from the base role like --primary-hover. -text, -border, -subtitle
|
|
116
|
+
and -muted are ramp picks: their contrast targets are tuned, not procedural. */
|
|
161
117
|
--success: var(--green-500);
|
|
162
118
|
--success-hover: color-mix(in srgb, var(--success) 88%, black);
|
|
163
119
|
--success-subtitle: var(--green-50);
|
|
@@ -184,11 +140,9 @@
|
|
|
184
140
|
--error-border: var(--red-200);
|
|
185
141
|
--error-text: var(--red-600);
|
|
186
142
|
|
|
187
|
-
/* -pressed (success/warning) and -on
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
what -text already is, and --accent-strong asks for -text by name. The brand families
|
|
191
|
-
are the ones that carry it as -strong, because they have no -text. */
|
|
143
|
+
/* -pressed (success/warning) and -on: roles the --accent-* pointers need from every ds-color
|
|
144
|
+
family. There is no --<status>-strong: for status families -text is the readable on-tint
|
|
145
|
+
colour and --accent-strong asks for it by name; brand families carry it as -strong. */
|
|
192
146
|
--success-pressed: color-mix(in srgb, var(--success) 76%, black);
|
|
193
147
|
--warning-pressed: color-mix(in srgb, var(--warning) 76%, black);
|
|
194
148
|
--error-on: var(--text-on-error);
|
|
@@ -202,30 +156,17 @@
|
|
|
202
156
|
--info-border: var(--sky-200);
|
|
203
157
|
--info-text: var(--sky-700);
|
|
204
158
|
|
|
205
|
-
/*
|
|
206
|
-
|
|
207
|
-
so re-skinning --primary-h propagates into focus state. */
|
|
208
|
-
|
|
209
|
-
/* Separates the two bands of the FIELD halo, and nothing else — controls draw an
|
|
210
|
-
`outline`, whose gap needs no colour at all. It cannot be `transparent`: a transparent
|
|
211
|
-
shadow layer is a no-op, not a hole, so the outer band would show through as one solid
|
|
212
|
-
4px slab. `--surface-default` and not `--surface-canvas`: a field sits on the surface,
|
|
213
|
-
and painting the page ground here drew a dark rim around a light card. */
|
|
159
|
+
/* Separates the two bands of the field halo. Not `transparent`: a transparent shadow layer is a no-op, so
|
|
160
|
+
the outer band shows as one solid slab. `--surface-default`, not `--surface-canvas`, which draws a dark rim. */
|
|
214
161
|
--focus-ring-inner: var(--surface-default);
|
|
215
162
|
--focus-ring-outer-h: var(--primary-h);
|
|
216
163
|
--focus-ring-outer-s: var(--primary-s);
|
|
217
164
|
--focus-ring-outer-l: var(--primary-l);
|
|
218
165
|
--focus-ring-outer-alpha: 1;
|
|
219
166
|
|
|
220
|
-
/*
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
`--accent`, not the ring's own primary channels: outside a zone it IS `--primary`, and
|
|
225
|
-
inside `[ds-color="error"]` it becomes that family, which is the same adaptivity the
|
|
226
|
-
zone already gives the shadow ring through `--accent-focus-ring`. Composing it from
|
|
227
|
-
`--focus-ring-outer-*` would have pinned the outline to the brand hue in a zone whose
|
|
228
|
-
every other accent had moved. */
|
|
167
|
+
/* Flat focus colour for components drawing an `outline` (a row in a clipping list, a swatch grid); it must
|
|
168
|
+
stay defined or `outline-color` falls to `currentColor`. `--accent`, not `--focus-ring-outer-*`, so a
|
|
169
|
+
`ds-color` zone follows the family. */
|
|
229
170
|
--focus-ring-color: var(--accent);
|
|
230
171
|
|
|
231
172
|
--focus-ring:
|
|
@@ -238,11 +179,8 @@
|
|
|
238
179
|
0 0 0 2px var(--focus-ring-inner),
|
|
239
180
|
0 0 0 4px hsl(var(--error-h) var(--error-s) var(--error-l) / 100%);
|
|
240
181
|
|
|
241
|
-
/*
|
|
242
|
-
|
|
243
|
-
ancestor eats it and leaves the element focusable with no indicator at all —
|
|
244
|
-
and clipping is the normal way to hold a full-bleed child inside a rounded
|
|
245
|
-
card. Reached through `[data-focus="inset"]`, not by re-declaring the role. */
|
|
182
|
+
/* The ring drawn inside the border box for a subtree under a clipping ancestor, where an outset shadow is
|
|
183
|
+
eaten by `overflow: hidden`. Reached through `[data-focus="inset"]`. */
|
|
246
184
|
--focus-ring-inset:
|
|
247
185
|
inset 0 0 0 2px var(--focus-ring-inner),
|
|
248
186
|
inset 0 0 0 4px hsl(var(--focus-ring-outer-h) var(--focus-ring-outer-s) var(--focus-ring-outer-l) / var(--focus-ring-outer-alpha));
|
|
@@ -250,18 +188,13 @@
|
|
|
250
188
|
inset 0 0 0 2px var(--focus-ring-inner),
|
|
251
189
|
inset 0 0 0 4px hsl(var(--error-h) var(--error-s) var(--error-l) / 100%);
|
|
252
190
|
|
|
253
|
-
/* Field focus
|
|
254
|
-
brand HSL so it tracks rebrand. Alpha is a token so dark themes
|
|
255
|
-
can boost it for legibility. */
|
|
191
|
+
/* Field focus: coloured halo only. The alpha is a token so dark themes can boost it. */
|
|
256
192
|
--focus-field-alpha: .22;
|
|
257
193
|
--focus-field:
|
|
258
194
|
0 0 0 3px hsl(var(--primary-h) var(--primary-s) var(--primary-l) / var(--focus-field-alpha));
|
|
259
195
|
--focus-field-error:
|
|
260
196
|
0 0 0 3px hsl(var(--error-h) var(--error-s) var(--error-l) / var(--focus-field-alpha));
|
|
261
197
|
|
|
262
|
-
/* Per-family focus rings/fields — pre-composed once from each family's
|
|
263
|
-
channels so ds-color flips a single --accent-focus-* pointer (no :root
|
|
264
|
-
composite re-declaration in the scope). --focus-ring-error exists above. */
|
|
265
198
|
--focus-ring-secondary:
|
|
266
199
|
0 0 0 2px var(--focus-ring-inner),
|
|
267
200
|
0 0 0 4px hsl(var(--secondary-h) var(--secondary-s) var(--secondary-l) / 100%);
|
|
@@ -283,10 +216,8 @@
|
|
|
283
216
|
--focus-field-warning:
|
|
284
217
|
0 0 0 3px hsl(var(--warning-h) var(--warning-s) var(--warning-l) / var(--focus-field-alpha));
|
|
285
218
|
|
|
286
|
-
/*
|
|
287
|
-
|
|
288
|
-
pixel-identical. Components read these for their accent instead of
|
|
289
|
-
--primary* / --focus-* / --surface-tint. */
|
|
219
|
+
/* The indirection ds-color flips, defaulting to the primary family. Components read these for
|
|
220
|
+
their accent instead of --primary* / --focus-* / --surface-tint. */
|
|
290
221
|
--accent: var(--primary);
|
|
291
222
|
--accent-hover: var(--primary-hover);
|
|
292
223
|
--accent-pressed: var(--primary-pressed);
|
|
@@ -1,38 +1,24 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
1
|
+
// Dark-specific primitives only: hand-tuned dark neutrals (not a linear inverse: --neutral-0 is an elevated
|
|
2
|
+
// card surface, lighter than the --neutral-50 canvas) and --shadow-tint-l.
|
|
3
3
|
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
// note --neutral-0 is an ELEVATED card surface, LIGHTER than the
|
|
7
|
-
// --neutral-50 canvas — the opposite of light, where 0 (#FFF) is the
|
|
8
|
-
// brightest stop). Brand/status ramps are left to the role layer.
|
|
9
|
-
// · --shadow-tint-l: 95% (flipped so same alphas read as soft glows)
|
|
10
|
-
//
|
|
11
|
-
// Theme-independent ramps (--cool-gray-*, --brand-gray-*, --blue-*, etc.)
|
|
12
|
-
// and HSL channels live in themes/_base-palette.scss and emit at :root.
|
|
13
|
-
//
|
|
14
|
-
// KNOWN LIMITATION — data-neutrals="brand" + dark: this ramp overrides
|
|
15
|
-
// --neutral-* directly, so when both `[data-neutrals='brand']` and
|
|
16
|
-
// `[data-theme='dark']` are set (equal specificity) dark wins by source order —
|
|
17
|
-
// the brand-gray hue-tint is dropped and these fixed dark neutrals apply. Benign
|
|
18
|
-
// (renders correctly dark, just not brand-hue-tinted).
|
|
19
|
-
// =========================================================================
|
|
4
|
+
// With `[data-neutrals='brand']` and `[data-theme='dark']` both set, dark wins by source order at
|
|
5
|
+
// equal specificity: the brand-gray tint is dropped and the fixed dark neutrals apply.
|
|
20
6
|
|
|
21
7
|
@mixin palette {
|
|
22
|
-
--neutral-0: #171B24;
|
|
23
|
-
--neutral-50: #0F131A;
|
|
24
|
-
--neutral-100: #1E2330;
|
|
25
|
-
--neutral-150: #242A38;
|
|
26
|
-
--neutral-200: #2A3040;
|
|
27
|
-
--neutral-300: #3A4252;
|
|
28
|
-
--neutral-400: #6B7388;
|
|
29
|
-
--neutral-500: #8A93A6;
|
|
8
|
+
--neutral-0: #171B24;
|
|
9
|
+
--neutral-50: #0F131A;
|
|
10
|
+
--neutral-100: #1E2330;
|
|
11
|
+
--neutral-150: #242A38;
|
|
12
|
+
--neutral-200: #2A3040;
|
|
13
|
+
--neutral-300: #3A4252;
|
|
14
|
+
--neutral-400: #6B7388;
|
|
15
|
+
--neutral-500: #8A93A6;
|
|
30
16
|
--neutral-600: #9BA3B4;
|
|
31
|
-
--neutral-700: #B7BFD0;
|
|
17
|
+
--neutral-700: #B7BFD0;
|
|
32
18
|
--neutral-800: #CDD3E0;
|
|
33
|
-
--neutral-900: #E7EAF2;
|
|
19
|
+
--neutral-900: #E7EAF2;
|
|
34
20
|
--neutral-950: #F4F6FA;
|
|
35
21
|
|
|
36
|
-
//
|
|
22
|
+
// Flipped light so the same alphas read as soft glows.
|
|
37
23
|
--shadow-tint-l: 95%;
|
|
38
24
|
}
|
package/themes/dark/_theme.scss
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
// Dark theme
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// Most roles follow the inverted --neutral-* ramp on their own, because custom props resolve at
|
|
5
|
-
// use-time. Overridden here are ONLY the roles that cannot follow the flip: tint/subtle surfaces,
|
|
6
|
-
// on-tint text, hover/pressed direction, scrim (must stay dark), focus halo alpha, and charts.
|
|
7
|
-
// On-dark-fill text points at --static-ink; on-light-fill uses literal white.
|
|
1
|
+
// Dark theme role overrides. Most roles follow the inverted --neutral-* ramp because custom
|
|
2
|
+
// properties resolve at use time; only roles that cannot follow the flip are overridden: tint
|
|
3
|
+
// surfaces, on-tint text, hover/pressed direction, scrim, focus halo alpha, and charts.
|
|
8
4
|
|
|
9
5
|
@use 'palette';
|
|
10
6
|
@use '../semantic';
|
|
@@ -13,9 +9,7 @@
|
|
|
13
9
|
@include palette.palette;
|
|
14
10
|
@include semantic.roles;
|
|
15
11
|
|
|
16
|
-
//
|
|
17
|
-
// derives them as color-mix toward black (darkens) — wrong direction here.
|
|
18
|
-
// Mirror the light recipe's 88% / 76% steps, mixed toward white instead.
|
|
12
|
+
// Hover/pressed must lighten on dark: the light recipe's 88% / 76% steps, mixed toward white.
|
|
19
13
|
--primary-hover: color-mix(in srgb, var(--primary) 88%, white);
|
|
20
14
|
--primary-pressed: color-mix(in srgb, var(--primary) 76%, white);
|
|
21
15
|
--primary-selected-hover: color-mix(in srgb, var(--primary) 88%, white);
|
|
@@ -31,7 +25,6 @@
|
|
|
31
25
|
--warning-pressed: color-mix(in srgb, var(--warning) 76%, white);
|
|
32
26
|
--info-hover: color-mix(in srgb, var(--info) 88%, white);
|
|
33
27
|
|
|
34
|
-
// Brand tint surfaces + on-tint text (channel-derived → track rebrand).
|
|
35
28
|
--surface-tint: hsl(var(--primary-h) 45% 16%);
|
|
36
29
|
--primary-subtitle: hsl(var(--primary-h) 45% 18%);
|
|
37
30
|
--primary-muted: hsl(var(--primary-h) 40% 26%);
|
|
@@ -75,28 +68,21 @@
|
|
|
75
68
|
--info-border: hsl(217deg 38% 32%);
|
|
76
69
|
--info-text: hsl(217deg 90% 74%);
|
|
77
70
|
|
|
78
|
-
//
|
|
71
|
+
// Must not follow --shadow-tint-l (95%) or the scrim turns light.
|
|
79
72
|
--surface-scrim: hsl(225deg 39% 4% / 70%);
|
|
80
73
|
|
|
81
|
-
// Field focus halo — boost alpha for legibility on dark.
|
|
82
74
|
--focus-field-alpha: .35;
|
|
83
75
|
|
|
84
|
-
//
|
|
85
|
-
|
|
86
|
-
--
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
// The two neutrals of the chart palette. Both are pushed dark on light so a lightness gap keeps
|
|
92
|
-
// them off the emerald; on a dark canvas that gap points the wrong way and they read as holes in
|
|
93
|
-
// the chart, so both flip. Slot 8 lands at dE 12 from the orchid under protanopia rather than the
|
|
94
|
-
// dE 15 the rest of the set holds — the orchid desaturates almost to grey there, and 7 and 8 are
|
|
95
|
-
// the "rest" / "other" buckets where such a collision is placed on purpose.
|
|
76
|
+
// Axis, grid, label and cursor already flip via --neutral-* / --text-*; only light-tuned values move.
|
|
77
|
+
--chart-hover-bg-color: hsl(0deg 0% 100% / 6%);
|
|
78
|
+
--tooltip-border-color: var(--border-strong);
|
|
79
|
+
|
|
80
|
+
// The two chart neutrals are dark on light to keep a lightness gap from the emerald; on a dark canvas that
|
|
81
|
+
// gap points the wrong way and they read as holes, so both flip. Slot 8 sits at dE 12 from the orchid under
|
|
82
|
+
// protanopia (the rest hold dE 15), and slot 8 is the "other" bucket.
|
|
96
83
|
--chart-categorical-8: hsl(222deg 14% 60%);
|
|
97
84
|
--chart-series-default: hsl(222deg 14% 64%);
|
|
98
85
|
|
|
99
|
-
// Ramp — flip so first → last reads deep → bright on a dark canvas.
|
|
100
86
|
--chart-ramp-1: hsl( 8deg 52% 32%);
|
|
101
87
|
--chart-ramp-2: hsl( 8deg 56% 37%);
|
|
102
88
|
--chart-ramp-3: hsl( 8deg 61% 42%);
|
|
@@ -106,10 +92,7 @@
|
|
|
106
92
|
--chart-ramp-7: hsl( 8deg 79% 64%);
|
|
107
93
|
--chart-ramp-8: hsl( 8deg 84% 70%);
|
|
108
94
|
|
|
109
|
-
// Heat
|
|
110
|
-
// steps in either theme: adjacent dE 5.9–10.1, first to last 54.5, measured 2026-09-19 in OKLab.
|
|
111
|
-
// The lightness curve is mirrored from the light scale rather than designed on its own — worth a
|
|
112
|
-
// designer's eye before it is treated as settled.
|
|
95
|
+
// Heat: flipped so a heat map keeps the same readable steps in either theme (adjacent OKLab dE 5.9-10.1, measured 2026-09-19).
|
|
113
96
|
--chart-heat-1: hsl( 8deg 68% 20%);
|
|
114
97
|
--chart-heat-2: hsl( 8deg 74% 29%);
|
|
115
98
|
--chart-heat-3: hsl( 8deg 78% 38%);
|
|
@@ -119,7 +102,6 @@
|
|
|
119
102
|
--chart-heat-7: hsl( 8deg 67% 74%);
|
|
120
103
|
--chart-heat-8: hsl( 8deg 60% 84%);
|
|
121
104
|
|
|
122
|
-
// Sequential — flip so low → high reads dark → bright on a dark canvas.
|
|
123
105
|
--chart-sequential-1: var(--blue-800);
|
|
124
106
|
--chart-sequential-2: var(--blue-700);
|
|
125
107
|
--chart-sequential-3: var(--blue-600);
|
|
@@ -127,7 +109,7 @@
|
|
|
127
109
|
--chart-sequential-5: var(--blue-400);
|
|
128
110
|
--chart-sequential-6: var(--blue-300);
|
|
129
111
|
|
|
130
|
-
// Divergent
|
|
112
|
+
// Divergent: |value| maps to brightness, zero is dark neutral.
|
|
131
113
|
--chart-divergent--3: hsl(0deg 70% 62%);
|
|
132
114
|
--chart-divergent--2: hsl(0deg 55% 46%);
|
|
133
115
|
--chart-divergent--1: hsl(0deg 45% 32%);
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
// =========================================================================
|
|
2
|
-
// Light palette — Tier 1b per-theme primitives.
|
|
3
|
-
//
|
|
4
|
-
// Exposes @mixin palette with ONLY the light-specific primitives:
|
|
5
|
-
// · --neutral-* slot pointed at the cool-gray ramp
|
|
6
|
-
// · --shadow-tint-l: 7% (light shadow substrate lightness)
|
|
7
|
-
//
|
|
8
|
-
// Theme-independent ramps (--cool-gray-*, --brand-gray-*, --blue-*, etc.)
|
|
9
|
-
// and HSL channels live in themes/_base-palette.scss and emit at :root.
|
|
10
|
-
// =========================================================================
|
|
11
|
-
|
|
12
1
|
@mixin palette {
|
|
13
|
-
/*
|
|
14
|
-
|
|
15
|
-
repoints it at the brand-derived brand-gray ramp,
|
|
16
|
-
where --primary-h re-tints every gray. Roles below consume --neutral-*
|
|
17
|
-
so the family switch never touches them. */
|
|
2
|
+
/* Points at the cool-gray ramp; <html data-neutrals="brand"> repoints it at brand-gray, where
|
|
3
|
+
--primary-h re-tints every gray. Roles consume --neutral-*, so the switch never touches them. */
|
|
18
4
|
--neutral-0: var(--cool-gray-0);
|
|
19
5
|
--neutral-50: var(--cool-gray-50);
|
|
20
6
|
--neutral-100: var(--cool-gray-100);
|
|
@@ -29,6 +15,5 @@
|
|
|
29
15
|
--neutral-900: var(--cool-gray-900);
|
|
30
16
|
--neutral-950: var(--cool-gray-950);
|
|
31
17
|
|
|
32
|
-
// Shadow substrate lightness for light theme.
|
|
33
18
|
--shadow-tint-l: 7%;
|
|
34
19
|
}
|
package/themes/light/_theme.scss
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Light theme — Tier 2 role assignments (light).
|
|
3
|
-
//
|
|
4
|
-
// Composes the light-specific palette (neutral slot + shadow-l) with the
|
|
5
|
-
// shared role structure. Light needs no extra role overrides — _semantic.scss
|
|
6
|
-
// already holds the light-default values.
|
|
7
|
-
// =========================================================================
|
|
1
|
+
// Light needs no role overrides: the shared roles already hold the light-default values.
|
|
8
2
|
|
|
9
3
|
@use 'palette';
|
|
10
4
|
@use '../semantic';
|
|
@@ -9,18 +9,16 @@ type AccordionChevron = 'right' | 'down';
|
|
|
9
9
|
interface AccordionContract {
|
|
10
10
|
readonly multiple: () => boolean;
|
|
11
11
|
readonly chevron: () => AccordionChevron;
|
|
12
|
-
/** Called when an item opens; coordinator may close other items. */
|
|
13
12
|
notifyOpen(item: AccordionItemRef): void;
|
|
14
13
|
}
|
|
15
14
|
/** Contract ds-accordion reads back from each projected item. */
|
|
16
15
|
interface AccordionItemRef {
|
|
17
|
-
/** Closes this item (sets expanded to false). */
|
|
18
16
|
closeItem(): void;
|
|
19
17
|
}
|
|
20
18
|
declare const ACCORDION: InjectionToken<AccordionContract>;
|
|
21
19
|
|
|
22
20
|
declare class AccordionComponent implements AccordionContract {
|
|
23
|
-
/** When false, opening one item
|
|
21
|
+
/** When false, opening one item closes the others. */
|
|
24
22
|
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
23
|
/** Which way the closed chevron points on every item: `right` turns down when an item opens, `down` turns up. */
|
|
26
24
|
readonly chevron: _angular_core.InputSignal<AccordionChevron>;
|
|
@@ -35,7 +33,7 @@ declare class AccordionItemComponent implements AccordionItemRef {
|
|
|
35
33
|
readonly title: _angular_core.InputSignal<string>;
|
|
36
34
|
/** Open state, two-way bound. */
|
|
37
35
|
readonly expanded: _angular_core.ModelSignal<boolean>;
|
|
38
|
-
/** Disables the toggle
|
|
36
|
+
/** Disables the toggle; `expanded` is left as-is. */
|
|
39
37
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
40
38
|
protected readonly uid: string;
|
|
41
39
|
protected readonly headId: string;
|
|
@@ -43,11 +41,9 @@ declare class AccordionItemComponent implements AccordionItemRef {
|
|
|
43
41
|
private readonly accordion;
|
|
44
42
|
protected readonly chevronDown: _angular_core.Signal<boolean>;
|
|
45
43
|
protected readonly chevronName: _angular_core.Signal<IconName>;
|
|
46
|
-
/** Tracks last expanded state so we only notify on a true open transition. */
|
|
47
44
|
private previousExpanded;
|
|
48
45
|
constructor();
|
|
49
46
|
protected toggle(): void;
|
|
50
|
-
/** Called by the accordion coordinator to enforce single-open mode. */
|
|
51
47
|
closeItem(): void;
|
|
52
48
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
53
49
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemComponent, "ds-accordion-item", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[badge]", "*"], true, never>;
|
|
@@ -6,7 +6,7 @@ type AlertVariant = 'info' | 'success' | 'warning' | 'error' | 'neutral';
|
|
|
6
6
|
|
|
7
7
|
declare class AlertComponent {
|
|
8
8
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
9
|
-
/** Severity
|
|
9
|
+
/** Severity: drives colour, the default icon and the ARIA role/live. */
|
|
10
10
|
readonly variant: _angular_core.InputSignal<AlertVariant>;
|
|
11
11
|
/** Optional bold heading above the message. */
|
|
12
12
|
readonly title: _angular_core.InputSignal<string>;
|
|
@@ -17,8 +17,7 @@ declare class AlertComponent {
|
|
|
17
17
|
/** Fires when the user dismisses the alert. */
|
|
18
18
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
19
19
|
/** Announce this alert to a screen reader when it appears. Unset follows
|
|
20
|
-
* `DS_CONFIG.alert.announce`, then `false
|
|
21
|
-
* and prefer `ToastService` for anything transient. */
|
|
20
|
+
* `DS_CONFIG.alert.announce`, then `false`. */
|
|
22
21
|
readonly announce: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
23
22
|
readonly announceResolved: _angular_core.Signal<boolean>;
|
|
24
23
|
private readonly liveRole;
|