@cngx/ui 0.1.0-rc.8 → 0.1.0-rc.9
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/command-palette/README.md +5 -2
- package/fesm2022/cngx-ui-accordion.mjs +19 -2
- package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-action-button.mjs +10 -7
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
- package/fesm2022/cngx-ui-breadcrumb.mjs +55 -15
- package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/cngx-ui-collection.mjs +10 -0
- package/fesm2022/cngx-ui-collection.mjs.map +1 -1
- package/fesm2022/cngx-ui-command-palette.mjs +2 -2
- package/fesm2022/cngx-ui-command-palette.mjs.map +1 -1
- package/fesm2022/cngx-ui-context-menu.mjs +60 -6
- package/fesm2022/cngx-ui-context-menu.mjs.map +1 -1
- package/fesm2022/cngx-ui-data-grid-accordion.mjs +87 -7
- package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-feedback.mjs +63 -32
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-accordion.mjs +3 -2
- package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-tabs.mjs +264 -86
- package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-paginator.mjs +67 -21
- package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-sidenav.mjs +19 -5
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
- package/fesm2022/cngx-ui-stepper.mjs +65 -53
- package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +84 -25
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-timeline.mjs +28 -6
- package/fesm2022/cngx-ui-timeline.mjs.map +1 -1
- package/fesm2022/cngx-ui-toc.mjs +32 -8
- package/fesm2022/cngx-ui-toc.mjs.map +1 -1
- package/fesm2022/cngx-ui.mjs +1 -1
- package/mat-tabs/README.md +30 -6
- package/mat-tabs/styles/mat-tabs.css +180 -33
- package/package.json +31 -7
- package/schematics/collection.json +9 -0
- package/schematics/ng-add/index.js +9 -0
- package/schematics/ng-add/schema.json +91 -0
- package/schematics/package.json +3 -0
- package/stepper/README.md +1 -1
- package/types/cngx-ui-accordion.d.ts +9 -2
- package/types/cngx-ui-breadcrumb.d.ts +14 -3
- package/types/cngx-ui-collection.d.ts +10 -0
- package/types/cngx-ui-context-menu.d.ts +42 -4
- package/types/cngx-ui-data-grid-accordion.d.ts +4 -1
- package/types/cngx-ui-feedback.d.ts +11 -3
- package/types/cngx-ui-mat-accordion.d.ts +3 -2
- package/types/cngx-ui-mat-tabs.d.ts +44 -21
- package/types/cngx-ui-paginator.d.ts +22 -7
- package/types/cngx-ui-stepper.d.ts +23 -23
- package/types/cngx-ui-tabs.d.ts +4 -2
- package/types/cngx-ui-timeline.d.ts +12 -4
- package/types/cngx-ui-toc.d.ts +13 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { input, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, Injector, contentChildren, contentChild,
|
|
3
|
+
import { input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, Injector, contentChildren, contentChild, untracked, Directive } from '@angular/core';
|
|
4
4
|
import { injectDirection, resolveInlineStep } from '@cngx/core';
|
|
5
5
|
import * as i2 from '@cngx/common/a11y';
|
|
6
6
|
import { CngxLiveRegion, CngxRovingItem, CngxRovingTabindex, CngxFocusRestore } from '@cngx/common/a11y';
|
|
7
7
|
import { CngxSwipe } from '@cngx/common/interactive';
|
|
8
8
|
import * as i1 from '@cngx/common/stepper';
|
|
9
|
-
import { CNGX_STEPPER_GLYPHS, CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepError, CngxStepGroupHeader, CngxStepperEmpty, createStepperTemplateBindings, createStepperDisplayMode, injectStepperCollapse,
|
|
9
|
+
import { CNGX_STEPPER_GLYPHS, CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepError, CngxStepGroupHeader, CngxStepperEmpty, CngxDotStepperDot, createStepperTemplateBindings, createStepperDisplayMode, injectStepperCollapse, createStepperHostAttrs, CngxStepperSwipeNav, resolveStepperStatusLabel, createStepperGroupSummary, createStepperGroupNavigation, createStepperAccname, createStepperSlotContextBuilders, createStepperStateView, resolveStepperErrorSummary, createStepperAnnouncementBuilders, createStepperPanelRefs, createStepperStripKeyboardNav, CngxStepperCount, CNGX_STEP_PANEL_HOST, CngxStepperPresenter, createStepperHostProxy } from '@cngx/common/stepper';
|
|
10
10
|
import { CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_DIRECTIVE_BY_ID_MAP_FACTORY } from '@cngx/common/tabs';
|
|
11
11
|
import { coerceBooleanProperty, coerceSignal } from '@cngx/core/utils';
|
|
12
12
|
import { CngxProgress } from '@cngx/ui/feedback';
|
|
@@ -34,11 +34,17 @@ class CngxStepperErrorLine {
|
|
|
34
34
|
block = input.required(...(ngDevMode ? [{ debugName: "block" }] : /* istanbul ignore next */ []));
|
|
35
35
|
/** Resolved aggregate error phrase; empty string keeps the region quiet. */
|
|
36
36
|
text = input.required(...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
|
|
37
|
-
|
|
37
|
+
/**
|
|
38
|
+
* `'refused'` when every marked step is a refused commit: the line then
|
|
39
|
+
* wears the refused glyph and the `data-reason="refused"` hook. Any error
|
|
40
|
+
* keeps the error glyph.
|
|
41
|
+
*/
|
|
42
|
+
reason = input(null, ...(ngDevMode ? [{ debugName: "reason" }] : /* istanbul ignore next */ []));
|
|
43
|
+
glyph = computed(() => this.reason() === 'refused' ? CNGX_STEPPER_GLYPHS.refusedIcon : CNGX_STEPPER_GLYPHS.errorBadge, ...(ngDevMode ? [{ debugName: "glyph" }] : /* istanbul ignore next */ []));
|
|
38
44
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperErrorLine, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepperErrorLine, isStandalone: true, selector: "span[cngxStepperErrorLine]", inputs: { block: { classPropertyName: "block", publicName: "block", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "status" }, properties: { "attr.data-state": "text() ? 'error' : null", "class": "block()" } }, ngImport: i0, template: `
|
|
45
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepperErrorLine, isStandalone: true, selector: "span[cngxStepperErrorLine]", inputs: { block: { classPropertyName: "block", publicName: "block", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, reason: { classPropertyName: "reason", publicName: "reason", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "status" }, properties: { "attr.data-state": "text() ? 'error' : null", "attr.data-reason": "text() && reason() === 'refused' ? 'refused' : null", "class": "block()" } }, ngImport: i0, template: `
|
|
40
46
|
@if (text()) {
|
|
41
|
-
<span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph }}</span>
|
|
47
|
+
<span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph() }}</span>
|
|
42
48
|
<span [class]="block() + '-text'">{{ text() }}</span>
|
|
43
49
|
}
|
|
44
50
|
`, isInline: true, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
@@ -47,15 +53,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
47
53
|
type: Component,
|
|
48
54
|
args: [{ selector: 'span[cngxStepperErrorLine]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
|
|
49
55
|
@if (text()) {
|
|
50
|
-
<span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph }}</span>
|
|
56
|
+
<span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph() }}</span>
|
|
51
57
|
<span [class]="block() + '-text'">{{ text() }}</span>
|
|
52
58
|
}
|
|
53
59
|
`, host: {
|
|
54
60
|
role: 'status',
|
|
55
61
|
'[attr.data-state]': "text() ? 'error' : null",
|
|
62
|
+
'[attr.data-reason]': "text() && reason() === 'refused' ? 'refused' : null",
|
|
56
63
|
'[class]': 'block()',
|
|
57
64
|
}, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"] }]
|
|
58
|
-
}], propDecorators: { block: [{ type: i0.Input, args: [{ isSignal: true, alias: "block", required: true }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }] } });
|
|
65
|
+
}], propDecorators: { block: [{ type: i0.Input, args: [{ isSignal: true, alias: "block", required: true }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], reason: [{ type: i0.Input, args: [{ isSignal: true, alias: "reason", required: false }] }] } });
|
|
59
66
|
|
|
60
67
|
/**
|
|
61
68
|
* Stepper organism. Composes `CngxStepperPresenter` with
|
|
@@ -77,6 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
77
84
|
* @slot cngxStepRejection Renders the reason a rolled-back step was refused.
|
|
78
85
|
* @slot cngxStepGroupHeader Replaces the header a step group renders above its steps.
|
|
79
86
|
* @slot cngxStepperEmpty Renders when no step is projected at all.
|
|
87
|
+
* @slot cngxDotStepperDot Replaces the body of each dot in the dots mobile-collapse branch.
|
|
80
88
|
* @playground Material theme coverage across all skins ./examples/material-theme-coverage/skins-coverage.component.ts
|
|
81
89
|
* <example-url>http://localhost:4200/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>
|
|
82
90
|
* <example-url>http://localhost:4200/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>
|
|
@@ -135,6 +143,7 @@ class CngxStepper {
|
|
|
135
143
|
errorSlot = contentChild(CngxStepError, ...(ngDevMode ? [{ debugName: "errorSlot" }] : /* istanbul ignore next */ []));
|
|
136
144
|
groupHeaderSlot = contentChild(CngxStepGroupHeader, ...(ngDevMode ? [{ debugName: "groupHeaderSlot" }] : /* istanbul ignore next */ []));
|
|
137
145
|
emptySlot = contentChild(CngxStepperEmpty, ...(ngDevMode ? [{ debugName: "emptySlot" }] : /* istanbul ignore next */ []));
|
|
146
|
+
dotSlot = contentChild(CngxDotStepperDot, ...(ngDevMode ? [{ debugName: "dotSlot" }] : /* istanbul ignore next */ []));
|
|
138
147
|
/** Default-template glyph source - read by `#defaultBadge` / `#defaultRejection` outlets. */
|
|
139
148
|
glyphs = CNGX_STEPPER_GLYPHS;
|
|
140
149
|
/**
|
|
@@ -150,23 +159,10 @@ class CngxStepper {
|
|
|
150
159
|
errorSlot: this.errorSlot,
|
|
151
160
|
groupHeaderSlot: this.groupHeaderSlot,
|
|
152
161
|
emptySlot: this.emptySlot,
|
|
162
|
+
dotSlot: this.dotSlot,
|
|
153
163
|
config: this.config,
|
|
154
164
|
});
|
|
155
165
|
displayMode = createStepperDisplayMode(injectStepperCollapse(this.hostElement), () => this.config.mobileCollapse);
|
|
156
|
-
/**
|
|
157
|
-
* Space-driven density rung for the classic strip, measured off the
|
|
158
|
-
* host element's own width via {@link createStripDensity}. `'full'`
|
|
159
|
-
* under the `'comfortable'` default. Drives `[data-strip-density]` (the
|
|
160
|
-
* strip-overflow rung, distinct from the global `[data-density]` spacing
|
|
161
|
-
* swap so strip degradation never re-scales component spacing).
|
|
162
|
-
*/
|
|
163
|
-
stripDensity = createStripDensity({
|
|
164
|
-
element: this.hostElement,
|
|
165
|
-
stepCount: () => this.presenter.stepCount(),
|
|
166
|
-
density: () => this.config.density,
|
|
167
|
-
breakpoints: () => this.config.densityBreakpoints ?? STEPPER_DEFAULT_DENSITY_BREAKPOINTS,
|
|
168
|
-
destroyRef: inject(DestroyRef),
|
|
169
|
-
});
|
|
170
166
|
/**
|
|
171
167
|
* `true` when `density: 'auto'` is active. Drives `[data-density-auto]`,
|
|
172
168
|
* which makes the strip absorb a too-narrow container by shrinking +
|
|
@@ -226,14 +222,17 @@ class CngxStepper {
|
|
|
226
222
|
/** Mobile-swipe navigation host directive (Level-2 composition). */
|
|
227
223
|
swipeNav = inject(CngxStepperSwipeNav, { host: true });
|
|
228
224
|
statusLabelFor = (node) => resolveStepperStatusLabel(node, this.i18n(), this.slotContext.isActive(node));
|
|
229
|
-
/** Mobile-dot `data-state`:
|
|
225
|
+
/** Mobile-dot `data-state`: the error marker (rejection + aggregator) over the raw status. */
|
|
230
226
|
mobileDotState(node) {
|
|
231
|
-
return this.stateView.
|
|
227
|
+
return this.stateView.hasErrorMarker(node) ? 'error' : node.state();
|
|
232
228
|
}
|
|
233
|
-
/**
|
|
229
|
+
/**
|
|
230
|
+
* Mobile-dot `aria-label`, appending the errored status when the dot has
|
|
231
|
+
* an error, or the refused status when its step change was refused.
|
|
232
|
+
*/
|
|
234
233
|
mobileDotAriaLabel(node, index) {
|
|
235
234
|
const base = this.i18n().selectedStep(node.label(), index + 1, this.stepsOnly().length);
|
|
236
|
-
return this.stateView
|
|
235
|
+
return withMarkerStatus(this.stateView, node, this.i18n(), base);
|
|
237
236
|
}
|
|
238
237
|
groupRoleDescription = computed(() => this.fallbackLabels()?.groupRoleDescription ?? this.i18n().groupRoleDescription, ...(ngDevMode ? [{ debugName: "groupRoleDescription" }] : /* istanbul ignore next */ []));
|
|
239
238
|
/**
|
|
@@ -436,7 +435,7 @@ class CngxStepper {
|
|
|
436
435
|
return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;
|
|
437
436
|
}
|
|
438
437
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
439
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepper, isStandalone: true, selector: "cngx-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null }, connectors: { classPropertyName: "connectors", publicName: "connectors", isSignal: true, isRequired: false, transformFunction: null }, headerNavigation: { classPropertyName: "headerNavigation", publicName: "headerNavigation", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null }, mobileIndicatorPosition: { classPropertyName: "mobileIndicatorPosition", publicName: "mobileIndicatorPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleStripKeyDown($event)" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.data-strip-density": "stripDensity()", "attr.data-density-auto": "isDensityAuto() ? '' : null", "attr.data-skin": "hostAttrs.resolvedSkin()", "attr.data-connectors": "hostAttrs.resolvedConnectors() ? 'true' : null", "attr.data-mobile-indicator-position": "hostAttrs.resolvedMobileIndicatorPosition()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" }, classAttribute: "cngx-stepper" }, providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], queries: [{ propertyName: "stepDirectives", predicate: CngxStep, descendants: true, isSignal: true }, { propertyName: "indicatorSlot", first: true, predicate: CngxStepIndicator, descendants: true, isSignal: true }, { propertyName: "badgeSlot", first: true, predicate: CngxStepBadge, descendants: true, isSignal: true }, { propertyName: "busySpinnerSlot", first: true, predicate: CngxStepBusySpinner, descendants: true, isSignal: true }, { propertyName: "rejectionSlot", first: true, predicate: CngxStepRejection, descendants: true, isSignal: true }, { propertyName: "errorSlot", first: true, predicate: CngxStepError, descendants: true, isSignal: true }, { propertyName: "groupHeaderSlot", first: true, predicate: CngxStepGroupHeader, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear", "orientation", "orientation", "commitAction", "commitAction", "commitMode", "commitMode"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i2.CngxRovingTabindex, inputs: ["orientation", "orientation"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }, { directive: i2.CngxFocusRestore }], ngImport: i0, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n ></span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n }\n </div>\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxLiveRegion, selector: "[cngxLiveRegion]", inputs: ["politeness", "atomic", "relevant"], exportAs: ["cngxLiveRegion"] }, { kind: "directive", type: CngxRovingItem, selector: "[cngxRovingItem]", inputs: ["cngxRovingItemDisabled"], exportAs: ["cngxRovingItem"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
438
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepper, isStandalone: true, selector: "cngx-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null }, connectors: { classPropertyName: "connectors", publicName: "connectors", isSignal: true, isRequired: false, transformFunction: null }, headerNavigation: { classPropertyName: "headerNavigation", publicName: "headerNavigation", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null }, mobileIndicatorPosition: { classPropertyName: "mobileIndicatorPosition", publicName: "mobileIndicatorPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleStripKeyDown($event)" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.data-density-auto": "isDensityAuto() ? '' : null", "attr.data-skin": "hostAttrs.resolvedSkin()", "attr.data-connectors": "hostAttrs.resolvedConnectors() ? 'true' : null", "attr.data-mobile-indicator-position": "hostAttrs.resolvedMobileIndicatorPosition()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" }, classAttribute: "cngx-stepper" }, providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], queries: [{ propertyName: "stepDirectives", predicate: CngxStep, descendants: true, isSignal: true }, { propertyName: "indicatorSlot", first: true, predicate: CngxStepIndicator, descendants: true, isSignal: true }, { propertyName: "badgeSlot", first: true, predicate: CngxStepBadge, descendants: true, isSignal: true }, { propertyName: "busySpinnerSlot", first: true, predicate: CngxStepBusySpinner, descendants: true, isSignal: true }, { propertyName: "rejectionSlot", first: true, predicate: CngxStepRejection, descendants: true, isSignal: true }, { propertyName: "errorSlot", first: true, predicate: CngxStepError, descendants: true, isSignal: true }, { propertyName: "groupHeaderSlot", first: true, predicate: CngxStepGroupHeader, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }, { propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }], exportAs: ["cngxStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear", "orientation", "orientation", "commitAction", "commitAction", "commitMode", "commitMode"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i2.CngxRovingTabindex, inputs: ["orientation", "orientation"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }, { directive: i2.CngxFocusRestore }], ngImport: i0, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\">{{\n reason === 'refused' ? glyphs.refusedIcon : glyphs.rejectionIcon\n}}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__step--rejected[data-reason=failed]{outline-color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__rejection-icon[data-reason=failed]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-rejection-outline-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__mobile-error[data-reason=refused] .cngx-stepper__mobile-error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxLiveRegion, selector: "[cngxLiveRegion]", inputs: ["politeness", "atomic", "relevant"], exportAs: ["cngxLiveRegion"] }, { kind: "directive", type: CngxRovingItem, selector: "[cngxRovingItem]", inputs: ["cngxRovingItemDisabled"], exportAs: ["cngxRovingItem"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
440
439
|
}
|
|
441
440
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, decorators: [{
|
|
442
441
|
type: Component,
|
|
@@ -471,7 +470,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
471
470
|
'[attr.aria-roledescription]': 'stepperRoleDescription()',
|
|
472
471
|
'[attr.aria-orientation]': 'presenter.orientation()',
|
|
473
472
|
'[attr.data-orientation]': 'presenter.orientation()',
|
|
474
|
-
'[attr.data-strip-density]': 'stripDensity()',
|
|
475
473
|
'[attr.data-density-auto]': "isDensityAuto() ? '' : null",
|
|
476
474
|
'[attr.data-skin]': 'hostAttrs.resolvedSkin()',
|
|
477
475
|
'[attr.data-connectors]': "hostAttrs.resolvedConnectors() ? 'true' : null",
|
|
@@ -481,11 +479,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
481
479
|
'[attr.aria-busy]': 'isCommitting() ? "true" : null',
|
|
482
480
|
'[class.cngx-stepper]': 'true',
|
|
483
481
|
'(keydown)': 'handleStripKeyDown($event)',
|
|
484
|
-
}, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n ></span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n }\n </div>\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"] }]
|
|
485
|
-
}], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], skin: [{ type: i0.Input, args: [{ isSignal: true, alias: "skin", required: false }] }], connectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectors", required: false }] }], headerNavigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerNavigation", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], mobileIndicatorPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileIndicatorPosition", required: false }] }], stepDirectives: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CngxStep), { ...{ descendants: true }, isSignal: true }] }], indicatorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepIndicator), { isSignal: true }] }], badgeSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBadge), { isSignal: true }] }], busySpinnerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBusySpinner), { isSignal: true }] }], rejectionSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepRejection), { isSignal: true }] }], errorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepError), { isSignal: true }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
|
|
486
|
-
/**
|
|
487
|
-
|
|
488
|
-
|
|
482
|
+
}, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\">{{\n reason === 'refused' ? glyphs.refusedIcon : glyphs.rejectionIcon\n}}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__step--rejected[data-reason=failed]{outline-color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__rejection-icon[data-reason=failed]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-rejection-outline-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__mobile-error[data-reason=refused] .cngx-stepper__mobile-error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"] }]
|
|
483
|
+
}], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], skin: [{ type: i0.Input, args: [{ isSignal: true, alias: "skin", required: false }] }], connectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectors", required: false }] }], headerNavigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerNavigation", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], mobileIndicatorPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileIndicatorPosition", required: false }] }], stepDirectives: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CngxStep), { ...{ descendants: true }, isSignal: true }] }], indicatorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepIndicator), { isSignal: true }] }], badgeSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBadge), { isSignal: true }] }], busySpinnerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBusySpinner), { isSignal: true }] }], rejectionSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepRejection), { isSignal: true }] }], errorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepError), { isSignal: true }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }], dotSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxDotStepperDot), { isSignal: true }] }] } });
|
|
484
|
+
/**
|
|
485
|
+
* @internal `"<base>: Errored"` for an error, `"<base>: Not allowed"` for a
|
|
486
|
+
* refused step change, joined through the `stepWithDetail` message; `base`
|
|
487
|
+
* unchanged for an unmarked step.
|
|
488
|
+
*/
|
|
489
|
+
function withMarkerStatus(view, node, i18n, base) {
|
|
490
|
+
if (view.hasError(node)) {
|
|
491
|
+
return i18n.stepWithDetail(base, i18n.statusLabels.errored);
|
|
492
|
+
}
|
|
493
|
+
return view.isRefused(node) ? i18n.stepWithDetail(base, i18n.statusLabels.refused) : base;
|
|
489
494
|
}
|
|
490
495
|
|
|
491
496
|
/**
|
|
@@ -568,13 +573,14 @@ class CngxProgressBarStepper {
|
|
|
568
573
|
}, ...(ngDevMode ? [{ debugName: "completedPercent" }] : /* istanbul ignore next */ []));
|
|
569
574
|
captionText = computed(() => this.i18n().textStepperFormat(this.currentStep(), this.totalSteps()), ...(ngDevMode ? [{ debugName: "captionText" }] : /* istanbul ignore next */ []));
|
|
570
575
|
/**
|
|
571
|
-
* Aggregate error caption. A single
|
|
572
|
-
* (`"Payment: Errored"`
|
|
573
|
-
*
|
|
576
|
+
* Aggregate error caption. A single marked step names itself
|
|
577
|
+
* (`"Payment: Errored"`, or `"Payment: Not allowed"` for a refused step
|
|
578
|
+
* change), several collapse to the i18n count phrase. Empty when no step
|
|
579
|
+
* is marked, which keeps the error line quiet.
|
|
574
580
|
*/
|
|
575
581
|
errorText = computed(() => resolveStepperErrorSummary(this.stateView, this.presenter.stepsOnly, untracked(() => this.i18n()), (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0]), ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
|
|
576
582
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
577
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxProgressBarStepper, isStandalone: true, selector: "cngx-progress-bar-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.data-state": "stateView.
|
|
583
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxProgressBarStepper, isStandalone: true, selector: "cngx-progress-bar-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.data-state": "stateView.hasAnyErrorMarker() ? \"error\" : null", "attr.data-reason": "stateView.refusalOnly() ? \"refused\" : null", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-progress-bar-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxProgressBarStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);height:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-progress-bar-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper__error[data-reason=refused] .cngx-progress-bar-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"], dependencies: [{ kind: "component", type: CngxProgress, selector: "cngx-progress", inputs: ["state", "progress", "variant", "showLabel", "label"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
578
584
|
}
|
|
579
585
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, decorators: [{
|
|
580
586
|
type: Component,
|
|
@@ -590,9 +596,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
590
596
|
'[attr.aria-roledescription]': 'stepperRoleDescription()',
|
|
591
597
|
'[attr.aria-label]': 'resolvedAriaLabel()',
|
|
592
598
|
'[attr.aria-labelledby]': 'ariaLabelledBy()',
|
|
593
|
-
'[attr.data-state]': 'stateView.
|
|
599
|
+
'[attr.data-state]': 'stateView.hasAnyErrorMarker() ? "error" : null',
|
|
600
|
+
'[attr.data-reason]': 'stateView.refusalOnly() ? "refused" : null',
|
|
594
601
|
'[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
|
|
595
|
-
}, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span
|
|
602
|
+
}, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);height:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-progress-bar-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper__error[data-reason=refused] .cngx-progress-bar-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"] }]
|
|
596
603
|
}], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
|
|
597
604
|
|
|
598
605
|
/**
|
|
@@ -682,19 +689,24 @@ class CngxDotStepper {
|
|
|
682
689
|
return index < this.activeIndex();
|
|
683
690
|
}
|
|
684
691
|
/**
|
|
685
|
-
* Resolved `data-state` for the dot: `'error'` whenever the
|
|
686
|
-
*
|
|
687
|
-
* literal `state === 'error'`), otherwise the raw
|
|
692
|
+
* Resolved `data-state` for the dot: `'error'` whenever the error marker
|
|
693
|
+
* fires (covers a commit rejection of either kind and the error
|
|
694
|
+
* aggregator, not just a literal `state === 'error'`), otherwise the raw
|
|
695
|
+
* step status.
|
|
688
696
|
*/
|
|
689
697
|
dotState(node) {
|
|
690
|
-
return this.stateView.
|
|
698
|
+
return this.stateView.hasErrorMarker(node) ? 'error' : node.state();
|
|
691
699
|
}
|
|
692
700
|
ariaLabelFor(node, index) {
|
|
693
701
|
const i18n = this.i18n();
|
|
694
702
|
const base = i18n.selectedStep(node.label(), index + 1, this.stepNodes().length);
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
703
|
+
if (this.stateView.hasError(node)) {
|
|
704
|
+
return i18n.stepWithDetail(base, i18n.statusLabels.errored);
|
|
705
|
+
}
|
|
706
|
+
if (this.stateView.isRefused(node)) {
|
|
707
|
+
return i18n.stepWithDetail(base, i18n.statusLabels.refused);
|
|
708
|
+
}
|
|
709
|
+
return base;
|
|
698
710
|
}
|
|
699
711
|
/** Build the slot context for `*cngxDotStepperDot`. */
|
|
700
712
|
dotContextFor(node, index) {
|
|
@@ -738,7 +750,7 @@ class CngxDotStepper {
|
|
|
738
750
|
}
|
|
739
751
|
}
|
|
740
752
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
741
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxDotStepper, isStandalone: true, selector: "cngx-dot-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "attr.tabindex": "stepNodes().length === 0 ? null : '0'", "attr.aria-roledescription": "i18n().stepIndicatorRoleDescription", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-dot-stepper" }, queries: [{ propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxDotStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }], ngImport: i0, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.
|
|
753
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxDotStepper, isStandalone: true, selector: "cngx-dot-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "attr.tabindex": "stepNodes().length === 0 ? null : '0'", "attr.aria-roledescription": "i18n().stepIndicatorRoleDescription", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-dot-stepper" }, queries: [{ propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxDotStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }], ngImport: i0, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var(--cngx-step-active-fill, oklch(.66 .19 50));--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-dot-stepper__dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-dot-stepper-error-glyph-size, 1.1em);height:var(--cngx-dot-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-dot-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-dot-stepper__error[data-reason=refused] .cngx-dot-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{--_cngx-forced-ink: CanvasText;forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{--_cngx-forced-ink: Canvas;background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{--_cngx-forced-ink: HighlightText;background:Highlight;box-shadow:none}.cngx-dot-stepper__dot--error:after{color:var(--_cngx-forced-ink, CanvasText)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
742
754
|
}
|
|
743
755
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, decorators: [{
|
|
744
756
|
type: Component,
|
|
@@ -763,7 +775,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
763
775
|
'[attr.aria-labelledby]': 'ariaLabelledBy()',
|
|
764
776
|
'[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
|
|
765
777
|
'(keydown)': 'handleKeyDown($event)',
|
|
766
|
-
}, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.
|
|
778
|
+
}, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var(--cngx-step-active-fill, oklch(.66 .19 50));--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-dot-stepper__dot--error[data-reason=refused]:after{content:var(--cngx-dot-step-refused-glyph, \"\\2298\") / \"\"}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-dot-stepper-error-glyph-size, 1.1em);height:var(--cngx-dot-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-dot-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-dot-stepper__error[data-reason=refused] .cngx-dot-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{--_cngx-forced-ink: CanvasText;forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{--_cngx-forced-ink: Canvas;background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{--_cngx-forced-ink: HighlightText;background:Highlight;box-shadow:none}.cngx-dot-stepper__dot--error:after{color:var(--_cngx-forced-ink, CanvasText)}}\n"] }]
|
|
767
779
|
}], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], dotSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxDotStepperDot), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
|
|
768
780
|
|
|
769
781
|
/**
|
|
@@ -837,14 +849,14 @@ class CngxTextStepper {
|
|
|
837
849
|
return untracked(() => this.i18n().stepWithDetail(base, node.label()));
|
|
838
850
|
}, ...(ngDevMode ? [{ debugName: "stepText" }] : /* istanbul ignore next */ []));
|
|
839
851
|
/**
|
|
840
|
-
* Aggregate error sub-line text. A single
|
|
841
|
-
* (`"Payment: Errored"`
|
|
842
|
-
* (`"2 errors"`).
|
|
843
|
-
*
|
|
852
|
+
* Aggregate error sub-line text. A single marked step names itself
|
|
853
|
+
* (`"Payment: Errored"`, or `"Payment: Not allowed"` for a refused step
|
|
854
|
+
* change), several collapse to the i18n count phrase (`"2 errors"`).
|
|
855
|
+
* Empty when no step is marked, which keeps the error line quiet.
|
|
844
856
|
*/
|
|
845
857
|
errorText = computed(() => resolveStepperErrorSummary(this.stateView, this.stepNodes, untracked(() => this.i18n()), (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0]), ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
|
|
846
858
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
847
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxTextStepper, isStandalone: true, selector: "cngx-text-stepper", inputs: { showCurrentLabel: { classPropertyName: "showCurrentLabel", publicName: "showCurrentLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-text-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxTextStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span
|
|
859
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxTextStepper, isStandalone: true, selector: "cngx-text-stepper", inputs: { showCurrentLabel: { classPropertyName: "showCurrentLabel", publicName: "showCurrentLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-text-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxTextStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-text-step-error-glyph-size, 1.1em);height:var(--cngx-text-step-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-text-step-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-text-stepper__error[data-reason=refused] .cngx-text-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
848
860
|
}
|
|
849
861
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, decorators: [{
|
|
850
862
|
type: Component,
|
|
@@ -857,7 +869,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
857
869
|
], host: {
|
|
858
870
|
class: 'cngx-text-stepper',
|
|
859
871
|
'[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
|
|
860
|
-
}, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span
|
|
872
|
+
}, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-text-step-error-glyph-size, 1.1em);height:var(--cngx-text-step-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-text-step-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-text-stepper__error[data-reason=refused] .cngx-text-stepper__error-glyph{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"] }]
|
|
861
873
|
}], propDecorators: { showCurrentLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentLabel", required: false }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
|
|
862
874
|
|
|
863
875
|
/**
|