@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
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
|
+
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { ChartLegendItem } from '@ids-group-ltd/ids-design-system/components/chart-legend';
|
|
6
|
+
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
|
+
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
8
|
+
|
|
9
|
+
/** One reading on two continuous scales. */
|
|
10
|
+
interface ScatterPoint {
|
|
11
|
+
readonly x: number;
|
|
12
|
+
readonly y: number;
|
|
13
|
+
}
|
|
14
|
+
/** One named set of readings. Both scales are continuous, so a point carries its own position on
|
|
15
|
+
* each rather than an index into a list of categories. */
|
|
16
|
+
interface ScatterChartSeries {
|
|
17
|
+
id: string;
|
|
18
|
+
label: string;
|
|
19
|
+
data: readonly ScatterPoint[];
|
|
20
|
+
/** Overrides the palette slot this series would take. */
|
|
21
|
+
color?: string;
|
|
22
|
+
}
|
|
23
|
+
/** Which decimator thins a series that exceeds the plot's budget.
|
|
24
|
+
*
|
|
25
|
+
* `'minMax'` is the default because it is the only one that can promise something: each bucket's
|
|
26
|
+
* highest and lowest reading are in the output by construction, so the spike a reader is looking
|
|
27
|
+
* for cannot be the point that was dropped. `'lttb'` draws a truer silhouette at the same budget
|
|
28
|
+
* and makes no such promise - reach for it where the outline is the reading. `'none'` draws every
|
|
29
|
+
* point and is the caller taking the node budget on themselves. */
|
|
30
|
+
type ScatterChartDecimator = 'minMax' | 'lttb' | 'none';
|
|
31
|
+
/** One reading, named by the series it belongs to. */
|
|
32
|
+
interface ScatterChartReading {
|
|
33
|
+
readonly series: ScatterChartSeries;
|
|
34
|
+
readonly point: ScatterPoint;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** The drawable rectangle, in the canvas's own units. */
|
|
38
|
+
interface ScatterPlot {
|
|
39
|
+
readonly left: number;
|
|
40
|
+
readonly top: number;
|
|
41
|
+
readonly width: number;
|
|
42
|
+
readonly height: number;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
interface PlacedPoint {
|
|
46
|
+
readonly key: string;
|
|
47
|
+
readonly cx: number;
|
|
48
|
+
readonly cy: number;
|
|
49
|
+
readonly point: ScatterPoint;
|
|
50
|
+
}
|
|
51
|
+
interface PlacedSeries {
|
|
52
|
+
readonly key: string;
|
|
53
|
+
readonly series: ScatterChartSeries;
|
|
54
|
+
readonly color: string;
|
|
55
|
+
readonly points: readonly PlacedPoint[];
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Two continuous quantities against each other: weight against carriage cost, distance against
|
|
59
|
+
* time, volume against conversion. None of the other five charts draws this.
|
|
60
|
+
*
|
|
61
|
+
* It is the only chart in the family whose mark count the CALLER decides - an area has one node per
|
|
62
|
+
* series, a waterfall one per step, a heat map one per cell, and all three are bounded by the
|
|
63
|
+
* question itself. So it is also the only one that thins its own data before drawing: past four
|
|
64
|
+
* times the plot's width in marks the series is decimated, and the chart says so on its face
|
|
65
|
+
* rather than leaving the reader to count points that are not there.
|
|
66
|
+
*/
|
|
67
|
+
declare class ScatterChartComponent {
|
|
68
|
+
/** One entry per series, each carrying its own readings. Both scales are continuous, so a
|
|
69
|
+
* point holds its position on each rather than an index into a list of categories. */
|
|
70
|
+
readonly data: _angular_core.InputSignal<readonly ScatterChartSeries[]>;
|
|
71
|
+
/** Names the horizontal quantity under the plot. Without it the reader has two numbers and no
|
|
72
|
+
* idea which is which - on a scatter that is the whole reading. */
|
|
73
|
+
readonly xLabel: _angular_core.InputSignal<string | null>;
|
|
74
|
+
/** Names the vertical quantity beside the plot. */
|
|
75
|
+
readonly yLabel: _angular_core.InputSignal<string | null>;
|
|
76
|
+
/** Which decimator thins a series past the budget. `'minMax'` by default, because it is the only
|
|
77
|
+
* one that promises each bucket's extremum survives. */
|
|
78
|
+
readonly decimator: _angular_core.InputSignal<ScatterChartDecimator>;
|
|
79
|
+
/** A hint, not a count, and it applies to BOTH axes. Ticks snap to a round step. */
|
|
80
|
+
readonly tickCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
81
|
+
/** Printed above the plot as the visible title, and reused as the annex table's caption. */
|
|
82
|
+
readonly caption: _angular_core.InputSignal<string | null>;
|
|
83
|
+
/** The accessible name. Generated when omitted, naming both axes' spans, how many readings
|
|
84
|
+
* were drawn and how many were thinned out. */
|
|
85
|
+
readonly summary: _angular_core.InputSignal<string | null>;
|
|
86
|
+
/** Makes every mark a button and gives it a keyboard route. `pointClicked` fires whether or
|
|
87
|
+
* not this is set. */
|
|
88
|
+
readonly interactive: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
89
|
+
/** `'auto'` draws the bordered, padded box; `'none'` leaves it bare for a chart inside a card
|
|
90
|
+
* the page has already drawn. Unset falls back to `DS_CONFIG.chart.frame`. */
|
|
91
|
+
readonly frame: _angular_core.InputSignal<ChartFrame | null>;
|
|
92
|
+
/** The annex table under the plot. It lists EVERY reading, including the ones decimation left
|
|
93
|
+
* out of the drawing, which is what keeps a thinned chart honest. */
|
|
94
|
+
readonly dataTable: _angular_core.InputSignal<ChartDataTable | null>;
|
|
95
|
+
/** A skeleton at the plot's own height, so the page does not resize when the data lands. */
|
|
96
|
+
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
97
|
+
/** Separate from empty data: "the request failed" and "there is nothing to show" read the same
|
|
98
|
+
* and mean opposite things. */
|
|
99
|
+
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
100
|
+
/** Shown when no series carries a reading. Unset falls back to `DS_CONFIG.chart.emptyText`. */
|
|
101
|
+
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
102
|
+
/** Shown in place of the plot while `error` is set. Unset falls back to
|
|
103
|
+
* `DS_CONFIG.chart.errorText`. */
|
|
104
|
+
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
105
|
+
/** Formats every number the chart prints - both axes' ticks, the accessible name and the annex
|
|
106
|
+
* table. Unset falls back to `DS_CONFIG.chart.valueFormat`. */
|
|
107
|
+
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
108
|
+
/** Whether a hovered or focused mark opens a tooltip. A scatter prints no value beside its
|
|
109
|
+
* marks - there is no room - so this is where a reading is read without the annex table. */
|
|
110
|
+
readonly tooltip: _angular_core.InputSignal<ChartItemTooltipTrigger>;
|
|
111
|
+
/** Fades every mark but the one under the pointer. Off by default: on a scatter the pile-up IS
|
|
112
|
+
* the reading, and dimming the neighbours takes exactly that away. */
|
|
113
|
+
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
114
|
+
/** The clicked reading, with the series it belongs to. Fires on click and on Enter or Space. */
|
|
115
|
+
readonly pointClicked: _angular_core.OutputEmitterRef<ScatterChartReading>;
|
|
116
|
+
private readonly defaults;
|
|
117
|
+
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
118
|
+
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
119
|
+
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
120
|
+
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
121
|
+
readonly valueFormatResolved: _angular_core.Signal<typeof _ids_group_ltd_ids_design_system_components.defaultChartFormat>;
|
|
122
|
+
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
123
|
+
protected readonly viewBox = "0 0 640 360";
|
|
124
|
+
protected readonly plot: ScatterPlot;
|
|
125
|
+
protected readonly isEmpty: _angular_core.Signal<boolean>;
|
|
126
|
+
/** One mark per drawn unit of plot width is the ceiling: two marks sharing a pixel are two DOM
|
|
127
|
+
* nodes a reader cannot tell apart. The viewBox is one unit per pixel at a typical card width. */
|
|
128
|
+
private readonly budget;
|
|
129
|
+
protected readonly drawnSeries: _angular_core.Signal<{
|
|
130
|
+
series: ScatterChartSeries;
|
|
131
|
+
data: readonly ScatterPoint[];
|
|
132
|
+
thinned: number;
|
|
133
|
+
}[]>;
|
|
134
|
+
/** How many readings were dropped, over every series. A decimated chart that does not SAY it is
|
|
135
|
+
* decimated leaves the reader counting points that were never drawn. */
|
|
136
|
+
protected readonly droppedCount: _angular_core.Signal<number>;
|
|
137
|
+
private readonly extent;
|
|
138
|
+
private readonly domains;
|
|
139
|
+
protected readonly series: _angular_core.Signal<readonly PlacedSeries[]>;
|
|
140
|
+
protected readonly xTicks: _angular_core.Signal<{
|
|
141
|
+
value: number;
|
|
142
|
+
x: number;
|
|
143
|
+
label: string;
|
|
144
|
+
}[]>;
|
|
145
|
+
protected readonly yTicks: _angular_core.Signal<{
|
|
146
|
+
value: number;
|
|
147
|
+
y: number;
|
|
148
|
+
label: string;
|
|
149
|
+
}[]>;
|
|
150
|
+
protected readonly plotBottom: number;
|
|
151
|
+
protected readonly plotRight: number;
|
|
152
|
+
protected readonly multiSeries: _angular_core.Signal<boolean>;
|
|
153
|
+
/** The series named in the legend under the pointer, which fades the rest. */
|
|
154
|
+
protected readonly highlightedSeries: _angular_core.WritableSignal<string | null>;
|
|
155
|
+
protected readonly legendItems: _angular_core.Signal<readonly ChartLegendItem[]>;
|
|
156
|
+
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
157
|
+
protected readonly dataTableColumns: _angular_core.Signal<readonly string[]>;
|
|
158
|
+
/** Built only while the disclosure is open: a scatter carries thousands of readings, and every
|
|
159
|
+
* one of them as a table row is a cost nobody pays until they ask. */
|
|
160
|
+
protected readonly dataTableRows: _angular_core.Signal<readonly ChartDataRow[]>;
|
|
161
|
+
protected readonly tableRows: _angular_core.Signal<{
|
|
162
|
+
key: string;
|
|
163
|
+
series: string;
|
|
164
|
+
x: string;
|
|
165
|
+
y: string;
|
|
166
|
+
}[]>;
|
|
167
|
+
/** `<details>` keeps its children in the DOM while it is shut, so a scatter of 12 000 readings
|
|
168
|
+
* parked 48 000 nodes on the page - three times what decimating the PLOT had just saved. The
|
|
169
|
+
* rows are built when the disclosure opens and dropped when it shuts; every reading is still
|
|
170
|
+
* one click away, which is what the table is for. */
|
|
171
|
+
protected readonly tableOpen: _angular_core.WritableSignal<boolean>;
|
|
172
|
+
protected readonly tableIsOpen: _angular_core.Signal<boolean>;
|
|
173
|
+
protected readonly skeletonHeight = "360";
|
|
174
|
+
/** Flattened so one index addresses a mark, which is what `chartActiveMark` counts. */
|
|
175
|
+
private readonly flatMarks;
|
|
176
|
+
/** Where each series starts in `flatMarks`, so a point carries its flat index without a search
|
|
177
|
+
* and the series' one listener reads it back. */
|
|
178
|
+
protected readonly seriesStart: _angular_core.Signal<Map<string, number>>;
|
|
179
|
+
protected onPointOver(event: Event): void;
|
|
180
|
+
protected onPointActivate(event: Event): void;
|
|
181
|
+
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
182
|
+
protected onPointClick(series: ScatterChartSeries, point: ScatterPoint): void;
|
|
183
|
+
protected pointLabel(series: ScatterChartSeries, point: ScatterPoint): string;
|
|
184
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScatterChartComponent, never>;
|
|
185
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScatterChartComponent, "ds-scatter-chart", ["dsScatterChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xLabel": { "alias": "xLabel"; "required": false; "isSignal": true; }; "yLabel": { "alias": "yLabel"; "required": false; "isSignal": true; }; "decimator": { "alias": "decimator"; "required": false; "isSignal": true; }; "tickCount": { "alias": "tickCount"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; }, { "pointClicked": "pointClicked"; }, never, never, true, never>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export { ScatterChartComponent };
|
|
189
|
+
export type { ScatterChartDecimator, ScatterChartReading, ScatterChartSeries, ScatterPoint };
|
|
@@ -56,6 +56,8 @@ declare class SearchComponent implements ControlValueAccessor {
|
|
|
56
56
|
* over deliberately — e.g. a Clear button that disables itself on activation
|
|
57
57
|
* would otherwise blur into `<body>` and restart Tab order at the top. */
|
|
58
58
|
focus(options?: FocusOptions): void;
|
|
59
|
+
/** Drops focus from the search input - the counterpart of `focus()`. */
|
|
60
|
+
blur(): void;
|
|
59
61
|
protected onText(next: string): void;
|
|
60
62
|
protected onSubmit(): void;
|
|
61
63
|
/** Empties the field, DROPS any armed keystroke, and publishes '' immediately.
|
|
@@ -21,6 +21,10 @@ declare class SegmentedComponent extends DsControlValueAccessor<string> {
|
|
|
21
21
|
readonly label: _angular_core.InputSignal<string>;
|
|
22
22
|
/** Disables every segment. */
|
|
23
23
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
|
+
/** Segments share their edges instead of floating in a padded track: borders collapse into one
|
|
25
|
+
* hairline and only the outer ends round. Needs `--ds-segmented-segment-border` to be set,
|
|
26
|
+
* since the shared edge IS the border. */
|
|
27
|
+
readonly joined: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
24
28
|
readonly isDisabled: _angular_core.Signal<boolean>;
|
|
25
29
|
protected readonly uid: string;
|
|
26
30
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
@@ -33,7 +37,7 @@ declare class SegmentedComponent extends DsControlValueAccessor<string> {
|
|
|
33
37
|
protected onKeydown(event: KeyboardEvent, index: number): void;
|
|
34
38
|
private nextEnabled;
|
|
35
39
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedComponent, never>;
|
|
36
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedComponent, "ds-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
40
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedComponent, "ds-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "joined": { "alias": "joined"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
export { SegmentedComponent };
|
|
@@ -28,7 +28,9 @@ declare class SelectComponent extends DsControlValueAccessor<string> implements
|
|
|
28
28
|
/** Flat options or option groups rendered in the dropdown panel. */
|
|
29
29
|
readonly options: _angular_core.InputSignal<readonly SelectItem[]>;
|
|
30
30
|
/** Public panel tokens forwarded onto the portaled overlay pane on open, so a
|
|
31
|
-
* consumer's `ds-select { --ds-dropdown-panel-*: … }` reaches it.
|
|
31
|
+
* consumer's `ds-select { --ds-dropdown-panel-*: … }` reaches it.
|
|
32
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
33
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
32
34
|
private readonly panelTokens;
|
|
33
35
|
/** Trigger width — `fill` stretches to the container and pins the panel to the
|
|
34
36
|
* trigger's width; `content` hugs the trigger's own content and takes that width
|
|
@@ -9,6 +9,7 @@ declare class SkeletonComponent {
|
|
|
9
9
|
readonly circle: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
10
10
|
/** `display: inline-block` instead of `block`, to sit inline with text. */
|
|
11
11
|
readonly inline: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
12
|
+
constructor();
|
|
12
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SkeletonComponent, never>;
|
|
13
14
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SkeletonComponent, "ds-skeleton", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "circle": { "alias": "circle"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
15
|
}
|
|
@@ -26,6 +26,14 @@ declare class SwitchComponent extends DsBooleanControlValueAccessor {
|
|
|
26
26
|
/** Accessible name for a control with no visible label — the row's `<label>` collapses when it
|
|
27
27
|
* is empty, leaving nothing to name it. Set beside a label it OVERRIDES the label, per ARIA. */
|
|
28
28
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
29
|
+
/**
|
|
30
|
+
* The switch never flips itself: a click or Space cancels the native toggle and
|
|
31
|
+
* `checkedRequested` carries the value the user asked for. It moves only when
|
|
32
|
+
* `checked` changes from outside, so a cancelled confirmation changes nothing.
|
|
33
|
+
*/
|
|
34
|
+
readonly controlled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
35
|
+
/** The value the user asked for, emitted in place of a flip when `controlled`. Silent otherwise. */
|
|
36
|
+
readonly checkedRequested: _angular_core.OutputEmitterRef<boolean>;
|
|
29
37
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
30
38
|
protected readonly uid: string;
|
|
31
39
|
protected readonly controlId: _angular_core.Signal<string>;
|
|
@@ -38,8 +46,9 @@ declare class SwitchComponent extends DsBooleanControlValueAccessor {
|
|
|
38
46
|
protected readonly switchClasses: _angular_core.Signal<string>;
|
|
39
47
|
protected readonly fieldClass: _angular_core.Signal<string>;
|
|
40
48
|
protected onCheckedChange(event: Event): void;
|
|
49
|
+
protected onClick(event: MouseEvent): void;
|
|
41
50
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
42
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
|
|
51
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SwitchComponent, "ds-switch", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "controlled": { "alias": "controlled"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "checkedRequested": "checkedRequested"; }, never, ["*"], true, never>;
|
|
43
52
|
}
|
|
44
53
|
|
|
45
54
|
export { SwitchComponent };
|
|
@@ -23,6 +23,9 @@ declare class DsTableExport<T extends object> {
|
|
|
23
23
|
/** Renders the built-in toolbar button. `false` keeps the feature and hides the control, for a
|
|
24
24
|
* table whose export is driven from somewhere else on the page. */
|
|
25
25
|
readonly dsTableExport: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
26
|
+
/** The download's name, extension included - it is passed through, never derived. A custom
|
|
27
|
+
* `exportFetcher` returning a Blob is saved under this same name, so an export that is not CSV
|
|
28
|
+
* has to say so here. */
|
|
26
29
|
readonly exportFilename: _angular_core.InputSignal<string>;
|
|
27
30
|
/** Fetches the rows to export. Without it the export serialises what the table holds, which on
|
|
28
31
|
* a server-paged table is one page. */
|
|
@@ -1,32 +1,39 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, Signal, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
3
|
+
import { IconName, DsSize, PaginationLayout } from '@ids-group-ltd/ids-design-system/core';
|
|
4
4
|
|
|
5
|
+
/** What a `dsCellTemplate` is handed: the row, as `$implicit` and again as `row`. */
|
|
6
|
+
interface CellTemplateContext<T = unknown> {
|
|
7
|
+
readonly $implicit: T;
|
|
8
|
+
readonly row: T;
|
|
9
|
+
}
|
|
5
10
|
/**
|
|
6
|
-
* Projects a custom cell template into
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
* <ds-table [data]="rows" [columns]="cols">
|
|
10
|
-
* <ng-template dsCellTemplate="product" let-row>
|
|
11
|
-
* <div>{{ asRule(row).product }}</div>
|
|
12
|
-
* </ng-template>
|
|
13
|
-
* </ds-table>
|
|
11
|
+
* Projects a custom cell template into `<ds-table>` for one column.
|
|
14
12
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
13
|
+
* ```html
|
|
14
|
+
* <ds-table [data]="rows" [columns]="cols">
|
|
15
|
+
* <ng-template dsCellTemplate="product" [dsCellTemplateOf]="rows" let-row>
|
|
16
|
+
* {{ row.product }}
|
|
17
|
+
* </ng-template>
|
|
18
|
+
* </ds-table>
|
|
19
|
+
* ```
|
|
18
20
|
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
21
|
+
* `[dsCellTemplateOf]` exists only to TYPE the template: bound to the same rows the
|
|
22
|
+
* table gets, it makes `let-row` a `T` under strict templates, so a typo in a field
|
|
23
|
+
* name is a compile error. Left off, `row` is `unknown` and a typed helper on the
|
|
24
|
+
* host narrows it, as before.
|
|
22
25
|
*/
|
|
23
|
-
declare class CellTemplateDirective {
|
|
26
|
+
declare class CellTemplateDirective<T = unknown> {
|
|
24
27
|
/** The `key` of the column this template replaces, matched against the table's
|
|
25
28
|
* `columns`. A key no column declares renders nothing and warns nowhere. */
|
|
26
29
|
readonly dsCellTemplate: _angular_core.InputSignal<string>;
|
|
30
|
+
/** The table's rows, bound to type `let-row`. Never read at runtime - the table
|
|
31
|
+
* hands the row out itself. */
|
|
32
|
+
readonly dsCellTemplateOf: _angular_core.InputSignal<readonly T[] | null>;
|
|
27
33
|
readonly template: TemplateRef<any>;
|
|
28
|
-
static
|
|
29
|
-
static
|
|
34
|
+
static ngTemplateContextGuard<T>(_directive: CellTemplateDirective<T>, _context: unknown): _context is CellTemplateContext<T>;
|
|
35
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CellTemplateDirective<any>, never>;
|
|
36
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CellTemplateDirective<any>, "[dsCellTemplate]", never, { "dsCellTemplate": { "alias": "dsCellTemplate"; "required": true; "isSignal": true; }; "dsCellTemplateOf": { "alias": "dsCellTemplateOf"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
30
37
|
}
|
|
31
38
|
|
|
32
39
|
/** What a projected header filter is handed. */
|
|
@@ -62,9 +69,7 @@ interface HeaderFilterContext {
|
|
|
62
69
|
* criterion is set, though, so `active` is how the highlight gets told; without
|
|
63
70
|
* it a custom filter renders but the header never marks itself filtered.
|
|
64
71
|
*
|
|
65
|
-
* The column is typed `unknown
|
|
66
|
-
* Angular cannot propagate the parent table's row type into a projected
|
|
67
|
-
* template. Narrow it with a typed helper on the host.
|
|
72
|
+
* The column is typed `unknown`; narrow it with a typed helper on the host.
|
|
68
73
|
*/
|
|
69
74
|
declare class HeaderFilterDirective {
|
|
70
75
|
/** Key of the column this filter belongs to. */
|
|
@@ -107,7 +112,7 @@ interface TableColumn<T = unknown> {
|
|
|
107
112
|
label: string;
|
|
108
113
|
/** Visually-hidden accessible header name — use when `label` is
|
|
109
114
|
* intentionally empty (e.g. an actions column). */
|
|
110
|
-
|
|
115
|
+
screenReaderLabel?: string;
|
|
111
116
|
sortable?: boolean;
|
|
112
117
|
/** Include the column in `filterQuery` matching. When no column is marked,
|
|
113
118
|
* every column matches. Works on `hidden` columns too. */
|
|
@@ -174,10 +179,10 @@ interface TableColumn<T = unknown> {
|
|
|
174
179
|
* column stays available to `filterable` matching and sorting. */
|
|
175
180
|
hidden?: boolean;
|
|
176
181
|
}
|
|
177
|
-
type
|
|
182
|
+
type SortDirection = 'asc' | 'desc' | null;
|
|
178
183
|
interface SortChangeEvent {
|
|
179
184
|
key: string;
|
|
180
|
-
dir:
|
|
185
|
+
dir: SortDirection;
|
|
181
186
|
}
|
|
182
187
|
interface TableRowAction<T = unknown> {
|
|
183
188
|
/** Stable identifier — use it to branch in `rowActionSelected`. */
|
|
@@ -414,9 +419,9 @@ declare class TableComponent<T extends object> {
|
|
|
414
419
|
* halves at once, which is usually the one to listen to. */
|
|
415
420
|
readonly sortKeyChange: _angular_core.OutputEmitterRef<string | null>;
|
|
416
421
|
/** Sort direction for `sortKey`. */
|
|
417
|
-
readonly
|
|
418
|
-
/** Emitted for `[(
|
|
419
|
-
readonly
|
|
422
|
+
readonly sortDirection: _angular_core.InputSignal<SortDirection>;
|
|
423
|
+
/** Emitted for `[(sortDirection)]`. */
|
|
424
|
+
readonly sortDirectionChange: _angular_core.OutputEmitterRef<SortDirection>;
|
|
420
425
|
/**
|
|
421
426
|
* What the header marks, and what a client sort reads.
|
|
422
427
|
*
|
|
@@ -429,16 +434,16 @@ declare class TableComponent<T extends object> {
|
|
|
429
434
|
*/
|
|
430
435
|
private readonly sortState;
|
|
431
436
|
protected readonly activeSortKey: _angular_core.Signal<string | null>;
|
|
432
|
-
protected readonly activeSortDir: _angular_core.Signal<
|
|
437
|
+
protected readonly activeSortDir: _angular_core.Signal<SortDirection>;
|
|
433
438
|
/** Sort states a column cycles through on click. Default includes null
|
|
434
439
|
* (unsorted); pass ['asc','desc'] to forbid the unsorted state (e.g.
|
|
435
440
|
* server-paged lists). */
|
|
436
|
-
readonly sortingOrder: _angular_core.InputSignal<
|
|
441
|
+
readonly sortingOrder: _angular_core.InputSignal<SortDirection[]>;
|
|
437
442
|
/**
|
|
438
443
|
* Wording for the sort announcement, so it can be translated. Receives the
|
|
439
444
|
* column's label and the new direction; return an empty string to say nothing.
|
|
440
445
|
*/
|
|
441
|
-
readonly sortAnnouncement: _angular_core.InputSignal<(label: string, dir:
|
|
446
|
+
readonly sortAnnouncement: _angular_core.InputSignal<(label: string, dir: SortDirection) => string>;
|
|
442
447
|
/**
|
|
443
448
|
* Wording for the row-range announcement, so it can be translated. Receives
|
|
444
449
|
* the 1-based first and last row on screen and the total; return an empty
|
|
@@ -492,6 +497,12 @@ declare class TableComponent<T extends object> {
|
|
|
492
497
|
readonly showPageSize: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
493
498
|
/** Shows the "N of M" range label in the footer pager. */
|
|
494
499
|
readonly showLabel: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
500
|
+
/** Control height of the footer pager's buttons and picker. Unset falls back to
|
|
501
|
+
* `DS_CONFIG.pagination.size`, then `DS_CONFIG.control.size`, then `'sm'`. */
|
|
502
|
+
readonly paginationSize: _angular_core.InputSignal<DsSize | null>;
|
|
503
|
+
/** `'spread'` gives the footer pager the table's full width, label at one edge and controls
|
|
504
|
+
* at the other. Unset falls back to `DS_CONFIG.pagination.layout`, then `'grouped'`. */
|
|
505
|
+
readonly paginationLayout: _angular_core.InputSignal<PaginationLayout | null>;
|
|
495
506
|
/** Server-side total row count. `null` (default) = client paging: the table
|
|
496
507
|
* slices `data()` itself and the pager counts the rows in hand. When set, the
|
|
497
508
|
* host has already sliced to one page — the pager uses this count and the
|
|
@@ -616,7 +627,7 @@ declare class TableComponent<T extends object> {
|
|
|
616
627
|
$implicit: unknown;
|
|
617
628
|
row: unknown;
|
|
618
629
|
}> | null>;
|
|
619
|
-
protected readonly cellTemplateDirectives: _angular_core.Signal<readonly CellTemplateDirective[]>;
|
|
630
|
+
protected readonly cellTemplateDirectives: _angular_core.Signal<readonly CellTemplateDirective<any>[]>;
|
|
620
631
|
protected readonly cellTemplates: _angular_core.Signal<Record<string, TemplateRef<{
|
|
621
632
|
$implicit: unknown;
|
|
622
633
|
row: unknown;
|
|
@@ -810,8 +821,8 @@ declare class TableComponent<T extends object> {
|
|
|
810
821
|
* across re-renders. */
|
|
811
822
|
protected skeletonWidth(col: TableColumn<T>, rowIndex: number): string;
|
|
812
823
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
813
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "
|
|
824
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableComponent<any>, "ds-table", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "rowId": { "alias": "rowId"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "density": { "alias": "density"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "animateHeight": { "alias": "animateHeight"; "required": false; "isSignal": true; }; "selectedIds": { "alias": "selectedIds"; "required": false; "isSignal": true; }; "sortKey": { "alias": "sortKey"; "required": false; "isSignal": true; }; "sortDirection": { "alias": "sortDirection"; "required": false; "isSignal": true; }; "sortingOrder": { "alias": "sortingOrder"; "required": false; "isSignal": true; }; "sortAnnouncement": { "alias": "sortAnnouncement"; "required": false; "isSignal": true; }; "rangeAnnouncement": { "alias": "rangeAnnouncement"; "required": false; "isSignal": true; }; "skeletonRows": { "alias": "skeletonRows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "rowInteractive": { "alias": "rowInteractive"; "required": false; "isSignal": true; }; "activeRowId": { "alias": "activeRowId"; "required": false; "isSignal": true; }; "filterQuery": { "alias": "filterQuery"; "required": false; "isSignal": true; }; "columnFilters": { "alias": "columnFilters"; "required": false; "isSignal": true; }; "persistLayout": { "alias": "persistLayout"; "required": false; "isSignal": true; }; "storageKey": { "alias": "storageKey"; "required": false; "isSignal": true; }; "stickyScrollbar": { "alias": "stickyScrollbar"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "page": { "alias": "page"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showPageSize": { "alias": "showPageSize"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "paginationSize": { "alias": "paginationSize"; "required": false; "isSignal": true; }; "paginationLayout": { "alias": "paginationLayout"; "required": false; "isSignal": true; }; "total": { "alias": "total"; "required": false; "isSignal": true; }; "scrollToTopOnPageChange": { "alias": "scrollToTopOnPageChange"; "required": false; "isSignal": true; }; "sortMode": { "alias": "sortMode"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "columnFilterOptions": { "alias": "columnFilterOptions"; "required": false; "isSignal": true; }; "stickyScrollbarOffset": { "alias": "stickyScrollbarOffset"; "required": false; "isSignal": true; }; "stickyFirstColumn": { "alias": "stickyFirstColumn"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualRowSize": { "alias": "virtualRowSize"; "required": false; "isSignal": true; }; "lazy": { "alias": "lazy"; "required": false; "isSignal": true; }; "rowActions": { "alias": "rowActions"; "required": false; "isSignal": true; }; "cellTemplateMap": { "alias": "cellTemplateMap"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "expandableRows": { "alias": "expandableRows"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "expandMode": { "alias": "expandMode"; "required": false; "isSignal": true; }; "expandAllToggle": { "alias": "expandAllToggle"; "required": false; "isSignal": true; }; "rowExpandTemplate": { "alias": "rowExpandTemplate"; "required": false; "isSignal": true; }; }, { "selectedIds": "selectedIdsChange"; "sortKeyChange": "sortKeyChange"; "sortDirectionChange": "sortDirectionChange"; "columnFilters": "columnFiltersChange"; "pageSize": "pageSizeChange"; "page": "pageChange"; "lazyLoad": "lazyLoad"; "rowClicked": "rowClicked"; "sortChange": "sortChange"; "rowActionSelected": "rowActionSelected"; "cellEdited": "cellEdited"; "expandedIds": "expandedIdsChange"; "rowExpanded": "rowExpanded"; "rowCollapsed": "rowCollapsed"; }, ["cellTemplateDirectives", "headerFilters"], ["[toolbar]", "[empty]", "[bulk-actions]"], true, never>;
|
|
814
825
|
}
|
|
815
826
|
|
|
816
827
|
export { CellTemplateDirective, DsTableLayout, HeaderFilterDirective, TableComponent };
|
|
817
|
-
export type { DsTableColumnStage, DsTableExportContribution, DsTableRowStage, DsTableView, HeaderFilterContext, SortChangeEvent,
|
|
828
|
+
export type { CellTemplateContext, DsTableColumnStage, DsTableExportContribution, DsTableRowStage, DsTableView, HeaderFilterContext, SortChangeEvent, SortDirection, TableCellEditEvent, TableColumn, TableExpandMode, TableFilterMode, TableRowAction, TableRowActionEvent, TableSortMode };
|
|
@@ -77,6 +77,19 @@ declare class TextareaComponent extends DsControlValueAccessor<string> {
|
|
|
77
77
|
/** Move keyboard focus to the native textarea — public so a host can drive it
|
|
78
78
|
* deliberately, e.g. focusing the first invalid field on a failed submit. */
|
|
79
79
|
focus(options?: FocusOptions): void;
|
|
80
|
+
/** Index of the first selected character of the native textarea; 0 before the view exists. */
|
|
81
|
+
get selectionStart(): number;
|
|
82
|
+
/** Index after the last selected character of the native textarea; 0 before the view exists. */
|
|
83
|
+
get selectionEnd(): number;
|
|
84
|
+
/**
|
|
85
|
+
* Mirrors `HTMLTextAreaElement.setSelectionRange`. Does not move focus - call
|
|
86
|
+
* `focus()` first when the selection has to be visible. A value written through
|
|
87
|
+
* `value` reaches the element a microtask later and drops the caret to the end,
|
|
88
|
+
* so after `value.set(...)` set the range from a `setTimeout`, not synchronously.
|
|
89
|
+
*/
|
|
90
|
+
setSelectionRange(start: number, end: number, direction?: 'forward' | 'backward' | 'none'): void;
|
|
91
|
+
/** Selects the whole text, as `HTMLTextAreaElement.select()` does. */
|
|
92
|
+
select(): void;
|
|
80
93
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TextareaComponent, never>;
|
|
81
94
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TextareaComponent, "ds-textarea", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "readonlyBinding": { "alias": "readonly"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "autosize": { "alias": "autosize"; "required": false; "isSignal": true; }; "minRows": { "alias": "minRows"; "required": false; "isSignal": true; }; "maxRows": { "alias": "maxRows"; "required": false; "isSignal": true; }; "resize": { "alias": "resize"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; "pattern": { "alias": "pattern"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
82
95
|
}
|
|
@@ -94,7 +94,9 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
94
94
|
private readonly injector;
|
|
95
95
|
private readonly host;
|
|
96
96
|
/** Public panel tokens forwarded onto the portaled overlay pane on open so
|
|
97
|
-
* a consumer's `ds-time-picker { --ds-time-picker-panel-*: … }` reaches it.
|
|
97
|
+
* a consumer's `ds-time-picker { --ds-time-picker-panel-*: … }` reaches it.
|
|
98
|
+
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
99
|
+
* (overlay-motion.ts) onto every pane, the `--ds-option-*` family among them. */
|
|
98
100
|
private readonly panelTokens;
|
|
99
101
|
/** Selected time, or `[start, end]` tuple when `mode="range"`. Two-way bound. */
|
|
100
102
|
readonly value: _angular_core.ModelSignal<string | TimeRangeValue | null>;
|
|
@@ -85,9 +85,12 @@ declare class ToastRegionComponent {
|
|
|
85
85
|
/** Cap on concurrently visible toasts. Extras are queued and shown as
|
|
86
86
|
* earlier ones dismiss. `0` = unlimited. */
|
|
87
87
|
readonly maxVisible: _angular_core.InputSignal<number>;
|
|
88
|
+
/** Show a `+N` strip while toasts wait behind `maxVisible`. */
|
|
89
|
+
readonly showQueueCount: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
88
90
|
protected readonly visibleEntries: _angular_core.WritableSignal<readonly ToastEntry[]>;
|
|
89
91
|
protected readonly leaving: _angular_core.WritableSignal<ReadonlySet<number>>;
|
|
90
92
|
private readonly pendingQueue;
|
|
93
|
+
protected readonly queuedLabel: _angular_core.Signal<string | null>;
|
|
91
94
|
private readonly timers;
|
|
92
95
|
private readonly leaveTimers;
|
|
93
96
|
private readonly remaining;
|
|
@@ -100,7 +103,7 @@ declare class ToastRegionComponent {
|
|
|
100
103
|
/** Newest goes NEAREST the anchor, so the toast that just fired appears where the
|
|
101
104
|
* stack is pinned rather than at the far end of a list the reader has to hunt
|
|
102
105
|
* down. DOM order is the visual order, so this also keeps the reading order. */
|
|
103
|
-
|
|
106
|
+
protected readonly newestFirst: boolean;
|
|
104
107
|
add(entry: ToastEntry): void;
|
|
105
108
|
private show;
|
|
106
109
|
/** FLIP, rather than the usual absolute stack: absolute positioning collapses the region
|
|
@@ -130,7 +133,7 @@ declare class ToastRegionComponent {
|
|
|
130
133
|
clear(): void;
|
|
131
134
|
private drainQueue;
|
|
132
135
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToastRegionComponent, never>;
|
|
133
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastRegionComponent, "ds-toast-region", never, { "maxVisible": { "alias": "maxVisible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
136
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ToastRegionComponent, "ds-toast-region", never, { "maxVisible": { "alias": "maxVisible"; "required": false; "isSignal": true; }; "showQueueCount": { "alias": "showQueueCount"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
/**
|