@ids-group-ltd/ids-design-system 0.15.2 → 1.0.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 +214 -20
- package/{docs/agent → agent}/charts/ds-bar-chart.md +1 -1
- package/agent/charts/ds-chart.md +10 -0
- package/{docs/agent → agent}/charts/ds-column-chart.md +1 -1
- package/{docs/agent → agent}/charts/ds-funnel-chart.md +1 -1
- package/{docs/agent → agent}/charts/ds-heatmap-chart.md +1 -1
- package/{docs/agent → agent}/charts/ds-line-chart.md +1 -1
- package/{docs/agent → agent}/charts/ds-pie-chart.md +1 -1
- package/{docs/agent → agent}/charts/ds-scatter-chart.md +1 -1
- package/{docs/agent → agent}/charts/ds-waterfall-chart.md +1 -1
- package/{docs/agent → agent}/feedback/ds-empty-state.md +1 -1
- package/agent/forms/ds-autocomplete.md +13 -0
- package/{docs/agent → agent}/forms/ds-button.md +1 -1
- package/{docs/agent → agent}/forms/ds-checkbox.md +1 -1
- package/agent/forms/ds-color-picker.md +8 -0
- package/{docs/agent → agent}/forms/ds-date-picker.md +1 -1
- package/{docs/agent → agent}/forms/ds-input.md +1 -1
- package/{docs/agent → agent}/forms/ds-multi-select.md +1 -1
- package/agent/forms/ds-otp-input.md +8 -0
- package/{docs/agent → agent}/forms/ds-radio-group.md +1 -1
- package/{docs/agent → agent}/forms/ds-radio.md +1 -1
- package/{docs/agent → agent}/forms/ds-search.md +1 -1
- package/{docs/agent → agent}/forms/ds-segmented.md +1 -1
- package/{docs/agent → agent}/forms/ds-select.md +1 -1
- package/{docs/agent → agent}/forms/ds-slider.md +1 -1
- package/{docs/agent → agent}/forms/ds-switch.md +1 -1
- package/{docs/agent → agent}/forms/ds-textarea.md +1 -1
- package/agent/forms/ds-time-picker.md +8 -0
- package/{docs/agent → agent}/forms/the-picker-family-ds-select-ds-multi-select-ds-autocomplete.md +1 -1
- package/{docs/agent → agent}/overlays/ds-definition-term.md +1 -1
- package/agent/overlays/ds-tooltip.md +12 -0
- package/{docs/agent → agent}/platform/ds-config.md +2 -1
- package/{docs/agent → agent}/tables/ds-table.md +1 -1
- package/components.md +36 -35
- package/design-system.md +2 -2
- package/eslint/deprecated-api.json +224 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +2 -2
- 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 +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-badge.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-calendar-day.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-card.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-legend.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +12 -11
- 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 +12 -12
- 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 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-checkbox.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -4
- 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 +2 -2
- 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 +17 -22
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.mjs +3 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-definition-term.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-divider.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-divider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +7 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-message.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-funnel-chart.mjs +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-heatmap-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-info-hint.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-loading-overlay.mjs +7 -3
- 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 +6 -6
- 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 +17 -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 +9 -6
- 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 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-password-rules.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-radio-group.mjs +4 -7
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-segmented.mjs +2 -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 +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav-footer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs +6 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-sidenav.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +2 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-sparkline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +7 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stat.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-status-dot.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-submitted.mjs +52 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-submitted.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs +2 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +71 -25
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tag.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs +2 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-textarea.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs +276 -15
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-toggle-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +84 -31
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-waterfall-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +76 -45
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +27 -2
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +2 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +21 -23
- package/migrations/0.10.2.json +3 -5
- package/migrations/0.10.3.json +1 -3
- package/migrations/0.11.0.json +4 -6
- package/migrations/0.11.1.json +1 -3
- package/migrations/0.13.0.json +4 -4
- package/migrations/0.13.4.json +20 -4
- package/migrations/0.14.0.json +1 -2
- package/migrations/0.15.1.json +5 -5
- package/migrations/0.15.3.json +175 -0
- package/migrations/0.6.2.json +5 -3
- package/migrations/0.7.1.json +1 -2
- package/migrations/0.8.0.json +2 -2
- package/migrations/0.9.0.json +14 -19
- package/migrations/1.0.0.json +374 -0
- package/migrations/README.md +11 -11
- package/package.json +9 -1
- package/schematics/check-overrides/surface.json +12 -1
- package/styles/_component-base.scss +29 -39
- package/styles/_dropdown-overlay.scss +7 -3
- package/styles/_focus.scss +4 -4
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +1 -2
- package/types/ids-group-ltd-ids-design-system-components-empty-state.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-loading-overlay.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-submitted.d.ts +27 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +30 -9
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +48 -3
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +44 -12
- package/types/ids-group-ltd-ids-design-system-components.d.ts +36 -21
- package/types/ids-group-ltd-ids-design-system-core.d.ts +32 -7
- package/types/ids-group-ltd-ids-design-system.d.ts +5 -4
- package/docs/agent/charts/ds-chart.md +0 -10
- package/docs/agent/forms/ds-autocomplete.md +0 -13
- package/docs/agent/forms/ds-color-picker.md +0 -8
- package/docs/agent/forms/ds-otp-input.md +0 -8
- package/docs/agent/forms/ds-time-picker.md +0 -8
- package/docs/agent/overlays/ds-tooltip.md +0 -12
- /package/{docs/agent → agent}/INDEX.md +0 -0
- /package/{docs/agent → agent}/charts/chart-colour-which-palette-a-chart-takes.md +0 -0
- /package/{docs/agent → agent}/charts/chart-frame-the-box-a-chart-draws-around-itself.md +0 -0
- /package/{docs/agent → agent}/charts/column-series-component.md +0 -0
- /package/{docs/agent → agent}/charts/ds-chart-data-table.md +0 -0
- /package/{docs/agent → agent}/charts/ds-config.md +0 -0
- /package/{docs/agent → agent}/charts/line-series-component.md +0 -0
- /package/{docs/agent → agent}/charts/reference-label-component.md +0 -0
- /package/{docs/agent → agent}/charts/reference-line-component.md +0 -0
- /package/{docs/agent → agent}/charts/series-annotation-component.md +0 -0
- /package/{docs/agent → agent}/domain/ds-w3w.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-alert.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-avatar-group.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-avatar.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-badge.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-banner.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-bar.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-description-item.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-description-list.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-list-item.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-list.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-loading-overlay.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-skeleton.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-spinner.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-stat.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-status-dot.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-tag.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-timeline-item.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-toast-region.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-toast.md +0 -0
- /package/{docs/agent → agent}/feedback/ds-tree.md +0 -0
- /package/{docs/agent → agent}/forms/ds-button-group.md +0 -0
- /package/{docs/agent → agent}/forms/ds-dropzone.md +0 -0
- /package/{docs/agent → agent}/forms/ds-field-group.md +0 -0
- /package/{docs/agent → agent}/forms/ds-filter-bar.md +0 -0
- /package/{docs/agent → agent}/forms/ds-icon-button.md +0 -0
- /package/{docs/agent → agent}/forms/ds-number-stepper.md +0 -0
- /package/{docs/agent → agent}/forms/ds-password-rules.md +0 -0
- /package/{docs/agent → agent}/forms/ds-split-button.md +0 -0
- /package/{docs/agent → agent}/forms/ds-toggle-button.md +0 -0
- /package/{docs/agent → agent}/forms/filter-item-directive.md +0 -0
- /package/{docs/agent → agent}/foundations/global-helper-classes.md +0 -0
- /package/{docs/agent → agent}/foundations/grid.md +0 -0
- /package/{docs/agent → agent}/foundations/tokens.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-app-layout.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-auth-layout.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-breadcrumbs.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-container.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-divider.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-inline.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-page-footer.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-page-header.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-pagination.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-sidenav-footer.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-sidenav-group.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-sidenav-item.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-sidenav.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-stack.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-stepper.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-tab.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-tabs.md +0 -0
- /package/{docs/agent → agent}/navigation/ds-topbar.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-bottom-sheet.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-drawer.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-info-hint.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-menu.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-modal-card.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-modal.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-popover.md +0 -0
- /package/{docs/agent → agent}/overlays/ds-tooltip-panel.md +0 -0
- /package/{docs/agent → agent}/platform/body-scroll-lock-service.md +0 -0
- /package/{docs/agent → agent}/platform/breadcrumbs-service.md +0 -0
- /package/{docs/agent → agent}/platform/ds-icon-registry.md +0 -0
- /package/{docs/agent → agent}/platform/ds-intl.md +0 -0
- /package/{docs/agent → agent}/platform/toast-service.md +0 -0
- /package/{docs/agent → agent}/surfaces/ds-accordion-item.md +0 -0
- /package/{docs/agent → agent}/surfaces/ds-accordion.md +0 -0
- /package/{docs/agent → agent}/surfaces/ds-card.md +0 -0
- /package/{docs/agent → agent}/tables/ds-cell-template.md +0 -0
- /package/{docs/agent → agent}/tables/ds-table-columns.md +0 -0
- /package/{docs/agent → agent}/tables/ds-table-export.md +0 -0
- /package/{docs/agent → agent}/tables/header-filter-directive.md +0 -0
|
@@ -5,52 +5,42 @@
|
|
|
5
5
|
// elements only; `interpolate-size` is inherited, so content projected into the host takes it as
|
|
6
6
|
// under the reset.
|
|
7
7
|
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
8
|
+
// Each selector sits in `:where()`, so any rule above zero specificity wins over it, the app's own
|
|
9
|
+
// global rules such as a custom `:focus-visible` ring included; a zero-specificity rule ties and the
|
|
10
|
+
// later one wins, so include this first. No `::before`/`::after` rule: a pseudo-element cannot sit in
|
|
11
|
+
// `:where()`, so it would take the encapsulation attribute's (0,1,1) and beat the app's own; a
|
|
12
|
+
// component sets `box-sizing` on each pseudo-element whose size depends on it. Not a cascade layer: Chromium relayouts
|
|
13
|
+
// the whole page whenever a stylesheet holding one is removed, as Angular does when a component's
|
|
14
|
+
// last instance is destroyed.
|
|
11
15
|
@mixin rules {
|
|
12
|
-
|
|
13
|
-
:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
16
|
+
:where(:host) {
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
interpolate-size: allow-keywords;
|
|
19
|
+
}
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
}
|
|
21
|
+
:where(*) {
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
}
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
textarea {
|
|
28
|
-
font-family: inherit;
|
|
29
|
-
}
|
|
25
|
+
:where(button, input, select, textarea) {
|
|
26
|
+
font-family: inherit;
|
|
27
|
+
}
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
h4,
|
|
35
|
-
h5,
|
|
36
|
-
h6 {
|
|
37
|
-
margin: 0;
|
|
38
|
-
}
|
|
29
|
+
:where(h1, h2, h3, h4, h5, h6) {
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
39
32
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
@include focus.ring;
|
|
33
|
+
// The base ring of `focus.emit-rules`, for what the component does not style itself.
|
|
34
|
+
:where(:host(:focus-visible), :focus-visible) {
|
|
35
|
+
@include focus.ring;
|
|
44
36
|
|
|
45
|
-
|
|
46
|
-
|
|
37
|
+
border-radius: var(--focus-ring-radius);
|
|
38
|
+
}
|
|
47
39
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
:
|
|
51
|
-
|
|
52
|
-
outline-offset: var(--focus-ring-offset);
|
|
53
|
-
}
|
|
40
|
+
@media (forced-colors: active) {
|
|
41
|
+
:where(:host(:focus-visible), :focus-visible) {
|
|
42
|
+
outline: var(--focus-ring-width) solid CanvasText;
|
|
43
|
+
outline-offset: var(--focus-ring-offset);
|
|
54
44
|
}
|
|
55
45
|
}
|
|
56
46
|
}
|
|
@@ -33,9 +33,14 @@
|
|
|
33
33
|
--_dropdown-panel-shadow: var(--ds-dropdown-panel-shadow, var(--shadow-popover));
|
|
34
34
|
--_dropdown-panel-max-height: var(--ds-dropdown-panel-max-height, 320px);
|
|
35
35
|
|
|
36
|
-
/*
|
|
36
|
+
/* The min width is the pane's (`dropdownMinWidth` reads it), so the overlay is placed by the width
|
|
37
|
+
it is drawn at. The max width only applies in `content` mode; `fill` pins the pane to the trigger. */
|
|
37
38
|
--_dropdown-panel-min-width: var(--ds-dropdown-panel-min-width, 0);
|
|
38
|
-
--_dropdown-panel-max-width:
|
|
39
|
+
--_dropdown-panel-max-width: none;
|
|
40
|
+
|
|
41
|
+
&.ds-dropdown-panel-content-width {
|
|
42
|
+
--_dropdown-panel-max-width: var(--ds-dropdown-panel-max-width, none);
|
|
43
|
+
}
|
|
39
44
|
|
|
40
45
|
.dropdown-panel {
|
|
41
46
|
// The panel is a flex child of the pane; without this it shrinks to its option content.
|
|
@@ -45,7 +50,6 @@
|
|
|
45
50
|
border-radius: var(--_dropdown-panel-radius);
|
|
46
51
|
box-shadow: var(--_dropdown-panel-shadow);
|
|
47
52
|
padding: var(--space-1);
|
|
48
|
-
min-width: var(--_dropdown-panel-min-width);
|
|
49
53
|
max-width: var(--_dropdown-panel-max-width);
|
|
50
54
|
max-height: var(--_dropdown-panel-max-height);
|
|
51
55
|
display: flex;
|
package/styles/_focus.scss
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
// The control indicator. Does not touch box-shadow, so a focused card keeps its elevation; a state
|
|
5
5
|
// painting its own shadow must yield, see `state-shadow`.
|
|
6
|
-
// An outline follows the element's border-radius
|
|
6
|
+
// An outline follows the element's border-radius; `component-base` gives `--focus-ring-radius` to a
|
|
7
|
+
// library element that declares none.
|
|
7
8
|
// Include inside `&:focus-visible`, never on the element itself, or every instance is ringed at all times.
|
|
8
9
|
// Usually include nothing: `:where(:focus-visible)` in `emit-rules` rings anything focusable that styles nothing itself.
|
|
9
10
|
// Pass a negative offset where an ancestor clips.
|
|
@@ -53,11 +54,10 @@
|
|
|
53
54
|
@mixin emit-rules {
|
|
54
55
|
// Catches anything focusable that styles nothing itself; a shell ringing on `:focus-within`
|
|
55
56
|
// silences its control with `owns-the-focus-ring` to avoid a second ring.
|
|
56
|
-
//
|
|
57
|
+
// No radius here: the ring follows the element's own shape, and the radius of a consumer's
|
|
58
|
+
// element is the consumer's to set. The library's own elements get theirs from `component-base`.
|
|
57
59
|
:where(:focus-visible) {
|
|
58
60
|
@include ring;
|
|
59
|
-
|
|
60
|
-
border-radius: var(--focus-ring-radius);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
@keyframes ds-focus-ring-in {
|
|
@@ -45,9 +45,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
45
45
|
/** How `routerLinkActive` decides the `active` class; prefix by default. It also bounds the
|
|
46
46
|
* announcement: with `{ exact: true }` a prefix match announces nothing rather than `true`.
|
|
47
47
|
* Pass `ariaCurrent` alongside to keep one. */
|
|
48
|
-
readonly routerLinkActiveOptions: _angular_core.InputSignal<
|
|
48
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<{
|
|
49
49
|
exact: boolean;
|
|
50
|
-
}>;
|
|
50
|
+
} | IsActiveMatchOptions>;
|
|
51
51
|
/** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
|
|
52
52
|
* `true`; `null` announces nothing; use `step` or `location` when the link is not a page. */
|
|
53
53
|
readonly ariaCurrent: _angular_core.InputSignal<DsAriaCurrent | null | undefined>;
|
|
@@ -87,6 +87,8 @@ interface ChartScales {
|
|
|
87
87
|
readonly activeIndex: Signal<number>;
|
|
88
88
|
/** Whether the category cursor answers the pointer; while it does, marks answer focus and clicks only. Absent means off. */
|
|
89
89
|
readonly cursorOn?: Signal<boolean>;
|
|
90
|
+
/** Whether a click holds the category cursor where it is. Absent means it never does. */
|
|
91
|
+
readonly cursorPinned?: Signal<boolean>;
|
|
90
92
|
/** The category whose axis label the pointer is on, while the category cursor is off. */
|
|
91
93
|
readonly categoryLabelHover?: Signal<{
|
|
92
94
|
readonly index: number;
|
|
@@ -99,7 +99,7 @@ declare class ColumnChartComponent extends DsChartBase implements ChartDimmable,
|
|
|
99
99
|
/** Where the tooltip anchors: `'mark'` (default) is the column; `'cell'` is the full-height category cell. */
|
|
100
100
|
readonly tooltipAnchor: _angular_core.InputSignal<"mark" | "cell">;
|
|
101
101
|
/** Keeps the panel clear of the value printed above the column. */
|
|
102
|
-
protected readonly valueClearance: _angular_core.Signal<
|
|
102
|
+
protected readonly valueClearance: _angular_core.Signal<0 | 18>;
|
|
103
103
|
protected readonly tooltipLingerResolved: _angular_core.Signal<number>;
|
|
104
104
|
protected readonly geometry: _angular_core.Signal<{
|
|
105
105
|
plotHeight: number;
|
|
@@ -113,8 +113,7 @@ declare class DatePickerComponent extends DsControlValueAccessor<Date | DateRang
|
|
|
113
113
|
readonly allowInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
114
114
|
protected readonly isDisabled: _angular_core.Signal<boolean>;
|
|
115
115
|
protected readonly hintId: _angular_core.Signal<string | null>;
|
|
116
|
-
private readonly
|
|
117
|
-
private readonly dateInvalid;
|
|
116
|
+
private readonly parseErrors;
|
|
118
117
|
private readonly fieldMessage;
|
|
119
118
|
protected readonly message: _angular_core.Signal<_ids_group_ltd_ids_design_system_components.DsFieldMessage>;
|
|
120
119
|
protected readonly pendingShown: _angular_core.Signal<boolean>;
|
|
@@ -2,6 +2,7 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
3
3
|
|
|
4
4
|
type EmptyStateVariant = 'none' | 'loading' | 'error' | 'locked' | 'success';
|
|
5
|
+
type EmptyStateTitleOverflow = 'wrap' | 'clip';
|
|
5
6
|
|
|
6
7
|
declare class EmptyStateComponent {
|
|
7
8
|
/** Drives the default icon; `'loading'` shows a loading overlay. */
|
|
@@ -10,13 +11,16 @@ declare class EmptyStateComponent {
|
|
|
10
11
|
readonly icon: _angular_core.InputSignal<IconName | null>;
|
|
11
12
|
/** Optional heading below the icon. */
|
|
12
13
|
readonly title: _angular_core.InputSignal<string>;
|
|
14
|
+
/** `'wrap'` breaks a long title over lines; `'clip'` keeps one line, ends it with an ellipsis
|
|
15
|
+
* and shows the full title in a tooltip. */
|
|
16
|
+
readonly titleOverflow: _angular_core.InputSignal<EmptyStateTitleOverflow>;
|
|
13
17
|
/** Optional supporting text below the title. */
|
|
14
18
|
readonly body: _angular_core.InputSignal<string>;
|
|
15
19
|
protected readonly classes: _angular_core.Signal<string>;
|
|
16
20
|
protected readonly resolvedIcon: _angular_core.Signal<IconName>;
|
|
17
21
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
18
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateComponent, "ds-empty-state", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; }, {}, never, ["[actions]"], true, never>;
|
|
22
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EmptyStateComponent, "ds-empty-state", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "titleOverflow": { "alias": "titleOverflow"; "required": false; "isSignal": true; }; "body": { "alias": "body"; "required": false; "isSignal": true; }; }, {}, never, ["[actions]"], true, never>;
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
export { EmptyStateComponent };
|
|
22
|
-
export type { EmptyStateVariant };
|
|
26
|
+
export type { EmptyStateTitleOverflow, EmptyStateVariant };
|
|
@@ -19,6 +19,7 @@ declare class LoadingOverlayComponent {
|
|
|
19
19
|
* `inert` yourself.
|
|
20
20
|
*/
|
|
21
21
|
readonly inertContent: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
constructor();
|
|
22
23
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LoadingOverlayComponent, never>;
|
|
23
24
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LoadingOverlayComponent, "ds-loading-overlay", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "blur": { "alias": "blur"; "required": false; "isSignal": true; }; "spinnerSize": { "alias": "spinnerSize"; "required": false; "isSignal": true; }; "insetTop": { "alias": "insetTop"; "required": false; "isSignal": true; }; "inertContent": { "alias": "inertContent"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
24
25
|
}
|
|
@@ -35,7 +35,7 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
35
35
|
* `centerValue` and `centerLabel`. */
|
|
36
36
|
readonly showHoverCenter: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
37
37
|
/** Legend placement, logical so it flips in right-to-left. */
|
|
38
|
-
readonly legend: _angular_core.InputSignal<"
|
|
38
|
+
readonly legend: _angular_core.InputSignal<"none" | "end" | "bottom">;
|
|
39
39
|
/** How many slices, and legend rows, the loading skeleton draws before the data is known. */
|
|
40
40
|
readonly skeletonCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
41
41
|
/** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
|
|
@@ -6,6 +6,7 @@ declare class SpinnerComponent {
|
|
|
6
6
|
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
7
7
|
/** Spinner size - sm/md/lg. */
|
|
8
8
|
readonly size: _angular_core.InputSignal<DsSize>;
|
|
9
|
+
constructor();
|
|
9
10
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
10
11
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SpinnerComponent, "ds-spinner", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
12
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The form's submit flag. Every DS field declared inside the host shows its validation errors
|
|
5
|
+
* only while the flag is `true`; the submit button reads the same flag:
|
|
6
|
+
*
|
|
7
|
+
* ```html
|
|
8
|
+
* <form [dsSubmitted]="submitted()">
|
|
9
|
+
* <ds-input label="Email" [formField]="form.email" />
|
|
10
|
+
* <ds-button [disabled]="submitted() && form().invalid()" (pressed)="send()">Send</ds-button>
|
|
11
|
+
* </form>
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* Set the flag at the start of the submit handler and back to `false` when the form resets.
|
|
15
|
+
* Any element can host it, so fields outside a `<form>` work the same way. A reactive or
|
|
16
|
+
* template-driven form submitted through `ngSubmit` reveals its errors without it.
|
|
17
|
+
*
|
|
18
|
+
* Applies to fields declared inside the host; projected content keeps the injector of the
|
|
19
|
+
* template it was written in.
|
|
20
|
+
*/
|
|
21
|
+
declare class SubmittedDirective {
|
|
22
|
+
readonly dsSubmitted: i0.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubmittedDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SubmittedDirective, "[dsSubmitted]", never, { "dsSubmitted": { "alias": "dsSubmitted"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { SubmittedDirective };
|
|
@@ -321,6 +321,18 @@ declare class TableComponent<T extends object> {
|
|
|
321
321
|
protected readonly loadingMode: _angular_core.Signal<false | "skeleton" | "overlay">;
|
|
322
322
|
/** Keeps the header row pinned while the body scrolls. */
|
|
323
323
|
readonly stickyHeader: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
324
|
+
/**
|
|
325
|
+
* Prints every row of a client-paged table instead of the page on screen, without the
|
|
326
|
+
* pager. A server-paged table (`total`) holds only its page, so it prints that page.
|
|
327
|
+
*/
|
|
328
|
+
readonly printAllRows: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
329
|
+
/**
|
|
330
|
+
* Prints as the first row of the header, repeated on every printed page with it, so a
|
|
331
|
+
* table's heading never ends a page without the table. Hidden on screen.
|
|
332
|
+
*/
|
|
333
|
+
readonly printHeading: _angular_core.InputSignal<string | null>;
|
|
334
|
+
/** A line under `printHeading` in the printout. */
|
|
335
|
+
readonly printHeadingNote: _angular_core.InputSignal<string | null>;
|
|
324
336
|
/** Caps the scroll body height (any CSS length) and scrolls it vertically; pair with
|
|
325
337
|
* `stickyHeader`. `null` (default) grows to content. */
|
|
326
338
|
readonly maxHeight: _angular_core.InputSignal<string | null>;
|
|
@@ -419,15 +431,14 @@ declare class TableComponent<T extends object> {
|
|
|
419
431
|
* `--ds-table-sticky-scrollbar-offset` wins over both. */
|
|
420
432
|
readonly stickyScrollbarOffset: _angular_core.InputSignal<string | null>;
|
|
421
433
|
readonly stickyScrollbarOffsetResolved: _angular_core.Signal<string | null>;
|
|
422
|
-
/** `'
|
|
423
|
-
*
|
|
424
|
-
*
|
|
425
|
-
* `'
|
|
426
|
-
* @deprecated `'auto'` is a temporary
|
|
427
|
-
*
|
|
428
|
-
* it, then delete the binding. */
|
|
434
|
+
/** `'auto'`, the default: the 0.15.0 widths, which follow the cell content and ignore `kind`.
|
|
435
|
+
* `'fixed'`: a column is as wide as its `width`, else its `kind`, else an equal share of what
|
|
436
|
+
* the others leave, whatever its cells hold. Unset falls back to `DS_CONFIG.table.layout`, then
|
|
437
|
+
* `'auto'`.
|
|
438
|
+
* @deprecated `'auto'` is a temporary default and will be removed. Binding it changes nothing,
|
|
439
|
+
* so delete the binding; to take the configured widths now, set `'fixed'`. */
|
|
429
440
|
readonly layoutMode: _angular_core.InputSignal<"auto" | "fixed" | null>;
|
|
430
|
-
private readonly
|
|
441
|
+
private readonly layoutChosen;
|
|
431
442
|
protected readonly autoLayout: _angular_core.Signal<boolean>;
|
|
432
443
|
/** Pin the first data column (and the select column) on horizontal scroll. */
|
|
433
444
|
readonly stickyFirstColumn: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -541,6 +552,9 @@ declare class TableComponent<T extends object> {
|
|
|
541
552
|
protected clearColumnFilter(): void;
|
|
542
553
|
private readonly injector;
|
|
543
554
|
private readonly destroyRef;
|
|
555
|
+
private readonly changeDetector;
|
|
556
|
+
protected readonly printing: _angular_core.WritableSignal<boolean>;
|
|
557
|
+
protected onPrintChange(printing: boolean): void;
|
|
544
558
|
private readonly editInput;
|
|
545
559
|
protected readonly editingCell: _angular_core.WritableSignal<{
|
|
546
560
|
rowId: string;
|
|
@@ -581,6 +595,13 @@ declare class TableComponent<T extends object> {
|
|
|
581
595
|
private readonly rendered;
|
|
582
596
|
/** One per visible column; `null` leaves the column to share the slack with the others. Read
|
|
583
597
|
* from the columns, the header labels and the container, never from the rows. */
|
|
598
|
+
private columnFloor;
|
|
599
|
+
/** `undefined` for a column that takes a share of the slack. */
|
|
600
|
+
private readonly declaredWidths;
|
|
601
|
+
/** A `table-layout: fixed` table at `width: 100%` has no max-content width, so a `max-content`
|
|
602
|
+
* container widens it to the engine's cap (1 000 000px in Chromium and WebKit). The wrap gives
|
|
603
|
+
* a shrink-to-fit container the columns at their floors instead. */
|
|
604
|
+
protected readonly intrinsicWidth: _angular_core.Signal<number | null>;
|
|
584
605
|
protected readonly columnWidths: _angular_core.Signal<readonly (number | null)[]>;
|
|
585
606
|
/** In auto layout at max-content, `tbody` hidden or shown, so a cell gives the width it asks
|
|
586
607
|
* for. Restores the scroll position the narrower table may have clamped. */
|
|
@@ -688,7 +709,7 @@ declare class TableComponent<T extends object> {
|
|
|
688
709
|
private warnNoExport;
|
|
689
710
|
protected skeletonWidth(col: TableColumn<T>, rowIndex: number): string;
|
|
690
711
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
691
|
-
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; }; "layoutMode": { "alias": "layout"; "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>;
|
|
712
|
+
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; }; "printAllRows": { "alias": "printAllRows"; "required": false; "isSignal": true; }; "printHeading": { "alias": "printHeading"; "required": false; "isSignal": true; }; "printHeadingNote": { "alias": "printHeadingNote"; "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; }; "layoutMode": { "alias": "layout"; "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>;
|
|
692
713
|
}
|
|
693
714
|
|
|
694
715
|
export { CellTemplateDirective, DsTableLayout, HeaderFilterDirective, TableComponent };
|
|
@@ -8,6 +8,9 @@ import { DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
|
8
8
|
|
|
9
9
|
type TimePickerMode = 'single' | 'range';
|
|
10
10
|
type TimeFormat = '24h' | '12h';
|
|
11
|
+
/** Whether the hour and minute columns run on past either end: `'auto'` when a column holds more
|
|
12
|
+
* values than it shows, `'always'`, or `'never'`. */
|
|
13
|
+
type TimePickerLoop = 'auto' | 'always' | 'never';
|
|
11
14
|
/** Canonical stored value: 24h `"HH:MM"`. */
|
|
12
15
|
type TimeValue = string;
|
|
13
16
|
type TimeRangeValue = [string | null, string | null];
|
|
@@ -36,6 +39,9 @@ declare class TimeColumnsComponent {
|
|
|
36
39
|
readonly maxTime: _angular_core.InputSignal<string | null>;
|
|
37
40
|
/** Per-time predicate receiving `HH:mm`; return true to disable. */
|
|
38
41
|
readonly disabledTime: _angular_core.InputSignal<((time: string) => boolean) | null>;
|
|
42
|
+
/** Whether the hour and minute columns run on past either end; `'auto'` loops a column that holds
|
|
43
|
+
* more values than it shows. */
|
|
44
|
+
readonly loop: _angular_core.InputSignal<TimePickerLoop>;
|
|
39
45
|
/** A complete time was picked, as `HH:mm`; not emitted while only one column has moved. */
|
|
40
46
|
readonly timeChange: _angular_core.OutputEmitterRef<string>;
|
|
41
47
|
/** Which column the pick came from, emitted right after `timeChange`, which carries a whole time and cannot say which half moved. */
|
|
@@ -53,9 +59,41 @@ declare class TimeColumnsComponent {
|
|
|
53
59
|
protected readonly hourCells: _angular_core.Signal<Cell<number>[]>;
|
|
54
60
|
protected readonly minuteCells: _angular_core.Signal<Cell<number>[]>;
|
|
55
61
|
protected readonly periodCells: _angular_core.Signal<Cell<"AM" | "PM">[]>;
|
|
62
|
+
private readonly hourColumn;
|
|
63
|
+
private readonly minuteColumn;
|
|
64
|
+
private readonly hoursOverflow;
|
|
65
|
+
private readonly minutesOverflow;
|
|
66
|
+
protected readonly loopCopiesEachSide: number[];
|
|
67
|
+
private userPicked;
|
|
68
|
+
private pickingByScroll;
|
|
69
|
+
private readonly userScrolledColumns;
|
|
70
|
+
private readonly wheelSpeed;
|
|
71
|
+
private readonly wheelScrolls;
|
|
72
|
+
private readonly smoothScrolls;
|
|
73
|
+
protected readonly hoursLoop: _angular_core.Signal<boolean>;
|
|
74
|
+
protected readonly minutesLoop: _angular_core.Signal<boolean>;
|
|
75
|
+
protected readonly pickHour: (cell: Cell<number>) => void;
|
|
76
|
+
protected readonly pickMinute: (cell: Cell<number>) => void;
|
|
77
|
+
constructor();
|
|
56
78
|
protected readonly hourEntry: _angular_core.Signal<number>;
|
|
57
79
|
protected readonly minuteEntry: _angular_core.Signal<number>;
|
|
58
80
|
protected readonly periodEntry: _angular_core.Signal<number>;
|
|
81
|
+
private loops;
|
|
82
|
+
private overflows;
|
|
83
|
+
protected onScroll(event: Event, column: TimeColumnId, count: number): void;
|
|
84
|
+
/** Keeps a looping column inside its middle set, so a copy is always beyond either edge. */
|
|
85
|
+
private wrapScroll;
|
|
86
|
+
protected onUserScroll(event: Event): void;
|
|
87
|
+
protected onWheel(event: WheelEvent): void;
|
|
88
|
+
private scrollToWheelTarget;
|
|
89
|
+
protected onScrollbarGrab(event: PointerEvent): void;
|
|
90
|
+
protected onScrollEnd(event: Event, column: TimeColumnId, count: number): void;
|
|
91
|
+
private selectCentred;
|
|
92
|
+
private nearestEnabled;
|
|
93
|
+
private isSelected;
|
|
94
|
+
private wrapColumn;
|
|
95
|
+
private setHeight;
|
|
96
|
+
private releaseSmoothScroll;
|
|
59
97
|
protected selectHour(cell: Cell<number>): void;
|
|
60
98
|
protected selectMinute(cell: Cell<number>): void;
|
|
61
99
|
protected selectPeriod(cell: Cell<'AM' | 'PM'>): void;
|
|
@@ -75,9 +113,12 @@ declare class TimeColumnsComponent {
|
|
|
75
113
|
private selectAt;
|
|
76
114
|
private siblingColumn;
|
|
77
115
|
private focusColumn;
|
|
116
|
+
private markUserPick;
|
|
78
117
|
private scrollColumn;
|
|
118
|
+
private scrollSmoothly;
|
|
119
|
+
private prefersReducedMotion;
|
|
79
120
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimeColumnsComponent, never>;
|
|
80
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeColumnsComponent, "ds-time-columns", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; }, { "timeChange": "timeChange"; "partPicked": "partPicked"; }, never, never, true, never>;
|
|
121
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimeColumnsComponent, "ds-time-columns", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; }, { "timeChange": "timeChange"; "partPicked": "partPicked"; }, never, never, true, never>;
|
|
81
122
|
}
|
|
82
123
|
|
|
83
124
|
type Segment = 'single' | 'start' | 'end';
|
|
@@ -128,6 +169,10 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
128
169
|
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
129
170
|
/** Display clock; falls back to `DS_CONFIG.timePicker.format`, then the hour cycle of `DS_CONFIG.locale` / `LOCALE_ID`. */
|
|
130
171
|
readonly format: _angular_core.InputSignal<TimeFormat | null>;
|
|
172
|
+
/** Whether the hour and minute columns run on past either end; falls back to
|
|
173
|
+
* `DS_CONFIG.timePicker.loop`, then `'auto'`, which loops a column that holds more values than it shows. */
|
|
174
|
+
readonly loop: _angular_core.InputSignal<TimePickerLoop | null>;
|
|
175
|
+
protected readonly loopResolved: _angular_core.Signal<TimePickerLoop>;
|
|
131
176
|
protected readonly uid: string;
|
|
132
177
|
protected readonly labelId: string;
|
|
133
178
|
protected readonly openSegment: _angular_core.WritableSignal<Segment | null>;
|
|
@@ -173,8 +218,8 @@ declare class TimePickerComponent extends DsControlValueAccessor<string | TimeRa
|
|
|
173
218
|
private minutesOf;
|
|
174
219
|
private laterOf;
|
|
175
220
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TimePickerComponent, never>;
|
|
176
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof _ids_group_ltd_ids_design_system_components.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
221
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TimePickerComponent, "ds-time-picker", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "minuteStep": { "alias": "minuteStep"; "required": false; "isSignal": true; }; "minTime": { "alias": "minTime"; "required": false; "isSignal": true; }; "maxTime": { "alias": "maxTime"; "required": false; "isSignal": true; }; "disabledTime": { "alias": "disabledTime"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "optional": { "alias": "optional"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "success": { "alias": "success"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "format": { "alias": "format"; "required": false; "isSignal": true; }; "loop": { "alias": "loop"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, [{ directive: typeof _ids_group_ltd_ids_design_system_components.DsStaticPreview; inputs: { "staticPreview": "staticPreview"; }; outputs: {}; }]>;
|
|
177
222
|
}
|
|
178
223
|
|
|
179
224
|
export { TimePickerComponent };
|
|
180
|
-
export type { TimeFormat, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue };
|
|
225
|
+
export type { TimeFormat, TimePickerLoop, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue };
|
|
@@ -144,6 +144,7 @@ declare class ToastComponent {
|
|
|
144
144
|
/** Fires when the toast is dismissed or its action is invoked. */
|
|
145
145
|
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
146
146
|
protected readonly isLoading: _angular_core.Signal<boolean>;
|
|
147
|
+
constructor();
|
|
147
148
|
protected onAction(action: ToastAction): void;
|
|
148
149
|
protected readonly classes: _angular_core.Signal<string>;
|
|
149
150
|
protected readonly defaultIcon: _angular_core.Signal<IconName>;
|
|
@@ -1,11 +1,26 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken, Signal, OnDestroy, TemplateRef } from '@angular/core';
|
|
3
|
+
import { TooltipPlacement } from '@ids-group-ltd/ids-design-system/core';
|
|
4
|
+
export { TooltipPlacement } from '@ids-group-ltd/ids-design-system/core';
|
|
3
5
|
|
|
4
6
|
interface TooltipClipTarget {
|
|
5
7
|
readonly selector: string | null;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
/** Options for one `dsTooltip`, bound as `[dsTooltipConfig]`. An unset field falls back to
|
|
11
|
+
* `DsConfig.tooltip`, then the built-in default. */
|
|
12
|
+
interface DsTooltipConfig {
|
|
13
|
+
/** Which side the tip opens on. With no room there it opens on the opposite side. Default `'top'`. */
|
|
14
|
+
placement?: TooltipPlacement;
|
|
15
|
+
/** Milliseconds before the tip appears. Hiding is immediate. Default `120`. */
|
|
16
|
+
delay?: number;
|
|
17
|
+
/** Draws the arrow that points at the host. Default `true`. */
|
|
18
|
+
arrow?: boolean;
|
|
19
|
+
/** Opens with no delay, and a click keeps the tip open, as `dsTooltipPinOnClick`. Default `false`. */
|
|
20
|
+
pinOnClick?: boolean;
|
|
21
|
+
/** Shows the tip only while the host's text is clipped, as `dsTooltipWhenClipped`, which wins when set. */
|
|
22
|
+
whenClipped?: boolean | string;
|
|
23
|
+
}
|
|
9
24
|
|
|
10
25
|
/** @internal Lets a component that hosts the tooltip make a clipped host lead the tip with its own text. */
|
|
11
26
|
declare const TOOLTIP_LEADS_WITH_OWN_TEXT: InjectionToken<boolean>;
|
|
@@ -15,18 +30,26 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
15
30
|
private readonly overlay;
|
|
16
31
|
private readonly host;
|
|
17
32
|
private readonly document;
|
|
33
|
+
private readonly config;
|
|
18
34
|
private readonly hostPinOnClick;
|
|
19
35
|
private readonly leadsWithOwnText;
|
|
20
36
|
/** Tip text, or a template the panel renders as given. An empty string turns the tooltip off.
|
|
21
37
|
* Keep a template's content non-interactive: the panel is `role="tooltip"` and never takes focus. */
|
|
22
38
|
readonly dsTooltip: _angular_core.InputSignal<string | TemplateRef<unknown>>;
|
|
23
|
-
/**
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly
|
|
29
|
-
/**
|
|
39
|
+
/** Placement, delay, arrow, pin-on-click and the clipped test for this tip. An unset field falls
|
|
40
|
+
* back to `DsConfig.tooltip`, then the built-in default. */
|
|
41
|
+
readonly dsTooltipConfig: _angular_core.InputSignal<DsTooltipConfig | null>;
|
|
42
|
+
/** Which side the tip opens on. Wins over `dsTooltipConfig.placement`.
|
|
43
|
+
* @deprecated Use `[dsTooltipConfig]="{ placement }"`, or `provideDsConfig({ tooltip: { placement } })` app-wide. */
|
|
44
|
+
readonly dsTooltipPlacement: _angular_core.InputSignal<TooltipPlacement | null>;
|
|
45
|
+
/** Milliseconds before the tip appears. Wins over `dsTooltipConfig.delay`.
|
|
46
|
+
* @deprecated Use `[dsTooltipConfig]="{ delay }"`, or `provideDsConfig({ tooltip: { delay } })` app-wide. */
|
|
47
|
+
readonly dsTooltipDelay: _angular_core.InputSignal<number | null>;
|
|
48
|
+
/** Draws the arrow that points at the host. Wins over `dsTooltipConfig.arrow`.
|
|
49
|
+
* @deprecated Use `[dsTooltipConfig]="{ arrow }"`, or `provideDsConfig({ tooltip: { arrow } })` app-wide. */
|
|
50
|
+
readonly dsTooltipArrow: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
51
|
+
/** Show the tip only while the host shows less text than it holds: cut by width, or by lines
|
|
52
|
+
* under `overflow: hidden` or `clip`, as with `line-clamp`. Re-tested on every open.
|
|
30
53
|
* A boolean or the bare attribute tests the host. A selector tests the element it matches inside
|
|
31
54
|
* the host and discloses that element's text; while nothing matches, no clipped tip opens.
|
|
32
55
|
*
|
|
@@ -39,8 +62,16 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
39
62
|
readonly dsTooltipWhenClipped: _angular_core.InputSignalWithTransform<TooltipClipTarget | null, string | boolean | null | undefined>;
|
|
40
63
|
/** Opens the tip with no delay, and a click on the host keeps it open after the pointer leaves
|
|
41
64
|
* until a click outside, `Escape` or blur; a second click closes it. Without it a click closes the tip.
|
|
42
|
-
* While pinned the host carries `data-ds-tooltip-pinned`, a hook for styling the pinned trigger.
|
|
43
|
-
|
|
65
|
+
* While pinned the host carries `data-ds-tooltip-pinned`, a hook for styling the pinned trigger.
|
|
66
|
+
* Wins over `dsTooltipConfig.pinOnClick`.
|
|
67
|
+
* @deprecated Use `[dsTooltipConfig]="{ pinOnClick: true }"`, or `provideDsConfig({ tooltip: { pinOnClick } })` app-wide. */
|
|
68
|
+
readonly dsTooltipPinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
69
|
+
private readonly placement;
|
|
70
|
+
private readonly delay;
|
|
71
|
+
private readonly arrow;
|
|
72
|
+
private readonly pinOnClick;
|
|
73
|
+
private readonly whenClipped;
|
|
74
|
+
private resolve;
|
|
44
75
|
private isClipped;
|
|
45
76
|
private get hostElement();
|
|
46
77
|
private pinsOnClick;
|
|
@@ -81,7 +112,7 @@ declare class TooltipDirective implements OnDestroy {
|
|
|
81
112
|
private show;
|
|
82
113
|
ngOnDestroy(): void;
|
|
83
114
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
84
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[dsTooltip], [dsTooltipWhenClipped]", never, { "dsTooltip": { "alias": "dsTooltip"; "required": false; "isSignal": true; }; "dsTooltipPlacement": { "alias": "dsTooltipPlacement"; "required": false; "isSignal": true; }; "dsTooltipDelay": { "alias": "dsTooltipDelay"; "required": false; "isSignal": true; }; "dsTooltipArrow": { "alias": "dsTooltipArrow"; "required": false; "isSignal": true; }; "dsTooltipWhenClipped": { "alias": "dsTooltipWhenClipped"; "required": false; "isSignal": true; }; "dsTooltipPinOnClick": { "alias": "dsTooltipPinOnClick"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
115
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipDirective, "[dsTooltip], [dsTooltipWhenClipped]", never, { "dsTooltip": { "alias": "dsTooltip"; "required": false; "isSignal": true; }; "dsTooltipConfig": { "alias": "dsTooltipConfig"; "required": false; "isSignal": true; }; "dsTooltipPlacement": { "alias": "dsTooltipPlacement"; "required": false; "isSignal": true; }; "dsTooltipDelay": { "alias": "dsTooltipDelay"; "required": false; "isSignal": true; }; "dsTooltipArrow": { "alias": "dsTooltipArrow"; "required": false; "isSignal": true; }; "dsTooltipWhenClipped": { "alias": "dsTooltipWhenClipped"; "required": false; "isSignal": true; }; "dsTooltipPinOnClick": { "alias": "dsTooltipPinOnClick"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
85
116
|
}
|
|
86
117
|
|
|
87
118
|
interface TooltipSegment {
|
|
@@ -100,9 +131,10 @@ declare class TooltipPanelComponent {
|
|
|
100
131
|
readonly arrow: _angular_core.InputSignal<boolean>;
|
|
101
132
|
/** Element `id`, referenced by the trigger's `aria-describedby`. */
|
|
102
133
|
readonly panelId: _angular_core.InputSignal<string>;
|
|
134
|
+
constructor();
|
|
103
135
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipPanelComponent, never>;
|
|
104
136
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TooltipPanelComponent, "ds-tooltip-panel", never, { "text": { "alias": "text"; "required": true; "isSignal": true; }; "placement": { "alias": "placement"; "required": true; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": false; "isSignal": true; }; "panelId": { "alias": "panelId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
105
137
|
}
|
|
106
138
|
|
|
107
139
|
export { TOOLTIP_LEADS_WITH_OWN_TEXT, TOOLTIP_PIN_ON_CLICK, TooltipDirective, TooltipPanelComponent };
|
|
108
|
-
export type {
|
|
140
|
+
export type { DsTooltipConfig };
|