@ids-group-ltd/ids-design-system 1.0.3 → 1.1.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 +423 -3
- package/agent/INDEX.md +12 -2
- package/agent/feedback/ds-alert.md +3 -2
- package/agent/feedback/ds-attachment.md +12 -0
- package/agent/feedback/ds-chat-attachment.md +10 -0
- package/agent/feedback/ds-chat-message.md +11 -0
- package/agent/feedback/ds-chat-step.md +10 -0
- package/agent/feedback/ds-chat-steps.md +10 -0
- package/agent/feedback/ds-chat-thread.md +11 -0
- package/agent/feedback/ds-timeline-item.md +3 -1
- package/agent/feedback/ds-timeline.md +9 -0
- package/agent/feedback/ds-toast.md +1 -1
- package/agent/feedback/ds-tree.md +3 -1
- package/agent/forms/ds-chat-input.md +16 -0
- package/agent/forms/ds-inline-edit.md +14 -0
- package/agent/foundations/tokens.md +3 -3
- package/agent/navigation/ds-splitter.md +14 -0
- package/agent/platform/toast-service.md +3 -2
- package/agent/tables/ds-table.md +1 -1
- package/components.md +110 -11
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs +5 -3
- package/fesm2022/ids-group-ltd-ids-design-system-components-alert.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-app-layout.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-autocomplete.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-button.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs +928 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-chat.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-color-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-date-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-drawer.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-field-group.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs +107 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-inline-edit.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-list.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-menu.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-modal.mjs +4 -4
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-multi-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-number-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-otp-input.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs +16 -12
- package/fesm2022/ids-group-ltd-ids-design-system-components-popover.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-search.mjs +2 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-select.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs +465 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-splitter.mjs.map +1 -0
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-stepper.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-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-textarea.mjs +4 -2
- 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 +2 -2
- package/fesm2022/ids-group-ltd-ids-design-system-components-time-picker.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs +74 -17
- package/fesm2022/ids-group-ltd-ids-design-system-components-timeline.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs +163 -20
- package/fesm2022/ids-group-ltd-ids-design-system-components-toast.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs +4 -19
- package/fesm2022/ids-group-ltd-ids-design-system-components-tooltip.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs +182 -24
- package/fesm2022/ids-group-ltd-ids-design-system-components-tree.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs +31 -4
- package/fesm2022/ids-group-ltd-ids-design-system-components.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs +74 -0
- package/fesm2022/ids-group-ltd-ids-design-system-core.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs +4 -2
- package/fesm2022/ids-group-ltd-ids-design-system-icons.mjs.map +1 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs +4 -1
- package/fesm2022/ids-group-ltd-ids-design-system.mjs.map +1 -1
- package/migrations/0.11.2.json +1 -0
- package/migrations/1.0.1.json +4 -0
- package/migrations/1.0.2.json +37 -1
- package/migrations/1.1.0.json +208 -0
- package/migrations/1.1.1.json +190 -0
- package/migrations/README.md +6 -6
- package/package.json +25 -1
- package/schematics/check-overrides/surface.json +199 -6
- package/styles/_dropdown-overlay.scss +11 -6
- package/styles/_field-box.scss +2 -2
- package/styles/_step-marker.scss +51 -0
- package/styles/_tokens.scss +5 -3
- package/themes/README.md +2 -1
- package/themes/_semantic.scss +15 -0
- package/themes/dark/_palette.scss +1 -2
- package/themes/dark/_theme.scss +32 -3
- package/types/ids-group-ltd-ids-design-system-components-alert.d.ts +3 -1
- package/types/ids-group-ltd-ids-design-system-components-button.d.ts +2 -2
- package/types/ids-group-ltd-ids-design-system-components-chart.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-chat.d.ts +377 -0
- package/types/ids-group-ltd-ids-design-system-components-inline-edit.d.ts +43 -0
- package/types/ids-group-ltd-ids-design-system-components-pie-chart.d.ts +1 -1
- package/types/ids-group-ltd-ids-design-system-components-splitter.d.ts +97 -0
- package/types/ids-group-ltd-ids-design-system-components-textarea.d.ts +2 -0
- package/types/ids-group-ltd-ids-design-system-components-timeline.d.ts +34 -5
- package/types/ids-group-ltd-ids-design-system-components-toast.d.ts +53 -4
- package/types/ids-group-ltd-ids-design-system-components-tree.d.ts +87 -7
- package/types/ids-group-ltd-ids-design-system-components.d.ts +8 -4
- package/types/ids-group-ltd-ids-design-system-core.d.ts +126 -0
- package/types/ids-group-ltd-ids-design-system.d.ts +6 -3
|
@@ -1,37 +1,94 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ViewEncapsulation, Component,
|
|
2
|
+
import { InjectionToken, input, model, inject, computed, ViewEncapsulation, Component, contentChildren, forwardRef } from '@angular/core';
|
|
3
3
|
import { IconComponent } from '@ids-group-ltd/ids-design-system/icons';
|
|
4
|
+
import { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';
|
|
5
|
+
import { DS_INTL, DS_INTL_DEFAULTS } from '@ids-group-ltd/ids-design-system/core';
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.22", type: TimelineComponent, isStandalone: true, selector: "ds-timeline", host: { attributes: { "role": "list" } }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":where(:host){box-sizing:border-box;interpolate-size:allow-keywords}:where(*){box-sizing:border-box}:where(button,input,select,textarea){font-family:inherit}:where(h1,h2,h3,h4,h5,h6){margin:0}:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:flex;flex-direction:column}\n"] });
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TimelineComponent, decorators: [{
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'ds-timeline', standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.Emulated, host: {
|
|
12
|
-
role: 'list',
|
|
13
|
-
}, styles: [":where(:host){box-sizing:border-box;interpolate-size:allow-keywords}:where(*){box-sizing:border-box}:where(button,input,select,textarea){font-family:inherit}:where(h1,h2,h3,h4,h5,h6){margin:0}:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:flex;flex-direction:column}\n"] }]
|
|
14
|
-
}] });
|
|
7
|
+
const TIMELINE = new InjectionToken('TIMELINE');
|
|
15
8
|
|
|
9
|
+
const STATUS_ICONS = {
|
|
10
|
+
done: 'check',
|
|
11
|
+
error: 'x',
|
|
12
|
+
};
|
|
13
|
+
let nextId = 0;
|
|
16
14
|
class TimelineItemComponent {
|
|
17
15
|
/** Primary text for the entry. */
|
|
18
16
|
heading = input('', ...(ngDevMode ? [{ debugName: "heading" }] : /* istanbul ignore next */ []));
|
|
19
17
|
/** Timestamp or date label below the content. */
|
|
20
18
|
time = input('', ...(ngDevMode ? [{ debugName: "time" }] : /* istanbul ignore next */ []));
|
|
21
|
-
/** Marker icon; omit for a plain dot. */
|
|
19
|
+
/** Marker icon; omit for a plain dot. Ignored while `status` is set. */
|
|
22
20
|
icon = input(null, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
23
|
-
/** Semantic accent color for the marker. */
|
|
21
|
+
/** Semantic accent color for the marker. Ignored while `status` is set. */
|
|
24
22
|
tone = input('default', ...(ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []));
|
|
23
|
+
/** Step state: draws the marker and is spoken before the heading. `null` leaves `icon` and `tone` in charge. */
|
|
24
|
+
status = input(null, ...(ngDevMode ? [{ debugName: "status" }] : /* istanbul ignore next */ []));
|
|
25
|
+
/** Whether the `[details]` area is open, two-way bound. */
|
|
26
|
+
expanded = model(false, ...(ngDevMode ? [{ debugName: "expanded" }] : /* istanbul ignore next */ []));
|
|
27
|
+
intl = inject(DS_INTL);
|
|
28
|
+
timeline = inject(TIMELINE, { optional: true });
|
|
29
|
+
detailsId = `ds-timeline-item-${++nextId}-details`;
|
|
30
|
+
isFirst = computed(() => this.timeline?.firstItem() === this, ...(ngDevMode ? [{ debugName: "isFirst" }] : /* istanbul ignore next */ []));
|
|
31
|
+
isLast = computed(() => this.timeline?.lastItem() === this, ...(ngDevMode ? [{ debugName: "isLast" }] : /* istanbul ignore next */ []));
|
|
32
|
+
nodeIcon = computed(() => {
|
|
33
|
+
const status = this.status();
|
|
34
|
+
return status ? (STATUS_ICONS[status] ?? null) : this.icon();
|
|
35
|
+
}, ...(ngDevMode ? [{ debugName: "nodeIcon" }] : /* istanbul ignore next */ []));
|
|
36
|
+
wording = computed(() => ({
|
|
37
|
+
...DS_INTL_DEFAULTS.timeline,
|
|
38
|
+
...this.intl().timeline,
|
|
39
|
+
}), ...(ngDevMode ? [{ debugName: "wording" }] : /* istanbul ignore next */ []));
|
|
40
|
+
statusLabel = computed(() => {
|
|
41
|
+
const status = this.status();
|
|
42
|
+
return status ? this.wording()[status] : '';
|
|
43
|
+
}, ...(ngDevMode ? [{ debugName: "statusLabel" }] : /* istanbul ignore next */ []));
|
|
44
|
+
detailsLabel = computed(() => this.wording().details(this.heading()), ...(ngDevMode ? [{ debugName: "detailsLabel" }] : /* istanbul ignore next */ []));
|
|
45
|
+
toggle() {
|
|
46
|
+
this.expanded.set(!this.expanded());
|
|
47
|
+
}
|
|
25
48
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TimelineItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: TimelineItemComponent, isStandalone: true, selector: "ds-timeline-item", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, time: { classPropertyName: "time", publicName: "time", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "tone", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "listitem" }, properties: { "attr.data-tone": "tone()" } }, ngImport: i0, template: "<div class=\"node-col\">\n <span class=\"node\">\n @if (icon(); as name) {\n <ds-icon\n [name]=\"name\"\n [size]=\"15\" />\n }\n </span>\n\n <span class=\"spine\"></span>\n</div>\n\n<div class=\"content\">\n @if (heading()) {\n <span class=\"heading\">\n {{ heading() }}\n </span>\n }\n\n <ng-content></ng-content>\n\n @if (time()) {\n <span class=\"time\">\n {{ time() }}\n </span>\n }\n</div>\n", styles: [":where(:host){box-sizing:border-box;interpolate-size:allow-keywords}:where(*){box-sizing:border-box}:where(button,input,select,textarea){font-family:inherit}:where(h1,h2,h3,h4,h5,h6){margin:0}:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_timeline-node-size: var(--ds-timeline-node-size, var(--timeline-node-size));--_timeline-spine-width: var(--ds-timeline-spine-width, var(--timeline-spine-w));--_timeline-gap: var(--ds-timeline-gap, var(--timeline-gap));--_timeline-node-bg-color: var(--ds-timeline-node-bg-color, var(--surface-secondary));--_timeline-node-color: var(--ds-timeline-node-color, var(--text-tertiary));--_timeline-node-border-color: var(--ds-timeline-node-border-color, var(--border-strong));--_timeline-spine-color: var(--ds-timeline-spine-color, var(--border-divider));display:grid;grid-template-columns:var(--_timeline-node-size) 1fr;column-gap:var(--space-4)}.node-col{display:flex;flex-direction:column;align-items:center;margin-top:calc((var(--font-size-s) * var(--line-height-base) - var(--_timeline-node-size)) / 2)}.node{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--_timeline-node-size);height:var(--_timeline-node-size);border-radius:var(--radius-pill);background-color:var(--_timeline-node-bg-color);color:var(--_timeline-node-color);border:var(--border-width-strong) solid var(--_timeline-node-border-color)}.spine{flex:1;width:var(--_timeline-spine-width);margin-top:var(--space-1);background-color:var(--_timeline-spine-color)}.content{display:flex;flex-direction:column;gap:var(--space-0-5);padding-bottom:var(--_timeline-gap);min-width:0}:host(:last-child) .spine{display:none}:host(:last-child) .content{padding-bottom:0}.heading{color:var(--text-primary);font:var(--font-weight-semibold) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.time{color:var(--text-tertiary);font:var(--font-weight-regular) var(--font-size-xs)/var(--line-height-base) var(--font-sans)}:host([data-tone=primary]){--_timeline-node-bg-color: var(--accent);--_timeline-node-color: var(--text-on-primary);--_timeline-node-border-color: var(--accent)}:host([data-tone=success]){--_timeline-node-bg-color: var(--success);--_timeline-node-color: var(--text-on-success);--_timeline-node-border-color: var(--success)}:host([data-tone=warning]){--_timeline-node-bg-color: var(--warning);--_timeline-node-color: var(--text-on-warning);--_timeline-node-border-color: var(--warning)}:host([data-tone=error]){--_timeline-node-bg-color: var(--error);--_timeline-node-color: var(--text-on-error);--_timeline-node-border-color: var(--error)}:host([data-tone=muted]){--_timeline-node-bg-color: var(--surface-secondary);--_timeline-node-color: var(--text-tertiary);--_timeline-node-border-color: var(--border-strong)}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }] });
|
|
49
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.22", type: TimelineItemComponent, isStandalone: true, selector: "ds-timeline-item", inputs: { heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, time: { classPropertyName: "time", publicName: "time", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, tone: { classPropertyName: "tone", publicName: "tone", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, expanded: { classPropertyName: "expanded", publicName: "expanded", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expanded: "expandedChange" }, host: { attributes: { "role": "listitem" }, properties: { "attr.data-tone": "tone()", "attr.data-status": "status()", "class.is-first": "isFirst()", "class.is-last": "isLast()", "class.is-expanded": "expanded()", "class.outside-timeline": "!timeline" } }, ngImport: i0, template: "<div\n class=\"node-col\"\n aria-hidden=\"true\">\n <span class=\"spine lead\"></span>\n\n <span class=\"node\">\n @if (status() === 'running') {\n <ds-spinner size=\"md\" />\n } @else if (nodeIcon(); as name) {\n <ds-icon\n [name]=\"name\"\n [size]=\"16\"\n [stroke]=\"3\" />\n }\n </span>\n\n <span class=\"spine\"></span>\n</div>\n\n<div class=\"text\">\n <div class=\"head\">\n @if (statusLabel()) {\n <span class=\"visually-hidden\">\n {{ statusLabel() }}:\n </span>\n }\n\n @if (heading()) {\n <span class=\"heading\">\n {{ heading() }}\n </span>\n }\n\n <span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n\n <button\n type=\"button\"\n class=\"toggle\"\n [attr.aria-label]=\"detailsLabel()\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"detailsId\"\n (click)=\"toggle()\">\n <ds-icon\n class=\"chev\"\n name=\"chevronDown\"\n [size]=\"16\" />\n </button>\n </span>\n </div>\n\n <ng-content></ng-content>\n\n @if (time()) {\n <span class=\"time\">\n {{ time() }}\n </span>\n }\n</div>\n\n<span\n class=\"spine tail\"\n aria-hidden=\"true\">\n</span>\n\n<div class=\"rest\">\n <div\n class=\"details\"\n [id]=\"detailsId\"\n [attr.inert]=\"expanded() ? null : ''\">\n <div class=\"details-content\">\n <div class=\"details-body\">\n <ng-content select=\"[details]\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":where(:host){box-sizing:border-box;interpolate-size:allow-keywords}:where(*){box-sizing:border-box}:where(button,input,select,textarea){font-family:inherit}:where(h1,h2,h3,h4,h5,h6){margin:0}:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_timeline-node-size: var(--ds-timeline-node-size, var(--timeline-node-size));--_timeline-spine-width: var(--ds-timeline-spine-width, var(--timeline-spine-w));--_timeline-gap: var(--ds-timeline-gap, var(--timeline-gap));--_timeline-node-bg-color: var(--ds-timeline-node-bg-color, var(--surface-secondary));--_timeline-node-color: var(--ds-timeline-node-color, var(--text-tertiary));--_timeline-node-border-color: var(--ds-timeline-node-border-color, var(--text-tertiary));--_timeline-spine-color: var(--ds-timeline-spine-color, var(--border-divider));--_timeline-toggle-icon-color: var(--ds-timeline-toggle-icon-color, var(--icon-default));--_timeline-toggle-icon-color-hover: var(--ds-timeline-toggle-icon-color-hover, var(--icon-strong));--_timeline-open-bg-color: var(--ds-timeline-open-bg-color, var(--surface-secondary));display:grid;grid-template-columns:var(--_timeline-node-size) 1fr;column-gap:var(--space-4)}.node-col{grid-area:1/1;display:flex;flex-direction:column;align-items:center}.node{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--_timeline-node-size);height:var(--_timeline-node-size);border-radius:var(--radius-pill);background-color:var(--_timeline-node-bg-color);color:var(--_timeline-node-color);border:var(--border-width-strong) solid var(--_timeline-node-border-color)}.spine{flex:1;width:var(--_timeline-spine-width);margin-top:var(--space-1);background-color:var(--_timeline-spine-color)}.lead{margin-top:0;margin-bottom:var(--space-1)}.tail{grid-area:2/1;justify-self:center;margin-top:0}.text{grid-area:1/2;display:flex;flex-direction:column;align-self:center;gap:var(--space-0-5);min-width:0}.rest{grid-area:2/2;padding-bottom:var(--_timeline-gap);min-width:0}:host(.is-last) .spine:not(.lead),:host(.outside-timeline:last-child) .spine:not(.lead){visibility:hidden}:host(.is-last) .rest,:host(.outside-timeline:last-child) .rest{padding-bottom:0}:host(.is-first) .lead,:host(.outside-timeline:first-child) .lead{visibility:hidden}.head{position:relative;display:flex;align-items:flex-start;gap:var(--space-2);min-width:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.trailing{display:inline-flex;align-items:center;gap:var(--space-2);margin-left:auto;flex:none;height:calc(var(--font-size-s) * var(--line-height-base))}.head:has(.trailing>:not(.toggle)){align-items:center;margin-bottom:var(--space-1-5);padding-top:var(--space-2)}.head:has(.trailing>:not(.toggle)) .trailing{height:auto}.toggle{display:inline-flex;align-items:center;justify-content:center;padding:var(--space-0-5);border:0;background:none;cursor:pointer}.toggle:active:not(:disabled,[disabled],.is-disabled,.disabled,[aria-disabled=true]){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.toggle{position:relative}.toggle:before{content:\"\";position:absolute;top:50%;left:50%;width:max(100%,var(--hit-xs));height:max(100%,var(--hit-xs));translate:-50% -50%;border-radius:inherit}.toggle:focus-visible{outline-style:none}.toggle:focus-visible:before{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(var(--focus-ring-offset) - 2 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}.toggle{color:var(--_timeline-toggle-icon-color)}.toggle:hover{color:var(--_timeline-toggle-icon-color-hover)}.toggle .chev{transition:transform var(--duration-base) var(--ease-standard)}.toggle[aria-expanded=true] .chev{transform:rotate(180deg)}:host:not(:has(.details-body>*)) .toggle{display:none}:host(.is-expanded){isolation:isolate}:host(.is-expanded):before{content:\"\";grid-area:1/1/3/3;z-index:-1;margin:0 calc(-1 * var(--space-2)) var(--_timeline-gap);border-radius:var(--ds-radius-control);background-color:var(--_timeline-open-bg-color)}:host(.is-expanded.is-last):before,:host(.is-expanded.outside-timeline:last-child):before{margin-bottom:0}.details{display:grid;grid-template-rows:0fr;min-width:0;visibility:hidden;transition:grid-template-rows var(--duration-slow) var(--ease-decelerate),visibility var(--duration-slow) allow-discrete}.details:not(:has(.details-body>*)){display:none}:host(.is-expanded) .details{grid-template-rows:1fr;visibility:visible}.details-content{min-height:0;overflow:hidden}.details-body{padding-top:var(--space-1)}.heading{color:var(--text-primary);font:var(--font-weight-semibold) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.time{color:var(--text-tertiary);font:var(--font-weight-regular) var(--font-size-xs)/var(--line-height-base) var(--font-sans)}:host([data-tone=primary]){--_timeline-node-bg-color: var(--accent);--_timeline-node-color: var(--text-on-primary);--_timeline-node-border-color: var(--accent)}:host([data-tone=success]){--_timeline-node-bg-color: var(--success);--_timeline-node-color: var(--text-on-success);--_timeline-node-border-color: var(--success)}:host([data-tone=warning]){--_timeline-node-bg-color: var(--warning);--_timeline-node-color: var(--text-on-warning);--_timeline-node-border-color: var(--warning)}:host([data-tone=error]){--_timeline-node-bg-color: var(--error);--_timeline-node-color: var(--text-on-error);--_timeline-node-border-color: var(--error)}:host([data-tone=muted]){--_timeline-node-bg-color: var(--surface-secondary);--_timeline-node-color: var(--text-tertiary);--_timeline-node-border-color: var(--text-tertiary)}:host([data-status=done]){--_timeline-node-bg-color: var(--success);--_timeline-node-color: var(--text-on-success);--_timeline-node-border-color: var(--success)}:host([data-status=running]){--_timeline-node-bg-color: var(--surface-default);--_timeline-node-color: var(--accent);--_timeline-node-border-color: var(--accent)}:host([data-status=pending]){--_timeline-node-bg-color: var(--surface-default);--_timeline-node-color: var(--text-tertiary);--_timeline-node-border-color: var(--text-tertiary)}:host([data-status=error]){--_timeline-node-bg-color: var(--error);--_timeline-node-color: var(--text-on-error);--_timeline-node-border-color: var(--error)}:host([data-status=pending]) .node{border-style:dashed}:host([data-status=pending]) .heading{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}:host:has(>.text>.head~*){--_timeline-heading-centre: calc(var(--font-size-s) * var(--line-height-base) / 2)}:host:has(>.text>.head~*) .text{align-self:start;padding-top:max(0px,var(--_timeline-node-size) / 2 + var(--space-1) - var(--_timeline-heading-centre))}:host:has(>.text>.head~*) .lead{flex:none;height:max(0px,var(--_timeline-heading-centre) - var(--_timeline-node-size) / 2 - var(--space-1))}:host:has(>.text>.head>.trailing>:not(.toggle)){--_timeline-heading-centre: calc( var(--space-2) + max(var(--font-size-s) * var(--line-height-base), var(--field-h-sm)) / 2 )}\n"], dependencies: [{ kind: "component", type: IconComponent, selector: "ds-icon", inputs: ["name", "size", "stroke", "ariaLabel"] }, { kind: "component", type: SpinnerComponent, selector: "ds-spinner", inputs: ["size"] }] });
|
|
27
50
|
}
|
|
28
51
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TimelineItemComponent, decorators: [{
|
|
29
52
|
type: Component,
|
|
30
|
-
args: [{ selector: 'ds-timeline-item', standalone: true, imports: [IconComponent], encapsulation: ViewEncapsulation.Emulated, host: {
|
|
53
|
+
args: [{ selector: 'ds-timeline-item', standalone: true, imports: [IconComponent, SpinnerComponent], encapsulation: ViewEncapsulation.Emulated, host: {
|
|
31
54
|
role: 'listitem',
|
|
32
55
|
'[attr.data-tone]': 'tone()',
|
|
33
|
-
|
|
34
|
-
|
|
56
|
+
'[attr.data-status]': 'status()',
|
|
57
|
+
'[class.is-first]': 'isFirst()',
|
|
58
|
+
'[class.is-last]': 'isLast()',
|
|
59
|
+
'[class.is-expanded]': 'expanded()',
|
|
60
|
+
'[class.outside-timeline]': '!timeline',
|
|
61
|
+
}, template: "<div\n class=\"node-col\"\n aria-hidden=\"true\">\n <span class=\"spine lead\"></span>\n\n <span class=\"node\">\n @if (status() === 'running') {\n <ds-spinner size=\"md\" />\n } @else if (nodeIcon(); as name) {\n <ds-icon\n [name]=\"name\"\n [size]=\"16\"\n [stroke]=\"3\" />\n }\n </span>\n\n <span class=\"spine\"></span>\n</div>\n\n<div class=\"text\">\n <div class=\"head\">\n @if (statusLabel()) {\n <span class=\"visually-hidden\">\n {{ statusLabel() }}:\n </span>\n }\n\n @if (heading()) {\n <span class=\"heading\">\n {{ heading() }}\n </span>\n }\n\n <span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n\n <button\n type=\"button\"\n class=\"toggle\"\n [attr.aria-label]=\"detailsLabel()\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"detailsId\"\n (click)=\"toggle()\">\n <ds-icon\n class=\"chev\"\n name=\"chevronDown\"\n [size]=\"16\" />\n </button>\n </span>\n </div>\n\n <ng-content></ng-content>\n\n @if (time()) {\n <span class=\"time\">\n {{ time() }}\n </span>\n }\n</div>\n\n<span\n class=\"spine tail\"\n aria-hidden=\"true\">\n</span>\n\n<div class=\"rest\">\n <div\n class=\"details\"\n [id]=\"detailsId\"\n [attr.inert]=\"expanded() ? null : ''\">\n <div class=\"details-content\">\n <div class=\"details-body\">\n <ng-content select=\"[details]\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":where(:host){box-sizing:border-box;interpolate-size:allow-keywords}:where(*){box-sizing:border-box}:where(button,input,select,textarea){font-family:inherit}:where(h1,h2,h3,h4,h5,h6){margin:0}:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{--_timeline-node-size: var(--ds-timeline-node-size, var(--timeline-node-size));--_timeline-spine-width: var(--ds-timeline-spine-width, var(--timeline-spine-w));--_timeline-gap: var(--ds-timeline-gap, var(--timeline-gap));--_timeline-node-bg-color: var(--ds-timeline-node-bg-color, var(--surface-secondary));--_timeline-node-color: var(--ds-timeline-node-color, var(--text-tertiary));--_timeline-node-border-color: var(--ds-timeline-node-border-color, var(--text-tertiary));--_timeline-spine-color: var(--ds-timeline-spine-color, var(--border-divider));--_timeline-toggle-icon-color: var(--ds-timeline-toggle-icon-color, var(--icon-default));--_timeline-toggle-icon-color-hover: var(--ds-timeline-toggle-icon-color-hover, var(--icon-strong));--_timeline-open-bg-color: var(--ds-timeline-open-bg-color, var(--surface-secondary));display:grid;grid-template-columns:var(--_timeline-node-size) 1fr;column-gap:var(--space-4)}.node-col{grid-area:1/1;display:flex;flex-direction:column;align-items:center}.node{display:inline-flex;align-items:center;justify-content:center;flex:none;width:var(--_timeline-node-size);height:var(--_timeline-node-size);border-radius:var(--radius-pill);background-color:var(--_timeline-node-bg-color);color:var(--_timeline-node-color);border:var(--border-width-strong) solid var(--_timeline-node-border-color)}.spine{flex:1;width:var(--_timeline-spine-width);margin-top:var(--space-1);background-color:var(--_timeline-spine-color)}.lead{margin-top:0;margin-bottom:var(--space-1)}.tail{grid-area:2/1;justify-self:center;margin-top:0}.text{grid-area:1/2;display:flex;flex-direction:column;align-self:center;gap:var(--space-0-5);min-width:0}.rest{grid-area:2/2;padding-bottom:var(--_timeline-gap);min-width:0}:host(.is-last) .spine:not(.lead),:host(.outside-timeline:last-child) .spine:not(.lead){visibility:hidden}:host(.is-last) .rest,:host(.outside-timeline:last-child) .rest{padding-bottom:0}:host(.is-first) .lead,:host(.outside-timeline:first-child) .lead{visibility:hidden}.head{position:relative;display:flex;align-items:flex-start;gap:var(--space-2);min-width:0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.trailing{display:inline-flex;align-items:center;gap:var(--space-2);margin-left:auto;flex:none;height:calc(var(--font-size-s) * var(--line-height-base))}.head:has(.trailing>:not(.toggle)){align-items:center;margin-bottom:var(--space-1-5);padding-top:var(--space-2)}.head:has(.trailing>:not(.toggle)) .trailing{height:auto}.toggle{display:inline-flex;align-items:center;justify-content:center;padding:var(--space-0-5);border:0;background:none;cursor:pointer}.toggle:active:not(:disabled,[disabled],.is-disabled,.disabled,[aria-disabled=true]){filter:brightness(var(--ds-press-brightness, .9));transform:scale(var(--ds-press-scale, .97))}.toggle{position:relative}.toggle:before{content:\"\";position:absolute;top:50%;left:50%;width:max(100%,var(--hit-xs));height:max(100%,var(--hit-xs));translate:-50% -50%;border-radius:inherit}.toggle:focus-visible{outline-style:none}.toggle:focus-visible:before{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:calc(var(--focus-ring-offset) - 2 * var(--focus-ring-width));animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard)}.toggle{color:var(--_timeline-toggle-icon-color)}.toggle:hover{color:var(--_timeline-toggle-icon-color-hover)}.toggle .chev{transition:transform var(--duration-base) var(--ease-standard)}.toggle[aria-expanded=true] .chev{transform:rotate(180deg)}:host:not(:has(.details-body>*)) .toggle{display:none}:host(.is-expanded){isolation:isolate}:host(.is-expanded):before{content:\"\";grid-area:1/1/3/3;z-index:-1;margin:0 calc(-1 * var(--space-2)) var(--_timeline-gap);border-radius:var(--ds-radius-control);background-color:var(--_timeline-open-bg-color)}:host(.is-expanded.is-last):before,:host(.is-expanded.outside-timeline:last-child):before{margin-bottom:0}.details{display:grid;grid-template-rows:0fr;min-width:0;visibility:hidden;transition:grid-template-rows var(--duration-slow) var(--ease-decelerate),visibility var(--duration-slow) allow-discrete}.details:not(:has(.details-body>*)){display:none}:host(.is-expanded) .details{grid-template-rows:1fr;visibility:visible}.details-content{min-height:0;overflow:hidden}.details-body{padding-top:var(--space-1)}.heading{color:var(--text-primary);font:var(--font-weight-semibold) var(--font-size-s)/var(--line-height-base) var(--font-sans)}.time{color:var(--text-tertiary);font:var(--font-weight-regular) var(--font-size-xs)/var(--line-height-base) var(--font-sans)}:host([data-tone=primary]){--_timeline-node-bg-color: var(--accent);--_timeline-node-color: var(--text-on-primary);--_timeline-node-border-color: var(--accent)}:host([data-tone=success]){--_timeline-node-bg-color: var(--success);--_timeline-node-color: var(--text-on-success);--_timeline-node-border-color: var(--success)}:host([data-tone=warning]){--_timeline-node-bg-color: var(--warning);--_timeline-node-color: var(--text-on-warning);--_timeline-node-border-color: var(--warning)}:host([data-tone=error]){--_timeline-node-bg-color: var(--error);--_timeline-node-color: var(--text-on-error);--_timeline-node-border-color: var(--error)}:host([data-tone=muted]){--_timeline-node-bg-color: var(--surface-secondary);--_timeline-node-color: var(--text-tertiary);--_timeline-node-border-color: var(--text-tertiary)}:host([data-status=done]){--_timeline-node-bg-color: var(--success);--_timeline-node-color: var(--text-on-success);--_timeline-node-border-color: var(--success)}:host([data-status=running]){--_timeline-node-bg-color: var(--surface-default);--_timeline-node-color: var(--accent);--_timeline-node-border-color: var(--accent)}:host([data-status=pending]){--_timeline-node-bg-color: var(--surface-default);--_timeline-node-color: var(--text-tertiary);--_timeline-node-border-color: var(--text-tertiary)}:host([data-status=error]){--_timeline-node-bg-color: var(--error);--_timeline-node-color: var(--text-on-error);--_timeline-node-border-color: var(--error)}:host([data-status=pending]) .node{border-style:dashed}:host([data-status=pending]) .heading{color:var(--text-tertiary);font-weight:var(--font-weight-regular)}:host:has(>.text>.head~*){--_timeline-heading-centre: calc(var(--font-size-s) * var(--line-height-base) / 2)}:host:has(>.text>.head~*) .text{align-self:start;padding-top:max(0px,var(--_timeline-node-size) / 2 + var(--space-1) - var(--_timeline-heading-centre))}:host:has(>.text>.head~*) .lead{flex:none;height:max(0px,var(--_timeline-heading-centre) - var(--_timeline-node-size) / 2 - var(--space-1))}:host:has(>.text>.head>.trailing>:not(.toggle)){--_timeline-heading-centre: calc( var(--space-2) + max(var(--font-size-s) * var(--line-height-base), var(--field-h-sm)) / 2 )}\n"] }]
|
|
62
|
+
}], propDecorators: { heading: [{ type: i0.Input, args: [{ isSignal: true, alias: "heading", required: false }] }], time: [{ type: i0.Input, args: [{ isSignal: true, alias: "time", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], tone: [{ type: i0.Input, args: [{ isSignal: true, alias: "tone", required: false }] }], status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], expanded: [{ type: i0.Input, args: [{ isSignal: true, alias: "expanded", required: false }] }, { type: i0.Output, args: ["expandedChange"] }] } });
|
|
63
|
+
|
|
64
|
+
class TimelineComponent {
|
|
65
|
+
// Descendants, so an item inside a wrapper element or an @for block still counts.
|
|
66
|
+
items = contentChildren(TimelineItemComponent, { ...(ngDevMode ? { debugName: "items" } : /* istanbul ignore next */ {}), descendants: true });
|
|
67
|
+
/** The item that draws no connector above it. */
|
|
68
|
+
firstItem = computed(() => this.items().at(0), ...(ngDevMode ? [{ debugName: "firstItem" }] : /* istanbul ignore next */ []));
|
|
69
|
+
/** The item that draws no connector below it. */
|
|
70
|
+
lastItem = computed(() => this.items().at(-1), ...(ngDevMode ? [{ debugName: "lastItem" }] : /* istanbul ignore next */ []));
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TimelineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
72
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.2.22", type: TimelineComponent, isStandalone: true, selector: "ds-timeline", host: { attributes: { "role": "list" } }, providers: [
|
|
73
|
+
{
|
|
74
|
+
provide: TIMELINE,
|
|
75
|
+
useExisting: forwardRef(() => TimelineComponent),
|
|
76
|
+
},
|
|
77
|
+
], queries: [{ propertyName: "items", predicate: TimelineItemComponent, descendants: true, isSignal: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: [":where(:host){box-sizing:border-box;interpolate-size:allow-keywords}:where(*){box-sizing:border-box}:where(button,input,select,textarea){font-family:inherit}:where(h1,h2,h3,h4,h5,h6){margin:0}:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:flex;flex-direction:column}\n"] });
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImport: i0, type: TimelineComponent, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: 'ds-timeline', standalone: true, template: '<ng-content></ng-content>', encapsulation: ViewEncapsulation.Emulated, host: {
|
|
82
|
+
role: 'list',
|
|
83
|
+
}, providers: [
|
|
84
|
+
{
|
|
85
|
+
provide: TIMELINE,
|
|
86
|
+
useExisting: forwardRef(() => TimelineComponent),
|
|
87
|
+
},
|
|
88
|
+
], styles: [":where(:host){box-sizing:border-box;interpolate-size:allow-keywords}:where(*){box-sizing:border-box}:where(button,input,select,textarea){font-family:inherit}:where(h1,h2,h3,h4,h5,h6){margin:0}:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-offset);animation:ds-focus-ring-in var(--duration-fast) var(--ease-standard);border-radius:var(--focus-ring-radius)}@media(forced-colors:active){:where(:host(:focus-visible),:focus-visible){outline:var(--focus-ring-width) solid CanvasText;outline-offset:var(--focus-ring-offset)}}:host{display:flex;flex-direction:column}\n"] }]
|
|
89
|
+
}], propDecorators: { items: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => TimelineItemComponent), { ...{
|
|
90
|
+
descendants: true,
|
|
91
|
+
}, isSignal: true }] }] } });
|
|
35
92
|
|
|
36
93
|
/**
|
|
37
94
|
* Generated bundle index. Do not edit.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ids-group-ltd-ids-design-system-components-timeline.mjs","sources":["../../../src/lib/components/timeline/timeline.component.ts","../../../src/lib/components/timeline/timeline-item.component.ts","../../../src/lib/components/timeline/timeline-item.component.html","../../../src/lib/components/timeline/ids-group-ltd-ids-design-system-components-timeline.ts"],"sourcesContent":["import { Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ds-timeline',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './timeline.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'list',\n },\n})\nexport class TimelineComponent {}\n","import { Component, ViewEncapsulation, input } from '@angular/core';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport type { IconName } from '@ids-group-ltd/ids-design-system/core';\n\nexport type TimelineTone =\n | 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'error'\n | 'muted';\n\n@Component({\n selector: 'ds-timeline-item',\n standalone: true,\n imports: [IconComponent],\n templateUrl: './timeline-item.component.html',\n styleUrl: './timeline-item.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'listitem',\n '[attr.data-tone]': 'tone()',\n },\n})\nexport class TimelineItemComponent {\n /** Primary text for the entry. */\n readonly heading = input<string>('');\n /** Timestamp or date label below the content. */\n readonly time = input<string>('');\n /** Marker icon; omit for a plain dot. */\n readonly icon = input<IconName | null>(null);\n /** Semantic accent color for the marker. */\n readonly tone = input<TimelineTone>('default');\n}\n","<div class=\"node-col\">\n <span class=\"node\">\n @if (icon(); as name) {\n <ds-icon\n [name]=\"name\"\n [size]=\"15\" />\n }\n </span>\n\n <span class=\"spine\"></span>\n</div>\n\n<div class=\"content\">\n @if (heading()) {\n <span class=\"heading\">\n {{ heading() }}\n </span>\n }\n\n <ng-content></ng-content>\n\n @if (time()) {\n <span class=\"time\">\n {{ time() }}\n </span>\n }\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAYa,iBAAiB,CAAA;wGAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EA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A,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,MAAA,EAAA,UAAA,EAAA,EAAA,UAAA,EAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECxBlC,qcA2BA,EAAA,MAAA,EAAA,CAAA,ykGAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDZY,aAAa,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,MAAA,EAAA,QAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FASZ,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAZjC,SAAS;+BACE,kBAAkB,EAAA,UAAA,EAChB,IAAI,EAAA,OAAA,EACP,CAAC,aAAa,CAAC,EAAA,aAAA,EAGT,iBAAiB,CAAC,QAAQ,EAAA,IAAA,EACnC;AACJ,wBAAA,IAAI,EAAE,UAAU;AAChB,wBAAA,kBAAkB,EAAE,QAAQ;AAC7B,qBAAA,EAAA,QAAA,EAAA,qcAAA,EAAA,MAAA,EAAA,CAAA,ykGAAA,CAAA,EAAA;;;AEtBH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ids-group-ltd-ids-design-system-components-timeline.mjs","sources":["../../../src/lib/components/timeline/timeline.token.ts","../../../src/lib/components/timeline/timeline-item.component.ts","../../../src/lib/components/timeline/timeline-item.component.html","../../../src/lib/components/timeline/timeline.component.ts","../../../src/lib/components/timeline/ids-group-ltd-ids-design-system-components-timeline.ts"],"sourcesContent":["import { InjectionToken, type Signal } from '@angular/core';\n\n/** Contract that ds-timeline-item reads from its parent ds-timeline. */\nexport interface TimelineContract {\n /** The item that draws no connector above it. */\n readonly firstItem: Signal<object | undefined>;\n /** The item that draws no connector below it. */\n readonly lastItem: Signal<object | undefined>;\n}\n\nexport const TIMELINE = new InjectionToken<TimelineContract>('TIMELINE');\n","import {\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n model,\n} from '@angular/core';\nimport { IconComponent } from '@ids-group-ltd/ids-design-system/icons';\nimport { SpinnerComponent } from '@ids-group-ltd/ids-design-system/components/spinner';\nimport {\n DS_INTL,\n DS_INTL_DEFAULTS,\n type IconName,\n} from '@ids-group-ltd/ids-design-system/core';\nimport { TIMELINE } from './timeline.token';\n\nexport type TimelineTone =\n | 'default'\n | 'primary'\n | 'success'\n | 'warning'\n | 'error'\n | 'muted';\n\nexport type TimelineStatus = 'done' | 'running' | 'pending' | 'error';\n\nconst STATUS_ICONS: Partial<Record<TimelineStatus, IconName>> = {\n done: 'check',\n error: 'x',\n};\n\nlet nextId = 0;\n\n@Component({\n selector: 'ds-timeline-item',\n standalone: true,\n imports: [IconComponent, SpinnerComponent],\n templateUrl: './timeline-item.component.html',\n styleUrl: './timeline-item.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'listitem',\n '[attr.data-tone]': 'tone()',\n '[attr.data-status]': 'status()',\n '[class.is-first]': 'isFirst()',\n '[class.is-last]': 'isLast()',\n '[class.is-expanded]': 'expanded()',\n '[class.outside-timeline]': '!timeline',\n },\n})\nexport class TimelineItemComponent {\n /** Primary text for the entry. */\n readonly heading = input<string>('');\n /** Timestamp or date label below the content. */\n readonly time = input<string>('');\n /** Marker icon; omit for a plain dot. Ignored while `status` is set. */\n readonly icon = input<IconName | null>(null);\n /** Semantic accent color for the marker. Ignored while `status` is set. */\n readonly tone = input<TimelineTone>('default');\n /** Step state: draws the marker and is spoken before the heading. `null` leaves `icon` and `tone` in charge. */\n readonly status = input<TimelineStatus | null>(null);\n /** Whether the `[details]` area is open, two-way bound. */\n readonly expanded = model<boolean>(false);\n\n private readonly intl = inject(DS_INTL);\n protected readonly timeline = inject(TIMELINE, { optional: true });\n\n protected readonly detailsId = `ds-timeline-item-${++nextId}-details`;\n\n protected readonly isFirst = computed(\n () => this.timeline?.firstItem() === this,\n );\n\n protected readonly isLast = computed(\n () => this.timeline?.lastItem() === this,\n );\n\n protected readonly nodeIcon = computed<IconName | null>(() => {\n const status = this.status();\n\n return status ? (STATUS_ICONS[status] ?? null) : this.icon();\n });\n\n private readonly wording = computed(() => ({\n ...DS_INTL_DEFAULTS.timeline,\n ...this.intl().timeline,\n }));\n\n protected readonly statusLabel = computed(() => {\n const status = this.status();\n\n return status ? this.wording()[status] : '';\n });\n\n protected readonly detailsLabel = computed(() =>\n this.wording().details(this.heading()),\n );\n\n protected toggle(): void {\n this.expanded.set(!this.expanded());\n }\n}\n","<div\n class=\"node-col\"\n aria-hidden=\"true\">\n <span class=\"spine lead\"></span>\n\n <span class=\"node\">\n @if (status() === 'running') {\n <ds-spinner size=\"md\" />\n } @else if (nodeIcon(); as name) {\n <ds-icon\n [name]=\"name\"\n [size]=\"16\"\n [stroke]=\"3\" />\n }\n </span>\n\n <span class=\"spine\"></span>\n</div>\n\n<div class=\"text\">\n <div class=\"head\">\n @if (statusLabel()) {\n <span class=\"visually-hidden\">\n {{ statusLabel() }}:\n </span>\n }\n\n @if (heading()) {\n <span class=\"heading\">\n {{ heading() }}\n </span>\n }\n\n <span class=\"trailing\">\n <ng-content select=\"[trailing]\"></ng-content>\n\n <button\n type=\"button\"\n class=\"toggle\"\n [attr.aria-label]=\"detailsLabel()\"\n [attr.aria-expanded]=\"expanded()\"\n [attr.aria-controls]=\"detailsId\"\n (click)=\"toggle()\">\n <ds-icon\n class=\"chev\"\n name=\"chevronDown\"\n [size]=\"16\" />\n </button>\n </span>\n </div>\n\n <ng-content></ng-content>\n\n @if (time()) {\n <span class=\"time\">\n {{ time() }}\n </span>\n }\n</div>\n\n<span\n class=\"spine tail\"\n aria-hidden=\"true\">\n</span>\n\n<div class=\"rest\">\n <div\n class=\"details\"\n [id]=\"detailsId\"\n [attr.inert]=\"expanded() ? null : ''\">\n <div class=\"details-content\">\n <div class=\"details-body\">\n <ng-content select=\"[details]\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n","import {\n Component,\n ViewEncapsulation,\n computed,\n contentChildren,\n forwardRef,\n} from '@angular/core';\nimport { TIMELINE } from './timeline.token';\nimport { TimelineItemComponent } from './timeline-item.component';\n\n@Component({\n selector: 'ds-timeline',\n standalone: true,\n template: '<ng-content></ng-content>',\n styleUrl: './timeline.component.scss',\n encapsulation: ViewEncapsulation.Emulated,\n host: {\n role: 'list',\n },\n providers: [\n {\n provide: TIMELINE,\n useExisting: forwardRef(() => TimelineComponent),\n },\n ],\n})\nexport class TimelineComponent {\n // Descendants, so an item inside a wrapper element or an @for block still counts.\n private readonly items = contentChildren(TimelineItemComponent, {\n descendants: true,\n });\n\n /** The item that draws no connector above it. */\n readonly firstItem = computed<object | undefined>(() => this.items().at(0));\n\n /** The item that draws no connector below it. */\n readonly lastItem = computed<object | undefined>(() => this.items().at(-1));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAUO,MAAM,QAAQ,GAAG,IAAI,cAAc,CAAmB,UAAU,CAAC;;ACiBxE,MAAM,YAAY,GAA8C;AAC9D,IAAA,IAAI,EAAE,OAAO;AACb,IAAA,KAAK,EAAE,GAAG;CACX;AAED,IAAI,MAAM,GAAG,CAAC;MAmBD,qBAAqB,CAAA;;AAEvB,IAAA,OAAO,GAAG,KAAK,CAAS,EAAE,8EAAC;;AAE3B,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,2EAAC;;AAExB,IAAA,IAAI,GAAG,KAAK,CAAkB,IAAI,2EAAC;;AAEnC,IAAA,IAAI,GAAG,KAAK,CAAe,SAAS,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