@ids-group-ltd/ids-design-system 0.14.6 → 0.14.7
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 +98 -0
- package/components.md +5 -4
- package/docs/agent/forms/ds-button.md +2 -2
- package/docs/agent/overlays/ds-drawer.md +1 -1
- package/docs/agent/overlays/ds-modal-card.md +1 -1
- package/docs/agent/overlays/ds-modal.md +1 -1
- package/docs/agent/platform/toast-service.md +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs +16 -9
- package/fesm2022/ids-group-ltd-ids-design-system-components-avatar-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-banner.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs +16 -8
- package/fesm2022/ids-group-ltd-ids-design-system-components-bar-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +4 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart-tooltip.mjs +1 -1
- 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 +68 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +15 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +63 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.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-pie-chart.mjs +96 -5
- package/fesm2022/ids-group-ltd-ids-design-system-components-pie-chart.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-table.mjs +2 -2
- 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 +4 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components-tabs.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +14 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-topbar.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +18 -10
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +126 -9
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +17 -6
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-theme.mjs +5 -2
- package/fesm2022/ids-group-ltd-ids-design-system-theme.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.14.7.json +140 -0
- package/migrations/0.4.0.json +3 -1
- package/package.json +1 -1
- package/schematics/check-overrides/surface.json +9 -10
- package/types/ids-group-ltd-ids-design-system-components-avatar-group.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +4 -3
- package/types/ids-group-ltd-ids-design-system-components-chart-tooltip.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +19 -4
- package/types/ids-group-ltd-ids-design-system-components-drawer.d.ts +2 -1
- package/types/ids-group-ltd-ids-design-system-components-modal.d.ts +21 -4
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +22 -3
- package/types/ids-group-ltd-ids-design-system-components.d.ts +7 -2
- package/types/ids-group-ltd-ids-design-system-core.d.ts +33 -3
- package/types/ids-group-ltd-ids-design-system-icons.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-theme.d.ts +4 -2
- package/types/ids-group-ltd-ids-design-system.d.ts +2 -2
|
@@ -14,6 +14,8 @@ interface PieChartSlice {
|
|
|
14
14
|
/** 1-based palette slot; left off, the colour follows the index. */
|
|
15
15
|
slot?: number;
|
|
16
16
|
}
|
|
17
|
+
/** Where `ds-pie-chart` prints its centre value. */
|
|
18
|
+
type PieChartCenterPlacement = 'inside' | 'below';
|
|
17
19
|
|
|
18
20
|
declare class PieChartComponent extends DsChartBase implements ChartDimmable, ChartWithDataTable, ChartWithTooltipTrigger {
|
|
19
21
|
protected readonly renderReady: _angular_core.Signal<boolean>;
|
|
@@ -23,8 +25,14 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
23
25
|
readonly centerValue: _angular_core.InputSignal<string | null>;
|
|
24
26
|
/** Caption under the centre value. */
|
|
25
27
|
readonly centerLabel: _angular_core.InputSignal<string | null>;
|
|
28
|
+
/** When the sum does not fit the hole even at `--ds-pie-chart-center-value-min-font-size`, prints
|
|
29
|
+
* it in the `'tick'` form of `valueFormat` (`32.4K`). A `centerValue` string is never shortened. */
|
|
30
|
+
readonly centerCompact: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
/** `'below'` prints the value and its caption under the ring at full size, never shrunk or
|
|
32
|
+
* shortened. */
|
|
33
|
+
readonly centerPlacement: _angular_core.InputSignal<PieChartCenterPlacement>;
|
|
26
34
|
/** Legend placement, logical so it flips in right-to-left. */
|
|
27
|
-
readonly legend: _angular_core.InputSignal<"
|
|
35
|
+
readonly legend: _angular_core.InputSignal<"end" | "bottom" | "none">;
|
|
28
36
|
/** Longest legend to draw; past it the smallest slices are summed into one. Values below 2 are ignored. */
|
|
29
37
|
readonly maxSlices: _angular_core.InputSignalWithTransform<number | null, number | null>;
|
|
30
38
|
/** Names the grouped slice. Unset falls back to `DS_INTL.chart.other`. */
|
|
@@ -88,8 +96,19 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
88
96
|
};
|
|
89
97
|
} | null>;
|
|
90
98
|
protected readonly resolvedCenterValue: _angular_core.Signal<string>;
|
|
99
|
+
private readonly compactCenterValue;
|
|
100
|
+
private readonly ringElement;
|
|
101
|
+
private readonly centerValueElement;
|
|
102
|
+
private readonly centerFit;
|
|
103
|
+
protected readonly centerText: _angular_core.Signal<string>;
|
|
104
|
+
protected readonly centerFontSize: _angular_core.Signal<number | null>;
|
|
105
|
+
private readonly ringWidth;
|
|
106
|
+
private readonly fitsInside;
|
|
107
|
+
private fitCenter;
|
|
91
108
|
protected readonly accessibleName: _angular_core.Signal<string>;
|
|
92
109
|
protected readonly hole: _angular_core.Signal<number>;
|
|
110
|
+
private readonly watchRing;
|
|
111
|
+
private readonly refit;
|
|
93
112
|
protected entryLabel(entry: {
|
|
94
113
|
slice: PieChartSlice;
|
|
95
114
|
formattedValue: string;
|
|
@@ -101,8 +120,8 @@ declare class PieChartComponent extends DsChartBase implements ChartDimmable, Ch
|
|
|
101
120
|
/** Placeholder legend rows while loading. */
|
|
102
121
|
protected readonly skeletonRows: _angular_core.Signal<unknown[]>;
|
|
103
122
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
104
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
123
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PieChartComponent, "ds-pie-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "centerValue": { "alias": "centerValue"; "required": false; "isSignal": true; }; "centerLabel": { "alias": "centerLabel"; "required": false; "isSignal": true; }; "centerCompact": { "alias": "centerCompact"; "required": false; "isSignal": true; }; "centerPlacement": { "alias": "centerPlacement"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; "maxSlices": { "alias": "maxSlices"; "required": false; "isSignal": true; }; "otherLabel": { "alias": "otherLabel"; "required": false; "isSignal": true; }; "innerRadius": { "alias": "innerRadius"; "required": false; "isSignal": true; }; "dataTable": { "alias": "dataTable"; "required": false; "isSignal": true; }; "partOfWhole": { "alias": "partOfWhole"; "required": false; "isSignal": true; }; "dimOthers": { "alias": "dimOthers"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; }, { "sliceClicked": "sliceClicked"; }, ["tooltipTemplate"], never, true, never>;
|
|
105
124
|
}
|
|
106
125
|
|
|
107
126
|
export { PieChartComponent };
|
|
108
|
-
export type { PieChartSlice };
|
|
127
|
+
export type { PieChartCenterPlacement, PieChartSlice };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Signal, ElementRef, InjectionToken, AnimationCallbackEvent, TemplateRef, ModelSignal
|
|
2
|
+
import { Signal, ElementRef, WritableSignal, InjectionToken, AnimationCallbackEvent, TemplateRef, ModelSignal } from '@angular/core';
|
|
3
3
|
import * as _ids_group_ltd_ids_design_system_core from '@ids-group-ltd/ids-design-system/core';
|
|
4
4
|
import { ChartValueFormat, ChartCurve, DsIntl, ChartThreshold, IconName, ChartDataTable, ChartFrame } from '@ids-group-ltd/ids-design-system/core';
|
|
5
5
|
import { ControlValueAccessor } from '@angular/forms';
|
|
@@ -84,6 +84,11 @@ declare function describeShare(values: readonly number[], index: number, locale:
|
|
|
84
84
|
*
|
|
85
85
|
* @internal */
|
|
86
86
|
declare function elementWidth(host: ElementRef<HTMLElement>): Signal<number>;
|
|
87
|
+
/** Writes `element`'s rounded content width into `width` on every change, through the one observer
|
|
88
|
+
* every chart shares. Returns the call that stops it.
|
|
89
|
+
*
|
|
90
|
+
* @internal */
|
|
91
|
+
declare function watchElementWidth(element: Element, width: WritableSignal<number>): () => void;
|
|
87
92
|
/** `read(host)` as a signal, re-read whenever the host's width changes, so a geometry token re-pointed
|
|
88
93
|
* at a breakpoint reaches the chart. `initial` until the host is laid out, and under SSR.
|
|
89
94
|
*
|
|
@@ -923,5 +928,5 @@ declare function resolveChartDefaults(inputs: ChartDefaultInputs): {
|
|
|
923
928
|
tooltipSwatches: Signal<boolean | "auto">;
|
|
924
929
|
};
|
|
925
930
|
|
|
926
|
-
export { CHART_HEAT_COLORS, CHART_HOVER_DELAY_MS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDwell, chartRenderGate, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, linePath, lineSegments, linearScale, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge };
|
|
931
|
+
export { CHART_HEAT_COLORS, CHART_HOVER_DELAY_MS, CHART_RAMP_COLORS, CHART_RENDER_GATE_PASSED, CHART_SERIES_COLORS, CHART_TOOLTIP_LINGER_MS, DS_FIELD_WARNING_KIND, DsBooleanControlValueAccessor, DsChartBase, DsChipTemplateDirective, DsControlValueAccessor, DsCreateTemplateDirective, DsEmptyTemplateDirective, DsFieldBase, DsGroupLabelTemplateDirective, DsMessageBase, DsOptionTemplateDirective, DsPanelFooterTemplateDirective, DsPanelHeaderTemplateDirective, DsPickerTriggerDirective, DsStaticPreview, FieldClickFocusDirective, ProjectionDroppedDirective, announceOptionCount, areaPath, bandPath, bandScale, chartColors, chartDwell, chartRenderGate, chartValueFormat, chipFit, clearOnDetach, closeOnOutsidePointer, closeOnScroll, createTypeAhead, decimationTarget, describeSeries, describeShare, disposeWithLeave, domainMinOf, dropdownOverlay, dsAriaCurrent, dsDestination, elementWidth, focusIsInside, focusMark, formatPercent, formatTick, formatValue, formatWholePercent, forwardOverlayTokens, labelInterval, largestRemainder, leaveMark, linePath, lineSegments, linearScale, listenForMarkFocus, lttbDecimate, markAt, markOf, minMaxDecimate, needsDecimating, nextControlId, nextRovingIndex, niceDomain, overlayPlacementOf, panelClassesOf, pointScale, polylinePoints, prepareOverlayEnter, readOnHostResize, resolveBrandValue, resolveChartDefaults, resolveFieldMessage, rotationWouldFit, roundStepAtLeast, rovingMarks, scrollActiveOptionIntoView, shareOfTotal, staggerDelay, tickStep, tickValues, trimmedText, valueControlBridge, watchElementWidth };
|
|
927
932
|
export type { BandScale, ChartDimmable, ChartDwell, ChartStaggered, ChartWithDataTable, ChartWithTooltipTrigger, DsAriaCurrent, DsDestination, DsFieldError, DsFieldErrorsInput, DsFieldMessage, DsLinkModifiers, DsOverlayCloseCause, DsRouterLink, LinePoint, MarkHit, NiceDomain, PointScale, RovingMarks, SummaryPoint };
|
|
@@ -263,6 +263,10 @@ interface DsConfig {
|
|
|
263
263
|
maxVisible?: number;
|
|
264
264
|
/** Show a `+N` strip while toasts wait behind `maxVisible`. Default `true`. */
|
|
265
265
|
showQueueCount?: boolean;
|
|
266
|
+
/** In dev mode, also show each library warning from the console as a warning toast, once the
|
|
267
|
+
* app has injected `ToastService`; warnings raised earlier show when it is. Never in a
|
|
268
|
+
* production build. Default `true`. */
|
|
269
|
+
mirrorDevWarnings?: boolean;
|
|
266
270
|
};
|
|
267
271
|
picker?: {
|
|
268
272
|
/** Default for `ds-multi-select`'s `searchable`. `true` always shows the panel's filter row,
|
|
@@ -367,8 +371,24 @@ declare function inheritDsConfig(config: DsConfig): DsConfig;
|
|
|
367
371
|
declare function resolveWithConfig<T>(value: Signal<T | null>, pick: (config: DsConfig) => T | undefined, fallback: T): Signal<T>;
|
|
368
372
|
|
|
369
373
|
/**
|
|
370
|
-
*
|
|
371
|
-
*
|
|
374
|
+
* The one exit for every dev-mode warning of the library: logs `message` with `console.warn` once
|
|
375
|
+
* per page, however many instances raise it, and hands it to each sink (`ToastService` registers
|
|
376
|
+
* one). Messages raised before any sink exists are kept, up to 50, for the first one.
|
|
377
|
+
*
|
|
378
|
+
* Callers wrap this in `if (typeof ngDevMode === 'undefined' || ngDevMode)`, so the message text
|
|
379
|
+
* folds out of a production build.
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
declare function reportDevWarning(message: string): void;
|
|
383
|
+
/**
|
|
384
|
+
* Receives every dev warning from now on, plus the ones raised before the first sink existed.
|
|
385
|
+
* Returns the unregister function.
|
|
386
|
+
* @internal
|
|
387
|
+
*/
|
|
388
|
+
declare function addDevWarningSink(sink: (message: string) => void): () => void;
|
|
389
|
+
/**
|
|
390
|
+
* Reports `message()` through `reportDevWarning` each time it yields a text: the effect re-runs
|
|
391
|
+
* whenever a signal the condition reads changes, and `reportDevWarning` drops a repeat.
|
|
372
392
|
*
|
|
373
393
|
* Must be called from an injection context.
|
|
374
394
|
*
|
|
@@ -396,6 +416,16 @@ interface AnnounceState {
|
|
|
396
416
|
*/
|
|
397
417
|
declare function warnAnnounceOversight(tag: 'ds-banner' | 'ds-alert', section: 'banner' | 'alert', state: () => AnnounceState): void;
|
|
398
418
|
|
|
419
|
+
/**
|
|
420
|
+
* Warns when content reaches an overlay's default slot: it renders in the body, but it carries no
|
|
421
|
+
* slot attribute, or one the overlay does not have. `container` is the element wrapping the
|
|
422
|
+
* default `<ng-content />`; content that appears later (an `@if` resolving) is caught by a
|
|
423
|
+
* MutationObserver. Reported through `reportDevWarning`, dev mode only; the caller wraps the call in the
|
|
424
|
+
* `typeof ngDevMode` guard (see `devWarn`). Must be called from an injection context.
|
|
425
|
+
* @internal
|
|
426
|
+
*/
|
|
427
|
+
declare function warnUnslottedContent(tag: string, bodySlot: string, slots: readonly string[], container: () => HTMLElement | undefined): void;
|
|
428
|
+
|
|
399
429
|
type DsIntlStepState = 'error' | 'completed' | 'current' | 'upcoming';
|
|
400
430
|
type DsIntlSortDirection = 'asc' | 'desc' | null;
|
|
401
431
|
/** Every string the library invents, grouped by the component that renders it. A function member
|
|
@@ -858,5 +888,5 @@ type DsTriggerDisplay = 'full' | 'count' | 'labels';
|
|
|
858
888
|
*/
|
|
859
889
|
type DsControlWidth = 'fill' | 'content';
|
|
860
890
|
|
|
861
|
-
export { DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, ICONS, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, injectDsLocale, isDsOptionGroup, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, provideDsIntl, resolveWithConfig, warnAnnounceOversight };
|
|
891
|
+
export { DS_CONFIG, DS_INTL, DS_INTL_DEFAULTS, ICONS, addDevWarningSink, backdropDismiss, boundOr, devWarn, firstEnabledIndex, flattenDsOptions, inheritDsConfig, injectDsLocale, isDsOptionGroup, isTextClipped, isTextEntryTarget, lastEnabledIndex, nextEnabledIndex, optionalBound, provideDsConfig, provideDsIntl, reportDevWarning, resolveWithConfig, warnAnnounceOversight, warnUnslottedContent };
|
|
862
892
|
export type { AnnounceState, CardElevation, CardPadding, ChartAxis, ChartAxisMode, ChartCurve, ChartDataTable, ChartFormatLocation, ChartFrame, ChartGaps, ChartRendering, ChartStackMode, ChartThreshold, ChartThresholdDash, ChartValueFormat, DsConfig, DsControlWidth, DsIntl, DsIntlOverrides, DsIntlSortDirection, DsIntlStepState, DsOption, DsOptionGroup, DsOptionItem, DsSize, DsStatus, DsStatusKey, DsStatusRegistry, DsToastHorizontalPosition, DsToastPosition, DsToastVerticalPosition, DsTriggerDisplay, IconName, PaginationLayout };
|
|
@@ -23,7 +23,9 @@ declare class IconComponent {
|
|
|
23
23
|
/** Custom icon name -> SVG body markup (the inside of the host's 24x24 stroke `<svg>`). Omit the `stroke` attribute; the host template sets stroke, caps and joins. */
|
|
24
24
|
type DsIconRegistry = Readonly<Record<string, string>>;
|
|
25
25
|
declare const DS_ICON_REGISTRY: InjectionToken<Readonly<Record<string, string>>>;
|
|
26
|
-
/** Register additional icons for `<ds-icon [name]>`. Built-in names win: a clashing consumer name is ignored.
|
|
26
|
+
/** Register additional icons for `<ds-icon [name]>`. Built-in names win: a clashing consumer name is ignored.
|
|
27
|
+
* Calls add up: sibling calls and a lazy route's call merge with the icons above them, a later
|
|
28
|
+
* call winning a shared name. */
|
|
27
29
|
declare function provideDsIcons(icons: DsIconRegistry): Provider;
|
|
28
30
|
|
|
29
31
|
export { DS_ICON_REGISTRY, IconComponent, provideDsIcons };
|
|
@@ -3,7 +3,8 @@ import { EnvironmentProviders } from '@angular/core';
|
|
|
3
3
|
interface DsThemeOptions {
|
|
4
4
|
/**
|
|
5
5
|
* Follow the operating-system colour scheme: sets `data-theme` on `<html>`
|
|
6
|
-
* from `prefers-color-scheme` at startup and on every OS change
|
|
6
|
+
* from `prefers-color-scheme` at startup and on every OS change, unless
|
|
7
|
+
* `<html>` already carries `data-theme` at startup.
|
|
7
8
|
* Default `false`: light, with dark opt-in via `<html data-theme="dark">`.
|
|
8
9
|
*/
|
|
9
10
|
followSystem?: boolean;
|
|
@@ -19,7 +20,8 @@ interface DsThemeOptions {
|
|
|
19
20
|
* ```
|
|
20
21
|
*
|
|
21
22
|
* Light is the default with no provider; `followSystem` opts into OS-driven
|
|
22
|
-
* switching. A
|
|
23
|
+
* switching. A `data-theme` already on `<html>` at startup is an explicit
|
|
24
|
+
* choice: it is kept, and OS changes do not override it.
|
|
23
25
|
*/
|
|
24
26
|
declare function provideDsTheme(options?: DsThemeOptions): EnvironmentProviders;
|
|
25
27
|
|
|
@@ -39,7 +39,7 @@ export { LineChartAnnotation, LineChartComponent, LineChartReading, LineChartSer
|
|
|
39
39
|
export { ListComponent, ListItemComponent } from '@ids-group-ltd/ids-design-system/components/list';
|
|
40
40
|
export { LoadingOverlayComponent } from '@ids-group-ltd/ids-design-system/components/loading-overlay';
|
|
41
41
|
export { MenuComponent, MenuDividerComponent, MenuItemComponent } from '@ids-group-ltd/ids-design-system/components/menu';
|
|
42
|
-
export { ModalCardComponent, ModalComponent, ModalConfirmOptions, ModalConfirmTone, ModalService, ModalSize } from '@ids-group-ltd/ids-design-system/components/modal';
|
|
42
|
+
export { ModalCardComponent, ModalComponent, ModalConfirmActionDirective, ModalConfirmOptions, ModalConfirmTone, ModalService, ModalSize } from '@ids-group-ltd/ids-design-system/components/modal';
|
|
43
43
|
export { MultiSelectComponent, MultiSelectItem, MultiSelectOption, MultiSelectOptionGroup, MultiSelectWidth } from '@ids-group-ltd/ids-design-system/components/multi-select';
|
|
44
44
|
export { NumberStepperComponent } from '@ids-group-ltd/ids-design-system/components/number-stepper';
|
|
45
45
|
export { OtpInputComponent, OtpMode } from '@ids-group-ltd/ids-design-system/components/otp-input';
|
|
@@ -47,7 +47,7 @@ export { PageFooterComponent, PageFooterVariant } from '@ids-group-ltd/ids-desig
|
|
|
47
47
|
export { PageHeaderComponent } from '@ids-group-ltd/ids-design-system/components/page-header';
|
|
48
48
|
export { PaginationComponent, PaginationLayout } from '@ids-group-ltd/ids-design-system/components/pagination';
|
|
49
49
|
export { DsPasswordRule, DsPasswordRuleState, PasswordRulesComponent, passwordRulesMet } from '@ids-group-ltd/ids-design-system/components/password-rules';
|
|
50
|
-
export { PieChartComponent, PieChartSlice } from '@ids-group-ltd/ids-design-system/components/pie-chart';
|
|
50
|
+
export { PieChartCenterPlacement, PieChartComponent, PieChartSlice } from '@ids-group-ltd/ids-design-system/components/pie-chart';
|
|
51
51
|
export { PopoverAlign, PopoverComponent, PopoverPlacement } from '@ids-group-ltd/ids-design-system/components/popover';
|
|
52
52
|
export { RADIO_GROUP, RadioComponent, RadioGroupChild, RadioGroupComponent, RadioGroupContract } from '@ids-group-ltd/ids-design-system/components/radio-group';
|
|
53
53
|
export { ReserveMessagesDirective } from '@ids-group-ltd/ids-design-system/components/reserve-messages';
|