@ids-group-ltd/ids-design-system 0.13.3 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1104 -14
- package/components.md +567 -34
- package/design-system.md +9 -0
- package/docs/agent/INDEX.md +57 -15
- package/docs/agent/charts/chart-colour-which-palette-a-chart-takes.md +1 -1
- package/docs/agent/charts/column-series-component.md +8 -0
- package/docs/agent/charts/ds-bar-chart.md +6 -1
- package/docs/agent/charts/ds-chart-data-table.md +10 -0
- package/docs/agent/charts/ds-chart.md +10 -0
- package/docs/agent/charts/ds-column-chart.md +5 -1
- package/docs/agent/charts/ds-funnel-chart.md +5 -1
- package/docs/agent/charts/ds-heatmap-chart.md +20 -0
- package/docs/agent/charts/ds-line-chart.md +8 -4
- package/docs/agent/charts/{ds-donut-chart.md → ds-pie-chart.md} +10 -6
- package/docs/agent/charts/ds-scatter-chart.md +20 -0
- package/docs/agent/charts/ds-waterfall-chart.md +20 -0
- package/docs/agent/charts/line-series-component.md +8 -0
- package/docs/agent/charts/reference-label-component.md +8 -0
- package/docs/agent/charts/reference-line-component.md +8 -0
- package/docs/agent/charts/series-annotation-component.md +10 -0
- package/docs/agent/feedback/ds-alert.md +4 -0
- package/docs/agent/feedback/ds-avatar-group.md +4 -0
- package/docs/agent/feedback/ds-avatar.md +4 -0
- package/docs/agent/feedback/ds-badge.md +4 -0
- package/docs/agent/feedback/ds-banner.md +5 -1
- package/docs/agent/feedback/ds-bar.md +4 -0
- package/docs/agent/feedback/ds-description-item.md +8 -0
- package/docs/agent/feedback/ds-description-list.md +8 -0
- package/docs/agent/feedback/ds-empty-state.md +4 -0
- package/docs/agent/feedback/ds-list-item.md +8 -0
- package/docs/agent/feedback/ds-list.md +8 -0
- package/docs/agent/feedback/ds-loading-overlay.md +8 -0
- package/docs/agent/feedback/ds-skeleton.md +4 -0
- package/docs/agent/feedback/ds-spinner.md +4 -0
- package/docs/agent/feedback/ds-stat.md +4 -0
- package/docs/agent/feedback/ds-status-dot.md +4 -0
- package/docs/agent/feedback/ds-tag.md +4 -0
- package/docs/agent/feedback/ds-timeline-item.md +8 -0
- package/docs/agent/feedback/ds-toast-region.md +8 -0
- package/docs/agent/feedback/ds-toast.md +4 -0
- package/docs/agent/feedback/ds-tree.md +8 -0
- package/docs/agent/forms/ds-autocomplete.md +4 -0
- package/docs/agent/forms/ds-button-group.md +8 -0
- package/docs/agent/forms/ds-button.md +6 -2
- package/docs/agent/forms/ds-checkbox.md +4 -0
- package/docs/agent/forms/ds-color-picker.md +8 -0
- package/docs/agent/forms/ds-date-picker.md +5 -1
- package/docs/agent/forms/ds-dropzone.md +4 -0
- package/docs/agent/forms/ds-field-group.md +8 -0
- package/docs/agent/forms/ds-filter-bar.md +8 -0
- package/docs/agent/forms/ds-icon-button.md +4 -0
- package/docs/agent/forms/ds-input.md +13 -1
- package/docs/agent/forms/ds-multi-select.md +4 -0
- package/docs/agent/forms/ds-number-stepper.md +4 -0
- package/docs/agent/forms/ds-otp-input.md +8 -0
- package/docs/agent/forms/ds-password-rules.md +8 -0
- package/docs/agent/forms/ds-radio-group.md +8 -0
- package/docs/agent/forms/ds-radio.md +4 -0
- package/docs/agent/forms/ds-search.md +5 -1
- package/docs/agent/forms/ds-segmented.md +8 -0
- package/docs/agent/forms/ds-select.md +4 -0
- package/docs/agent/forms/ds-slider.md +8 -0
- package/docs/agent/forms/ds-split-button.md +8 -0
- package/docs/agent/forms/ds-switch.md +7 -1
- package/docs/agent/forms/ds-textarea.md +6 -1
- package/docs/agent/forms/ds-time-picker.md +8 -0
- package/docs/agent/forms/ds-toggle-button.md +8 -0
- package/docs/agent/forms/filter-item-directive.md +8 -0
- package/docs/agent/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +4 -0
- package/docs/agent/navigation/ds-app-layout.md +6 -2
- package/docs/agent/navigation/ds-auth-layout.md +5 -1
- package/docs/agent/navigation/ds-breadcrumbs.md +4 -0
- package/docs/agent/navigation/ds-container.md +8 -0
- package/docs/agent/navigation/ds-divider.md +4 -0
- package/docs/agent/navigation/ds-inline.md +8 -0
- package/docs/agent/navigation/ds-page-footer.md +4 -0
- package/docs/agent/navigation/ds-page-header.md +5 -1
- package/docs/agent/navigation/ds-pagination.md +5 -1
- package/docs/agent/navigation/ds-sidenav-footer.md +8 -0
- package/docs/agent/navigation/ds-sidenav-group.md +4 -0
- package/docs/agent/navigation/ds-sidenav-item.md +4 -0
- package/docs/agent/navigation/ds-sidenav.md +4 -0
- package/docs/agent/navigation/ds-stack.md +8 -0
- package/docs/agent/navigation/ds-stepper.md +4 -0
- package/docs/agent/navigation/ds-tab.md +8 -0
- package/docs/agent/navigation/ds-tabs.md +5 -1
- package/docs/agent/overlays/ds-bottom-sheet.md +4 -0
- package/docs/agent/overlays/ds-drawer.md +4 -0
- package/docs/agent/overlays/ds-menu.md +4 -0
- package/docs/agent/overlays/ds-modal-card.md +4 -0
- package/docs/agent/overlays/ds-modal.md +4 -0
- package/docs/agent/overlays/ds-popover.md +4 -0
- package/docs/agent/overlays/ds-tooltip-panel.md +8 -0
- package/docs/agent/overlays/ds-tooltip.md +4 -0
- package/docs/agent/platform/ds-config.md +2 -1
- package/docs/agent/surfaces/ds-accordion-item.md +8 -0
- package/docs/agent/surfaces/ds-accordion.md +4 -0
- package/docs/agent/surfaces/ds-card.md +6 -2
- package/docs/agent/tables/ds-cell-template.md +8 -0
- package/docs/agent/tables/ds-table-columns.md +8 -0
- package/docs/agent/tables/ds-table-export.md +8 -0
- package/docs/agent/tables/ds-table.md +12 -4
- package/docs/agent/tables/header-filter-directive.md +8 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +10 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +19 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-auth-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +7 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +140 -43
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +42 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +39 -14
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs +727 -93
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +8 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs +29 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-column-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +23 -16
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +25 -24
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs +217 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +183 -501
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +44 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs +7 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +22 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +382 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +322 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +6 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +9 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +7 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +23 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +20 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +36 -28
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +23 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +34 -21
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +252 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +361 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +2 -3
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +2 -2
- package/migrations/0.10.1.json +3 -3
- package/migrations/0.10.2.json +8 -28
- package/migrations/0.11.0.json +3 -3
- package/migrations/0.11.1.json +15 -15
- package/migrations/0.11.2.json +9 -9
- package/migrations/0.11.3.json +1 -1
- package/migrations/0.11.4.json +8 -8
- package/migrations/0.12.1.json +1 -1
- package/migrations/0.12.2.json +5 -2
- package/migrations/0.12.3.json +3 -3
- package/migrations/0.13.0.json +24 -32
- package/migrations/0.13.1.json +5 -5
- package/migrations/0.13.3.json +32 -10
- package/migrations/0.13.4.json +2492 -0
- package/migrations/0.14.0.json +591 -0
- package/migrations/0.5.0.json +11 -5
- package/migrations/0.7.0.json +5 -2
- package/migrations/0.8.0.json +4 -3
- package/migrations/0.9.0.json +6 -3
- package/migrations/README.md +7 -2
- package/package.json +41 -9
- package/styles/_chart-frame.scss +19 -6
- package/styles/_chart-motion.scss +17 -10
- package/styles/_check-box.scss +12 -12
- package/styles/_dropdown-overlay.scss +14 -10
- package/styles/_field-box.scss +3 -3
- package/styles/_field-label.scss +7 -7
- package/styles/_overlay-motion.scss +15 -7
- package/styles/_skeleton-shimmer.scss +4 -1
- package/styles/_table-controls.scss +3 -3
- package/styles/_tokens-charts.scss +40 -7
- package/styles/_tokens.scss +3 -3
- package/styles/_typography.scss +101 -101
- package/themes/dark/_theme.scss +13 -0
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +3 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +5 -4
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +40 -9
- package/types/ids-group-ltd-ids-design-system-components-bottom-sheet.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +8 -4
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +34 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +15 -3
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +345 -60
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +8 -2
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -7
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +4 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +8 -7
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +124 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +88 -139
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +18 -1
- package/types/{ids-group-ltd-ids-design-system-components-donut-chart.d.ts → ids-group-ltd-ids-design-system-components-pie-chart.d.ts} +25 -23
- package/types/ids-group-ltd-ids-design-system-components-popover.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +189 -0
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-segmented.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-switch.d.ts +10 -1
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +44 -33
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +13 -0
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +116 -0
- package/types/ids-group-ltd-ids-design-system-components.d.ts +142 -6
- package/types/ids-group-ltd-ids-design-system-core.d.ts +42 -10
- package/types/ids-group-ltd-ids-design-system.d.ts +14 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs +0 -382
- package/fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs.map +0 -1
package/migrations/0.11.1.json
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "autocomplete-panel-classes-renamed",
|
|
6
6
|
"kind": "class-rename",
|
|
7
|
-
"old": ".autocomplete-list, .autocomplete-optgroup, .autocomplete-optgroup-label
|
|
8
|
-
"new": ".dropdown-list, .optgroup, .optgroup-label
|
|
9
|
-
"appliesWhen": "You wrote a global rule against `.ds-overlay-pane .autocomplete-list` or a sibling. Nothing to do if you only use the `<ds-autocomplete>` element and its inputs.",
|
|
10
|
-
"pitfall": "The panel is portaled to document.body, so these rules are almost always global rather than component-scoped
|
|
7
|
+
"old": ".autocomplete-list, .autocomplete-optgroup, .autocomplete-optgroup-label",
|
|
8
|
+
"new": ".dropdown-list, .optgroup, .optgroup-label",
|
|
9
|
+
"appliesWhen": "You wrote a global rule against `.ds-overlay-pane .autocomplete-list` or a sibling. The check icon's `.icon` inside an option is `.option-check` too, and all of them sit inside a new `.dropdown-panel` wrapper. Nothing to do if you only use the `<ds-autocomplete>` element and its inputs.",
|
|
10
|
+
"pitfall": "The panel is portaled to document.body, so these rules are almost always global rather than component-scoped - grep your global stylesheets, not just the component next to the picker. Retargeting one is also a WIDENING: the three pickers share this panel and it carries no per-picker class, attribute or token, so a rule that used to reach the autocomplete alone now reaches ds-select and ds-multi-select too. There is a second trap under it - a rule of yours on `.ds-overlay-pane` loses to the panel radius and background, which the picker copies off its own host as an inline style.",
|
|
11
11
|
"searchHints": [
|
|
12
12
|
"autocomplete-list",
|
|
13
13
|
"autocomplete-optgroup"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
".autocomplete-optgroup-label"
|
|
20
20
|
],
|
|
21
21
|
"verify": "The autocomplete's open panel carries `ds-dropdown-panel` on its `.cdk-overlay-pane`, and its rows have 4px padding and a 4px radius without any rule of yours.",
|
|
22
|
-
"restore":
|
|
23
|
-
"note": "The panel now renders through the same shared partial as ds-select and ds-multi-select, so it inherits their padding, row radius, selected-row hooks and pressed states. An override that existed only to close that gap is dead weight, and one that names an old class silently stops matching.",
|
|
22
|
+
"restore": "To keep a rule on one picker, scope it by something outside the pane - a container class on the page - and re-narrow it once a per-picker panel class is available. To set that picker's own radius or background, write it on the host: `ds-autocomplete { --ds-autocomplete-panel-radius: <value>; }`, which is copied onto the pane and wins.",
|
|
23
|
+
"note": "The panel now renders through the same shared partial as ds-select and ds-multi-select, so it inherits their padding, row radius, selected-row hooks and pressed states. An override that existed only to close that gap is dead weight, and one that names an old class silently stops matching. A `panelClass` input on each picker arrives in 0.13.1 and is the scoped route; until then a widened rule is the only expressible form, so mark it where you write it and narrow it when you reach that version.",
|
|
24
24
|
"action": "Retarget every rule that names an old class, then delete the ones that only restored padding or row radius."
|
|
25
25
|
},
|
|
26
26
|
{
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
{
|
|
46
46
|
"id": "autocomplete-single-value-ellipsizes",
|
|
47
47
|
"kind": "behavior",
|
|
48
|
-
"old": "
|
|
48
|
+
"old": "ds-autocomplete",
|
|
49
49
|
"new": null,
|
|
50
50
|
"appliesWhen": "You use `<ds-autocomplete>` in single mode in a narrow column.",
|
|
51
51
|
"pitfall": "Multi mode is unchanged — its chips already had a measured cap. This only affects the settled single value.",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
{
|
|
65
65
|
"id": "exported-class-members-grew",
|
|
66
66
|
"kind": "behavior",
|
|
67
|
-
"old": "
|
|
67
|
+
"old": "SelectComponent, MultiSelectComponent, AutocompleteComponent",
|
|
68
68
|
"new": null,
|
|
69
69
|
"appliesWhen": "Subclassing a DS component is unsupported, but consumers do it. Template users of the `<ds-…>` elements need nothing.",
|
|
70
70
|
"pitfall": "`protected` is no protection: a redeclared protected member collides exactly as a public one does. Separately, seven symbols are newly exported and can shadow a local name of the same spelling rather than collide with a member: `DsControlWidth`, `DsTriggerDisplay`, `DsChipTemplateDirective`, `DsCreateTemplateDirective`, `DsEmptyTemplateDirective`, `DsOptionTemplateDirective`, `DsPickerTriggerDirective`. Those are new names, not changed ones — nothing of yours breaks unless you already had one.",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
{
|
|
114
114
|
"id": "autocomplete-option-groups-input-removed",
|
|
115
115
|
"kind": "input-rename",
|
|
116
|
-
"old": "optionGroups",
|
|
116
|
+
"old": "ds-autocomplete[optionGroups]",
|
|
117
117
|
"new": "options",
|
|
118
118
|
"action": "Move the array you passed to `optionGroups` into `options`.",
|
|
119
119
|
"note": "The autocomplete took groups in a second input and documented `options` as ignored whenever it was set, so two inputs existed and one silently won. `options` now accepts flat options, groups, or both mixed, in the order given, which is the shape ds-select already used and ds-multi-select has gained.",
|
|
@@ -133,11 +133,11 @@
|
|
|
133
133
|
{
|
|
134
134
|
"id": "multi-select-panel-classes-renamed",
|
|
135
135
|
"kind": "class-rename",
|
|
136
|
-
"old": ".panel, .options
|
|
136
|
+
"old": ".panel, .options",
|
|
137
137
|
"new": ".dropdown-panel, .dropdown-list",
|
|
138
138
|
"action": "Retarget any rule naming the old classes, then delete the ones that only restored what the shared panel already gives.",
|
|
139
139
|
"note": "The multi-select carried its own copy of the panel and the option row while its pane also carried ds-dropdown-panel, so both rule sets applied at once and the component’s won. It renders through the shared partial now, like the other two pickers.",
|
|
140
|
-
"appliesWhen": "You wrote a global rule against `.ds-overlay-pane .panel` or `.options` for the multi-select.",
|
|
140
|
+
"appliesWhen": "You wrote a global rule against `.ds-overlay-pane .panel` or `.options` for the multi-select - both classes live inside its portaled panel.",
|
|
141
141
|
"pitfall": "The panel is portaled to document.body, so such a rule is almost always global rather than beside the component.",
|
|
142
142
|
"searchHints": [
|
|
143
143
|
"ds-overlay-pane .panel",
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
{
|
|
155
155
|
"id": "autocomplete-options-element-type-widened",
|
|
156
156
|
"kind": "behavior",
|
|
157
|
-
"old": "ds-autocomplete
|
|
157
|
+
"old": "ds-autocomplete[options]",
|
|
158
158
|
"new": null,
|
|
159
159
|
"surface": "typescript",
|
|
160
160
|
"action": "Only where you READ the array back or type a variable against its element: change `AutocompleteOption<T>` to `AutocompleteItem<T>` and narrow each element with `isDsOptionGroup` before touching `.value`. Narrow before reading: `for (const item of picker.options()) { if (isDsOptionGroup(item)) continue; /* item.value is safe here */ }`. `isDsOptionGroup` and `flattenDsOptions` are exported from the package root.",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
{
|
|
207
207
|
"id": "multi-select-select-all-type-widened",
|
|
208
208
|
"kind": "behavior",
|
|
209
|
-
"old": "ds-multi-select
|
|
209
|
+
"old": "ds-multi-select[selectAll]",
|
|
210
210
|
"new": null,
|
|
211
211
|
"surface": "typescript",
|
|
212
212
|
"action": "Only where you READ `selectAll` back into a `boolean`: widen the receiving type to `boolean | 'group' | 'both'`, or compare against the value you meant (`selectAll() === true`).",
|
|
@@ -250,8 +250,8 @@
|
|
|
250
250
|
"padding",
|
|
251
251
|
"border-radius"
|
|
252
252
|
],
|
|
253
|
-
"why": "The autocomplete panel shipped with `padding: 0` and square rows while ds-select's dropdown had `--space-1` padding and rounded rows, so consumers patched the difference globally. The panel now uses the same shared partial as the other two pickers and matches without help.",
|
|
254
|
-
"replaceWith": "Nothing
|
|
253
|
+
"why": "The autocomplete panel shipped with `padding: 0` and square rows while ds-select's dropdown had `--space-1` padding and rounded rows, so consumers patched the difference globally. The panel now uses the same shared partial as the other two pickers and matches without help. Only that compensation is dead: the same rule commonly also carries chrome with no DS equivalent - a border colour, a shadow, a row type scale - and that half is still load-bearing.",
|
|
254
|
+
"replaceWith": "Nothing for the padding and the row radius - the padding is --space-1 and the row radius is --ds-radius-inner out of the box, and --ds-dropdown-panel-minw / -maxw bound the panel. Keep any declaration in the same rule that is not one of those two, and retarget it onto the new class names."
|
|
255
255
|
}
|
|
256
256
|
]
|
|
257
257
|
}
|
package/migrations/0.11.2.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "picker-subclass-members-grew",
|
|
6
6
|
"kind": "behavior",
|
|
7
|
-
"old": "
|
|
7
|
+
"old": "SelectComponent, MultiSelectComponent, AutocompleteComponent",
|
|
8
8
|
"new": null,
|
|
9
9
|
"action": "Build after upgrading, and rename or mark `override` every member of yours the compiler reports as colliding.",
|
|
10
10
|
"note": "All three pickers gained members for the new inputs and outputs. Subclassing a DS component is unsupported but consumers do it, and a redeclared member collides whether it is public or protected. The compiler enumerates every collision, so a build is the whole check and no list here could stay current.",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{
|
|
28
28
|
"id": "table-subclass-members-grew",
|
|
29
29
|
"kind": "behavior",
|
|
30
|
-
"old": "
|
|
30
|
+
"old": "TableComponent",
|
|
31
31
|
"new": null,
|
|
32
32
|
"action": "Build after upgrading, and rename or mark `override` every member of yours the compiler reports as colliding.",
|
|
33
33
|
"note": "TableComponent gained members for row expansion: expandMode, expandAllToggle, rowExpanded, rowCollapsed and the protected helpers behind the header toggle. A redeclared member collides whether it is public or protected, and the compiler enumerates every one, so a build is the whole check.",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
{
|
|
47
47
|
"id": "loading-overlay-subclass-members-grew",
|
|
48
48
|
"kind": "behavior",
|
|
49
|
-
"old": "
|
|
49
|
+
"old": "LoadingOverlayComponent",
|
|
50
50
|
"new": null,
|
|
51
51
|
"action": "Build after upgrading, and rename or mark `override` every member of yours the compiler reports as colliding.",
|
|
52
52
|
"note": "LoadingOverlayComponent gained `inertContent`. A redeclared member collides whether it is public or protected, and the compiler enumerates every one, so a build is the whole check.",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
{
|
|
66
66
|
"id": "toast-region-subclass-members-grew",
|
|
67
67
|
"kind": "behavior",
|
|
68
|
-
"old": "
|
|
68
|
+
"old": "ToastRegionComponent",
|
|
69
69
|
"new": null,
|
|
70
70
|
"action": "Nothing unless you subclass ToastRegionComponent and declare a member of those names: rename yours, or add `override` if you meant to replace ours.",
|
|
71
71
|
"note": "ToastRegionComponent gained six members: the fields `timers`, `position` and `newestFirst`, and the methods `show`, `startCountdown` and `clearCountdown`. The auto-dismiss countdown moved into the region, because only it knows when a toast became visible — started in the service, a toast queued behind `maxVisible` expired without ever being shown. `newestFirst` puts the newest toast nearest the anchor.",
|
|
@@ -110,10 +110,10 @@
|
|
|
110
110
|
"kind": "behavior",
|
|
111
111
|
"old": "--ds-dropdown-panel-maxh",
|
|
112
112
|
"new": null,
|
|
113
|
-
"action": "If a ds-select has to show more than 280px of options, set `--picker-maxh`
|
|
114
|
-
"appliesWhen": "Only ds-select, and only where the list was long enough to reach the old 320px. ds-autocomplete and ds-multi-select already capped at this value and do not move.",
|
|
115
|
-
"pitfall": "`--ds-dropdown-panel-maxh`
|
|
116
|
-
"note": "The option list's own max-height moved into the shared panel partial, so ds-select caps its list at `--picker-maxh` (280px) where it previously ran to the panel's `--ds-dropdown-panel-maxh` (320px).",
|
|
113
|
+
"action": "If a ds-select has to show more than 280px of options, set `--picker-maxh` globally, in your own `:root` or on a shell element the pickers sit under. All three pickers follow it.",
|
|
114
|
+
"appliesWhen": "Only ds-select, and only where the list was long enough to reach the old 320px. ds-autocomplete and ds-multi-select already capped at this value and do not move. There is no per-picker form of this at this version: the panel is portaled and carries no class of its own, and `--picker-maxh` is read inside the pane rather than copied onto it from the host, so a value set on one picker does not reach its panel.",
|
|
115
|
+
"pitfall": "Two independent caps, and the one a consumer reaches for is the wrong one. `--ds-dropdown-panel-maxh` caps the PANEL box and is forwarded from the host, so it is the one that looks settable per picker - and raising it alone changes nothing you can see. The list INSIDE caps separately at `--picker-maxh`, and that is what decides how many rows are visible.",
|
|
116
|
+
"note": "The option list's own max-height moved into the shared panel partial, so ds-select caps its list at `--picker-maxh` (280px) where it previously ran to the panel's `--ds-dropdown-panel-maxh` (320px). A `panelClass` input on each picker arrives in 0.13.1; a rule on that class is the scoped route to one picker's list height, and until then the token is global or nothing.",
|
|
117
117
|
"searchHints": [
|
|
118
118
|
"ds-dropdown-panel-maxh",
|
|
119
119
|
"picker-maxh",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"max-height"
|
|
122
122
|
],
|
|
123
123
|
"surface": "style",
|
|
124
|
-
"verify": "Open a ds-select with more options than fit: the list scrolls at the height
|
|
124
|
+
"verify": "Open a ds-select with more options than fit: the list scrolls at the height `--picker-maxh` sets, and one left alone shows 280px of rows. A change to `--ds-dropdown-panel-maxh` alone moves nothing visible.",
|
|
125
125
|
"restore": "--picker-maxh: 320px"
|
|
126
126
|
}
|
|
127
127
|
],
|
package/migrations/0.11.3.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
{
|
|
24
24
|
"id": "toast-region-subclass-members-moved",
|
|
25
25
|
"kind": "behavior",
|
|
26
|
-
"old": "
|
|
26
|
+
"old": "ToastRegionComponent",
|
|
27
27
|
"new": null,
|
|
28
28
|
"action": "Build after upgrading. Rename or mark `override` every member the compiler reports as colliding, and DELETE any `override startCountdown` - that member no longer exists, so the override is dead code the compiler will not complain about.",
|
|
29
29
|
"appliesWhen": "Only a class that extends ToastRegionComponent. Template users of `<ds-toast-region>` and callers of ToastService need nothing.",
|
package/migrations/0.11.4.json
CHANGED
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
{
|
|
64
64
|
"id": "banner-alert-announce-opt-in",
|
|
65
65
|
"kind": "behavior",
|
|
66
|
-
"old": "
|
|
66
|
+
"old": "ds-banner, ds-alert",
|
|
67
67
|
"new": null,
|
|
68
68
|
"appliesWhen": "You rely on a ds-banner or ds-alert being announced by a screen reader when it appears. A banner that is page furniture needs no change - silence is now the correct behaviour for it.",
|
|
69
|
-
"pitfall": "Nothing breaks visibly and no build fails, so a regression here is invisible without a screen reader
|
|
69
|
+
"pitfall": "Nothing breaks visibly and no build fails, so a regression here is invisible without a screen reader. Grepping for a severity misses two shapes that are common and easy to walk past: a banner in a non-first branch of an @if / @else if / @switch chain, and one whose variant is a computed expression rather than a literal. Both render as the severity you were looking for and neither matches the search for it.",
|
|
70
70
|
"searchHints": [
|
|
71
71
|
"ds-banner",
|
|
72
72
|
"ds-alert"
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
"ds-alert"
|
|
78
78
|
],
|
|
79
79
|
"verify": "A banner your app raises in response to an event carries announce and is spoken; a static strip carries none and is silent on route change.",
|
|
80
|
-
"restore": "Pass [announce]=\"true\"
|
|
80
|
+
"restore": "Pass [announce]=\"true\" per instance. There is no app-wide lever at this version, so an app that announced everywhere restores it one element at a time.",
|
|
81
81
|
"note": "An alert region fires on insertion, so a statically-placed strip interrupted the reader on every client-side route into its page - 12 such regions on this library's own docs. MDN advises against alert on content the user has not interacted with, and the DS convention is that a new capability is off by default.",
|
|
82
|
-
"action": "
|
|
82
|
+
"action": "Enumerate every ds-banner and ds-alert in the app and decide each one, then add [announce]=\"true\" to the ones that should be spoken when they appear."
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"id": "toast-config-token-removed",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
{
|
|
127
127
|
"id": "toast-max-visible-default-5",
|
|
128
128
|
"kind": "behavior",
|
|
129
|
-
"old": "provideDsConfig
|
|
129
|
+
"old": "provideDsConfig",
|
|
130
130
|
"new": null,
|
|
131
131
|
"appliesWhen": "You raise more than five toasts at once and expect every one to be on screen together. An app that shows one or two at a time needs nothing.",
|
|
132
132
|
"pitfall": "Nothing is dropped and nothing errors, so this reads as toasts \"not appearing\": the sixth is queued and shows as an earlier one dismisses. A cap of 0 is the only way left to ask for an uncapped stack, and 0 no longer means \"unset\" - it is forwarded.",
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
{
|
|
171
171
|
"id": "toast-table-subclass-members-moved",
|
|
172
172
|
"kind": "behavior",
|
|
173
|
-
"old": "
|
|
173
|
+
"old": "ToastComponent, ToastRegionComponent, ToastService, TableComponent, BannerComponent, AlertComponent",
|
|
174
174
|
"new": null,
|
|
175
175
|
"appliesWhen": "Only a class that extends one of those six. Template users and service callers need nothing.",
|
|
176
176
|
"pitfall": "Every new name is private or protected, which is no protection - a redeclared private fails with TS2415 exactly as a public collision does. And an `override promoteFromQueue` or `override role` now overrides nothing: it compiles clean and silently never runs.",
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
{
|
|
206
206
|
"id": "banner-alert-aria-getters-nullable",
|
|
207
207
|
"kind": "behavior",
|
|
208
|
-
"old": "
|
|
208
|
+
"old": "BannerComponent.ariaRole, AlertComponent.ariaRole",
|
|
209
209
|
"new": null,
|
|
210
210
|
"appliesWhen": "Only a class extending BannerComponent or AlertComponent that reads or overrides ariaRole or ariaLive. Nothing in a template sees these.",
|
|
211
211
|
"pitfall": "A widening breaks the READER, not the writer: an override that still declares the narrow return type fails, and code that fed the value somewhere non-nullable fails too, both at a site that did not change.",
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
"A chip row's guard against a parent that hugs its content was unreachable and is removed; the measurement is unchanged. NO ACTION.",
|
|
233
233
|
"A queued toast is not lost: it appears as an earlier one dismisses. The stack also animates when a toast is added rather than jumping, and --ds-toast-shift-duration and --ds-toast-shift-easing tune that. NO ACTION.",
|
|
234
234
|
"Info, success and loading toasts raised through ToastService are now announced at all, where before only error and warning were. NO ACTION.",
|
|
235
|
-
"Six tokens the connected panel reads - --ds-option-padding, -gap, -radius, -row-gap, --ds-option-bg-color-active and --ds-dropdown-panel-maxh - now take effect when scoped to one picker (ds-select { ... }), where before only a global declaration reached them. The panel is portaled outside the component, so a host-scoped value arrives only if the token is on the forwarded list, and these six were not; --ds-dropdown-panel-maxh reached ds-autocomplete and neither of its siblings. NO ACTION, and nothing moves on its own: it changes only where such a declaration is already written on an element and was being ignored. If you widened one to a global rule because the scoped form did nothing, the scoped form is now the narrower way to say it.",
|
|
235
|
+
"Six tokens the connected panel reads - --ds-option-padding, -gap, -radius, -row-gap, --ds-option-bg-color-active and --ds-dropdown-panel-maxh - now take effect when scoped to one picker (ds-select { ... }), where before only a global declaration reached them. The panel is portaled outside the component, so a host-scoped value arrives only if the token is on the forwarded list, and these six were not. They join the list every dropdown picker shares, so none of them appears in a picker's own list of forwarded tokens; --ds-dropdown-panel-maxh reached ds-autocomplete and neither of its siblings. NO ACTION, and nothing moves on its own: it changes only where such a declaration is already written on an element and was being ignored. If you widened one to a global rule because the scoped form did nothing, the scoped form is now the narrower way to say it.",
|
|
236
236
|
"A click in the strip between a boolean control and its label now toggles the control, where it previously hit nothing. Affects ds-radio, ds-checkbox and ds-switch. The label’s clickable box grew 8px taller; its laid-out size, the text position and the row height are unchanged, so nothing in your layout moves. NO ACTION.",
|
|
237
237
|
"The buttons inside ds-table’s bulk-actions bar are visible again — their label was the same colour as the inverted bar behind it. A pressed state now has a fill where it had none. NO ACTION.",
|
|
238
238
|
"The skeleton shimmer is driven per element instead of by one registered custom property on :root, so skeletons no longer travel in lock-step with one another. The property that drove it, --skeleton-shimmer-x, no longer exists: it was never a --ds-* hook, but if you referenced it, it now resolves to nothing. NO ACTION otherwise.",
|
package/migrations/0.12.1.json
CHANGED
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"id": "subclass-members-grew",
|
|
101
101
|
"kind": "behavior",
|
|
102
102
|
"surface": "typescript",
|
|
103
|
-
"old": "
|
|
103
|
+
"old": "MenuComponent, RadioComponent, TableComponent",
|
|
104
104
|
"new": null,
|
|
105
105
|
"action": "Build after upgrading, then rename or mark `override` any member the compiler reports as colliding.",
|
|
106
106
|
"appliesWhen": "Only a class that extends MenuComponent, RadioComponent or TableComponent. Template users need nothing; `deselectable` is a new input and nothing existing changed name or type.",
|
package/migrations/0.12.2.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"id": "subclass-members-grew",
|
|
6
6
|
"kind": "behavior",
|
|
7
7
|
"surface": "typescript",
|
|
8
|
-
"old": "
|
|
8
|
+
"old": "TableComponent, SidenavGroupComponent",
|
|
9
9
|
"new": null,
|
|
10
10
|
"action": "Build after upgrading, then rename or mark `override` any member the compiler reports as colliding.",
|
|
11
11
|
"appliesWhen": "Only a class that extends TableComponent or SidenavGroupComponent. A consumer who uses the elements in a template needs nothing — no existing input, output, token or class changed name or type in this release.",
|
|
@@ -255,7 +255,10 @@
|
|
|
255
255
|
"A `ds-table` column filter button now carries `aria-expanded` beside its `aria-haspopup=\"dialog\"`, true only on the column whose panel is showing. Nothing to change unless a test of yours asserts the attribute's absence.",
|
|
256
256
|
"A panel re-opened inside the exit animation of a dismissed one can be closed again: the old panel's disposal no longer clears the state of the one that replaced it, which used to leave a panel that neither Escape nor an outside click would dismiss and that reported itself collapsed. Reaches `ds-date-picker`, `ds-color-picker`, `ds-time-picker` and everything `ds-popover` carries — `ds-table`'s filter, row menu and clipped-cell text, `ds-split-button`, `ds-filter-bar`'s overflow panel, `ds-sidenav-footer`'s search. `ds-select`, `ds-autocomplete` and `ds-multi-select` behave exactly as before.",
|
|
257
257
|
"A `ds-table` bulk-action bar now rests `--bulk-bar-offset` above the scroll container's visible bottom edge rather than that offset plus the container's padding. Nothing to change, and `--bulk-bar-offset` keeps its meaning and its default; only a table with row selection inside a padded scroll container looks different.",
|
|
258
|
-
|
|
258
|
+
{
|
|
259
|
+
"text": "An expanded `ds-table` row opens with a reveal — its cell interpolates `grid-template-rows` from `0fr` to `1fr` over `--duration-base` at `--ease-standard`, and `prefers-reduced-motion: reduce` shows the panel fully open with no animation. Retune it through those two tokens. The one structural change, a `.expand-panel-inner` wrapper inside the cell, is an item of its own.",
|
|
260
|
+
"verify": "Open an expanded row and confirm the panel spans the whole row, not one column"
|
|
261
|
+
}
|
|
259
262
|
],
|
|
260
263
|
"deleteList": [
|
|
261
264
|
{
|
package/migrations/0.12.3.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"id": "button-ref-renamed-and-widened",
|
|
6
6
|
"kind": "removed-api",
|
|
7
7
|
"surface": "typescript",
|
|
8
|
-
"old": "buttonRef",
|
|
9
|
-
"new": "controlRef",
|
|
8
|
+
"old": "ButtonComponent.buttonRef",
|
|
9
|
+
"new": "ButtonComponent.controlRef",
|
|
10
10
|
"action": "Rename `buttonRef()` to `controlRef()` on every ds-button template reference, and narrow `.nativeElement` yourself where you read a button-only property off it.",
|
|
11
11
|
"appliesWhen": "Only code that reads the reference — a template ref used to position or refocus an overlay, or a component that calls it. Nothing changes for a consumer who only uses the element and its inputs, and the property behind the name is the same view child.",
|
|
12
12
|
"pitfall": "The rename is a compile error and announces itself; the type change may not. `.nativeElement.disabled`, `.form` and `.type` were reachable on `HTMLButtonElement` and are gone from `HTMLElement`, so a read of one fails to compile — but a cast written to silence it then lies at runtime whenever the button carries a destination and really is an anchor.",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"id": "exported-class-members-grew",
|
|
31
31
|
"kind": "behavior",
|
|
32
32
|
"surface": "typescript",
|
|
33
|
-
"old": "
|
|
33
|
+
"old": "ButtonComponent, CheckboxComponent, RadioComponent, SwitchComponent",
|
|
34
34
|
"new": null,
|
|
35
35
|
"action": "Build after upgrading, then rename or mark `override` any member the compiler reports as colliding.",
|
|
36
36
|
"appliesWhen": "Only a class that extends ButtonComponent, CheckboxComponent, RadioComponent or SwitchComponent. A consumer who uses the elements in a template needs nothing from this item.",
|
package/migrations/0.13.0.json
CHANGED
|
@@ -204,10 +204,10 @@
|
|
|
204
204
|
"surface": "style",
|
|
205
205
|
"old": "--chart-cat-1, --chart-cat-2, --chart-cat-3, --chart-cat-4, --chart-cat-5, --chart-cat-6, --chart-cat-7, --chart-cat-8",
|
|
206
206
|
"new": "--chart-categorical-1, --chart-categorical-2, --chart-categorical-3, --chart-categorical-4, --chart-categorical-5, --chart-categorical-6, --chart-categorical-7, --chart-categorical-8",
|
|
207
|
-
"action": "
|
|
207
|
+
"action": "Where you re-declare one to recolour a series, declare the public hook instead: `--chart-cat-N` becomes `--ds-chart-series-N-color`, keeping the number. Everywhere else, replace the prefix `--chart-cat-` with `--chart-categorical-`, keeping the number.",
|
|
208
208
|
"appliesWhen": "Any stylesheet of yours that reads or re-declares one of the eight, including a theme block. A `--chart-cat-` variable of your own is out of scope, and the eight `--ds-chart-series-1-color` … `--ds-chart-series-8-color` hooks are new rather than renamed.",
|
|
209
209
|
"pitfall": "The old name is inert, not invalid. A `var()` on it resolves to nothing, which makes the declaration holding it invalid at computed-value time and drops it whole — a series loses its fill rather than falling back to a default, and nothing is reported.",
|
|
210
|
-
"note": "The palette is spelled out end to end now, so a name can be searched for without being decoded first. The eight VALUES are retuned in the same release, so the rename lands a different colour rather than the same one under a new name: the set is rebuilt around coral and teal, every hue clears 3:1 on white, and no hue falls between 35 and 130, where a colour cannot be both rich and legible. Slot 8 is a neutral now. Read each value back from the installed package rather than assuming the one you saw before.",
|
|
210
|
+
"note": "The palette is spelled out end to end now, so a name can be searched for without being decoded first. The eight VALUES are retuned in the same release, so the rename lands a different colour rather than the same one under a new name: the set is rebuilt around coral and teal, every hue clears 3:1 on white, and no hue falls between 35 and 130, where a colour cannot be both rich and legible. Slot 8 is a neutral now. Read each value back from the installed package rather than assuming the one you saw before. `--ds-chart-series-N-color` is the documented override; the `--chart-categorical-` family is the palette it reads.",
|
|
211
211
|
"searchHints": [
|
|
212
212
|
"--chart-cat-",
|
|
213
213
|
"chart-cat"
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
"appliesWhen": "Any stylesheet of yours that declares `--chart-grid-line-strong`. The plain `--chart-grid-line` is a separate token, is renamed rather than removed, and has its own entry.",
|
|
266
266
|
"pitfall": "`--chart-grid-line` is a prefix of this name, so a sweep that renames the shorter one first rewrites this one into `--chart-grid-line-color-strong` instead of deleting it, and leaves a declaration nothing reads.",
|
|
267
267
|
"restore": null,
|
|
268
|
-
"note": "
|
|
268
|
+
"note": "No rule read the token, so setting it already painted nothing.",
|
|
269
269
|
"searchHints": [
|
|
270
270
|
"--chart-grid-line-strong",
|
|
271
271
|
"grid-line-strong"
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
"appliesWhen": "Any stylesheet of yours that declares `--chart-axis-title`.",
|
|
311
311
|
"pitfall": "It is a prefix of nothing and nothing is a prefix of it, so a sweep is safe — but the neighbouring `--chart-axis-line` and `--chart-axis-label` are RENAMED rather than removed, and deleting those loses the axis.",
|
|
312
312
|
"restore": null,
|
|
313
|
-
"note": "
|
|
313
|
+
"note": "No rule read the token, so setting it already painted nothing.",
|
|
314
314
|
"searchHints": [
|
|
315
315
|
"--chart-axis-title"
|
|
316
316
|
],
|
|
@@ -319,6 +319,25 @@
|
|
|
319
319
|
],
|
|
320
320
|
"verify": "No stylesheet names `--chart-axis-title`."
|
|
321
321
|
},
|
|
322
|
+
{
|
|
323
|
+
"id": "chart-tick-size-token-removed",
|
|
324
|
+
"kind": "removed-api",
|
|
325
|
+
"surface": "style",
|
|
326
|
+
"old": "--chart-tick-size",
|
|
327
|
+
"new": null,
|
|
328
|
+
"action": "Delete the declaration. No chart draws tick marks on its axes, so the token fed nothing.",
|
|
329
|
+
"appliesWhen": "Any stylesheet of yours that declares `--chart-tick-size`. The checkbox's `--check-tick-size` is unrelated and stays.",
|
|
330
|
+
"restore": null,
|
|
331
|
+
"note": "No rule read the token, so setting it already sized nothing.",
|
|
332
|
+
"searchHints": [
|
|
333
|
+
"--chart-tick-size",
|
|
334
|
+
"tick-size"
|
|
335
|
+
],
|
|
336
|
+
"detect": [
|
|
337
|
+
"--chart-tick-size"
|
|
338
|
+
],
|
|
339
|
+
"verify": "No stylesheet names `--chart-tick-size`."
|
|
340
|
+
},
|
|
322
341
|
{
|
|
323
342
|
"id": "chart-line-width-bold-token-renamed",
|
|
324
343
|
"kind": "token-rename",
|
|
@@ -436,7 +455,7 @@
|
|
|
436
455
|
"`routerLinkActiveOptions` and `ariaCurrent` are public on the same three components — the first moves what the `active` class matches, the second overrides what the link announces. Neither is needed for the corrected default.",
|
|
437
456
|
"`ds-field-group` takes `error`, `hint` and `warning` — the same message inputs every field takes, resolved by the same code. `error` turns the state on and carries the text; `invalid` stays the flag for when the text lives in a form-level summary. Every segment gains `aria-invalid` while the group is in error and points at the one message through `aria-describedby`. Additive: a group binding neither renders exactly as before.",
|
|
438
457
|
"`ds-bar-chart` is new — horizontal bars with a label, a value and a percentage per row, an optional data table, and a `color` override per row.",
|
|
439
|
-
"A public override layer sits over the chart palette: `--ds-chart-series-1-color` through `--ds-chart-series-8-color`, plus `--ds-chart-axis-line-color`, `--ds-chart-axis-label-color`, `--ds-chart-axis-
|
|
458
|
+
"A public override layer sits over the chart palette: `--ds-chart-series-1-color` through `--ds-chart-series-8-color`, plus `--ds-chart-axis-line-color`, `--ds-chart-axis-label-color`, `--ds-chart-axis-font-size`, `--ds-chart-grid-line-color`, `--ds-chart-hover-bg-color`, `--ds-chart-cursor-line-color`, `--ds-chart-tooltip-bg-color`, `--ds-chart-tooltip-text-color`, `--ds-chart-tooltip-border-color`, `--ds-chart-bar-gap`, `--ds-chart-line-width`, `--ds-chart-line-width-bold`, `--ds-chart-dot-radius` and `--ds-chart-dot-radius-active`. Each defaults to the palette token behind it, so nothing moves until you set one; set these rather than the palette, and recolouring one series costs one declaration instead of the whole ramp.",
|
|
440
459
|
"`TableRowAction` gains `divider?: boolean`, which draws a line above the item — for the destructive tail that colour alone was separating. Additive, and ignored on the first item because a line at the top of a menu has nothing on one side of it.",
|
|
441
460
|
"A field that is disabled no longer sets `aria-invalid`, on all fifteen. Nothing renders differently — the error paint already excluded disabled — and the message text still shows. Only a test asserting `aria-invalid` on a disabled control is affected.",
|
|
442
461
|
"Five chart components ship: `ds-bar-chart`, `ds-column-chart`, `ds-donut-chart`, `ds-funnel-chart` and `ds-line-chart`. Each takes a `caption`, a `summary` for the accessible name, a `loading` skeleton, an `emptyText` and a `valueFormat`, and each offers its numbers again as a table under a `dataTable: 'toggle' | 'visible' | 'none'` disclosure. All new; nothing existing changes.",
|
|
@@ -498,33 +517,6 @@
|
|
|
498
517
|
],
|
|
499
518
|
"why": "importing it to write `[queryParams]` or `[fragment]` on a `<ds-button>` put a second RouterLink on the host that disagreed with the anchor\\u2019s about the destination",
|
|
500
519
|
"replaceWith": "the component\\u2019s own inputs; keep the import where you use `RouterLink` on your own anchors"
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"id": "chart-axis-title-colour-hook",
|
|
504
|
-
"surface": "style",
|
|
505
|
-
"find": [
|
|
506
|
-
"--ds-chart-axis-title-color"
|
|
507
|
-
],
|
|
508
|
-
"why": "no chart draws an axis title, so the token reached no rule and setting it changed nothing",
|
|
509
|
-
"replaceWith": "nothing"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"id": "chart-strong-gridline-hook",
|
|
513
|
-
"surface": "style",
|
|
514
|
-
"find": [
|
|
515
|
-
"--ds-chart-grid-line-strong-color"
|
|
516
|
-
],
|
|
517
|
-
"why": "no chart draws a strong gridline, so the token reached no rule and setting it changed nothing",
|
|
518
|
-
"replaceWith": "nothing"
|
|
519
|
-
},
|
|
520
|
-
{
|
|
521
|
-
"id": "chart-axis-tick-size-hook",
|
|
522
|
-
"surface": "style",
|
|
523
|
-
"find": [
|
|
524
|
-
"--ds-chart-tick-size"
|
|
525
|
-
],
|
|
526
|
-
"why": "no chart draws tick marks on its axes, so the token reached no rule and setting it changed nothing",
|
|
527
|
-
"replaceWith": "nothing"
|
|
528
520
|
}
|
|
529
521
|
]
|
|
530
522
|
}
|
package/migrations/0.13.1.json
CHANGED
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"old": "SelectComponent",
|
|
105
105
|
"new": null,
|
|
106
106
|
"surface": "style",
|
|
107
|
-
"action": "If a role token set on an ANCESTOR of a picker was reaching its portaled panel, move it onto the component itself — `ds-select { --ds-radius-panel: 8px }` — or use the panel hook, e.g. `--ds-dropdown-panel-radius
|
|
107
|
+
"action": "If a role token set on an ANCESTOR of a picker was reaching its portaled panel, move it onto the component itself — `ds-select { --ds-radius-panel: 8px }` — or use the panel hook, e.g. `--ds-dropdown-panel-radius`, which every dropdown picker forwards onto its pane.",
|
|
108
108
|
"appliesWhen": "Only a stylesheet that sets `--ds-radius-inner`, `--ds-radius-control`, `--ds-radius-panel`, `--ds-radius-pill` or one of the four `--ds-elevation-*` roles on an ancestor of a picker, popover, menu or tooltip. A role set on the component, on `:root`, or on the pane is unaffected, and no template or TypeScript changes.",
|
|
109
109
|
"pitfall": "Nothing errors and nothing logs. A panel that was inheriting a shell radius or elevation simply falls back to the root value, and only opening it shows the difference.",
|
|
110
110
|
"restore": null,
|
|
@@ -165,8 +165,8 @@
|
|
|
165
165
|
{
|
|
166
166
|
"id": "donut-error-message-class-renamed",
|
|
167
167
|
"kind": "class-rename",
|
|
168
|
-
"old": "empty
|
|
169
|
-
"new": "empty-text
|
|
168
|
+
"old": "ds-donut-chart .empty.is-error",
|
|
169
|
+
"new": "ds-donut-chart .empty-text.is-error",
|
|
170
170
|
"surface": "style",
|
|
171
171
|
"action": "Retarget any rule written against `.empty.is-error` inside `ds-donut-chart` to `.empty-text.is-error`.",
|
|
172
172
|
"appliesWhen": "Only a stylesheet of yours reaching the donut error message by class. The other four charts still use `.empty.is-error` and are unchanged.",
|
|
@@ -211,8 +211,8 @@
|
|
|
211
211
|
"find": [
|
|
212
212
|
".ds-overlay-pane .dropdown-panel .option"
|
|
213
213
|
],
|
|
214
|
-
"why": "the row's weight, size, line-height and family are public hooks that forward per instance, so no deep selector is needed",
|
|
215
|
-
"replaceWith": "`--ds-option-weight`, `--ds-option-font-size`, `--ds-option-line-height` and `--ds-option-font-family`"
|
|
214
|
+
"why": "the row's weight, size, line-height and family are public hooks that forward per instance, so no deep selector is needed. Where they are SET decides whether they work: the picker copies its host's computed value onto the portaled pane as an inline style, and a value inherited into the host from any ancestor counts, so the copy outranks a rule written on the pane class this version adds.",
|
|
215
|
+
"replaceWith": "`--ds-option-weight`, `--ds-option-font-size`, `--ds-option-line-height` and `--ds-option-font-family`, set on the picker element - `ds-select`, `ds-autocomplete` or `ds-multi-select` - and not on the `panelClass`. A rule on the panel class owns the properties these four do not cover; for these four it loses to the copy. The pane setup every dropdown picker shares forwards all four, so none appears in a picker's own list of forwarded tokens."
|
|
216
216
|
},
|
|
217
217
|
{
|
|
218
218
|
"id": "modal-title-doubled-class",
|
package/migrations/0.13.3.json
CHANGED
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
"new": "ds-bar",
|
|
9
9
|
"surface": [
|
|
10
10
|
"template",
|
|
11
|
-
"typescript"
|
|
11
|
+
"typescript",
|
|
12
|
+
"style"
|
|
12
13
|
],
|
|
13
|
-
"action": "Rename every `<ds-progress>` element to `<ds-bar>`, and `ProgressComponent` to `BarComponent` imported from `@ids-group-ltd/ids-design-system/components/bar`. The type `ProgressVariant` is now `BarVariant` from the same entry point. Behaviour is unchanged — every input keeps its name and its default.",
|
|
14
|
+
"action": "Rename every `<ds-progress>` element to `<ds-bar>`, and `ProgressComponent` to `BarComponent` imported from `@ids-group-ltd/ids-design-system/components/bar`. The type `ProgressVariant` is now `BarVariant` from the same entry point. Rename a stylesheet rule whose selector names the `ds-progress` element the same way. Behaviour is unchanged — every input keeps its name and its default.",
|
|
14
15
|
"appliesWhen": "Every template rendering `<ds-progress>` and every file importing `ProgressComponent` or `ProgressVariant`. `ds-bar-chart` is a different component and keeps its name.",
|
|
15
|
-
"pitfall": "The old tag is an unknown element, not an error: Angular renders nothing and logs nothing outside strict schema mode, so a missed one is a bar that silently vanished. `ds-bar` is a prefix of `ds-bar-chart`, which is a DIFFERENT component and is NOT renamed.
|
|
16
|
+
"pitfall": "The old tag is an unknown element, not an error: Angular renders nothing and logs nothing outside strict schema mode, so a missed one is a bar that silently vanished. `ds-bar` is a prefix of `ds-bar-chart`, which is a DIFFERENT component and is NOT renamed. A word boundary does not separate them - a hyphen is one, so `\\bds-bar\\b` matches inside `ds-bar-chart`. Match `ds-bar([^-\\w]|$)`, or the tag as `<ds-bar[\\s/>]`, and rename nothing whose name continues past `ds-bar`.",
|
|
16
17
|
"restore": null,
|
|
17
18
|
"searchHints": [
|
|
18
19
|
"ds-progress",
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
"ProgressComponent",
|
|
26
27
|
"ProgressVariant"
|
|
27
28
|
],
|
|
28
|
-
"verify": "No `ds-progress` tag, `ProgressComponent` or `ProgressVariant` symbol,
|
|
29
|
+
"verify": "No `ds-progress` tag, `ProgressComponent` or `ProgressVariant` symbol, `components/progress` import path or `ds-progress` stylesheet selector remains, and every `ds-bar-chart` is still spelled in full.",
|
|
29
30
|
"note": "The progress bar and the measurement bar were the same drawing under two names, so they are one component under a neutral one. A rename alone is a complete and behaviour-preserving upgrade for a progress bar; see `bar-semantics-says-what-the-bar-is` for what the merged component can now additionally say."
|
|
30
31
|
},
|
|
31
32
|
{
|
|
@@ -35,11 +36,12 @@
|
|
|
35
36
|
"new": "ds-bar",
|
|
36
37
|
"surface": [
|
|
37
38
|
"template",
|
|
38
|
-
"typescript"
|
|
39
|
+
"typescript",
|
|
40
|
+
"style"
|
|
39
41
|
],
|
|
40
|
-
"action": "Rename every `<ds-meter>` element to `<ds-bar>` and `MeterComponent` to `BarComponent` from `@ids-group-ltd/ids-design-system/components/bar`. Then give each one a `semantics` — `\"none\"` where it had no `ariaLabel`, `\"meter\"` where it had one. Without that the bar announces as a progress bar.",
|
|
42
|
+
"action": "Rename every `<ds-meter>` element to `<ds-bar>` and `MeterComponent` to `BarComponent` from `@ids-group-ltd/ids-design-system/components/bar`. Rename a stylesheet rule whose selector names the `ds-meter` element the same way. Then give each one a `semantics` — `\"none\"` where it had no `ariaLabel`, `\"meter\"` where it had one. Without that the bar announces as a progress bar.",
|
|
41
43
|
"appliesWhen": "Only code written against `0.13.2`, the single release `ds-meter` existed in. `ds-bar-chart` is a different component and keeps its name.",
|
|
42
|
-
"pitfall": "The rename alone compiles, renders identically, and silently changes what assistive technology hears: `ds-meter` was `aria-hidden` unless `ariaLabel` named it, and `ds-bar` defaults to `semantics=\"progress\"`. A table of two hundred rates that announced nothing now announces two hundred progress bars. `ds-bar` is a prefix of `ds-bar-chart`, which is a DIFFERENT component and is NOT renamed.
|
|
44
|
+
"pitfall": "The rename alone compiles, renders identically, and silently changes what assistive technology hears: `ds-meter` was `aria-hidden` unless `ariaLabel` named it, and `ds-bar` defaults to `semantics=\"progress\"`. A table of two hundred rates that announced nothing now announces two hundred progress bars. `ds-bar` is a prefix of `ds-bar-chart`, which is a DIFFERENT component and is NOT renamed. A word boundary does not separate them - a hyphen is one, so `\\bds-bar\\b` matches inside `ds-bar-chart`. Match `ds-bar([^-\\w]|$)`, or the tag as `<ds-bar[\\s/>]`, and rename nothing whose name continues past `ds-bar`.",
|
|
43
45
|
"restore": null,
|
|
44
46
|
"searchHints": [
|
|
45
47
|
"ds-meter",
|
|
@@ -50,7 +52,7 @@
|
|
|
50
52
|
"ds-meter",
|
|
51
53
|
"MeterComponent"
|
|
52
54
|
],
|
|
53
|
-
"verify": "No `ds-meter` tag
|
|
55
|
+
"verify": "No `ds-meter` tag, `MeterComponent` symbol or `ds-meter` stylesheet selector remains, and every bar that replaced one carries `semantics=\"none\"` or `semantics=\"meter\"` — never the default.",
|
|
54
56
|
"note": "The `semantics` step is not optional bookkeeping: it is the whole reason `ds-meter` existed, carried across as an input. `0.13.2` is the only release that shipped the tag, so an app on `0.13.1` or earlier has nothing to do here."
|
|
55
57
|
},
|
|
56
58
|
{
|
|
@@ -82,9 +84,9 @@
|
|
|
82
84
|
"old": "--ds-progress-*",
|
|
83
85
|
"new": "--ds-bar-*",
|
|
84
86
|
"surface": "style",
|
|
85
|
-
"action": "Rename `--ds-progress-height`, `-track-color`, `-target-color` and `-target-width` to `--ds-bar-…` with the same suffix. `--ds-progress-bar-color` and its `-success` / `-warning` / `-error` siblings become `--ds-bar-fill-color`, `--ds-bar-fill-color-success`, `--ds-bar-fill-color-warning`, `--ds-bar-fill-color-error`. The `--ds-meter-*` names go the same way: `-height`, `-min-width
|
|
87
|
+
"action": "Rename `--ds-progress-height`, `-track-color`, `-target-color` and `-target-width` to `--ds-bar-…` with the same suffix. `--ds-progress-bar-color` and its `-success` / `-warning` / `-error` siblings become `--ds-bar-fill-color`, `--ds-bar-fill-color-success`, `--ds-bar-fill-color-warning`, `--ds-bar-fill-color-error`. The `--ds-meter-*` names go the same way: `-height`, `-min-width` and `-track-color` keep their suffix and `--ds-meter-fill-color` becomes `--ds-bar-fill-color`. `--ds-meter-radius` has no `--ds-bar-*` counterpart and is removed: see `meter-radius-removed`. The global `--progress-h` is now `--bar-h`.",
|
|
86
88
|
"appliesWhen": "Any stylesheet setting one of those names. DS tokens only — a consumer's own `--progress-…` variable is untouched, and so are `--stepper-bar-h` and `--calendar-bar-h`, which are different tokens that merely end in `-bar-h`.",
|
|
87
|
-
"pitfall": "An override of a name nothing reads still parses and cascades, so a missed rename changes nothing and reports nothing: the bar quietly returns to its default look. `ds-bar` is a prefix of `ds-bar-chart`, which is a DIFFERENT component and is NOT renamed.
|
|
89
|
+
"pitfall": "An override of a name nothing reads still parses and cascades, so a missed rename changes nothing and reports nothing: the bar quietly returns to its default look. `ds-bar` is a prefix of `ds-bar-chart`, which is a DIFFERENT component and is NOT renamed. A word boundary does not separate them - a hyphen is one, so `\\bds-bar\\b` matches inside `ds-bar-chart`. Match `ds-bar([^-\\w]|$)`, or the tag as `<ds-bar[\\s/>]`, and rename nothing whose name continues past `ds-bar`.",
|
|
88
90
|
"restore": null,
|
|
89
91
|
"searchHints": [
|
|
90
92
|
"--ds-progress-",
|
|
@@ -100,6 +102,26 @@
|
|
|
100
102
|
"verify": "No `--ds-progress-`, `--ds-meter-` or `--progress-h` name remains in the app's stylesheets, and every bar that was restyled still looks restyled.",
|
|
101
103
|
"note": "`bar-color` became `fill-color` because the component is now the bar and `--ds-bar-bar-color` would stutter. `--progress-h` moved with it: same 6px default, under a name that no longer described the component."
|
|
102
104
|
},
|
|
105
|
+
{
|
|
106
|
+
"id": "meter-radius-removed",
|
|
107
|
+
"kind": "removed-api",
|
|
108
|
+
"old": "--ds-meter-radius",
|
|
109
|
+
"new": null,
|
|
110
|
+
"surface": "style",
|
|
111
|
+
"action": "Delete the `--ds-meter-radius` declaration. `ds-bar` draws its track and its fill as a pill and has no radius hook, so there is nothing to rename it to.",
|
|
112
|
+
"appliesWhen": "Only a stylesheet written against `0.13.2`, the single release `ds-meter` existed in, that set `--ds-meter-radius`. Every other `--ds-meter-*` name is renamed by `progress-and-meter-tokens-renamed-to-bar`.",
|
|
113
|
+
"pitfall": "The declaration parses and cascades after the upgrade like any unknown custom property, so nothing reports it; the bar is a pill whatever value it holds.",
|
|
114
|
+
"restore": null,
|
|
115
|
+
"searchHints": [
|
|
116
|
+
"--ds-meter-radius",
|
|
117
|
+
"--ds-meter-"
|
|
118
|
+
],
|
|
119
|
+
"detect": [
|
|
120
|
+
"--ds-meter-radius"
|
|
121
|
+
],
|
|
122
|
+
"verify": "No `--ds-meter-radius` remains in the app's stylesheets, and every bar that carried one is accepted as a pill.",
|
|
123
|
+
"note": "`ds-meter`'s radius hook did not survive the merge into `ds-bar`, whose track and fill pin `var(--radius-pill)`. A consumer who squared a meter's corners loses that in this release and has no hook to set instead."
|
|
124
|
+
},
|
|
103
125
|
{
|
|
104
126
|
"id": "exported-class-members-moved",
|
|
105
127
|
"kind": "behavior",
|