@ids-group-ltd/ids-design-system 0.14.0 → 0.14.1
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 +330 -4
- package/components.md +81 -43
- package/design-system.md +2 -0
- package/docs/agent/INDEX.md +2 -1
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +2 -1
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-config.md +3 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +4 -3
- 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-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 +1 -1
- 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/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 +2 -2
- 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 +13 -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 +35 -18
- 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 +5 -3
- 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 +22 -29
- 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 +91 -67
- 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 +20 -16
- 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 +4 -2
- 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 +36 -29
- 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 +13 -9
- 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 +23 -20
- 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 +15 -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 +7 -6
- 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 +51 -16
- 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 +17 -10
- 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 +4 -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 +19 -18
- 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 +5 -3
- 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 +5 -4
- 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-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 +14 -15
- 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 +271 -73
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +359 -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/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 +2304 -0
- package/schematics/collection.json +5 -0
- package/styles/_chart-interactive.scss +33 -0
- package/styles/_field-box.scss +12 -0
- package/styles/_overlay-motion.scss +6 -4
- package/styles/_tokens-charts.scss +1 -1
- 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 +18 -10
- 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 +2 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +1 -4
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +38 -18
- 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 +9 -8
- 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 +2 -0
- 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 +11 -9
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +7 -5
- 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 +13 -10
- 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 +3 -1
- 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 +24 -10
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +8 -5
- 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 +10 -5
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +2 -0
- 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 +2 -0
- 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-w3w.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +7 -5
- package/types/ids-group-ltd-ids-design-system-components.d.ts +44 -21
- package/types/ids-group-ltd-ids-design-system-core.d.ts +408 -11
- package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,323 @@
|
|
|
1
1
|
## Unreleased
|
|
2
2
|
|
|
3
|
+
## 0.14.1 — 2026-09-24
|
|
4
|
+
|
|
5
|
+
### Breaking
|
|
6
|
+
|
|
7
|
+
- **`ds-chart`'s `cursor` gains `'auto'` and defaults to it.** The type is `'none' | 'category' | 'auto'`
|
|
8
|
+
(was `'none' | 'category'`) and the default is `'auto'` (was `'none'`). `'auto'` draws the category
|
|
9
|
+
cursor on a plot of two or more marks that show a tooltip, and no cursor otherwise. On such a plot
|
|
10
|
+
the pointer anywhere in a category now opens one panel naming every mark's reading instead of the
|
|
11
|
+
per-mark panel; set `cursor="none"` to keep per-mark. Code that reads `ChartComponent.cursor()`
|
|
12
|
+
back through a `viewChild`, a `#chart="dsChart"` reference or a subclass must handle `'auto'`. The
|
|
13
|
+
`ds-column-chart`, `ds-line-chart` and `ds-waterfall-chart` presets are unaffected.
|
|
14
|
+
|
|
15
|
+
- **The chart tooltip's `preferBelow` steering is gone; a held panel opens above its mark.**
|
|
16
|
+
`ChartComponent.tooltipPreferBelow` is now `tooltipPinned`, and the internal
|
|
17
|
+
`ChartTooltipDirective` drops `dsChartTooltipPreferBelow` for `dsChartTooltipPinned`. Delete every
|
|
18
|
+
`[dsChartTooltipPreferBelow]` binding. A custom mark that hands `CHART_SCALES.reportTooltip` a
|
|
19
|
+
source renames its `preferBelow` field to `pinned`; a `pinned` panel takes the pointer so its text
|
|
20
|
+
can be selected. A `preferBelow` reached through a variable still compiles and is ignored. The
|
|
21
|
+
library's own charts need nothing.
|
|
22
|
+
|
|
23
|
+
- **`--ds-chart-hatch-width` defaults to `1.5px` (was `3px`), and the stripe runs down the middle of
|
|
24
|
+
its tile.** The hatch slants from top left to bottom right, and the tooltip swatch draws its stripe
|
|
25
|
+
at the same angle and width. The default draws the same stripe as before. A stylesheet that sets
|
|
26
|
+
`--ds-chart-hatch-width` halves the value to keep its stripe (`--ds-chart-hatch-width:
|
|
27
|
+
calc(<your value> / 2)`); an override left at `3px` now draws a 3px stripe in the 8px repeat and
|
|
28
|
+
reads as a paler mark. The default ships in `styles/tokens-charts`, which `styles/ds` forwards.
|
|
29
|
+
|
|
30
|
+
- **`ds-auth-layout`'s `landmark` defaults to `'main'` (was `'none'`).** A standalone sign-in page
|
|
31
|
+
needs nothing; its card is now the main landmark on its own. Add `landmark="none"` to every
|
|
32
|
+
`ds-auth-layout` rendered inside a `<main>` or a `role="main"` element, `ds-app-layout`'s content
|
|
33
|
+
included, or the page exposes two main landmarks. Remove a now-redundant `landmark="main"`.
|
|
34
|
+
|
|
35
|
+
- **`ds-auth-layout`'s generated lockup matches `ds-sidenav`'s rail.** The wordmark is 18px (was
|
|
36
|
+
22px) and the letter-mark tile is a fixed 28px (was 24-32px by viewport height), so the tile no
|
|
37
|
+
longer compresses on a short viewport and a card that just fitted a landscape phone can scroll by
|
|
38
|
+
4px. Two hooks size the type: `--ds-auth-layout-brand-name-font-size` (18px) and
|
|
39
|
+
`--ds-auth-layout-mark-font-size` (16px). To keep the old lockup: `ds-auth-layout {
|
|
40
|
+
--ds-auth-layout-brand-name-font-size: var(--font-size-h4); --ds-auth-layout-mark-size:
|
|
41
|
+
clamp(var(--space-6), 4svh, var(--space-8)); }`.
|
|
42
|
+
|
|
43
|
+
- **A logo projected into `ds-auth-layout`'s `[brand]` slot is capped at the tile height, 28px.**
|
|
44
|
+
`--ds-auth-layout-brand-max-height` defaults to the tile (was `none`), so a logo sized by its width
|
|
45
|
+
alone now shrinks to 28px tall, keeping its ratio. Set `ds-auth-layout {
|
|
46
|
+
--ds-auth-layout-brand-max-height: none; }` to leave it unconstrained, or a height of your own.
|
|
47
|
+
`ds-sidenav`'s `[brand]` slot is unchanged.
|
|
48
|
+
|
|
49
|
+
- **`ds-button` and `ds-icon-button` colour and variant classes are spelled out.** On the inner
|
|
50
|
+
button `.c-{color}` is now `.color-{color}` and `.v-{variant}` is `.variant-{variant}`: rename
|
|
51
|
+
`.c-secondary`, `.c-tertiary`, `.c-neutral`, `.c-error`, `.c-success`, `.c-warning` to
|
|
52
|
+
`.color-secondary` ... `.color-warning`, and `.v-tonal`, `.v-ghost`, `.v-outline`, `.v-text` to
|
|
53
|
+
`.variant-tonal` ... `.variant-text`, in selectors scoped under `ds-button`; `ds-icon-button` takes
|
|
54
|
+
the same colour rename. Better: key the rule off the host, `ds-button[data-color="error"]` or
|
|
55
|
+
`ds-button[data-variant="outline"]`. `.color-primary` and `.variant-solid` do not exist: the
|
|
56
|
+
default carries no class, as `.c-primary` and `.v-solid` never did. Bindings (`color="error"`,
|
|
57
|
+
`variant="outline"`) are unaffected; a selector left on an old class matches nothing, and a
|
|
58
|
+
`:not(.c-error)` chain stops excluding anything.
|
|
59
|
+
|
|
60
|
+
- **`DS_CONFIG.chart.emptyText` and `DS_CONFIG.chart.errorText` are removed for `provideDsIntl`.**
|
|
61
|
+
Move them out of `provideDsConfig` into `provideDsIntl({ chart: { empty: '...', error: '...' } })`
|
|
62
|
+
on the same injector. Deleting the keys without adding `provideDsIntl` compiles and silently
|
|
63
|
+
restores the English 'No data' and 'Could not load the data'. The per-chart `[emptyText]` and
|
|
64
|
+
`[errorText]` inputs are unchanged and still win.
|
|
65
|
+
|
|
66
|
+
- **Seventeen text inputs default to `null` and fall back to `DS_INTL`.** Each went from
|
|
67
|
+
`input<string>` with an English default to `input<string | null>(null)` (and `ds-table`'s
|
|
68
|
+
`sortAnnouncement` / `rangeAnnouncement` from a function `T` to `T | null`): `placeholder` on
|
|
69
|
+
`ds-autocomplete`, `ds-multi-select`, `ds-date-picker`, `ds-search`; `searchPlaceholder` on
|
|
70
|
+
`ds-multi-select`; `ariaLabel` on `ds-color-picker`, `ds-otp-input`; `closeLabel` on `ds-tag`;
|
|
71
|
+
`countLabel` on `ds-badge`; `moreLabel` and `panelLabel` on `ds-filter-bar`; `menuLabel` on
|
|
72
|
+
`ds-split-button`; `railLabel` on `ds-app-layout`; `otherLabel` on `ds-pie-chart`;
|
|
73
|
+
`noVisibleSeriesText` on `ds-line-chart`; `sortAnnouncement` and `rangeAnnouncement` on `ds-table`.
|
|
74
|
+
Binding these in a template is unaffected. Code that reads the raw input back, or a subclass
|
|
75
|
+
overriding it, handles `null` or reads the new matching `...Resolved` readback: a reader comparing
|
|
76
|
+
`placeholder()` to `'Select…'` now sees `null` for an unset field and takes the other branch with no
|
|
77
|
+
compile error.
|
|
78
|
+
|
|
79
|
+
- **Chart numbers and percentages format in `DsConfig.locale`, then `LOCALE_ID`.** The built-in value
|
|
80
|
+
format (`ds-bar-chart`, `ds-column-chart`, `ds-line-chart`, `ds-pie-chart`, `ds-funnel-chart`,
|
|
81
|
+
`ds-heatmap-chart`, `ds-scatter-chart`, `ds-waterfall-chart`, and `ds-chart` with its series,
|
|
82
|
+
including hand-composed `dsColumnSeries` / `dsLineSeries`) reads one locale instead of the
|
|
83
|
+
browser's default. Percentages use `Intl`'s percent style rather than `toFixed(1)` + `%`, so de-DE
|
|
84
|
+
prints `13,5 %` with a space and a test expecting `13,5%` fails. An app that never provided
|
|
85
|
+
`LOCALE_ID` now prints en-US grouping where it printed the browser's: set `provideDsConfig({
|
|
86
|
+
locale: '<tag>' })` or provide `LOCALE_ID`. A chart bound to its own `[valueFormat]`, or an app
|
|
87
|
+
with `DS_CONFIG.chart.valueFormat` set, formats values as before; its percentages still change.
|
|
88
|
+
|
|
89
|
+
- **`ds-date-picker` falls back to `DS_CONFIG.datePicker.locale`, then `DsConfig.locale`, then
|
|
90
|
+
`LOCALE_ID` (was a hard `'en-US'`).** A picker with no `[locale]` binding, in an app that provides
|
|
91
|
+
`LOCALE_ID` or `DsConfig.locale`, now renders month and weekday names and the typed-value order in
|
|
92
|
+
that locale; under a de-DE `LOCALE_ID` the order becomes `DD.MM.YYYY`. An app that provides neither
|
|
93
|
+
still gets en-US. To keep en-US: `provideDsConfig({ datePicker: { locale: 'en-US' } })`.
|
|
94
|
+
|
|
95
|
+
- **`ds-dropzone` formats file sizes in the locale.** A listed file's size reads `DsConfig.locale`,
|
|
96
|
+
then `LOCALE_ID`; under a de-DE locale `1.5 MB` reads `1,5 MB`. Under en-US the text is unchanged
|
|
97
|
+
below 1000 MB and gains a group separator from 1000 MB (`1,024.0 MB`). To pin a dot decimal:
|
|
98
|
+
`provideDsConfig({ locale: 'en-US' })`, which also pins chart numbers and `ds-date-picker`.
|
|
99
|
+
|
|
100
|
+
- **`ds-textarea` text size resolves `--ds-input-font-size`, then `--ds-field-font-size`, then
|
|
101
|
+
`--font-size-s` (was fixed at `--font-size-s`).** A `ds-textarea` under an ancestor that sets
|
|
102
|
+
`--ds-input-font-size` now takes that size; one under no such declaration is unchanged, and
|
|
103
|
+
`ds-input` is unchanged. To keep 14px under an ancestor that pinned another size: `ds-textarea {
|
|
104
|
+
--ds-input-font-size: var(--font-size-s); }`.
|
|
105
|
+
|
|
106
|
+
- **`ds-search`'s hover border defaults to its own resting border (was `--border-default`).** A
|
|
107
|
+
`ds-search` whose rest border you coloured through `--ds-search-border` or
|
|
108
|
+
`--ds-field-border-color` now keeps that colour under the pointer instead of reverting to grey; one
|
|
109
|
+
under neither draws exactly what it drew. To restore the grey hover: `ds-search {
|
|
110
|
+
--ds-search-border-hover: var(--border-default); }`.
|
|
111
|
+
|
|
112
|
+
- **Subclassing one of these breaks on a name collision.** Every one gained a member - most an
|
|
113
|
+
`intl` accessor and the `...Resolved` readbacks that pair with the nullable text inputs above, the
|
|
114
|
+
nine chart components also `renderReady`: `AccordionComponent`, `AccordionItemComponent`,
|
|
115
|
+
`AlertComponent`, `AppLayoutComponent`, `AuthLayoutComponent`, `AutocompleteComponent`,
|
|
116
|
+
`AvatarComponent`, `AvatarGroupComponent`, `BadgeComponent`, `BannerComponent`,
|
|
117
|
+
`BarChartComponent`, `BreadcrumbsComponent`, `ChartComponent`, `ColumnSeriesComponent`,
|
|
118
|
+
`LineSeriesComponent`, `ChartDataTableComponent`, `ColorPickerComponent`, `ColumnChartComponent`,
|
|
119
|
+
`DatePickerComponent`, `DescriptionItemComponent`, `DrawerComponent`, `DropzoneComponent`,
|
|
120
|
+
`FilterBarComponent`, `FunnelChartComponent`, `HeatmapChartComponent`, `InputComponent`,
|
|
121
|
+
`LineChartComponent`, `ModalCardComponent`, `MultiSelectComponent`, `NumberStepperComponent`,
|
|
122
|
+
`OtpInputComponent`, `PaginationComponent`, `PasswordRulesComponent`, `PieChartComponent`,
|
|
123
|
+
`ScatterChartComponent`, `SearchComponent`, `SelectComponent`, `SidenavGroupComponent`,
|
|
124
|
+
`SidenavFooterComponent`, `SliderComponent`, `SpinnerComponent`, `SplitButtonComponent`,
|
|
125
|
+
`StepperComponent`, `TableComponent`, `DsTableExport`, `TabsComponent`, `TagComponent`,
|
|
126
|
+
`TextareaComponent`, `TimePickerComponent`, `ToastComponent`, `ToastRegionComponent`,
|
|
127
|
+
`W3wComponent` and `WaterfallChartComponent`, and seven internal classes reachable only through
|
|
128
|
+
their own entry points: the internal `ChartLegendComponent`, the internal `ChartTooltipDirective`,
|
|
129
|
+
the internal `ModalConfirmComponent`, the internal `TableColumnsPanelComponent`, the internal
|
|
130
|
+
`TableColumnsTriggerComponent`, the internal `TableExportButtonComponent` and the internal
|
|
131
|
+
`TimeColumnsComponent`. Four members are gone:
|
|
132
|
+
`ChartComponent.tooltipPreferBelow`, `ColumnSeriesComponent.onMarkBlur`,
|
|
133
|
+
`LineSeriesComponent.onMarkerBlur` and the internal `ChartTooltipDirective.dsChartTooltipPreferBelow`.
|
|
134
|
+
Build after upgrading; rename or mark `override` every member the compiler reports colliding
|
|
135
|
+
(TS4114, or TS2416 where the signature differs - `AuthLayoutComponent`'s `landmark` default moved),
|
|
136
|
+
and delete an override whose base member is gone. A method named like a removed member and declared
|
|
137
|
+
without `override` still compiles and is never called again. Subclassing a DS component is
|
|
138
|
+
unsupported.
|
|
139
|
+
|
|
140
|
+
### Added
|
|
141
|
+
|
|
142
|
+
- **`DS_CONFIG.chart.rendering` builds charts as they near the viewport, for a page that asks.**
|
|
143
|
+
Off by default: every chart draws as soon as it is created, which is right for a screen with a
|
|
144
|
+
few of them. A dashboard or a report with dozens sets `deferUntilVisible: true`, and each chart
|
|
145
|
+
then holds its place with a still placeholder of its own shape until it comes within
|
|
146
|
+
`visibleMargin` (default `'10% 0px'`) of the viewport. `buildAheadWhileIdle` (default `true`)
|
|
147
|
+
builds the charts within `buildAheadMargin` (default `'100% 0px'`) while the page is idle,
|
|
148
|
+
`frameBudgetMs` (default `8`) caps how long one task spends building, and `skipWhileOffscreen`
|
|
149
|
+
(default `true`) lets the browser skip a built chart's rendering off screen. Until a deferred
|
|
150
|
+
chart is built a screen reader meets its caption only. `BarChartComponent`,
|
|
151
|
+
`ColumnChartComponent`, `LineChartComponent`, `PieChartComponent`, `FunnelChartComponent`,
|
|
152
|
+
`HeatmapChartComponent`, `ScatterChartComponent`, `WaterfallChartComponent` and `ChartComponent`
|
|
153
|
+
each gained a protected `renderReady`, so a subclass declaring that name needs `override`.
|
|
154
|
+
|
|
155
|
+
- **`ds-skeleton` takes `shimmer` and `--ds-skeleton-wave-steps`.** `[shimmer]="false"` draws a
|
|
156
|
+
still block of the same shape, for a space held for something that is not loading yet; the
|
|
157
|
+
charts use it for the placeholder above. `--ds-skeleton-wave-steps` sets how many updates one
|
|
158
|
+
pass takes, default `68` - twenty a second over the default duration; more is smoother and costs
|
|
159
|
+
a main-thread update each. `SkeletonComponent` gained the `shimmer` input, so a subclass
|
|
160
|
+
declaring that name needs `override`.
|
|
161
|
+
|
|
162
|
+
- **`DS_INTL` and `provideDsIntl` hold every string the library renders.** `DS_INTL` is a
|
|
163
|
+
`Signal<DsIntl>`, `DS_INTL_DEFAULTS` its English base, and `provideDsIntl(overrides | () =>
|
|
164
|
+
Signal<overrides>)` merges per section like `provideDsConfig` - an object for one language, or a
|
|
165
|
+
factory returning a signal to switch languages at runtime. Exported from the package root and
|
|
166
|
+
`/core`, with the types `DsIntl`, `DsIntlOverrides`, `DsIntlSortDirection` and `DsIntlStepState`.
|
|
167
|
+
English by default; a text input set on an instance still wins.
|
|
168
|
+
|
|
169
|
+
- **`DsConfig.locale?: string` sets the BCP-47 locale for chart numbers and percentages,
|
|
170
|
+
`ds-date-picker` and `ds-dropzone` file sizes.** Unset, it is Angular's `LOCALE_ID`. Set it through
|
|
171
|
+
`provideDsConfig({ locale: '<tag>' })`.
|
|
172
|
+
|
|
173
|
+
- **Six field-family tokens sit under every text-entry field's own token.** `--ds-field-border-color`,
|
|
174
|
+
`--ds-field-border-color-hover`, `--ds-field-border-color-focus`, `--ds-field-text-color`,
|
|
175
|
+
`--ds-field-placeholder-color` and `--ds-field-font-size` reach `ds-input`, `ds-textarea`,
|
|
176
|
+
`ds-select`, `ds-multi-select`, `ds-autocomplete` and `ds-search`; a per-component token such as
|
|
177
|
+
`--ds-input-border` still wins where set. The date, time and colour pickers, the number stepper and
|
|
178
|
+
the OTP cells are not in the family. Every default is the value each field already drew.
|
|
179
|
+
|
|
180
|
+
- **`ds-select`, `ds-multi-select` and `ds-search` take their own size and colour hooks.**
|
|
181
|
+
`ds-select`: `--ds-select-border-color-focus` (read by the focused and the open trigger alike),
|
|
182
|
+
`--ds-select-border-color-hover`, `--ds-select-placeholder-color`, `--ds-select-font-size`.
|
|
183
|
+
`ds-multi-select`: `--ds-multi-select-border-color-hover`, `--ds-multi-select-placeholder-color`,
|
|
184
|
+
`--ds-multi-select-font-size`. `ds-search`: `--ds-search-font-size`. Every default is the value the
|
|
185
|
+
trigger already drew.
|
|
186
|
+
|
|
187
|
+
- **`ds-autocomplete` takes `--ds-autocomplete-text-color`, `--ds-autocomplete-placeholder-color` and
|
|
188
|
+
`--ds-autocomplete-border-color-hover`.** The text colour covers the typed text and the picked
|
|
189
|
+
value; the placeholder resolves `--text-tertiary` through the field family, as `ds-input`'s does.
|
|
190
|
+
Every default is the value it already drew.
|
|
191
|
+
|
|
192
|
+
- **`ds-button` and `ds-icon-button` take border-colour hooks for hover and press.**
|
|
193
|
+
`--ds-button-border-color-hover` and `--ds-button-border-color-active` on `ds-button`,
|
|
194
|
+
`--ds-icon-button-border-hover` and `--ds-icon-button-border-active` on `ds-icon-button`. Hover
|
|
195
|
+
defaults to the resting border and active to hover, so an unset pair draws what the button drew.
|
|
196
|
+
|
|
197
|
+
- **`ds-empty-state` takes `--ds-empty-state-title-font-family` (default `--font-sans`) and
|
|
198
|
+
`--ds-empty-state-title-font-weight` (default `--font-weight-bold`)**, beside the title's existing
|
|
199
|
+
size and colour hooks.
|
|
200
|
+
|
|
201
|
+
- **`ds-badge` takes `--ds-badge-font-size` and `ds-page-header` takes
|
|
202
|
+
`--ds-page-header-subtitle-font-size`.** `--ds-badge-font-size` defaults to `--font-size-xs`; a
|
|
203
|
+
count badge keeps `--font-size-2xs` until the token is set. `--ds-page-header-subtitle-font-size`
|
|
204
|
+
defaults to `--font-size-s`.
|
|
205
|
+
|
|
206
|
+
- **`ds-banner` takes `--ds-banner-title-font-size`** beside `--ds-banner-body-font-size`; it
|
|
207
|
+
defaults to `--font-size-s`, what the title drew.
|
|
208
|
+
|
|
209
|
+
- **`ds-table` takes utility-column and footer-padding hooks.** `--ds-table-utility-column-width` and
|
|
210
|
+
`--ds-table-utility-column-padding-x` size the trailing column that carries the column picker and
|
|
211
|
+
the row-actions button; the width default moves from `--space-10` to `--space-6`, the buttons' own
|
|
212
|
+
size, and because cells are border-box nothing moves unless `--ds-table-cell-padding-x` is below
|
|
213
|
+
8px, where the column narrows to button plus padding. `--ds-table-footer-padding-y` (default
|
|
214
|
+
`--space-3`), with `--ds-table-footer-padding-top` and `--ds-table-footer-padding-bottom` falling
|
|
215
|
+
back to it, sets the pagination footer's block padding.
|
|
216
|
+
|
|
217
|
+
- **Chart legends take `--ds-chart-legend-hover-bg-color` and `--ds-chart-legend-hover-text-color`**
|
|
218
|
+
for the hover and focus state of a legend entry (defaults `--surface-secondary` and
|
|
219
|
+
`--text-primary`).
|
|
220
|
+
|
|
221
|
+
- **`ds-accordion` takes `chevron`, and `ds-accordion-item` takes eight styling hooks.** `chevron:
|
|
222
|
+
'right' | 'down'` (default `'right'`, type `AccordionChevron`): `'down'` draws a downward chevron
|
|
223
|
+
that turns up when the item opens. `ds-accordion-item` reads `--ds-accordion-header-padding`,
|
|
224
|
+
`--ds-accordion-header-gap`, `--ds-accordion-header-font-family`, `--ds-accordion-header-font-size`,
|
|
225
|
+
`--ds-accordion-header-font-weight`, `--ds-accordion-header-line-height`,
|
|
226
|
+
`--ds-accordion-header-hover-text-color` and `--ds-accordion-body-padding`. Every default is the
|
|
227
|
+
value the item already drew.
|
|
228
|
+
|
|
229
|
+
- **`ds-bar-chart` takes `highlighted`.** It names one segment by id, or by its position where it has
|
|
230
|
+
none, and fades every other segment in every row to `--ds-chart-dim-opacity`. Unset changes
|
|
231
|
+
nothing.
|
|
232
|
+
|
|
233
|
+
- **`g[dsColumnSeries]` takes `axis: 'primary' | 'secondary'` (default `'primary'`).**
|
|
234
|
+
`axis="secondary"` measures the columns against the second value axis, as `axis: 'secondary'` does
|
|
235
|
+
in a line series' data.
|
|
236
|
+
|
|
237
|
+
- **The `check-overrides` schematic: `ng g @ids-group-ltd/ids-design-system:check-overrides`.**
|
|
238
|
+
Read-only: it reports every `--ds-*` custom property a stylesheet, `[style.--ds-*]` or
|
|
239
|
+
`setProperty` sets that the installed version never reads, and every `ds-*` selector naming a class
|
|
240
|
+
the component does not render. Options `strict` (default false; set, it fails when anything is
|
|
241
|
+
reported) and `path` (default `/`).
|
|
242
|
+
|
|
243
|
+
- **`AnnounceState` is exported, and `ds-banner` / `ds-alert` warn once per instance in dev mode when
|
|
244
|
+
`announce` was never decided.** The warning fires for an error, warning or severe banner (error or
|
|
245
|
+
warning alert) left unbound while `DS_CONFIG.banner.announce` (`alert.announce`) is unset, and for
|
|
246
|
+
an info, success or neutral one that announces only because that key is true. Setting the key
|
|
247
|
+
either way ends the first, an `[announce]` binding ends the second; neither reaches a production
|
|
248
|
+
build.
|
|
249
|
+
|
|
250
|
+
### Changed
|
|
251
|
+
|
|
252
|
+
- **Chart legend entries take a hover and focus state.** In `ds-line-chart`, `ds-column-chart`,
|
|
253
|
+
`ds-scatter-chart`, `ds-chart-legend` and the `ds-pie-chart` legend, an entry under the pointer or
|
|
254
|
+
holding keyboard focus gets a `--surface-secondary` tint and `--text-primary` text through
|
|
255
|
+
`--ds-chart-legend-hover-bg-color` and `--ds-chart-legend-hover-text-color`; the entry's padding is
|
|
256
|
+
paid back as a negative margin, so no legend row moves. Hovering or focusing a `ds-pie-chart`
|
|
257
|
+
legend entry fades the other slices whether or not `dimOthers` is set, as the other chart legends
|
|
258
|
+
do; `dimOthers` still governs a pointer over the ring.
|
|
259
|
+
|
|
260
|
+
- **A category panel hangs over the highest reading at its category, wherever in the band the pointer
|
|
261
|
+
is.** With the pointer beside a column it hung over a lower line marker.
|
|
262
|
+
|
|
263
|
+
- **Line-series markers fade in with the line, and a thin funnel `area` stage stays visible.** In
|
|
264
|
+
`ds-line-chart` and `ds-chart` line series the point markers fade in with the line and area, on the
|
|
265
|
+
same delay and stagger. A `ds-funnel-chart` with `shape="area"` draws a stage whose share is too
|
|
266
|
+
small to clear the band gap as a band half a gap deep (about 3px at the default stage height) about
|
|
267
|
+
its own middle, instead of a zero-height line; a stage of value 0 still draws nothing.
|
|
268
|
+
|
|
269
|
+
- **`ds-pie-chart` draws a held slice's pin badge as an HTML element over the ring.** It is 22px
|
|
270
|
+
(`--ds-chart-pin-size`) at any ring size, with the pin glyph centred in its circle.
|
|
271
|
+
|
|
272
|
+
- **A click on a chart series leaves focus where it was.** Clicking a `g[dsColumnSeries]` or
|
|
273
|
+
`g[dsLineSeries]` series, or a `ds-scatter-chart` series, no longer moves focus onto the series
|
|
274
|
+
group and draws a focus rectangle around all its marks. The keyboard reaches each mark as before.
|
|
275
|
+
|
|
276
|
+
- **Neutral rows and small buttons darken one step on press, to `--surface-muted`.** The controls that
|
|
277
|
+
had a hover fill and no pressed state: the sidenav group header and caret, the sidenav footer's
|
|
278
|
+
rows, more button, search results and alerts, the date picker's period trigger, nav buttons, month
|
|
279
|
+
and year cells and presets, the time picker's option cells and action buttons, the toast action,
|
|
280
|
+
the description-list copy button, the multi-select select-all row and the tab close button. An
|
|
281
|
+
interactive `ds-tag` takes the shared press dip too, and reads `--ds-press-brightness` and
|
|
282
|
+
`--ds-press-scale`.
|
|
283
|
+
|
|
284
|
+
### Fixed
|
|
285
|
+
|
|
286
|
+
- **`ds-modal` and `ds-modal-card` measure their actions row again when its content changes.** The
|
|
287
|
+
row was measured on first render and when the header resized, so a button label that grew after the
|
|
288
|
+
modal opened ('Saving…', a count) left the row on one line and clipped the first button at the
|
|
289
|
+
card's start edge. A changed label or a changed set of actions now stacks or unstacks the row the
|
|
290
|
+
same way the first render does.
|
|
291
|
+
|
|
292
|
+
- **Column and line series draw before the width is measured.** They waited for the first
|
|
293
|
+
measurement, so they drew nothing wherever the page is never laid out - a frozen snapshot, a
|
|
294
|
+
headless render in virtual time - and the axes showed a frame before the marks.
|
|
295
|
+
|
|
296
|
+
- **A closing modal backdrop, drawer and bottom sheet stay click-through for the whole leave.** Under
|
|
297
|
+
reduced motion the invisible scrim could take a click aimed at the page for up to 300ms after the
|
|
298
|
+
close; a click on the page during a close now reaches it.
|
|
299
|
+
|
|
300
|
+
### What you can now DELETE
|
|
301
|
+
|
|
302
|
+
| Delete | Why | Replace with |
|
|
303
|
+
| --- | --- | --- |
|
|
304
|
+
| 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 |
|
|
305
|
+
| 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` |
|
|
306
|
+
| 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 |
|
|
307
|
+
| 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 |
|
|
308
|
+
| 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` |
|
|
309
|
+
| 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` |
|
|
310
|
+
| 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` |
|
|
311
|
+
| 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` |
|
|
312
|
+
| 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` |
|
|
313
|
+
| 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` |
|
|
314
|
+
| `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 |
|
|
315
|
+
| `landmark="main"` on a `ds-auth-layout` | `main` is the default | nothing |
|
|
316
|
+
| `--ds-auth-layout-brand-max-height: var(--ds-auth-layout-mark-size)` | the tile size is the default cap | nothing |
|
|
317
|
+
| 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` |
|
|
318
|
+
| 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 |
|
|
319
|
+
| 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 |
|
|
320
|
+
|
|
3
321
|
## 0.14.0 — 2026-09-24
|
|
4
322
|
|
|
5
323
|
### Breaking
|
|
@@ -61,6 +379,13 @@
|
|
|
61
379
|
the input, then `DS_CONFIG.pagination.layout`, then `'grouped'` - is `layoutResolved()`, which is
|
|
62
380
|
new and public; `sizeResolved()` is public too.
|
|
63
381
|
|
|
382
|
+
- **A `dsCellTemplate` that reads its row needs `[dsCellTemplateOf]` under strict templates.** The
|
|
383
|
+
directive declares a template context guard, so its context is `unknown` until
|
|
384
|
+
`[dsCellTemplateOf]` names the rows; a template reading `row.name` through a context that used to
|
|
385
|
+
be typed `any` fails with TS2571 or TS2345. Bind `[dsCellTemplateOf]` to the same expression as the
|
|
386
|
+
table's `[data]`. A template passed to `rowExpandTemplate` or `cellTemplateMap` carries no guard and
|
|
387
|
+
is unaffected.
|
|
388
|
+
|
|
64
389
|
### Added
|
|
65
390
|
|
|
66
391
|
- **`dsLineSeries` takes an `outline`, on by default.** The line and its markers sit on a band of
|
|
@@ -102,8 +427,9 @@
|
|
|
102
427
|
- **`dsCellTemplate` types its `let-row` from `[dsCellTemplateOf]`.** The directive is generic,
|
|
103
428
|
`CellTemplateDirective<T = unknown>`, and `[dsCellTemplateOf]="rows"` - typing only, never read at
|
|
104
429
|
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`
|
|
430
|
+
`CellTemplateContext<T = unknown>` is `{ readonly $implicit: T; readonly row: T }`. A template
|
|
431
|
+
passed to `rowExpandTemplate` or `cellTemplateMap` carries no context guard, so its row stays
|
|
432
|
+
untyped (`any`).
|
|
107
433
|
|
|
108
434
|
- **Every field control and `ds-search` gain `blur(): void`.** The counterpart of `focus()`: it
|
|
109
435
|
drops focus from whichever descendant of the host holds it, leaving an open overlay panel alone.
|
|
@@ -251,11 +577,11 @@
|
|
|
251
577
|
| --- | --- | --- |
|
|
252
578
|
| `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
579
|
| `[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
|
|
580
|
+
| 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
581
|
| 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
582
|
| `querySelector('input')?.blur()` reaching into a field control to drop focus | every field control has a public `blur()` | `blur()` on the field instance |
|
|
257
583
|
| `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`;
|
|
584
|
+
| 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
585
|
| 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
586
|
|
|
261
587
|
## 0.13.4 — 2026-09-23
|