@ids-group-ltd/ids-design-system 0.14.0 → 0.14.1
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 +330 -4
- package/components.md +81 -43
- package/design-system.md +2 -0
- package/docs/agent/INDEX.md +2 -1
- package/docs/agent/charts/column-series-component.md +1 -1
- package/docs/agent/charts/ds-bar-chart.md +2 -1
- package/docs/agent/charts/ds-chart.md +1 -1
- package/docs/agent/charts/ds-config.md +3 -1
- package/docs/agent/charts/ds-line-chart.md +3 -3
- package/docs/agent/charts/ds-pie-chart.md +4 -3
- 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-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 +1 -1
- 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/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 +2 -2
- 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 +13 -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 +35 -18
- 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 +5 -3
- 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 +22 -29
- 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 +91 -67
- 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 +20 -16
- 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 +4 -2
- 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 +36 -29
- 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 +13 -9
- 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 +23 -20
- 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 +15 -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 +7 -6
- 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 +51 -16
- 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 +17 -10
- 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 +4 -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 +19 -18
- 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 +5 -3
- 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 +5 -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 +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-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 +14 -15
- 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 +271 -73
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +359 -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/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 +2304 -0
- package/schematics/collection.json +5 -0
- package/styles/_chart-interactive.scss +33 -0
- package/styles/_field-box.scss +12 -0
- package/styles/_overlay-motion.scss +6 -4
- package/styles/_tokens-charts.scss +1 -1
- 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 +18 -10
- 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 +2 -0
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +1 -4
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +38 -18
- 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 +9 -8
- 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 +2 -0
- 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 +11 -9
- package/types/ids-group-ltd-ids-design-system-components-heatmap-chart.d.ts +7 -5
- 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 +13 -10
- 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 +3 -1
- 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 +24 -10
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +8 -5
- 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 +10 -5
- package/types/ids-group-ltd-ids-design-system-components-tabs.d.ts +2 -0
- 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 +2 -0
- 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-w3w.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-waterfall-chart.d.ts +7 -5
- package/types/ids-group-ltd-ids-design-system-components.d.ts +44 -21
- package/types/ids-group-ltd-ids-design-system-core.d.ts +408 -11
- package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
"description": "Wire the IDS design system's global styles into a project.",
|
|
6
6
|
"factory": "./ng-add/index.cjs#ngAdd",
|
|
7
7
|
"schema": "./ng-add/schema.json"
|
|
8
|
+
},
|
|
9
|
+
"check-overrides": {
|
|
10
|
+
"description": "Report --ds-* overrides the installed version never reads, and ds-* selectors naming classes its components do not render.",
|
|
11
|
+
"factory": "./check-overrides/index.cjs#checkOverrides",
|
|
12
|
+
"schema": "./check-overrides/schema.json"
|
|
8
13
|
}
|
|
9
14
|
}
|
|
10
15
|
}
|
|
@@ -58,3 +58,36 @@
|
|
|
58
58
|
cursor: pointer;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
+
|
|
62
|
+
// A legend entry's own hover state, shared by every chart legend. Keyboard focus inside the entry
|
|
63
|
+
// takes the same state. The padding is paid back as a negative margin, so the tint grows around the
|
|
64
|
+
// entry without moving a single legend row; the legend gaps are wider than the overhang.
|
|
65
|
+
//
|
|
66
|
+
// `$label` names the element to recolour when the label sets its own colour and would not inherit
|
|
67
|
+
// the entry's.
|
|
68
|
+
@mixin legend-entry($entry, $hover-bg-color, $hover-text-color, $label: null) {
|
|
69
|
+
#{$entry} {
|
|
70
|
+
margin: calc(-1 * var(--space-0-5)) calc(-1 * var(--space-1-5));
|
|
71
|
+
padding: var(--space-0-5) var(--space-1-5);
|
|
72
|
+
border-radius: var(--radius-sm);
|
|
73
|
+
transition:
|
|
74
|
+
background-color var(--ds-motion-chart-state-duration)
|
|
75
|
+
var(--ds-motion-chart-state-easing),
|
|
76
|
+
color var(--ds-motion-chart-state-duration)
|
|
77
|
+
var(--ds-motion-chart-state-easing);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
#{$entry}:hover,
|
|
81
|
+
#{$entry}:focus-visible,
|
|
82
|
+
#{$entry}:has(:focus-visible) {
|
|
83
|
+
background-color: $hover-bg-color;
|
|
84
|
+
|
|
85
|
+
@if $label {
|
|
86
|
+
#{$label} {
|
|
87
|
+
color: $hover-text-color;
|
|
88
|
+
}
|
|
89
|
+
} @else {
|
|
90
|
+
color: $hover-text-color;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
package/styles/_field-box.scss
CHANGED
|
@@ -16,3 +16,15 @@
|
|
|
16
16
|
|
|
17
17
|
#{$prop}: var(--_field-height);
|
|
18
18
|
}
|
|
19
|
+
|
|
20
|
+
// The box colours and type every text-entry field resolves its own token through, so one
|
|
21
|
+
// `--ds-field-*` set retunes input, textarea, select, multi-select, autocomplete and search.
|
|
22
|
+
// The date, time and colour pickers keep their own `-trigger-*` vocabulary and are not in it.
|
|
23
|
+
@mixin field-box-tokens {
|
|
24
|
+
--_field-border-color: var(--ds-field-border-color, var(--border-default));
|
|
25
|
+
--_field-border-color-hover: var(--ds-field-border-color-hover, var(--border-strong));
|
|
26
|
+
--_field-border-color-focus: var(--ds-field-border-color-focus, var(--accent));
|
|
27
|
+
--_field-text-color: var(--ds-field-text-color, var(--text-primary));
|
|
28
|
+
--_field-placeholder-color: var(--ds-field-placeholder-color, var(--text-tertiary));
|
|
29
|
+
--_field-font-size: var(--ds-field-font-size, var(--font-size-s));
|
|
30
|
+
}
|
|
@@ -11,9 +11,10 @@
|
|
|
11
11
|
// both follow it. The keyframe name never changes with placement, so a mid-scroll
|
|
12
12
|
// CDK flip redirects the motion instead of restarting it.
|
|
13
13
|
//
|
|
14
|
-
// Duration/easing stay longhands the library owns
|
|
15
|
-
// duration rather than dropping the
|
|
16
|
-
//
|
|
14
|
+
// Duration/easing stay longhands the library owns, so they outrank a consumer keyframe
|
|
15
|
+
// carrying its own timing. Reduced motion zeroes the duration rather than dropping the
|
|
16
|
+
// animation; at 0s `animationend` is not reliably delivered, and `disposeWithLeave`'s
|
|
17
|
+
// 400 ms timer is what tears the pane down - which is why `.ds-leaving` is inert.
|
|
17
18
|
|
|
18
19
|
.cdk-overlay-pane.ds-overlay-pane {
|
|
19
20
|
--_overlay-enter-keyframes: var(--ds-overlay-enter-keyframes, ds-scale-in);
|
|
@@ -63,7 +64,8 @@
|
|
|
63
64
|
lagging behind it, which is why the old unconditional leave was cut. Opacity
|
|
64
65
|
only, no travel: a dismissal has nowhere to travel to, and movement would
|
|
65
66
|
re-add exactly the lag this avoids. Reduced motion zeroes the duration at
|
|
66
|
-
`:root
|
|
67
|
+
`:root`; at 0s `animationend` is not reliably delivered, and `disposeWithLeave`'s
|
|
68
|
+
400 ms timer tears the pane down. */
|
|
67
69
|
&.ds-leaving {
|
|
68
70
|
/* A fading panel must not swallow the click aimed at what is behind it. */
|
|
69
71
|
pointer-events: none;
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
/* Stripes wide enough to survive a 24px-wide mark at a glance, and drawn in the surface colour
|
|
161
161
|
so they read as gaps cut out of the mark rather than a second hue competing with it. */
|
|
162
162
|
--chart-hatch-color: var(--surface-default);
|
|
163
|
-
--chart-hatch-width:
|
|
163
|
+
--chart-hatch-width: 1.5px;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
/* Public override layer.
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IconName } from '@ids-group-ltd/ids-design-system/core';
|
|
4
|
+
|
|
5
|
+
/** Which way the closed chevron points. `right` turns down when the item opens; `down` turns up. */
|
|
6
|
+
type AccordionChevron = 'right' | 'down';
|
|
3
7
|
|
|
4
8
|
/** Contract that ds-accordion-item reads from its parent ds-accordion. */
|
|
5
9
|
interface AccordionContract {
|
|
6
10
|
readonly multiple: () => boolean;
|
|
11
|
+
readonly chevron: () => AccordionChevron;
|
|
7
12
|
/** Called when an item opens; coordinator may close other items. */
|
|
8
13
|
notifyOpen(item: AccordionItemRef): void;
|
|
9
14
|
}
|
|
@@ -17,10 +22,12 @@ declare const ACCORDION: InjectionToken<AccordionContract>;
|
|
|
17
22
|
declare class AccordionComponent implements AccordionContract {
|
|
18
23
|
/** When false, opening one item automatically closes all others. */
|
|
19
24
|
readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
/** Which way the closed chevron points on every item: `right` turns down when an item opens, `down` turns up. */
|
|
26
|
+
readonly chevron: _angular_core.InputSignal<AccordionChevron>;
|
|
20
27
|
private readonly items;
|
|
21
28
|
notifyOpen(opened: AccordionItemRef): void;
|
|
22
29
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
23
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "ds-accordion", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
30
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "ds-accordion", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "chevron": { "alias": "chevron"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
24
31
|
}
|
|
25
32
|
|
|
26
33
|
declare class AccordionItemComponent implements AccordionItemRef {
|
|
@@ -34,6 +41,8 @@ declare class AccordionItemComponent implements AccordionItemRef {
|
|
|
34
41
|
protected readonly headId: string;
|
|
35
42
|
protected readonly bodyId: string;
|
|
36
43
|
private readonly accordion;
|
|
44
|
+
protected readonly chevronDown: _angular_core.Signal<boolean>;
|
|
45
|
+
protected readonly chevronName: _angular_core.Signal<IconName>;
|
|
37
46
|
/** Tracks last expanded state so we only notify on a true open transition. */
|
|
38
47
|
private previousExpanded;
|
|
39
48
|
constructor();
|
|
@@ -45,4 +54,4 @@ declare class AccordionItemComponent implements AccordionItemRef {
|
|
|
45
54
|
}
|
|
46
55
|
|
|
47
56
|
export { ACCORDION, AccordionComponent, AccordionItemComponent };
|
|
48
|
-
export type { AccordionContract, AccordionItemRef };
|
|
57
|
+
export type { AccordionChevron, AccordionContract, AccordionItemRef };
|
|
@@ -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 AlertVariant = 'info' | 'success' | 'warning' | 'error' | 'neutral';
|
|
5
6
|
|
|
6
7
|
declare class AlertComponent {
|
|
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<AlertVariant>;
|
|
9
11
|
/** Optional bold heading above the message. */
|
|
@@ -19,8 +21,10 @@ declare class AlertComponent {
|
|
|
19
21
|
* and prefer `ToastService` for anything transient. */
|
|
20
22
|
readonly announce: _angular_core.InputSignalWithTransform<boolean | null, unknown>;
|
|
21
23
|
readonly announceResolved: _angular_core.Signal<boolean>;
|
|
24
|
+
private readonly liveRole;
|
|
22
25
|
protected get ariaRole(): 'alert' | 'status' | null;
|
|
23
26
|
protected get ariaLive(): 'assertive' | 'polite' | null;
|
|
27
|
+
constructor();
|
|
24
28
|
protected readonly classes: _angular_core.Signal<string>;
|
|
25
29
|
protected readonly defaultIcon: _angular_core.Signal<IconName>;
|
|
26
30
|
protected readonly resolvedIcon: _angular_core.Signal<IconName>;
|
|
@@ -131,8 +131,11 @@ declare class AppLayoutComponent {
|
|
|
131
131
|
* ignored. Two-way, so a burger in your topbar can drive it.
|
|
132
132
|
*/
|
|
133
133
|
readonly railOpen: _angular_core.ModelSignal<boolean>;
|
|
134
|
-
/** Accessible name for the rail while it is a modal overlay.
|
|
135
|
-
|
|
134
|
+
/** Accessible name for the rail while it is a modal overlay. Unset falls back to
|
|
135
|
+
* `DS_INTL.appLayout.railLabel`. */
|
|
136
|
+
readonly railLabel: _angular_core.InputSignal<string | null>;
|
|
137
|
+
private readonly intl;
|
|
138
|
+
protected readonly railLabelResolved: _angular_core.Signal<string>;
|
|
136
139
|
/**
|
|
137
140
|
* Remember the content scroll per path and restore it on the way BACK. Off by
|
|
138
141
|
* default: a layout that silently moved the scroll would surprise every existing
|
|
@@ -16,7 +16,7 @@ import { BrandNameDirective } from '@ids-group-ltd/ids-design-system/components/
|
|
|
16
16
|
* projects a two-tone wordmark (import `BrandNameDirective` alongside this
|
|
17
17
|
* component, or the attribute is inert and the wordmark lands in the card), and
|
|
18
18
|
* `[brand]` projects a real logo. The two are not pixel-identical: the rail's tile
|
|
19
|
-
* is a fixed 28px at weight 800, this one
|
|
19
|
+
* is a fixed 28px at weight 800, this one 28px at 700, and each has its own
|
|
20
20
|
* `--ds-*-mark-*` hooks, so retinting the mark means setting both.
|
|
21
21
|
*
|
|
22
22
|
* Projecting into `[brand]` does NOT suppress the tile — leave `brand`/`logoLetter`
|
|
@@ -57,10 +57,10 @@ declare class AuthLayoutComponent {
|
|
|
57
57
|
/** Card padding, passed through to `ds-card`. `md` tightens a short form. */
|
|
58
58
|
readonly cardPadding: _angular_core.InputSignal<CardPadding>;
|
|
59
59
|
/** Announce the card as the page's `main` landmark. `ds-card` renders an
|
|
60
|
-
* `<article>`, which is
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
60
|
+
* `<article>`, which is not a landmark, so this is what lets a screen-reader
|
|
61
|
+
* user jump to the form. Set `'none'` where the layout sits inside a page
|
|
62
|
+
* that already owns a `main`, such as `ds-app-layout`: two `main` landmarks
|
|
63
|
+
* is its own violation. */
|
|
64
64
|
readonly landmark: _angular_core.InputSignal<"none" | "main">;
|
|
65
65
|
protected readonly brandNameRef: _angular_core.Signal<BrandNameDirective | undefined>;
|
|
66
66
|
protected readonly hasBrandName: _angular_core.Signal<boolean>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _ids_group_ltd_ids_design_system_components_field_message from '@ids-group-ltd/ids-design-system/components/field-message';
|
|
2
2
|
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
3
3
|
import { DsControlValueAccessor, DsOverlayCloseCause } from '@ids-group-ltd/ids-design-system/components';
|
|
4
|
-
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
5
|
-
import { DsOptionItem, DsOption, DsOptionGroup, DsControlWidth, DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
6
4
|
import * as _angular_core from '@angular/core';
|
|
7
5
|
import { OnDestroy, TemplateRef, ElementRef } from '@angular/core';
|
|
6
|
+
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
7
|
+
import { DsOptionItem, DsOption, DsOptionGroup, DsControlWidth, DsSize } from '@ids-group-ltd/ids-design-system/core';
|
|
8
8
|
import { describedByIds } from '@ids-group-ltd/ids-design-system/components/field-group';
|
|
9
9
|
|
|
10
10
|
/** `content` here also reserves a minimum typing area beside the chips. */
|
|
@@ -24,6 +24,7 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
|
|
|
24
24
|
private readonly overlay;
|
|
25
25
|
private readonly vcr;
|
|
26
26
|
private readonly host;
|
|
27
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
27
28
|
/** Public panel tokens forwarded onto the portaled overlay pane on open, so a consumer's
|
|
28
29
|
* `ds-autocomplete { --ds-autocomplete-panel-bg-color | -radius | -maxh: … }` reaches it.
|
|
29
30
|
* Not the whole set: `prepareOverlayEnter` also forwards `DROPDOWN_PANEL_TOKENS`
|
|
@@ -58,8 +59,10 @@ declare class AutocompleteComponent<T = unknown> extends DsControlValueAccessor<
|
|
|
58
59
|
* `ellipsis`; `wrap` lets the value break onto a second line and pushes the chevron
|
|
59
60
|
* down. Multi mode is unaffected — its chips have their own measured cap. */
|
|
60
61
|
readonly valueOverflow: _angular_core.InputSignal<AutocompleteValueOverflow>;
|
|
61
|
-
/** Placeholder shown in the input when empty.
|
|
62
|
-
|
|
62
|
+
/** Placeholder shown in the input when empty.
|
|
63
|
+
* Unset falls back to `DS_INTL.picker.placeholder`. */
|
|
64
|
+
readonly placeholder: _angular_core.InputSignal<string | null>;
|
|
65
|
+
readonly placeholderResolved: _angular_core.Signal<string>;
|
|
63
66
|
/** Disables the trigger and blocks all interaction. */
|
|
64
67
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
65
68
|
/** Confirmation text, shown when there is no error or warning — and it paints
|
|
@@ -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 AvatarGroupComponent {
|
|
5
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
4
6
|
/** Maximum avatars shown before the rest collapse into an overflow chip. */
|
|
5
7
|
readonly max: _angular_core.InputSignal<number>;
|
|
6
8
|
/** Total avatar count driving the `+N` overflow; null counts the projected children. */
|
|
@@ -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,25 @@ 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
|
private readonly defaults;
|
|
126
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
125
127
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
126
128
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
127
129
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
128
130
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
129
|
-
readonly valueFormatResolved: _angular_core.Signal<
|
|
131
|
+
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
130
132
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
131
133
|
* The click output fires whether or not this is set, so a consumer that
|
|
132
134
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -145,6 +147,12 @@ declare class BarChartComponent {
|
|
|
145
147
|
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
146
148
|
* and pays for it with the rest of the chart. */
|
|
147
149
|
readonly dimOthers: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
150
|
+
/** The segment to single out, by its `id` - or by its position as a string where it has none.
|
|
151
|
+
* Every other segment in every row fades, the same answer `highlighted` gives on a series
|
|
152
|
+
* mark. Independent of `dimOthers`, which governs what a pointer does. A row without segments
|
|
153
|
+
* is unaffected. */
|
|
154
|
+
readonly highlighted: _angular_core.InputSignal<string | null>;
|
|
155
|
+
protected isSegmentDimmed(key: string): boolean;
|
|
148
156
|
/** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at
|
|
149
157
|
* all; `40` is the documented non-zero step. The total is capped, so a long series does not
|
|
150
158
|
* crawl in. */
|
|
@@ -206,7 +214,7 @@ declare class BarChartComponent {
|
|
|
206
214
|
* when the data lands; falls back to three when `data` is still empty. */
|
|
207
215
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
208
216
|
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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "staggerMs": { "alias": "staggerMs"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "rowClicked": "rowClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
217
|
+
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; }; "interactive": { "alias": "interactive"; "required": false; "isSignal": true; }; "pinOnClick": { "alias": "pinOnClick"; "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
218
|
}
|
|
211
219
|
|
|
212
220
|
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. */
|
|
@@ -55,9 +55,6 @@ declare class ChartTooltipDirective {
|
|
|
55
55
|
* that text as well as the mark, or the two overlap. Ignored for touch, where the gap is already
|
|
56
56
|
* sized for a fingertip. */
|
|
57
57
|
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
58
|
/** A held panel takes the pointer again, so its text can be selected. While it merely follows
|
|
62
59
|
* the pointer the pane stays inert, or the mark it covers never sees the pointer at all. */
|
|
63
60
|
readonly dsChartTooltipPinned: _angular_core.InputSignal<boolean>;
|
|
@@ -71,7 +68,7 @@ declare class ChartTooltipDirective {
|
|
|
71
68
|
private closeOnEscape;
|
|
72
69
|
private close;
|
|
73
70
|
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; }; "
|
|
71
|
+
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
72
|
}
|
|
76
73
|
|
|
77
74
|
/** @internal */
|