@ids-group-ltd/ids-design-system 0.14.7 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +735 -230
- package/components.md +64 -25
- package/docs/agent/INDEX.md +3 -1
- package/docs/agent/charts/ds-bar-chart.md +7 -4
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +1 -1
- package/docs/agent/charts/ds-funnel-chart.md +1 -1
- package/docs/agent/charts/ds-pie-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +2 -2
- package/docs/agent/feedback/ds-loading-overlay.md +2 -0
- package/docs/agent/feedback/ds-skeleton.md +1 -1
- package/docs/agent/forms/ds-button.md +2 -2
- package/docs/agent/forms/ds-date-picker.md +1 -0
- package/docs/agent/foundations/global-helper-classes.md +3 -3
- package/docs/agent/overlays/ds-bottom-sheet.md +1 -1
- package/docs/agent/overlays/ds-definition-term.md +10 -0
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-info-hint.md +10 -0
- package/docs/agent/overlays/ds-menu.md +1 -1
- package/docs/agent/overlays/ds-modal-card.md +1 -1
- package/docs/agent/overlays/ds-modal.md +19 -1
- package/docs/agent/overlays/ds-tooltip-panel.md +1 -1
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/tables/ds-table.md +3 -2
- package/eslint/deprecated-api.json +889 -0
- package/eslint/index.mjs +394 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
- 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 +6 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +19 -7
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
- 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 +169 -37
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +195 -27
- 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 +23 -20
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
- 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 +9 -9
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs +107 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +5 -15
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
- 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 +11 -8
- 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 +4 -3
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +44 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +10 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +136 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +21 -26
- 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 +19 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
- 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 +2 -2
- 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 +8 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +19 -5
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +21 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +6 -6
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +223 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +410 -145
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
- 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 -11
- 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 +86 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +18 -81
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +2 -0
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +79 -21
- package/migrations/0.10.1.json +38 -21
- package/migrations/0.10.2.json +44 -7
- package/migrations/0.10.3.json +7 -5
- package/migrations/0.11.0.json +10 -7
- package/migrations/0.11.1.json +25 -14
- package/migrations/0.11.2.json +3 -3
- package/migrations/0.11.3.json +9 -6
- package/migrations/0.11.4.json +13 -12
- package/migrations/0.12.1.json +41 -14
- package/migrations/0.12.2.json +7 -6
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +11 -11
- package/migrations/0.13.1.json +60 -8
- package/migrations/0.13.2.json +98 -44
- package/migrations/0.13.3.json +46 -16
- package/migrations/0.13.4.json +23 -22
- package/migrations/0.14.0.json +5 -5
- package/migrations/0.14.1.json +5 -5
- package/migrations/0.14.2.json +1 -1
- package/migrations/0.14.4.json +6 -5
- package/migrations/0.14.5.json +13 -7
- package/migrations/0.14.6.json +2 -2
- package/migrations/0.14.8.json +56 -0
- package/migrations/0.15.0.json +999 -0
- package/migrations/0.2.0.json +2 -2
- package/migrations/0.3.0.json +43 -6
- package/migrations/0.4.0.json +95 -13
- package/migrations/0.5.0.json +116 -10
- package/migrations/0.5.1.json +97 -11
- package/migrations/0.6.0.json +30 -1
- package/migrations/0.6.1.json +22 -1
- package/migrations/0.6.2.json +8 -4
- package/migrations/0.6.3.json +17 -5
- package/migrations/0.7.0.json +58 -9
- package/migrations/0.7.1.json +62 -8
- package/migrations/0.8.0.json +60 -12
- package/migrations/0.9.0.json +68 -25
- package/migrations/0.9.1.json +1 -1
- package/migrations/README.md +57 -3
- package/package.json +19 -1
- package/schematics/check-overrides/index.cjs +4 -11
- package/schematics/check-overrides/scan.cjs +12 -1
- package/schematics/check-overrides/surface.json +51 -10
- package/schematics/ng-add/index.cjs +7 -1
- package/stylelint/deprecated-tokens.json +2697 -0
- package/stylelint/index.mjs +94 -0
- package/stylelint/since-version.mjs +26 -0
- package/styles/_chart-motion.scss +3 -9
- package/styles/_chip-row.scss +5 -2
- package/styles/_clear-button.scss +2 -0
- package/styles/_component-base.scss +56 -0
- package/styles/_dismiss-button.scss +16 -0
- package/styles/_dropdown-overlay.scss +19 -0
- package/styles/_focus.scss +4 -1
- package/styles/_overlay-motion.scss +4 -6
- package/styles/_pinned.scss +43 -0
- package/styles/_skeleton-shimmer.scss +2 -8
- package/styles/_table-controls.scss +4 -0
- package/styles/_target.scss +40 -0
- package/styles/_text-clip.scss +23 -4
- package/styles/_tokens.scss +0 -1
- package/styles/_typography.scss +2 -0
- package/styles/_visually-hidden.scss +2 -0
- package/styles/ds.scss +0 -1
- package/themes/README.md +7 -7
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +74 -4
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +40 -4
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +8 -3
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +4 -3
- package/types/ids-group-ltd-ids-design-system-components-definition-term.d.ts +22 -0
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +0 -1
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +7 -3
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-info-hint.d.ts +14 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +5 -0
- package/types/ids-group-ltd-ids-design-system-components-menu.d.ts +8 -3
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +0 -2
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +13 -3
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +4 -1
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +30 -3
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +48 -17
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components.d.ts +26 -2
- package/types/ids-group-ltd-ids-design-system-core.d.ts +7 -11
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,484 @@
|
|
|
1
1
|
## Unreleased
|
|
2
2
|
|
|
3
|
+
## 0.15.0 — 2026-10-09
|
|
4
|
+
|
|
5
|
+
### Breaking
|
|
6
|
+
|
|
7
|
+
- **`--ds-waterfall-chart-skeleton-height` is removed.** The waterfall skeleton draws floating
|
|
8
|
+
steps on the chart's own plot height; delete the declaration.
|
|
9
|
+
|
|
10
|
+
- **`--chart-skeleton-h` is removed.** No component reads it, so a declaration of it sets nothing;
|
|
11
|
+
delete the declaration.
|
|
12
|
+
|
|
13
|
+
- **`dsTooltipClippedLead` is removed from `TooltipDirective`.** A `ds-table` header with a `hint`
|
|
14
|
+
needs nothing in its place: its `dsDefinitionTerm` button shows its own clipped label in bold
|
|
15
|
+
above the hint. Anywhere else, delete the binding, or write the lead into the string:
|
|
16
|
+
`[dsTooltip]="'**' + lead + '**\n' + tip"`.
|
|
17
|
+
|
|
18
|
+
- **`dsTooltipTextSelector` is removed; `dsTooltipWhenClipped` takes the selector.** One attribute
|
|
19
|
+
now says both "only while clipped" and "which element to test": `dsTooltipWhenClipped=".label"`
|
|
20
|
+
tests and discloses the element it matches inside the host, and a boolean or the bare attribute
|
|
21
|
+
still tests the host. Replace the pair `dsTooltipWhenClipped dsTooltipTextSelector=".label"` with
|
|
22
|
+
`dsTooltipWhenClipped=".label"`. Where the clip test is bound, bind the selector or `false`:
|
|
23
|
+
`[dsTooltipWhenClipped]="truncate ? ':scope > .cell' : false"`. The input type widens from
|
|
24
|
+
`boolean` to `boolean | string`, and `TooltipDirective` no longer exposes `hostElement` and
|
|
25
|
+
`isClipped()`. Its text-resolution, positioning and focusable-ancestor internals were reworked
|
|
26
|
+
with the merge: the private `textElement`, `positionFor` and `listenToFocusableAncestor` are gone
|
|
27
|
+
and a private `ancestorFocusTrigger` is new, so a subclass that overrode or declared one of those
|
|
28
|
+
names must adjust.
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- **`TableColumn.minWidth` sets the narrowest a `ds-table` column gets, in px with the padding.**
|
|
33
|
+
A `truncate` column without `width` stops shrinking at it and the table scrolls sideways
|
|
34
|
+
instead: `{ key: 'email', label: 'Email', truncate: true, minWidth: 160 }`. Ignored when `width`
|
|
35
|
+
is a number.
|
|
36
|
+
|
|
37
|
+
- **`styles/target` gives an icon-only control of yours the library's 24px target.**
|
|
38
|
+
`@include target.min-size` last in its rule: the box keeps its size, a transparent `::before`
|
|
39
|
+
centred on it takes the pointer over at least `--hit-xs`, and the focus ring is drawn on that
|
|
40
|
+
target, 24px across. The ring follows `--focus-ring-offset`, so `[data-focus='edge']` draws it
|
|
41
|
+
2px and `[data-focus='inset']` 4px inside the target's edge. `$ring-on-target: false` leaves the
|
|
42
|
+
ring where the control's own rule draws it, for a control set beside text; `$position: null` for a
|
|
43
|
+
control that is already positioned.
|
|
44
|
+
|
|
45
|
+
- **`skeletonCount` sets how many marks a chart's loading skeleton draws.** `ds-chart` and
|
|
46
|
+
`ds-column-chart` draw that many columns, `ds-pie-chart` that many slices and legend rows,
|
|
47
|
+
`ds-funnel-chart` that many stages and `ds-waterfall-chart` that many steps; the default is 5.
|
|
48
|
+
Once the data is known, the skeleton takes the data's own count. `ChartComponent`,
|
|
49
|
+
`ColumnChartComponent`, `PieChartComponent`, `FunnelChartComponent` and
|
|
50
|
+
`WaterfallChartComponent` gained the public `skeletonCount`. These classes, `LineChartComponent`,
|
|
51
|
+
`HeatmapChartComponent`, `ScatterChartComponent`, `SelectComponent`, `MultiSelectComponent` and
|
|
52
|
+
`AutocompleteComponent` gained and lost skeleton members, named in the migration manifest; a
|
|
53
|
+
subclass declaring one of those names must rename it.
|
|
54
|
+
|
|
55
|
+
- **`styles/component-base` gives a component of yours the base the library's components carry.**
|
|
56
|
+
`@include component-base.rules` first in a component stylesheet sets `border-box`, the inherited
|
|
57
|
+
font on form controls, zero heading margins and the base focus ring on that component's own
|
|
58
|
+
elements, whether or not the app loads `styles/reset` and `styles/focus`.
|
|
59
|
+
|
|
60
|
+
- **The package ships an ESLint plugin and a stylelint plugin that flag API and tokens the library
|
|
61
|
+
has removed or renamed.** Import them from `@ids-group-ltd/ids-design-system/eslint` and
|
|
62
|
+
`@ids-group-ltd/ids-design-system/stylelint`. The ESLint plugin is a flat-config object with seven
|
|
63
|
+
`problem` rules under the `ids-design-system/` namespace, each running on `**/*.ts` and `**/*.html`
|
|
64
|
+
(the template rules need your `@angular-eslint/template-parser`): `no-removed-inputs`,
|
|
65
|
+
`no-removed-outputs` and `no-removed-values` flag a template binding, listener or static attribute
|
|
66
|
+
value for an input, output or value the library dropped, renamed or remapped; `no-renamed-selectors`
|
|
67
|
+
flags a renamed element in templates and in `querySelector`, `closest`, `matches` and `css` strings;
|
|
68
|
+
`no-renamed-imports` flags a removed or renamed symbol imported from the package and autofixes a
|
|
69
|
+
pure rename across the file; `no-removed-members` flags a class member that now overrides nothing
|
|
70
|
+
on a class that extends or implements one of ours; and `no-removed-tokens` flags a removed or
|
|
71
|
+
renamed `--*` custom property in TS strings and template attributes and autofixes a rename.
|
|
72
|
+
`idsDesignSystem.configs.recommended` turns all seven on at `'error'`. The stylelint plugin adds
|
|
73
|
+
the one rule `ids-design-system/no-removed-tokens`, which flags removed or renamed `--*` properties
|
|
74
|
+
in declarations and values and autofixes a rename. The token rules match a whole name, so
|
|
75
|
+
`--x-warn` is not flagged inside `--x-warning`.
|
|
76
|
+
|
|
77
|
+
- **Both plugins take a `from` and a `to` version, so an upgrade reports only what changed across
|
|
78
|
+
it.** Without a range the token rules list every removal and rename back to 0.2.0, and the other
|
|
79
|
+
ESLint rules back to 0.4.0. With `idsDesignSystem.configs.recommendedFrom('0.13.4', '0.14.5')`, `['error', { from: '0.13.4', to: '0.14.5' }]`
|
|
80
|
+
on one ESLint rule, or `[true, { from: '0.13.4', to: '0.14.5' }]` on
|
|
81
|
+
`ids-design-system/no-removed-tokens`, a removed or renamed name from 0.13.4 or earlier, or from
|
|
82
|
+
after 0.14.5, is left out. `from` is exclusive and `to` inclusive; either can stand alone, and the
|
|
83
|
+
unreleased version counts unless `to` is set.
|
|
84
|
+
|
|
85
|
+
- **`--ds-loading-overlay-radius` rounds the corners of the `ds-loading-overlay` scrim.** It
|
|
86
|
+
defaults to `0`. Set it to the radius of the container the overlay covers, so the blurred scrim
|
|
87
|
+
ends at the container's own rounded edge instead of in square corners.
|
|
88
|
+
|
|
89
|
+
- **`dsTooltipPinOnClick` keeps a tooltip open after a click.** With it the tip opens on hover and
|
|
90
|
+
focus with no delay, and a click on the host keeps it open after the pointer leaves until a click
|
|
91
|
+
outside, `Escape` or blur; a second click closes it. Without it a click closes the tip as before.
|
|
92
|
+
While pinned the host carries `data-ds-tooltip-pinned`. Every pinned trigger of the library shows
|
|
93
|
+
the same cue, with no fill: `--accent-strong` ink, and for a text trigger a 2px solid accent
|
|
94
|
+
underline. Hovering a pinned text trigger thickens the underline to 3px, and pressing it adds the
|
|
95
|
+
`--surface-muted` press fill; a pinned icon takes a `--surface-muted` circle on hover and a
|
|
96
|
+
`--border-default` circle on press. `@include pinned.cue()`, `pinned.cue-hover()` and
|
|
97
|
+
`pinned.cue-pressed()` from `styles/pinned` (`$underline: false` for an icon) give your own
|
|
98
|
+
pin-capable trigger the same cue, its hover and its press.
|
|
99
|
+
Use it on info and definition triggers only, never on a control whose click acts.
|
|
100
|
+
`TooltipDirective` gained the public `dsTooltipPinOnClick`, protected `onClick` and
|
|
101
|
+
`onPointerLeave`, and the private `document`, `hostPinOnClick`, `pinsOnClick`, `pin` and
|
|
102
|
+
`unpin`. A subclass declaring one of those names must rename it.
|
|
103
|
+
|
|
104
|
+
- **`ds-info-hint` is an icon button with a pinned tooltip.** `<ds-info-hint
|
|
105
|
+
ariaLabel="About conversion rate" text="…" />` renders a 14px question-mark icon button named by
|
|
106
|
+
`ariaLabel`, and `icon="info"` swaps the question mark for an "i"; `text` shows on hover and focus, describes the button, and stays open after a click.
|
|
107
|
+
The icon darkens on hover, sits on a `--surface-muted` circle while pressed, and turns
|
|
108
|
+
`--accent-strong` while pinned.
|
|
109
|
+
`InfoHintComponent` is exported from the package root.
|
|
110
|
+
|
|
111
|
+
- **`dsDefinitionTerm` marks a term that carries its definition, on any element.**
|
|
112
|
+
`<span dsDefinitionTerm="…">term</span>` keeps the surrounding text style with a dotted underline
|
|
113
|
+
in `--text-tertiary`, takes the focus ring, shows the definition on hover and focus, and pins it
|
|
114
|
+
on click; the attribute value is the tooltip text. While the term is clipped, its definition opens
|
|
115
|
+
with the term's own text in bold, a line break, then the definition; a definition that already
|
|
116
|
+
contains the term's text is left as it is. On a host other than `<button>` it adds
|
|
117
|
+
`tabindex="0"`, `role="button"`, and `Enter` / `Space` act as a click; on a `<button>` it sets
|
|
118
|
+
`type="button"`. Hover makes the underline solid in `--text-secondary`, a press (a click held, or
|
|
119
|
+
`Enter` / `Space` held on a non-button) tints the term
|
|
120
|
+
with `--surface-muted`, and a pinned term turns `--accent-strong` with a 2px solid accent underline; no
|
|
121
|
+
state changes its size. `[pinOnClick]="false"` turns the pin off where the click
|
|
122
|
+
already acts. The directive brings its own styles: no stylesheet import is needed, including in an app that
|
|
123
|
+
assembles the style partials one by one.
|
|
124
|
+
`DefinitionTermDirective` is exported from the package root.
|
|
125
|
+
|
|
126
|
+
- **`dsTooltipArrow` turns a tooltip's arrow off.** `[dsTooltipArrow]="false"` draws the panel with no
|
|
127
|
+
arrow pointing at the host; the default is `true`, so every tooltip keeps its arrow until it is set.
|
|
128
|
+
`TooltipDirective` gained the public `dsTooltipArrow` and `TooltipPanelComponent` the public
|
|
129
|
+
`arrow`, so a subclass declaring either name must rename it.
|
|
130
|
+
|
|
131
|
+
- **`text-clip.inline-axis` and `text-clip.line-clamp($lines)`** join
|
|
132
|
+
`text-clip.single-line-ellipsis` in `styles/text-clip`. `inline-axis` clips a row sideways and
|
|
133
|
+
leaves the block axis visible; `line-clamp` clamps a block to `$lines` lines at
|
|
134
|
+
`line-height: normal`, the one line-height every font sizes to its own glyphs, so neither cuts a
|
|
135
|
+
glyph whatever the font.
|
|
136
|
+
|
|
137
|
+
- **`dsTooltip` renders `**bold**`.** Text between a pair of `**` is bold; `\*\*` is a literal `**`
|
|
138
|
+
and an unpaired `**` stays as typed. The panel builds its content from the parsed text, so no
|
|
139
|
+
markup in a string is interpreted as HTML. Nothing else is parsed: no italics, code, lists or
|
|
140
|
+
tags. `dsTooltipWhenClipped` with no `dsTooltip` shows the host's text exactly as written, even
|
|
141
|
+
where it contains `**`. `TooltipPanelComponent` gained the protected `segments`, and
|
|
142
|
+
`TooltipDirective` the private `ownText` and `leadsWithOwnText`, so a subclass declaring one of those
|
|
143
|
+
names must rename it.
|
|
144
|
+
|
|
145
|
+
- **`--ds-date-picker-max-width` caps the width of `ds-date-picker`.** It defaults to `100%`, so
|
|
146
|
+
nothing changes until it is set. With `fullWidth`, the field fills its container up to the cap,
|
|
147
|
+
which keeps it from spanning a wide dialog or form column; without `fullWidth`, the field stays as
|
|
148
|
+
wide as its date format and never gets narrower than it.
|
|
149
|
+
|
|
150
|
+
- **`ds-bar-chart` takes `labelPosition`.** `labelPosition="start"` puts each label in a column
|
|
151
|
+
before its bar, on the bar's line, and lines up labels, bars, values and percents in columns
|
|
152
|
+
across rows; the default `'top'` keeps the label above the bar. `BarChartLabelPosition` is its
|
|
153
|
+
type. `--ds-bar-chart-label-column-max-width` (default `40%`) caps the label column, and under
|
|
154
|
+
`'start'` `--ds-bar-chart-row-gap` defaults to `--space-3` (`--space-5` under `'top'`).
|
|
155
|
+
|
|
156
|
+
- **A `ds-bar-chart` row can hold rows of its own.** `BarChartRow.children` nests rows under a row
|
|
157
|
+
behind a disclosure button after its label, closed at first. A child's bar and derived percent
|
|
158
|
+
are shares of its parent's value, not of `max`; it takes the parent's `color` and `showPercent`
|
|
159
|
+
unless it sets its own, draws at `--ds-bar-chart-child-fill-opacity` (default `0.55`), and is
|
|
160
|
+
listed in the data table whether or not its group is open. One level deep. With `interactive`,
|
|
161
|
+
the row carries `aria-expanded`, and Right opens a closed group and Left closes an open one.
|
|
162
|
+
|
|
163
|
+
- **`BarChartRow` takes `hint`, `emphasis`, `showPercent` and `detached`.** `hint` turns the label
|
|
164
|
+
into a defined term: a dotted underline, and the hint in a tooltip on hover and keyboard focus,
|
|
165
|
+
announced as the label's description. `emphasis` prints the label in bold. `showPercent` prints
|
|
166
|
+
or hides that row's percent, overriding the chart's. `detached` marks a row that is not a part of
|
|
167
|
+
the others, such as a total of those who finished or left: a dashed divider in
|
|
168
|
+
`--ds-bar-chart-divider-color` separates it from the row before, and `partOfWhole` gives it no
|
|
169
|
+
share. A chart with any `hint` or `children` takes `role="group"` instead of `role="img"`, so the
|
|
170
|
+
buttons inside stay reachable. A chart without the new fields renders as before.
|
|
171
|
+
`BarChartComponent` gained the public `labelPosition`, the protected `isExpanded`, `toggleRow`,
|
|
172
|
+
`hintId`, `holdsControls`, `percentColumn`, `entries`, `showsSkeleton` and `reloading`, and the private `idPrefix` and
|
|
173
|
+
`expanded`, so a subclass declaring one of those names must rename it.
|
|
174
|
+
|
|
175
|
+
### Changed
|
|
176
|
+
|
|
177
|
+
- **`ds-chart`, `ds-column-chart`, `ds-line-chart`, `ds-pie-chart`, `ds-funnel-chart`,
|
|
178
|
+
`ds-waterfall-chart`, `ds-heatmap-chart` and `ds-scatter-chart` keep their plot on screen while
|
|
179
|
+
they reload.** With `loading` set and data on screen, the plot, its axes and its legend stay
|
|
180
|
+
under the scrim and spinner of `ds-loading-overlay`, which reaches 8px past the plot and leaves
|
|
181
|
+
the caption uncovered; the plot takes no focus or pointer until `loading` clears. They drew the
|
|
182
|
+
skeleton in its place. The skeleton shows only while there is no data: pass empty data while
|
|
183
|
+
`loading` is set to show it on every load. The internal `ChartStatesComponent` gained `reloading`,
|
|
184
|
+
`dataTable` and `shimmer`, and the internal `ds-chart-skeleton` element draws the axis skeleton.
|
|
185
|
+
- **A chart's loading skeleton takes the chart's own shape and size.** `ds-chart` and
|
|
186
|
+
`ds-column-chart` draw the axes with label placeholders and columns, `ds-line-chart` a line,
|
|
187
|
+
`ds-pie-chart` its ring in slices with legend rows, `ds-funnel-chart` narrowing stages over the
|
|
188
|
+
stage table, `ds-waterfall-chart` a total, floating steps and a closing total, `ds-heatmap-chart`
|
|
189
|
+
a cell grid with its labels and scale, and `ds-scatter-chart` its grid lines and labels with no
|
|
190
|
+
dots. Each is laid out on the drawn chart's value space, plot height and gutters, and a data-table
|
|
191
|
+
disclosure keeps its room, so the card keeps its height when the data arrives. A
|
|
192
|
+
`--ds-line-chart-placeholder-height` now sizes the line skeleton with its axis labels included.
|
|
193
|
+
- **`ds-heatmap-chart` is as wide as its grid.** The host is `inline-size: fit-content`, capped at
|
|
194
|
+
its container, so the card, the skeleton and the reload overlay match the grid instead of filling
|
|
195
|
+
the row; a wider grid still scrolls inside it. To fill the container again, set
|
|
196
|
+
`inline-size: auto` on it from a component stylesheet, or as `:root ds-heatmap-chart` from a global
|
|
197
|
+
one: a bare `ds-heatmap-chart { inline-size: auto }` there loses to the component's own host rule.
|
|
198
|
+
- **`ds-select`, `ds-multi-select` and `ds-autocomplete` load into the list itself.** With
|
|
199
|
+
`loading` set and no options, the list shows three placeholder option rows; with options, they
|
|
200
|
+
stay under a `ds-loading-overlay` over the list, inert until `loading` clears. Both replace the
|
|
201
|
+
spinner row. In `ds-multi-select` the filter input and select all stay live. The overlay host
|
|
202
|
+
sits between the panel and the list and ships in `styles/dropdown-overlay`.
|
|
203
|
+
|
|
204
|
+
- **Overlay panels, `ds-modal`, `ds-toast`, `ds-banner` and `ds-alert` enter with `ds-fade-in`
|
|
205
|
+
instead of `ds-scale-in`.** A tooltip, popover, select or menu panel, a submenu, a modal card, a
|
|
206
|
+
toast, a banner and an alert now fade in where they stand, without growing or travelling. The
|
|
207
|
+
scale entrance re-rasterised the text as it ended, so the glyphs drew heavier during the entrance
|
|
208
|
+
and then thinned and stepped a pixel as it settled; the fade does not. `--ds-overlay-enter-scale`, `--ds-overlay-enter-offset`, `--ds-modal-enter-scale`,
|
|
209
|
+
`--ds-toast-enter-scale`, `--ds-banner-enter-scale` and `--ds-alert-enter-scale` still work once the
|
|
210
|
+
matching `--ds-*-enter-keyframes` is set to `ds-scale-in` or `ds-slide-in`.
|
|
211
|
+
- **A closing `ds-toast` fades where it stands.** It rose 8px while it faded.
|
|
212
|
+
- **Chart marks and their labels no longer travel in.** A `ds-funnel-chart` stage grows from 96% while
|
|
213
|
+
it fades in instead of rising 4px, and the value labels of the bar, column, waterfall, heatmap,
|
|
214
|
+
pie and funnel charts and the funnel's table rows fade in where they stand. A `ds-pie-chart` ring
|
|
215
|
+
grows from 96% while it fades in, without the 30° turn.
|
|
216
|
+
- **A `ds-menu-item` submenu stays open while the pointer heads for it.** Moving diagonally from
|
|
217
|
+
the item to its submenu crosses the items below it, and a crossing slower than 150ms closed the
|
|
218
|
+
submenu and opened the next one. The pointer may now cross them for as long as it stays inside
|
|
219
|
+
the triangle from where it left the item to the submenu's near edge; the submenu closes once
|
|
220
|
+
the pointer leaves that triangle or rests in it for 300ms, and an item it rested on then opens
|
|
221
|
+
its own submenu. Moving from the submenu back onto its item keeps it open.
|
|
222
|
+
`MenuItemComponent` gained the public `activateHover` and the private `aim`. A subclass
|
|
223
|
+
declaring one of those names must rename it. It lost the private `closeTimer` and
|
|
224
|
+
`clearCloseTimer`, so a subclass member of either name no longer collides.
|
|
225
|
+
|
|
226
|
+
- **`text-clip.single-line-ellipsis` clips the inline axis only.** It clipped both axes with a
|
|
227
|
+
4px margin, which a font taller than the line box by more than that overran. Ink above and
|
|
228
|
+
below the box now paints over whatever sits there, as it would in any unclipped box.
|
|
229
|
+
- **A `ds-stat` value clamped with `--ds-stat-value-lines` sets `line-height: normal`.** At a
|
|
230
|
+
flat line-height the clamp's edge ran through the strip where the last line's descenders and
|
|
231
|
+
the next line's accents overlap. A clamped value is taller: a tile whose value fills two
|
|
232
|
+
lines at the default size grows from 147 to 165px in Mulish. An unclamped value keeps its flat
|
|
233
|
+
line in a browser with container style queries; in one without, it takes `line-height: normal`
|
|
234
|
+
as well.
|
|
235
|
+
- **`ds-bar-chart` keeps its rows on screen while it reloads.** With `loading` set and rows in
|
|
236
|
+
`data`, the rows stay under the scrim and spinner of `ds-loading-overlay`, the one `ds-table`
|
|
237
|
+
uses on a reload, which covers the whole card to its rounded corners; the chart takes no focus or
|
|
238
|
+
pointer until `loading` clears. It drew skeleton rows in
|
|
239
|
+
their place. Skeleton rows show only while `data` is empty, and now take the label, value,
|
|
240
|
+
percent and track boxes of a drawn row, so the rows keep their height when data arrives. To show
|
|
241
|
+
the skeleton on every load, pass an empty `data` while `loading` is set.
|
|
242
|
+
- **A `**` in an existing tooltip string now makes text bold.** Write `\*\*` where the asterisks
|
|
243
|
+
are meant literally.
|
|
244
|
+
- **`ds-modal`, `ds-modal-card` and `ds-drawer` no longer warn in dev mode about content without a
|
|
245
|
+
slot.** Such content renders in the body by design, so neither the console nor a mirrored toast
|
|
246
|
+
reports it any more, and an attribute that names no slot (a directive such as `cdkDrag`) is not
|
|
247
|
+
reported as an unknown slot. Rendering is the same. `ModalComponent`, `ModalCardComponent` and
|
|
248
|
+
`DrawerComponent` lost the private `unslotted`, so a subclass member of that name no longer collides.
|
|
249
|
+
|
|
250
|
+
- **A `ds-table` column with `truncate` and no `width` grows to its text instead of clipping at
|
|
251
|
+
240px.** The other columns get their content width first; such a column takes what they leave, up
|
|
252
|
+
to the widest value among all filtered rows, on every page, and clips at its column width when
|
|
253
|
+
there is less, down to its header label, so it does not push the table into horizontal scroll.
|
|
254
|
+
In a table that scrolls sideways anyway it clips at 240px of text, or at its `minWidth`. A value
|
|
255
|
+
that was cut at 240px beside empty space now shows whole. To keep the 240px cap everywhere, set
|
|
256
|
+
`width: 272` on the column (240 plus the cell padding).
|
|
257
|
+
`TableComponent` lost the protected `clipWidth` and gained the protected `clipGrows`,
|
|
258
|
+
`clipMaxWidth` and `clipMinWidth` and the private `growingClipColumns`, `clipCapsSet`, `clipFit`,
|
|
259
|
+
`clipFitWidth`, `textCanvas`, `measureGrowingClips`, `widestValue` and `splitGrowingClips`, so a
|
|
260
|
+
subclass declaring one of those names must rename it.
|
|
261
|
+
|
|
262
|
+
- **`DsIntl` gains a required key: `chart.rowsUnder: (label: string) => string`** (default
|
|
263
|
+
`` (label) => `Rows under ${label}` ``), the name of a bar-chart group's disclosure button. A
|
|
264
|
+
complete `DsIntl` dictionary, or a complete `chart` section of one, declared as a typed object
|
|
265
|
+
stops compiling until it lists it. Overrides passed to `provideDsIntl` are partial and need
|
|
266
|
+
nothing.
|
|
267
|
+
|
|
268
|
+
- **A `ds-table` header label with a `hint` is a `button[dsDefinitionTerm]`.** A plain label pins
|
|
269
|
+
its hint on click and takes the term's hover, pressed and pinned states; a sortable one sorts on
|
|
270
|
+
click and pins nothing.
|
|
271
|
+
|
|
272
|
+
### Deprecated
|
|
273
|
+
|
|
274
|
+
- **`styles/skeleton-shimmer` emits nothing, and `styles/ds` no longer forwards it.** `ds-skeleton`
|
|
275
|
+
carries its own reduced-motion opt-out. The partial stays in the package as an empty file; delete your
|
|
276
|
+
`@use 'styles/skeleton-shimmer'`.
|
|
277
|
+
|
|
278
|
+
### Fixed
|
|
279
|
+
|
|
280
|
+
- **A loading `ds-select`, `ds-multi-select` or `ds-autocomplete` list takes no keys.** With
|
|
281
|
+
`loading` set over options already shown, the arrow, `PageUp` / `PageDown`, `Home` / `End` and
|
|
282
|
+
`Enter` keys moved the active row and picked an option under the inert scrim. They do nothing
|
|
283
|
+
until `loading` clears, `aria-activedescendant` points at no option meanwhile, and the field
|
|
284
|
+
itself carries `aria-busy="true"`. Typing in the filter and the multi-select's select-all row stay
|
|
285
|
+
live. `SelectComponent`, `MultiSelectComponent` and `AutocompleteComponent` gained the
|
|
286
|
+
protected `listInert`.
|
|
287
|
+
|
|
288
|
+
- **A clipped `dsTooltipWhenClipped` value is reachable by keyboard wherever it sits.** A host
|
|
289
|
+
that was not focusable, inside no focusable control (a code in a clickable card or row, a value in
|
|
290
|
+
a plain table cell), showed its full text on hover only. It now takes `tabindex="0"` while it is
|
|
291
|
+
clipped, so Tab stops on it and opens the tip, and it loses the stop once its text fits. A host
|
|
292
|
+
that is focusable, sits inside a control or widget role, or holds a control is left as it was; a
|
|
293
|
+
`tabindex` you set is never touched, and `tabindex="-1"` keeps a clipped value out of the Tab order. Every
|
|
294
|
+
host one resize reaches is measured before any of them takes or loses its stop, so a long table
|
|
295
|
+
with clipped columns lays out once per resize rather than once per host.
|
|
296
|
+
|
|
297
|
+
- **The keyboard focus ring is rounded on elements that declare no radius.** The close buttons of
|
|
298
|
+
`ds-banner`, `ds-alert`, `ds-toast`, `ds-drawer` and `ds-modal-card`, the `ds-dropzone` remove
|
|
299
|
+
button, the `ds-table` column filter button and cell link, a focusable `ds-sparkline` and
|
|
300
|
+
`ds-tabs` panel, and a middle `ds-accordion-item` header drew a square ring; they take
|
|
301
|
+
`--focus-ring-radius` now. The `ds-number-stepper` step buttons and the `ds-split-button` segments
|
|
302
|
+
round only their outer corners and keep their shared seam square.
|
|
303
|
+
The radius is set at zero specificity in `styles/focus`, and in each component's base layer for
|
|
304
|
+
its own elements, so any radius an element declares wins; an element of yours that paints a fill or border and declares none rounds its corners while
|
|
305
|
+
focused. Declare its `border-radius` to keep it square.
|
|
306
|
+
|
|
307
|
+
- **The close `×` sits in the centre of its box and focus ring.** The close buttons of `ds-banner`,
|
|
308
|
+
`ds-alert`, `ds-toast` and the `ds-dropzone` remove button laid the icon on a text line, up to 2px
|
|
309
|
+
below or beside the centre of a box that was not square; the `ds-drawer` close icon sat low in a
|
|
310
|
+
box that was already square. They centre the icon in a square box now: 20px in `ds-banner`, 18px
|
|
311
|
+
in `ds-alert`, `ds-toast` and `ds-dropzone`, 24px in `ds-drawer`. The banner and dropzone buttons
|
|
312
|
+
are 8px narrower.
|
|
313
|
+
|
|
314
|
+
- **The `ds-table` column filter button is a 24px target.** It was the 12px icon alone, so its focus
|
|
315
|
+
ring hugged the icon. The target grows around the icon without changing the header height; the
|
|
316
|
+
icon sits `--space-2` after the label instead of `--space-1`, so a filtered header's label clips
|
|
317
|
+
4px sooner. The button is at full opacity while focused.
|
|
318
|
+
|
|
319
|
+
- **A `ds-table` cell link's focus ring clears the text.** It was drawn inward, over the first and
|
|
320
|
+
last letter; it is drawn around the text now. In a `truncate` column the link clips its own text,
|
|
321
|
+
so the ring keeps the sides the cell's clip cut off; the cell's tooltip and ellipsis are as before.
|
|
322
|
+
That link is the element that clips, `a.cell-link.cell-clip-text` inside `span.cell-clip`: a rule
|
|
323
|
+
of yours for `ds-table .cell-clip a` still matches it, but one that sets `display`, `overflow`,
|
|
324
|
+
`white-space` or `text-overflow` there overrides the ellipsis; drop those declarations.
|
|
325
|
+
|
|
326
|
+
- **The focus ring clears the text of a `ds-table` header label, a `ds-list-item` and a
|
|
327
|
+
`ds-breadcrumbs` link.** It was drawn inward, over the first and last letter; it is drawn 2px
|
|
328
|
+
outside the text now, in the padding already around it. Nothing moves at rest, and a header
|
|
329
|
+
term's pressed fill keeps its size.
|
|
330
|
+
|
|
331
|
+
- **Every icon-only control takes the pointer over at least `--hit-xs` (24px).** The close and
|
|
332
|
+
remove buttons of `ds-alert`, `ds-banner`, `ds-toast`, `ds-dropzone` and `ds-tag`; the clear `×`
|
|
333
|
+
of `ds-input`, `ds-search`, `ds-select`, `ds-autocomplete`, `ds-multi-select`, `ds-time-picker`
|
|
334
|
+
and the `ds-sidenav-footer` search; the `ds-input` password toggle, the `ds-date-picker` calendar
|
|
335
|
+
toggle, the `ds-description-item` copy button, the `ds-bar-chart` row toggle, the arrows of the
|
|
336
|
+
`ds-table` width and column panels, an icon-only `ds-breadcrumbs` item and `ds-info-hint` took a
|
|
337
|
+
click only on their own box, under 24px on at least one side. Each keeps the size it is drawn at and takes the pointer
|
|
338
|
+
over 24px around it; nothing around it moves but the arrows of the `ds-table` width and column
|
|
339
|
+
panels, which sit `--space-2-5` apart instead of `--space-1` so their targets do not overlap. Its
|
|
340
|
+
focus ring is drawn on the edge of that target, 24px across, except on `ds-info-hint` and an
|
|
341
|
+
icon-only breadcrumb, whose ring stays on the icon beside their text. Inside a container that sets `data-focus="inset"` or `"edge"` the ring follows that mode and shrinks with it, as the `ds-table` column filter does (16px), since the table sets inset on itself. The ring's corners take the control's own radius, 4px by default, on every one of them. Raising `--hit-xs` raises every one of these targets. The `ds-input` clear button shows its
|
|
342
|
+
own focus ring; it was cut away with its icon.
|
|
343
|
+
|
|
344
|
+
- **The `ds-date-picker` month and year arrows sit in the centre of their button.** The browser's
|
|
345
|
+
button padding left the 14px icon 1px right of the centre of its 24px box.
|
|
346
|
+
|
|
347
|
+
- **A tooltip and a `ds-menu-item` submenu close when anything under them scrolls.** Inside an
|
|
348
|
+
`overflow: auto` container they stayed where they opened while their trigger scrolled away. They
|
|
349
|
+
close now on a scroll of the window or of any scroll container, as
|
|
350
|
+
`ds-popover` and the picker panels already did; a pinned tooltip unpins.
|
|
351
|
+
- **A bordered `ds-table`'s reload overlay follows its rounded corners.** The scrim over the rows
|
|
352
|
+
ended in square bottom corners outside the rounded border; it now takes the table's radius,
|
|
353
|
+
`--ds-table-radius` or `--ds-radius-control`.
|
|
354
|
+
|
|
355
|
+
- **A tooltip's arrow points at the centre of its trigger.** It sat at the middle of the panel, so
|
|
356
|
+
a panel pushed off a viewport edge pointed past a trigger near that edge.
|
|
357
|
+
|
|
358
|
+
- **A `<div actions>` wrapper lays its buttons out like buttons projected one by one.** In the
|
|
359
|
+
footer of `ds-modal`, `ds-modal-card`, `ds-drawer` and `ds-bottom-sheet`, the buttons inside a
|
|
360
|
+
`<div actions>` (or a `<div drawer-footer>`) touched; they now take the footer's gap, alignment
|
|
361
|
+
and, in `ds-modal-card`, its stacking when the row runs out of width. The wrapper gets
|
|
362
|
+
`display: contents` at zero specificity, so a `display` you set on it yourself still wins and keeps
|
|
363
|
+
your own layout.
|
|
364
|
+
|
|
365
|
+
- **Text keeps its ascenders and descenders under any font.** A box that truncates text clipped
|
|
366
|
+
both axes, so where the font's ascent plus descent is taller than the line-height, the tails of
|
|
367
|
+
g, j, p, q and y and the marks above Й, Ё and Å were cut flat, by more the taller the font you
|
|
368
|
+
set in `--font-sans`. These now clip along the inline axis only and keep their size:
|
|
369
|
+
`ds-breadcrumbs` (the row and each label), the `ds-stat` label and value, every label that ends
|
|
370
|
+
in an ellipsis (`ds-select`, `ds-multi-select` and `ds-autocomplete` values and options,
|
|
371
|
+
`ds-sidenav-item`, `ds-sidenav-footer`, `ds-tree`, `ds-banner`, `ds-table` headers and
|
|
372
|
+
cells), the chips of a `ds-multi-select` or `ds-autocomplete` in fit mode, the `ds-date-picker`
|
|
373
|
+
value, the `ds-filter-bar` row, and `ds-table` headers with resizable columns. A long label
|
|
374
|
+
still ends in an ellipsis and a long trail still clips at the row's end.
|
|
375
|
+
|
|
376
|
+
- **A pinned chart tooltip takes the pointer.** Its text can be selected and a link in a
|
|
377
|
+
`tooltipTemplate` clicked; the panel's content ignored the pointer even while its pane was pinned,
|
|
378
|
+
so a press on it went through to the pane. An unpinned tooltip still lets the pointer through to
|
|
379
|
+
the plot, and a `pointer-events: auto` you set on an element of your `tooltipTemplate` is still
|
|
380
|
+
what makes it clickable while `tooltipLingerMs` keeps an unpinned panel open. The internal
|
|
381
|
+
`ChartTooltipDirective` behind `dsChartTooltip` lost the private `closeOnEscape`, so a subclass
|
|
382
|
+
member of that name no longer collides.
|
|
383
|
+
- **A `truncate` column dragged with `dsTableResize` clips at its dragged width.** A column with a
|
|
384
|
+
`width` kept cutting its text at that width after being dragged wider, and could not be dragged
|
|
385
|
+
narrower than it plus its padding.
|
|
386
|
+
- **A `truncate` column with a numeric `width` is that wide.** Its text was clipped at `width`
|
|
387
|
+
and the cell padding came on top, so `width: 240` rendered a 272px column (264px at compact
|
|
388
|
+
density) while a column without `truncate` rendered 240px. The text now clips inside the
|
|
389
|
+
declared width, 32px shorter at the default density.
|
|
390
|
+
|
|
391
|
+
- **`ng add` with a `--project` that does not exist stops with an error naming it.** It printed the
|
|
392
|
+
generic "add it manually" message and changed nothing, which hid the typo.
|
|
393
|
+
|
|
394
|
+
- **`ng add` no longer adds a second `@use` of the package styles.** A line you wrote yourself with
|
|
395
|
+
double quotes, `as` or `with (...)` was not recognised, and Sass then refused the duplicate
|
|
396
|
+
namespace.
|
|
397
|
+
|
|
398
|
+
- **`check-overrides` reports `--ds-*` values set from templates and code.** `[style.--ds-*]`
|
|
399
|
+
bindings and `setProperty('--ds-*', …)` calls were never matched, so a stale token set that way
|
|
400
|
+
went unreported.
|
|
401
|
+
|
|
402
|
+
- **Reduced motion stops the skeleton shimmer in an app that does not load `styles/ds`.** The opt-out
|
|
403
|
+
lived in `styles/skeleton-shimmer`, so an app assembling the partials one by one kept the wave
|
|
404
|
+
running for readers who asked for less motion. `ds-skeleton` carries it in its own styles now.
|
|
405
|
+
|
|
406
|
+
- **The "no matches" row of `ds-select`, `ds-multi-select` and `ds-autocomplete` keeps its type
|
|
407
|
+
without `styles/typography`.** Its family, weight and line height came from the `.t-s` class,
|
|
408
|
+
so without that partial the row fell back to the page's font (the browser's serif on an
|
|
409
|
+
unstyled page). `styles/dropdown-overlay` sets them now, from the same `--ds-typography-s-*`
|
|
410
|
+
hooks, and the row no longer carries `t-s`; with typography loaded it renders as before. A rule
|
|
411
|
+
of yours that reached the row through `.t-s` matches nothing: select `.ds-dropdown-panel .empty`.
|
|
412
|
+
|
|
413
|
+
- **Components keep their size, fonts and focus ring in an app that does not load `styles/reset`
|
|
414
|
+
or `styles/focus`.** Each component now sets `box-sizing: border-box` on its host and its own
|
|
415
|
+
elements, puts its form controls in the inherited font, clears its heading margins and draws the
|
|
416
|
+
base focus ring on its own focusable elements. Without `styles/reset`, a default `ds-input` field
|
|
417
|
+
and a `ds-input` inside `ds-field-group` grew taller, and a host with a border took the browser's `content-box`; without `styles/focus`, buttons such as the
|
|
418
|
+
`ds-number-stepper` steps and the close buttons of `ds-banner`, `ds-toast`, `ds-modal-card` and
|
|
419
|
+
`ds-drawer` showed the browser's own focus ring. A height animation such as an expanding
|
|
420
|
+
`ds-sidenav-group` animates without the reset as well.
|
|
421
|
+
|
|
422
|
+
- **`ds-container` with `size="sm|md|lg"` and the responsive rail of `ds-app-layout` work without
|
|
423
|
+
`bp.emit-vars`.** Both fall back to the library's breakpoints; `ds-container` went full-bleed
|
|
424
|
+
and the rail stayed in desktop layout. Your own `--bp-*` still win where you set them, and the
|
|
425
|
+
dev-mode warning about a missing `--bp-lg` is gone.
|
|
426
|
+
|
|
427
|
+
- **`ds-bar-chart` prints `—` for a row with a non-finite value.** A `NaN` or `Infinity` value, or a
|
|
428
|
+
`[low, high]` pair with a non-finite end, printed `0` and `0.0%` as though it were a reading of zero.
|
|
429
|
+
The row now draws no bar and shows `—` as its value, as its percentage (unless the row sets
|
|
430
|
+
`percent`) and as its share in the data table under `partOfWhole`. The generated summary leaves
|
|
431
|
+
such a row out of its lowest and highest readings, and reads `—` when no row has a value.
|
|
432
|
+
|
|
433
|
+
### What you can now DELETE
|
|
434
|
+
|
|
435
|
+
| Delete | Why | Replace with |
|
|
436
|
+
| --- | --- | --- |
|
|
437
|
+
| `--ds-waterfall-chart-skeleton-height:` | the waterfall skeleton draws floating steps on the chart's own plot height and reads no height token | nothing |
|
|
438
|
+
| `--chart-skeleton-h:` | no component reads the token | nothing |
|
|
439
|
+
| `@use 'styles/skeleton-shimmer'` | the partial emits nothing; `ds-skeleton` styles its own reduced-motion stop | nothing |
|
|
440
|
+
| a hand-built info button: `name="info"` on a `ds-icon` inside a `<button>` that carries `dsTooltip` | `ds-info-hint` renders the button, the icon and the pinned tooltip | `<ds-info-hint ariaLabel="…" text="…" />` |
|
|
441
|
+
| a hand-built term button styled with `underline dotted` that carries `dsTooltip` | `dsDefinitionTerm` carries the underline, the focus ring, the keyboard access and the pinned tooltip | `<span dsDefinitionTerm="…">` |
|
|
442
|
+
| a cell template wrapping the value in an element styled `width: 0; min-width: 100%` with an ellipsis, plus `dsTooltipWhenClipped` on it, so a column without `width` clips at its own width | `truncate: true` on a column without `width` clips at the column width and shows the full value in a tooltip | `truncate: true` on the column; keep the template only for markup it adds besides the value |
|
|
443
|
+
| `--ds-overlay-enter-keyframes: ds-fade-in` | `ds-fade-in` is the default entrance of overlay panels | nothing |
|
|
444
|
+
| `--ds-modal-enter-keyframes: ds-fade-in` | `ds-fade-in` is the default entrance of a modal card | nothing |
|
|
445
|
+
| `--ds-toast-enter-keyframes: ds-fade-in` | `ds-fade-in` is the default entrance of a toast | nothing |
|
|
446
|
+
| `--ds-banner-enter-keyframes: ds-fade-in` | `ds-fade-in` is the default entrance of a banner | nothing |
|
|
447
|
+
| `--ds-alert-enter-keyframes: ds-fade-in` | `ds-fade-in` is the default entrance of an alert | nothing |
|
|
448
|
+
| `tabindex="0"` added to a `dsTooltipWhenClipped` host only so the keyboard reaches it | the host takes `tabindex="0"` by itself while it is clipped, and no stop while its text fits | nothing; keep it where the value must stay a tab stop when it fits |
|
|
449
|
+
|
|
450
|
+
## 0.14.8 — 2026-10-06
|
|
451
|
+
|
|
452
|
+
### Added
|
|
453
|
+
|
|
454
|
+
- **`TableColumn.hint` defines a column's term.** Set it and the header label of `ds-table` gets a
|
|
455
|
+
dotted underline in `--text-tertiary` and shows the hint in a tooltip on hover and keyboard focus,
|
|
456
|
+
announced as the label's description. A sortable label keeps its sort button as the single Tab
|
|
457
|
+
stop; a plain label with a hint renders as a `<button type="button">` styled like the label. While
|
|
458
|
+
the label is clipped, the tooltip shows the label on its first line and the hint under it;
|
|
459
|
+
otherwise it shows the hint alone. A column without `hint` renders as before.
|
|
460
|
+
|
|
461
|
+
- **`dsTooltipClippedLead` puts a line above a tooltip while its host is clipped.** Set it to the
|
|
462
|
+
host's own text and the tip reads that text, a line break, then `dsTooltip`; while the host shows
|
|
463
|
+
all of its text the tip is `dsTooltip` alone. `TooltipDirective` gained the public
|
|
464
|
+
`dsTooltipClippedLead`, so a subclass declaring that name must rename it.
|
|
465
|
+
|
|
466
|
+
### Changed
|
|
467
|
+
|
|
468
|
+
- **A tooltip keeps a line break written into its text.** A `dsTooltip` string, or the text a
|
|
469
|
+
`dsTooltipWhenClipped` host discloses, that holds a newline now breaks there; it read as a space
|
|
470
|
+
before. Runs of spaces still collapse, and a text on one line is unchanged. A string built from a
|
|
471
|
+
data value with a newline, or from a template literal written across several lines, now shows one
|
|
472
|
+
row per line; join the lines with a space to keep the old look.
|
|
473
|
+
|
|
474
|
+
### Fixed
|
|
475
|
+
|
|
476
|
+
- **A `ds-table` header label wider than its column ends in an ellipsis.** It ran past the column over
|
|
477
|
+
the next header, and the last column's was cut by the scroll edge. The label now clips inside its
|
|
478
|
+
column; the sort icon and the filter button stay visible, and the clipped label still shows in a
|
|
479
|
+
tooltip. A header that fits looks the same, but every label now sits in a `.th-text` span, which
|
|
480
|
+
carries the ellipsis, inside `.th-label`.
|
|
481
|
+
|
|
3
482
|
## 0.14.7 — 2026-10-05
|
|
4
483
|
|
|
5
484
|
### Added
|
|
@@ -109,10 +588,11 @@
|
|
|
109
588
|
band and the panel shows that point alone; Enter on it fires `pointClicked` as a click does.
|
|
110
589
|
Enter on a band pins it and moving to another band lets the pin go; Escape steps back from a
|
|
111
590
|
marker to the band and then closes the panel. The series markers are no longer Tab stops there;
|
|
112
|
-
charts whose pointer picks a mark
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
be renamed, since
|
|
591
|
+
charts whose pointer picks a mark keep their Tab stops and keys, except that Space on a line
|
|
592
|
+
marker no longer scrolls the page. A class extending `ChartComponent`, `LineSeriesComponent` or
|
|
593
|
+
`ColumnSeriesComponent` may collide with the members they gained (`focusedCategory`,
|
|
594
|
+
`axisPointElements` and the keyboard handlers); a colliding private one must be renamed, since
|
|
595
|
+
`override` cannot reach it.
|
|
116
596
|
|
|
117
597
|
- **`styles/focus` emits its global rules only through `emit-rules`.** The base focus indicator
|
|
118
598
|
(`:where(:focus-visible)`), the `ds-focus-ring-in` keyframes, the `data-focus` switch and the
|
|
@@ -451,8 +931,9 @@
|
|
|
451
931
|
`ChartTooltipPanelComponent` gained `showsSwatches` and `swatches`; and the internal
|
|
452
932
|
`ChartTooltipDirective` gained `dsChartTooltipSwatches`, `glide` and `glideFrom`. The `min` and
|
|
453
933
|
`max` inputs of `HeatmapChartComponent` and the `max` and `maxSecondary` inputs of
|
|
454
|
-
`LineChartComponent` now carry a `numberAttribute` transform
|
|
455
|
-
|
|
934
|
+
`LineChartComponent` now carry a `numberAttribute` transform with the write type still
|
|
935
|
+
`number | null`, so a subclass that redeclares one compiles unchanged, and `tooltipLingerMs` on
|
|
936
|
+
`ColumnSeriesComponent` and
|
|
456
937
|
`LineSeriesComponent` defaults to `500`. Build after upgrading; rename or mark `override` every member the
|
|
457
938
|
compiler reports colliding. Subclassing a DS component is unsupported.
|
|
458
939
|
|
|
@@ -487,9 +968,10 @@
|
|
|
487
968
|
over the top end of the plot, and the chart keeps its height when a mark is held. A captioned
|
|
488
969
|
chart is unchanged, its control on the caption line.
|
|
489
970
|
|
|
490
|
-
- **`ds-heatmap-chart`'s `min` and `max` and `ds-line-chart`'s `max` and `maxSecondary`
|
|
491
|
-
static attribute.** Written as `min="0"` they now
|
|
492
|
-
|
|
971
|
+
- **`ds-heatmap-chart`'s `min` and `max` and `ds-line-chart`'s `max` and `maxSecondary` coerce a
|
|
972
|
+
static attribute.** Written as `min="0"` they now pass through `numberAttribute` and hold a number;
|
|
973
|
+
before, they held the string. Their write type is still `number | null`, so under
|
|
974
|
+
`strictTemplates` the static attribute fails with TS2322 as before; keep `[min]="0"` there.
|
|
493
975
|
|
|
494
976
|
### Fixed
|
|
495
977
|
|
|
@@ -877,8 +1359,7 @@
|
|
|
877
1359
|
`ChartComponent.tooltipPreferBelow` is now `tooltipPinned`, and the internal
|
|
878
1360
|
`ChartTooltipDirective` drops `dsChartTooltipPreferBelow` for `dsChartTooltipPinned`. Delete every
|
|
879
1361
|
`[dsChartTooltipPreferBelow]` binding. A custom mark that hands `CHART_SCALES.reportTooltip` a
|
|
880
|
-
source renames its `preferBelow` field to `pinned`; a `pinned` panel takes the pointer
|
|
881
|
-
can be selected. A `preferBelow` reached through a variable still compiles and is ignored. The
|
|
1362
|
+
source renames its `preferBelow` field to `pinned`; a `pinned` panel's pane takes the pointer. A `preferBelow` reached through a variable still compiles and is ignored. The
|
|
882
1363
|
library's own charts need nothing.
|
|
883
1364
|
|
|
884
1365
|
- **`--ds-chart-hatch-width` defaults to `1.5px` (was `3px`), and the stripe runs down the middle of
|
|
@@ -954,9 +1435,10 @@
|
|
|
954
1435
|
still gets en-US. To keep en-US: `provideDsConfig({ datePicker: { locale: 'en-US' } })`.
|
|
955
1436
|
|
|
956
1437
|
- **`ds-dropzone` formats file sizes in the locale.** A listed file's size reads `DsConfig.locale`,
|
|
957
|
-
then `LOCALE_ID`; under a de-DE locale `1.5 MB` reads `1,5 MB`. Under en-US the text
|
|
958
|
-
|
|
959
|
-
`provideDsConfig({ locale: 'en-US' })`, which
|
|
1438
|
+
then `LOCALE_ID`; under a de-DE locale `1.5 MB` reads `1,5 MB`. Under en-US the text gains a group
|
|
1439
|
+
separator from 1000 KB up to 1 MB and from 1000 MB up (`1,000.0 KB`, `1,024.0 MB`), and is
|
|
1440
|
+
unchanged everywhere else. To pin a dot decimal: `provideDsConfig({ locale: 'en-US' })`, which
|
|
1441
|
+
also pins chart numbers and `ds-date-picker`.
|
|
960
1442
|
|
|
961
1443
|
- **`ds-textarea` text size resolves `--ds-input-font-size`, then `--ds-field-font-size`, then
|
|
962
1444
|
`--font-size-s` (was fixed at `--font-size-s`).** A `ds-textarea` under an ancestor that sets
|
|
@@ -970,9 +1452,10 @@
|
|
|
970
1452
|
under neither draws exactly what it drew. To restore the grey hover: `ds-search {
|
|
971
1453
|
--ds-search-border-hover: var(--border-default); }`.
|
|
972
1454
|
|
|
973
|
-
- **Subclassing one of these breaks on a name collision.** Every one
|
|
974
|
-
`
|
|
975
|
-
|
|
1455
|
+
- **Subclassing one of these breaks on a name collision.** Every one but `AuthLayoutComponent`,
|
|
1456
|
+
`LineSeriesComponent` and the internal `ChartTooltipDirective` gained a member - most an `intl`
|
|
1457
|
+
accessor and the `...Resolved` readbacks that pair with the nullable text inputs above, the nine
|
|
1458
|
+
chart components also `renderReady`: `AccordionComponent`, `AccordionItemComponent`,
|
|
976
1459
|
`AlertComponent`, `AppLayoutComponent`, `AuthLayoutComponent`, `AutocompleteComponent`,
|
|
977
1460
|
`AvatarComponent`, `AvatarGroupComponent`, `BadgeComponent`, `BannerComponent`,
|
|
978
1461
|
`BarChartComponent`, `BreadcrumbsComponent`, `ChartComponent`, `ColumnSeriesComponent`,
|
|
@@ -993,9 +1476,8 @@
|
|
|
993
1476
|
`ChartComponent.tooltipPreferBelow`, `ColumnSeriesComponent.onMarkBlur`,
|
|
994
1477
|
`LineSeriesComponent.onMarkerBlur` and the internal `ChartTooltipDirective.dsChartTooltipPreferBelow`.
|
|
995
1478
|
Build after upgrading; rename or mark `override` every member the compiler reports colliding
|
|
996
|
-
(TS4114, or TS2416 where the signature differs
|
|
997
|
-
|
|
998
|
-
without `override` still compiles and is never called again. Subclassing a DS component is
|
|
1479
|
+
(TS4114, or TS2416 where the signature differs), and delete an override whose base member is
|
|
1480
|
+
gone. A method named like a removed member and declared without `override` still compiles and is never called again. Subclassing a DS component is
|
|
999
1481
|
unsupported.
|
|
1000
1482
|
|
|
1001
1483
|
### Added
|
|
@@ -1034,9 +1516,11 @@
|
|
|
1034
1516
|
- **Six field-family tokens sit under every text-entry field's own token.** `--ds-field-border-color`,
|
|
1035
1517
|
`--ds-field-border-color-hover`, `--ds-field-border-color-focus`, `--ds-field-text-color`,
|
|
1036
1518
|
`--ds-field-placeholder-color` and `--ds-field-font-size` reach `ds-input`, `ds-textarea`,
|
|
1037
|
-
`ds-select`, `ds-multi-select`, `ds-autocomplete` and `ds-search
|
|
1038
|
-
`--ds-
|
|
1039
|
-
|
|
1519
|
+
`ds-select`, `ds-multi-select`, `ds-autocomplete` and `ds-search`, all but
|
|
1520
|
+
`--ds-field-border-color-hover` on `ds-search`, whose hover border follows its resting one; a
|
|
1521
|
+
per-component token such as `--ds-input-border` still wins where set. The date, time and colour
|
|
1522
|
+
pickers, the number stepper and the OTP cells are not in the family. Every default is the value
|
|
1523
|
+
each field already drew.
|
|
1040
1524
|
|
|
1041
1525
|
- **`ds-select`, `ds-multi-select` and `ds-search` take their own size and colour hooks.**
|
|
1042
1526
|
`ds-select`: `--ds-select-border-color-focus` (read by the focused and the open trigger alike),
|
|
@@ -1197,7 +1681,7 @@
|
|
|
1197
1681
|
- **The chart tooltip pane is inert unless the reading is pinned.** The pane is drawn over the plot
|
|
1198
1682
|
it describes, so on a funnel or a tight category axis it covered the neighbouring marks and the
|
|
1199
1683
|
mark underneath never saw the pointer - the panel named a segment the reader had already left.
|
|
1200
|
-
A pinned pane takes the pointer again
|
|
1684
|
+
A pinned pane takes the pointer again; the panel's own content does not. A rule of yours on
|
|
1201
1685
|
`.cdk-overlay-pane.ds-chart-tooltip-pane` that assumed `pointer-events: auto` needs
|
|
1202
1686
|
`.is-pinned` added to it.
|
|
1203
1687
|
|
|
@@ -1430,7 +1914,7 @@
|
|
|
1430
1914
|
first word. The grid and the `ds-table-expand` animation sit on `.expand-panel-inner`, and the
|
|
1431
1915
|
projected template is wrapped in `.expand-panel-content`, the track the reveal clips. A rule of
|
|
1432
1916
|
yours that reached your template's root through `.expand-panel-inner >` selects
|
|
1433
|
-
`.expand-panel-content` now; `.expand-panel-cell > .expand-panel-inner`
|
|
1917
|
+
`.expand-panel-content` now; `.expand-panel-cell > .expand-panel-inner` still matches.
|
|
1434
1918
|
|
|
1435
1919
|
### What you can now DELETE
|
|
1436
1920
|
|
|
@@ -1535,7 +2019,7 @@
|
|
|
1535
2019
|
|
|
1536
2020
|
An unknown custom property is not an error. The declaration stays in the stylesheet, the
|
|
1537
2021
|
component reads its own fallback, and the element draws at its default with no build error and
|
|
1538
|
-
no console warning, so a missed rename is silent. Grep for the
|
|
2022
|
+
no console warning, so a missed rename is silent. Grep for the twelve spellings and the three
|
|
1539
2023
|
named tokens above.
|
|
1540
2024
|
|
|
1541
2025
|
- **`--ds-container-pad` is `--ds-surface-padding`.** It is the padding every surface component
|
|
@@ -1607,7 +2091,7 @@
|
|
|
1607
2091
|
|
|
1608
2092
|
**Two of these fail quietly.** A static `sortDir="asc"` left behind is an unknown attribute:
|
|
1609
2093
|
Angular leaves it on the DOM, the input keeps its default, and the table sorts by nothing with
|
|
1610
|
-
no warning. And `
|
|
2094
|
+
no warning. And `multi="false"`, written to get a single-open accordion, becomes an unknown
|
|
1611
2095
|
attribute against a default of `true` - the accordion opens several panels instead, silently.
|
|
1612
2096
|
A property binding fails the build; a plain attribute does not.
|
|
1613
2097
|
|
|
@@ -1860,9 +2344,10 @@
|
|
|
1860
2344
|
```
|
|
1861
2345
|
|
|
1862
2346
|
It only shows once something widens the button past its contents, so on an inline button the two
|
|
1863
|
-
values are identical
|
|
1864
|
-
action wants is the label at one edge and the
|
|
1865
|
-
would publish every other flex arrangement
|
|
2347
|
+
values are identical unless a message longer than the label widens it. Named values rather than a
|
|
2348
|
+
`justify-content` token: the shape a full-width action wants is the label at one edge and the
|
|
2349
|
+
arrow at the other, and publishing the CSS property would publish every other flex arrangement
|
|
2350
|
+
with it.
|
|
1866
2351
|
|
|
1867
2352
|
- **`ds-pagination` takes `size` and `layout`.** `size` is the sm/md/lg control scale the rest of
|
|
1868
2353
|
the library uses, unset resolving `DS_CONFIG.control.size` and then `sm`, which is the height the
|
|
@@ -1891,9 +2376,10 @@
|
|
|
1891
2376
|
`--ds-dropdown-empty-font-size` for the panel's no-results line; and
|
|
1892
2377
|
`--ds-autocomplete-input-font-size`.
|
|
1893
2378
|
|
|
1894
|
-
Every default is the value the component already drew,
|
|
1895
|
-
|
|
1896
|
-
|
|
2379
|
+
Every default is the value the component already drew, except the pagination label's: `normal`
|
|
2380
|
+
and `none` replace the `letter-spacing` and `text-transform` it inherited, so a label under an
|
|
2381
|
+
ancestor that sets either stops following it. The no-results line takes `inherit` as its size
|
|
2382
|
+
default, which is what it resolved to when it declared none.
|
|
1897
2383
|
|
|
1898
2384
|
The empty line's tokens are named for the dropdown panel rather than spelled `--ds-empty-*`,
|
|
1899
2385
|
because `--ds-empty-state-*` is a different component and the two would have sat one hyphen
|
|
@@ -1939,12 +2425,12 @@
|
|
|
1939
2425
|
```
|
|
1940
2426
|
|
|
1941
2427
|
**It is the only chart whose mark count the caller decides**, so it is the only one that thins its
|
|
1942
|
-
own data. SVG degrades by the number of NODES, not readings: the same data as a line
|
|
1943
|
-
`<path>` and as a scatter it is one node per point, while
|
|
1944
|
-
errors at about 1400 on a page that may hold four more
|
|
1945
|
-
marks - not two, where the saving is invisible and the
|
|
1946
|
-
decimated, a line under the plot says how many readings
|
|
1947
|
-
lists every one.
|
|
2428
|
+
own data. SVG degrades by the number of NODES, not readings: the same data as a line with no
|
|
2429
|
+
markers and no `interactive` is one `<path>` and as a scatter it is one node per point, while
|
|
2430
|
+
Lighthouse warns at about 800 nodes and errors at about 1400 on a page that may hold four more
|
|
2431
|
+
charts. Past FOUR times the plot's width in marks - not two, where the saving is invisible and the
|
|
2432
|
+
loss of detail is not - the series is decimated, a line under the plot says how many readings
|
|
2433
|
+
were thinned, and the annex table still lists every one.
|
|
1948
2434
|
|
|
1949
2435
|
`decimator` picks how. `'minMax'`, the default, keeps each bucket's highest and lowest reading by
|
|
1950
2436
|
construction, so the spike a reader is looking for cannot be the point that was dropped; it also
|
|
@@ -2046,7 +2532,7 @@
|
|
|
2046
2532
|
separate. The heat scale runs the same hue across the full lightness range, 95% to 31%, which is
|
|
2047
2533
|
6.9-10.6 with 55.0 end to end (OKLab).
|
|
2048
2534
|
|
|
2049
|
-
**`--ds-chart-ramp-*` is unchanged
|
|
2535
|
+
**`--ds-chart-ramp-*` is unchanged, so `ds-funnel-chart` keeps its stage colours.** The two scales
|
|
2050
2536
|
want opposite things: a funnel's stages are a shape read at a glance, where a stage at either
|
|
2051
2537
|
extreme reads as a different object rather than as the next step, and a heat map needs every step
|
|
2052
2538
|
the eye can hold. `ds-heatmap-chart` is the only thing painting with the heat scale.
|
|
@@ -2171,7 +2657,7 @@
|
|
|
2171
2657
|
`tooltipLingerMs` and `defaults` among them. `LineChartComponent` gained 24 (`curve`, `stack`,
|
|
2172
2658
|
`yAxisLabel`, `secondaryAxisLabel`, `plot`, `plotHeight` and the rest) and lost 51 protected and
|
|
2173
2659
|
private geometry members now that its plot is drawn by `ds-chart`, so a subclass that overrode one
|
|
2174
|
-
of those overrides nothing. `LineSeriesComponent`, public now, gained
|
|
2660
|
+
of those overrides nothing. `LineSeriesComponent`, public now, gained 18 (`curve`, `dimOthers`,
|
|
2175
2661
|
`highlighted`, `patterns`, `pinOnClick`, `stacked`, `tooltipAnchor` and their helpers). Every
|
|
2176
2662
|
chart gained the `defaults` and the table rows it hands `ds-chart-data-table`:
|
|
2177
2663
|
`BarChartComponent`, `ColumnChartComponent`, `FunnelChartComponent`, `PieChartComponent` and
|
|
@@ -2201,7 +2687,10 @@
|
|
|
2201
2687
|
the pie's pair (`--ds-donut-chart-focus-color` / `-width` before the rename, now
|
|
2202
2688
|
`--ds-pie-chart-focus-color` / `-width`), resolved into a private name no rule read: an override
|
|
2203
2689
|
parsed, cascaded and changed no pixel. Each now points its pair at `--ds-chart-focus-ring-color`
|
|
2204
|
-
and `--focus-ring-*`, which draws the ring.
|
|
2690
|
+
and `--focus-ring-*`, which draws the ring. With neither pair set, a focused funnel stage or pie
|
|
2691
|
+
slice draws no ring: the private pair falls back to `--focus-ring-*`, which the same chart sets
|
|
2692
|
+
from that pair, and the cycle leaves both invalid. Set the chart's color and width tokens to get
|
|
2693
|
+
the ring back.
|
|
2205
2694
|
|
|
2206
2695
|
- **`--ds-table-head-height` is in the token reference, and the loading scrim honours it.** The
|
|
2207
2696
|
hook, spelled `--ds-table-head-h` before this release, only ever existed as a string inside a
|
|
@@ -2301,7 +2790,8 @@
|
|
|
2301
2790
|
`ProgressComponent` and `MeterComponent` are both `BarComponent`, and `ProgressVariant` is
|
|
2302
2791
|
`BarVariant` — all from `@ids-group-ltd/ids-design-system/components/bar`. A subclass of either
|
|
2303
2792
|
old class stops building; there is one class to extend now, and it carries every member both of
|
|
2304
|
-
them had
|
|
2793
|
+
them had, except that `MeterComponent`'s protected `clamped` and `percent` are `clampedValue` and
|
|
2794
|
+
`valuePercent` there.
|
|
2305
2795
|
|
|
2306
2796
|
**A renamed `ds-meter` needs one more edit.** It was `aria-hidden` unless `ariaLabel` named it;
|
|
2307
2797
|
`ds-bar` announces as a progress bar by default. Add `semantics="none"` where the figure is
|
|
@@ -2389,7 +2879,7 @@
|
|
|
2389
2879
|
single-series chart ARE the categories and the marks of a grouped one are not. A flat list still
|
|
2390
2880
|
takes the whole band, so a chart that was passing one stays exactly as it was. Stacked segments
|
|
2391
2881
|
are separated by a 2px gap in the surface colour rather than a drawn rule, which survives print
|
|
2392
|
-
and colour-vision deficiency. `stack="stacked"` and `ds-line-chart`'s `
|
|
2882
|
+
and colour-vision deficiency. `stack="stacked"` and `ds-line-chart`'s `yAxisMode="stacked"` are
|
|
2393
2883
|
different things: series on top of each other, against two plots one above the other.
|
|
2394
2884
|
|
|
2395
2885
|
- **`ds-donut-chart` takes `partOfWhole`, so its percentages can be turned off.** A ring always
|
|
@@ -2461,8 +2951,8 @@
|
|
|
2461
2951
|
- **Hovering a legend item behaves as hovering the mark it names.** On `ds-donut-chart` the panel
|
|
2462
2952
|
opened over the legend row rather than over the arc, so the reader was pointed at the label
|
|
2463
2953
|
instead of the slice; on `ds-funnel-chart` the stage rows did nothing at all. Both now open the
|
|
2464
|
-
same panel over the MARK and dim the rest of the plot, identical to pointing
|
|
2465
|
-
directly, and the keyboard route follows wherever the legend carries it.
|
|
2954
|
+
same panel over the MARK and, under `dimOthers`, dim the rest of the plot, identical to pointing
|
|
2955
|
+
at the arc or the bar directly, and the keyboard route follows wherever the legend carries it.
|
|
2466
2956
|
|
|
2467
2957
|
- **A chart tooltip opens against its mark, not against the row that holds it.** `ds-bar-chart`
|
|
2468
2958
|
anchored the panel to the whole row — label, value and track — so it opened a row-height above
|
|
@@ -2480,7 +2970,8 @@
|
|
|
2480
2970
|
|
|
2481
2971
|
- **Exported class member surface moved — only matters if you SUBCLASS one of these.**
|
|
2482
2972
|
`ProgressComponent` and `MeterComponent` are gone; `BarComponent` carries every member both of
|
|
2483
|
-
them had
|
|
2973
|
+
them had, with `MeterComponent`'s `clamped` and `percent` renamed `clampedValue` and
|
|
2974
|
+
`valuePercent`. `ChartTooltipDirective`, internal and not exported from the package root, gains
|
|
2484
2975
|
`dsChartTooltipPreferBelow`. `ColumnChartComponent` moved its drawing into the shared container
|
|
2485
2976
|
and took several series, so it gained `thresholds`, `categories`, `geometry`, `tableRows`,
|
|
2486
2977
|
`viewHeightPx`, `skeletonHeightPx`, `stack`, `resolvedSeries`, `seriesRefs`, `pinnedSeries`,
|
|
@@ -2508,7 +2999,8 @@
|
|
|
2508
2999
|
on a coloured band read as an artefact rather than as a focus indicator. It is
|
|
2509
3000
|
`--focus-ring-color` with a light keyline around it now — the keyline is what separates it from
|
|
2510
3001
|
a mark of the same hue family, which is why the indicator is two tones either way.
|
|
2511
|
-
`--ds-chart-focus-ring-color` and `--ds-chart-focus-halo-color` still set both
|
|
3002
|
+
`--ds-chart-focus-ring-color` and `--ds-chart-focus-halo-color` still set both; `white` and
|
|
3003
|
+
`var(--static-ink)` are the old pair.
|
|
2512
3004
|
|
|
2513
3005
|
- **A chart with nothing to draw keeps its axes.** `ds-line-chart` and `ds-column-chart` render
|
|
2514
3006
|
the value axis and the category axis behind the empty, error and no-visible-series messages, so
|
|
@@ -2525,6 +3017,9 @@
|
|
|
2525
3017
|
- **`indeterminate` is ignored unless `semantics` is `'progress'`.** Only a task has an unknown
|
|
2526
3018
|
duration. Nothing that set it on `ds-progress` is affected, because that is the default.
|
|
2527
3019
|
|
|
3020
|
+
- **An indeterminate `ds-bar` holds still under reduced motion.** With `prefers-reduced-motion:
|
|
3021
|
+
reduce` it fills its track without moving; `ds-progress` kept its sweep, at half speed.
|
|
3022
|
+
|
|
2528
3023
|
### Fixed
|
|
2529
3024
|
|
|
2530
3025
|
- **A pinned tooltip survives a scroll.** Every chart tore its panel down on any scroll of the page,
|
|
@@ -2545,7 +3040,6 @@
|
|
|
2545
3040
|
leading digit of every tick - `3,5 тыс.` printed as `,5 тыс.`. The gutter is measured from the
|
|
2546
3041
|
widest label that actually rendered, and `axisGutter` is the floor it will not go below.
|
|
2547
3042
|
|
|
2548
|
-
|
|
2549
3043
|
## 0.13.2 — 2026-09-15
|
|
2550
3044
|
|
|
2551
3045
|
### Added
|
|
@@ -2712,7 +3206,7 @@
|
|
|
2712
3206
|
<ds-line-chart [max]="5000" [categories]="months" [series]="series" />
|
|
2713
3207
|
```
|
|
2714
3208
|
|
|
2715
|
-
Null, the default, keeps the derived axis, so
|
|
3209
|
+
Null, the default, keeps the derived axis, so an existing axis is unchanged. A maximum below
|
|
2716
3210
|
the data does not clip it — the larger of the two wins, because hiding a reading is worse than
|
|
2717
3211
|
more headroom than you asked for. `maxSecondary` does the same for the axis a series reaches with
|
|
2718
3212
|
`axis: 'secondary'`.
|
|
@@ -2732,12 +3226,11 @@
|
|
|
2732
3226
|
How long the panel stays after the pointer leaves the mark. See the tooltip entry under Changed
|
|
2733
3227
|
for what the default does and when to raise it.
|
|
2734
3228
|
|
|
2735
|
-
- **A pinned mark offers an `Unpin` control, and says which mark it is.**
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
it to the panel; the glyph takes no pointer events. `--ds-chart-pin-size` sizes it, and the button
|
|
3229
|
+
- **A pinned mark offers an `Unpin` control, and says which mark it is.** All five charts render
|
|
3230
|
+
a pill button above the plot while a mark is pinned — Escape already released one, and a control
|
|
3231
|
+
that says so is what a reader finds without knowing the key. `ds-bar-chart`, `ds-column-chart`,
|
|
3232
|
+
`ds-donut-chart` and `ds-funnel-chart` also draw a pin glyph on the pinned bar, column, slice or
|
|
3233
|
+
band, so the plot itself carries which one is held rather than leaving it to the panel; the glyph takes no pointer events. `--ds-chart-pin-size` sizes it, and the button
|
|
2741
3234
|
is `.pin-reset`.
|
|
2742
3235
|
|
|
2743
3236
|
The internal mark-state interface behind it — not exported from the package root — gains a
|
|
@@ -2796,21 +3289,22 @@
|
|
|
2796
3289
|
`legendMode="toggle"` to keep the checkboxes. `hiddenSeries` is unchanged in both modes, so a page
|
|
2797
3290
|
driving it from a URL parameter needs nothing.
|
|
2798
3291
|
|
|
2799
|
-
- **A chart tooltip can be
|
|
2800
|
-
|
|
3292
|
+
- **A chart tooltip can be dismissed with Escape, and reached with the pointer where you ask for
|
|
3293
|
+
it.** The pane was inert and closed the instant the pointer left the mark, which left
|
|
2801
3294
|
it unreadable at high zoom, unselectable, and impossible to clear without moving the pointer away.
|
|
2802
3295
|
|
|
2803
3296
|
The pane takes the pointer now, and Escape closes the panel — it stays closed until the pointer
|
|
2804
3297
|
visits another mark, so a reader who clears the screen keeps it cleared. Reaching the panel is
|
|
2805
3298
|
`tooltipLingerMs`, which is `0`: the panel goes when the pointer does, because one left behind
|
|
2806
3299
|
sits over the plot the reader has moved on to. WCAG 1.4.13's hoverable clause only bites where the
|
|
2807
|
-
panel holds something to reach — a link, a figure
|
|
3300
|
+
panel holds something to reach — a link, a figure — so set
|
|
2808
3301
|
`[tooltipLingerMs]="140"` on those charts, or `DS_CONFIG.chart.tooltipLingerMs` for an app whose
|
|
2809
3302
|
tooltips all carry one. 140ms is what crossing the gap to a portaled panel takes at an ordinary
|
|
2810
|
-
pointer speed.
|
|
3303
|
+
pointer speed. The panel's own content does not take the pointer, so its text cannot be selected
|
|
3304
|
+
and a link in a `tooltipTemplate` is clickable only with `pointer-events: auto` set on it.
|
|
2811
3305
|
|
|
2812
3306
|
If you styled `.ds-chart-tooltip-pane` with `pointer-events`, that rule now decides whether the
|
|
2813
|
-
|
|
3307
|
+
pointer can reach the panel at all — the pane must stay `auto`.
|
|
2814
3308
|
|
|
2815
3309
|
- **A chart tooltip's second line is opt-in.** `0.13.1` gave every `ds-bar-chart` and
|
|
2816
3310
|
`ds-column-chart` tooltip a `18.6% of total` line whether or not the marks were parts of a whole.
|
|
@@ -3015,10 +3509,13 @@
|
|
|
3015
3509
|
|
|
3016
3510
|
`ds-drawer` and `ds-bottom-sheet` keep `ds-slide-edge-in`, because sliding in from an edge is
|
|
3017
3511
|
what they are, and `ds-modal` keeps `ds-scale-in`. Any surface takes its old entrance back with
|
|
3018
|
-
one declaration
|
|
3512
|
+
one declaration, the panels at the root and `ds-alert` / `ds-banner` / `ds-toast` each on its own
|
|
3513
|
+
hook:
|
|
3019
3514
|
|
|
3020
3515
|
```scss
|
|
3021
3516
|
:root { --ds-overlay-enter-keyframes: ds-slide-in; }
|
|
3517
|
+
ds-alert { --ds-alert-enter-keyframes: ds-slide-in; }
|
|
3518
|
+
ds-banner { --ds-banner-enter-keyframes: ds-slide-in; }
|
|
3022
3519
|
ds-toast { --ds-toast-enter-keyframes: ds-slide-in; }
|
|
3023
3520
|
```
|
|
3024
3521
|
|
|
@@ -3215,8 +3712,9 @@
|
|
|
3215
3712
|
|
|
3216
3713
|
Every `--ds-field-group-*` token is unchanged and still declared on the host, so an override
|
|
3217
3714
|
written through the tokens needs nothing. The host's own box is unchanged too while the group has
|
|
3218
|
-
no message: measured in the docs app, the row stays 40px and the host stays
|
|
3219
|
-
57px
|
|
3715
|
+
no message and reserves none: measured in the docs app, the row stays 40px and the host stays
|
|
3716
|
+
40px — it grows to 57px once `error`, `warning` or `hint` is bound, and it reserves that message
|
|
3717
|
+
row on a clean group whenever `reserveMessage` is on, `DS_CONFIG.field.reserveMessage` included.
|
|
3220
3718
|
|
|
3221
3719
|
- **`--ds-button-border` is `--ds-button-border-color`, and `--ds-button-border-disabled` is
|
|
3222
3720
|
`--ds-button-border-color-disabled`.** Both name a COLOUR, and since the width moved out to
|
|
@@ -3266,9 +3764,11 @@
|
|
|
3266
3764
|
`--chart-grid-line-strong` before `--chart-grid-line`: the short name is a prefix of the long
|
|
3267
3765
|
one, and a prefix-blind sweep renames this one instead of deleting it.
|
|
3268
3766
|
|
|
3269
|
-
The sequential
|
|
3270
|
-
|
|
3271
|
-
|
|
3767
|
+
The sequential VALUES are unchanged in both themes, and so are the divergent zero step and the
|
|
3768
|
+
dark-theme divergent steps; the six light-theme signed divergent steps and the eight categorical
|
|
3769
|
+
values are not — they are retuned in this same release, so a rename there lands a different
|
|
3770
|
+
colour rather than the same one under a new name. `--chart-bar-gap`, `--chart-hover-bg-color`,
|
|
3771
|
+
`--chart-tooltip-bg-color` and
|
|
3272
3772
|
`--chart-tooltip-text-color` keep their names. Recolouring a series
|
|
3273
3773
|
is better done through the `--ds-chart-` layer below than through the palette.
|
|
3274
3774
|
|
|
@@ -3336,16 +3836,17 @@
|
|
|
3336
3836
|
- **`ds-line-chart` takes `patterns`, a second encoding channel.** Each series gets a dash of its
|
|
3337
3837
|
own from a fixed list, in the same order as the palette slots, so the lines are told apart by
|
|
3338
3838
|
shape as well as by colour — WCAG technique G111. Slot 1 stays solid, so a single-series chart is
|
|
3339
|
-
unchanged by turning it on. Off by default: the shipped palette
|
|
3340
|
-
separation threshold on its own, and this is for monochrome print, a
|
|
3341
|
-
who asks for it.
|
|
3839
|
+
unchanged by turning it on while its `slot` is unset or 1. Off by default: the shipped palette
|
|
3840
|
+
clears the colour-blind separation threshold on its own, and this is for monochrome print, a
|
|
3841
|
+
retuned palette, or a reader who asks for it.
|
|
3342
3842
|
|
|
3343
3843
|
```html
|
|
3344
3844
|
<ds-line-chart patterns [series]="series" [categories]="months" />
|
|
3345
3845
|
```
|
|
3346
3846
|
|
|
3347
|
-
The other four charts print a label beside every mark
|
|
3348
|
-
a donut's legend row
|
|
3847
|
+
The other four charts print a label beside every mark by default — a bar's row, a column's
|
|
3848
|
+
category, a donut's legend row unless `legend="none"`, a funnel's stage in its table unless
|
|
3849
|
+
`showTable` is off — so colour is not what identifies a mark there.
|
|
3349
3850
|
|
|
3350
3851
|
- **A tap answers the way a hover does, and stays put.** Tapping a mark opens its tooltip and
|
|
3351
3852
|
LATCHES it: a touch fires `pointerleave` the instant the finger lifts, so without this the panel
|
|
@@ -3362,7 +3863,7 @@
|
|
|
3362
3863
|
- **A mark that arrives and a mark that leaves are now two staged phases.** Removals run first, at
|
|
3363
3864
|
`--ds-motion-chart-mark-exit-duration`; additions wait that long and then run at
|
|
3364
3865
|
`--ds-motion-chart-mark-enter-duration`, so a vanishing mark and an arriving one are never on
|
|
3365
|
-
screen together. The update phase — a mark changing size —
|
|
3866
|
+
screen together. The update phase — a mark changing size — runs on
|
|
3366
3867
|
`--ds-motion-chart-mark-duration`.
|
|
3367
3868
|
|
|
3368
3869
|
`staggerMs` spaces the arrivals out. `0` is the default and means no stagger; `40` is the
|
|
@@ -3407,8 +3908,8 @@
|
|
|
3407
3908
|
hidden" by default — carried on a `role="status"` line, with the legend still rendered so the
|
|
3408
3909
|
reader can switch one back on. Without it the reader is left looking at an empty grid.
|
|
3409
3910
|
|
|
3410
|
-
|
|
3411
|
-
|
|
3911
|
+
Without `legendFilters`, `ds-line-chart` draws a `ds-chart-legend` whenever there is more than
|
|
3912
|
+
one series.
|
|
3412
3913
|
|
|
3413
3914
|
- **Every chart answers a hover, a tap and a keyboard focus with a tooltip.** `ds-bar-chart`,
|
|
3414
3915
|
`ds-column-chart`, `ds-donut-chart` and `ds-funnel-chart` default to `tooltip="item"` — the mark
|
|
@@ -3533,7 +4034,6 @@
|
|
|
3533
4034
|
These are the last two of the four pieces asked for on 2026-08-18; `hidden` and `disabledReason`
|
|
3534
4035
|
shipped on 2026-08-21.
|
|
3535
4036
|
|
|
3536
|
-
|
|
3537
4037
|
- **`ds-field-group` takes `error`, `hint` and `warning`, so the error it shows has words.** The
|
|
3538
4038
|
group suppresses its segments' own labels and message rows — they would break the glued line — and
|
|
3539
4039
|
until now it had nowhere for the text to go, which left colour as the only channel and 1.4.1
|
|
@@ -3611,7 +4111,8 @@
|
|
|
3611
4111
|
`messageId`, `message`, `fieldMessage` and `uid` — it shares the fields' message base now;
|
|
3612
4112
|
`InputComponent` gained `groupMessage`, and `SelectComponent`, `AutocompleteComponent` and
|
|
3613
4113
|
`DatePickerComponent` gained `groupMessage` and `describedByIds`. Being public API or not is no protection:
|
|
3614
|
-
`private` and `protected`
|
|
4114
|
+
a `private` name collides with TS2415, and a `protected` one with TS4114 or TS2416, exactly as a
|
|
4115
|
+
public name does.
|
|
3615
4116
|
|
|
3616
4117
|
`routerLink` also widened on the three navigating components — `string | readonly unknown[] |
|
|
3617
4118
|
null` became `DsRouterLink`, which adds `UrlTree`. Writing it is unaffected; code that READS the
|
|
@@ -3648,7 +4149,6 @@
|
|
|
3648
4149
|
renders, is showing less than it holds. Horizontal only — a clamped block hides whole lines and
|
|
3649
4150
|
its `scrollWidth` matches its `clientWidth`.
|
|
3650
4151
|
|
|
3651
|
-
|
|
3652
4152
|
- **Five charts: `ds-bar-chart`, `ds-column-chart`, `ds-donut-chart`, `ds-funnel-chart` and
|
|
3653
4153
|
`ds-line-chart`.** Each takes a `caption`, a `summary` for the accessible name, a `loading`
|
|
3654
4154
|
skeleton sized to the real data so the chart does not resize when the numbers land, an `emptyText`
|
|
@@ -3711,7 +4211,6 @@
|
|
|
3711
4211
|
because levelling the two makes the eye group a bar with the label BELOW it and read every row off
|
|
3712
4212
|
by one.
|
|
3713
4213
|
|
|
3714
|
-
|
|
3715
4214
|
- **Chart colour is three families, and reaching for the wrong one is the usual chart bug.** The
|
|
3716
4215
|
eight `--ds-chart-series-N-color` hooks are CATEGORICAL — they separate marks that are DIFFERENT
|
|
3717
4216
|
THINGS, such as donut slices or line series. A bar chart's rows are not different things; they are
|
|
@@ -3770,7 +4269,6 @@
|
|
|
3770
4269
|
bound `interactive` and an output needs no edit — but a test that counted `[tabindex="0"]` inside
|
|
3771
4270
|
a chart will now see one per series.
|
|
3772
4271
|
|
|
3773
|
-
|
|
3774
4272
|
### Fixed
|
|
3775
4273
|
|
|
3776
4274
|
- **A disabled field is no longer announced as invalid.** Every field bound `aria-invalid` from its
|
|
@@ -3806,7 +4304,7 @@
|
|
|
3806
4304
|
|
|
3807
4305
|
- **`ds-button`'s `buttonRef` is `controlRef`, and it is typed `HTMLElement`.** The element the
|
|
3808
4306
|
component renders now follows its destination, so the old name described one of three cases and
|
|
3809
|
-
the old type described the same one. Rename the reference; the property behind it is
|
|
4307
|
+
the old type described the same one. Rename the reference; the property behind it is the same `#btn` view child.
|
|
3810
4308
|
A read of `.nativeElement` that expects a `<button>` — `.disabled`, `.form`, `.type` — no longer
|
|
3811
4309
|
type-checks and needs a narrow of your own, because the element may be an `<a>`.
|
|
3812
4310
|
|
|
@@ -3877,8 +4375,10 @@
|
|
|
3877
4375
|
|
|
3878
4376
|
- **A clickable `ds-table` row, a `ds-tree` row and a `ds-list` activator draw a rounded focus
|
|
3879
4377
|
ring.** All three ringed a square-cornered box while every control around them was rounded; they
|
|
3880
|
-
now carry `--focus-ring-radius`.
|
|
3881
|
-
sit on its cells
|
|
4378
|
+
now carry `--focus-ring-radius`. The table row and the list activator paint nothing themselves -
|
|
4379
|
+
the table row's tints sit on its cells - so there the radius shapes the ring and nothing else; a
|
|
4380
|
+
`ds-tree` row paints its own hover, pressed and selected fill, and that fill now takes the same
|
|
4381
|
+
rounded corners. The radius sits on the resting rule
|
|
3882
4382
|
rather than inside `:focus-visible`, or the shape would appear only while focused. Reachable by
|
|
3883
4383
|
keyboard only.
|
|
3884
4384
|
|
|
@@ -3892,8 +4392,9 @@
|
|
|
3892
4392
|
gained `routerLink`, `href`, `controlRef` and `destination`, which decides which of the three
|
|
3893
4393
|
elements renders; `buttonRef` is gone from its surface, so a subclass that overrode it now
|
|
3894
4394
|
overrides nothing. `CheckboxComponent`, `RadioComponent` and `SwitchComponent` each gained
|
|
3895
|
-
`ariaLabel` and `resolvedAriaLabel`. Being public API or not is no protection: `private`
|
|
3896
|
-
`protected`
|
|
4395
|
+
`ariaLabel` and `resolvedAriaLabel`. Being public API or not is no protection: a `private` name
|
|
4396
|
+
collides with TS2415, and a `protected` one with TS4114 or TS2416, exactly as a public name does.
|
|
4397
|
+
Nothing changes for a consumer who
|
|
3897
4398
|
only uses the elements.
|
|
3898
4399
|
|
|
3899
4400
|
### Fixed
|
|
@@ -4047,8 +4548,10 @@
|
|
|
4047
4548
|
button whether the panel showing belongs to it, and the new `stickyScrollbarOffset` input with its
|
|
4048
4549
|
`stickyScrollbarOffsetResolved`. `SidenavGroupComponent` gained the
|
|
4049
4550
|
new `routerLink` input and `headerNavigates`, the computed that decides whether the header splits
|
|
4050
|
-
into a link and a caret. Only `routerLink`
|
|
4051
|
-
`
|
|
4551
|
+
into a link and a caret. Only `routerLink`, `stickyScrollbarOffset` and
|
|
4552
|
+
`stickyScrollbarOffsetResolved` are public API, and that is no protection for the rest:
|
|
4553
|
+
a `private` name collides with TS2415, and a `protected` one with TS4114 or TS2416, exactly as a
|
|
4554
|
+
public name does, so a member of yours
|
|
4052
4555
|
sharing one of those names stops the build. Nothing changes for a consumer who only uses the
|
|
4053
4556
|
elements — no existing input, output or token changed name or type.
|
|
4054
4557
|
|
|
@@ -4289,7 +4792,8 @@
|
|
|
4289
4792
|
|
|
4290
4793
|
- **Thirteen `--ds-<component>-focus-shadow` tokens are gone**, on button, icon-button, card,
|
|
4291
4794
|
checkbox, radio, switch, tabs, toast, breadcrumbs, pagination, sidenav-item, sidenav-group and
|
|
4292
|
-
menu-item. Each resolved to `--ds-control-focus-shadow`, which controls no longer read
|
|
4795
|
+
menu-item. Each resolved to `--ds-control-focus-shadow`, which controls no longer read; nor does
|
|
4796
|
+
the error button read `--ds-control-focus-shadow-error`. Set
|
|
4293
4797
|
`--focus-ring-color`, `--focus-ring-width` or `--focus-ring-offset` on the component's own scope
|
|
4294
4798
|
instead. Field tokens — `--ds-input-focus-shadow` and its siblings — are unchanged, because fields
|
|
4295
4799
|
keep the soft halo. An override of a removed token still parses and cascades and changes nothing,
|
|
@@ -4308,7 +4812,7 @@
|
|
|
4308
4812
|
`--ds-motion-check-enter-duration`, `--ds-motion-check-enter-easing`, `--ds-motion-check-exit-duration`,
|
|
4309
4813
|
`--ds-motion-check-exit-easing` — with per-scope hooks `--ds-check-mark-*` beneath it, so a dense
|
|
4310
4814
|
option list can stay calm while forms overshoot. To put the previous motion back, set the four
|
|
4311
|
-
tokens to the
|
|
4815
|
+
tokens to the timing they replaced, `--duration-fast` on `--ease-standard` both ways. Both durations resolve through the `--duration-*`
|
|
4312
4816
|
scale, which `prefers-reduced-motion` already zeroes, so the mark goes instant on its own.
|
|
4313
4817
|
- **The tick and the indeterminate bar are painted as a mask over `currentcolor`, not as a hardcoded
|
|
4314
4818
|
white stroke.** One path serves a filled box and a bare row — white on the accent fill, the row's
|
|
@@ -4376,14 +4880,13 @@
|
|
|
4376
4880
|
member left to override; one you declared without the modifier still compiles, overrides nothing
|
|
4377
4881
|
and runs never.
|
|
4378
4882
|
|
|
4379
|
-
|
|
4883
|
+
Four new classes come with those directives, and all four are internal: `DsTableLayout` is
|
|
4380
4884
|
internal, the seam a feature registers with; `TableColumnsPanelComponent` is internal, the
|
|
4381
4885
|
column panel; `TableColumnsTriggerComponent` is internal, its header button; and
|
|
4382
4886
|
`TableExportButtonComponent` is internal, the toolbar button. None is API, none appears in the
|
|
4383
4887
|
component reference, and each is created imperatively — they are named here only so a name
|
|
4384
4888
|
collision in a subclass is greppable from the first release that has them.
|
|
4385
4889
|
|
|
4386
|
-
|
|
4387
4890
|
- **The focus ring eases in instead of appearing at full strength.** Only its colour moves — the
|
|
4388
4891
|
ring's geometry is already in place, so nothing shifts and the indicator lands where it will stay.
|
|
4389
4892
|
`outline-offset` is deliberately not animated: an expanding ring lags the caret on a fast Tab, and
|
|
@@ -4464,8 +4967,8 @@
|
|
|
4464
4967
|
a flex row with a gap, and an item that projected no icon collapsed its wrapper to zero width while
|
|
4465
4968
|
the gap stayed, so a mixed menu had two text axes and an unindented row read as a different kind of
|
|
4466
4969
|
thing. The menu decides it now rather than the item — an item cannot see its siblings — so one
|
|
4467
|
-
item with an icon makes every item reserve the slot. A menu with no icons anywhere
|
|
4468
|
-
|
|
4970
|
+
item with an icon makes every item reserve the slot. A menu with no icons anywhere moves
|
|
4971
|
+
flush to its padding, because the empty icon slot no longer costs the row's 10px gap. The new `--ds-menu-item-icon-size` sets the width the slot reserves.
|
|
4469
4972
|
|
|
4470
4973
|
- **`ds-split-button` answers a press on either half.** Both segments were missing the darken-plus-
|
|
4471
4974
|
micro-scale that every other button in the library gives a press, so the one control built from two
|
|
@@ -4548,7 +5051,7 @@ this package ships under `migrations/`.
|
|
|
4548
5051
|
response to an event; for anything transient use `ToastService`, which owns a region built for it.
|
|
4549
5052
|
|
|
4550
5053
|
- **`<ds-toast>`'s `message` input is now `body`**, matching `ToastOptions.body` and `ToastEntry.body`.
|
|
4551
|
-
One concept had
|
|
5054
|
+
One concept had two spellings across the family; `body` wins because it is the one every consumer
|
|
4552
5055
|
already passes to the service.
|
|
4553
5056
|
|
|
4554
5057
|
- **Five toast border tokens gain the `-color` the rest of the library uses**:
|
|
@@ -4602,8 +5105,9 @@ this package ships under `migrations/`.
|
|
|
4602
5105
|
read. `TableComponent` gained `eventsAtExport`,
|
|
4603
5106
|
`eventMessages`, `tableHead`, `hostElement` and `announceExport`; its inputs, outputs, models
|
|
4604
5107
|
and exported types are unchanged. `BannerComponent` and `AlertComponent` each gained
|
|
4605
|
-
`announce`, and their `ariaRole` and `ariaLive` now return `null` as well —
|
|
4606
|
-
|
|
5108
|
+
`announce`, and their `ariaRole` and `ariaLive` now return `null` as well — code that assumed
|
|
5109
|
+
the getter is never null stops compiling, while a subclass that narrowed either type back still
|
|
5110
|
+
compiles.
|
|
4607
5111
|
The compiler enumerates every collision, so building after the upgrade is the whole check.
|
|
4608
5112
|
|
|
4609
5113
|
- **The stack no longer jumps when a toast is added.** Its neighbours are put back where they were
|
|
@@ -4661,8 +5165,9 @@ this package ships under `migrations/`.
|
|
|
4661
5165
|
another component's template has to be renamed (angular/angular#24536), all three
|
|
4662
5166
|
avatars came back `margin-left: 0` with no ring, and the joined buttons lost their overlap
|
|
4663
5167
|
margin and every flattened radius. They match the direct child now, so the grouping holds whatever the child is rendered
|
|
4664
|
-
as. Computed output in an ordinary Angular app is unchanged
|
|
4665
|
-
after.
|
|
5168
|
+
as. Computed output in an ordinary Angular app is unchanged when every child is a `ds-avatar` /
|
|
5169
|
+
`ds-button` placed directly in the group - verified identical before and after. Any other direct
|
|
5170
|
+
child, such as a wrapper element or a `ds-icon-button`, now takes the group styling itself.
|
|
4666
5171
|
|
|
4667
5172
|
- **Six connected-panel tokens did nothing when scoped to one picker.** `--ds-option-padding`,
|
|
4668
5173
|
`-gap`, `-radius`, `-row-gap`, `--ds-option-bg-color-active` and `--ds-dropdown-panel-maxh` are read
|
|
@@ -4695,7 +5200,6 @@ this package ships under `migrations/`.
|
|
|
4695
5200
|
`ToastPromiseMessages` is generic, so `promise<T>` stops discarding `T` and a `success` callback
|
|
4696
5201
|
receives the resolved value instead of `unknown`.
|
|
4697
5202
|
|
|
4698
|
-
|
|
4699
5203
|
- **A modal, drawer, confirm or bottom sheet opened after a toast covered it and swallowed its action
|
|
4700
5204
|
button.** `--layer-toast: 1500` could not prevent it and never could: CDK 21 gives every overlay host
|
|
4701
5205
|
`popover="manual"` and calls `showPopover()`, so hosts live in the browser's top layer, which paints
|
|
@@ -4707,7 +5211,6 @@ this package ships under `migrations/`.
|
|
|
4707
5211
|
Only *scrimmed* overlays trigger it. A tooltip or dropdown neither covers the toast meaningfully nor
|
|
4708
5212
|
eats a click, and the documented scale deliberately puts `--layer-tooltip` above the toast.
|
|
4709
5213
|
|
|
4710
|
-
|
|
4711
5214
|
- **Typing on a CLOSED `ds-select` did nothing.** Type-ahead landed with the jump wired only for
|
|
4712
5215
|
an open panel: the closed branch of the key handler returned before reaching it, so a letter
|
|
4713
5216
|
pressed on a collapsed trigger neither jumped nor committed. It now commits the first
|
|
@@ -4754,7 +5257,9 @@ this package ships under `migrations/`.
|
|
|
4754
5257
|
- **The banner and toast icon now centres on the message block**, where most shapes aligned it to
|
|
4755
5258
|
the first line of text. The two rules agree on a one-line message — which is most toasts — and
|
|
4756
5259
|
diverge as the text grows: the icon sat some 12px above the block centre at two lines and 21px at
|
|
4757
|
-
three. A `compact` banner was already centred and does not move.
|
|
5260
|
+
three. A `compact` banner was already centred and does not move. A `layout="row"` banner with
|
|
5261
|
+
actions beside the text moves even at one line: its icon was pinned to the top of the row and now
|
|
5262
|
+
centres with the text.
|
|
4758
5263
|
|
|
4759
5264
|
It is `align-self` on the icon rather than `align-items` on the row, so the close button and the
|
|
4760
5265
|
action buttons keep the positions they had. `--banner-ic-mt` is **removed**; it existed only to
|
|
@@ -4784,8 +5289,9 @@ this package ships under `migrations/`.
|
|
|
4784
5289
|
collision, so building after the upgrade is the whole check.
|
|
4785
5290
|
|
|
4786
5291
|
Worth flagging for anyone who followed 0.11.2's note: `startCountdown` was announced there as a
|
|
4787
|
-
member the region had just gained, so
|
|
4788
|
-
overrides nothing
|
|
5292
|
+
member the region had just gained, so a `startCountdown` of yours added one release ago now
|
|
5293
|
+
overrides nothing: marked `override` it fails with TS4113, unmarked it compiles and never runs.
|
|
5294
|
+
There is no public replacement to call — the countdown
|
|
4789
5295
|
is the region's own business now. Delete the override.
|
|
4790
5296
|
|
|
4791
5297
|
- **Four event bindings are silently dead, and there is no `<ds-dropdown>`.** `ds-banner` and
|
|
@@ -4869,7 +5375,6 @@ this package ships under `migrations/`.
|
|
|
4869
5375
|
value by hand and guess what empty means for that control. It does NOT move focus, deliberately:
|
|
4870
5376
|
the caller may be navigating away.
|
|
4871
5377
|
|
|
4872
|
-
|
|
4873
5378
|
- **Panel header and footer slots.** The panel was a closed box between the filter row and the
|
|
4874
5379
|
options: "3 of 40 selected", a "clear all" button, a hint or a link under the list had nowhere to
|
|
4875
5380
|
go. `dsPanelHeaderTemplate` and `dsPanelFooterTemplate` fill a strip above and below, with
|
|
@@ -4907,17 +5412,16 @@ this package ships under `migrations/`.
|
|
|
4907
5412
|
all accept it and it type-checks on all three pickers; `ds-multi-select` and `ds-autocomplete` do
|
|
4908
5413
|
not yet render it, so a reason set there is carried and not shown.
|
|
4909
5414
|
|
|
4910
|
-
|
|
4911
5415
|
- **The keyboard cursor keeps its row in view.** On a list longer than the panel the arrows walked the
|
|
4912
5416
|
cursor out of sight — the reader pressed down and could not see where they were. All three pickers
|
|
4913
5417
|
scroll the active row into view now, on by default; `scrollActiveIntoView="false"` gives the scroll
|
|
4914
5418
|
position back to you. It uses `block: 'nearest'`, so a row that is already visible does not move and
|
|
4915
5419
|
the mouse is never fought.
|
|
4916
5420
|
|
|
4917
|
-
- **`Home` and `End` on every picker.** They existed on `ds-select` alone, while
|
|
4918
|
-
in the library already had them. The index arithmetic
|
|
4919
|
-
|
|
4920
|
-
|
|
5421
|
+
- **`Home` and `End` on every picker.** They existed on `ds-select` alone, while seven other components
|
|
5422
|
+
in the library already had them. The index arithmetic for Home, End, PageUp and PageDown is one
|
|
5423
|
+
shared helper now, and `ds-select` and `ds-multi-select` step their arrow keys through it too;
|
|
5424
|
+
`ds-autocomplete` keeps its own arrow stepping, which also reaches the create row. It is internal: nothing new is exported.
|
|
4921
5425
|
|
|
4922
5426
|
- **`compareWith` on `ds-autocomplete`.** The component is generic over its value type but compared
|
|
4923
5427
|
with `===`, which is reference identity: a re-fetch that returned equal data as new objects silently
|
|
@@ -4947,7 +5451,6 @@ this package ships under `migrations/`.
|
|
|
4947
5451
|
the same `readonly` binding alias `ds-select` has for signal forms; `clearable` uses the same button
|
|
4948
5452
|
and the same accessible name as `ds-select`'s.
|
|
4949
5453
|
|
|
4950
|
-
|
|
4951
5454
|
- **`ds-table` row expansion: one-at-a-time, expand-all, and events.** The base feature shipped
|
|
4952
5455
|
already; these are the three edges it was missing. `expandMode="single"` collapses the open row
|
|
4953
5456
|
when another expander is clicked, so a detail panel cannot stack up down the page — enforced when
|
|
@@ -4960,7 +5463,6 @@ this package ships under `migrations/`.
|
|
|
4960
5463
|
row, and there is none to carry. Opening two rows or more now also reaches the table's live
|
|
4961
5464
|
region, which a full page of panels appearing from one keypress previously did not.
|
|
4962
5465
|
|
|
4963
|
-
|
|
4964
5466
|
- **Column resizing works on a touch device, where the drag handle never could.** The handle
|
|
4965
5467
|
paints its line on `:hover` and `:focus-visible`; a coarse pointer produces neither, so it was
|
|
4966
5468
|
invisible — while `touch-action: none` still took the horizontal swipe that scrolls the table,
|
|
@@ -4971,7 +5473,6 @@ this package ships under `migrations/`.
|
|
|
4971
5473
|
the handle remains the primary route. All three routes share one step, so drag, arrow keys and
|
|
4972
5474
|
buttons move a column by the same amount, and all three clamp at the scroll viewport.
|
|
4973
5475
|
|
|
4974
|
-
|
|
4975
5476
|
### Changed
|
|
4976
5477
|
|
|
4977
5478
|
- **Exported class member surface grew — only matters if you SUBCLASS a DS component.**
|
|
@@ -5162,21 +5663,21 @@ this package ships under `migrations/`.
|
|
|
5162
5663
|
|
|
5163
5664
|
### Changed
|
|
5164
5665
|
|
|
5165
|
-
- **One stylesheet owns the dropdown panel.**
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5666
|
+
- **One stylesheet owns the dropdown panel.** `ds-autocomplete` and `ds-multi-select` each styled their own
|
|
5667
|
+
panel class (`.autocomplete-list`, `.panel`) in their own stylesheet, with their own `background`,
|
|
5668
|
+
`border-radius`, `max-height` and `overflow`, so the shared partial that paints `ds-select` never
|
|
5669
|
+
reached them. The
|
|
5169
5670
|
partial owns that geometry now, behind `--ds-dropdown-panel-bg-color` beside the `-radius`,
|
|
5170
5671
|
`-maxh`, `-minw` and `-maxw` knobs, and each picker declares its own name as an ALIAS of the
|
|
5171
5672
|
shared token on its host and forwards it onto the pane. `--ds-multi-select-panel-bg-color`,
|
|
5172
|
-
`--ds-autocomplete-panel-bg-color`, `-radius` and `-maxh` all still work
|
|
5173
|
-
|
|
5673
|
+
`--ds-autocomplete-panel-bg-color`, `-radius` and `-maxh` all still work. On `ds-autocomplete` the
|
|
5674
|
+
host's alias also shadows a `--ds-dropdown-panel-radius` set on `:root`, so set
|
|
5675
|
+
`--ds-autocomplete-panel-radius` there instead.
|
|
5174
5676
|
|
|
5175
5677
|
The panel is also the flex column and the LIST is the scroller, so a filter row or a select-all row
|
|
5176
5678
|
stays put while the options move under it. `ds-multi-select` did that per-component before and the
|
|
5177
5679
|
other two did not.
|
|
5178
5680
|
|
|
5179
|
-
|
|
5180
5681
|
- **BREAKING for code that READS `ds-autocomplete`'s `options`: the element type is now
|
|
5181
5682
|
`AutocompleteItem<T>`, not `AutocompleteOption<T>`.** The input holds flat options OR groups,
|
|
5182
5683
|
so a reader — or a subclass overriding a member typed against the element — that assumed
|
|
@@ -5217,9 +5718,9 @@ this package ships under `migrations/`.
|
|
|
5217
5718
|
`DsEmptyTemplateDirective` and `DsCreateTemplateDirective` are new classes. Subclassing is unsupported but consumers do it, and a member of yours that shares a name
|
|
5218
5719
|
with one of ours stops the build. Rename yours, or add `override` if you meant to replace ours —
|
|
5219
5720
|
the compiler enumerates every collision, so building after the upgrade is the whole check.
|
|
5220
|
-
`AutocompleteComponent` also LOST a member — the protected computed `filteredGroups
|
|
5221
|
-
|
|
5222
|
-
|
|
5721
|
+
`AutocompleteComponent` also LOST a member — the protected computed `filteredGroups`: a subclass
|
|
5722
|
+
that overrode it with `override` now fails with TS4113, and one declared without the modifier
|
|
5723
|
+
compiles and never runs, so delete yours.
|
|
5223
5724
|
|
|
5224
5725
|
- **BREAKING for `ds-autocomplete`: one `options` input takes groups on all three pickers.**
|
|
5225
5726
|
`ds-multi-select` had no groups at
|
|
@@ -5256,19 +5757,12 @@ this package ships under `migrations/`.
|
|
|
5256
5757
|
144px trigger took the trigger from **40px to 63px** — the text
|
|
5257
5758
|
broke onto a second line and the chevron onto a third. Single mode has no chip row to wrap for, so
|
|
5258
5759
|
the wrapping had nothing to protect. The ellipsized value carries a `title`, so the full text is
|
|
5259
|
-
still there on hover. `valueOverflow="wrap"` restores wrapping
|
|
5260
|
-
its chips already had a measured cap
|
|
5760
|
+
still there on hover. `valueOverflow="wrap"` restores wrapping. Multi mode with the default chip
|
|
5761
|
+
fit is untouched, its chips already had a measured cap; with `maxVisibleChips="all"` the trigger no
|
|
5762
|
+
longer wraps either, until `valueOverflow="wrap"` is set.
|
|
5261
5763
|
|
|
5262
5764
|
### Fixed
|
|
5263
5765
|
|
|
5264
|
-
- **A compact trigger showed one chip where several fitted.** `triggerDisplay="count"` and
|
|
5265
|
-
`"labels"` make the trigger hug its content, so the width the chip fit measured was decided by the
|
|
5266
|
-
chips it was about to cut — each pass shrank its own input and the split settled on one. The fit
|
|
5267
|
-
reads the space AVAILABLE now (the trigger's parent), which no cut can move. `ds-autocomplete` gets
|
|
5268
|
-
the same correction, since both pickers measure through one helper, and a `width="fill"` trigger is
|
|
5269
|
-
unaffected because there the two numbers are identical.
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
5766
|
- **With the filter row hidden, there was no keyboard way to pick an option.** `Enter` and `Space`
|
|
5273
5767
|
were consumed by the trigger before the panel's own handler saw them, so the panel toggled shut
|
|
5274
5768
|
instead of selecting the active row: open, arrow down, Enter, nothing chosen. The trigger delegates
|
|
@@ -5309,7 +5803,6 @@ this package ships under `migrations/`.
|
|
|
5309
5803
|
- **`ds-select` accepts a `readonly` options array**, which the other two already did, and tracks
|
|
5310
5804
|
its top-level items by index rather than by label, which is not unique.
|
|
5311
5805
|
|
|
5312
|
-
|
|
5313
5806
|
### What you can now DELETE
|
|
5314
5807
|
|
|
5315
5808
|
None of this is required — skipping it leaves working code that is merely redundant. Each row is a
|
|
@@ -5369,7 +5862,10 @@ this package ships under `migrations/`.
|
|
|
5369
5862
|
reason living only in the accessibility tree reproduces exactly the invisibility this closes.
|
|
5370
5863
|
**Nothing changes for a button that sets none of these.** Without `disabledReason` the native
|
|
5371
5864
|
`disabled` attribute stays and focus still skips it; without a message the host keeps the
|
|
5372
|
-
`inline-flex` box every existing layout was built against.
|
|
5865
|
+
`inline-flex` box every existing layout was built against. The exception is an app that sets
|
|
5866
|
+
`DS_CONFIG.field.reserveMessage: true`: `reserveMessage` falls back to it, so every such button
|
|
5867
|
+
reserves an empty message line and becomes a column; set `[reserveMessage]="false"` on those
|
|
5868
|
+
buttons to keep the old box. A message-bearing button becomes a column,
|
|
5373
5869
|
and since the host shrinks to fit, a message longer than the label widens the pair — button included,
|
|
5374
5870
|
exactly as a field's control spans its own message.
|
|
5375
5871
|
|
|
@@ -5439,7 +5935,7 @@ this package ships under `migrations/`.
|
|
|
5439
5935
|
`SidenavComponent` gained `brandRoute`, `brandLinkLabel` and the protected `brandAriaLabel`; and
|
|
5440
5936
|
`CheckboxComponent` and `RadioGroupComponent` each gained the protected `controlState`.
|
|
5441
5937
|
A subclass that happens to declare the same name now fails with TS4114 (“must have an ‘override’
|
|
5442
|
-
modifier”), or
|
|
5938
|
+
modifier”), or TS2416 if the signature differs — and `protected` is no protection, since a
|
|
5443
5939
|
redeclared protected member collides exactly as a public one does.
|
|
5444
5940
|
Subclassing a DS component stays unsupported (`components.md` § Components); compose instead.
|
|
5445
5941
|
|
|
@@ -5515,7 +6011,6 @@ this package ships under `migrations/`.
|
|
|
5515
6011
|
container now, which drops whitespace-only text nodes outright, so the identifier renders flush and
|
|
5516
6012
|
the template stays free to be formatted for reading. No API change, and nothing to do on your side.
|
|
5517
6013
|
|
|
5518
|
-
|
|
5519
6014
|
### What you can now DELETE
|
|
5520
6015
|
|
|
5521
6016
|
None of this is required — skipping it leaves working code that is merely redundant. Each row is a
|
|
@@ -5573,8 +6068,9 @@ workaround written against a hook that only landed in this release.
|
|
|
5573
6068
|
`ds-autocomplete` panels are unaffected.
|
|
5574
6069
|
- **`ds-search`'s clear button had no focus indicator at all — introduced by 0.10.2's own ring fix.**
|
|
5575
6070
|
That fix silenced the base indicator with a shell-wide reset, which also hit `.search-clear`, a
|
|
5576
|
-
`tabindex="0"` tab stop: with the field's halo already lit,
|
|
5577
|
-
|
|
6071
|
+
`tabindex="0"` tab stop: with the field's halo already lit, in every shadow-based focus style
|
|
6072
|
+
tabbing from the input to the × changed no paint property anywhere on screen (only
|
|
6073
|
+
`data-focus="outline"` and forced colours still drew an outline), so a keyboard user could not tell the × had focus. A WCAG
|
|
5578
6074
|
2.4.7 failure, and the same defect as the double ring seen from the other side. Every shell now
|
|
5579
6075
|
names the one control it speaks for through the new `focus.owns-the-focus-ring($control)` mixin
|
|
5580
6076
|
instead of blanketing its box, and `ds-field-group` drops its blanket entirely — each segment
|
|
@@ -5651,23 +6147,6 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
5651
6147
|
|
|
5652
6148
|
### Changed
|
|
5653
6149
|
|
|
5654
|
-
- **`ds-search` no longer takes the field message inputs, because it never rendered them.**
|
|
5655
|
-
Since it gained form binding it extended the internal `DsControlValueAccessor`, which sits on the equally internal `DsFieldBase` — so
|
|
5656
|
-
the API reference advertised `hint`, `error`, `warning`, `errors`, `invalid`, `touched`,
|
|
5657
|
-
`reserveMessage` and `messageIcon` on a component whose template has no `ds-field-message` and whose
|
|
5658
|
-
class reads none of them. **A consumer binding `error="Too short"` on a `ds-search` got silence, and
|
|
5659
|
-
the reference had told them it would work.** Those eight inputs are gone from it now; the reference
|
|
5660
|
-
lists the ten it actually implements.
|
|
5661
|
-
**BREAKING only if you bound one:** it used to compile and do nothing, and now it is a template type
|
|
5662
|
-
error, which is the point. Where a search needs a label or an error line, that is `ds-input` — a
|
|
5663
|
-
toolbar filter is not a validated field, which is the same reasoning that kept the message row off it
|
|
5664
|
-
in the first place.
|
|
5665
|
-
**How the split works, since it is a shape other controls may want:** the `ControlValueAccessor`
|
|
5666
|
-
plumbing is a function rather than a base class, so a control can bind to a form without
|
|
5667
|
-
inheriting the message API; the internal CVA base is that function plus the shared field base and
|
|
5668
|
-
delegates to it, so the logic exists once rather than twice. `hidden` stayed on `ds-search`: it
|
|
5669
|
-
belongs to the forms contract — signal forms reaches every control through it — not to the
|
|
5670
|
-
message API.
|
|
5671
6150
|
- **A field's message line now carries a glyph for `error`, `warning` and `success` — and not for
|
|
5672
6151
|
`hint`.** Colour was the whole signal before, which fails WCAG 1.4.1: in the light theme warning
|
|
5673
6152
|
(#8A7400) against success (#156822) is a hue apart and nothing else. Four of six major design
|
|
@@ -5714,10 +6193,7 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
5714
6193
|
`number | 'fit' | 'all' | null`, default now `null`), internal `FieldMessageComponent.icon` (widened to
|
|
5715
6194
|
`IconName | false | null`, so `false` can mean "no glyph" against a state that supplies one),
|
|
5716
6195
|
`DsConfig.field` (its shape grew the glyph defaults), `SearchComponent.clear` (`protected` →
|
|
5717
|
-
public)
|
|
5718
|
-
`TimeColumnsComponent.onKey` (internal, and its parameter list changed). **One more break outside this list:**
|
|
5719
|
-
`ds-search` no longer extends the field base, so it loses eight inherited inputs — documented in
|
|
5720
|
-
its own entry above.
|
|
6196
|
+
public) and `StatComponent.value` (widened to `string | number | null`).
|
|
5721
6197
|
|
|
5722
6198
|
- **Every readback that resolves through `DS_CONFIG` is now public.** `sizeResolved` on fourteen
|
|
5723
6199
|
controls, plus `elevationResolved` / `paddingResolved` (card), `withDotResolved` (badge),
|
|
@@ -5840,10 +6316,9 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
5840
6316
|
description said an unwrapped phrase is clipped when it escapes the tile instead, and `ds-badge`
|
|
5841
6317
|
carried a superseded docblock. **No API changed** — only what the shipped documentation says about it.
|
|
5842
6318
|
|
|
5843
|
-
- **
|
|
5844
|
-
`ds-multi-select`, `ds-autocomplete`, `ds-time-picker` and `ds-color-picker` all
|
|
5845
|
-
HOST in their outside-pointer guard
|
|
5846
|
-
the trigger box hugs its own content while the host takes whatever width a consumer's
|
|
6319
|
+
- **Six overlays dismiss on a click in the host's own empty width.** `ds-select`,
|
|
6320
|
+
`ds-multi-select`, `ds-autocomplete`, `ds-date-picker`, `ds-time-picker` and `ds-color-picker` all
|
|
6321
|
+
tested the whole HOST in their outside-pointer guard - the trigger box hugs its own content while the host takes whatever width a consumer's
|
|
5847
6322
|
layout gives it, so the label, the message row and any bare strip beside the trigger swallowed the
|
|
5848
6323
|
dismiss instead of performing it. Each guard now tests its TRIGGER, as `ds-popover` always did;
|
|
5849
6324
|
`ds-time-picker` tests whichever of its three triggers are present, since a range renders two.
|
|
@@ -5934,8 +6409,8 @@ workaround written against a hook that only landed in this release.
|
|
|
5934
6409
|
- **`success` exists on all nine bordered fields, and it is now a STRING that carries its own text.**
|
|
5935
6410
|
Added to `ds-textarea`, `ds-select`, `ds-multi-select`, `ds-autocomplete`, `ds-date-picker`,
|
|
5936
6411
|
`ds-time-picker`, `ds-otp-input` and `ds-color-picker` — it was on `ds-input` alone, so a form could
|
|
5937
|
-
not use the state consistently. The
|
|
5938
|
-
`ds-switch`) and `ds-slider` deliberately do NOT get it: they have no box for a border to appear on,
|
|
6412
|
+
not use the state consistently. The four box-less controls (`ds-checkbox`, `ds-radio`,
|
|
6413
|
+
`ds-radio-group`, `ds-switch`) and `ds-slider` deliberately do NOT get it: they have no box for a border to appear on,
|
|
5939
6414
|
so the state would show in the message line alone and read as a different treatment.
|
|
5940
6415
|
**BREAKING for `ds-input`, the one field that already had it:** `success` was
|
|
5941
6416
|
`input(false, { transform: booleanAttribute })` and is now `input<string>('')`. Replace
|
|
@@ -6024,17 +6499,18 @@ workaround written against a hook that only landed in this release.
|
|
|
6024
6499
|
reaches either directly or through the internal
|
|
6025
6500
|
`DsControlValueAccessor` / `DsBooleanControlValueAccessor`. All fourteen still carry all eight by
|
|
6026
6501
|
inheritance, so a template binding, a TS read and an existing `override` all behave exactly as
|
|
6027
|
-
before
|
|
6502
|
+
before, except an override of `hint`, `error` or `warning` typed `input<string>`, which now fails
|
|
6503
|
+
with TS2416 because their write type widened to `string | null | undefined`. A member that moves to a base class is easy to misread as removed; it is not.
|
|
6028
6504
|
What genuinely grew is smaller: **eight bordered fields gained `success`** (`ds-autocomplete`,
|
|
6029
6505
|
`ds-color-picker`, `ds-date-picker`, `ds-multi-select`, `ds-otp-input`, `ds-select`,
|
|
6030
6506
|
`ds-textarea`, `ds-time-picker`), `ds-input` having had it all along. **Only the universal inputs moved:** `success`, `label`, `required` and `optional` stay on the
|
|
6031
|
-
components, because they exist on 9, 9,
|
|
6507
|
+
components, because they exist on 9, 9, 8 and 5 fields respectively — lifting them would hand a
|
|
6032
6508
|
checkbox a `success` or a slider a `label` it never had. `ds-segmented`
|
|
6033
6509
|
is the tenth grown class and the one with real new surface — joining the form systems gave it
|
|
6034
6510
|
`label`, `disabled`, `isDisabled`, `message`, `invalidResolved`, `fieldMessage`, `hintId` and
|
|
6035
6511
|
`uid`. A subclass declaring `success` on one of those eight now fails with TS4114; declaring any
|
|
6036
|
-
of the eight moved names still collides
|
|
6037
|
-
|
|
6512
|
+
of the eight moved names still collides, because an inherited member collides the same way an
|
|
6513
|
+
own one does.
|
|
6038
6514
|
`DsFieldBase` is internal and deliberately not exported.
|
|
6039
6515
|
|
|
6040
6516
|
### Removed
|
|
@@ -6134,7 +6610,7 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
6134
6610
|
`[maxVisibleChips]="2"` honoured the count, ran out of width, and wrapped the text
|
|
6135
6611
|
input onto its own line — the exact growth the cap exists to prevent. **A number is now a CEILING**
|
|
6136
6612
|
("at most N"), measured like `"fit"`, so a 412px trigger shows one chip and `+3 more` on one line
|
|
6137
|
-
instead of two chips over two lines. `null` is unchanged and
|
|
6613
|
+
instead of two chips over two lines. `null` is unchanged and now the only mode that skips measuring.
|
|
6138
6614
|
Three faults sat behind it, all fixed: the trigger kept `flex-wrap: wrap` while capped, so the row
|
|
6139
6615
|
could never shrink — it just moved the input down; a squeezed chip wrapped its own label and stood
|
|
6140
6616
|
46px tall beside 29px neighbours; and the measurement's width cache only filled on a render holding
|
|
@@ -6270,7 +6746,7 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
6270
6746
|
**The two-tone wordmark stays projected:** there is deliberately no accent in the config, because
|
|
6271
6747
|
a string would have to be split back apart to find one and that is the guessing `[dsBrandName]`
|
|
6272
6748
|
exists to avoid. The projection wins over both. **You can now delete** an adapter component that
|
|
6273
|
-
existed to inject a brand object and fan it out into
|
|
6749
|
+
existed to inject a brand object and fan it out into three bindings.
|
|
6274
6750
|
|
|
6275
6751
|
- **`rememberLastTab` on `ds-tabs` — reopen the tab a screen was last left on.** Off by default, and
|
|
6276
6752
|
inert without `urlParam` (and outside a routed context), because the parameter supplies the names: a
|
|
@@ -6325,8 +6801,8 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
6325
6801
|
navigation has to be a button — but the class was written for anchors and reset none of the browser's
|
|
6326
6802
|
button chrome, so everyone who took that advice wrote the same rule by hand. A `<button
|
|
6327
6803
|
class="link">` used to keep its native chrome — `line-height: normal`, `1px 6px` of padding and an
|
|
6328
|
-
outset border — all of that is gone, so it now
|
|
6329
|
-
same paragraph. **You can now delete** a local `.link-button`, or the
|
|
6804
|
+
outset border — all of that is gone, so it now takes the paragraph's font family, size and
|
|
6805
|
+
line-height like an `<a class="link">` in the same paragraph. **You can now delete** a local `.link-button`, or the
|
|
6330
6806
|
padding/border/background/font reset in your overrides.
|
|
6331
6807
|
`font-weight` is untouched so `.quiet` and `.standalone` still decide it, and `display` stays
|
|
6332
6808
|
`inline-block` so a standalone button lays out predictably. The reset is scoped with `:where()`, so
|
|
@@ -6831,10 +7307,10 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
6831
7307
|
### Added
|
|
6832
7308
|
|
|
6833
7309
|
- **The token and component reference now documents every public token and prop** — 41 were
|
|
6834
|
-
shipping with a name, a type and no description: 10 `--ds-*`
|
|
7310
|
+
shipping with a name, a type and no description: 10 tokens (nine `--ds-*` - the whole
|
|
6835
7311
|
`--ds-password-rules-*` set among them, plus `--ds-multi-select-panel-bg-color` and
|
|
6836
|
-
`--ds-menu-item-radius`) and 31 inputs and outputs across
|
|
6837
|
-
`ds-field-message`, `ds-divider`, `ds-sidenav-footer` and the three layout primitives. **Three of
|
|
7312
|
+
`--ds-menu-item-radius` - and the global `--auth-card-w`) and 31 inputs and outputs across
|
|
7313
|
+
`ds-calendar-day`, `ds-time-columns`, `ds-field-message`, `ds-divider`, `ds-sidenav-footer` and the three layout primitives. **Three of
|
|
6838
7314
|
them were guessable wrong**, so check yours if you use them: `ds-time-columns` `value` is always
|
|
6839
7315
|
`HH:mm` in 24h and `format` changes only the DISPLAY, so a 12h picker still emits 24h;
|
|
6840
7316
|
`minTime`/`maxTime` disable the out-of-range rows rather than removing them, so the columns keep
|
|
@@ -6866,7 +7342,7 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
6866
7342
|
|
|
6867
7343
|
### Changed (breaking, behaviour)
|
|
6868
7344
|
|
|
6869
|
-
- **If you EXTEND a DS component, this release collides with your subclass.**
|
|
7345
|
+
- **If you EXTEND a DS component, this release collides with your subclass.** Seventeen exported
|
|
6870
7346
|
classes gained members, so a subclass declaring the same name stops the build: `TS4114` wants
|
|
6871
7347
|
`override`, `TS2415` fires on a redeclared private, `TS2416` on a differing signature.
|
|
6872
7348
|
**`TableComponent` is by far the largest**: `lazy`, `lazyLoad`, `showLabel`, `showPageSize`,
|
|
@@ -6900,7 +7376,7 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
6900
7376
|
separate element with a hardcoded `border-radius: var(--radius-md)` that the shared rule does not
|
|
6901
7377
|
reach, so it stays at 8px.
|
|
6902
7378
|
|
|
6903
|
-
- **
|
|
7379
|
+
- **Eight exit `@keyframes` are gone, replaced by four global presets.** `modal-out`, `ds-sheet-fade-out`
|
|
6904
7380
|
and `drawer-scrim-out` become `ds-fade-out`; `ds-sheet-down` and the four `drawer-panel-close-*` become
|
|
6905
7381
|
`ds-slide-edge-out`. They were view-encapsulated, so referencing one was only possible from a global
|
|
6906
7382
|
stylesheet — but if you did, that is the mapping. Nothing about the rendered motion changed.
|
|
@@ -7080,10 +7556,10 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
7080
7556
|
- **`--ds-autocomplete-panel-maxh`**, so the dropdown's height before it scrolls no longer needs the private
|
|
7081
7557
|
`--picker-maxh` (which `ds-multi-select` also reads, making it the wrong lever for one component).
|
|
7082
7558
|
|
|
7083
|
-
- **`--ds-autocomplete-panel-radius`, bringing
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7559
|
+
- **`--ds-autocomplete-panel-radius`, bringing its panel into the radius role layer.** Its dropdown was
|
|
7560
|
+
hard-coding `--radius-lg` while modal, popover, card, bottom-sheet and both picker panels resolve
|
|
7561
|
+
`--ds-radius-panel`, so a consumer who squared the three radius roles still got this panel rounded, with
|
|
7562
|
+
no hook to reach it. Nothing moves by default — the role still resolves to
|
|
7087
7563
|
`--radius-lg` — and the token is forwarded onto the portaled pane on open like the other panel tokens.
|
|
7088
7564
|
|
|
7089
7565
|
- **`ds-app-layout` takes a `scrollReset` strategy, and `LayoutNavigationService` is public.** Owning the
|
|
@@ -7109,7 +7585,8 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
7109
7585
|
clear buttons, calendar days, chips, and tag and toast close buttons took `var(--radius-sm)` directly
|
|
7110
7586
|
instead of the role, so the role a consumer is told to retune reached exactly one component. Nothing
|
|
7111
7587
|
moves (the role's default IS `--radius-sm`), but it changes what a square brand costs: zeroing the three
|
|
7112
|
-
radius roles
|
|
7588
|
+
radius roles now squares these affordances too, while surfaces that still read the raw scale - the
|
|
7589
|
+
`ds-multi-select` panel, menus and steppers among them - stay rounded. Five focus-ring radii inside
|
|
7113
7590
|
`:focus-visible` keep following the raw scale deliberately — a ring traces a box, it is not a surface a
|
|
7114
7591
|
brand designs.
|
|
7115
7592
|
|
|
@@ -7186,7 +7663,9 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
7186
7663
|
spelled their height as the raw `--hit-*` value, so the knob the token name advertises did nothing for
|
|
7187
7664
|
them. All six are on the `field-box-height` contract now, and no raw `--hit-cozy` height is left in the
|
|
7188
7665
|
library. Same pixels at every size **except `ds-number-stepper` at `size="lg"`, which goes 44px → 48px**
|
|
7189
|
-
to match the family's large field; the other sizes are unchanged.
|
|
7666
|
+
to match the family's large field; the other sizes are unchanged. That holds with `[data-density]` on
|
|
7667
|
+
the root element: under a `[data-density]` set on an inner container the `--field-h-*` scale keeps its
|
|
7668
|
+
root value, so these six no longer follow that container's density.
|
|
7190
7669
|
|
|
7191
7670
|
- **Date and time pickers keep step with the fields beside them under `[data-density]`.** Both triggers
|
|
7192
7671
|
hard-coded their horizontal padding, which happened to equal `--field-pad-x` at default density but did
|
|
@@ -7200,8 +7679,9 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
7200
7679
|
|
|
7201
7680
|
- **`density="compact"` no longer defeats every `ds-table` padding hook.** It pinned `padding` straight onto
|
|
7202
7681
|
the cells, which out-specifies the `--ds-table-cell-pad-*` and head hooks, so a compact table silently
|
|
7203
|
-
ignored all of them. It now retunes the same density tokens `[data-density]` uses — identical spacing
|
|
7204
|
-
the
|
|
7682
|
+
ignored all of them. It now retunes the same density tokens `[data-density]` uses — identical spacing
|
|
7683
|
+
except the empty-state cell, which keeps its own 16px padding where compact gave it 8px 12px, and the
|
|
7684
|
+
hooks apply.
|
|
7205
7685
|
|
|
7206
7686
|
- **`ds-date-picker`'s trigger stays visibly active while its own panel is open.** The indicator was bound to
|
|
7207
7687
|
focus only, and opening from the calendar glyph moves focus into the day grid — so the trigger went dark
|
|
@@ -7236,8 +7716,9 @@ None of this is required — skipping it leaves working code that is merely redu
|
|
|
7236
7716
|
- **Options in the picker panels had no pressed state.** Hover only — so on a phone, where there is no
|
|
7237
7717
|
hover, tapping a row in `ds-select`, `ds-autocomplete` or `ds-multi-select` gave no feedback that it had
|
|
7238
7718
|
been hit. The equivalent rows elsewhere (`ds-menu-item`, `ds-list-item`) have had one since 0.7.x. Fixed
|
|
7239
|
-
once,
|
|
7240
|
-
family rather than stranding the selected label colour
|
|
7719
|
+
once, in the option partial `ds-select` and `ds-multi-select` share, so both get it consistently, with
|
|
7720
|
+
a selected-row variant that stays in the brand family rather than stranding the selected label colour
|
|
7721
|
+
on a neutral fill; `ds-autocomplete` styles its own rows and still has hover only.
|
|
7241
7722
|
|
|
7242
7723
|
- **`ds-textarea size="sm"` and `="lg"` got the md vertical padding.** The size variants set the inner
|
|
7243
7724
|
`<textarea>`'s vertical pad (`--space-2` / `--space-4`), but the `:host`-prefixed pin at the end of the
|
|
@@ -7268,12 +7749,12 @@ skipping it leaves working code that is merely redundant.
|
|
|
7268
7749
|
| `--ds-modal-divider: transparent`, plus whatever you rewrote the modal padding to afterwards | `[dividers]="false"` — it drops the rules *and* the padding that existed to clear them |
|
|
7269
7750
|
| A defensive `:hover` rule guarding the selected dropdown row — a selector naming `is-selected` | The `:not(.is-selected)` branch already handles it |
|
|
7270
7751
|
| `ds-menu-divider { padding: 0 }` | `--ds-menu-divider-spacing`, which already defaults to 0 |
|
|
7271
|
-
| A dozen scattered `--ds-*-radius: 0` | For a fully square brand, four lines: `--radius-sm/md/lg/xl: 0` (leave `--radius-pill`). Measured — the three ROLES alone leave
|
|
7752
|
+
| A dozen scattered `--ds-*-radius: 0` | For a fully square brand, four lines: `--radius-sm/md/lg/xl: 0` (leave `--radius-pill`). Measured — the three ROLES alone leave the multi-select panel, menus, steppers and other surfaces that still read the raw scale rounded; they are the tool for squaring one family and keeping another. Worked example on the Theming page |
|
|
7272
7753
|
| A global rule squaring `.ds-overlay-pane` | Radius and elevation roles now travel onto portaled panes when the host overrides them |
|
|
7273
7754
|
| Absolutely positioning a search glyph over an autocomplete, or hiding `.autocomplete-chevron` | `dsAutocompletePrefix` and `[showChevron]="false"` |
|
|
7274
7755
|
| Querying the autocomplete's inner `<input>` and dispatching a synthetic `input` event to clear it | `clear()` |
|
|
7275
7756
|
| A hand-built KPI tile — a `kpi` block pairing your own markup with `ds-badge`, where `ds-stat` now fits | `ds-stat` takes a projected `[dsStatValue]` |
|
|
7276
|
-
| A pinned `--ds-search-height` (or any sibling) to get a shorter control row | `density="compact"` on the
|
|
7757
|
+
| A pinned `--ds-search-height` (or any sibling) to get a shorter control row | `data-density="compact"` on the root element — every field control is 32px there, measured; `--field-h-*` resolve on `:root`, so an inner container keeps 40px |
|
|
7277
7758
|
| A hand-rolled `.scrim` + `.panel` dialog, written because the modal header could not hold a badge or a second line | `ds-modal` projects `[title-badge]` and takes a `subtitle`. You get back the focus trap, focus restore, the scroll lock, Escape and the footer |
|
|
7278
7759
|
| `[value]="f.x().value()" (valueChange)="f.x().value.set($event)"` on every field of a signal form | `[formField]="f.x"` — the control implements the contract already |
|
|
7279
7760
|
| `white-space: normal` forced onto a badge in a table cell | `--ds-badge-white-space` |
|
|
@@ -7414,7 +7895,7 @@ genuine gap worth reporting.
|
|
|
7414
7895
|
stays public for a consumer’s own button and now takes an optional row set.
|
|
7415
7896
|
- **Focus-indicator style is a one-place switch: `<html data-focus="ring | field | edge | outline">`.**
|
|
7416
7897
|
The library shipped two fixed families — a soft halo on fields, a crisp double ring on controls — with no
|
|
7417
|
-
way for a brand to choose. Since
|
|
7898
|
+
way for a brand to choose. Since 22 components already resolve through `--ds-field-focus-shadow` /
|
|
7418
7899
|
`--ds-control-focus-shadow`, the switch simply retargets those roles: `ring` and `field` make both groups
|
|
7419
7900
|
match, `edge` is a hairline flush against the element, and `outline` swaps to a real `outline` — which a
|
|
7420
7901
|
box-shadow token cannot express, so that style also emits a zero-specificity `:where(:focus-visible)`
|
|
@@ -7482,12 +7963,14 @@ genuine gap worth reporting.
|
|
|
7482
7963
|
scale for as long as the token file has existed, but only `-lg` was ever read: `ds-input`, `ds-select`,
|
|
7483
7964
|
`ds-date-picker` and `ds-time-picker` all spelled the other two out as the raw `var(--hit-min)` /
|
|
7484
7965
|
`var(--hit-cozy)`. Retuning `--field-h-md` therefore changed nothing — a lever that looked live and was
|
|
7485
|
-
not. All four now resolve through the scale (identical values, so nothing moves
|
|
7486
|
-
|
|
7487
|
-
|
|
7966
|
+
not. All four now resolve through the scale (identical values, so nothing moves while `[data-density]`
|
|
7967
|
+
sits on the root; under one set on an inner element, md and sm fields now keep the root's height,
|
|
7968
|
+
because the scale resolves on `:root`), and `--ds-field-height` overrides the resolved size for a
|
|
7969
|
+
consumer who wants one height regardless of `size`; scope it per component the usual way
|
|
7970
|
+
(`ds-select { --ds-field-height: 44px; }`).
|
|
7488
7971
|
- **One label contract for the whole field family: `--ds-field-label-font-size` / `-weight` / `-color` / `-transform` / `-tracking`.** Five components hard-coded the identical label rule and only `ds-input`
|
|
7489
|
-
had hooks, so a form mixing a select with an input rendered labels in two sizes and colours
|
|
7490
|
-
|
|
7972
|
+
had hooks, so a form mixing a select with an input rendered labels in two sizes and colours once the
|
|
7973
|
+
input's were retuned, and retuning them from an app needed `.field.field .label.label, .select-label.select-label` to
|
|
7491
7974
|
out-rank the shimmed component rule. `input`, `textarea`, `select`, `date-picker`, `time-picker` and
|
|
7492
7975
|
`radio-group` now resolve through one mixin and one token set. No per-component token set is needed —
|
|
7493
7976
|
custom-property scoping already narrows a retune to one component (`ds-select {
|
|
@@ -7550,7 +8033,9 @@ genuine gap worth reporting.
|
|
|
7550
8033
|
- **`ds-radio-group`’s label now looks like every other field label.** It was the one component drawing
|
|
7551
8034
|
its own type (`medium` weight at `--font-size-s` on `--line-height-flat`) rather than the family’s
|
|
7552
8035
|
`bold`/`--font-size-xs`; in a form beside an input or a select it read as a different kind of thing.
|
|
7553
|
-
Restore the old look with `ds-radio-group { --ds-field-label-weight: var(--font-weight-medium); --ds-field-label-font-size: var(--font-size-s); }
|
|
8036
|
+
Restore the old look with `ds-radio-group { --ds-field-label-weight: var(--font-weight-medium); --ds-field-label-font-size: var(--font-size-s); }`
|
|
8037
|
+
and `ds-radio-group > .label { line-height: var(--line-height-flat); }`: the label now sits on
|
|
8038
|
+
`--line-height-base`, which has no hook.
|
|
7554
8039
|
- **Fields no longer expose a `protected messageState`;** the resolved `message` (text + state) and
|
|
7555
8040
|
`invalidResolved` replace it. Only reachable by subclassing a field component, which is not a
|
|
7556
8041
|
supported extension point, but noted for parity with the class-member changes in 0.7.0.
|
|
@@ -7727,11 +8212,11 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
7727
8212
|
blurred into `<body>` and restarted Tab order at the top of the document. Also gives forms a way to
|
|
7728
8213
|
focus the first invalid field.
|
|
7729
8214
|
|
|
7730
|
-
- **
|
|
8215
|
+
- **Four override tokens that were previously hardcoded:** `--ds-modal-title-font-size` (pairs with the
|
|
7731
8216
|
existing `-title-weight`), `--ds-date-picker-trigger-radius` (the counterpart of
|
|
7732
8217
|
`--ds-time-picker-trigger-radius`), `--ds-date-picker-panel-radius` (forwarded onto the portaled pane),
|
|
7733
|
-
`--ds-checkbox-radius` (the box only — the indeterminate dash keeps its own)
|
|
7734
|
-
`ds-toast` also gains `--ds-toast-min-width` / `--ds-toast-max-width` as per-instance hooks over the
|
|
8218
|
+
and `--ds-checkbox-radius` (the box only — the indeterminate dash keeps its own). `ds-menu` gains
|
|
8219
|
+
`--ds-menu-max-width`, defaulting to `none`, where it had no max-width. `ds-toast` also gains `--ds-toast-min-width` / `--ds-toast-max-width` as per-instance hooks over the
|
|
7735
8220
|
global `--toast-minw` / `--toast-maxw` geometry. All default to the current values.
|
|
7736
8221
|
|
|
7737
8222
|
- **`--ds-popover-min-width` and `--ds-menu-min-width`.** A popover (or a `ds-menu` projected into one)
|
|
@@ -7802,8 +8287,8 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
7802
8287
|
- **BREAKING (layout): `reserveMessage` now defaults to `false` on every field.** It shipped default-on
|
|
7803
8288
|
in 0.7.0; the reserved row is right for a form that validates and wrong for the many forms that never
|
|
7804
8289
|
show a message, where it added ~23px of dead space under every control and made a normal 16px field
|
|
7805
|
-
stack read as a ~39px hole. The resolution chain
|
|
7806
|
-
`DS_CONFIG.field.reserveMessage`, then the default —
|
|
8290
|
+
stack read as a ~39px hole. The resolution chain gains a config step — per-field input, then
|
|
8291
|
+
`DS_CONFIG.field.reserveMessage`, then the default — and the final fallback flipped, so all 14
|
|
7807
8292
|
message-bearing fields follow (`ds-input`, `ds-textarea`, `ds-select`, `ds-autocomplete`,
|
|
7808
8293
|
`ds-multi-select`, `ds-checkbox`, `ds-radio`, `ds-radio-group`, `ds-switch`, `ds-slider`,
|
|
7809
8294
|
`ds-date-picker`, `ds-time-picker`, `ds-color-picker`, `ds-otp-input`). **To restore 0.7.0 behaviour
|
|
@@ -7994,8 +8479,8 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
7994
8479
|
DOM already states. The flush-addon layout is now derived automatically: a boxed `.addon` projected
|
|
7995
8480
|
into `[dsInputPrefix]`/`[dsInputSuffix]` (`<span dsInputPrefix class="addon">…</span>`) sits flush via
|
|
7996
8481
|
`:has()`, while a bare projected `<ds-icon dsInputPrefix>` correctly keeps its inset. Delete
|
|
7997
|
-
`[withAddon]` / `[withAddonRight]` from your templates — a boxed addon
|
|
7998
|
-
icon that previously (mis)set the flag regains its proper inset (a bugfix).
|
|
8482
|
+
`[withAddon]` / `[withAddonRight]` from your templates — a boxed addon on one side renders
|
|
8483
|
+
identically, and a bare icon that previously (mis)set the flag regains its proper inset (a bugfix).
|
|
7999
8484
|
|
|
8000
8485
|
- **BREAKING: `ds-app-shell` is renamed to `ds-app-layout`.** The slotted fixed-frame application layout
|
|
8001
8486
|
shipped as `ds-app-shell` in 0.6.3; this renames the selector (`ds-app-shell` →
|
|
@@ -8004,10 +8489,10 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8004
8489
|
`-pad-y` / `-content-max-width` / `-height` → `--ds-app-layout-*`). Behaviour is unchanged — rename the
|
|
8005
8490
|
references (see `migrations/`). A consumer still on 0.6.3's `ds-app-shell` must migrate.
|
|
8006
8491
|
|
|
8007
|
-
- **`TableComponent` gained
|
|
8008
|
-
`
|
|
8009
|
-
consumer that extends a DS class (unsupported — `design-system.md` §
|
|
8010
|
-
name here as well, exactly as in 0.6.3. Same resolution: rename the subclass's own member, or add
|
|
8492
|
+
- **`TableComponent` gained five more members (`total`, `sortingOrder`, `animateHeight`,
|
|
8493
|
+
`scrollToTopOnPageChange` and the private `parseDurationMs`), and most other component classes
|
|
8494
|
+
changed too**, so a consumer that extends a DS class (unsupported — `design-system.md` §
|
|
8495
|
+
Components) can collide on a name here as well, exactly as in 0.6.3. Same resolution: rename the subclass's own member, or add
|
|
8011
8496
|
`override` where the base's semantics genuinely match.
|
|
8012
8497
|
|
|
8013
8498
|
### Fixed
|
|
@@ -8114,7 +8599,7 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8114
8599
|
table the horizontal bar stays reachable without scrolling to the table's end. The proxy hides
|
|
8115
8600
|
itself when the table doesn't overflow.
|
|
8116
8601
|
- **`ds-table` truncated cells open a full-value popover on click.** A `truncate` column's clipped
|
|
8117
|
-
cell now shows its complete text in a popover when clicked (in addition to the
|
|
8602
|
+
cell now shows its complete text in a popover when clicked (in addition to the title
|
|
8118
8603
|
tooltip); the click is swallowed so it never doubles as a row click, while an unclipped cell
|
|
8119
8604
|
passes the click through to the row unchanged.
|
|
8120
8605
|
- **`ds-app-shell` — slotted fixed-frame application shell.** `[sidenav]`/`[topbar]`/default
|
|
@@ -8184,7 +8669,7 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8184
8669
|
- **`ds-toast` now slides up from below into place as it enters** (previously it dropped in from
|
|
8185
8670
|
slightly above). The exit animation is unchanged — the toast still slides up as it fades out.
|
|
8186
8671
|
Visual/motion only; no API change.
|
|
8187
|
-
- **The new `ds-table`
|
|
8672
|
+
- **The new `ds-table` features grew `TableComponent`'s member surface by 77 names, which breaks
|
|
8188
8673
|
a consumer that extends the class.** Everything above is additive for anyone using the
|
|
8189
8674
|
`<ds-table>` element. Subclassing a DS component is unsupported (`design-system.md` §
|
|
8190
8675
|
Components), but where it happens the new names collide — TS4114 demands an `override` modifier,
|
|
@@ -8388,8 +8873,9 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8388
8873
|
`ModalConfirmTone` `'danger'` → `'error'` (also `ModalService.confirm({ tone })`);
|
|
8389
8874
|
`SplitButtonItem.danger` → `.error`. Public tokens renamed in lockstep:
|
|
8390
8875
|
`--ds-menu-item-danger-label-color` → `--ds-menu-item-error-label-color` and
|
|
8391
|
-
`--ds-progress-bar-color-warn` → `--ds-progress-bar-color-warning`. CSS state classes
|
|
8392
|
-
|
|
8876
|
+
`--ds-progress-bar-color-warn` → `--ds-progress-bar-color-warning`. The CSS state classes follow
|
|
8877
|
+
(`.danger` → `.error` on modal, modal-card, menu-item and stat; `.warn` → `.warning` on progress);
|
|
8878
|
+
every default value is otherwise unchanged.
|
|
8393
8879
|
- **Event outputs renamed to past-participle (consistent event naming).** Dismissal events unified
|
|
8394
8880
|
to `closed`: `ds-alert` / `ds-banner` / `ds-toast` `(dismissed)` → `(closed)`. Action events made
|
|
8395
8881
|
past-tense: `ds-table` `(rowClick)` → `(rowClicked)`, `ds-stepper` `(stepClick)` →
|
|
@@ -8472,7 +8958,8 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8472
8958
|
binding consumers are unaffected.
|
|
8473
8959
|
- **`ds-button` tonal fill — `:active` now darkens past `:hover`.** The `tonal` variant reused the
|
|
8474
8960
|
same token (`--c-muted-strong`) for both hover and active, so the pressed background was identical
|
|
8475
|
-
to hover; active now mixes that tint ~10% toward black for a distinct pressed step
|
|
8961
|
+
to hover; active now mixes that tint ~10% toward black for a distinct pressed step
|
|
8962
|
+
(`--ds-button-bg-color-active` restores the old one).
|
|
8476
8963
|
- **Per-instance overlay panel token overrides now reach the portaled pane.** `--ds-*` panel tokens
|
|
8477
8964
|
set on the host of `ds-autocomplete`, `ds-multi-select`, `ds-date-picker`, `ds-color-picker`,
|
|
8478
8965
|
`ds-popover`, and `ds-time-picker` were ignored because the panel renders in a CDK overlay
|
|
@@ -8491,7 +8978,11 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8491
8978
|
mask (two dates) is no longer cut off.
|
|
8492
8979
|
- **`ultra-compact` density tier gained full token coverage.** `[data-density="ultra-compact"]` now
|
|
8493
8980
|
also scales avatar size, sidenav width, badge / status-dot sizes, and switch geometry — previously
|
|
8494
|
-
left at the cozy defaults, so those controls didn't shrink with the tier.
|
|
8981
|
+
left at the cozy defaults, so those controls didn't shrink with the tier. Its switch goes from
|
|
8982
|
+
24×20 px with a 12px thumb to 24×14 px with a 10px one (`--switch-track-h` /
|
|
8983
|
+
`--switch-thumb-size` / `--switch-thumb-travel`). The rest go from the root 32px / 6px / 8px /
|
|
8984
|
+
240px / 8px to `--avatar-md` 20px, `--badge-dot-size` 4px, `--status-dot-size` 5px, `--sidenav-w`
|
|
8985
|
+
200px and `--field-floating-label-top` 4px.
|
|
8495
8986
|
|
|
8496
8987
|
## 0.5.0 — 2026-07-08
|
|
8497
8988
|
|
|
@@ -8521,7 +9012,8 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8521
9012
|
`--ds-status-dot-*` (`color`, `size`); `--ds-pagehdr-*` → `--ds-page-header-*` (~10 tokens:
|
|
8522
9013
|
eyebrow / title / subtitle / meta / crumb text colors, `meta-icon-color`, `divider`, `title-fs`,
|
|
8523
9014
|
`title-gap`); `--ds-avatargroup-*` → `--ds-avatar-group-*` (`overlap`, `ring`, `overflow-bg-color`,
|
|
8524
|
-
`overflow-label-color`)
|
|
9015
|
+
`overflow-label-color`); the globals `--datepicker-w` / `-cell-gap` / `-nav-size` →
|
|
9016
|
+
`--date-picker-*`. Only the names changed — the CSS property each feeds and every default
|
|
8525
9017
|
value are byte-identical; purely a naming-consistency fix.
|
|
8526
9018
|
|
|
8527
9019
|
### Added
|
|
@@ -8540,7 +9032,9 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8540
9032
|
- **Selection controls gain `size` + `required`.** `ds-checkbox` / `ds-radio` / `ds-switch`
|
|
8541
9033
|
take a `size` input (`sm` / `md` / `lg`; `md` unchanged and still density-responsive) and
|
|
8542
9034
|
a `required` input (adds `aria-required` + a `*` marker on the inline `[label]`). `ds-radio`
|
|
8543
|
-
(standalone) also gains `invalid` + `hint` via `ds-field-message`, matching checkbox/switch.
|
|
9035
|
+
(standalone) also gains `invalid` + `hint` via `ds-field-message`, matching checkbox/switch. One
|
|
9036
|
+
`md` exception: under `[data-density="ultra-compact"]` a checked `ds-switch` thumb now travels 8px
|
|
9037
|
+
and stays inside its 24px track, where it travelled 16px and overran it.
|
|
8544
9038
|
New exported `CheckboxSize` / `RadioSize` / `SwitchSize`.
|
|
8545
9039
|
- **`ds-input` / `ds-textarea` character counter.** New `[maxLength]` caps input and renders a
|
|
8546
9040
|
live `"n/max"` counter beside the hint. `ds-textarea` also gains `[readOnly]` (mirrors input).
|
|
@@ -8604,18 +9098,19 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8604
9098
|
day carrying a full-date accessible name; out-of-range days are `aria-disabled` yet stay
|
|
8605
9099
|
keyboard-reachable, and month/year navigation is announced via a polite live region. Masked entry
|
|
8606
9100
|
edits at the caret (insert/backspace hop over the mask separators).
|
|
8607
|
-
- **Public `--ds-*` customization token sweep across
|
|
9101
|
+
- **Public `--ds-*` customization token sweep across 47 components.** Components/sub-components that
|
|
8608
9102
|
previously had no public token API (or only a shallow one) now expose per-instance/theme knobs —
|
|
8609
9103
|
spinner, skeleton, progress, divider, accordion, page-footer, tooltip, w3w, drawer, popover, menu
|
|
8610
9104
|
(+ item + divider), checkbox, radio, switch, slider, segmented, toggle-button, stepper, select,
|
|
8611
9105
|
autocomplete, multi-select, date-picker, time-picker, otp-input, number-stepper, bottom-sheet, list,
|
|
8612
9106
|
loading-overlay, split-button, tree, avatar-group, description-list, dropzone, modal, page-header,
|
|
8613
9107
|
tabs, tag, timeline, toast, topbar, avatar, color-picker, icon-button, input, empty-state — bringing
|
|
8614
|
-
drawer / popover / tooltip up to the same depth as modal / card.
|
|
9108
|
+
drawer / popover / tooltip up to the same depth as modal / card. 182 new names,
|
|
8615
9109
|
predominantly color (surface/background, border, text/label, icon, accent, plus hover/selected/focus/
|
|
8616
9110
|
active states) with secondary sizing (height, width, max-width/height, radius, padding, shadow,
|
|
8617
9111
|
font-size). Each is a `--_x: var(--ds-x, <role-token>)` resolver whose default equals the existing
|
|
8618
|
-
role token, so it is purely additive — zero visual change for consumers who set nothing
|
|
9112
|
+
role token, so it is purely additive — zero visual change for consumers who set nothing, except
|
|
9113
|
+
`--ds-search-maxw`, whose default is `none` where the field was capped at 320px (see Changed).
|
|
8619
9114
|
|
|
8620
9115
|
### Changed
|
|
8621
9116
|
|
|
@@ -8633,7 +9128,8 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8633
9128
|
- **`ds-search` fills its container by default.** Default `max-width` changed from `320px` to `none` —
|
|
8634
9129
|
`ds-search` now stretches to `width: 100%` like the rest of the field family (input / select /
|
|
8635
9130
|
textarea) instead of being capped at 320px. New public `--ds-search-maxw` override token (default
|
|
8636
|
-
`none`) to opt back into a fixed cap, e.g. `ds-search { --ds-search-maxw: 320px }
|
|
9131
|
+
`none`) to opt back into a fixed cap, e.g. `ds-search { --ds-search-maxw: 320px }`; it replaces
|
|
9132
|
+
the global `--search-maxw`, which is gone.
|
|
8637
9133
|
- **Rounded press feedback + native tap-highlight suppression.** Interactive controls now show a
|
|
8638
9134
|
rounded `:active` press state (`filter: brightness(0.9)` + `transform: scale(0.97)`) that follows
|
|
8639
9135
|
each control's own border-radius/shape rather than a square box-shadow/background overlay — applied
|
|
@@ -8673,7 +9169,8 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8673
9169
|
**discouraged** (dev-mode `console.warn` — prefer the global `.link` class); a small set of
|
|
8674
9170
|
low-contrast `color × variant` combos (e.g. `neutral` solid, `success` / `warning` ghost/outline)
|
|
8675
9171
|
render with a discouraged ⚠ marker rather than being banned. Each instance now sources its accent
|
|
8676
|
-
from the `--accent-*` pointer layer (see ds-color).
|
|
9172
|
+
from the `--accent-*` pointer layer (see ds-color). A migrated `outline` button presses to a
|
|
9173
|
+
14% `--text-secondary` tint, was `--surface-secondary` (restore via `--ds-button-bg-color-active`).
|
|
8677
9174
|
- **Reactive-forms radio now uses `<ds-radio-group>` as the group container and form control.**
|
|
8678
9175
|
Standalone `<ds-radio [(checked)]>` continues to work for non-group usage, but a group of
|
|
8679
9176
|
radios that participates in a reactive form should now be wrapped in `<ds-radio-group>`.
|
|
@@ -8775,7 +9272,10 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8775
9272
|
no automatic `prefers-color-scheme` switch — to follow the OS, opt in at the app root with the new
|
|
8776
9273
|
**`provideDsTheme({ followSystem: true })`** provider. Each theme declares `color-scheme` so native
|
|
8777
9274
|
UI (scrollbars, form controls) matches. Adds theme-stable `--static-white` / `--static-ink` tokens
|
|
8778
|
-
so on-fill text keeps correct contrast across themes
|
|
9275
|
+
so on-fill text keeps correct contrast across themes: `--primary-on`, `--icon-on-primary` and
|
|
9276
|
+
`--text-on-*` read them instead of `--neutral-0` / `--neutral-900`, so under
|
|
9277
|
+
`data-neutrals="brand"` `--text-on-warning` is `#161A28`, not the brand-gray 900.
|
|
9278
|
+
Non-breaking — additive, light output unchanged.
|
|
8779
9279
|
Light and dark are **sibling themes** — a shared base palette (`themes/_base-palette`) + a shared
|
|
8780
9280
|
role map (`themes/_semantic`); light applies at `:root`, dark at `:root[data-theme='dark']` (the
|
|
8781
9281
|
dark block declares the complete token set, so it fully replaces light, not patches it).
|
|
@@ -8803,6 +9303,7 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8803
9303
|
floating-label layout.
|
|
8804
9304
|
- **`--field-label-gap` token** (single source for label↔control and control↔hint vertical
|
|
8805
9305
|
rhythm, defaults to `--space-1-5`); every field control now routes its spacing through it.
|
|
9306
|
+
It replaces `--field-gap-label`, which is gone.
|
|
8806
9307
|
|
|
8807
9308
|
#### Components — new capabilities
|
|
8808
9309
|
|
|
@@ -8841,8 +9342,9 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8841
9342
|
### Changed
|
|
8842
9343
|
|
|
8843
9344
|
- **Button & icon-button press is now darken + a micro scale-down; the pressed halo is off by default.**
|
|
8844
|
-
`:active` darkens the fill (unchanged
|
|
8845
|
-
|
|
9345
|
+
`:active` darkens the fill (unchanged, except the old `outline` button: as neutral `outline` it
|
|
9346
|
+
presses to a grey ink tint, not `--surface-secondary`) and adds `transform: scale(0.98)` (button) /
|
|
9347
|
+
`0.96` (icon-button) for tactile feedback. The old faint pressed halo (`--ds-button-pressed-shadow`) now defaults to `none`
|
|
8846
9348
|
— still settable to re-enable it. Honors `prefers-reduced-motion` (scale dropped, colour stays).
|
|
8847
9349
|
- **Button & icon-button `[disabled]` is now a per-variant muted tint, not one flat grey.**
|
|
8848
9350
|
The disabled look derives from each variant's own colour: solid fills (primary/error/
|
|
@@ -8875,13 +9377,14 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8875
9377
|
- **`prefers-reduced-motion` no longer freezes looping indicators.** A blanket
|
|
8876
9378
|
`animation-duration: 0 !important` was stopping spinners and the indeterminate progress
|
|
8877
9379
|
bar (a frozen spinner reads as "hung", not "loading"). Looping status indicators are now
|
|
8878
|
-
slowed instead of zeroed; one-shot entrance/transition motion stays instant. The page-wide
|
|
9380
|
+
slowed instead of zeroed (`--duration-loop-fast` / `-slow` 1400ms / 2800ms there, were 0ms); one-shot entrance/transition motion stays instant. The page-wide
|
|
8879
9381
|
skeleton sweep still halts (large-area motion, the one reduced-motion should remove).
|
|
8880
9382
|
- **Overlay scroll-lock is now released on dismiss.** The scoped `@keyframes` name guard now
|
|
8881
9383
|
matches Angular's emulated-encapsulation suffix (`endsWith`, not `===`), so the page no
|
|
8882
9384
|
longer stays scroll-locked after an overlay closes.
|
|
8883
|
-
- **`ds-input` / `ds-search` clear button
|
|
8884
|
-
|
|
9385
|
+
- **`ds-input` / `ds-search` clear button reads at rest.** `ds-input` draws it in
|
|
9386
|
+
`--text-secondary` instead of `--text-tertiary`, and `ds-search` shows it at full opacity instead
|
|
9387
|
+
of 0.7, so it no longer needs hover or focus to be seen.
|
|
8885
9388
|
- **`ds-combobox`** truncates long option labels with an ellipsis instead of wrapping in
|
|
8886
9389
|
narrow panels, and its multi-select option row now fills the panel width (label no longer
|
|
8887
9390
|
clipped to zero).
|
|
@@ -8898,13 +9401,14 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8898
9401
|
dropzone, empty-state, icon-button, input, modal, pagination, search, sidenav, stat,
|
|
8899
9402
|
table, tabs, tag, toast and topbar — plus global tokens (`--select-bg`, `--chart-hover-bg`,
|
|
8900
9403
|
`--chart-tooltip-bg`, the `--status-*-bg` set) and private `--_*` tokens. Consumers
|
|
8901
|
-
overriding e.g. `--ds-toast-bg` must rename to `--ds-toast-bg-color
|
|
9404
|
+
overriding e.g. `--ds-toast-bg` must rename to `--ds-toast-bg-color`; the state variants
|
|
9405
|
+
`--ds-*-bg-<state>` take it after `-bg` (`--ds-button-bg-hover` → `--ds-button-bg-color-hover`).
|
|
8902
9406
|
- **Renamed `--*-fg` tokens → semantic `-text-color` / `-label-color` / `-icon-color`.**
|
|
8903
9407
|
The unclear `fg` abbreviation is gone: text/titles/inputs → `-text-color`, control & nav
|
|
8904
9408
|
labels → `-label-color`, icons/glyphs → `-icon-color`. Affects all public `--ds-*-fg`
|
|
8905
9409
|
hooks — avatar, badge, banner, breadcrumbs, button, date-picker, dropzone, empty-state,
|
|
8906
9410
|
icon-button, input, menu, modal, page-header, pagination, search, sidenav, table, tabs,
|
|
8907
|
-
tag and topbar — plus the `--status-*` and chart-tooltip
|
|
9411
|
+
tag and topbar — plus the `--status-*` globals and `--chart-tooltip-fg`. Examples:
|
|
8908
9412
|
`--ds-modal-title-fg` → `--ds-modal-title-text-color`, `--ds-sidenav-group-fg` →
|
|
8909
9413
|
`--ds-sidenav-group-label-color`, `--ds-icon-button-fg` → `--ds-icon-button-icon-color`.
|
|
8910
9414
|
|
|
@@ -8929,7 +9433,8 @@ workaround this release made unnecessary. Generated from the `deleteList` in `mi
|
|
|
8929
9433
|
matching `-error` hook) that falls back to the group token; the global `.link` utility
|
|
8930
9434
|
and the shared dropdown/select overlay panel read the group token directly. A consumer
|
|
8931
9435
|
can retune focus for one component, a whole group (all fields or all controls), or rely
|
|
8932
|
-
on the theme default. Default appearance unchanged
|
|
9436
|
+
on the theme default. Default appearance unchanged except `ds-combobox`, which moves to
|
|
9437
|
+
the field halo (see Changed).
|
|
8933
9438
|
- **`ds-tag` hover tokens** `--ds-tag-hover-bg-color` / `--ds-tag-hover-label-color`
|
|
8934
9439
|
(private tokens hoisted to `:host` for consumer override).
|
|
8935
9440
|
- **`--opacity-state-active`** (0.24) overlay token, backing the new tag pressed state.
|