@ids-group-ltd/ids-design-system 0.14.0 → 0.14.2
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 +573 -4
- package/components.md +103 -62
- package/design-system.md +2 -0
- package/docs/agent/INDEX.md +5 -4
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +4 -3
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-column-chart.md +3 -3
- package/docs/agent/charts/ds-config.md +3 -1
- package/docs/agent/charts/ds-funnel-chart.md +3 -3
- package/docs/agent/charts/ds-heatmap-chart.md +1 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +5 -4
- package/docs/agent/charts/ds-scatter-chart.md +1 -1
- package/docs/agent/charts/ds-waterfall-chart.md +1 -1
- package/docs/agent/charts/line-series-component.md +1 -1
- package/docs/agent/feedback/ds-alert.md +1 -0
- package/docs/agent/feedback/ds-badge.md +1 -1
- package/docs/agent/feedback/ds-banner.md +1 -0
- package/docs/agent/feedback/ds-description-list.md +3 -0
- package/docs/agent/feedback/ds-skeleton.md +2 -2
- package/docs/agent/feedback/ds-tag.md +1 -1
- package/docs/agent/forms/ds-autocomplete.md +2 -2
- package/docs/agent/forms/ds-button.md +1 -1
- package/docs/agent/forms/ds-color-picker.md +1 -1
- package/docs/agent/forms/ds-date-picker.md +2 -2
- package/docs/agent/forms/ds-filter-bar.md +1 -1
- package/docs/agent/forms/ds-icon-button.md +1 -1
- package/docs/agent/forms/ds-input.md +1 -1
- package/docs/agent/forms/ds-multi-select.md +2 -2
- package/docs/agent/forms/ds-otp-input.md +1 -1
- package/docs/agent/forms/ds-search.md +2 -2
- package/docs/agent/forms/ds-split-button.md +1 -1
- package/docs/agent/forms/ds-textarea.md +2 -2
- package/docs/agent/foundations/tokens.md +1 -1
- package/docs/agent/navigation/ds-app-layout.md +2 -2
- package/docs/agent/navigation/ds-auth-layout.md +4 -4
- package/docs/agent/navigation/ds-page-header.md +1 -1
- package/docs/agent/navigation/ds-pagination.md +1 -1
- package/docs/agent/navigation/ds-tabs.md +1 -0
- package/docs/agent/overlays/ds-tooltip.md +3 -3
- package/docs/agent/platform/ds-config.md +2 -3
- package/docs/agent/platform/ds-intl.md +33 -0
- package/docs/agent/surfaces/ds-accordion.md +2 -2
- package/docs/agent/tables/ds-table.md +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-accordion.mjs +9 -5
- 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 +21 -10
- 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 +9 -5
- 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 +8 -8
- 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 +15 -8
- 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 +5 -3
- 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 +5 -10
- 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 +12 -8
- 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 +21 -10
- 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 +53 -30
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +7 -6
- 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 +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-breadcrumbs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-data-table.mjs +5 -3
- 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 +20 -6
- 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 +198 -44
- 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 +248 -142
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +9 -5
- 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 +28 -25
- 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 +16 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-description-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +7 -4
- 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 +12 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-dropzone.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-empty-state.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-filter-bar.mjs +13 -7
- 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 +64 -43
- 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 +56 -12
- 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 +3 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-icon-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +5 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs +32 -29
- package/fesm2022/ids-group-ltd-ids-design-system-components-line-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +26 -13
- 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 +17 -10
- 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 +5 -4
- 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 +13 -7
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-page-header.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-pagination.mjs +15 -8
- 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 +12 -11
- 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 +62 -25
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-scatter-chart.mjs +49 -12
- 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 +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs +6 -3
- 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 +4 -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 +5 -3
- 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 +20 -6
- 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 +6 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-spinner.mjs +5 -3
- 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 +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-split-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +6 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +16 -13
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs +9 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-export.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +48 -22
- 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 +68 -6
- 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 +9 -5
- 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 +63 -10
- 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 +12 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +8 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +78 -6
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-w3w.mjs +5 -3
- 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 +36 -21
- 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 +355 -81
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +362 -3
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.10.0.json +1 -1
- package/migrations/0.10.1.json +1 -1
- package/migrations/0.14.0.json +28 -4
- package/migrations/0.14.1.json +856 -0
- package/migrations/0.14.2.json +427 -0
- package/package.json +1 -1
- package/schematics/check-overrides/index.cjs +56 -0
- package/schematics/check-overrides/scan.cjs +74 -0
- package/schematics/check-overrides/schema.json +19 -0
- package/schematics/check-overrides/surface.json +2333 -0
- package/schematics/collection.json +5 -0
- package/styles/_chart-frame.scss +34 -12
- package/styles/_chart-interactive.scss +43 -9
- package/styles/_chart-motion.scss +139 -16
- package/styles/_field-box.scss +12 -0
- package/styles/_overlay-motion.scss +12 -4
- package/styles/_tokens-charts.scss +1 -1
- package/styles/_tokens.scss +19 -4
- package/types/ids-group-ltd-ids-design-system-components-accordion.d.ts +11 -2
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-app-layout.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-auth-layout.d.ts +5 -5
- package/types/ids-group-ltd-ids-design-system-components-autocomplete.d.ts +7 -4
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-avatar.d.ts +5 -3
- package/types/ids-group-ltd-ids-design-system-components-badge.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-banner.d.ts +4 -0
- package/types/ids-group-ltd-ids-design-system-components-bar-chart.d.ts +41 -19
- package/types/ids-group-ltd-ids-design-system-components-breadcrumbs.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart-data-table.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-legend.d.ts +8 -1
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +34 -6
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +189 -121
- package/types/ids-group-ltd-ids-design-system-components-color-picker.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-column-chart.d.ts +17 -17
- package/types/ids-group-ltd-ids-design-system-components-date-picker.d.ts +9 -3
- package/types/ids-group-ltd-ids-design-system-components-description-list.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-dropzone.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-filter-bar.d.ts +9 -4
- package/types/ids-group-ltd-ids-design-system-components-funnel-chart.d.ts +34 -20
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +36 -7
- package/types/ids-group-ltd-ids-design-system-components-input.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-line-chart.d.ts +21 -18
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-multi-select.d.ts +11 -6
- package/types/ids-group-ltd-ids-design-system-components-number-stepper.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-otp-input.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-pagination.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-password-rules.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +41 -17
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +28 -7
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +7 -3
- package/types/ids-group-ltd-ids-design-system-components-select.d.ts +3 -2
- package/types/ids-group-ltd-ids-design-system-components-sidenav-footer.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-sidenav.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-skeleton.d.ts +5 -1
- package/types/ids-group-ltd-ids-design-system-components-slider.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-spinner.d.ts +6 -4
- package/types/ids-group-ltd-ids-design-system-components-split-button.d.ts +5 -2
- package/types/ids-group-ltd-ids-design-system-components-stepper.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-table-export.d.ts +1 -0
- package/types/ids-group-ltd-ids-design-system-components-table.d.ts +15 -6
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +15 -2
- package/types/ids-group-ltd-ids-design-system-components-tag.d.ts +6 -2
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +24 -4
- package/types/ids-group-ltd-ids-design-system-components-time-picker.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +3 -0
- package/types/ids-group-ltd-ids-design-system-components-tooltip.d.ts +10 -1
- package/types/ids-group-ltd-ids-design-system-components-w3w.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +18 -7
- package/types/ids-group-ltd-ids-design-system-components.d.ts +75 -25
- package/types/ids-group-ltd-ids-design-system-core.d.ts +421 -11
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
2
2
|
import { DsSize, IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
3
4
|
|
|
4
5
|
type AvatarSize = 'xs' | DsSize;
|
|
5
6
|
type AvatarStatus = 'online' | 'offline' | 'away' | 'busy';
|
|
@@ -45,6 +46,7 @@ declare class AvatarComponent {
|
|
|
45
46
|
* hue: `[[310, 360], [0, 20]]`. Only applies when `seed` drives the tint. */
|
|
46
47
|
readonly avoidHues: _angular_core.InputSignal<readonly (readonly [number, number])[]>;
|
|
47
48
|
private readonly config;
|
|
49
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
48
50
|
protected readonly initialsText: _angular_core.Signal<string>;
|
|
49
51
|
protected readonly tintStyle: _angular_core.Signal<{
|
|
50
52
|
bg: string | null;
|
|
@@ -89,8 +91,8 @@ declare function avatarTint(seed: string, options?: AvatarTintOptions): {
|
|
|
89
91
|
*
|
|
90
92
|
* A deliberately naive Latin-script guess, and the library's ONLY naming rule.
|
|
91
93
|
* Reading a name is a cultural convention, not a UI decision — "María José
|
|
92
|
-
* García López" wants MG from a Spanish reader and "
|
|
93
|
-
*
|
|
94
|
+
* García López" wants MG from a Spanish reader and "Bramley Rovers Football Club" wants
|
|
95
|
+
* BR from its members — so an app with a real rule passes its own through
|
|
94
96
|
* `DS_CONFIG.avatar.initials` or `ds-avatar`'s `initialsRule` rather than asking
|
|
95
97
|
* this to grow modes it cannot get right. */
|
|
96
98
|
declare function initialsFrom(first?: string, last?: string): string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
2
3
|
|
|
3
4
|
declare class BadgeComponent {
|
|
5
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
4
6
|
/** Consumer-defined status key; colours are wired via styles/status. Unset → neutral. */
|
|
5
7
|
readonly status: _angular_core.InputSignal<string | undefined>;
|
|
6
8
|
/** Leading status dot, rendered only while `count` is unset — a count replaces the
|
|
@@ -13,8 +15,10 @@ declare class BadgeComponent {
|
|
|
13
15
|
readonly count: _angular_core.InputSignal<number | null>;
|
|
14
16
|
/** Count is capped at this value, shown as `"max+"` beyond it. */
|
|
15
17
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
16
|
-
/** Noun used in the count's accessible label — set for non-notification counts (cart, results, …).
|
|
17
|
-
|
|
18
|
+
/** Noun used in the count's accessible label — set for non-notification counts (cart, results, …).
|
|
19
|
+
* Unset falls back to `DS_INTL.badge.noun`. */
|
|
20
|
+
readonly countLabel: _angular_core.InputSignal<string | null>;
|
|
21
|
+
readonly countLabelResolved: _angular_core.Signal<string>;
|
|
18
22
|
protected readonly countDisplay: _angular_core.Signal<string | null>;
|
|
19
23
|
protected readonly classes: _angular_core.Signal<string>;
|
|
20
24
|
protected readonly countAriaLabel: _angular_core.Signal<string | null>;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
2
3
|
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
3
4
|
|
|
4
5
|
type BannerVariant = 'info' | 'success' | 'warning' | 'severe' | 'error' | 'neutral';
|
|
5
6
|
|
|
6
7
|
declare class BannerComponent {
|
|
8
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
7
9
|
/** Severity — drives colour, the default icon and the ARIA role/live. */
|
|
8
10
|
readonly variant: _angular_core.InputSignal<BannerVariant>;
|
|
9
11
|
/** Optional bold heading above the message. */
|
|
@@ -30,8 +32,10 @@ declare class BannerComponent {
|
|
|
30
32
|
* `ToastService`, which owns a live region built for the purpose. */
|
|
31
33
|
readonly announce: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
32
34
|
readonly announceResolved: _angular_core.Signal<boolean>;
|
|
35
|
+
private readonly liveRole;
|
|
33
36
|
protected get ariaRole(): 'alert' | 'status' | null;
|
|
34
37
|
protected get ariaLive(): 'assertive' | 'polite' | null;
|
|
38
|
+
constructor();
|
|
35
39
|
protected readonly classes: _angular_core.Signal<string>;
|
|
36
40
|
protected readonly defaultIcon: _angular_core.Signal<IconName>;
|
|
37
41
|
protected onDismiss(): void;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
|
-
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
1
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
4
2
|
import { leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
3
|
+
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
4
|
+
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
5
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
6
|
+
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
5
7
|
import * as _angular_core from '@angular/core';
|
|
6
8
|
import { TemplateRef } from '@angular/core';
|
|
7
|
-
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
8
9
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
9
10
|
|
|
10
11
|
/** A row's reading: one number, or the two ends of a band.
|
|
@@ -67,6 +68,7 @@ interface BarChartRow {
|
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
declare class BarChartComponent {
|
|
71
|
+
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
70
72
|
protected readonly leaveMark: typeof leaveMark;
|
|
71
73
|
/** One row per bar, drawn in the order given. */
|
|
72
74
|
readonly data: _angular_core.InputSignal<readonly BarChartRow[]>;
|
|
@@ -108,25 +110,39 @@ declare class BarChartComponent {
|
|
|
108
110
|
* when the data lands. */
|
|
109
111
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
110
112
|
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
111
|
-
* `
|
|
113
|
+
* `DS_INTL.chart.empty`. */
|
|
112
114
|
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
113
115
|
/** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
|
|
114
116
|
* because "the request failed" and "there is nothing to show" read the same to a reader and
|
|
115
117
|
* mean opposite things. */
|
|
116
118
|
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
117
|
-
/** The message the error state prints. Unset falls back to `
|
|
118
|
-
* `'Could not load the data'`. */
|
|
119
|
+
/** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */
|
|
119
120
|
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
120
121
|
/** Formats every value the chart prints, the annex table and the generated description
|
|
121
|
-
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then
|
|
122
|
-
*
|
|
122
|
+
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
|
|
123
|
+
* `LOCALE_ID`. */
|
|
123
124
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
124
|
-
|
|
125
|
+
/** Holds the clicked row and its tooltip in place, with a pin disc on it, until a second click,
|
|
126
|
+
* Escape or a press outside releases it. Unset falls back to `DS_CONFIG.chart.pinOnClick`, then
|
|
127
|
+
* `true`. `rowClicked` fires either way - pinning is a state, not a handler. */
|
|
128
|
+
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
129
|
+
protected readonly defaults: {
|
|
130
|
+
locale: string;
|
|
131
|
+
frame: _angular_core.Signal<ChartFrame>;
|
|
132
|
+
dataTable: _angular_core.Signal<ChartDataTable>;
|
|
133
|
+
emptyText: _angular_core.Signal<string>;
|
|
134
|
+
errorText: _angular_core.Signal<string>;
|
|
135
|
+
valueFormat: _angular_core.Signal<ChartValueFormat>;
|
|
136
|
+
tooltipLingerMs: _angular_core.Signal<number>;
|
|
137
|
+
pinOnClick: _angular_core.Signal<boolean>;
|
|
138
|
+
hoverDelayMs: _angular_core.Signal<number>;
|
|
139
|
+
};
|
|
140
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
125
141
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
126
142
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
127
143
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
128
144
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
129
|
-
readonly valueFormatResolved: _angular_core.Signal<
|
|
145
|
+
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
130
146
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
131
147
|
* The click output fires whether or not this is set, so a consumer that
|
|
132
148
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -134,20 +150,21 @@ declare class BarChartComponent {
|
|
|
134
150
|
/** The row that was clicked, or activated with Enter or Space. Fires whether or not
|
|
135
151
|
* `interactive` is set. */
|
|
136
152
|
readonly rowClicked: _angular_core.OutputEmitterRef<BarChartRow>;
|
|
137
|
-
/** Holds the hovered mark and its tooltip in place when it is clicked, until Escape or a press
|
|
138
|
-
* outside releases it. Off by default: a click is already the drill-down hook, and a mark left
|
|
139
|
-
* lit after the pointer has gone needs a reader who knows why it is lit. `rowClicked` fires
|
|
140
|
-
* either way — pinning is a state, not a handler. */
|
|
141
|
-
readonly pinOnClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
142
153
|
/** Dims every OTHER mark while one is hovered or focused, so the reader's eye is held on the
|
|
143
154
|
* one under the pointer. Off by default: the dimming costs the separation BETWEEN the dimmed
|
|
144
155
|
* marks — measured 2026-09-13, the worst pair of three dimmed series falls from dE 14.8 at full
|
|
145
156
|
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
146
157
|
* and pays for it with the rest of the chart. */
|
|
147
158
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
148
|
-
/**
|
|
149
|
-
*
|
|
150
|
-
*
|
|
159
|
+
/** The segment to single out, by its `id` - or by its position as a string where it has none.
|
|
160
|
+
* Every other segment in every row fades, the same answer `highlighted` gives on a series
|
|
161
|
+
* mark. Independent of `dimOthers`, which governs what a pointer does. A row without segments
|
|
162
|
+
* is unaffected. */
|
|
163
|
+
readonly highlighted: _angular_core.InputSignal<string | null>;
|
|
164
|
+
protected isSegmentDimmed(key: string): boolean;
|
|
165
|
+
/** Milliseconds between one row's entrance and the next, `40` by default; `0` turns the stagger
|
|
166
|
+
* off. The whole spread stays within 260ms, so a long chart
|
|
167
|
+
* narrows the step instead of crawling in. */
|
|
151
168
|
readonly staggerMs: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
152
169
|
protected markStagger(index: number): string;
|
|
153
170
|
/** Whether a hovered or focused row opens a tooltip. `'axis'` is not offered — a bar
|
|
@@ -158,6 +175,11 @@ declare class BarChartComponent {
|
|
|
158
175
|
}> | undefined>;
|
|
159
176
|
private readonly tooltipLingerResolved;
|
|
160
177
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
178
|
+
protected readonly hoveredLabel: _angular_core.WritableSignal<number>;
|
|
179
|
+
/** Naming a row by its label fades the rest whether or not `dimOthers` is set, the way a legend
|
|
180
|
+
* singles out its series. The row itself answers the pointer, so the fade waits out the same
|
|
181
|
+
* hover delay as the tooltip. */
|
|
182
|
+
protected readonly dimsOthers: _angular_core.Signal<boolean>;
|
|
161
183
|
protected onMarkClick(payload: BarChartRow, index: number, event: Event): void;
|
|
162
184
|
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
163
185
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
@@ -206,7 +228,7 @@ declare class BarChartComponent {
|
|
|
206
228
|
* when the data lands; falls back to three when `data` is still empty. */
|
|
207
229
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
208
230
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
209
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "showPercent": { "alias": "showPercent"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "
|
|
231
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChartComponent, "ds-bar-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "frame": { "alias": "frame"; "required": false; "isSignal": true; }; "tooltipLingerMs": { "alias": "tooltipLingerMs"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "summary": { "alias": "summary"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "showPercent": { "alias": "showPercent"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorText": { "alias": "errorText"; "required": false; "isSignal": true; }; "valueFormat": { "alias": "valueFormat"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "highlighted": { "alias": "highlighted"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "rowClicked": "rowClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
210
232
|
}
|
|
211
233
|
|
|
212
234
|
export { BarChartComponent };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal } from '@angular/core';
|
|
3
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
3
4
|
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
4
5
|
|
|
5
6
|
interface BreadcrumbItem {
|
|
@@ -14,6 +15,7 @@ interface BreadcrumbItem {
|
|
|
14
15
|
declare class BreadcrumbsComponent {
|
|
15
16
|
private readonly cfg;
|
|
16
17
|
private readonly svc;
|
|
18
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
17
19
|
/** Omitted, the component reads `BreadcrumbsService.items`; an explicit array opts out. */
|
|
18
20
|
readonly items: _angular_core.InputSignal<BreadcrumbItem[] | null>;
|
|
19
21
|
/** Icon between crumbs; falls back to `DS_CONFIG.breadcrumbs.separator`, then `chevronRight`. */
|
|
@@ -56,9 +56,9 @@ declare class ButtonComponent extends DsMessageBase {
|
|
|
56
56
|
* stays lit inside its own pages. It also bounds the announcement, because the same directive
|
|
57
57
|
* writes it: narrowed to `{ exact: true }`, a prefix match is no longer active and the link
|
|
58
58
|
* announces nothing rather than `true`. Pass `ariaCurrent` alongside to keep one. */
|
|
59
|
-
readonly routerLinkActiveOptions: _angular_core.InputSignal<
|
|
59
|
+
readonly routerLinkActiveOptions: _angular_core.InputSignal<{
|
|
60
60
|
exact: boolean;
|
|
61
|
-
}>;
|
|
61
|
+
} | IsActiveMatchOptions>;
|
|
62
62
|
/** Overrides what the link announces. Unset, an exact match announces `page` and a prefix match
|
|
63
63
|
* announces `true`, which is what ARIA means by each; pass `null` to announce nothing, or one
|
|
64
64
|
* of the other values when the link is a step or a location rather than a page. */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
2
3
|
|
|
3
4
|
/** Cells arrive formatted: how a value reads is the chart's decision, not the table's. */
|
|
4
5
|
interface ChartDataRow {
|
|
@@ -13,6 +14,7 @@ interface ChartDataRow {
|
|
|
13
14
|
* with no pointer has.
|
|
14
15
|
*/
|
|
15
16
|
declare class ChartDataTableComponent {
|
|
17
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
16
18
|
readonly columns: _angular_core.InputSignal<readonly string[]>;
|
|
17
19
|
readonly rows: _angular_core.InputSignal<readonly ChartDataRow[]>;
|
|
18
20
|
readonly caption: _angular_core.InputSignal<string | null>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
2
3
|
|
|
3
4
|
interface ChartLegendItem {
|
|
4
5
|
/** Matches the series or slice id the chart hides by. */
|
|
@@ -16,6 +17,7 @@ interface ChartLegendItem {
|
|
|
16
17
|
* @internal
|
|
17
18
|
*/
|
|
18
19
|
declare class ChartLegendComponent {
|
|
20
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
19
21
|
readonly items: _angular_core.InputSignal<readonly ChartLegendItem[]>;
|
|
20
22
|
/** Ids of the hidden items. Two-way, so a page can drive it from a URL parameter and so
|
|
21
23
|
* cross-chart filtering later is this same mechanism. */
|
|
@@ -31,8 +33,13 @@ declare class ChartLegendComponent {
|
|
|
31
33
|
* so it renders as a radio group with an "All" option, and toggle renders as checkboxes. That is
|
|
32
34
|
* what gives each the keyboard and screen-reader behaviour it should have. */
|
|
33
35
|
readonly mode: _angular_core.InputSignal<"toggle" | "isolate">;
|
|
34
|
-
/** The item under the pointer or holding focus, which is what the chart dims from.
|
|
36
|
+
/** The item under the pointer or holding focus, which is what the chart dims from. A pointer
|
|
37
|
+
* names it once it has rested for `DS_CONFIG.chart.hoverDelayMs`; focus names it at once. */
|
|
35
38
|
readonly highlighted: _angular_core.ModelSignal<string | null>;
|
|
39
|
+
private readonly dwell;
|
|
40
|
+
constructor();
|
|
41
|
+
protected onItemEnter(id: string, event: PointerEvent): void;
|
|
42
|
+
protected onItemLeave(): void;
|
|
36
43
|
protected isHidden(id: string): boolean;
|
|
37
44
|
protected toggle(id: string): void;
|
|
38
45
|
/** Radio groups are scoped by NAME across the whole document, so a shared name would make every
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, Signal } from '@angular/core';
|
|
3
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
3
4
|
|
|
4
5
|
/** Which mark a chart's tooltip answers for. `'item'` is the mark under the pointer;
|
|
5
6
|
* `'axis'` is every series at the category under the pointer, which is what a line
|
|
@@ -55,9 +56,6 @@ declare class ChartTooltipDirective {
|
|
|
55
56
|
* that text as well as the mark, or the two overlap. Ignored for touch, where the gap is already
|
|
56
57
|
* sized for a fingertip. */
|
|
57
58
|
readonly dsChartTooltipExtraGap: _angular_core.InputSignal<number>;
|
|
58
|
-
/** Opens the panel BELOW the mark first. A chart sets it while a mark is held, so the panel
|
|
59
|
-
* leaves the plot's top edge — and the Unpin control that lives there — alone. */
|
|
60
|
-
readonly dsChartTooltipPreferBelow: _angular_core.InputSignal<boolean>;
|
|
61
59
|
/** A held panel takes the pointer again, so its text can be selected. While it merely follows
|
|
62
60
|
* the pointer the pane stays inert, or the mark it covers never sees the pointer at all. */
|
|
63
61
|
readonly dsChartTooltipPinned: _angular_core.InputSignal<boolean>;
|
|
@@ -71,7 +69,7 @@ declare class ChartTooltipDirective {
|
|
|
71
69
|
private closeOnEscape;
|
|
72
70
|
private close;
|
|
73
71
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartTooltipDirective, never>;
|
|
74
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "
|
|
72
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ChartTooltipDirective, "[dsChartTooltip]", never, { "dsChartTooltip": { "alias": "dsChartTooltip"; "required": false; "isSignal": true; }; "dsChartTooltipOrigin": { "alias": "dsChartTooltipOrigin"; "required": false; "isSignal": true; }; "dsChartTooltipTemplate": { "alias": "dsChartTooltipTemplate"; "required": false; "isSignal": true; }; "dsChartTooltipExtraGap": { "alias": "dsChartTooltipExtraGap"; "required": false; "isSignal": true; }; "dsChartTooltipPinned": { "alias": "dsChartTooltipPinned"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
75
73
|
}
|
|
76
74
|
|
|
77
75
|
/** @internal */
|
|
@@ -101,13 +99,43 @@ interface ChartActiveMark {
|
|
|
101
99
|
* Pointer and keyboard write the same pair, so a chart wires `pointerenter` and `focus` to
|
|
102
100
|
* `enter` and gets one code path rather than two.
|
|
103
101
|
*
|
|
102
|
+
* A POINTER WAITS. It is answered once it has rested on a mark for `hoverDelayMs`, and at once
|
|
103
|
+
* while the chart has already answered it; focus, a tap and a pin are answered at once.
|
|
104
|
+
*
|
|
104
105
|
* A TAP LATCHES. A touch fires `pointerleave` the moment the finger lifts, so without this the
|
|
105
106
|
* panel would flash and vanish; latched, it stays until the next tap lands outside the mark. Call
|
|
106
107
|
* from an injection context — the release listener is torn down with the component.
|
|
107
108
|
*
|
|
108
109
|
* @internal
|
|
109
110
|
*/
|
|
110
|
-
declare function chartActiveMark(lingerMs?: () => number): ChartActiveMark;
|
|
111
|
+
declare function chartActiveMark(lingerMs?: () => number, hoverDelayMs?: () => number): ChartActiveMark;
|
|
112
|
+
|
|
113
|
+
/** Radius of the pin disc, in plot pixels. A mark that places a disc inside itself keeps this
|
|
114
|
+
* much room from its edge.
|
|
115
|
+
*
|
|
116
|
+
* @internal */
|
|
117
|
+
declare const CHART_PIN_RADIUS = 11;
|
|
118
|
+
/** How far a disc sits inside the top edge of what it holds. At one radius it sits flush against
|
|
119
|
+
* the edge and reads as part of the mark rather than as a badge on it.
|
|
120
|
+
*
|
|
121
|
+
* @internal */
|
|
122
|
+
declare const CHART_PIN_GAP = 4;
|
|
123
|
+
/**
|
|
124
|
+
* The disc an SVG chart draws on the mark or category it holds. Drawn rather than composed:
|
|
125
|
+
* `ds-icon`'s host is an HTML element, and an element the SVG specification does not know renders
|
|
126
|
+
* nothing inside a canvas. The opaque disc is what keeps the glyph legible on any series colour.
|
|
127
|
+
* Centred on the host's origin; place it with a `transform`.
|
|
128
|
+
*
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
declare class ChartPinMarkerComponent {
|
|
132
|
+
protected readonly radius = 11;
|
|
133
|
+
protected readonly glyphSize = 14;
|
|
134
|
+
protected readonly glyphOffset: number;
|
|
135
|
+
protected readonly glyph: SafeHtml;
|
|
136
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartPinMarkerComponent, never>;
|
|
137
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartPinMarkerComponent, "g[dsChartPinMarker]", never, {}, {}, never, never, true, never>;
|
|
138
|
+
}
|
|
111
139
|
|
|
112
|
-
export { ChartTooltipDirective, chartActiveMark };
|
|
140
|
+
export { CHART_PIN_GAP, CHART_PIN_RADIUS, ChartPinMarkerComponent, ChartTooltipDirective, chartActiveMark };
|
|
113
141
|
export type { ChartActiveMark, ChartItemTooltipTrigger, ChartTooltipContext, ChartTooltipEntry, ChartTooltipOrigin, ChartTooltipTrigger };
|