@ids-group-ltd/ids-design-system 0.13.3 → 0.13.4
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 +846 -14
- package/components.md +552 -29
- 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 +8 -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 +4 -0
- 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 +4 -0
- package/docs/agent/forms/ds-textarea.md +5 -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/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 +9 -2
- 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 +117 -27
- 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 +32 -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 +14 -2
- 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 +404 -55
- 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 +27 -10
- 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 +20 -10
- 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 +181 -500
- 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 +6 -6
- 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 +14 -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 +391 -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 +300 -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 +2 -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-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-table-columns.mjs +4 -4
- 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 +9 -9
- 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 +2 -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 +271 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- 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 +1 -1
- 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.4.json +994 -0
- package/migrations/0.5.0.json +1 -1
- package/migrations/0.8.0.json +4 -3
- package/migrations/0.9.0.json +1 -1
- package/package.json +41 -9
- package/styles/_chart-frame.scss +16 -3
- 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 +1 -1
- package/styles/_table-controls.scss +3 -3
- package/styles/_tokens-charts.scss +40 -7
- package/styles/_tokens.scss +2 -2
- 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 +37 -4
- 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 +31 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +230 -44
- 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 +6 -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 +5 -2
- 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 +85 -139
- 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 +13 -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} +24 -19
- 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 +183 -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-table-export.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +11 -11
- 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 +97 -4
- package/types/ids-group-ltd-ids-design-system-core.d.ts +30 -7
- 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
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>;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
2
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
3
4
|
import * as _angular_core from '@angular/core';
|
|
4
5
|
import { TemplateRef } from '@angular/core';
|
|
5
|
-
import { defaultChartFormat } from '@ids-group-ltd/ids-design-system/components';
|
|
6
6
|
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
7
8
|
|
|
9
|
+
/** A row's reading: one number, or the two ends of a band.
|
|
10
|
+
*
|
|
11
|
+
* A plain number spans from zero, which is what a bar has always drawn. A pair spans between its
|
|
12
|
+
* own two ends - a floating bar, a range, a min-to-max - and the ends may be written either way
|
|
13
|
+
* round, because a reader who reverses them means the same band. */
|
|
14
|
+
type BarChartValue = number | readonly [low: number, high: number];
|
|
8
15
|
/** One part of a row that is a distribution rather than a single quantity. */
|
|
9
16
|
interface BarChartSegment {
|
|
10
17
|
/** Falls back to the segment's position when left out. */
|
|
@@ -19,7 +26,17 @@ interface BarChartRow {
|
|
|
19
26
|
/** Falls back to the row's position when left out, so a reorder rewrites the DOM. */
|
|
20
27
|
id?: string;
|
|
21
28
|
label: string;
|
|
22
|
-
|
|
29
|
+
/** One number spans from zero. A `[low, high]` pair spans between its own ends, which is what
|
|
30
|
+
* draws a floating bar - a range, a min to max, a period that starts partway along. */
|
|
31
|
+
value: BarChartValue;
|
|
32
|
+
/** A tick across the bar at one reading: a goal, a budget, a last-period figure. With `ranges`
|
|
33
|
+
* behind it this is the bullet chart, which is a bar with two extras rather than a chart type. */
|
|
34
|
+
target?: number;
|
|
35
|
+
/** Qualitative bands drawn behind the bar, given as their upper bounds in ascending order -
|
|
36
|
+
* `[60, 80, 100]` is three bands. They say what the reading MEANS where the number alone does
|
|
37
|
+
* not: poor, fair, good. They are painted in one neutral hue at rising opacity, never in the
|
|
38
|
+
* series palette, because a band is a backdrop and a bar is the reading. */
|
|
39
|
+
ranges?: readonly number[];
|
|
23
40
|
/** A percentage already out of 100, not a fraction: `42`, never `0.42`. Printed at
|
|
24
41
|
* the row's end while `showPercent` is on; derived from `value / max` when omitted. */
|
|
25
42
|
percent?: number;
|
|
@@ -102,11 +119,12 @@ declare class BarChartComponent {
|
|
|
102
119
|
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then the browser's locale
|
|
103
120
|
* grouping with a K/M/B suffix past four digits. */
|
|
104
121
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
122
|
+
private readonly defaults;
|
|
105
123
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
106
124
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
107
125
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
108
126
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
109
|
-
readonly valueFormatResolved: _angular_core.Signal<typeof defaultChartFormat>;
|
|
127
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
110
128
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
111
129
|
* The click output fires whether or not this is set, so a consumer that
|
|
112
130
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -147,12 +165,27 @@ declare class BarChartComponent {
|
|
|
147
165
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
148
166
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
149
167
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
168
|
+
/** The track has to hold the far end of every bar, the target tick and the outermost band -
|
|
169
|
+
* a goal above every reading is the one the chart is read for, and an axis derived from the
|
|
170
|
+
* bars alone would draw it off the end. */
|
|
150
171
|
protected readonly resolvedMax: _angular_core.Signal<number>;
|
|
172
|
+
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
173
|
+
/** A row's segments follow it as nested rows: one table reads in one pass, and a segment is
|
|
174
|
+
* read against the bar it belongs to rather than against the other bars. */
|
|
175
|
+
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
151
176
|
protected readonly rows: _angular_core.Signal<{
|
|
152
177
|
key: string;
|
|
153
178
|
row: BarChartRow;
|
|
179
|
+
offsetPercent: number;
|
|
154
180
|
widthPercent: number;
|
|
155
181
|
formattedValue: string;
|
|
182
|
+
targetPercent: number | null;
|
|
183
|
+
formattedTarget: string;
|
|
184
|
+
bands: {
|
|
185
|
+
key: string;
|
|
186
|
+
widthPercent: number;
|
|
187
|
+
opacity: number;
|
|
188
|
+
}[];
|
|
156
189
|
formattedPercent: string;
|
|
157
190
|
share: string;
|
|
158
191
|
segments: readonly {
|
|
@@ -179,4 +212,4 @@ declare class BarChartComponent {
|
|
|
179
212
|
}
|
|
180
213
|
|
|
181
214
|
export { BarChartComponent };
|
|
182
|
-
export type { BarChartRow, BarChartSegment };
|
|
215
|
+
export type { BarChartRow, BarChartSegment, BarChartValue };
|
|
@@ -4,7 +4,7 @@ import { OnDestroy } from '@angular/core';
|
|
|
4
4
|
/** Bottom-anchored sheet — the mobile sibling of ds-drawer. Closes on scrim
|
|
5
5
|
* tap, Escape, or a downward drag on the grab strip. While open it locks
|
|
6
6
|
* body scroll. On wide viewports the panel is capped by
|
|
7
|
-
* --ds-bottom-sheet-
|
|
7
|
+
* --ds-bottom-sheet-max-width and centred; prefer ds-modal / ds-drawer for
|
|
8
8
|
* desktop-first layouts. position: fixed resolves against the nearest
|
|
9
9
|
* ancestor containing block, so framed hosts contain the sheet. */
|
|
10
10
|
declare class BottomSheetComponent implements OnDestroy {
|
|
@@ -8,6 +8,7 @@ import { DsSize, IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
|
8
8
|
type ButtonColor = 'primary' | 'secondary' | 'tertiary' | 'neutral' | 'error' | 'success' | 'warning';
|
|
9
9
|
type ButtonVariant = 'solid' | 'tonal' | 'ghost' | 'outline' | 'text';
|
|
10
10
|
type ButtonType = 'button' | 'submit' | 'reset';
|
|
11
|
+
type ButtonAlign = 'center' | 'between';
|
|
11
12
|
|
|
12
13
|
declare class ButtonComponent extends DsMessageBase {
|
|
13
14
|
protected readonly reserveFollowsFieldDefault = false;
|
|
@@ -18,6 +19,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
18
19
|
* reason. `text` is discouraged for every colour — prefer the global `.link` class, and keep
|
|
19
20
|
* this one only where the ds-button API is needed. */
|
|
20
21
|
readonly variant: _angular_core.InputSignal<ButtonVariant>;
|
|
22
|
+
/** Where the contents sit once the button is wider than them, which in practice means
|
|
23
|
+
* `fullWidth`. `'between'` pushes the label and a trailing icon to opposite edges. */
|
|
24
|
+
readonly align: _angular_core.InputSignal<ButtonAlign>;
|
|
21
25
|
/** Button height — sm/md/lg.
|
|
22
26
|
* Unset falls back to `DS_CONFIG.control.size`, then `'md'`. */
|
|
23
27
|
readonly size: _angular_core.InputSignal<DsSize | null>;
|
|
@@ -52,9 +56,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
52
56
|
* stays lit inside its own pages. It also bounds the announcement, because the same directive
|
|
53
57
|
* writes it: narrowed to `{ exact: true }`, a prefix match is no longer active and the link
|
|
54
58
|
* announces nothing rather than `true`. Pass `ariaCurrent` alongside to keep one. */
|
|
55
|
-
readonly routerLinkActiveOptions: _angular_core.InputSignal<{
|
|
59
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<IsActiveMatchOptions | {
|
|
56
60
|
exact: boolean;
|
|
57
|
-
}
|
|
61
|
+
}>;
|
|
58
62
|
/** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
|
|
59
63
|
* announces `true`, which is what ARIA means by each; pass `null` to announce nothing, or one
|
|
60
64
|
* of the other values when the link is a step or a location rather than a page. */
|
|
@@ -114,8 +118,8 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
114
118
|
constructor();
|
|
115
119
|
protected onClick(event: MouseEvent): void;
|
|
116
120
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
117
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
|
|
121
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ButtonComponent, "ds-button", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "align": { "alias": "align"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "fragment": { "alias": "fragment"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "queryParamsHandling": { "alias": "queryParamsHandling"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "rel": { "alias": "rel"; "required": false; "isSignal": true; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; "isSignal": true; }; "ariaCurrent": { "alias": "ariaCurrent"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "ariaHasPopup": { "alias": "ariaHasPopup"; "required": false; "isSignal": true; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "disabledReason": { "alias": "disabledReason"; "required": false; "isSignal": true; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; "isSignal": true; }; }, { "pressed": "pressed"; }, never, ["*", "[dsButtonSubtext]"], true, never>;
|
|
118
122
|
}
|
|
119
123
|
|
|
120
124
|
export { ButtonComponent };
|
|
121
|
-
export type { ButtonColor, ButtonType, ButtonVariant };
|
|
125
|
+
export type { ButtonAlign, ButtonColor, ButtonType, ButtonVariant };
|