@ids-group-ltd/ids-design-system 0.13.3 → 0.14.0
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 +1104 -14
- package/components.md +567 -34
- package/design-system.md +9 -0
- package/docs/agent/INDEX.md +57 -15
- package/docs/agent/charts/chart-colour-which-palette-a-chart-takes.md +1 -1
- package/docs/agent/charts/column-series-component.md +8 -0
- package/docs/agent/charts/ds-bar-chart.md +6 -1
- package/docs/agent/charts/ds-chart-data-table.md +10 -0
- package/docs/agent/charts/ds-chart.md +10 -0
- package/docs/agent/charts/ds-column-chart.md +5 -1
- package/docs/agent/charts/ds-funnel-chart.md +5 -1
- package/docs/agent/charts/ds-heatmap-chart.md +20 -0
- package/docs/agent/charts/ds-line-chart.md +8 -4
- package/docs/agent/charts/{ds-donut-chart.md → ds-pie-chart.md} +10 -6
- package/docs/agent/charts/ds-scatter-chart.md +20 -0
- package/docs/agent/charts/ds-waterfall-chart.md +20 -0
- package/docs/agent/charts/line-series-component.md +8 -0
- package/docs/agent/charts/reference-label-component.md +8 -0
- package/docs/agent/charts/reference-line-component.md +8 -0
- package/docs/agent/charts/series-annotation-component.md +10 -0
- package/docs/agent/feedback/ds-alert.md +4 -0
- package/docs/agent/feedback/ds-avatar-group.md +4 -0
- package/docs/agent/feedback/ds-avatar.md +4 -0
- package/docs/agent/feedback/ds-badge.md +4 -0
- package/docs/agent/feedback/ds-banner.md +5 -1
- package/docs/agent/feedback/ds-bar.md +4 -0
- package/docs/agent/feedback/ds-description-item.md +8 -0
- package/docs/agent/feedback/ds-description-list.md +8 -0
- package/docs/agent/feedback/ds-empty-state.md +4 -0
- package/docs/agent/feedback/ds-list-item.md +8 -0
- package/docs/agent/feedback/ds-list.md +8 -0
- package/docs/agent/feedback/ds-loading-overlay.md +8 -0
- package/docs/agent/feedback/ds-skeleton.md +4 -0
- package/docs/agent/feedback/ds-spinner.md +4 -0
- package/docs/agent/feedback/ds-stat.md +4 -0
- package/docs/agent/feedback/ds-status-dot.md +4 -0
- package/docs/agent/feedback/ds-tag.md +4 -0
- package/docs/agent/feedback/ds-timeline-item.md +8 -0
- package/docs/agent/feedback/ds-toast-region.md +8 -0
- package/docs/agent/feedback/ds-toast.md +4 -0
- package/docs/agent/feedback/ds-tree.md +8 -0
- package/docs/agent/forms/ds-autocomplete.md +4 -0
- package/docs/agent/forms/ds-button-group.md +8 -0
- package/docs/agent/forms/ds-button.md +6 -2
- package/docs/agent/forms/ds-checkbox.md +4 -0
- package/docs/agent/forms/ds-color-picker.md +8 -0
- package/docs/agent/forms/ds-date-picker.md +5 -1
- package/docs/agent/forms/ds-dropzone.md +4 -0
- package/docs/agent/forms/ds-field-group.md +8 -0
- package/docs/agent/forms/ds-filter-bar.md +8 -0
- package/docs/agent/forms/ds-icon-button.md +4 -0
- package/docs/agent/forms/ds-input.md +13 -1
- package/docs/agent/forms/ds-multi-select.md +4 -0
- package/docs/agent/forms/ds-number-stepper.md +4 -0
- package/docs/agent/forms/ds-otp-input.md +8 -0
- package/docs/agent/forms/ds-password-rules.md +8 -0
- package/docs/agent/forms/ds-radio-group.md +8 -0
- package/docs/agent/forms/ds-radio.md +4 -0
- package/docs/agent/forms/ds-search.md +5 -1
- package/docs/agent/forms/ds-segmented.md +8 -0
- package/docs/agent/forms/ds-select.md +4 -0
- package/docs/agent/forms/ds-slider.md +8 -0
- package/docs/agent/forms/ds-split-button.md +8 -0
- package/docs/agent/forms/ds-switch.md +7 -1
- package/docs/agent/forms/ds-textarea.md +6 -1
- package/docs/agent/forms/ds-time-picker.md +8 -0
- package/docs/agent/forms/ds-toggle-button.md +8 -0
- package/docs/agent/forms/filter-item-directive.md +8 -0
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +4 -0
- package/docs/agent/navigation/ds-app-layout.md +6 -2
- package/docs/agent/navigation/ds-auth-layout.md +5 -1
- package/docs/agent/navigation/ds-breadcrumbs.md +4 -0
- package/docs/agent/navigation/ds-container.md +8 -0
- package/docs/agent/navigation/ds-divider.md +4 -0
- package/docs/agent/navigation/ds-inline.md +8 -0
- package/docs/agent/navigation/ds-page-footer.md +4 -0
- package/docs/agent/navigation/ds-page-header.md +5 -1
- package/docs/agent/navigation/ds-pagination.md +5 -1
- package/docs/agent/navigation/ds-sidenav-footer.md +8 -0
- package/docs/agent/navigation/ds-sidenav-group.md +4 -0
- package/docs/agent/navigation/ds-sidenav-item.md +4 -0
- package/docs/agent/navigation/ds-sidenav.md +4 -0
- package/docs/agent/navigation/ds-stack.md +8 -0
- package/docs/agent/navigation/ds-stepper.md +4 -0
- package/docs/agent/navigation/ds-tab.md +8 -0
- package/docs/agent/navigation/ds-tabs.md +5 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +4 -0
- package/docs/agent/overlays/ds-drawer.md +4 -0
- package/docs/agent/overlays/ds-menu.md +4 -0
- package/docs/agent/overlays/ds-modal-card.md +4 -0
- package/docs/agent/overlays/ds-modal.md +4 -0
- package/docs/agent/overlays/ds-popover.md +4 -0
- package/docs/agent/overlays/ds-tooltip-panel.md +8 -0
- package/docs/agent/overlays/ds-tooltip.md +4 -0
- package/docs/agent/platform/ds-config.md +2 -1
- package/docs/agent/surfaces/ds-accordion-item.md +8 -0
- package/docs/agent/surfaces/ds-accordion.md +4 -0
- package/docs/agent/surfaces/ds-card.md +6 -2
- package/docs/agent/tables/ds-cell-template.md +8 -0
- package/docs/agent/tables/ds-table-columns.md +8 -0
- package/docs/agent/tables/ds-table-export.md +8 -0
- package/docs/agent/tables/ds-table.md +12 -4
- package/docs/agent/tables/header-filter-directive.md +8 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- 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 +10 -8
- 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 +19 -19
- 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 +2 -2
- 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 +7 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- 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 +9 -6
- 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 +140 -43
- 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 +2 -2
- 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 +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- 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 +42 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- 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 +39 -14
- 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 +727 -93
- 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 +2 -2
- 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 -6
- 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 +29 -12
- 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 +5 -3
- 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 +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +23 -16
- 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 +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
- 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 +25 -24
- 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 +217 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- 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 +2 -2
- 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 +183 -501
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +44 -8
- 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 +7 -5
- 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 +2 -2
- 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 +2 -2
- 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-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 +22 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +382 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -3
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +322 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +6 -2
- 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 +9 -4
- 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 +7 -5
- 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 +2 -2
- 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 +2 -2
- 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 +23 -4
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +20 -5
- 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 +6 -6
- 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 +4 -1
- 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.mjs +36 -28
- 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 +2 -2
- 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 +2 -2
- 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 -2
- 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 +5 -3
- 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 +2 -2
- 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 +34 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +252 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +361 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +2 -3
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +2 -2
- package/migrations/0.10.1.json +3 -3
- package/migrations/0.10.2.json +8 -28
- package/migrations/0.11.0.json +3 -3
- package/migrations/0.11.1.json +15 -15
- package/migrations/0.11.2.json +9 -9
- package/migrations/0.11.3.json +1 -1
- package/migrations/0.11.4.json +8 -8
- package/migrations/0.12.1.json +1 -1
- package/migrations/0.12.2.json +5 -2
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +24 -32
- package/migrations/0.13.1.json +5 -5
- package/migrations/0.13.3.json +32 -10
- package/migrations/0.13.4.json +2492 -0
- package/migrations/0.14.0.json +591 -0
- package/migrations/0.5.0.json +11 -5
- package/migrations/0.7.0.json +5 -2
- package/migrations/0.8.0.json +4 -3
- package/migrations/0.9.0.json +6 -3
- package/migrations/README.md +7 -2
- package/package.json +41 -9
- package/styles/_chart-frame.scss +19 -6
- package/styles/_chart-motion.scss +17 -10
- package/styles/_check-box.scss +12 -12
- package/styles/_dropdown-overlay.scss +14 -10
- package/styles/_field-box.scss +3 -3
- package/styles/_field-label.scss +7 -7
- package/styles/_overlay-motion.scss +15 -7
- package/styles/_skeleton-shimmer.scss +4 -1
- package/styles/_table-controls.scss +3 -3
- package/styles/_tokens-charts.scss +40 -7
- package/styles/_tokens.scss +3 -3
- package/styles/_typography.scss +101 -101
- package/themes/dark/_theme.scss +13 -0
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +5 -4
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +40 -9
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +8 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +34 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +15 -3
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +345 -60
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -2
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -7
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +8 -7
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +124 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +88 -139
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +18 -1
- package/types/{ids-group-ltd-ids-design-system-components-donut-chart.d.ts → ids-group-ltd-ids-design-system-components-pie-chart.d.ts} +25 -23
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +189 -0
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +10 -1
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +44 -33
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +13 -0
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +116 -0
- package/types/ids-group-ltd-ids-design-system-components.d.ts +142 -6
- package/types/ids-group-ltd-ids-design-system-core.d.ts +42 -10
- package/types/ids-group-ltd-ids-design-system.d.ts +14 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +0 -382
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +0 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
screens are built on. NO HUE BETWEEN 35 and 130: yellow and
|
|
5
5
|
lime sit at high luminance by nature, so dragging one down
|
|
6
6
|
to clear 3:1 on white turns it to mustard — an earlier set
|
|
7
|
-
tried, and the
|
|
7
|
+
tried, and the pie read as mud. Every hue clears 3:1 for
|
|
8
8
|
WCAG 1.4.11 and sits in a narrow perceptual band (L* 56-62)
|
|
9
9
|
so no series shouts over another; an older set ran 45% to
|
|
10
10
|
100% saturation and the first bar drowned the last.
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--chart-categorical-3: hsl(222deg 70% 62%); /* blue */
|
|
31
31
|
--chart-categorical-4: hsl(266deg 62% 66%); /* violet */
|
|
32
32
|
--chart-categorical-5: hsl(330deg 70% 62%); /* pink */
|
|
33
|
-
--chart-categorical-6: hsl(
|
|
33
|
+
--chart-categorical-6: hsl(148deg 58% 41%); /* emerald */
|
|
34
34
|
--chart-categorical-7: hsl(300deg 62% 60%); /* orchid */
|
|
35
35
|
--chart-categorical-8: hsl(222deg 14% 29%); /* slate */
|
|
36
36
|
|
|
@@ -40,13 +40,20 @@
|
|
|
40
40
|
--chart-series-default: hsl(222deg 16% 42%);
|
|
41
41
|
--chart-series-accent: var(--chart-categorical-2);
|
|
42
42
|
|
|
43
|
+
/* A waterfall's up and down are NOT success and failure - a cost rising is a rise and a bad
|
|
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. */
|
|
47
|
+
--chart-positive: var(--chart-categorical-2);
|
|
48
|
+
--chart-negative: var(--chart-categorical-1);
|
|
49
|
+
|
|
43
50
|
/* RAMP — one hue, light → deep, for the ordered stages of a single
|
|
44
51
|
quantity. Shares the lead hue so a funnel reads as one object rather
|
|
45
|
-
than as eight unrelated categories.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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. */
|
|
50
57
|
--chart-ramp-1: hsl( 8deg 78% 76%);
|
|
51
58
|
--chart-ramp-2: hsl( 8deg 78% 72%);
|
|
52
59
|
--chart-ramp-3: hsl( 8deg 78% 69%);
|
|
@@ -56,6 +63,21 @@
|
|
|
56
63
|
--chart-ramp-7: hsl( 8deg 75% 55%);
|
|
57
64
|
--chart-ramp-8: hsl( 8deg 72% 51%);
|
|
58
65
|
|
|
66
|
+
/* HEAT — the same hue across the FULL lightness range, 95% to 31%, for a
|
|
67
|
+
grid where magnitude is read from the step between two cells and
|
|
68
|
+
nothing else: adjacent dE 6.9–10.6, first to last 55.0, measured
|
|
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. */
|
|
72
|
+
--chart-heat-1: hsl( 8deg 60% 95%);
|
|
73
|
+
--chart-heat-2: hsl( 8deg 67% 88%);
|
|
74
|
+
--chart-heat-3: hsl( 8deg 73% 80%);
|
|
75
|
+
--chart-heat-4: hsl( 8deg 76% 71%);
|
|
76
|
+
--chart-heat-5: hsl( 8deg 78% 61%);
|
|
77
|
+
--chart-heat-6: hsl( 8deg 78% 51%);
|
|
78
|
+
--chart-heat-7: hsl( 8deg 74% 41%);
|
|
79
|
+
--chart-heat-8: hsl( 8deg 68% 31%);
|
|
80
|
+
|
|
59
81
|
/* SEQUENTIAL — single-hue, light → dark */
|
|
60
82
|
--chart-sequential-1: var(--blue-100);
|
|
61
83
|
--chart-sequential-2: var(--blue-200);
|
|
@@ -158,6 +180,8 @@
|
|
|
158
180
|
--ds-chart-series-6-color: var(--chart-categorical-6);
|
|
159
181
|
--ds-chart-series-7-color: var(--chart-categorical-7);
|
|
160
182
|
--ds-chart-series-8-color: var(--chart-categorical-8);
|
|
183
|
+
--ds-chart-positive-color: var(--chart-positive);
|
|
184
|
+
--ds-chart-negative-color: var(--chart-negative);
|
|
161
185
|
--ds-chart-series-default-color: var(--chart-series-default);
|
|
162
186
|
--ds-chart-series-accent-color: var(--chart-series-accent);
|
|
163
187
|
|
|
@@ -170,6 +194,15 @@
|
|
|
170
194
|
--ds-chart-ramp-7-color: var(--chart-ramp-7);
|
|
171
195
|
--ds-chart-ramp-8-color: var(--chart-ramp-8);
|
|
172
196
|
|
|
197
|
+
--ds-chart-heat-1-color: var(--chart-heat-1);
|
|
198
|
+
--ds-chart-heat-2-color: var(--chart-heat-2);
|
|
199
|
+
--ds-chart-heat-3-color: var(--chart-heat-3);
|
|
200
|
+
--ds-chart-heat-4-color: var(--chart-heat-4);
|
|
201
|
+
--ds-chart-heat-5-color: var(--chart-heat-5);
|
|
202
|
+
--ds-chart-heat-6-color: var(--chart-heat-6);
|
|
203
|
+
--ds-chart-heat-7-color: var(--chart-heat-7);
|
|
204
|
+
--ds-chart-heat-8-color: var(--chart-heat-8);
|
|
205
|
+
|
|
173
206
|
--ds-chart-frame-border-color: var(--chart-frame-border-color);
|
|
174
207
|
--ds-chart-frame-border-width: var(--chart-frame-border-width);
|
|
175
208
|
--ds-chart-frame-radius: var(--chart-frame-radius);
|
package/styles/_tokens.scss
CHANGED
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
|
|
255
255
|
/* Components default their own --ds-*-pad to this, so a consumer retunes every
|
|
256
256
|
surface container (card, stat, …) at once. */
|
|
257
|
-
--ds-
|
|
257
|
+
--ds-surface-padding: var(--space-6);
|
|
258
258
|
|
|
259
259
|
/* Two focus families: fields get the soft halo, interactive controls and nav
|
|
260
260
|
the crisp ring. Components default their own --ds-*-focus-shadow to these,
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
|
|
291
291
|
--slider-track-h: 4px;
|
|
292
292
|
--slider-thumb-size: 18px;
|
|
293
|
-
--slider-thumb-
|
|
293
|
+
--slider-thumb-border-width: var(--border-width-strong);
|
|
294
294
|
|
|
295
295
|
--status-dot-size: 8px;
|
|
296
296
|
--badge-dot-size: 6px;
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
|
|
550
550
|
/* One rung only — a card's frame reads as padding lost long before its cells
|
|
551
551
|
do, so 24 → 16 while the cells inside it go 16 → 8. */
|
|
552
|
-
--ds-
|
|
552
|
+
--ds-surface-padding: var(--space-4);
|
|
553
553
|
}
|
|
554
554
|
[data-density="compact"] {
|
|
555
555
|
--hit-cozy: 32px;
|
package/styles/_typography.scss
CHANGED
|
@@ -2,176 +2,176 @@
|
|
|
2
2
|
// published surface.
|
|
3
3
|
//
|
|
4
4
|
// Consumer-first token contract (same as components): every token-driven
|
|
5
|
-
// property is a longhand read through a public `--ds-
|
|
5
|
+
// property is a longhand read through a public `--ds-typography-<name>-*` custom
|
|
6
6
|
// property that FALLS BACK to the current semantic token, so a consumer can
|
|
7
7
|
// retune a single axis in a scope — e.g.
|
|
8
|
-
// `[data-brand] .t-h3 { --ds-
|
|
8
|
+
// `[data-brand] .t-h3 { --ds-typography-h3-font-weight: var(--font-weight-bold) }` —
|
|
9
9
|
// without re-declaring the rest or forking the class. Structural box props
|
|
10
10
|
// (padding / margin / border-width / max-width / overflow) stay raw.
|
|
11
11
|
|
|
12
12
|
.t-display {
|
|
13
|
-
font-weight: var(--ds-
|
|
14
|
-
font-size: var(--ds-
|
|
15
|
-
line-height: var(--ds-
|
|
16
|
-
font-family: var(--ds-
|
|
17
|
-
letter-spacing: var(--ds-
|
|
13
|
+
font-weight: var(--ds-typography-display-font-weight, var(--font-weight-extrabold));
|
|
14
|
+
font-size: var(--ds-typography-display-font-size, var(--font-size-display));
|
|
15
|
+
line-height: var(--ds-typography-display-line-height, var(--line-height-tight));
|
|
16
|
+
font-family: var(--ds-typography-display-font-family, var(--font-display));
|
|
17
|
+
letter-spacing: var(--ds-typography-display-letter-spacing, var(--letter-spacing-tight));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.t-h1 {
|
|
21
|
-
font-weight: var(--ds-
|
|
22
|
-
font-size: var(--ds-
|
|
23
|
-
line-height: var(--ds-
|
|
24
|
-
font-family: var(--ds-
|
|
25
|
-
letter-spacing: var(--ds-
|
|
21
|
+
font-weight: var(--ds-typography-h1-font-weight, var(--font-weight-extrabold));
|
|
22
|
+
font-size: var(--ds-typography-h1-font-size, var(--font-size-h1));
|
|
23
|
+
line-height: var(--ds-typography-h1-line-height, var(--line-height-tight));
|
|
24
|
+
font-family: var(--ds-typography-h1-font-family, var(--font-heading));
|
|
25
|
+
letter-spacing: var(--ds-typography-h1-letter-spacing, var(--letter-spacing-tight));
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.t-h2 {
|
|
29
|
-
font-weight: var(--ds-
|
|
30
|
-
font-size: var(--ds-
|
|
31
|
-
line-height: var(--ds-
|
|
32
|
-
font-family: var(--ds-
|
|
33
|
-
letter-spacing: var(--ds-
|
|
29
|
+
font-weight: var(--ds-typography-h2-font-weight, var(--font-weight-extrabold));
|
|
30
|
+
font-size: var(--ds-typography-h2-font-size, var(--font-size-h2));
|
|
31
|
+
line-height: var(--ds-typography-h2-line-height, var(--line-height-snug));
|
|
32
|
+
font-family: var(--ds-typography-h2-font-family, var(--font-heading));
|
|
33
|
+
letter-spacing: var(--ds-typography-h2-letter-spacing, var(--letter-spacing-snug));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.t-h3 {
|
|
37
|
-
font-weight: var(--ds-
|
|
38
|
-
font-size: var(--ds-
|
|
39
|
-
line-height: var(--ds-
|
|
40
|
-
font-family: var(--ds-
|
|
41
|
-
letter-spacing: var(--ds-
|
|
37
|
+
font-weight: var(--ds-typography-h3-font-weight, var(--font-weight-extrabold));
|
|
38
|
+
font-size: var(--ds-typography-h3-font-size, var(--font-size-h3));
|
|
39
|
+
line-height: var(--ds-typography-h3-line-height, var(--line-height-snug));
|
|
40
|
+
font-family: var(--ds-typography-h3-font-family, var(--font-heading));
|
|
41
|
+
letter-spacing: var(--ds-typography-h3-letter-spacing, var(--letter-spacing-snug));
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.t-h4 {
|
|
45
|
-
font-weight: var(--ds-
|
|
46
|
-
font-size: var(--ds-
|
|
47
|
-
line-height: var(--ds-
|
|
48
|
-
font-family: var(--ds-
|
|
45
|
+
font-weight: var(--ds-typography-h4-font-weight, var(--font-weight-bold));
|
|
46
|
+
font-size: var(--ds-typography-h4-font-size, var(--font-size-h4));
|
|
47
|
+
line-height: var(--ds-typography-h4-line-height, var(--line-height-snug));
|
|
48
|
+
font-family: var(--ds-typography-h4-font-family, var(--font-heading));
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
.t-h5 {
|
|
52
|
-
font-weight: var(--ds-
|
|
53
|
-
font-size: var(--ds-
|
|
54
|
-
line-height: var(--ds-
|
|
55
|
-
font-family: var(--ds-
|
|
52
|
+
font-weight: var(--ds-typography-h5-font-weight, var(--font-weight-bold));
|
|
53
|
+
font-size: var(--ds-typography-h5-font-size, var(--font-size-h5));
|
|
54
|
+
line-height: var(--ds-typography-h5-line-height, var(--line-height-snug));
|
|
55
|
+
font-family: var(--ds-typography-h5-font-family, var(--font-heading));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.t-card-title {
|
|
59
|
-
font-weight: var(--ds-
|
|
60
|
-
font-size: var(--ds-
|
|
61
|
-
line-height: var(--ds-
|
|
62
|
-
font-family: var(--ds-
|
|
59
|
+
font-weight: var(--ds-typography-card-title-font-weight, var(--font-weight-bold));
|
|
60
|
+
font-size: var(--ds-typography-card-title-font-size, var(--card-title-fs));
|
|
61
|
+
line-height: var(--ds-typography-card-title-line-height, var(--line-height-snug));
|
|
62
|
+
font-family: var(--ds-typography-card-title-font-family, var(--font-heading));
|
|
63
63
|
margin: 0;
|
|
64
|
-
color: var(--ds-
|
|
64
|
+
color: var(--ds-typography-card-title-color, var(--text-primary));
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.t-l {
|
|
68
|
-
font-weight: var(--ds-
|
|
69
|
-
font-size: var(--ds-
|
|
70
|
-
line-height: var(--ds-
|
|
71
|
-
font-family: var(--ds-
|
|
68
|
+
font-weight: var(--ds-typography-l-font-weight, var(--font-weight-regular));
|
|
69
|
+
font-size: var(--ds-typography-l-font-size, var(--font-size-l));
|
|
70
|
+
line-height: var(--ds-typography-l-line-height, var(--line-height-base));
|
|
71
|
+
font-family: var(--ds-typography-l-font-family, var(--font-sans));
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.t-l-bold {
|
|
75
|
-
font-weight: var(--ds-
|
|
76
|
-
font-size: var(--ds-
|
|
77
|
-
line-height: var(--ds-
|
|
78
|
-
font-family: var(--ds-
|
|
75
|
+
font-weight: var(--ds-typography-l-bold-font-weight, var(--font-weight-bold));
|
|
76
|
+
font-size: var(--ds-typography-l-bold-font-size, var(--font-size-l));
|
|
77
|
+
line-height: var(--ds-typography-l-bold-line-height, var(--line-height-base));
|
|
78
|
+
font-family: var(--ds-typography-l-bold-font-family, var(--font-sans));
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.t-m {
|
|
82
|
-
font-weight: var(--ds-
|
|
83
|
-
font-size: var(--ds-
|
|
84
|
-
line-height: var(--ds-
|
|
85
|
-
font-family: var(--ds-
|
|
82
|
+
font-weight: var(--ds-typography-m-font-weight, var(--font-weight-regular));
|
|
83
|
+
font-size: var(--ds-typography-m-font-size, var(--font-size-m));
|
|
84
|
+
line-height: var(--ds-typography-m-line-height, var(--line-height-base));
|
|
85
|
+
font-family: var(--ds-typography-m-font-family, var(--font-sans));
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.t-m-bold {
|
|
89
|
-
font-weight: var(--ds-
|
|
90
|
-
font-size: var(--ds-
|
|
91
|
-
line-height: var(--ds-
|
|
92
|
-
font-family: var(--ds-
|
|
89
|
+
font-weight: var(--ds-typography-m-bold-font-weight, var(--font-weight-bold));
|
|
90
|
+
font-size: var(--ds-typography-m-bold-font-size, var(--font-size-m));
|
|
91
|
+
line-height: var(--ds-typography-m-bold-line-height, var(--line-height-base));
|
|
92
|
+
font-family: var(--ds-typography-m-bold-font-family, var(--font-sans));
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
.t-s {
|
|
96
|
-
font-weight: var(--ds-
|
|
97
|
-
font-size: var(--ds-
|
|
98
|
-
line-height: var(--ds-
|
|
99
|
-
font-family: var(--ds-
|
|
96
|
+
font-weight: var(--ds-typography-s-font-weight, var(--font-weight-regular));
|
|
97
|
+
font-size: var(--ds-typography-s-font-size, var(--font-size-s));
|
|
98
|
+
line-height: var(--ds-typography-s-line-height, var(--line-height-base));
|
|
99
|
+
font-family: var(--ds-typography-s-font-family, var(--font-sans));
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.t-s-bold {
|
|
103
|
-
font-weight: var(--ds-
|
|
104
|
-
font-size: var(--ds-
|
|
105
|
-
line-height: var(--ds-
|
|
106
|
-
font-family: var(--ds-
|
|
103
|
+
font-weight: var(--ds-typography-s-bold-font-weight, var(--font-weight-bold));
|
|
104
|
+
font-size: var(--ds-typography-s-bold-font-size, var(--font-size-s));
|
|
105
|
+
line-height: var(--ds-typography-s-bold-line-height, var(--line-height-base));
|
|
106
|
+
font-family: var(--ds-typography-s-bold-font-family, var(--font-sans));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.t-xs {
|
|
110
|
-
font-weight: var(--ds-
|
|
111
|
-
font-size: var(--ds-
|
|
112
|
-
line-height: var(--ds-
|
|
113
|
-
font-family: var(--ds-
|
|
110
|
+
font-weight: var(--ds-typography-xs-font-weight, var(--font-weight-regular));
|
|
111
|
+
font-size: var(--ds-typography-xs-font-size, var(--font-size-xs));
|
|
112
|
+
line-height: var(--ds-typography-xs-line-height, var(--line-height-base));
|
|
113
|
+
font-family: var(--ds-typography-xs-font-family, var(--font-sans));
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.t-xs-bold {
|
|
117
|
-
font-weight: var(--ds-
|
|
118
|
-
font-size: var(--ds-
|
|
119
|
-
line-height: var(--ds-
|
|
120
|
-
font-family: var(--ds-
|
|
117
|
+
font-weight: var(--ds-typography-xs-bold-font-weight, var(--font-weight-bold));
|
|
118
|
+
font-size: var(--ds-typography-xs-bold-font-size, var(--font-size-xs));
|
|
119
|
+
line-height: var(--ds-typography-xs-bold-line-height, var(--line-height-base));
|
|
120
|
+
font-family: var(--ds-typography-xs-bold-font-family, var(--font-sans));
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.t-overline {
|
|
124
|
-
font-weight: var(--ds-
|
|
125
|
-
font-size: var(--ds-
|
|
126
|
-
line-height: var(--ds-
|
|
127
|
-
font-family: var(--ds-
|
|
128
|
-
letter-spacing: var(--ds-
|
|
129
|
-
text-transform: var(--ds-
|
|
130
|
-
color: var(--ds-
|
|
124
|
+
font-weight: var(--ds-typography-overline-font-weight, var(--font-weight-bold));
|
|
125
|
+
font-size: var(--ds-typography-overline-font-size, var(--font-size-2xs));
|
|
126
|
+
line-height: var(--ds-typography-overline-line-height, var(--line-height-base));
|
|
127
|
+
font-family: var(--ds-typography-overline-font-family, var(--font-sans));
|
|
128
|
+
letter-spacing: var(--ds-typography-overline-letter-spacing, var(--letter-spacing-wider));
|
|
129
|
+
text-transform: var(--ds-typography-overline-text-transform, uppercase);
|
|
130
|
+
color: var(--ds-typography-overline-color, var(--text-tertiary));
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.t-caption {
|
|
134
|
-
font-weight: var(--ds-
|
|
135
|
-
font-size: var(--ds-
|
|
136
|
-
line-height: var(--ds-
|
|
137
|
-
font-family: var(--ds-
|
|
138
|
-
color: var(--ds-
|
|
134
|
+
font-weight: var(--ds-typography-caption-font-weight, var(--font-weight-regular));
|
|
135
|
+
font-size: var(--ds-typography-caption-font-size, var(--font-size-xs));
|
|
136
|
+
line-height: var(--ds-typography-caption-line-height, var(--line-height-base));
|
|
137
|
+
font-family: var(--ds-typography-caption-font-family, var(--font-sans));
|
|
138
|
+
color: var(--ds-typography-caption-color, var(--text-tertiary));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
.t-mono {
|
|
142
142
|
// JetBrains Mono ligates operators by default, so `===` paints as one triple-bar glyph
|
|
143
143
|
// and `!=` as a struck equals: prose that NAMES an operator then shows something other
|
|
144
|
-
// than the characters it discusses. Set --ds-
|
|
145
|
-
font-variant-ligatures: var(--ds-
|
|
146
|
-
font-weight: var(--ds-
|
|
147
|
-
font-size: var(--ds-
|
|
148
|
-
line-height: var(--ds-
|
|
149
|
-
font-family: var(--ds-
|
|
144
|
+
// than the characters it discusses. Set --ds-typography-mono-ligatures to `normal` to get them back.
|
|
145
|
+
font-variant-ligatures: var(--ds-typography-mono-ligatures, none);
|
|
146
|
+
font-weight: var(--ds-typography-mono-font-weight, var(--font-weight-medium));
|
|
147
|
+
font-size: var(--ds-typography-mono-font-size, var(--font-size-mono));
|
|
148
|
+
line-height: var(--ds-typography-mono-line-height, var(--line-height-base));
|
|
149
|
+
font-family: var(--ds-typography-mono-font-family, var(--font-mono));
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
.t-mono-inline {
|
|
153
|
-
font-variant-ligatures: var(--ds-
|
|
154
|
-
font-weight: var(--ds-
|
|
155
|
-
font-size: var(--ds-
|
|
156
|
-
line-height: var(--ds-
|
|
157
|
-
font-family: var(--ds-
|
|
158
|
-
color: var(--ds-
|
|
159
|
-
background-color: var(--ds-
|
|
153
|
+
font-variant-ligatures: var(--ds-typography-mono-ligatures, none);
|
|
154
|
+
font-weight: var(--ds-typography-mono-inline-font-weight, var(--font-weight-regular));
|
|
155
|
+
font-size: var(--ds-typography-mono-inline-font-size, var(--font-size-mono));
|
|
156
|
+
line-height: var(--ds-typography-mono-inline-line-height, 1);
|
|
157
|
+
font-family: var(--ds-typography-mono-inline-font-family, var(--font-mono));
|
|
158
|
+
color: var(--ds-typography-mono-inline-color, var(--text-primary));
|
|
159
|
+
background-color: var(--ds-typography-mono-inline-bg-color, var(--surface-secondary));
|
|
160
160
|
padding: 1px var(--space-1);
|
|
161
|
-
border-radius: var(--ds-
|
|
161
|
+
border-radius: var(--ds-typography-mono-inline-radius, var(--ds-radius-inner));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
.t-mono-block {
|
|
165
|
-
font-variant-ligatures: var(--ds-
|
|
166
|
-
font-weight: var(--ds-
|
|
167
|
-
font-size: var(--ds-
|
|
168
|
-
line-height: var(--ds-
|
|
169
|
-
font-family: var(--ds-
|
|
170
|
-
background-color: var(--ds-
|
|
165
|
+
font-variant-ligatures: var(--ds-typography-mono-ligatures, none);
|
|
166
|
+
font-weight: var(--ds-typography-mono-block-font-weight, var(--font-weight-regular));
|
|
167
|
+
font-size: var(--ds-typography-mono-block-font-size, var(--font-size-mono));
|
|
168
|
+
line-height: var(--ds-typography-mono-block-line-height, var(--line-height-loose));
|
|
169
|
+
font-family: var(--ds-typography-mono-block-font-family, var(--font-mono));
|
|
170
|
+
background-color: var(--ds-typography-mono-block-bg-color, var(--surface-secondary));
|
|
171
171
|
border-width: var(--border-width-default);
|
|
172
172
|
border-style: solid;
|
|
173
|
-
border-color: var(--ds-
|
|
174
|
-
border-radius: var(--ds-
|
|
173
|
+
border-color: var(--ds-typography-mono-block-border-color, var(--border-divider));
|
|
174
|
+
border-radius: var(--ds-typography-mono-block-radius, var(--ds-radius-control));
|
|
175
175
|
padding: var(--space-3) var(--space-4);
|
|
176
176
|
max-width: 100%;
|
|
177
177
|
overflow-x: auto;
|
package/themes/dark/_theme.scss
CHANGED
|
@@ -105,6 +105,19 @@
|
|
|
105
105
|
--chart-ramp-7: hsl( 8deg 79% 64%);
|
|
106
106
|
--chart-ramp-8: hsl( 8deg 84% 70%);
|
|
107
107
|
|
|
108
|
+
// Heat — the full span, flipped the same way, so a heat map carries the same number of readable
|
|
109
|
+
// steps in either theme: adjacent dE 5.9–10.1, first to last 54.5, measured 2026-09-19 in OKLab.
|
|
110
|
+
// The lightness curve is mirrored from the light scale rather than designed on its own — worth a
|
|
111
|
+
// designer's eye before it is treated as settled.
|
|
112
|
+
--chart-heat-1: hsl( 8deg 68% 20%);
|
|
113
|
+
--chart-heat-2: hsl( 8deg 74% 29%);
|
|
114
|
+
--chart-heat-3: hsl( 8deg 78% 38%);
|
|
115
|
+
--chart-heat-4: hsl( 8deg 78% 47%);
|
|
116
|
+
--chart-heat-5: hsl( 8deg 76% 56%);
|
|
117
|
+
--chart-heat-6: hsl( 8deg 73% 65%);
|
|
118
|
+
--chart-heat-7: hsl( 8deg 67% 74%);
|
|
119
|
+
--chart-heat-8: hsl( 8deg 60% 84%);
|
|
120
|
+
|
|
108
121
|
// Sequential — flip so low → high reads dark → bright on a dark canvas.
|
|
109
122
|
--chart-sequential-1: var(--blue-800);
|
|
110
123
|
--chart-sequential-2: var(--blue-700);
|
|
@@ -3,7 +3,7 @@ import { InjectionToken } from '@angular/core';
|
|
|
3
3
|
|
|
4
4
|
/** Contract that ds-accordion-item reads from its parent ds-accordion. */
|
|
5
5
|
interface AccordionContract {
|
|
6
|
-
readonly
|
|
6
|
+
readonly multiple: () => boolean;
|
|
7
7
|
/** Called when an item opens; coordinator may close other items. */
|
|
8
8
|
notifyOpen(item: AccordionItemRef): void;
|
|
9
9
|
}
|
|
@@ -16,11 +16,11 @@ declare const ACCORDION: InjectionToken<AccordionContract>;
|
|
|
16
16
|
|
|
17
17
|
declare class AccordionComponent implements AccordionContract {
|
|
18
18
|
/** When false, opening one item automatically closes all others. */
|
|
19
|
-
readonly
|
|
19
|
+
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
20
|
private readonly items;
|
|
21
21
|
notifyOpen(opened: AccordionItemRef): void;
|
|
22
22
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
23
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "ds-accordion", never, { "
|
|
23
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "ds-accordion", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
declare class AccordionItemComponent implements AccordionItemRef {
|
|
@@ -14,10 +14,11 @@ declare class AlertComponent {
|
|
|
14
14
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
15
15
|
/** Fires when the user dismisses the alert. */
|
|
16
16
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
17
|
-
/** Announce this alert to a screen reader when it appears.
|
|
18
|
-
* `ds-banner`'s `announce` for why,
|
|
19
|
-
* transient. */
|
|
20
|
-
readonly announce: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
|
+
/** Announce this alert to a screen reader when it appears. Unset follows
|
|
18
|
+
* `DS_CONFIG.alert.announce`, then `false` — see `ds-banner`'s `announce` for why,
|
|
19
|
+
* and prefer `ToastService` for anything transient. */
|
|
20
|
+
readonly announce: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
21
|
+
readonly announceResolved: _angular_core.Signal<boolean>;
|
|
21
22
|
protected get ariaRole(): 'alert' | 'status' | null;
|
|
22
23
|
protected get ariaLive(): 'assertive' | 'polite' | null;
|
|
23
24
|
protected readonly classes: _angular_core.Signal<string>;
|
|
@@ -10,22 +10,22 @@ import { Observable } from 'rxjs';
|
|
|
10
10
|
* the reader's place. `'always'` resets on every navigation, which is what a
|
|
11
11
|
* server-paged list usually wants — a new page should start at the top.
|
|
12
12
|
* `'never'` hands the decision back to the screen, which can still call
|
|
13
|
-
* `
|
|
13
|
+
* `AppLayoutScrollService.scrollToTop()` itself.
|
|
14
14
|
*/
|
|
15
|
-
type
|
|
15
|
+
type DsAppLayoutScrollReset = 'path' | 'never' | 'always';
|
|
16
16
|
/**
|
|
17
17
|
* Owns the layout's content scroller. In the fixed-frame layout the window never
|
|
18
18
|
* scrolls, so the router's built-in window-based scrolling no-ops — this service
|
|
19
19
|
* resets the registered container to the top when navigation lands on a different
|
|
20
20
|
* PATH instead. Provided by `ds-app-layout`, so routed pages can
|
|
21
|
-
* `inject(
|
|
21
|
+
* `inject(AppLayoutScrollService)` and call `scrollToTop()` manually (e.g. list pages
|
|
22
22
|
* that DO want the top after a filter change).
|
|
23
23
|
*
|
|
24
24
|
* With `restoreScroll` on the layout it also restores the reader's place. Only
|
|
25
25
|
* when ARMED, which is the whole design: going BACK to a list should return to
|
|
26
26
|
* where the reader was, while following a link into a new screen should not.
|
|
27
27
|
*/
|
|
28
|
-
declare class
|
|
28
|
+
declare class AppLayoutScrollService {
|
|
29
29
|
private readonly navigation;
|
|
30
30
|
private readonly router;
|
|
31
31
|
private readonly destroyRef;
|
|
@@ -53,7 +53,7 @@ declare class LayoutScrollService {
|
|
|
53
53
|
/** Wiring: `ds-app-layout` mirrors its `restoreScroll` inputs through here. */
|
|
54
54
|
configureRestore(timeoutMs: number | null): void;
|
|
55
55
|
/** Wiring: `ds-app-layout` mirrors its `scrollReset` input through here. */
|
|
56
|
-
configureReset(strategy:
|
|
56
|
+
configureReset(strategy: DsAppLayoutScrollReset): void;
|
|
57
57
|
scrollToTop(): void;
|
|
58
58
|
/**
|
|
59
59
|
* Scroll the content region to an absolute offset. Assigns `scrollTop` rather
|
|
@@ -86,8 +86,8 @@ declare class LayoutScrollService {
|
|
|
86
86
|
private read;
|
|
87
87
|
private remember;
|
|
88
88
|
private recall;
|
|
89
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
90
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
89
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppLayoutScrollService, never>;
|
|
90
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AppLayoutScrollService>;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
/**
|
|
@@ -105,7 +105,7 @@ declare class LayoutScrollService {
|
|
|
105
105
|
* ```
|
|
106
106
|
*
|
|
107
107
|
* The layout renders the `<main>` landmark itself — do not nest another
|
|
108
|
-
* `<main>` in the content. Scroll-to-top is built in (`
|
|
108
|
+
* `<main>` in the content. Scroll-to-top is built in (`AppLayoutScrollService`)
|
|
109
109
|
* and fires when navigation changes the PATH, so a URL-driven list can page
|
|
110
110
|
* and filter without losing the reader's place; inject the service and call
|
|
111
111
|
* `scrollToTop()` for the changes that do want the top. The content padding
|
|
@@ -151,12 +151,12 @@ declare class AppLayoutComponent {
|
|
|
151
151
|
* When the content scroll resets to the top. `'path'` (default) is what the
|
|
152
152
|
* layout has always done; `'always'` also resets on a query- or fragment-only
|
|
153
153
|
* navigation, which is what a server-paged list wants; `'never'` hands the
|
|
154
|
-
* decision to the screen, which can still call `
|
|
154
|
+
* decision to the screen, which can still call `AppLayoutScrollService.scrollToTop()`.
|
|
155
155
|
*
|
|
156
156
|
* It exists because the layout owning the scroll CONTAINER also meant it owned
|
|
157
157
|
* the POLICY: a screen could add a reset but had no way to suppress one.
|
|
158
158
|
*/
|
|
159
|
-
readonly scrollReset: _angular_core.InputSignal<
|
|
159
|
+
readonly scrollReset: _angular_core.InputSignal<DsAppLayoutScrollReset>;
|
|
160
160
|
/**
|
|
161
161
|
* True only while the rail is an overlay. Gates the dialog semantics: above
|
|
162
162
|
* the breakpoint the rail is an ordinary region, and a permanent
|
|
@@ -228,7 +228,7 @@ declare class RailTriggerDirective {
|
|
|
228
228
|
* `pathChanged` rather than writing a fourth:
|
|
229
229
|
*
|
|
230
230
|
* ```ts
|
|
231
|
-
* private readonly navigation = inject(
|
|
231
|
+
* private readonly navigation = inject(AppLayoutNavigationService);
|
|
232
232
|
* constructor() {
|
|
233
233
|
* this.navigation.pathChanged
|
|
234
234
|
* .pipe(takeUntilDestroyed())
|
|
@@ -245,16 +245,16 @@ declare class RailTriggerDirective {
|
|
|
245
245
|
*
|
|
246
246
|
* Root-provided, which is also what makes it safe to expose: the stream is
|
|
247
247
|
* derived from the router and holds no state, so one instance serves every
|
|
248
|
-
* reader. `
|
|
248
|
+
* reader. `AppLayoutScrollService` depends on it, so a consumer providing THAT
|
|
249
249
|
* outside `ds-app-layout` needs this one resolvable too.
|
|
250
250
|
*/
|
|
251
|
-
declare class
|
|
251
|
+
declare class AppLayoutNavigationService {
|
|
252
252
|
private readonly router;
|
|
253
253
|
readonly pathChanged: Observable<string>;
|
|
254
254
|
private samePage;
|
|
255
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<
|
|
256
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<
|
|
255
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AppLayoutNavigationService, never>;
|
|
256
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AppLayoutNavigationService>;
|
|
257
257
|
}
|
|
258
258
|
|
|
259
|
-
export { AppLayoutComponent,
|
|
260
|
-
export type {
|
|
259
|
+
export { AppLayoutComponent, AppLayoutNavigationService, AppLayoutScrollService, RailTriggerDirective };
|
|
260
|
+
export type { DsAppLayoutScrollReset };
|
|
@@ -25,7 +25,9 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
|
|
|
25
25
|
private readonly vcr;
|
|
26
26
|
private readonly host;
|
|
27
27
|
/** Public panel tokens forwarded onto the portaled overlay pane on open, so a consumer's
|
|
28
|
-
* `ds-autocomplete { --ds-autocomplete-panel-bg-color | -radius | -maxh: … }` reaches it.
|
|
28
|
+
* `ds-autocomplete { --ds-autocomplete-panel-bg-color | -radius | -maxh: … }` reaches it.
|
|
29
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
30
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
29
31
|
private readonly panelTokens;
|
|
30
32
|
/** Options, groups, or both mixed — rendered in the order given. */
|
|
31
33
|
readonly options: _angular_core.InputSignal<readonly AutocompleteItem<T>[]>;
|
|
@@ -21,13 +21,15 @@ declare class BannerComponent {
|
|
|
21
21
|
/** Fires when the user dismisses the banner. */
|
|
22
22
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
23
23
|
protected get noRail(): boolean;
|
|
24
|
-
/** Announce this banner to a screen reader when it appears.
|
|
24
|
+
/** Announce this banner to a screen reader when it appears. Unset follows
|
|
25
|
+
* `DS_CONFIG.banner.announce`, then `false`.
|
|
25
26
|
*
|
|
26
27
|
* Off by default: an `alert` region fires on INSERTION, so a banner that is page
|
|
27
28
|
* furniture would interrupt the reader on every route into the page. Turn it on for
|
|
28
29
|
* one the app raises in response to an event; for anything transient prefer
|
|
29
30
|
* `ToastService`, which owns a live region built for the purpose. */
|
|
30
|
-
readonly announce: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly announce: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
32
|
+
readonly announceResolved: _angular_core.Signal<boolean>;
|
|
31
33
|
protected get ariaRole(): 'alert' | 'status' | null;
|
|
32
34
|
protected get ariaLive(): 'assertive' | 'polite' | null;
|
|
33
35
|
protected readonly classes: _angular_core.Signal<string>;
|