@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
|
@@ -415,6 +415,11 @@ type DsFieldErrorsInput = string | DsFieldError | readonly DsFieldError[] | null
|
|
|
415
415
|
* warning state and does NOT make the control invalid.
|
|
416
416
|
*/
|
|
417
417
|
declare const DS_FIELD_WARNING_KIND = "warning";
|
|
418
|
+
/**
|
|
419
|
+
* The submit flag `[dsSubmitted]` provides to the fields inside it: validation errors show only
|
|
420
|
+
* while it reads `true`.
|
|
421
|
+
*/
|
|
422
|
+
declare const DS_SUBMITTED: InjectionToken<Signal<boolean>>;
|
|
418
423
|
/** @internal */
|
|
419
424
|
declare function trimmedText(value: string | null | undefined): string;
|
|
420
425
|
/** The single line a field shows below itself, already resolved.
|
|
@@ -429,15 +434,13 @@ interface DsFieldMessageSources {
|
|
|
429
434
|
warning: Signal<string>;
|
|
430
435
|
error: Signal<string>;
|
|
431
436
|
errors: Signal<readonly DsFieldError[]>;
|
|
437
|
+
/** Errors the control raises itself (an unparseable date), shown on the same terms as `errors`. */
|
|
438
|
+
ownErrors?: Signal<readonly DsFieldError[]>;
|
|
432
439
|
invalid: Signal<boolean>;
|
|
433
440
|
/** The control's own disabled state (a disabled control is not announced as invalid). A getter,
|
|
434
441
|
* not a `Signal`, so a caller can hand it over before its own `isDisabled` is initialised. */
|
|
435
442
|
disabled?: () => boolean;
|
|
436
443
|
success?: Signal<string>;
|
|
437
|
-
/** The field's own touched state, if it tracks one (CVA blur). */
|
|
438
|
-
touchedSelf?: Signal<boolean>;
|
|
439
|
-
/** Bound by signal forms as part of the `FormUiControl` contract. */
|
|
440
|
-
touched?: Signal<boolean>;
|
|
441
444
|
/** Bound by signal forms; an async validator is running. */
|
|
442
445
|
pending?: Signal<boolean>;
|
|
443
446
|
/** Bound by signal forms; the user changed the value. */
|
|
@@ -461,15 +464,17 @@ interface DsFieldMessageResolution {
|
|
|
461
464
|
* Precedence, highest first:
|
|
462
465
|
*
|
|
463
466
|
* 1. `error` - an explicit string. Shown immediately: the consumer decided.
|
|
464
|
-
* 2. `errors` - validation errors. Shown once the
|
|
465
|
-
* `
|
|
467
|
+
* 2. `errors` - validation errors. Shown once the form is submitted: `[dsSubmitted]` reads
|
|
468
|
+
* `true`, or the parent `NgForm` / `FormGroupDirective` was submitted. Never on blur.
|
|
466
469
|
* 3. `warning` - advisory, not blocking.
|
|
467
470
|
* 4. `errors` whose kind is `DS_FIELD_WARNING_KIND` - the same, raised by the form model.
|
|
468
471
|
* 5. `success` - confirmation.
|
|
469
472
|
* 6. `hint` - helper text.
|
|
470
473
|
*
|
|
471
|
-
* Signal forms binds `errors` and `
|
|
472
|
-
* template-driven forms expose the same through `NgControl`, read here.
|
|
474
|
+
* Signal forms binds `errors` and `invalid` by input name (`FormUiControl`); reactive and
|
|
475
|
+
* template-driven forms expose the same through `NgControl`, read here. `invalid` with errors
|
|
476
|
+
* behind it waits for the submit like them; `invalid` alone was set by the consumer and paints
|
|
477
|
+
* immediately.
|
|
473
478
|
*
|
|
474
479
|
* Every rung carries its OWN text; `hint` is never recoloured into another state. `invalid` has
|
|
475
480
|
* no text: it paints the control and sets `aria-invalid`.
|
|
@@ -485,19 +490,19 @@ declare function resolveFieldMessage(sources: DsFieldMessageSources): DsFieldMes
|
|
|
485
490
|
* @internal
|
|
486
491
|
*/
|
|
487
492
|
declare abstract class DsFieldBase extends DsMessageBase {
|
|
488
|
-
/** Validation errors, shown once the
|
|
489
|
-
* reactive
|
|
493
|
+
/** Validation errors, shown once the form is submitted (`[dsSubmitted]`, or `ngSubmit` of a
|
|
494
|
+
* reactive or template-driven form). Bound by signal forms; reactive and template-driven
|
|
495
|
+
* forms are read through `NgControl`. */
|
|
490
496
|
readonly errors: i0.InputSignalWithTransform<readonly DsFieldError[], DsFieldErrorsInput>;
|
|
491
|
-
/** Paints the error state and sets `aria-invalid` WITHOUT a message; use `error` to show text.
|
|
497
|
+
/** Paints the error state and sets `aria-invalid` WITHOUT a message; use `error` to show text.
|
|
498
|
+
* Signal forms binds it alongside `errors`, and then it waits for the submit like them. */
|
|
492
499
|
readonly invalid: i0.InputSignalWithTransform<boolean, unknown>;
|
|
493
|
-
/** Whether the user has interacted with the field. Bound by signal forms; gates `errors`. */
|
|
494
|
-
readonly touched: i0.InputSignalWithTransform<boolean, unknown>;
|
|
495
500
|
static ɵfac: i0.ɵɵFactoryDeclaration<DsFieldBase, never>;
|
|
496
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DsFieldBase, never, never, { "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; };
|
|
501
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DsFieldBase, never, never, { "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
497
502
|
}
|
|
498
503
|
/**
|
|
499
504
|
* The form-state inputs of a DS value control: what signal forms binds by name beyond `errors`
|
|
500
|
-
* and `
|
|
505
|
+
* and `invalid`. Reactive and template-driven forms are read through `NgControl` instead.
|
|
501
506
|
* @internal
|
|
502
507
|
*/
|
|
503
508
|
declare abstract class DsFormControlBase extends DsFieldBase {
|
|
@@ -524,7 +529,6 @@ declare abstract class DsFormControlBase extends DsFieldBase {
|
|
|
524
529
|
*/
|
|
525
530
|
declare function valueControlBridge<T>(model: () => ModelSignal<T>): {
|
|
526
531
|
readonly formDisabled: WritableSignal<boolean>;
|
|
527
|
-
readonly touchedSelf: WritableSignal<boolean>;
|
|
528
532
|
markTouched(): void;
|
|
529
533
|
writeValue(next: T): void;
|
|
530
534
|
registerOnChange(fn: (next: T) => void): void;
|
|
@@ -542,13 +546,13 @@ declare abstract class DsControlValueAccessor<T> extends DsFormControlBase imple
|
|
|
542
546
|
/** Hides the control. Inline `display`: the `hidden` attribute loses to each control's `:host` display. */
|
|
543
547
|
readonly hidden: i0.InputSignalWithTransform<boolean, unknown>;
|
|
544
548
|
private readonly hostElement;
|
|
545
|
-
|
|
549
|
+
constructor();
|
|
550
|
+
/** Focuses the control's own input or trigger; `focusBoundControl()` reaches it through the host. */
|
|
546
551
|
focus(options?: FocusOptions): void;
|
|
547
552
|
/** Drops focus from anywhere inside this control; a portaled panel is left alone. */
|
|
548
553
|
blur(): void;
|
|
549
554
|
private readonly bridge;
|
|
550
555
|
protected readonly formDisabled: WritableSignal<boolean>;
|
|
551
|
-
protected readonly touchedSelf: WritableSignal<boolean>;
|
|
552
556
|
protected markTouched(): void;
|
|
553
557
|
writeValue(value: T): void;
|
|
554
558
|
registerOnChange(fn: (value: T) => void): void;
|
|
@@ -573,7 +577,6 @@ declare abstract class DsBooleanControlValueAccessor extends DsFormControlBase i
|
|
|
573
577
|
/** See `DsControlValueAccessor.blur`. */
|
|
574
578
|
blur(): void;
|
|
575
579
|
protected readonly formDisabled: WritableSignal<boolean>;
|
|
576
|
-
protected readonly touchedSelf: WritableSignal<boolean>;
|
|
577
580
|
private onChange;
|
|
578
581
|
private onTouched;
|
|
579
582
|
private synced;
|
|
@@ -684,6 +687,9 @@ declare abstract class DsChartBase {
|
|
|
684
687
|
/** Holds the clicked mark and its tooltip until a second click, Escape or a press outside.
|
|
685
688
|
* Unset falls back to `DS_CONFIG.chart.pinOnClick`, then `true`. The click output fires either way. */
|
|
686
689
|
readonly pinOnClick: i0.InputSignalWithTransform<boolean | null, unknown>;
|
|
690
|
+
/** Whether the hovered or focused column, bar or heatmap cell brightens. Unset falls back
|
|
691
|
+
* to `DS_CONFIG.chart.highlightActive`, then `true`. */
|
|
692
|
+
readonly highlightActive: i0.InputSignalWithTransform<boolean | null, unknown>;
|
|
687
693
|
protected readonly defaults: {
|
|
688
694
|
locale: string;
|
|
689
695
|
frame: Signal<ChartFrame>;
|
|
@@ -694,6 +700,7 @@ declare abstract class DsChartBase {
|
|
|
694
700
|
tooltipLingerMs: Signal<number>;
|
|
695
701
|
pinOnClick: Signal<boolean>;
|
|
696
702
|
hoverDelayMs: Signal<number>;
|
|
703
|
+
highlightActive: Signal<boolean>;
|
|
697
704
|
tooltipSwatches: Signal<boolean | "auto">;
|
|
698
705
|
};
|
|
699
706
|
protected readonly intl: Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
@@ -701,8 +708,9 @@ declare abstract class DsChartBase {
|
|
|
701
708
|
readonly emptyTextResolved: Signal<string>;
|
|
702
709
|
readonly errorTextResolved: Signal<string>;
|
|
703
710
|
readonly valueFormatResolved: Signal<ChartValueFormat>;
|
|
711
|
+
readonly highlightActiveResolved: Signal<boolean>;
|
|
704
712
|
static ɵfac: i0.ɵɵFactoryDeclaration<DsChartBase, never>;
|
|
705
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DsChartBase, never, never, { "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "tooltipSwatches": { "alias": "tooltipSwatches"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
713
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DsChartBase, never, never, { "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "tooltipSwatches": { "alias": "tooltipSwatches"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "highlightActive": { "alias": "highlightActive"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
706
714
|
}
|
|
707
715
|
/** Whether the marks keyed `key` fade while `highlighted` is singled out: only under `dimOthers`,
|
|
708
716
|
* and never the highlighted marks themselves.
|
|
@@ -809,6 +817,11 @@ type DsOverlayCloseCause = 'select' | 'dismiss';
|
|
|
809
817
|
* @internal
|
|
810
818
|
*/
|
|
811
819
|
declare function panelClassesOf(panelClass: string | readonly string[]): readonly string[];
|
|
820
|
+
/** The pane's floor: the trigger, or `--ds-dropdown-panel-min-width` when that is wider. Set on the
|
|
821
|
+
* pane, not the panel inside it, so the overlay is placed by the width it is drawn at.
|
|
822
|
+
* @internal
|
|
823
|
+
*/
|
|
824
|
+
declare function dropdownMinWidth(triggerWidth: number): string;
|
|
812
825
|
/**
|
|
813
826
|
* The geometry every DS dropdown shares. Width is NOT set here: each caller has its own policy.
|
|
814
827
|
* @internal
|
|
@@ -1006,6 +1019,7 @@ interface ChartDefaultInputs {
|
|
|
1006
1019
|
readonly valueFormat: Signal<ChartValueFormat | null>;
|
|
1007
1020
|
readonly tooltipLingerMs?: Signal<number | null>;
|
|
1008
1021
|
readonly pinOnClick?: Signal<boolean | null>;
|
|
1022
|
+
readonly highlightActive?: Signal<boolean | null>;
|
|
1009
1023
|
readonly tooltipSwatches?: Signal<boolean | null>;
|
|
1010
1024
|
}
|
|
1011
1025
|
/** How long a pointer rests on a mark before the chart answers, in milliseconds:
|
|
@@ -1025,8 +1039,9 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
|
|
|
1025
1039
|
tooltipLingerMs: Signal<number>;
|
|
1026
1040
|
pinOnClick: Signal<boolean>;
|
|
1027
1041
|
hoverDelayMs: Signal<number>;
|
|
1042
|
+
highlightActive: Signal<boolean>;
|
|
1028
1043
|
tooltipSwatches: Signal<boolean | "auto">;
|
|
1029
1044
|
};
|
|
1030
1045
|
|
|
1031
|
-
export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
|
|
1046
|
+
export { CHART_GLIDE_HEAD_START_MS, CHART_HEAT_COLORS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_SKELETON_COUNT, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DS_SUBMITTED, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsFormControlBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, afterTwoFrames, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDelay, chartDwell, chartHoverDelayMs, chartOf, chartRenderGate, chartTiming, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, dimmedBy, disposeWithLeave, domainMinOf, dropdownMinWidth, dropdownOverlay, dsAriaCurrent, dsDestination, dwellHighlight, elementWidth, focusIsInside, focusMark, focusRescue, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, leftMark, linePath, lineSegments, linearScale, listenForEscape, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, moveFocusOutOf, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, skeletonColumnHeights, skeletonFunnelClips, skeletonLineClip, skeletonMarkCount, skeletonWaterfallSteps, staggerDelay, tickValues, trimmedText, tweenMarks, valueControlBridge, watchElementWidth };
|
|
1032
1047
|
export type { BandScale, ChartDimmable, ChartDwell, ChartMotionDelay, ChartMotionTiming, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, RovingMarks, SummaryPoint };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InjectionToken, Provider, Signal } from '@angular/core';
|
|
1
|
+
import { InjectionToken, Provider, Signal, Type, StaticProvider } from '@angular/core';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Dismiss-on-backdrop for a backdrop that WRAPS its dialog.
|
|
@@ -206,6 +206,8 @@ interface DsToastPosition {
|
|
|
206
206
|
|
|
207
207
|
type PaginationLayout = 'grouped' | 'spread';
|
|
208
208
|
|
|
209
|
+
type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
210
|
+
|
|
209
211
|
interface DsConfig {
|
|
210
212
|
/** BCP-47 locale every component formats numbers and dates in. Default is Angular's
|
|
211
213
|
* `LOCALE_ID`, except that its own default `'en-US'` reads as `'en-GB'`: English with a
|
|
@@ -242,6 +244,9 @@ interface DsConfig {
|
|
|
242
244
|
/** Display format for `ds-time-picker` - 24h or 12h AM/PM. Unset follows the hour cycle of
|
|
243
245
|
* `locale` / `LOCALE_ID` (en-US: `'12h'`, en-GB: `'24h'`). */
|
|
244
246
|
format?: '24h' | '12h';
|
|
247
|
+
/** Whether the hour and minute columns run on past either end. Default `'auto'`: a column that
|
|
248
|
+
* holds more values than it shows. */
|
|
249
|
+
loop?: 'auto' | 'always' | 'never';
|
|
245
250
|
};
|
|
246
251
|
avatar?: {
|
|
247
252
|
/** How `ds-avatar` turns its `name` into initials, app-wide. The built-in rule takes the
|
|
@@ -316,10 +321,10 @@ interface DsConfig {
|
|
|
316
321
|
/** Default for `ds-table`'s `stickyScrollbarOffset`, as any CSS length. Unset, each table
|
|
317
322
|
* cancels its scroll container's bottom padding. */
|
|
318
323
|
stickyScrollbarOffset?: string;
|
|
319
|
-
/** Default for `ds-table`'s `layout`. Default `'
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
324
|
+
/** Default for `ds-table`'s `layout`. Default `'auto'`, the 0.15.0 widths, which follow the
|
|
325
|
+
* cell content and ignore `kind`; `'fixed'` takes each column's `width`, `kind` or share.
|
|
326
|
+
* @deprecated `'auto'` is a temporary default and will be removed. Setting it changes nothing,
|
|
327
|
+
* so delete the key; to take the configured widths now, set `'fixed'`. */
|
|
323
328
|
layout?: 'fixed' | 'auto';
|
|
324
329
|
};
|
|
325
330
|
icon?: {
|
|
@@ -342,6 +347,8 @@ interface DsConfig {
|
|
|
342
347
|
/** Whether a click on a mark or category holds its tooltip and highlight. Default `true`.
|
|
343
348
|
* A second click, Escape or a press elsewhere releases. A tap holds whatever this says. */
|
|
344
349
|
pinOnClick?: boolean;
|
|
350
|
+
/** Whether the hovered or focused column, bar or heatmap cell brightens. Default `true`. */
|
|
351
|
+
highlightActive?: boolean;
|
|
345
352
|
/** Milliseconds the pointer rests on a mark, category or legend entry before the chart answers.
|
|
346
353
|
* Default 0. After one answer the next is immediate until the pointer leaves the chart;
|
|
347
354
|
* focus, a tap and a pinning click are always immediate. */
|
|
@@ -355,6 +362,16 @@ interface DsConfig {
|
|
|
355
362
|
/** How charts build themselves on a long page. All off by default. */
|
|
356
363
|
rendering?: ChartRendering;
|
|
357
364
|
};
|
|
365
|
+
tooltip?: {
|
|
366
|
+
/** Default side for every `dsTooltip`. Default `'top'`. */
|
|
367
|
+
placement?: TooltipPlacement;
|
|
368
|
+
/** Default milliseconds before a tip appears. Default `120`. */
|
|
369
|
+
delay?: number;
|
|
370
|
+
/** Whether every tip draws the arrow that points at its host. Default `true`. */
|
|
371
|
+
arrow?: boolean;
|
|
372
|
+
/** Whether a click on the host keeps every tip open. Default `false`. */
|
|
373
|
+
pinOnClick?: boolean;
|
|
374
|
+
};
|
|
358
375
|
datePicker?: {
|
|
359
376
|
/** BCP-47 locale for `ds-date-picker` names and value format. Unset falls back to
|
|
360
377
|
* `locale`, then `LOCALE_ID`. */
|
|
@@ -818,6 +835,14 @@ declare function boundOr(fallback: number): (value: number | undefined) => numbe
|
|
|
818
835
|
*/
|
|
819
836
|
declare function isTextEntryTarget(event: Event): boolean;
|
|
820
837
|
|
|
838
|
+
/** Keeps a component's stylesheet in the document for the life of the app. Angular removes the sheet with the
|
|
839
|
+
* component's last instance; one hidden instance, never attached or rendered, keeps the count above zero, so
|
|
840
|
+
* showing and hiding the component inserts and removes no sheet. Call in an injection context; the first call
|
|
841
|
+
* per app and component creates the instance, later calls do nothing. `providers` satisfy what the component's
|
|
842
|
+
* constructor injects beyond the environment.
|
|
843
|
+
* @internal */
|
|
844
|
+
declare function retainStyles(component: Type<unknown>, providers?: StaticProvider[]): void;
|
|
845
|
+
|
|
821
846
|
/** True when `element` is showing less text than it holds, horizontally.
|
|
822
847
|
*
|
|
823
848
|
* Descendants count: a template-driven cell puts the ellipsis on a child. Only horizontal:
|
|
@@ -916,5 +941,5 @@ type DsTriggerDisplay = 'full' | 'count' | 'labels';
|
|
|
916
941
|
*/
|
|
917
942
|
type DsControlWidth = 'fill' | 'content';
|
|
918
943
|
|
|
919
|
-
export { DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, ICONS, addDevWarningSink, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, injectDsLocale, isDsOptionGroup, isListCursorKey, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, provideDsIntl, reportDevWarning, resolveWithConfig, warnAnnounceOversight };
|
|
920
|
-
export type { AnnounceState, CardElevation, CardPadding, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartRendering, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DsConfig, DsControlWidth, DsIntl, DsIntlOverrides, DsIntlSortDirection, DsIntlStepState, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName, PaginationLayout };
|
|
944
|
+
export { DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, ICONS, addDevWarningSink, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, injectDsLocale, isDsOptionGroup, isListCursorKey, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, provideDsIntl, reportDevWarning, resolveWithConfig, retainStyles, warnAnnounceOversight };
|
|
945
|
+
export type { AnnounceState, CardElevation, CardPadding, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartRendering, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DsConfig, DsControlWidth, DsIntl, DsIntlOverrides, DsIntlSortDirection, DsIntlStepState, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName, PaginationLayout, TooltipPlacement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DS_FIELD_WARNING_KIND, DsAriaCurrent, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldError, DsFieldErrorsInput, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsRouterLink, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
|
|
1
|
+
export { DS_FIELD_WARNING_KIND, DS_SUBMITTED, DsAriaCurrent, DsChipTemplateDirective, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldError, DsFieldErrorsInput, DsGroupLabelTemplateDirective, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsRouterLink, DsStaticPreview, FieldClickFocusDirective } from '@ids-group-ltd/ids-design-system/components';
|
|
2
2
|
export { ACCORDION, AccordionChevron, AccordionComponent, AccordionContract, AccordionItemComponent, AccordionItemRef } from '@ids-group-ltd/ids-design-system/components/accordion';
|
|
3
3
|
export { AlertComponent, AlertVariant } from '@ids-group-ltd/ids-design-system/components/alert';
|
|
4
4
|
export { AppLayoutComponent, AppLayoutNavigationService, AppLayoutScrollService, DsAppLayoutScrollReset, RailTriggerDirective } from '@ids-group-ltd/ids-design-system/components/app-layout';
|
|
@@ -28,7 +28,7 @@ export { DescriptionItemComponent, DescriptionListComponent, DescriptionListOrie
|
|
|
28
28
|
export { DividerComponent, DividerSpacing, DividerVariant } from '@ids-group-ltd/ids-design-system/components/divider';
|
|
29
29
|
export { DrawerComponent, DrawerPlacement } from '@ids-group-ltd/ids-design-system/components/drawer';
|
|
30
30
|
export { DropzoneComponent, DropzoneFile, DropzoneFileState } from '@ids-group-ltd/ids-design-system/components/dropzone';
|
|
31
|
-
export { EmptyStateComponent, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
|
|
31
|
+
export { EmptyStateComponent, EmptyStateTitleOverflow, EmptyStateVariant } from '@ids-group-ltd/ids-design-system/components/empty-state';
|
|
32
32
|
export { DS_FIELD_GROUP, DsFieldGroupContext, FieldGroupComponent } from '@ids-group-ltd/ids-design-system/components/field-group';
|
|
33
33
|
export { FilterBarComponent, FilterItemDirective } from '@ids-group-ltd/ids-design-system/components/filter-bar';
|
|
34
34
|
export { FunnelChartComponent, FunnelChartDrop, FunnelChartShape, FunnelChartStage } from '@ids-group-ltd/ids-design-system/components/funnel-chart';
|
|
@@ -68,6 +68,7 @@ export { SplitButtonComponent, SplitButtonItem, SplitButtonVariant } from '@ids-
|
|
|
68
68
|
export { StatComponent } from '@ids-group-ltd/ids-design-system/components/stat';
|
|
69
69
|
export { StatusDotComponent } from '@ids-group-ltd/ids-design-system/components/status-dot';
|
|
70
70
|
export { StepperComponent, StepperLabelPosition, StepperOrientation } from '@ids-group-ltd/ids-design-system/components/stepper';
|
|
71
|
+
export { SubmittedDirective } from '@ids-group-ltd/ids-design-system/components/submitted';
|
|
71
72
|
export { SwitchComponent } from '@ids-group-ltd/ids-design-system/components/switch';
|
|
72
73
|
export { CellTemplateContext, CellTemplateDirective, HeaderFilterContext, HeaderFilterDirective, SortChangeEvent, SortDirection, TableCellEditEvent, TableColumn, TableColumnKind, TableComponent, TableExpandMode, TableFilterMode, TableRowAction, TableRowActionEvent, TableSortMode } from '@ids-group-ltd/ids-design-system/components/table';
|
|
73
74
|
export { DsTableColumns } from '@ids-group-ltd/ids-design-system/components/table-columns';
|
|
@@ -76,11 +77,11 @@ export { DsTableResize } from '@ids-group-ltd/ids-design-system/components/table
|
|
|
76
77
|
export { TabComponent, TabsComponent, TabsOrientation, TabsVariant } from '@ids-group-ltd/ids-design-system/components/tabs';
|
|
77
78
|
export { TagComponent, TagVariant } from '@ids-group-ltd/ids-design-system/components/tag';
|
|
78
79
|
export { TextareaComponent, TextareaMaxLengthMode, TextareaResize } from '@ids-group-ltd/ids-design-system/components/textarea';
|
|
79
|
-
export { TimeFormat, TimePickerComponent, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue } from '@ids-group-ltd/ids-design-system/components/time-picker';
|
|
80
|
+
export { TimeFormat, TimePickerComponent, TimePickerLoop, TimePickerMode, TimePickerValue, TimeRangeValue, TimeValue } from '@ids-group-ltd/ids-design-system/components/time-picker';
|
|
80
81
|
export { TimelineComponent, TimelineItemComponent, TimelineTone } from '@ids-group-ltd/ids-design-system/components/timeline';
|
|
81
82
|
export { DS_TOAST_POSITION_DEFAULT, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, ToastAction, ToastComponent, ToastEntry, ToastOptions, ToastPromiseMessages, ToastRef, ToastRegionComponent, ToastService, ToastVariant } from '@ids-group-ltd/ids-design-system/components/toast';
|
|
82
83
|
export { ToggleButtonComponent } from '@ids-group-ltd/ids-design-system/components/toggle-button';
|
|
83
|
-
export { TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';
|
|
84
|
+
export { DsTooltipConfig, TooltipDirective, TooltipPanelComponent, TooltipPlacement } from '@ids-group-ltd/ids-design-system/components/tooltip';
|
|
84
85
|
export { TopBarComponent } from '@ids-group-ltd/ids-design-system/components/topbar';
|
|
85
86
|
export { TreeComponent, TreeNode } from '@ids-group-ltd/ids-design-system/components/tree';
|
|
86
87
|
export { W3wComponent } from '@ids-group-ltd/ids-design-system/components/w3w';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-chart>` — `ChartComponent`
|
|
3
|
-
|
|
4
|
-
Group: Charts
|
|
5
|
-
|
|
6
|
-
<!-- inputs:ds-chart -->
|
|
7
|
-
All inputs: `frame: 'auto' | 'none' = null`, `caption: string | null = null`, `summary: string | null = null`, `loading: boolean = false`, `error: boolean = false`, `emptyText: string | null = null`, `errorText: string | null = null`, `valueFormat: ChartValueFormat | null = null`, `interactive: boolean = false`, `tooltipSwatches: boolean | null = null`, `tooltipLingerMs: number | null = null`, `pinOnClick: boolean | null = null`, `categories: readonly string[] = []`, `skeletonCount: number`, `tickCount: number = 5`, `min: number | null = null`, `max: number | null = null`, `cursor: 'none' | 'category' | 'auto' = 'auto'`, `rescaleOnHide: boolean = true`, `maxSecondary: number | null = null`, `plotHeight: number = 240`, `axisGutter: number = 46`, `valueSpace: number = 20`, `secondaryAxisMode: 'aligned' | 'exact' | 'dual-grid' | 'split' = 'aligned'`, `axisColor: string | null = null`, `secondaryAxisColor: string | null = null`, `axisLabel: string | null = null`, `secondaryAxisLabel: string | null = null`, `selectRange: boolean = false`, `showAxisReadout: boolean = true`, `tooltipTemplate: TemplateRef<{
|
|
8
|
-
$implicit: ChartTooltipContext;
|
|
9
|
-
}> | null = null`, `tooltipExtraGap: number = 0`
|
|
10
|
-
<!-- /inputs -->
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-autocomplete>` — `AutocompleteComponent<T>`
|
|
3
|
-
|
|
4
|
-
Group: Form & input
|
|
5
|
-
|
|
6
|
-
Type-ahead picker, generic on the option value.
|
|
7
|
-
Inputs: `options: readonly AutocompleteItem<T>[]`, `value: model<T | readonly T[] | null>`, `multiple: boolean = false`, `placeholder: string | null = null` (unset: `DS_INTL.picker.placeholder`), `showChevron: boolean = true`, `valueOverflow: AutocompleteValueOverflow = 'ellipsis'` (`'ellipsis' | 'wrap'` — a settled single value clips rather than growing the trigger), `maxVisibleChips`, `allowCreate: boolean = false`, `width`, `size`, `label`, `disabled`, `success`, `required`, `optional`, `ariaLabel`
|
|
8
|
-
Output: `(create): string` — the typed text, when `allowCreate` is on and nothing matched.
|
|
9
|
-
In multiple mode the selection renders as chips above the trigger.
|
|
10
|
-
|
|
11
|
-
<!-- inputs:ds-autocomplete -->
|
|
12
|
-
All inputs: `hint: string = ''`, `error: string = ''`, `warning: string = ''`, `reserveMessage: boolean | null = null`, `messageIcon: IconName | false | null = null`, `errors: readonly DsFieldError[] = []`, `invalid: boolean = false`, `touched: boolean = false`, `pending: boolean = false`, `dirty: boolean = false`, `showDirty: boolean | null = null`, `hidden: boolean = false`, `options: readonly AutocompleteItem<T>[] = []`, `value: T | readonly T[] | null = null`, `multiple: boolean = false`, `showChevron: boolean = true`, `maxVisibleChips: number | 'fit' | 'all' | null = null`, `size: 'sm' | 'md' | 'lg' = null`, `width: 'fill' | 'content' = 'fill'`, `valueOverflow: 'ellipsis' | 'wrap' = 'ellipsis'`, `placeholder: string | null = null`, `disabled: boolean = false`, `success: string = ''`, `allowCreate: boolean = false`, `label: string = ''`, `compareWith: (a: T | null, b: T | null) => boolean`, `name: string | null = null`, `panelClass: string | readonly string[] = []`, `readOnly: boolean = false`, `readonly: boolean = false`, `clearable: boolean = false`, `searchPlaceholder: string = ''`, `filterWith: ((option: AutocompleteOption<T>, query: string) => boolean) | 'none'`, `loading: boolean = false`, `scrollActiveIntoView: boolean = true`, `required: boolean = false`, `optional: boolean = false`, `ariaLabel: string | null = null`
|
|
13
|
-
<!-- /inputs -->
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-color-picker>` — `ColorPickerComponent`
|
|
3
|
-
|
|
4
|
-
Group: Form & input
|
|
5
|
-
|
|
6
|
-
<!-- inputs:ds-color-picker -->
|
|
7
|
-
All inputs: `hint: string = ''`, `error: string = ''`, `warning: string = ''`, `reserveMessage: boolean | null = null`, `messageIcon: IconName | false | null = null`, `errors: readonly DsFieldError[] = []`, `invalid: boolean = false`, `touched: boolean = false`, `pending: boolean = false`, `dirty: boolean = false`, `showDirty: boolean | null = null`, `hidden: boolean = false`, `value: string = '#2F54FF'`, `presets: readonly string[]`, `panelClass: string | readonly string[] = []`, `disabled: boolean = false`, `ariaLabel: string | null = null`, `success: string = ''`, `staticPreview: boolean = false`
|
|
8
|
-
<!-- /inputs -->
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-otp-input>` — `OtpInputComponent`
|
|
3
|
-
|
|
4
|
-
Group: Form & input
|
|
5
|
-
|
|
6
|
-
<!-- inputs:ds-otp-input -->
|
|
7
|
-
All inputs: `hint: string = ''`, `error: string = ''`, `warning: string = ''`, `reserveMessage: boolean | null = null`, `messageIcon: IconName | false | null = null`, `errors: readonly DsFieldError[] = []`, `invalid: boolean = false`, `touched: boolean = false`, `pending: boolean = false`, `dirty: boolean = false`, `showDirty: boolean | null = null`, `hidden: boolean = false`, `value: string = ''`, `length: number = 6`, `mode: 'numeric' | 'alphanumeric' = 'numeric'`, `mask: boolean = false`, `disabled: boolean = false`, `success: string = ''`, `ariaLabel: string | null = null`
|
|
8
|
-
<!-- /inputs -->
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `<ds-time-picker>` — `TimePickerComponent`
|
|
3
|
-
|
|
4
|
-
Group: Form & input
|
|
5
|
-
|
|
6
|
-
<!-- inputs:ds-time-picker -->
|
|
7
|
-
All inputs: `hint: string = ''`, `error: string = ''`, `warning: string = ''`, `reserveMessage: boolean | null = null`, `messageIcon: IconName | false | null = null`, `errors: readonly DsFieldError[] = []`, `invalid: boolean = false`, `touched: boolean = false`, `pending: boolean = false`, `dirty: boolean = false`, `showDirty: boolean | null = null`, `hidden: boolean = false`, `value: string | TimeRangeValue | null = null`, `mode: 'single' | 'range' = 'single'`, `minuteStep: number = 1`, `minTime: string | null = null`, `maxTime: string | null = null`, `disabledTime: ((time: string) => boolean) | null = null`, `size: 'sm' | 'md' | 'lg' = null`, `fullWidth: boolean = false`, `label: string = ''`, `required: boolean = false`, `optional: boolean = false`, `panelClass: string | readonly string[] = []`, `disabled: boolean = false`, `success: string = ''`, `placeholder: string = '--:--'`, `clearable: boolean = false`, `ariaLabel: string | null = null`, `format: '24h' | '12h' = null`, `staticPreview: boolean = false`
|
|
8
|
-
<!-- /inputs -->
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- GENERATED by tools/split-agent-catalogue.mjs from components.md. Do not edit. -->
|
|
2
|
-
# `[dsTooltip]` — `TooltipDirective`
|
|
3
|
-
|
|
4
|
-
Group: Overlay
|
|
5
|
-
|
|
6
|
-
Attribute directive, applied by `dsTooltip` or by `dsTooltipWhenClipped` alone. Apply to any focusable element; with `dsTooltipWhenClipped` also to a label that cannot take focus.
|
|
7
|
-
Inputs: `dsTooltip: string | TemplateRef<unknown> = ''` (the text; empty disables; `**bold**` renders bold, `\*\*` is a literal `**`, nothing else is parsed. A `TemplateRef` is rendered in the panel as given, with no `**bold**` parsing and no lead text; keep it non-interactive), `dsTooltipPlacement: 'top' | 'bottom' | 'left' | 'right' = 'top'`, `dsTooltipDelay: number = 120` (ms), `dsTooltipArrow: boolean = true` (draws the arrow that points at the host; `[dsTooltipArrow]="false"` leaves it out), `dsTooltipWhenClipped: boolean | string = false` (open only while the host shows less text than it holds; without a `dsTooltip` it discloses the tested text. A selector in place of a boolean aims the test and the text at the element it matches inside the host, so a whole row can be the hover area for the label inside it: `<button dsTooltip dsTooltipWhenClipped=".label"><span class="label">…</span></button>`; resolved on every open, and while nothing matches no clipped tip opens), `dsTooltipPinOnClick: boolean = false` (opens with no delay; a click on the host keeps the tip open after the pointer leaves until a click outside, `Escape` or blur, and a second click closes it; without it a click closes the tip. While pinned the host carries `data-ds-tooltip-pinned`. Every pinned trigger of the library shows one cue, `--accent-strong` ink with no fill, plus a 2px solid accent underline on a text trigger; a pinned text trigger thickens the line to 3px on hover and takes the `--surface-muted` press fill on press, a pinned icon takes a `--surface-muted` circle on hover and a `--border-default` circle on press; give your own trigger the same cue with `@use 'styles/pinned' as pinned;` and `&[data-ds-tooltip-pinned] { @include pinned.cue(); }`. For info and definition triggers only, never on a control whose click acts)
|
|
8
|
-
Renders `<ds-tooltip-panel>` via CDK overlay on hover / focus; hides on leave / blur. A line break in the text shows as a line break; runs of spaces collapse. A `dsTooltip` shows exactly its text; only a `dsDefinitionTerm` leads with its own text, in bold, then a line break, unless the tip already contains that text. A `dsTooltipWhenClipped` host that cannot take focus (a label inside a button, a cell of a clickable row) also opens when keyboard focus lands on its nearest focusable ancestor, and closes on that ancestor's blur, click or any key; a `dsTooltipWhenClipped` host that takes focus itself opens on keyboard focus and closes on its own blur, click or any key; a mouse click opens nothing, and of several clipped hosts in one ancestor only the first in document order opens. A clipped `dsTooltipWhenClipped` host that no keyboard path reaches - not focusable, inside no control or widget role, holding no control - takes `tabindex="0"` while it is clipped and loses it once its text fits and it is not focused; a `tabindex` you set is never touched, and `tabindex="-1"` keeps a clipped value out of the Tab order. A clipped tip whose text the host already contains sets no `aria-describedby` (the text is in the DOM already); a `dsTooltip` that says more than the host, and a plain `dsTooltip`, describe the focused element. A plain `dsTooltip` on a non-focusable element stays hover-only: put an info tooltip on its own focusable element, not inside a button. The panel wraps a value with no break opportunity (a file name, an id) inside its max width.
|
|
9
|
-
|
|
10
|
-
<!-- inputs:[dsTooltip] -->
|
|
11
|
-
All inputs: `dsTooltip: string = ''`, `dsTooltipPlacement: 'top' | 'bottom' | 'left' | 'right' = 'top'`, `dsTooltipDelay: number = 120`, `dsTooltipArrow: boolean = true`, `dsTooltipWhenClipped: boolean = false`, `dsTooltipPinOnClick: boolean = false`, `dsTooltipTextSelector: string | null = null`
|
|
12
|
-
<!-- /inputs -->
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|