@ids-group-ltd/ids-design-system 0.14.0 → 0.14.2
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 +573 -4
- package/components.md +103 -62
- package/design-system.md +2 -0
- package/docs/agent/INDEX.md +5 -4
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +4 -3
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +3 -3
- package/docs/agent/charts/ds-config.md +3 -1
- package/docs/agent/charts/ds-funnel-chart.md +3 -3
- package/docs/agent/charts/ds-heatmap-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +5 -4
- package/docs/agent/charts/ds-scatter-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-badge.md +1 -1
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-description-list.md +3 -0
- package/docs/agent/feedback/ds-skeleton.md +2 -2
- package/docs/agent/feedback/ds-tag.md +1 -1
- package/docs/agent/forms/ds-autocomplete.md +2 -2
- package/docs/agent/forms/ds-button.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +2 -2
- package/docs/agent/forms/ds-filter-bar.md +1 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +2 -2
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-search.md +2 -2
- package/docs/agent/forms/ds-split-button.md +1 -1
- package/docs/agent/forms/ds-textarea.md +2 -2
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-app-layout.md +2 -2
- package/docs/agent/navigation/ds-auth-layout.md +4 -4
- package/docs/agent/navigation/ds-page-header.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +1 -1
- package/docs/agent/navigation/ds-tabs.md +1 -0
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/platform/ds-config.md +2 -3
- package/docs/agent/platform/ds-intl.md +33 -0
- package/docs/agent/surfaces/ds-accordion.md +2 -2
- package/docs/agent/tables/ds-table.md +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +9 -5
- 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 +21 -10
- 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 +9 -5
- 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 +8 -8
- 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 +15 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +5 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +12 -8
- 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 +21 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +53 -30
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +7 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +20 -6
- 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 +198 -44
- 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 +248 -142
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +28 -25
- 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 +16 -9
- 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 +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +12 -6
- 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-filter-bar.mjs +13 -7
- 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 +64 -43
- 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 +56 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +32 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +26 -13
- 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 +17 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +5 -4
- 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 +13 -7
- 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 +15 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +12 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +62 -25
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +49 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +6 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +4 -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 +5 -3
- 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 +20 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +6 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +6 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +16 -13
- 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 +9 -6
- 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 +48 -22
- 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 +68 -6
- 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 +9 -5
- 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 +63 -10
- 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 +12 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +8 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +78 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +36 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +355 -81
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +362 -3
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +1 -1
- package/migrations/0.10.1.json +1 -1
- package/migrations/0.14.0.json +28 -4
- package/migrations/0.14.1.json +856 -0
- package/migrations/0.14.2.json +427 -0
- package/package.json +1 -1
- package/schematics/check-overrides/index.cjs +56 -0
- package/schematics/check-overrides/scan.cjs +74 -0
- package/schematics/check-overrides/schema.json +19 -0
- package/schematics/check-overrides/surface.json +2333 -0
- package/schematics/collection.json +5 -0
- package/styles/_chart-frame.scss +34 -12
- package/styles/_chart-interactive.scss +43 -9
- package/styles/_chart-motion.scss +139 -16
- package/styles/_field-box.scss +12 -0
- package/styles/_overlay-motion.scss +12 -4
- package/styles/_tokens-charts.scss +1 -1
- package/styles/_tokens.scss +19 -4
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +11 -2
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +5 -5
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +7 -4
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +41 -19
- package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +8 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +34 -6
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +189 -121
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -3
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +9 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +34 -20
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +36 -7
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +21 -18
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +11 -6
- package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +41 -17
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +28 -7
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +7 -3
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +6 -4
- package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +15 -6
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +15 -2
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +24 -4
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +10 -1
- package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +18 -7
- package/types/ids-group-ltd-ids-design-system-components.d.ts +75 -25
- package/types/ids-group-ltd-ids-design-system-core.d.ts +421 -11
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,566 @@
|
|
|
1
1
|
## Unreleased
|
|
2
2
|
|
|
3
|
+
## 0.14.2 — 2026-09-25
|
|
4
|
+
|
|
5
|
+
### Breaking
|
|
6
|
+
|
|
7
|
+
- **A click on a chart mark holds it by default.** `pinOnClick` on `ds-bar-chart`, `ds-column-chart`,
|
|
8
|
+
`ds-funnel-chart`, `ds-line-chart`, `ds-pie-chart`, `ds-heatmap-chart`, `ds-scatter-chart`,
|
|
9
|
+
`ds-waterfall-chart` and the `dsColumnSeries` / `dsLineSeries` marks, and `cursorPin` on
|
|
10
|
+
`ds-chart`, now default to `null` and fall back to `DS_CONFIG.chart.pinOnClick`, then `true` (was
|
|
11
|
+
`false`). A pointer click or tap now holds the mark - its tooltip and highlight stay after the
|
|
12
|
+
pointer leaves and it shows a pin disc on itself - until a second click, Escape or a press elsewhere
|
|
13
|
+
lets go; keyboard focus reaches a mark without pinning it (on a heat map, Enter or Space focus a
|
|
14
|
+
cell, a click pins). `pointClicked` fires either way. To keep marks unheld, set
|
|
15
|
+
`pinOnClick="false"` (`cursorPin="false"` on `ds-chart`) on the one chart, or
|
|
16
|
+
`DS_CONFIG.chart.pinOnClick: false` for all.
|
|
17
|
+
|
|
18
|
+
- **A chart answers a resting pointer after 500 ms.** The tooltip, the highlight and the dimming of a
|
|
19
|
+
mark, the category cursor, a legend entry, a heat map scale step and a bar's label wait
|
|
20
|
+
`DS_CONFIG.chart.hoverDelayMs` (default `500`) of rest before they show (was: at once). Once a chart
|
|
21
|
+
has answered, the next mark answers at once until the pointer leaves it; touch, keyboard focus, a
|
|
22
|
+
pin and a delay of `0` answer at once. To answer at once, set `DS_CONFIG.chart.hoverDelayMs: 0`. A
|
|
23
|
+
test that hovers a mark and asserts on its tooltip in the same tick waits the delay, or sets it to
|
|
24
|
+
`0`.
|
|
25
|
+
|
|
26
|
+
- **`pinOnClick` and `ds-chart`'s `cursorPin` are `boolean | null`** (was `boolean`), `null` meaning
|
|
27
|
+
unset, on `ds-bar-chart`, `ds-column-chart`, `ds-funnel-chart`, `ds-line-chart`, `ds-pie-chart`,
|
|
28
|
+
`dsColumnSeries` and `dsLineSeries`. Binding them in a template is unaffected. Code that reads the
|
|
29
|
+
raw input back, or a subclass overriding it, must handle `null`, which falls back to
|
|
30
|
+
`DS_CONFIG.chart.pinOnClick` and then `true`; `dsColumnSeries` and `dsLineSeries` expose the result
|
|
31
|
+
as `pinOnClickResolved()`, `ds-chart` as `cursorPinResolved()`. A reader testing `pinOnClick()` for
|
|
32
|
+
truthiness now sees `null` on an unset chart that does pin, and takes the other branch with no
|
|
33
|
+
compile error.
|
|
34
|
+
|
|
35
|
+
- **Under the category cursor, the category's drawn band is the one hover area.** The pointer anywhere
|
|
36
|
+
in the band opens the band and its single category tooltip together; the gap between two bands
|
|
37
|
+
answers nothing; a `dsColumnSeries` column or `dsLineSeries` mark under the cursor no longer opens a
|
|
38
|
+
per-mark panel on hover (focus and click still do). This is a `ds-chart` with `cursor="category"`,
|
|
39
|
+
or `"auto"` on two or more marks that show a tooltip; the column, line and waterfall presets draw no
|
|
40
|
+
category cursor and are unaffected. To keep a per-mark hover panel there, set `cursor="none"` on that
|
|
41
|
+
`ds-chart`. A hand-composed mark reads `CHART_SCALES.cursorOn` to leave pointer hover to the band.
|
|
42
|
+
|
|
43
|
+
- **Chart entrances are slower and staged.** `--ds-motion-chart-mark-enter-duration` is `400ms` (was
|
|
44
|
+
`180ms`) and `--ds-motion-chart-mark-enter-easing` is `--ease-emphasized-decelerate` (was
|
|
45
|
+
`--ease-decelerate`). Columns, bars and waterfall steps grow out of their baseline over the grow
|
|
46
|
+
duration with no fade; a solid line draws on and a dashed one fades; an area fades in under its line;
|
|
47
|
+
the pie ring turns into place; funnel stages rise in; scatter points and line markers settle about
|
|
48
|
+
their centre; heat map cells fade in column by column, having not animated before. Value labels,
|
|
49
|
+
markers, table rows and legend swatches follow once their mark has arrived. Under reduced motion
|
|
50
|
+
every mark appears at once, delays included. A test that waits a fixed time for a chart to finish
|
|
51
|
+
arriving waits about 1.1s, or runs under reduced motion. To bring back the old enter timing:
|
|
52
|
+
`--ds-motion-chart-mark-enter-duration: var(--duration-base); --ds-motion-chart-mark-enter-easing:
|
|
53
|
+
var(--ease-decelerate);` - growing and sweeping marks follow `--ds-motion-chart-mark-grow-duration`
|
|
54
|
+
and `--ds-motion-chart-mark-sweep-duration` instead.
|
|
55
|
+
|
|
56
|
+
- **`staggerMs` defaults to `40` on `ds-bar-chart`, `ds-column-chart`, `ds-line-chart`,
|
|
57
|
+
`dsColumnSeries` and `dsLineSeries`, and to `60` on `ds-funnel-chart`** (was `0`); `ds-pie-chart` is
|
|
58
|
+
unchanged, and `ds-heatmap-chart` and `ds-waterfall-chart` gain the input at `40`. A long series
|
|
59
|
+
narrows its step so the whole arrival fits within 260ms, rather than stopping at a 300ms cap after
|
|
60
|
+
which every later mark landed at once. To have a series arrive all at once, set `staggerMs="0"`. A
|
|
61
|
+
visual regression test that screenshots a chart a fixed time after it renders now catches later
|
|
62
|
+
marks still arriving.
|
|
63
|
+
|
|
64
|
+
- **A custom pagination `range` or table `[rangeAnnouncement]` receives zeros on an empty list.**
|
|
65
|
+
`ds-pagination` on an empty list now calls `DS_INTL.pagination.range(0, 0, 0)` (was `(1, 0, 0)`),
|
|
66
|
+
and a paged `ds-table` with no empty-state text now calls its `[rangeAnnouncement]` with `(0, 0, 0)`
|
|
67
|
+
(was never called on an empty table). A formatter that prints first and last unconditionally now
|
|
68
|
+
shows a range of 0 to 0, on the pager and in the table's live-region announcement; guard
|
|
69
|
+
`total === 0` and return your empty-list wording, or, on the table, an empty string to stay silent.
|
|
70
|
+
The default wording returns `Showing 0 of 0`, so an app that never overrides the range text has
|
|
71
|
+
nothing to do.
|
|
72
|
+
|
|
73
|
+
- **`DsIntl` gains a required key: `field.overLimit: (excess: number) => string`.** A complete
|
|
74
|
+
`DsIntl` dictionary, or a complete `field` section of one, declared as a typed object stops
|
|
75
|
+
compiling until it lists it. Overrides passed to `provideDsIntl` are partial and need nothing.
|
|
76
|
+
|
|
77
|
+
- **A horizontal `ds-description-list` stacks every item once a value would get less than
|
|
78
|
+
`--ds-description-list-value-min-width`** (default `14rem`, 224px at a 16px root). Each item is a
|
|
79
|
+
wrapping flex row (was: a two-column grid): when the value column would fall below the minimum,
|
|
80
|
+
the label moves above the value (was: the value squeezed beside the label and broke mid-word). The
|
|
81
|
+
label keeps the label width there, so a longer label still wraps at it, where
|
|
82
|
+
`orientation="stacked"` gives the label the full row. Every item of a list switches at the same
|
|
83
|
+
list width, label width + column gap + value minimum: 364px with
|
|
84
|
+
the defaults, 428px with a 180px label and a 24px gap. `orientation="stacked"` is unchanged, and a
|
|
85
|
+
`ds-description-item` outside a list switches the same way at its own width. In a parent that
|
|
86
|
+
sizes to its content - an inline-block, a float, an absolutely positioned box, a flex row item
|
|
87
|
+
with an auto basis, an `auto` grid track - a list whose widest value is narrower than the minimum
|
|
88
|
+
now stacks; give the list or its parent a width, or lower `--ds-description-list-value-min-width`
|
|
89
|
+
on it. To stack later or earlier, set `--ds-description-list-value-min-width` on the list.
|
|
90
|
+
|
|
91
|
+
- **Subclassing one of these breaks on a name collision.** `BarChartComponent`, `ChartComponent`,
|
|
92
|
+
`ColumnSeriesComponent`, `LineSeriesComponent`, `FunnelChartComponent`, `HeatmapChartComponent`,
|
|
93
|
+
`PieChartComponent`, `ScatterChartComponent` and `WaterfallChartComponent` gained the pinning,
|
|
94
|
+
hover-delay, label-highlight and stagger members; `ColumnChartComponent` and `LineChartComponent`
|
|
95
|
+
only had `pinOnClick` change type; `PaginationComponent` gained `empty`, `TableComponent` gained
|
|
96
|
+
`emptyCell` and `emptyCellText`, `TooltipDirective` gained `detachAncestor`, `disclosesOwnText` and
|
|
97
|
+
`listenToFocusableAncestor`, `TextareaComponent` gained `describedBy`, `maxLengthMode`,
|
|
98
|
+
`nativeMaxLength`, `overflowMirror`, `overflowParts`, `overLimitBy` and `syncOverflowScroll`, and
|
|
99
|
+
`TabsComponent` gained `tablist`, `scrollsHorizontally`, `overflowing`, `showScrollArrows`,
|
|
100
|
+
`canScrollPrevious`, `canScrollNext`, `updateScrollArrows` and `scrollPage`; and three classes
|
|
101
|
+
reachable only through their own entry points gained members too - the internal
|
|
102
|
+
`ChartLegendComponent`, the internal `ChartTooltipPanelComponent` and the internal
|
|
103
|
+
`WaterfallMarksComponent`. Five protected members of `ColumnSeriesComponent` are
|
|
104
|
+
gone: `pinDiscRadius`, `pinGlyph`, `pinGlyphOffset`, `pinGlyphSize` and `slotStepPx`. Build after
|
|
105
|
+
upgrading; rename or mark `override` every member the compiler reports colliding, and delete an
|
|
106
|
+
override whose base member is gone. Subclassing a DS component is unsupported.
|
|
107
|
+
|
|
108
|
+
### Added
|
|
109
|
+
|
|
110
|
+
- **A `scrollable` `ds-tabs` strip shows previous and next arrows while tabs lie beyond its edges.**
|
|
111
|
+
Each arrow turns the strip by a page of tabs and hides at its own edge; a strip that fits shows
|
|
112
|
+
none. The strip scrolls smoothly unless reduced motion is set, on an arrow and when a selected tab
|
|
113
|
+
comes into view. The arrows sit outside the tab order and are hidden from assistive technology,
|
|
114
|
+
because the arrow keys already bring the selected tab into view; a click on one leaves focus where
|
|
115
|
+
it was. A scrollable horizontal `ds-tabs` host is a grid: the arrows sit either side of the tab
|
|
116
|
+
list, and the panel spans the row below.
|
|
117
|
+
|
|
118
|
+
- **`maxLengthMode` on `ds-textarea`.** `'hard'` (the default) keeps the native `maxlength`: typing
|
|
119
|
+
and paste stop at `maxLength`. `'soft'` lets the text run past it: the counter turns red, the
|
|
120
|
+
characters past the limit are highlighted inside the field, and the field reports `aria-invalid`
|
|
121
|
+
with the counter, which reads out the excess, as its description. Both modes count `value.length`,
|
|
122
|
+
whitespace included. A soft limit does not block a submit: validate the length in the form. The type
|
|
123
|
+
is `TextareaMaxLengthMode`, and `DS_INTL.field.overLimit(excess)` words the excess (default
|
|
124
|
+
`120 characters over the limit`).
|
|
125
|
+
|
|
126
|
+
- **`DS_CONFIG.chart.pinOnClick` and `DS_CONFIG.chart.hoverDelayMs`.** Across every chart,
|
|
127
|
+
`pinOnClick` (default `true`) sets whether a click holds a mark and `hoverDelayMs` (default `500`)
|
|
128
|
+
how long a resting pointer waits before the chart answers.
|
|
129
|
+
|
|
130
|
+
- **`pinOnClick` on `ds-heatmap-chart`, `ds-scatter-chart` and `ds-waterfall-chart`.** A
|
|
131
|
+
`boolean | null` input (default `null`, falling back to `DS_CONFIG.chart.pinOnClick`, then `true`)
|
|
132
|
+
that none of the three had, with the Unpin control the other charts show.
|
|
133
|
+
|
|
134
|
+
- **`staggerMs` on `ds-heatmap-chart` and `ds-waterfall-chart`** (default `40`): the heat map
|
|
135
|
+
staggers its columns, the waterfall its steps. Heat map cells fade in column by column, having not
|
|
136
|
+
animated before.
|
|
137
|
+
|
|
138
|
+
- **Chart entrance tokens.** `--ds-motion-chart-mark-grow-duration` (600ms) and
|
|
139
|
+
`--ds-motion-chart-mark-grow-easing` (`--ease-settle`) time a mark growing out of its baseline;
|
|
140
|
+
`--ds-motion-chart-mark-sweep-duration` (600ms) a ring turning in or a line drawing on;
|
|
141
|
+
`--ds-motion-chart-mark-detail-duration` (180ms) what follows a mark, its value label or marker. They
|
|
142
|
+
sit on three new primitives: `--duration-slowest` (600ms, 0ms under reduced motion),
|
|
143
|
+
`--ease-emphasized-decelerate` and `--ease-settle`, a critically damped spring that never
|
|
144
|
+
overshoots.
|
|
145
|
+
|
|
146
|
+
- **`--ds-description-list-value-min-width`** (default `14rem`): the narrowest value a horizontal
|
|
147
|
+
`ds-description-list` keeps beside its label before every item stacks.
|
|
148
|
+
|
|
149
|
+
### Changed
|
|
150
|
+
|
|
151
|
+
- **The Unpin control sits at the top end of a chart, on its caption's line** (was: floating over the
|
|
152
|
+
bottom centre, where it covered axis labels, legends and tables). While it shows, a caption leaves
|
|
153
|
+
room for it and a chart with no caption gains the line, so it covers nothing.
|
|
154
|
+
|
|
155
|
+
- **A held mark always shows its pin disc**: a column, a bar, a slice, a funnel stage, a heat map
|
|
156
|
+
cell, a scatter point, a line marker, and a category held under the category cursor (a disc at the
|
|
157
|
+
foot of its band).
|
|
158
|
+
|
|
159
|
+
- **The pointer cursor appears where a click does something**: over a mark a click would hold, a mark
|
|
160
|
+
set `interactive`, and a category band under the category cursor when a press holds it. The gap
|
|
161
|
+
between two bands keeps the default cursor.
|
|
162
|
+
|
|
163
|
+
- **Naming a series or a category highlights it on every chart, and the dimming follows the answered
|
|
164
|
+
mark.** A legend entry dims the other series as before; a `ds-funnel-chart` stage row dims the other
|
|
165
|
+
stages whatever `dimOthers` says; a heat map's scale step dims every cell outside that step; a bar's
|
|
166
|
+
label, and a `ds-chart` category label on the axis without the category cursor (`ds-waterfall-chart`
|
|
167
|
+
included), dim the other bars. `dimOthers` follows the mark the chart has answered rather than the
|
|
168
|
+
raw hover, so the fade waits out the hover delay with the tooltip and follows focus. A hand-composed
|
|
169
|
+
mark reads `CHART_SCALES.categoryLabelHover` and `CHART_SCALES.hoverDelayMs` to answer the same way.
|
|
170
|
+
|
|
171
|
+
- **A column's hover area stops at its own category band** (was: the whole step to the next column),
|
|
172
|
+
so the gap between two columns answers no pointer.
|
|
173
|
+
|
|
174
|
+
- **A chart tooltip fades in rather than scaling in**, so its rows no longer drift into place each
|
|
175
|
+
time it opens on another mark. `--ds-overlay-enter-keyframes` still overrides it; every other
|
|
176
|
+
overlay keeps its scale.
|
|
177
|
+
|
|
178
|
+
- **A category tooltip lists its readings top to bottom, in the order their marks are drawn at that
|
|
179
|
+
category** (was: the order the series were declared). The legend keeps the declared order. A
|
|
180
|
+
hand-composed mark that reports its readings through `CHART_SCALES` places each one by its `y`, its
|
|
181
|
+
height in plot pixels from the top; a reading without it follows the placed ones in declared order.
|
|
182
|
+
|
|
183
|
+
- **A hatched column's stripes run from bottom left to top right, and the tooltip swatch's stripe runs
|
|
184
|
+
the same way.** Width, colour and repeat are unchanged.
|
|
185
|
+
|
|
186
|
+
- **A tooltip swatch is ringed only when its colour would vanish into the panel.** A swatch below 3:1
|
|
187
|
+
contrast against the tooltip background takes a 1.5px ring in the tooltip's text colour, drawn inside
|
|
188
|
+
the 12px dot; every other swatch has no ring (was: every swatch, ringed outside the dot in the
|
|
189
|
+
surface colour). The check follows the theme, so a colour ringed on the light panel can go unringed
|
|
190
|
+
on the dark one.
|
|
191
|
+
|
|
192
|
+
### Fixed
|
|
193
|
+
|
|
194
|
+
- **A tap that pins a mark on a touch screen stays pinned.** The click a browser sends after the tap
|
|
195
|
+
no longer unpins it.
|
|
196
|
+
|
|
197
|
+
- **Under the category cursor, focus on a column names its category, and focus leaving clears it.**
|
|
198
|
+
Focusing a `dsColumnSeries` column opens the band and the category panel, as focusing a
|
|
199
|
+
`dsLineSeries` marker already did, and focus leaving a column or a marker takes the band and the
|
|
200
|
+
panel down (was: they stayed on screen after focus had gone).
|
|
201
|
+
|
|
202
|
+
- **A `ds-bar-chart` bar grows out of its value axis in a right-to-left page** (was: from the far
|
|
203
|
+
end).
|
|
204
|
+
|
|
205
|
+
- **The `dsTooltip` panel wraps a value with no break opportunity.** A long file name or id ran past
|
|
206
|
+
the panel's edge on one line; it now breaks inside the panel's max width.
|
|
207
|
+
|
|
208
|
+
- **`ds-select`, `ds-autocomplete` and `ds-multi-select` disclose a clipped label.** `ds-select` shows
|
|
209
|
+
its trigger value and option labels, `ds-autocomplete` its option and create labels, and
|
|
210
|
+
`ds-multi-select` its option labels in a tooltip when an ellipsis cuts one off; a label that fits
|
|
211
|
+
shows none.
|
|
212
|
+
|
|
213
|
+
- **A clipped label inside a button or a clickable row discloses on keyboard focus.** A
|
|
214
|
+
`dsTooltipWhenClipped` host that cannot take focus opened on hover only. It now also opens when
|
|
215
|
+
keyboard focus lands on its nearest focusable ancestor, and closes on that ancestor's blur, click or
|
|
216
|
+
any key; a mouse click opens nothing, an ancestor focusable only through a negative `tabindex`
|
|
217
|
+
(such as a `<main tabindex="-1">` that takes focus on navigation) opens nothing, and of several
|
|
218
|
+
clipped hosts in one ancestor only the first opens. This covers `ds-select`'s trigger value and
|
|
219
|
+
`ds-table`'s clipped cells in an interactive row. A plain `dsTooltip` without
|
|
220
|
+
`dsTooltipWhenClipped` on a non-focusable element stays hover-only.
|
|
221
|
+
|
|
222
|
+
- **A clipped-text tooltip is read once by a screen reader.** A `dsTooltipWhenClipped` tip whose text
|
|
223
|
+
the host already contains set `aria-describedby` on the focused element, so the text was announced
|
|
224
|
+
as its name and again as its description. It now sets none, on a focusable host or its ancestor; a
|
|
225
|
+
tip given a `dsTooltip` that says more than the host still describes it, as does a plain
|
|
226
|
+
`dsTooltip`. A test asserting `aria-describedby` on a clipped disclosure finds none.
|
|
227
|
+
|
|
228
|
+
- **`ds-pagination` handles an empty list.** With `total` at `0` the range read `Showing 1-0 of 0` and
|
|
229
|
+
page 1 was marked current; it now reads `Showing 0 of 0`, disables every button, Previous and Next
|
|
230
|
+
included, and marks none current.
|
|
231
|
+
|
|
232
|
+
- **A paged `ds-table` announces an emptied table.** Its live region went silent when a filter or new
|
|
233
|
+
data left the table with no rows; it now announces the table's empty state - the `[empty]` content
|
|
234
|
+
or `emptyTemplate` text - or, with no empty-state text, its range announcement (`Showing 0 of 0` by
|
|
235
|
+
default).
|
|
236
|
+
|
|
237
|
+
### What you can now DELETE
|
|
238
|
+
|
|
239
|
+
| Delete | Why | Replace with |
|
|
240
|
+
| --- | --- | --- |
|
|
241
|
+
| a `pinOnClick`, `pinOnClick="true"` or `[pinOnClick]="true"` binding on a chart or a `dsColumnSeries` / `dsLineSeries` mark | a click holds a mark by default, so a binding of `true` restates it | nothing; keep it where `DS_CONFIG.chart.pinOnClick` is `false` and this chart is the exception |
|
|
242
|
+
| a `cursorPin`, `cursorPin="true"` or `[cursorPin]="true"` binding on `ds-chart` | a press holds the category cursor by default, so a binding of `true` restates it | nothing; keep it where `DS_CONFIG.chart.pinOnClick` is `false` and this chart is the exception |
|
|
243
|
+
| a `[title]=` or `[attr.title]=` on a `ds-select`, `ds-autocomplete` or `ds-multi-select` that repeats the selected or option label | the picker shows a clipped label in full in a tooltip, so the title adds a second, native one | nothing; a `title` that says more than the label stays legitimate |
|
|
244
|
+
| an `[orientation]` on `ds-description-list` switched on a viewport breakpoint, such as `'stacked' : 'horizontal'`, only to stack a narrow list | a horizontal list stacks by itself once a value would get less than `--ds-description-list-value-min-width` | `--ds-description-list-value-min-width` on the list where the switch has to move; keep a switch driven by something other than width |
|
|
245
|
+
|
|
246
|
+
## 0.14.1 — 2026-09-24
|
|
247
|
+
|
|
248
|
+
### Breaking
|
|
249
|
+
|
|
250
|
+
- **`ds-chart`'s `cursor` gains `'auto'` and defaults to it.** The type is `'none' | 'category' | 'auto'`
|
|
251
|
+
(was `'none' | 'category'`) and the default is `'auto'` (was `'none'`). `'auto'` draws the category
|
|
252
|
+
cursor on a plot of two or more marks that show a tooltip, and no cursor otherwise. On such a plot
|
|
253
|
+
the pointer anywhere in a category now opens one panel naming every mark's reading instead of the
|
|
254
|
+
per-mark panel; set `cursor="none"` to keep per-mark. Code that reads `ChartComponent.cursor()`
|
|
255
|
+
back through a `viewChild`, a `#chart="dsChart"` reference or a subclass must handle `'auto'`. The
|
|
256
|
+
`ds-column-chart`, `ds-line-chart` and `ds-waterfall-chart` presets are unaffected.
|
|
257
|
+
|
|
258
|
+
- **The chart tooltip's `preferBelow` steering is gone; a held panel opens above its mark.**
|
|
259
|
+
`ChartComponent.tooltipPreferBelow` is now `tooltipPinned`, and the internal
|
|
260
|
+
`ChartTooltipDirective` drops `dsChartTooltipPreferBelow` for `dsChartTooltipPinned`. Delete every
|
|
261
|
+
`[dsChartTooltipPreferBelow]` binding. A custom mark that hands `CHART_SCALES.reportTooltip` a
|
|
262
|
+
source renames its `preferBelow` field to `pinned`; a `pinned` panel takes the pointer so its text
|
|
263
|
+
can be selected. A `preferBelow` reached through a variable still compiles and is ignored. The
|
|
264
|
+
library's own charts need nothing.
|
|
265
|
+
|
|
266
|
+
- **`--ds-chart-hatch-width` defaults to `1.5px` (was `3px`), and the stripe runs down the middle of
|
|
267
|
+
its tile.** The hatch slants from top left to bottom right, and the tooltip swatch draws its stripe
|
|
268
|
+
at the same angle and width. The default draws the same stripe as before. A stylesheet that sets
|
|
269
|
+
`--ds-chart-hatch-width` halves the value to keep its stripe (`--ds-chart-hatch-width:
|
|
270
|
+
calc(<your value> / 2)`); an override left at `3px` now draws a 3px stripe in the 8px repeat and
|
|
271
|
+
reads as a paler mark. The default ships in `styles/tokens-charts`, which `styles/ds` forwards.
|
|
272
|
+
|
|
273
|
+
- **`ds-auth-layout`'s `landmark` defaults to `'main'` (was `'none'`).** A standalone sign-in page
|
|
274
|
+
needs nothing; its card is now the main landmark on its own. Add `landmark="none"` to every
|
|
275
|
+
`ds-auth-layout` rendered inside a `<main>` or a `role="main"` element, `ds-app-layout`'s content
|
|
276
|
+
included, or the page exposes two main landmarks. Remove a now-redundant `landmark="main"`.
|
|
277
|
+
|
|
278
|
+
- **`ds-auth-layout`'s generated lockup matches `ds-sidenav`'s rail.** The wordmark is 18px (was
|
|
279
|
+
22px) and the letter-mark tile is a fixed 28px (was 24-32px by viewport height), so the tile no
|
|
280
|
+
longer compresses on a short viewport and a card that just fitted a landscape phone can scroll by
|
|
281
|
+
4px. Two hooks size the type: `--ds-auth-layout-brand-name-font-size` (18px) and
|
|
282
|
+
`--ds-auth-layout-mark-font-size` (16px). To keep the old lockup: `ds-auth-layout {
|
|
283
|
+
--ds-auth-layout-brand-name-font-size: var(--font-size-h4); --ds-auth-layout-mark-size:
|
|
284
|
+
clamp(var(--space-6), 4svh, var(--space-8)); }`.
|
|
285
|
+
|
|
286
|
+
- **A logo projected into `ds-auth-layout`'s `[brand]` slot is capped at the tile height, 28px.**
|
|
287
|
+
`--ds-auth-layout-brand-max-height` defaults to the tile (was `none`), so a logo sized by its width
|
|
288
|
+
alone now shrinks to 28px tall, keeping its ratio. Set `ds-auth-layout {
|
|
289
|
+
--ds-auth-layout-brand-max-height: none; }` to leave it unconstrained, or a height of your own.
|
|
290
|
+
`ds-sidenav`'s `[brand]` slot is unchanged.
|
|
291
|
+
|
|
292
|
+
- **`ds-button` and `ds-icon-button` colour and variant classes are spelled out.** On the inner
|
|
293
|
+
button `.c-{color}` is now `.color-{color}` and `.v-{variant}` is `.variant-{variant}`: rename
|
|
294
|
+
`.c-secondary`, `.c-tertiary`, `.c-neutral`, `.c-error`, `.c-success`, `.c-warning` to
|
|
295
|
+
`.color-secondary` ... `.color-warning`, and `.v-tonal`, `.v-ghost`, `.v-outline`, `.v-text` to
|
|
296
|
+
`.variant-tonal` ... `.variant-text`, in selectors scoped under `ds-button`; `ds-icon-button` takes
|
|
297
|
+
the same colour rename. Better: key the rule off the host, `ds-button[data-color="error"]` or
|
|
298
|
+
`ds-button[data-variant="outline"]`. `.color-primary` and `.variant-solid` do not exist: the
|
|
299
|
+
default carries no class, as `.c-primary` and `.v-solid` never did. Bindings (`color="error"`,
|
|
300
|
+
`variant="outline"`) are unaffected; a selector left on an old class matches nothing, and a
|
|
301
|
+
`:not(.c-error)` chain stops excluding anything.
|
|
302
|
+
|
|
303
|
+
- **`DS_CONFIG.chart.emptyText` and `DS_CONFIG.chart.errorText` are removed for `provideDsIntl`.**
|
|
304
|
+
Move them out of `provideDsConfig` into `provideDsIntl({ chart: { empty: '...', error: '...' } })`
|
|
305
|
+
on the same injector. Deleting the keys without adding `provideDsIntl` compiles and silently
|
|
306
|
+
restores the English 'No data' and 'Could not load the data'. The per-chart `[emptyText]` and
|
|
307
|
+
`[errorText]` inputs are unchanged and still win.
|
|
308
|
+
|
|
309
|
+
- **Seventeen text inputs default to `null` and fall back to `DS_INTL`.** Each went from
|
|
310
|
+
`input<string>` with an English default to `input<string | null>(null)` (and `ds-table`'s
|
|
311
|
+
`sortAnnouncement` / `rangeAnnouncement` from a function `T` to `T | null`): `placeholder` on
|
|
312
|
+
`ds-autocomplete`, `ds-multi-select`, `ds-date-picker`, `ds-search`; `searchPlaceholder` on
|
|
313
|
+
`ds-multi-select`; `ariaLabel` on `ds-color-picker`, `ds-otp-input`; `closeLabel` on `ds-tag`;
|
|
314
|
+
`countLabel` on `ds-badge`; `moreLabel` and `panelLabel` on `ds-filter-bar`; `menuLabel` on
|
|
315
|
+
`ds-split-button`; `railLabel` on `ds-app-layout`; `otherLabel` on `ds-pie-chart`;
|
|
316
|
+
`noVisibleSeriesText` on `ds-line-chart`; `sortAnnouncement` and `rangeAnnouncement` on `ds-table`.
|
|
317
|
+
Binding these in a template is unaffected. Code that reads the raw input back, or a subclass
|
|
318
|
+
overriding it, handles `null` or reads the new matching `...Resolved` readback: a reader comparing
|
|
319
|
+
`placeholder()` to `'Select…'` now sees `null` for an unset field and takes the other branch with no
|
|
320
|
+
compile error.
|
|
321
|
+
|
|
322
|
+
- **Chart numbers and percentages format in `DsConfig.locale`, then `LOCALE_ID`.** The built-in value
|
|
323
|
+
format (`ds-bar-chart`, `ds-column-chart`, `ds-line-chart`, `ds-pie-chart`, `ds-funnel-chart`,
|
|
324
|
+
`ds-heatmap-chart`, `ds-scatter-chart`, `ds-waterfall-chart`, and `ds-chart` with its series,
|
|
325
|
+
including hand-composed `dsColumnSeries` / `dsLineSeries`) reads one locale instead of the
|
|
326
|
+
browser's default. Percentages use `Intl`'s percent style rather than `toFixed(1)` + `%`, so de-DE
|
|
327
|
+
prints `13,5 %` with a space and a test expecting `13,5%` fails. An app that never provided
|
|
328
|
+
`LOCALE_ID` now prints en-US grouping where it printed the browser's: set `provideDsConfig({
|
|
329
|
+
locale: '<tag>' })` or provide `LOCALE_ID`. A chart bound to its own `[valueFormat]`, or an app
|
|
330
|
+
with `DS_CONFIG.chart.valueFormat` set, formats values as before; its percentages still change.
|
|
331
|
+
|
|
332
|
+
- **`ds-date-picker` falls back to `DS_CONFIG.datePicker.locale`, then `DsConfig.locale`, then
|
|
333
|
+
`LOCALE_ID` (was a hard `'en-US'`).** A picker with no `[locale]` binding, in an app that provides
|
|
334
|
+
`LOCALE_ID` or `DsConfig.locale`, now renders month and weekday names and the typed-value order in
|
|
335
|
+
that locale; under a de-DE `LOCALE_ID` the order becomes `DD.MM.YYYY`. An app that provides neither
|
|
336
|
+
still gets en-US. To keep en-US: `provideDsConfig({ datePicker: { locale: 'en-US' } })`.
|
|
337
|
+
|
|
338
|
+
- **`ds-dropzone` formats file sizes in the locale.** A listed file's size reads `DsConfig.locale`,
|
|
339
|
+
then `LOCALE_ID`; under a de-DE locale `1.5 MB` reads `1,5 MB`. Under en-US the text is unchanged
|
|
340
|
+
below 1000 MB and gains a group separator from 1000 MB (`1,024.0 MB`). To pin a dot decimal:
|
|
341
|
+
`provideDsConfig({ locale: 'en-US' })`, which also pins chart numbers and `ds-date-picker`.
|
|
342
|
+
|
|
343
|
+
- **`ds-textarea` text size resolves `--ds-input-font-size`, then `--ds-field-font-size`, then
|
|
344
|
+
`--font-size-s` (was fixed at `--font-size-s`).** A `ds-textarea` under an ancestor that sets
|
|
345
|
+
`--ds-input-font-size` now takes that size; one under no such declaration is unchanged, and
|
|
346
|
+
`ds-input` is unchanged. To keep 14px under an ancestor that pinned another size: `ds-textarea {
|
|
347
|
+
--ds-input-font-size: var(--font-size-s); }`.
|
|
348
|
+
|
|
349
|
+
- **`ds-search`'s hover border defaults to its own resting border (was `--border-default`).** A
|
|
350
|
+
`ds-search` whose rest border you coloured through `--ds-search-border` or
|
|
351
|
+
`--ds-field-border-color` now keeps that colour under the pointer instead of reverting to grey; one
|
|
352
|
+
under neither draws exactly what it drew. To restore the grey hover: `ds-search {
|
|
353
|
+
--ds-search-border-hover: var(--border-default); }`.
|
|
354
|
+
|
|
355
|
+
- **Subclassing one of these breaks on a name collision.** Every one gained a member - most an
|
|
356
|
+
`intl` accessor and the `...Resolved` readbacks that pair with the nullable text inputs above, the
|
|
357
|
+
nine chart components also `renderReady`: `AccordionComponent`, `AccordionItemComponent`,
|
|
358
|
+
`AlertComponent`, `AppLayoutComponent`, `AuthLayoutComponent`, `AutocompleteComponent`,
|
|
359
|
+
`AvatarComponent`, `AvatarGroupComponent`, `BadgeComponent`, `BannerComponent`,
|
|
360
|
+
`BarChartComponent`, `BreadcrumbsComponent`, `ChartComponent`, `ColumnSeriesComponent`,
|
|
361
|
+
`LineSeriesComponent`, `ChartDataTableComponent`, `ColorPickerComponent`, `ColumnChartComponent`,
|
|
362
|
+
`DatePickerComponent`, `DescriptionItemComponent`, `DrawerComponent`, `DropzoneComponent`,
|
|
363
|
+
`FilterBarComponent`, `FunnelChartComponent`, `HeatmapChartComponent`, `InputComponent`,
|
|
364
|
+
`LineChartComponent`, `ModalCardComponent`, `MultiSelectComponent`, `NumberStepperComponent`,
|
|
365
|
+
`OtpInputComponent`, `PaginationComponent`, `PasswordRulesComponent`, `PieChartComponent`,
|
|
366
|
+
`ScatterChartComponent`, `SearchComponent`, `SelectComponent`, `SidenavGroupComponent`,
|
|
367
|
+
`SidenavFooterComponent`, `SliderComponent`, `SpinnerComponent`, `SplitButtonComponent`,
|
|
368
|
+
`StepperComponent`, `TableComponent`, `DsTableExport`, `TabsComponent`, `TagComponent`,
|
|
369
|
+
`TextareaComponent`, `TimePickerComponent`, `ToastComponent`, `ToastRegionComponent`,
|
|
370
|
+
`W3wComponent` and `WaterfallChartComponent`, and seven internal classes reachable only through
|
|
371
|
+
their own entry points: the internal `ChartLegendComponent`, the internal `ChartTooltipDirective`,
|
|
372
|
+
the internal `ModalConfirmComponent`, the internal `TableColumnsPanelComponent`, the internal
|
|
373
|
+
`TableColumnsTriggerComponent`, the internal `TableExportButtonComponent` and the internal
|
|
374
|
+
`TimeColumnsComponent`. Four members are gone:
|
|
375
|
+
`ChartComponent.tooltipPreferBelow`, `ColumnSeriesComponent.onMarkBlur`,
|
|
376
|
+
`LineSeriesComponent.onMarkerBlur` and the internal `ChartTooltipDirective.dsChartTooltipPreferBelow`.
|
|
377
|
+
Build after upgrading; rename or mark `override` every member the compiler reports colliding
|
|
378
|
+
(TS4114, or TS2416 where the signature differs - `AuthLayoutComponent`'s `landmark` default moved),
|
|
379
|
+
and delete an override whose base member is gone. A method named like a removed member and declared
|
|
380
|
+
without `override` still compiles and is never called again. Subclassing a DS component is
|
|
381
|
+
unsupported.
|
|
382
|
+
|
|
383
|
+
### Added
|
|
384
|
+
|
|
385
|
+
- **`DS_CONFIG.chart.rendering` builds charts as they near the viewport, for a page that asks.**
|
|
386
|
+
Off by default: every chart draws as soon as it is created, which is right for a screen with a
|
|
387
|
+
few of them. A dashboard or a report with dozens sets `deferUntilVisible: true`, and each chart
|
|
388
|
+
then holds its place with a still placeholder of its own shape until it comes within
|
|
389
|
+
`visibleMargin` (default `'10% 0px'`) of the viewport. `buildAheadWhileIdle` (default `true`)
|
|
390
|
+
builds the charts within `buildAheadMargin` (default `'100% 0px'`) while the page is idle,
|
|
391
|
+
`frameBudgetMs` (default `8`) caps how long one task spends building, and `skipWhileOffscreen`
|
|
392
|
+
(default `true`) lets the browser skip a built chart's rendering off screen. Until a deferred
|
|
393
|
+
chart is built a screen reader meets its caption only. `BarChartComponent`,
|
|
394
|
+
`ColumnChartComponent`, `LineChartComponent`, `PieChartComponent`, `FunnelChartComponent`,
|
|
395
|
+
`HeatmapChartComponent`, `ScatterChartComponent`, `WaterfallChartComponent` and `ChartComponent`
|
|
396
|
+
each gained a protected `renderReady`, so a subclass declaring that name needs `override`.
|
|
397
|
+
|
|
398
|
+
- **`ds-skeleton` takes `shimmer` and `--ds-skeleton-wave-steps`.** `[shimmer]="false"` draws a
|
|
399
|
+
still block of the same shape, for a space held for something that is not loading yet; the
|
|
400
|
+
charts use it for the placeholder above. `--ds-skeleton-wave-steps` sets how many updates one
|
|
401
|
+
pass takes, default `68` - twenty a second over the default duration; more is smoother and costs
|
|
402
|
+
a main-thread update each. `SkeletonComponent` gained the `shimmer` input, so a subclass
|
|
403
|
+
declaring that name needs `override`.
|
|
404
|
+
|
|
405
|
+
- **`DS_INTL` and `provideDsIntl` hold every string the library renders.** `DS_INTL` is a
|
|
406
|
+
`Signal<DsIntl>`, `DS_INTL_DEFAULTS` its English base, and `provideDsIntl(overrides | () =>
|
|
407
|
+
Signal<overrides>)` merges per section like `provideDsConfig` - an object for one language, or a
|
|
408
|
+
factory returning a signal to switch languages at runtime. Exported from the package root and
|
|
409
|
+
`/core`, with the types `DsIntl`, `DsIntlOverrides`, `DsIntlSortDirection` and `DsIntlStepState`.
|
|
410
|
+
English by default; a text input set on an instance still wins.
|
|
411
|
+
|
|
412
|
+
- **`DsConfig.locale?: string` sets the BCP-47 locale for chart numbers and percentages,
|
|
413
|
+
`ds-date-picker` and `ds-dropzone` file sizes.** Unset, it is Angular's `LOCALE_ID`. Set it through
|
|
414
|
+
`provideDsConfig({ locale: '<tag>' })`.
|
|
415
|
+
|
|
416
|
+
- **Six field-family tokens sit under every text-entry field's own token.** `--ds-field-border-color`,
|
|
417
|
+
`--ds-field-border-color-hover`, `--ds-field-border-color-focus`, `--ds-field-text-color`,
|
|
418
|
+
`--ds-field-placeholder-color` and `--ds-field-font-size` reach `ds-input`, `ds-textarea`,
|
|
419
|
+
`ds-select`, `ds-multi-select`, `ds-autocomplete` and `ds-search`; a per-component token such as
|
|
420
|
+
`--ds-input-border` still wins where set. The date, time and colour pickers, the number stepper and
|
|
421
|
+
the OTP cells are not in the family. Every default is the value each field already drew.
|
|
422
|
+
|
|
423
|
+
- **`ds-select`, `ds-multi-select` and `ds-search` take their own size and colour hooks.**
|
|
424
|
+
`ds-select`: `--ds-select-border-color-focus` (read by the focused and the open trigger alike),
|
|
425
|
+
`--ds-select-border-color-hover`, `--ds-select-placeholder-color`, `--ds-select-font-size`.
|
|
426
|
+
`ds-multi-select`: `--ds-multi-select-border-color-hover`, `--ds-multi-select-placeholder-color`,
|
|
427
|
+
`--ds-multi-select-font-size`. `ds-search`: `--ds-search-font-size`. Every default is the value the
|
|
428
|
+
trigger already drew.
|
|
429
|
+
|
|
430
|
+
- **`ds-autocomplete` takes `--ds-autocomplete-text-color`, `--ds-autocomplete-placeholder-color` and
|
|
431
|
+
`--ds-autocomplete-border-color-hover`.** The text colour covers the typed text and the picked
|
|
432
|
+
value; the placeholder resolves `--text-tertiary` through the field family, as `ds-input`'s does.
|
|
433
|
+
Every default is the value it already drew.
|
|
434
|
+
|
|
435
|
+
- **`ds-button` and `ds-icon-button` take border-colour hooks for hover and press.**
|
|
436
|
+
`--ds-button-border-color-hover` and `--ds-button-border-color-active` on `ds-button`,
|
|
437
|
+
`--ds-icon-button-border-hover` and `--ds-icon-button-border-active` on `ds-icon-button`. Hover
|
|
438
|
+
defaults to the resting border and active to hover, so an unset pair draws what the button drew.
|
|
439
|
+
|
|
440
|
+
- **`ds-empty-state` takes `--ds-empty-state-title-font-family` (default `--font-sans`) and
|
|
441
|
+
`--ds-empty-state-title-font-weight` (default `--font-weight-bold`)**, beside the title's existing
|
|
442
|
+
size and colour hooks.
|
|
443
|
+
|
|
444
|
+
- **`ds-badge` takes `--ds-badge-font-size` and `ds-page-header` takes
|
|
445
|
+
`--ds-page-header-subtitle-font-size`.** `--ds-badge-font-size` defaults to `--font-size-xs`; a
|
|
446
|
+
count badge keeps `--font-size-2xs` until the token is set. `--ds-page-header-subtitle-font-size`
|
|
447
|
+
defaults to `--font-size-s`.
|
|
448
|
+
|
|
449
|
+
- **`ds-banner` takes `--ds-banner-title-font-size`** beside `--ds-banner-body-font-size`; it
|
|
450
|
+
defaults to `--font-size-s`, what the title drew.
|
|
451
|
+
|
|
452
|
+
- **`ds-table` takes utility-column and footer-padding hooks.** `--ds-table-utility-column-width` and
|
|
453
|
+
`--ds-table-utility-column-padding-x` size the trailing column that carries the column picker and
|
|
454
|
+
the row-actions button; the width default moves from `--space-10` to `--space-6`, the buttons' own
|
|
455
|
+
size, and because cells are border-box nothing moves unless `--ds-table-cell-padding-x` is below
|
|
456
|
+
8px, where the column narrows to button plus padding. `--ds-table-footer-padding-y` (default
|
|
457
|
+
`--space-3`), with `--ds-table-footer-padding-top` and `--ds-table-footer-padding-bottom` falling
|
|
458
|
+
back to it, sets the pagination footer's block padding.
|
|
459
|
+
|
|
460
|
+
- **Chart legends take `--ds-chart-legend-hover-bg-color` and `--ds-chart-legend-hover-text-color`**
|
|
461
|
+
for the hover and focus state of a legend entry (defaults `--surface-secondary` and
|
|
462
|
+
`--text-primary`).
|
|
463
|
+
|
|
464
|
+
- **`ds-accordion` takes `chevron`, and `ds-accordion-item` takes eight styling hooks.** `chevron:
|
|
465
|
+
'right' | 'down'` (default `'right'`, type `AccordionChevron`): `'down'` draws a downward chevron
|
|
466
|
+
that turns up when the item opens. `ds-accordion-item` reads `--ds-accordion-header-padding`,
|
|
467
|
+
`--ds-accordion-header-gap`, `--ds-accordion-header-font-family`, `--ds-accordion-header-font-size`,
|
|
468
|
+
`--ds-accordion-header-font-weight`, `--ds-accordion-header-line-height`,
|
|
469
|
+
`--ds-accordion-header-hover-text-color` and `--ds-accordion-body-padding`. Every default is the
|
|
470
|
+
value the item already drew.
|
|
471
|
+
|
|
472
|
+
- **`ds-bar-chart` takes `highlighted`.** It names one segment by id, or by its position where it has
|
|
473
|
+
none, and fades every other segment in every row to `--ds-chart-dim-opacity`. Unset changes
|
|
474
|
+
nothing.
|
|
475
|
+
|
|
476
|
+
- **`g[dsColumnSeries]` takes `axis: 'primary' | 'secondary'` (default `'primary'`).**
|
|
477
|
+
`axis="secondary"` measures the columns against the second value axis, as `axis: 'secondary'` does
|
|
478
|
+
in a line series' data.
|
|
479
|
+
|
|
480
|
+
- **The `check-overrides` schematic: `ng g @ids-group-ltd/ids-design-system:check-overrides`.**
|
|
481
|
+
Read-only: it reports every `--ds-*` custom property a stylesheet, `[style.--ds-*]` or
|
|
482
|
+
`setProperty` sets that the installed version never reads, and every `ds-*` selector naming a class
|
|
483
|
+
the component does not render. Options `strict` (default false; set, it fails when anything is
|
|
484
|
+
reported) and `path` (default `/`).
|
|
485
|
+
|
|
486
|
+
- **`AnnounceState` is exported, and `ds-banner` / `ds-alert` warn once per instance in dev mode when
|
|
487
|
+
`announce` was never decided.** The warning fires for an error, warning or severe banner (error or
|
|
488
|
+
warning alert) left unbound while `DS_CONFIG.banner.announce` (`alert.announce`) is unset, and for
|
|
489
|
+
an info, success or neutral one that announces only because that key is true. Setting the key
|
|
490
|
+
either way ends the first, an `[announce]` binding ends the second; neither reaches a production
|
|
491
|
+
build.
|
|
492
|
+
|
|
493
|
+
### Changed
|
|
494
|
+
|
|
495
|
+
- **Chart legend entries take a hover and focus state.** In `ds-line-chart`, `ds-column-chart`,
|
|
496
|
+
`ds-scatter-chart`, `ds-chart-legend` and the `ds-pie-chart` legend, an entry under the pointer or
|
|
497
|
+
holding keyboard focus gets a `--surface-secondary` tint and `--text-primary` text through
|
|
498
|
+
`--ds-chart-legend-hover-bg-color` and `--ds-chart-legend-hover-text-color`; the entry's padding is
|
|
499
|
+
paid back as a negative margin, so no legend row moves. Hovering or focusing a `ds-pie-chart`
|
|
500
|
+
legend entry fades the other slices whether or not `dimOthers` is set, as the other chart legends
|
|
501
|
+
do; `dimOthers` still governs a pointer over the ring.
|
|
502
|
+
|
|
503
|
+
- **A category panel hangs over the highest reading at its category, wherever in the band the pointer
|
|
504
|
+
is.** With the pointer beside a column it hung over a lower line marker.
|
|
505
|
+
|
|
506
|
+
- **Line-series markers fade in with the line, and a thin funnel `area` stage stays visible.** In
|
|
507
|
+
`ds-line-chart` and `ds-chart` line series the point markers fade in with the line and area, on the
|
|
508
|
+
same delay and stagger. A `ds-funnel-chart` with `shape="area"` draws a stage whose share is too
|
|
509
|
+
small to clear the band gap as a band half a gap deep (about 3px at the default stage height) about
|
|
510
|
+
its own middle, instead of a zero-height line; a stage of value 0 still draws nothing.
|
|
511
|
+
|
|
512
|
+
- **`ds-pie-chart` draws a held slice's pin badge as an HTML element over the ring.** It is 22px
|
|
513
|
+
(`--ds-chart-pin-size`) at any ring size, with the pin glyph centred in its circle.
|
|
514
|
+
|
|
515
|
+
- **A click on a chart series leaves focus where it was.** Clicking a `g[dsColumnSeries]` or
|
|
516
|
+
`g[dsLineSeries]` series, or a `ds-scatter-chart` series, no longer moves focus onto the series
|
|
517
|
+
group and draws a focus rectangle around all its marks. The keyboard reaches each mark as before.
|
|
518
|
+
|
|
519
|
+
- **Neutral rows and small buttons darken one step on press, to `--surface-muted`.** The controls that
|
|
520
|
+
had a hover fill and no pressed state: the sidenav group header and caret, the sidenav footer's
|
|
521
|
+
rows, more button, search results and alerts, the date picker's period trigger, nav buttons, month
|
|
522
|
+
and year cells and presets, the time picker's option cells and action buttons, the toast action,
|
|
523
|
+
the description-list copy button, the multi-select select-all row and the tab close button. An
|
|
524
|
+
interactive `ds-tag` takes the shared press dip too, and reads `--ds-press-brightness` and
|
|
525
|
+
`--ds-press-scale`.
|
|
526
|
+
|
|
527
|
+
### Fixed
|
|
528
|
+
|
|
529
|
+
- **`ds-modal` and `ds-modal-card` measure their actions row again when its content changes.** The
|
|
530
|
+
row was measured on first render and when the header resized, so a button label that grew after the
|
|
531
|
+
modal opened ('Saving…', a count) left the row on one line and clipped the first button at the
|
|
532
|
+
card's start edge. A changed label or a changed set of actions now stacks or unstacks the row the
|
|
533
|
+
same way the first render does.
|
|
534
|
+
|
|
535
|
+
- **Column and line series draw before the width is measured.** They waited for the first
|
|
536
|
+
measurement, so they drew nothing wherever the page is never laid out - a frozen snapshot, a
|
|
537
|
+
headless render in virtual time - and the axes showed a frame before the marks.
|
|
538
|
+
|
|
539
|
+
- **A closing modal backdrop, drawer and bottom sheet stay click-through for the whole leave.** Under
|
|
540
|
+
reduced motion the invisible scrim could take a click aimed at the page for up to 300ms after the
|
|
541
|
+
close; a click on the page during a close now reaches it.
|
|
542
|
+
|
|
543
|
+
### What you can now DELETE
|
|
544
|
+
|
|
545
|
+
| Delete | Why | Replace with |
|
|
546
|
+
| --- | --- | --- |
|
|
547
|
+
| a `.modal-backdrop.closing`, `.drawer-scrim.closing` or `.sheet-overlay.closing` rule forcing `pointer-events: none` | the library's closing roots are click-through for the whole leave | nothing; a rule that also shortens `animation-duration` under reduced motion may stay |
|
|
548
|
+
| a doubled-class rule such as `.head.head`, `.chev.chev` or `.body-content.body-content` under `ds-accordion-item` | the header padding, gap, type and hover colour, the body padding and the chevron direction are tokens and an input | `--ds-accordion-header-padding` / `-gap` / `-font-*` / `-hover-text-color` and `--ds-accordion-body-padding` on the item; `chevron="down"` on the `ds-accordion` |
|
|
549
|
+
| a rule recolouring `.dropdown:focus-visible` or `.dropdown.open` under `ds-select`, with or without `!important` | the focused and the open trigger resolve `--ds-select-border-color-focus` | `--ds-select-border-color-focus` on the `ds-select`, or `--ds-field-border-color-focus` for every field |
|
|
550
|
+
| a `.autocomplete-input.autocomplete-input` rule setting `color` or `::placeholder` | the filter input resolves its text and placeholder colours from tokens | `--ds-autocomplete-text-color` and `--ds-autocomplete-placeholder-color`, or `--ds-field-text-color` / `--ds-field-placeholder-color` for every field |
|
|
551
|
+
| a `ds-button .button.v-outline:hover` or `ds-icon-button .icon-button:hover` rule recolouring the inner button's edge | the hover and press border colours are tokens that fall back to the resting border | `--ds-button-border-color-hover` / `-active` on the `ds-button`, `--ds-icon-button-border-hover` / `-active` on the `ds-icon-button` |
|
|
552
|
+
| a `ds-empty-state .title` or `.title.title` rule setting `font-family` or `font-weight` | the title's face and weight are tokens | `--ds-empty-state-title-font-family` and `--ds-empty-state-title-font-weight` on the `ds-empty-state` |
|
|
553
|
+
| a `ds-badge .badge` or `ds-page-header .subtitle` rule sizing the label | the badge label size and the page-header subtitle size are tokens | `--ds-badge-font-size` on the `ds-badge`, `--ds-page-header-subtitle-font-size` on the `ds-page-header` |
|
|
554
|
+
| a `ds-banner .banner.compact .title` rule sizing the title | the title size is a token | `--ds-banner-title-font-size` on the `ds-banner` |
|
|
555
|
+
| a `ds-table .actions-col` or `.actions-col` rule squeezing the utility column | the utility column's width and horizontal padding are tokens | `--ds-table-utility-column-width` and `--ds-table-utility-column-padding-x` on the `ds-table` |
|
|
556
|
+
| a `.pagination-footer.pagination-footer` rule re-padding the footer | the footer's top and bottom padding are tokens | `--ds-table-footer-padding-top` / `-bottom` (or `-y`) on the `ds-table` |
|
|
557
|
+
| `cursor="category"` on a `ds-chart` holding two or more marks that show a tooltip | the default cursor resolves to the category cursor there | nothing; the binding stays legitimate on a `ds-chart` of one such mark |
|
|
558
|
+
| `landmark="main"` on a `ds-auth-layout` | `main` is the default | nothing |
|
|
559
|
+
| `--ds-auth-layout-brand-max-height: var(--ds-auth-layout-mark-size)` | the tile size is the default cap | nothing |
|
|
560
|
+
| a `ds-auth-layout .brand-name` rule sizing the wordmark | the wordmark size is a hook | `--ds-auth-layout-brand-name-font-size` on the `ds-auth-layout` |
|
|
561
|
+
| a `valueFormat: (value, location) =>` copied only to pin a locale, e.g. `value.toLocaleString('en-US'` | the built-in chart format reads `DsConfig.locale`, then `LOCALE_ID` | `provideDsConfig({ locale: 'en-US' })`; a formatter that changes digits, units or rounding stays |
|
|
562
|
+
| a per-element `[countLabel]=`, `[sortAnnouncement]=` or `[rangeAnnouncement]=` that repeats the app-wide translation | the same wording set once in `provideDsIntl` reaches every instance | `provideDsIntl({ ... })` at the root; a binding whose text differs for that one instance stays |
|
|
563
|
+
|
|
3
564
|
## 0.14.0 — 2026-09-24
|
|
4
565
|
|
|
5
566
|
### Breaking
|
|
@@ -61,6 +622,13 @@
|
|
|
61
622
|
the input, then `DS_CONFIG.pagination.layout`, then `'grouped'` - is `layoutResolved()`, which is
|
|
62
623
|
new and public; `sizeResolved()` is public too.
|
|
63
624
|
|
|
625
|
+
- **A `dsCellTemplate` that reads its row needs `[dsCellTemplateOf]` under strict templates.** The
|
|
626
|
+
directive declares a template context guard, so its context is `unknown` until
|
|
627
|
+
`[dsCellTemplateOf]` names the rows; a template reading `row.name` through a context that used to
|
|
628
|
+
be typed `any` fails with TS2571 or TS2345. Bind `[dsCellTemplateOf]` to the same expression as the
|
|
629
|
+
table's `[data]`. A template passed to `rowExpandTemplate` or `cellTemplateMap` carries no guard and
|
|
630
|
+
is unaffected.
|
|
631
|
+
|
|
64
632
|
### Added
|
|
65
633
|
|
|
66
634
|
- **`dsLineSeries` takes an `outline`, on by default.** The line and its markers sit on a band of
|
|
@@ -102,8 +670,9 @@
|
|
|
102
670
|
- **`dsCellTemplate` types its `let-row` from `[dsCellTemplateOf]`.** The directive is generic,
|
|
103
671
|
`CellTemplateDirective<T = unknown>`, and `[dsCellTemplateOf]="rows"` - typing only, never read at
|
|
104
672
|
runtime - types `let-row` as the row type under strict templates. The new exported type
|
|
105
|
-
`CellTemplateContext<T = unknown>` is `{ readonly $implicit: T; readonly row: T }`.
|
|
106
|
-
`rowExpandTemplate`
|
|
673
|
+
`CellTemplateContext<T = unknown>` is `{ readonly $implicit: T; readonly row: T }`. A template
|
|
674
|
+
passed to `rowExpandTemplate` or `cellTemplateMap` carries no context guard, so its row stays
|
|
675
|
+
untyped (`any`).
|
|
107
676
|
|
|
108
677
|
- **Every field control and `ds-search` gain `blur(): void`.** The counterpart of `focus()`: it
|
|
109
678
|
drops focus from whichever descendant of the host holds it, leaving an open overlay panel alone.
|
|
@@ -251,11 +820,11 @@
|
|
|
251
820
|
| --- | --- | --- |
|
|
252
821
|
| `ds-table .expand-panel-cell { display: table-cell }`, or a `::ng-deep` rule of that shape | the expand cell is a table cell, so the rule restates the default - and while it held, it also switched the reveal animation off | nothing |
|
|
253
822
|
| `[dsChartTooltip]="` and the `[dsChartTooltipOrigin]="` / `[dsChartTooltipPreferBelow]="` beside it, on any `g[dsColumnSeries]` or `g[dsLineSeries]` | `ds-chart` opens the panel its marks describe, so a binding on the mark opens a second one | nothing for the ordinary case; `[tooltipTemplate]` and `[tooltipExtraGap]` on `ds-chart` where the panel was customised |
|
|
254
|
-
| a `ds-modal-card .actions` rule setting `flex-wrap: wrap` | the actions row stacks full-width on its own once it outgrows the card
|
|
823
|
+
| a `ds-modal-card .actions` rule setting `flex-wrap: wrap` | the actions row stacks full-width on its own once it outgrows the card on first render; keep the rule where a label or the set of actions changes after the modal opens | nothing |
|
|
255
824
|
| a `.pagination.pagination` or `.pagination-button.pagination-button` rule under `ds-table` forcing the footer pager's width, layout or button height | the footer pager takes its size and layout as inputs | `paginationSize` / `paginationLayout` on `ds-table`, or `provideDsConfig({ pagination: { ... } })`; a height none of `sm`, `md` or `lg` gives stays |
|
|
256
825
|
| `querySelector('input')?.blur()` reaching into a field control to drop focus | every field control has a public `blur()` | `blur()` on the field instance |
|
|
257
826
|
| `querySelector("textarea")` reaching into `ds-textarea` for its selection | the textarea forwards the native selection API | `selectionStart` / `selectionEnd` / `setSelectionRange()` / `select()` on `ds-textarea` |
|
|
258
|
-
| a `(row: unknown)` helper doing `return row as ` your row type for a cell template | `[dsCellTemplateOf]` types `let-row` | `[dsCellTemplateOf]="rows"` on the `dsCellTemplate`;
|
|
827
|
+
| a `(row: unknown)` helper doing `return row as ` your row type for a cell template | `[dsCellTemplateOf]` types `let-row` | `[dsCellTemplateOf]="rows"` on the `dsCellTemplate`; a template passed to `rowExpandTemplate` or `cellTemplateMap` is untyped (`any`) and needs no caster |
|
|
259
828
|
| a wrapper around `ds-switch` that calls `preventDefault()` and does `emit(!this.checked())` to gate a change | `ds-switch` cancels its own toggle under `controlled` and reports the request | `controlled` with `(checkedRequested)`, `[checked]` bound to the committed state |
|
|
260
829
|
|
|
261
830
|
## 0.13.4 — 2026-09-23
|