@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.7.0.json
CHANGED
|
@@ -203,12 +203,15 @@
|
|
|
203
203
|
"kind": "selector-rename",
|
|
204
204
|
"old": "ds-app-shell",
|
|
205
205
|
"new": "ds-app-layout",
|
|
206
|
-
"action": "Rename the element and its closing tag from `ds-app-shell` to `ds-app-layout`, then apply the class, service and token items below.",
|
|
206
|
+
"action": "Rename the element and its closing tag from `ds-app-shell` to `ds-app-layout`, and any stylesheet rule that names the element with it, then apply the class, service and token items below.",
|
|
207
207
|
"note": "Behaviour is unchanged; the component shipped as ds-app-shell in the tagged 0.6.3 source.",
|
|
208
208
|
"searchHints": [
|
|
209
209
|
"ds-app-shell"
|
|
210
210
|
],
|
|
211
|
-
"surface":
|
|
211
|
+
"surface": [
|
|
212
|
+
"template",
|
|
213
|
+
"style"
|
|
214
|
+
]
|
|
212
215
|
},
|
|
213
216
|
{
|
|
214
217
|
"id": "app-shell-class-to-app-layout",
|
package/migrations/0.8.0.json
CHANGED
|
@@ -179,8 +179,8 @@
|
|
|
179
179
|
"old": "@use '@ids-group-ltd/ids-design-system/styles",
|
|
180
180
|
"new": "@use '@ids-group-ltd/ids-design-system/styles/focus';",
|
|
181
181
|
"action": "Add `@use '@ids-group-ltd/ids-design-system/styles/focus';` to the same global stylesheet that already `@use`s the other DS partials.",
|
|
182
|
-
"appliesWhen": "
|
|
183
|
-
"pitfall": "Missing it costs accessibility, silently. The `data-focus` switch
|
|
182
|
+
"appliesWhen": "Any consumer whose built CSS does not already carry the partial. A `@use 'styles/ds'` that resolved to the PACKAGE's file forwards it and needs nothing; one that resolved to a file of your own with the same name does not, and reads identically in the source.",
|
|
183
|
+
"pitfall": "Missing it costs accessibility, silently. The `data-focus` switch does nothing, and focused elements have NO visible indicator at all in Windows High Contrast and other forced-colors modes, because forced-colors drops box-shadow and the shadow-only indicator was all they had. The reason to miss it is the import you already have: `styles/ds` resolves against every Sass include path in order, so your own `styles/ds.scss` earlier on the path wins and the package's never loads. Check the built CSS, not the source - `grep -c ':where(:focus-visible)' dist/<app>/browser/styles-*.css` returns 0 when ours never arrived.",
|
|
184
184
|
"note": "The `data-focus` switch and the `@media (forced-colors: active)` fallback both live in the new `styles/_focus.scss`.",
|
|
185
185
|
"searchHints": [
|
|
186
186
|
"@use '@ids-group-ltd/ids-design-system/styles",
|
|
@@ -190,7 +190,8 @@
|
|
|
190
190
|
"data-focus",
|
|
191
191
|
"forced-colors"
|
|
192
192
|
],
|
|
193
|
-
"surface": "style"
|
|
193
|
+
"surface": "style",
|
|
194
|
+
"verify": "The built CSS carries `:where(:focus-visible)`, and a focused control keeps a visible indicator with forced-colors active."
|
|
194
195
|
},
|
|
195
196
|
{
|
|
196
197
|
"id": "combobox-tokens-renamed-to-picker",
|
package/migrations/0.9.0.json
CHANGED
|
@@ -44,13 +44,16 @@
|
|
|
44
44
|
"kind": "selector-rename",
|
|
45
45
|
"old": "ds-auth-shell",
|
|
46
46
|
"new": "ds-auth-layout",
|
|
47
|
-
"action": "Rename the element and its closing tag from `ds-auth-shell` to `ds-auth-layout`, then apply the class and token items below.",
|
|
47
|
+
"action": "Rename the element and its closing tag from `ds-auth-shell` to `ds-auth-layout`, and any stylesheet rule that names the element with it, then apply the class and token items below.",
|
|
48
48
|
"appliesWhen": "Behaviour, inputs and slots are unchanged — `brand`, `logoLetter`, `tagline`, `cardElevation`, `cardPadding`, `[brand]`, `[dsBrandName]` and `dsAuthSupport` all keep their names.",
|
|
49
49
|
"note": "\"Shell\" is not this library's word for a layout: the app-level one became ds-app-layout in 0.7.0, and calling the auth counterpart a shell put the split vocabulary back. It shipped as ds-auth-shell in exactly one release.",
|
|
50
50
|
"searchHints": [
|
|
51
51
|
"ds-auth-shell"
|
|
52
52
|
],
|
|
53
|
-
"surface":
|
|
53
|
+
"surface": [
|
|
54
|
+
"template",
|
|
55
|
+
"style"
|
|
56
|
+
]
|
|
54
57
|
},
|
|
55
58
|
{
|
|
56
59
|
"id": "auth-shell-class-to-auth-layout",
|
|
@@ -226,7 +229,7 @@
|
|
|
226
229
|
{
|
|
227
230
|
"id": "input-signal-types-widened-by-transforms",
|
|
228
231
|
"kind": "behavior",
|
|
229
|
-
"old": "
|
|
232
|
+
"old": "InputComponent, NumberStepperComponent, TextareaComponent",
|
|
230
233
|
"new": null,
|
|
231
234
|
"action": "Drop the annotation, or widen it to `InputSignalWithTransform`. `ds-input.focus()` and `ds-textarea.focus()` also gained `override`, for the same subclass-only reason.",
|
|
232
235
|
"appliesWhen": "NO ACTION for a caller: the WRITE type widened, so every binding that compiled still compiles, and the READ type is unchanged. Two shapes only are affected — an explicit annotation naming the old type, and a subclass that re-declares one of these.",
|
package/migrations/README.md
CHANGED
|
@@ -16,7 +16,8 @@ One file per released version — `migrations/<version>.json` — mirroring that
|
|
|
16
16
|
"deleteList": [ { "id": "<slug>", "surface": "<surface>", "find": ["<shape>", "..."],
|
|
17
17
|
"why": "<what made it unnecessary>",
|
|
18
18
|
"replaceWith": "<the API that replaces it>" } ],
|
|
19
|
-
"informational": [ "<one-line FYI per non-actionable change group>"
|
|
19
|
+
"informational": [ "<one-line FYI per non-actionable change group>" |
|
|
20
|
+
{ "text": "...", "verify": "<one concrete eyeball check>" } ] }
|
|
20
21
|
```
|
|
21
22
|
|
|
22
23
|
- `kind` ∈ `selector-rename | type-rename | input-rename | output-rename | token-rename |
|
|
@@ -26,7 +27,8 @@ One file per released version — `migrations/<version>.json` — mirroring that
|
|
|
26
27
|
a value absent from the map is undocumented-as-changed and must be left untouched.
|
|
27
28
|
- `old` of an element-scoped item is `element[attr]`.
|
|
28
29
|
- **`surface`** — which of the consumer's artifacts changes: their `template`, their `typescript`,
|
|
29
|
-
their `style`, their app `config`, or `none` when the only action is to LOOK
|
|
30
|
+
their `style`, their app `config`, or `none` when the only action is to LOOK (an item keeps
|
|
31
|
+
`surface: none` only beside a `restore` or a conditional `action`). It is a required
|
|
30
32
|
statement, not a hint: `none` and "the author forgot" must not read the same to a finder.
|
|
31
33
|
- **`detect`** — the shapes to grep for when `old` is a DS symbol the affected code never mentions.
|
|
32
34
|
Written the way the consumer writes it (`orderBy: sortKey`, `?? config.control?.size`), not the
|
|
@@ -49,6 +51,9 @@ One file per released version — `migrations/<version>.json` — mirroring that
|
|
|
49
51
|
- **`pitfall`** — the way to apply the item mechanically correctly and still ship a broken app.
|
|
50
52
|
Read it before deciding a clean build means done.
|
|
51
53
|
- **`deleteList`** — the structured form of "what you can now delete" (see below).
|
|
54
|
+
- **`informational`** — a non-actionable FYI, a bare string or `{ "text": "...", "verify": "..." }`
|
|
55
|
+
where `verify` is the one eyeball check for a change to rendering alone (no symbol for a grep or
|
|
56
|
+
a build to catch).
|
|
52
57
|
|
|
53
58
|
**Why:** an upgrade tool can read the plan out of the prose changelog, but it re-derives it on
|
|
54
59
|
every run. A shipped manifest makes it deterministic: the tool validates and prefers the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ids-group-ltd/ids-design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "IDS Group Angular design system: components, tokens, themes",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://ids-ds.proto.ids-group.co.uk/",
|
|
@@ -101,6 +101,10 @@
|
|
|
101
101
|
"types": "./types/ids-group-ltd-ids-design-system-components-chart.d.ts",
|
|
102
102
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs"
|
|
103
103
|
},
|
|
104
|
+
"./components/chart-data-table": {
|
|
105
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts",
|
|
106
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs"
|
|
107
|
+
},
|
|
104
108
|
"./components/chart-legend": {
|
|
105
109
|
"types": "./types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts",
|
|
106
110
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs"
|
|
@@ -133,10 +137,6 @@
|
|
|
133
137
|
"types": "./types/ids-group-ltd-ids-design-system-components-divider.d.ts",
|
|
134
138
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs"
|
|
135
139
|
},
|
|
136
|
-
"./components/donut-chart": {
|
|
137
|
-
"types": "./types/ids-group-ltd-ids-design-system-components-donut-chart.d.ts",
|
|
138
|
-
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs"
|
|
139
|
-
},
|
|
140
140
|
"./components/drawer": {
|
|
141
141
|
"types": "./types/ids-group-ltd-ids-design-system-components-drawer.d.ts",
|
|
142
142
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs"
|
|
@@ -165,6 +165,10 @@
|
|
|
165
165
|
"types": "./types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts",
|
|
166
166
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs"
|
|
167
167
|
},
|
|
168
|
+
"./components/heatmap-chart": {
|
|
169
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts",
|
|
170
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs"
|
|
171
|
+
},
|
|
168
172
|
"./components/icon-button": {
|
|
169
173
|
"types": "./types/ids-group-ltd-ids-design-system-components-icon-button.d.ts",
|
|
170
174
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs"
|
|
@@ -225,6 +229,10 @@
|
|
|
225
229
|
"types": "./types/ids-group-ltd-ids-design-system-components-password-rules.d.ts",
|
|
226
230
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs"
|
|
227
231
|
},
|
|
232
|
+
"./components/pie-chart": {
|
|
233
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts",
|
|
234
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs"
|
|
235
|
+
},
|
|
228
236
|
"./components/popover": {
|
|
229
237
|
"types": "./types/ids-group-ltd-ids-design-system-components-popover.d.ts",
|
|
230
238
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs"
|
|
@@ -237,6 +245,10 @@
|
|
|
237
245
|
"types": "./types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts",
|
|
238
246
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs"
|
|
239
247
|
},
|
|
248
|
+
"./components/scatter-chart": {
|
|
249
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts",
|
|
250
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs"
|
|
251
|
+
},
|
|
240
252
|
"./components/search": {
|
|
241
253
|
"types": "./types/ids-group-ltd-ids-design-system-components-search.d.ts",
|
|
242
254
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-search.mjs"
|
|
@@ -349,6 +361,10 @@
|
|
|
349
361
|
"types": "./types/ids-group-ltd-ids-design-system-components-w3w.d.ts",
|
|
350
362
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs"
|
|
351
363
|
},
|
|
364
|
+
"./components/waterfall-chart": {
|
|
365
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts",
|
|
366
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs"
|
|
367
|
+
},
|
|
352
368
|
"./core": {
|
|
353
369
|
"types": "./types/ids-group-ltd-ids-design-system-core.d.ts",
|
|
354
370
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-core.mjs"
|
|
@@ -437,6 +453,10 @@
|
|
|
437
453
|
"types": "./types/ids-group-ltd-ids-design-system-components-chart.d.ts",
|
|
438
454
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs"
|
|
439
455
|
},
|
|
456
|
+
"./chart-data-table": {
|
|
457
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts",
|
|
458
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs"
|
|
459
|
+
},
|
|
440
460
|
"./chart-legend": {
|
|
441
461
|
"types": "./types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts",
|
|
442
462
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs"
|
|
@@ -469,10 +489,6 @@
|
|
|
469
489
|
"types": "./types/ids-group-ltd-ids-design-system-components-divider.d.ts",
|
|
470
490
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs"
|
|
471
491
|
},
|
|
472
|
-
"./donut-chart": {
|
|
473
|
-
"types": "./types/ids-group-ltd-ids-design-system-components-donut-chart.d.ts",
|
|
474
|
-
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-donut-chart.mjs"
|
|
475
|
-
},
|
|
476
492
|
"./drawer": {
|
|
477
493
|
"types": "./types/ids-group-ltd-ids-design-system-components-drawer.d.ts",
|
|
478
494
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs"
|
|
@@ -501,6 +517,10 @@
|
|
|
501
517
|
"types": "./types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts",
|
|
502
518
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs"
|
|
503
519
|
},
|
|
520
|
+
"./heatmap-chart": {
|
|
521
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts",
|
|
522
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs"
|
|
523
|
+
},
|
|
504
524
|
"./icon-button": {
|
|
505
525
|
"types": "./types/ids-group-ltd-ids-design-system-components-icon-button.d.ts",
|
|
506
526
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs"
|
|
@@ -561,6 +581,10 @@
|
|
|
561
581
|
"types": "./types/ids-group-ltd-ids-design-system-components-password-rules.d.ts",
|
|
562
582
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs"
|
|
563
583
|
},
|
|
584
|
+
"./pie-chart": {
|
|
585
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts",
|
|
586
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs"
|
|
587
|
+
},
|
|
564
588
|
"./popover": {
|
|
565
589
|
"types": "./types/ids-group-ltd-ids-design-system-components-popover.d.ts",
|
|
566
590
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs"
|
|
@@ -573,6 +597,10 @@
|
|
|
573
597
|
"types": "./types/ids-group-ltd-ids-design-system-components-reserve-messages.d.ts",
|
|
574
598
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-reserve-messages.mjs"
|
|
575
599
|
},
|
|
600
|
+
"./scatter-chart": {
|
|
601
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts",
|
|
602
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs"
|
|
603
|
+
},
|
|
576
604
|
"./search": {
|
|
577
605
|
"types": "./types/ids-group-ltd-ids-design-system-components-search.d.ts",
|
|
578
606
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-search.mjs"
|
|
@@ -684,6 +712,10 @@
|
|
|
684
712
|
"./w3w": {
|
|
685
713
|
"types": "./types/ids-group-ltd-ids-design-system-components-w3w.d.ts",
|
|
686
714
|
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs"
|
|
715
|
+
},
|
|
716
|
+
"./waterfall-chart": {
|
|
717
|
+
"types": "./types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts",
|
|
718
|
+
"default": "./fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs"
|
|
687
719
|
}
|
|
688
720
|
},
|
|
689
721
|
"peerDependencies": {
|
package/styles/_chart-frame.scss
CHANGED
|
@@ -32,10 +32,23 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.data-table,
|
|
35
|
-
.stage-table
|
|
35
|
+
.stage-table {
|
|
36
|
+
user-select: text;
|
|
37
|
+
}
|
|
38
|
+
|
|
36
39
|
figcaption {
|
|
40
|
+
margin-block-end: var(--space-3);
|
|
41
|
+
color: var(--text-primary);
|
|
42
|
+
font-weight: var(--font-weight-semibold);
|
|
37
43
|
user-select: text;
|
|
38
44
|
}
|
|
45
|
+
|
|
46
|
+
/* "The request failed" and "there is nothing to show" read the same in grey and mean opposite
|
|
47
|
+
things. Two selectors because the pie names its element `.empty-text`. */
|
|
48
|
+
.empty.is-error,
|
|
49
|
+
.empty-text.is-error {
|
|
50
|
+
color: var(--error);
|
|
51
|
+
}
|
|
39
52
|
}
|
|
40
53
|
|
|
41
54
|
// The focus indicator, drawn rather than outlined: `outline` on an SVG element paints its BOUNDING
|
|
@@ -94,7 +107,7 @@
|
|
|
94
107
|
// along the bottom. A chart whose data went away still has the frame its readings were measured
|
|
95
108
|
// against, and drawing it keeps the message inside a plot rather than floating in a blank card.
|
|
96
109
|
// Borders rather than an SVG: with no data there is nothing to scale against, and an axis without
|
|
97
|
-
// ticks or labels is exactly two lines. Off for the
|
|
110
|
+
// ticks or labels is exactly two lines. Off for the pie and the funnel, which have no axes to
|
|
98
111
|
// keep.
|
|
99
112
|
@mixin message-box($height, $axes: false) {
|
|
100
113
|
.empty {
|
|
@@ -120,15 +133,15 @@
|
|
|
120
133
|
position: relative;
|
|
121
134
|
}
|
|
122
135
|
|
|
123
|
-
/*
|
|
124
|
-
|
|
125
|
-
|
|
136
|
+
/* Bottom CENTRE: the panel it undoes opens above the held mark, so a control at the top is the
|
|
137
|
+
one thing the panel covers. A corner competes with a legend on the pie and with the value
|
|
138
|
+
labels on a column chart, and on a wide card it is a long way from the mark it undoes.
|
|
126
139
|
|
|
127
140
|
44px minimum box around a 12px label, because it is a real control and the library's own touch
|
|
128
141
|
rule applies to it. */
|
|
129
142
|
.pin-reset {
|
|
130
143
|
position: absolute;
|
|
131
|
-
inset-block-
|
|
144
|
+
inset-block-end: var(--space-2);
|
|
132
145
|
inset-inline: 0;
|
|
133
146
|
z-index: 1;
|
|
134
147
|
justify-self: center;
|
|
@@ -2,8 +2,17 @@
|
|
|
2
2
|
//
|
|
3
3
|
// The enter is DELAYED by the exit duration, and that delay is what stages the three phases:
|
|
4
4
|
// removals finish before additions start, so a vanishing mark and an arriving one are never on
|
|
5
|
-
// screen together.
|
|
6
|
-
//
|
|
5
|
+
// screen together. `--_chart-mark-stagger` is set per mark by the component and adds to the delay.
|
|
6
|
+
//
|
|
7
|
+
// The enter is a plain CSS animation declared on the mark, so the browser plays it once when the
|
|
8
|
+
// mark is inserted - on first render and for a mark a data change adds - with no script at all.
|
|
9
|
+
// NOT `animate.enter`: its runtime calls `getAnimations()` once per mark, and in Chrome each call
|
|
10
|
+
// costs more the more animations are running, so a chart entering a thousand marks at once blocks
|
|
11
|
+
// the main thread for seconds. `backwards`, not `both`: a finished animation that still fills stays
|
|
12
|
+
// in effect for good, and every later `getAnimations()` on the page pays for it. The exit still goes
|
|
13
|
+
// through `animate.leave`, because only Angular can hold a removed mark until it has faded, but in
|
|
14
|
+
// its function form: the component puts `.mark-leave` on the mark and Angular removes it on
|
|
15
|
+
// `animationend`, with no `getAnimations()` call.
|
|
7
16
|
//
|
|
8
17
|
// A mark ARRIVES BY GROWING FROM ITS OWN BASELINE, never by scaling about its centre: a uniform
|
|
9
18
|
// scale reads as the whole chart zooming, and it moves the mark's baseline, which is the one line
|
|
@@ -52,14 +61,12 @@
|
|
|
52
61
|
calc(
|
|
53
62
|
var(--ds-motion-chart-mark-exit-duration) + var(--_chart-mark-stagger, 0ms)
|
|
54
63
|
)
|
|
55
|
-
|
|
64
|
+
backwards;
|
|
56
65
|
}
|
|
57
66
|
}
|
|
58
67
|
|
|
59
|
-
// `animate.
|
|
60
|
-
//
|
|
61
|
-
// fill inside it animates is never taken off again. `animate.leave` still belongs on the row —
|
|
62
|
-
// that is what leaves.
|
|
68
|
+
// `animate.leave` goes on the element the `@for` creates - that is what leaves - while the enter
|
|
69
|
+
// is declared on the element that animates, which for a column and a bar row is the fill inside.
|
|
63
70
|
|
|
64
71
|
/* A column: the fill grows up out of the category axis. */
|
|
65
72
|
@mixin grows-up($mark, $fill) {
|
|
@@ -67,7 +74,7 @@
|
|
|
67
74
|
transform-origin: bottom;
|
|
68
75
|
}
|
|
69
76
|
|
|
70
|
-
@include enters('#{$fill}
|
|
77
|
+
@include enters('#{$fill}', ds-chart-mark-grow-y);
|
|
71
78
|
@include leaves($mark);
|
|
72
79
|
}
|
|
73
80
|
|
|
@@ -77,12 +84,12 @@
|
|
|
77
84
|
transform-origin: left;
|
|
78
85
|
}
|
|
79
86
|
|
|
80
|
-
@include enters('#{$fill}
|
|
87
|
+
@include enters('#{$fill}', ds-chart-mark-grow-x);
|
|
81
88
|
@include leaves($mark);
|
|
82
89
|
}
|
|
83
90
|
|
|
84
91
|
/* A mark with no baseline of its own — a ring arc, a funnel band, a line. */
|
|
85
92
|
@mixin fades-in($mark) {
|
|
86
|
-
@include enters('#{$mark}
|
|
93
|
+
@include enters('#{$mark}', ds-chart-mark-fade-in);
|
|
87
94
|
@include leaves($mark);
|
|
88
95
|
}
|
package/styles/_check-box.scss
CHANGED
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
// still reaches the box through the cascade: a declaration on the element itself would outrank the
|
|
13
13
|
// inherited one and pin the resting colour.
|
|
14
14
|
@mixin resolvers {
|
|
15
|
-
--_checkbox-bg: var(--ds-checkbox-bg-color, var(--surface-default));
|
|
16
|
-
--_checkbox-border: var(--ds-checkbox-border-color, var(--border-strong));
|
|
17
|
-
--_checkbox-hover-border: var(--ds-checkbox-hover-border-color, var(--accent));
|
|
18
|
-
--_checkbox-selected-bg: var(--ds-checkbox-selected-bg-color, var(--accent));
|
|
19
|
-
--_checkbox-selected-border: var(--ds-checkbox-selected-border-color, var(--accent));
|
|
15
|
+
--_checkbox-bg-color: var(--ds-checkbox-bg-color, var(--surface-default));
|
|
16
|
+
--_checkbox-border-color: var(--ds-checkbox-border-color, var(--border-strong));
|
|
17
|
+
--_checkbox-hover-border-color: var(--ds-checkbox-hover-border-color, var(--accent));
|
|
18
|
+
--_checkbox-selected-bg-color: var(--ds-checkbox-selected-bg-color, var(--accent));
|
|
19
|
+
--_checkbox-selected-border-color: var(--ds-checkbox-selected-border-color, var(--accent));
|
|
20
20
|
--_checkbox-radius: var(--ds-checkbox-radius, var(--ds-radius-inner));
|
|
21
21
|
--_checkbox-glyph: var(--check-size);
|
|
22
22
|
}
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
width: var(--_checkbox-glyph, var(--check-size));
|
|
34
34
|
height: var(--_checkbox-glyph, var(--check-size));
|
|
35
35
|
border: var(--check-bw) solid
|
|
36
|
-
var(--_checkbox-border, var(--ds-checkbox-border-color, var(--border-strong)));
|
|
37
|
-
background: var(--_checkbox-bg, var(--ds-checkbox-bg-color, var(--surface-default)));
|
|
36
|
+
var(--_checkbox-border-color, var(--ds-checkbox-border-color, var(--border-strong)));
|
|
37
|
+
background: var(--_checkbox-bg-color, var(--ds-checkbox-bg-color, var(--surface-default)));
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
display: inline-grid;
|
|
40
40
|
place-items: center;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
border-color var(--duration-fast) var(--ease-standard);
|
|
53
53
|
|
|
54
54
|
&:hover:not(:disabled) {
|
|
55
|
-
border-color: var(--_checkbox-hover-border, var(--ds-checkbox-hover-border-color, var(--accent)));
|
|
55
|
+
border-color: var(--_checkbox-hover-border-color, var(--ds-checkbox-hover-border-color, var(--accent)));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
@include press.feedback;
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
&:checked {
|
|
78
|
-
background: var(--_checkbox-selected-bg, var(--ds-checkbox-selected-bg-color, var(--accent)));
|
|
79
|
-
border-color: var(--_checkbox-selected-border, var(--ds-checkbox-selected-border-color, var(--accent)));
|
|
78
|
+
background: var(--_checkbox-selected-bg-color, var(--ds-checkbox-selected-bg-color, var(--accent)));
|
|
79
|
+
border-color: var(--_checkbox-selected-border-color, var(--ds-checkbox-selected-border-color, var(--accent)));
|
|
80
80
|
&::after { @include check-mark.shown; }
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
&:indeterminate {
|
|
84
|
-
background: var(--_checkbox-selected-bg, var(--ds-checkbox-selected-bg-color, var(--accent)));
|
|
85
|
-
border-color: var(--_checkbox-selected-border, var(--ds-checkbox-selected-border-color, var(--accent)));
|
|
84
|
+
background: var(--_checkbox-selected-bg-color, var(--ds-checkbox-selected-bg-color, var(--accent)));
|
|
85
|
+
border-color: var(--_checkbox-selected-border-color, var(--ds-checkbox-selected-border-color, var(--accent)));
|
|
86
86
|
&::after {
|
|
87
87
|
@include check-mark.shown;
|
|
88
88
|
@include check-mark.dash;
|
|
@@ -26,21 +26,24 @@
|
|
|
26
26
|
--_option-radius: var(--ds-option-radius, var(--ds-radius-inner));
|
|
27
27
|
--_option-row-gap: var(--ds-option-row-gap, 2px);
|
|
28
28
|
--_option-bg-color-active: var(--ds-option-bg-color-active, var(--surface-secondary));
|
|
29
|
-
--_option-weight: var(--ds-option-weight, var(--font-weight-medium));
|
|
29
|
+
--_option-font-weight: var(--ds-option-font-weight, var(--font-weight-medium));
|
|
30
30
|
--_option-font-size: var(--ds-option-font-size, var(--font-size-s));
|
|
31
31
|
--_option-line-height: var(--ds-option-line-height, var(--line-height-flat));
|
|
32
32
|
--_option-font-family: var(--ds-option-font-family, var(--font-sans));
|
|
33
|
+
--_option-color: var(--ds-option-color, var(--text-primary));
|
|
34
|
+
--_dropdown-empty-color: var(--ds-dropdown-empty-color, var(--text-tertiary));
|
|
35
|
+
--_dropdown-empty-font-size: var(--ds-dropdown-empty-font-size, inherit);
|
|
33
36
|
|
|
34
37
|
--_dropdown-panel-bg-color: var(--ds-dropdown-panel-bg-color, var(--surface-overlay));
|
|
35
38
|
--_dropdown-panel-border-color: var(--ds-dropdown-panel-border-color, var(--border-default));
|
|
36
39
|
--_dropdown-panel-shadow: var(--ds-dropdown-panel-shadow, var(--shadow-popover));
|
|
37
|
-
--_dropdown-panel-
|
|
40
|
+
--_dropdown-panel-max-height: var(--ds-dropdown-panel-max-height, 320px);
|
|
38
41
|
|
|
39
42
|
/* minw/maxw only bite in `content` width mode, where the pane is auto-sized: in
|
|
40
43
|
`fill` the component pins the pane to the trigger width and there is nothing
|
|
41
44
|
left to bound. */
|
|
42
|
-
--_dropdown-panel-
|
|
43
|
-
--_dropdown-panel-
|
|
45
|
+
--_dropdown-panel-min-width: var(--ds-dropdown-panel-min-width, 0);
|
|
46
|
+
--_dropdown-panel-max-width: var(--ds-dropdown-panel-max-width, none);
|
|
44
47
|
|
|
45
48
|
.dropdown-panel {
|
|
46
49
|
// The pane is sized from the trigger, so without `width: 100%` the panel is a flex
|
|
@@ -51,9 +54,9 @@
|
|
|
51
54
|
border-radius: var(--_dropdown-panel-radius);
|
|
52
55
|
box-shadow: var(--_dropdown-panel-shadow);
|
|
53
56
|
padding: var(--space-1);
|
|
54
|
-
min-width: var(--_dropdown-panel-
|
|
55
|
-
max-width: var(--_dropdown-panel-
|
|
56
|
-
max-height: var(--_dropdown-panel-
|
|
57
|
+
min-width: var(--_dropdown-panel-min-width);
|
|
58
|
+
max-width: var(--_dropdown-panel-max-width);
|
|
59
|
+
max-height: var(--_dropdown-panel-max-height);
|
|
57
60
|
|
|
58
61
|
// The panel clips and the LIST scrolls, so a filter or select-all row stays
|
|
59
62
|
// put while the options move under it — a panel that scrolled itself would
|
|
@@ -112,7 +115,8 @@
|
|
|
112
115
|
|
|
113
116
|
.empty {
|
|
114
117
|
padding: var(--space-3) var(--space-4);
|
|
115
|
-
color: var(--
|
|
118
|
+
color: var(--_dropdown-empty-color);
|
|
119
|
+
font-size: var(--_dropdown-empty-font-size);
|
|
116
120
|
text-align: center;
|
|
117
121
|
}
|
|
118
122
|
|
|
@@ -124,8 +128,8 @@
|
|
|
124
128
|
padding: var(--_option-padding);
|
|
125
129
|
border: 0;
|
|
126
130
|
background: transparent;
|
|
127
|
-
font: var(--_option-weight) var(--_option-font-size) / var(--_option-line-height) var(--_option-font-family);
|
|
128
|
-
color: var(--
|
|
131
|
+
font: var(--_option-font-weight) var(--_option-font-size) / var(--_option-line-height) var(--_option-font-family);
|
|
132
|
+
color: var(--_option-color);
|
|
129
133
|
cursor: pointer;
|
|
130
134
|
border-radius: var(--_option-radius);
|
|
131
135
|
text-align: left;
|
package/styles/_field-box.scss
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
// `ds-select { --ds-field-height: 44px; }`.
|
|
9
9
|
// `$prop` is `min-height` for a box that must be able to grow — autocomplete and
|
|
10
10
|
// multi-select wrap chips onto a second line, and a fixed height would clip them.
|
|
11
|
-
// `--_field-
|
|
11
|
+
// `--_field-height` holds the RESOLVED height, so a control that derives other
|
|
12
12
|
// geometry from it (number-stepper sizes its buttons off its own height) can read
|
|
13
13
|
// it back instead of restating the fallback chain.
|
|
14
14
|
@mixin field-box-height($size: md, $prop: height) {
|
|
15
|
-
--_field-
|
|
15
|
+
--_field-height: var(--ds-field-height, var(--field-h-#{$size}));
|
|
16
16
|
|
|
17
|
-
#{$prop}: var(--_field-
|
|
17
|
+
#{$prop}: var(--_field-height);
|
|
18
18
|
}
|
package/styles/_field-label.scss
CHANGED
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
// happens to use the same class name. Each field pays ~6 declarations of its own CSS.
|
|
10
10
|
//
|
|
11
11
|
// Per-instance retune is CSS-variable scoping, so no per-component token set is
|
|
12
|
-
// needed: `ds-select { --ds-field-label-transform: uppercase; }` reaches exactly
|
|
12
|
+
// needed: `ds-select { --ds-field-label-text-transform: uppercase; }` reaches exactly
|
|
13
13
|
// one component. ds-input keeps its older `--ds-input-label-*` trio winning above
|
|
14
14
|
// this, since those shipped in 0.7.x.
|
|
15
15
|
@mixin field-label {
|
|
16
16
|
--_field-label-font-size: var(--ds-field-label-font-size, var(--font-size-xs));
|
|
17
|
-
--_field-label-weight: var(--ds-field-label-weight, var(--font-weight-bold));
|
|
17
|
+
--_field-label-font-weight: var(--ds-field-label-font-weight, var(--font-weight-bold));
|
|
18
18
|
--_field-label-color: var(--ds-field-label-color, var(--text-secondary));
|
|
19
|
-
--_field-label-transform: var(--ds-field-label-transform, none);
|
|
20
|
-
--_field-label-
|
|
19
|
+
--_field-label-text-transform: var(--ds-field-label-text-transform, none);
|
|
20
|
+
--_field-label-letter-spacing: var(--ds-field-label-letter-spacing, normal);
|
|
21
21
|
|
|
22
22
|
display: flex;
|
|
23
23
|
align-items: center;
|
|
24
24
|
gap: var(--field-gap-req);
|
|
25
|
-
font: var(--_field-label-weight) var(--_field-label-font-size) / var(--line-height-base) var(--font-sans);
|
|
25
|
+
font: var(--_field-label-font-weight) var(--_field-label-font-size) / var(--line-height-base) var(--font-sans);
|
|
26
26
|
color: var(--_field-label-color);
|
|
27
|
-
text-transform: var(--_field-label-transform);
|
|
28
|
-
letter-spacing: var(--_field-label-
|
|
27
|
+
text-transform: var(--_field-label-text-transform);
|
|
28
|
+
letter-spacing: var(--_field-label-letter-spacing);
|
|
29
29
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// teardown working and outranks a consumer keyframe carrying its own timing.
|
|
17
17
|
|
|
18
18
|
.cdk-overlay-pane.ds-overlay-pane {
|
|
19
|
-
--_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-
|
|
19
|
+
--_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-scale-in);
|
|
20
20
|
--_overlay-enter-duration: var(--ds-overlay-enter-duration, var(--ds-motion-enter-panel-duration));
|
|
21
21
|
--_overlay-enter-easing: var(--ds-overlay-enter-easing, var(--ds-motion-enter-panel-easing));
|
|
22
22
|
--_overlay-enter-offset: var(--ds-overlay-enter-offset, 4px);
|
|
@@ -85,12 +85,20 @@
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
/* The pane
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
88
|
+
/* The pane is INERT, because it is drawn over the plot it describes: on a funnel or a tight
|
|
89
|
+
category axis the panel covers the neighbouring marks, and a pane that takes the pointer means
|
|
90
|
+
the mark underneath never sees it - the reader is over a new segment while the panel still names
|
|
91
|
+
the old one. Inert, the pointer reaches the mark and the panel follows it.
|
|
92
|
+
|
|
93
|
+
WCAG 1.4.13 still holds. Hoverable: moving onto the panel does not dismiss it, because the
|
|
94
|
+
pointer either stays on the mark under it or the grace period in `chart-active-mark.ts` carries
|
|
95
|
+
the gap. Dismissible: Escape. Persistent: the panel stays while the mark is hovered, and a press
|
|
96
|
+
pins it where the chart offers pinning - a pinned pane takes the pointer again so its text can be
|
|
97
|
+
selected. Drop the grace and the flicker returns. */
|
|
94
98
|
.cdk-overlay-pane.ds-chart-tooltip-pane {
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cdk-overlay-pane.ds-chart-tooltip-pane.is-pinned {
|
|
95
103
|
pointer-events: auto;
|
|
96
104
|
}
|
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
// one invalidates the style of every element that could inherit it — the whole document, every
|
|
10
10
|
// frame. And the phase-lock buys no viewport anchoring anyway, because `mask-position` measures
|
|
11
11
|
// from the host's own box.
|
|
12
|
+
//
|
|
13
|
+
// `!important`, because the travel is declared as `[_nghost-…]::after`, which outranks
|
|
14
|
+
// `ds-skeleton::after` whatever the order.
|
|
12
15
|
@media (prefers-reduced-motion: reduce) {
|
|
13
16
|
ds-skeleton::after {
|
|
14
|
-
animation: none;
|
|
17
|
+
animation: none !important;
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
border: 0;
|
|
18
18
|
background: none;
|
|
19
19
|
cursor: pointer;
|
|
20
|
-
color: var(--_table-icon-
|
|
20
|
+
color: var(--_table-icon-button-color);
|
|
21
21
|
border-radius: var(--ds-radius-inner);
|
|
22
22
|
transition: color var(--duration-fast) var(--ease-standard);
|
|
23
23
|
|
|
24
24
|
&:hover {
|
|
25
|
-
color: var(--_table-icon-
|
|
25
|
+
color: var(--_table-icon-button-color-hover);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&:focus-visible {
|
|
29
|
-
--focus-ring-color: var(--_table-icon-
|
|
29
|
+
--focus-ring-color: var(--_table-icon-button-focus-color);
|
|
30
30
|
|
|
31
31
|
@include focus.ring;
|
|
32
32
|
}
|