@ids-group-ltd/ids-design-system 0.13.4 → 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 +584 -0
- package/components.md +100 -52
- package/design-system.md +2 -0
- package/docs/agent/INDEX.md +3 -2
- 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 +3 -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/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-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 +3 -3
- package/docs/agent/forms/ds-split-button.md +1 -1
- package/docs/agent/forms/ds-switch.md +4 -2
- package/docs/agent/forms/ds-textarea.md +2 -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/navigation/ds-pagination.md +2 -2
- package/docs/agent/platform/ds-config.md +3 -3
- package/docs/agent/platform/ds-intl.md +33 -0
- package/docs/agent/surfaces/ds-accordion.md +2 -2
- package/docs/agent/tables/ds-cell-template.md +1 -1
- package/docs/agent/tables/ds-table.md +5 -4
- 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 +56 -32
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bottom-sheet.mjs +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 +15 -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 +45 -39
- 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 +414 -105
- 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 +22 -18
- 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 +40 -42
- 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 +27 -23
- 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 +62 -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 +22 -13
- 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 +55 -29
- 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 +41 -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 +13 -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 +37 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-skeleton.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-slider.mjs +8 -7
- 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-switch.mjs +20 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-switch.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table-columns.mjs +18 -15
- 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 +47 -38
- 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 +26 -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 +345 -66
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +361 -6
- 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.12.2.json +4 -1
- package/migrations/0.13.3.json +32 -10
- package/migrations/0.13.4.json +1630 -132
- package/migrations/0.14.0.json +615 -0
- package/migrations/0.14.1.json +856 -0
- package/migrations/0.5.0.json +10 -4
- package/migrations/0.7.0.json +5 -2
- package/migrations/0.9.0.json +5 -2
- package/migrations/README.md +7 -2
- 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-frame.scss +4 -4
- package/styles/_chart-interactive.scss +33 -0
- package/styles/_chart-motion.scss +17 -10
- package/styles/_field-box.scss +12 -0
- package/styles/_overlay-motion.scss +20 -10
- package/styles/_skeleton-shimmer.scss +4 -1
- package/styles/_tokens-charts.scss +1 -1
- package/styles/_tokens.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 +20 -14
- 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 +5 -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 +11 -6
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +155 -36
- 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 +11 -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 +13 -13
- 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 +17 -11
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +6 -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 +17 -10
- 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 +25 -14
- package/types/ids-group-ltd-ids-design-system-components-scatter-chart.d.ts +15 -6
- package/types/ids-group-ltd-ids-design-system-components-search.d.ts +9 -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 +6 -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-switch.d.ts +10 -1
- 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 +44 -28
- 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 +15 -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 +83 -17
- package/types/ids-group-ltd-ids-design-system-core.d.ts +420 -14
- package/types/ids-group-ltd-ids-design-system.d.ts +3 -3
|
@@ -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
|
}
|
package/styles/_chart-frame.scss
CHANGED
|
@@ -133,15 +133,15 @@
|
|
|
133
133
|
position: relative;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
/*
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
/* Bottom CENTRE: the panel it undoes opens above the held mark, so a control at the top is the
|
|
137
|
+
one thing the panel covers. A corner competes with a legend on the pie and with the value
|
|
138
|
+
labels on a column chart, and on a wide card it is a long way from the mark it undoes.
|
|
139
139
|
|
|
140
140
|
44px minimum box around a 12px label, because it is a real control and the library's own touch
|
|
141
141
|
rule applies to it. */
|
|
142
142
|
.pin-reset {
|
|
143
143
|
position: absolute;
|
|
144
|
-
inset-block-
|
|
144
|
+
inset-block-end: var(--space-2);
|
|
145
145
|
inset-inline: 0;
|
|
146
146
|
z-index: 1;
|
|
147
147
|
justify-self: center;
|
|
@@ -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
|
+
}
|
|
@@ -2,8 +2,17 @@
|
|
|
2
2
|
//
|
|
3
3
|
// The enter is DELAYED by the exit duration, and that delay is what stages the three phases:
|
|
4
4
|
// removals finish before additions start, so a vanishing mark and an arriving one are never on
|
|
5
|
-
// screen together.
|
|
6
|
-
//
|
|
5
|
+
// screen together. `--_chart-mark-stagger` is set per mark by the component and adds to the delay.
|
|
6
|
+
//
|
|
7
|
+
// The enter is a plain CSS animation declared on the mark, so the browser plays it once when the
|
|
8
|
+
// mark is inserted - on first render and for a mark a data change adds - with no script at all.
|
|
9
|
+
// NOT `animate.enter`: its runtime calls `getAnimations()` once per mark, and in Chrome each call
|
|
10
|
+
// costs more the more animations are running, so a chart entering a thousand marks at once blocks
|
|
11
|
+
// the main thread for seconds. `backwards`, not `both`: a finished animation that still fills stays
|
|
12
|
+
// in effect for good, and every later `getAnimations()` on the page pays for it. The exit still goes
|
|
13
|
+
// through `animate.leave`, because only Angular can hold a removed mark until it has faded, but in
|
|
14
|
+
// its function form: the component puts `.mark-leave` on the mark and Angular removes it on
|
|
15
|
+
// `animationend`, with no `getAnimations()` call.
|
|
7
16
|
//
|
|
8
17
|
// A mark ARRIVES BY GROWING FROM ITS OWN BASELINE, never by scaling about its centre: a uniform
|
|
9
18
|
// scale reads as the whole chart zooming, and it moves the mark's baseline, which is the one line
|
|
@@ -52,14 +61,12 @@
|
|
|
52
61
|
calc(
|
|
53
62
|
var(--ds-motion-chart-mark-exit-duration) + var(--_chart-mark-stagger, 0ms)
|
|
54
63
|
)
|
|
55
|
-
|
|
64
|
+
backwards;
|
|
56
65
|
}
|
|
57
66
|
}
|
|
58
67
|
|
|
59
|
-
// `animate.
|
|
60
|
-
//
|
|
61
|
-
// fill inside it animates is never taken off again. `animate.leave` still belongs on the row —
|
|
62
|
-
// that is what leaves.
|
|
68
|
+
// `animate.leave` goes on the element the `@for` creates - that is what leaves - while the enter
|
|
69
|
+
// is declared on the element that animates, which for a column and a bar row is the fill inside.
|
|
63
70
|
|
|
64
71
|
/* A column: the fill grows up out of the category axis. */
|
|
65
72
|
@mixin grows-up($mark, $fill) {
|
|
@@ -67,7 +74,7 @@
|
|
|
67
74
|
transform-origin: bottom;
|
|
68
75
|
}
|
|
69
76
|
|
|
70
|
-
@include enters('#{$fill}
|
|
77
|
+
@include enters('#{$fill}', ds-chart-mark-grow-y);
|
|
71
78
|
@include leaves($mark);
|
|
72
79
|
}
|
|
73
80
|
|
|
@@ -77,12 +84,12 @@
|
|
|
77
84
|
transform-origin: left;
|
|
78
85
|
}
|
|
79
86
|
|
|
80
|
-
@include enters('#{$fill}
|
|
87
|
+
@include enters('#{$fill}', ds-chart-mark-grow-x);
|
|
81
88
|
@include leaves($mark);
|
|
82
89
|
}
|
|
83
90
|
|
|
84
91
|
/* A mark with no baseline of its own — a ring arc, a funnel band, a line. */
|
|
85
92
|
@mixin fades-in($mark) {
|
|
86
|
-
@include enters('#{$mark}
|
|
93
|
+
@include enters('#{$mark}', ds-chart-mark-fade-in);
|
|
87
94
|
@include leaves($mark);
|
|
88
95
|
}
|
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;
|
|
@@ -85,12 +87,20 @@
|
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
89
|
|
|
88
|
-
/* The pane
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
/* The pane is INERT, because it is drawn over the plot it describes: on a funnel or a tight
|
|
91
|
+
category axis the panel covers the neighbouring marks, and a pane that takes the pointer means
|
|
92
|
+
the mark underneath never sees it - the reader is over a new segment while the panel still names
|
|
93
|
+
the old one. Inert, the pointer reaches the mark and the panel follows it.
|
|
94
|
+
|
|
95
|
+
WCAG 1.4.13 still holds. Hoverable: moving onto the panel does not dismiss it, because the
|
|
96
|
+
pointer either stays on the mark under it or the grace period in `chart-active-mark.ts` carries
|
|
97
|
+
the gap. Dismissible: Escape. Persistent: the panel stays while the mark is hovered, and a press
|
|
98
|
+
pins it where the chart offers pinning - a pinned pane takes the pointer again so its text can be
|
|
99
|
+
selected. Drop the grace and the flicker returns. */
|
|
94
100
|
.cdk-overlay-pane.ds-chart-tooltip-pane {
|
|
101
|
+
pointer-events: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.cdk-overlay-pane.ds-chart-tooltip-pane.is-pinned {
|
|
95
105
|
pointer-events: auto;
|
|
96
106
|
}
|
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
// one invalidates the style of every element that could inherit it — the whole document, every
|
|
10
10
|
// frame. And the phase-lock buys no viewport anchoring anyway, because `mask-position` measures
|
|
11
11
|
// from the host's own box.
|
|
12
|
+
//
|
|
13
|
+
// `!important`, because the travel is declared as `[_nghost-…]::after`, which outranks
|
|
14
|
+
// `ds-skeleton::after` whatever the order.
|
|
12
15
|
@media (prefers-reduced-motion: reduce) {
|
|
13
16
|
ds-skeleton::after {
|
|
14
|
-
animation: none;
|
|
17
|
+
animation: none !important;
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -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.
|
package/styles/_tokens.scss
CHANGED
|
@@ -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,9 +1,11 @@
|
|
|
1
|
+
import * as _ids_group_ltd_ids_design_system_components from '@ids-group-ltd/ids-design-system/components';
|
|
2
|
+
import { leaveMark } from '@ids-group-ltd/ids-design-system/components';
|
|
1
3
|
import * as _ids_group_ltd_ids_design_system_components_chart_tooltip from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
2
4
|
import { ChartItemTooltipTrigger, ChartTooltipContext } from '@ids-group-ltd/ids-design-system/components/chart-tooltip';
|
|
3
|
-
import * as
|
|
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';
|
|
4
7
|
import * as _angular_core from '@angular/core';
|
|
5
8
|
import { TemplateRef } from '@angular/core';
|
|
6
|
-
import { ChartFrame, ChartDataTable, ChartValueFormat } from '@ids-group-ltd/ids-design-system/core';
|
|
7
9
|
import { ChartDataRow } from '@ids-group-ltd/ids-design-system/components/chart-data-table';
|
|
8
10
|
|
|
9
11
|
/** A row's reading: one number, or the two ends of a band.
|
|
@@ -66,6 +68,8 @@ interface BarChartRow {
|
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
declare class BarChartComponent {
|
|
71
|
+
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
72
|
+
protected readonly leaveMark: typeof leaveMark;
|
|
69
73
|
/** One row per bar, drawn in the order given. */
|
|
70
74
|
readonly data: _angular_core.InputSignal<readonly BarChartRow[]>;
|
|
71
75
|
/** Track length is relative to this. Null uses the largest value, so the
|
|
@@ -106,25 +110,25 @@ declare class BarChartComponent {
|
|
|
106
110
|
* when the data lands. */
|
|
107
111
|
readonly loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
108
112
|
/** Shown in place of the plot when `data` is empty. Unset falls back to
|
|
109
|
-
* `
|
|
113
|
+
* `DS_INTL.chart.empty`. */
|
|
110
114
|
readonly emptyText: _angular_core.InputSignal<string | null>;
|
|
111
115
|
/** Shows `errorText` in place of the plot. Separate from `loading` and from an empty `data`,
|
|
112
116
|
* because "the request failed" and "there is nothing to show" read the same to a reader and
|
|
113
117
|
* mean opposite things. */
|
|
114
118
|
readonly error: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
|
-
/** The message the error state prints. Unset falls back to `
|
|
116
|
-
* `'Could not load the data'`. */
|
|
119
|
+
/** The message the error state prints. Unset falls back to `DS_INTL.chart.error`. */
|
|
117
120
|
readonly errorText: _angular_core.InputSignal<string | null>;
|
|
118
121
|
/** Formats every value the chart prints, the annex table and the generated description
|
|
119
|
-
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then
|
|
120
|
-
*
|
|
122
|
+
* included. Unset falls back to `DS_CONFIG.chart.valueFormat`, then `DS_CONFIG.locale` /
|
|
123
|
+
* `LOCALE_ID`. */
|
|
121
124
|
readonly valueFormat: _angular_core.InputSignal<ChartValueFormat | null>;
|
|
122
125
|
private readonly defaults;
|
|
126
|
+
protected readonly intl: _angular_core.Signal<_ids_group_ltd_ids_design_system_core.DsIntl>;
|
|
123
127
|
readonly frameResolved: _angular_core.Signal<ChartFrame>;
|
|
124
128
|
readonly dataTableResolved: _angular_core.Signal<ChartDataTable>;
|
|
125
129
|
readonly emptyTextResolved: _angular_core.Signal<string>;
|
|
126
130
|
readonly errorTextResolved: _angular_core.Signal<string>;
|
|
127
|
-
readonly valueFormatResolved: _angular_core.Signal<
|
|
131
|
+
readonly valueFormatResolved: _angular_core.Signal<ChartValueFormat>;
|
|
128
132
|
/** Turns on the click affordance — the pointer cursor and any hover tint.
|
|
129
133
|
* The click output fires whether or not this is set, so a consumer that
|
|
130
134
|
* binds the output and forgets the flag still receives every click. */
|
|
@@ -143,6 +147,12 @@ declare class BarChartComponent {
|
|
|
143
147
|
* opacity to 2.1 at `--ds-chart-dim-opacity`'s default 0.3 — so it buys loudness for one mark
|
|
144
148
|
* and pays for it with the rest of the chart. */
|
|
145
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;
|
|
146
156
|
/** Milliseconds between one mark's entrance and the next. `0`, the default, is no stagger at
|
|
147
157
|
* all; `40` is the documented non-zero step. The total is capped, so a long series does not
|
|
148
158
|
* crawl in. */
|
|
@@ -157,11 +167,7 @@ declare class BarChartComponent {
|
|
|
157
167
|
private readonly tooltipLingerResolved;
|
|
158
168
|
protected readonly activeMark: _ids_group_ltd_ids_design_system_components_chart_tooltip.ChartActiveMark;
|
|
159
169
|
protected onMarkClick(payload: BarChartRow, index: number, event: Event): void;
|
|
160
|
-
|
|
161
|
-
* every mouse-operable control has to be separately focusable, and that is what keeps a
|
|
162
|
-
* twenty-five mark chart from being twenty-five stops in the page's tab order. */
|
|
163
|
-
protected readonly rovingIndex: _angular_core.WritableSignal<number>;
|
|
164
|
-
protected readonly tabStopIndex: _angular_core.Signal<number>;
|
|
170
|
+
protected readonly roving: _ids_group_ltd_ids_design_system_components.RovingMarks;
|
|
165
171
|
protected onMarkFocus(index: number, event: FocusEvent): void;
|
|
166
172
|
protected onMarkNavigation(event: KeyboardEvent, index: number): void;
|
|
167
173
|
protected readonly tooltipContext: _angular_core.Signal<ChartTooltipContext | null>;
|
|
@@ -208,7 +214,7 @@ declare class BarChartComponent {
|
|
|
208
214
|
* when the data lands; falls back to three when `data` is still empty. */
|
|
209
215
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
210
216
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarChartComponent, never>;
|
|
211
|
-
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>;
|
|
212
218
|
}
|
|
213
219
|
|
|
214
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>;
|
|
@@ -23,6 +25,9 @@ declare class ChartDataTableComponent {
|
|
|
23
25
|
/** Fires with the disclosure's state, so a chart with thousands of readings can build its rows
|
|
24
26
|
* only while they are on screen. */
|
|
25
27
|
readonly toggled: _angular_core.OutputEmitterRef<boolean>;
|
|
28
|
+
private readonly openedOnce;
|
|
29
|
+
protected readonly built: _angular_core.Signal<boolean>;
|
|
30
|
+
protected onToggle(open: boolean): void;
|
|
26
31
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChartDataTableComponent, never>;
|
|
27
32
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChartDataTableComponent, "ds-chart-data-table", never, { "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "rowHeader": { "alias": "rowHeader"; "required": false; "isSignal": true; }; }, { "toggled": "toggled"; }, never, never, true, never>;
|
|
28
33
|
}
|