@cngx/ui 0.0.1-rc.0 → 0.1.0-rc.0

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.
Files changed (60) hide show
  1. package/README.md +22 -48
  2. package/action-button/README.md +9 -11
  3. package/empty-state/README.md +11 -26
  4. package/feedback/README.md +3 -3
  5. package/fesm2022/cngx-ui-action-button.mjs +30 -26
  6. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  7. package/fesm2022/cngx-ui-empty-state.mjs +26 -21
  8. package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
  9. package/fesm2022/cngx-ui-feedback.mjs +498 -261
  10. package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
  11. package/fesm2022/cngx-ui-layout.mjs +32 -5
  12. package/fesm2022/cngx-ui-layout.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-mat-stepper.mjs +79 -104
  14. package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-mat-tabs.mjs +111 -83
  16. package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
  17. package/fesm2022/cngx-ui-material.mjs +14 -3
  18. package/fesm2022/cngx-ui-material.mjs.map +1 -1
  19. package/fesm2022/cngx-ui-overlay.mjs +22 -3
  20. package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
  21. package/fesm2022/cngx-ui-sidenav.mjs +107 -28
  22. package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
  23. package/fesm2022/cngx-ui-skeleton.mjs +61 -20
  24. package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-speak.mjs +14 -5
  26. package/fesm2022/cngx-ui-speak.mjs.map +1 -1
  27. package/fesm2022/cngx-ui-stepper.mjs +484 -161
  28. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  29. package/fesm2022/cngx-ui-tabs.mjs +75 -39
  30. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  31. package/fesm2022/cngx-ui.mjs +2 -1
  32. package/fesm2022/cngx-ui.mjs.map +1 -1
  33. package/layout/README.md +9 -44
  34. package/mat-stepper/README.md +7 -10
  35. package/mat-tabs/README.md +13 -13
  36. package/mat-tabs/styles/mat-tabs.css +339 -213
  37. package/material/README.md +19 -19
  38. package/overlay/README.md +11 -11
  39. package/package.json +5 -4
  40. package/sidenav/README.md +4 -19
  41. package/skeleton/README.md +3 -17
  42. package/speak/README.md +15 -15
  43. package/stepper/README.md +139 -5
  44. package/tabs/README.md +4 -4
  45. package/theming/system-tokens.css +29 -0
  46. package/types/cngx-ui-action-button.d.ts +28 -13
  47. package/types/cngx-ui-empty-state.d.ts +21 -9
  48. package/types/cngx-ui-feedback.d.ts +437 -121
  49. package/types/cngx-ui-layout.d.ts +38 -8
  50. package/types/cngx-ui-mat-stepper.d.ts +58 -43
  51. package/types/cngx-ui-mat-tabs.d.ts +122 -72
  52. package/types/cngx-ui-material.d.ts +12 -1
  53. package/types/cngx-ui-overlay.d.ts +25 -4
  54. package/types/cngx-ui-sidenav.d.ts +106 -12
  55. package/types/cngx-ui-skeleton.d.ts +62 -8
  56. package/types/cngx-ui-speak.d.ts +10 -2
  57. package/types/cngx-ui-stepper.d.ts +280 -56
  58. package/types/cngx-ui-tabs.d.ts +38 -10
  59. package/types/cngx-ui.d.ts +1 -0
  60. package/speak/speak-button-theme.scss +0 -78
@@ -1,11 +1,14 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { input, inject, ElementRef, Injector, contentChildren, contentChild, computed, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { input, inject, ElementRef, Injector, contentChildren, contentChild, DestroyRef, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, Directive } from '@angular/core';
4
4
  import * as i2 from '@cngx/common/a11y';
5
5
  import { CngxLiveRegion, CngxRovingItem, CngxRovingTabindex, CngxFocusRestore } from '@cngx/common/a11y';
6
+ import { CngxSwipe } from '@cngx/common/interactive';
6
7
  import * as i1 from '@cngx/common/stepper';
7
- import { CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepGroupHeader, CngxStepperEmpty, CNGX_STEPPER_GLYPHS, createStepperTemplateBindings, flatStepsEqual, CNGX_STEP_PANEL_HOST, CngxStepperPresenter } from '@cngx/common/stepper';
8
+ import { CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepGroupHeader, CngxStepperEmpty, CNGX_STEPPER_GLYPHS, createStepperTemplateBindings, createStepperDisplayMode, STEPPER_DEFAULT_MOBILE_BREAKPOINT, createStepperHostAttrs, CngxStepperSwipeNav, resolveStepperStatusLabel, createStepperSlotContextBuilders, createStepperAnnouncementBuilders, createStepperStripKeyboardNav, CngxStepperCount, CNGX_STEP_PANEL_HOST, CngxStepperPresenter, CngxDotStepperDot, createStepperHostProxy } from '@cngx/common/stepper';
8
9
  import { CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_DIRECTIVE_BY_ID_MAP_FACTORY } from '@cngx/common/tabs';
10
+ import { coerceBooleanProperty } from '@cngx/core/utils';
11
+ import { CngxProgress } from '@cngx/ui/feedback';
9
12
 
10
13
  /**
11
14
  * Stepper organism. Composes `CngxStepperPresenter` with
@@ -13,10 +16,47 @@ import { CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_DIRECTIVE_BY_ID_MAP_FACTORY } f
13
16
  * forwards `activeStepIndex`/`linear`/`orientation`/`commitAction`/
14
17
  * `commitMode` to the presenter. Material twin lives in
15
18
  * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.
19
+ *
20
+ * @category ui/stepper
21
+ * @docsKind primary
22
+ * @wcag AA
23
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/stepper.component.ts
24
+ * @since 0.1.0
25
+ * @relatedTo CngxStepperPresenter, CngxStep, CngxRovingTabindex, CngxFocusRestore, CngxLiveRegion
26
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>
27
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>
28
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>
29
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>
30
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal</example-url>
31
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>
32
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron</example-url>
33
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment</example-url>
34
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips</example-url>
35
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/breadcrumb</example-url>
36
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>
37
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>
38
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>
39
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>
40
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>
41
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>
42
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips-vertical</example-url>
16
43
  */
17
44
  class CngxStepper {
18
45
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
19
46
  ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
47
+ /** Per-instance skin override; flips `[data-skin]`, structure/ARIA unchanged. */
48
+ skin = input(undefined, ...(ngDevMode ? [{ debugName: "skin" }] : /* istanbul ignore next */ []));
49
+ /** Opt the classic skin into the connector-rail presentation. Off by default, classic-scoped. */
50
+ connectors = input(undefined, { ...(ngDevMode ? { debugName: "connectors" } : /* istanbul ignore next */ {}), transform: (v) => (v === undefined ? undefined : coerceBooleanProperty(v)) });
51
+ /**
52
+ * Opt-in `Step N of M` caption under the mobile `'dots'` row. In
53
+ * the `'text'` collapse branch the count IS the indicator and is
54
+ * always rendered; this input only gates the supplemental caption
55
+ * that sits next to the dot row.
56
+ */
57
+ showStepCount = input(false, ...(ngDevMode ? [{ debugName: "showStepCount" }] : /* istanbul ignore next */ []));
58
+ mobileIndicatorPosition = input(undefined, ...(ngDevMode ? [{ debugName: "mobileIndicatorPosition" }] : /* istanbul ignore next */ []));
59
+ /** Stepper-host contract; exposed so external `<cngx-stepper-count>` / bridge consumers can `[host]="s.presenter"` via `#s="cngxStepper"`. */
20
60
  presenter = inject(CNGX_STEPPER_HOST);
21
61
  i18n = injectStepperI18n();
22
62
  config = injectStepperConfig();
@@ -29,7 +69,7 @@ class CngxStepper {
29
69
  rejectionSlot = contentChild(CngxStepRejection, ...(ngDevMode ? [{ debugName: "rejectionSlot" }] : /* istanbul ignore next */ []));
30
70
  groupHeaderSlot = contentChild(CngxStepGroupHeader, ...(ngDevMode ? [{ debugName: "groupHeaderSlot" }] : /* istanbul ignore next */ []));
31
71
  emptySlot = contentChild(CngxStepperEmpty, ...(ngDevMode ? [{ debugName: "emptySlot" }] : /* istanbul ignore next */ []));
32
- /** Default-template glyph source — read by `#defaultBadge` / `#defaultRejection` outlets. */
72
+ /** Default-template glyph source - read by `#defaultBadge` / `#defaultRejection` outlets. */
33
73
  glyphs = CNGX_STEPPER_GLYPHS;
34
74
  /**
35
75
  * 6-slot template cascade (indicator/badge/busySpinner/rejection/
@@ -45,10 +85,9 @@ class CngxStepper {
45
85
  emptySlot: this.emptySlot,
46
86
  config: this.config,
47
87
  });
88
+ displayMode = createStepperDisplayMode(this.config.mobileBreakpoint ?? STEPPER_DEFAULT_MOBILE_BREAKPOINT, () => this.config.mobileCollapse, inject(DestroyRef));
48
89
  constructor() {
49
- // Scroll active step into view on activeStepId change. Routed through
50
- // CNGX_ORGANISM_SCROLL_SYNC_FACTORY so consumers can swap policy
51
- // (instant, reduced-motion opt-out) without forking.
90
+ // Scroll active step into view via the swappable scroll-sync factory.
52
91
  inject(CNGX_ORGANISM_SCROLL_SYNC_FACTORY)({
53
92
  activeId: this.presenter.activeStepId,
54
93
  hostElement: this.hostElement,
@@ -56,9 +95,12 @@ class CngxStepper {
56
95
  });
57
96
  }
58
97
  /** Stepper landmark role-description with config + i18n cascade. */
59
- stepperRoleDescription = computed(() => this.config.fallbackLabels?.stepRoleDescription ??
60
- this.i18n.stepperLabel, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
61
- /** Group landmark role-description with config + i18n cascade. */
98
+ stepperRoleDescription = computed(() => this.config.fallbackLabels?.stepRoleDescription ?? this.i18n.stepperLabel, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
99
+ /** Resolved skin / connectors / mobile-indicator host attrs (Level-2 cascade helper). */
100
+ hostAttrs = createStepperHostAttrs({ skin: this.skin, connectors: this.connectors, mobileIndicatorPosition: this.mobileIndicatorPosition, config: this.config });
101
+ /** Mobile-swipe navigation host directive (Level-2 composition). */
102
+ swipeNav = inject(CngxStepperSwipeNav, { host: true });
103
+ statusLabelFor = (node) => resolveStepperStatusLabel(node, this.i18n, this.slotContext.isActive(node));
62
104
  groupRoleDescription = computed(() => this.config.fallbackLabels?.groupRoleDescription ?? 'step group', ...(ngDevMode ? [{ debugName: "groupRoleDescription" }] : /* istanbul ignore next */ []));
63
105
  /**
64
106
  * `aria-label` cascade: input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`.
@@ -68,9 +110,7 @@ class CngxStepper {
68
110
  if (this.ariaLabelledBy()) {
69
111
  return null; // labelledby trumps label
70
112
  }
71
- return (this.ariaLabel() ??
72
- this.config.ariaLabels?.stepperRegion ??
73
- this.i18n.stepperLabel);
113
+ return this.ariaLabel() ?? this.config.ariaLabels?.stepperRegion ?? this.i18n.stepperLabel;
74
114
  }, ...(ngDevMode ? [{ debugName: "resolvedAriaLabel" }] : /* istanbul ignore next */ []));
75
115
  // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on
76
116
  // id-set + directive identity stops cascade on shape-stable re-emits.
@@ -80,12 +120,7 @@ class CngxStepper {
80
120
  flatSteps = this.presenter.flatSteps;
81
121
  activeStepIndex = this.presenter.activeStepIndex;
82
122
  activeStepId = this.presenter.activeStepId;
83
- /**
84
- * Step-only flat projection (group nodes filtered out). Structural equal
85
- * via `flatStepsEqual` — downstream consumers don't re-walk on shape-stable
86
- * `flatSteps()` re-emits.
87
- */
88
- stepsOnly = computed(() => this.flatSteps().filter((n) => n.kind === 'step'), { ...(ngDevMode ? { debugName: "stepsOnly" } : /* istanbul ignore next */ {}), equal: flatStepsEqual });
123
+ stepsOnly = this.presenter.stepsOnly;
89
124
  /**
90
125
  * Position in the step-only flat projection. Group nodes carry `-1`;
91
126
  * callers must guard on `kind === 'step'`.
@@ -93,15 +128,9 @@ class CngxStepper {
93
128
  stepIndexOf(node) {
94
129
  return node.flatIndex;
95
130
  }
96
- isActive(node) {
97
- return node.kind === 'step' && node.id === this.activeStepId();
98
- }
99
- isStepBusy(node) {
100
- return (node.kind === 'step' &&
101
- this.presenter.commitState.status() === 'pending' &&
102
- this.presenter.intendedStepIndex() === node.flatIndex);
103
- }
104
- /** Commit-in-flight flag — drives the host `aria-busy` binding. Pillar 2. */
131
+ /** Per-step predicates + slot-context builders (Level-2 factory). */
132
+ slotContext = createStepperSlotContextBuilders({ presenter: this.presenter, stepsOnly: this.stepsOnly });
133
+ /** Commit-in-flight flag - drives the host `aria-busy` binding. Pillar 2. */
105
134
  isCommitting = computed(() => this.presenter.commitState.status() === 'pending', ...(ngDevMode ? [{ debugName: "isCommitting" }] : /* istanbul ignore next */ []));
106
135
  stepHeaderId(node) {
107
136
  return `${node.id}-header`;
@@ -112,111 +141,8 @@ class CngxStepper {
112
141
  stepDescriptorId(node) {
113
142
  return `${node.id}-desc`;
114
143
  }
115
- /**
116
- * Live-region content. Empty string between transitions keeps the region
117
- * quiet on no-op CD ticks. Error-arm priority:
118
- * 1. `commitRolledBackTo(originLabel)` when both `lastFailedIndex` and a
119
- * resolvable origin label exist.
120
- * 2. `commitFailedRetry` otherwise.
121
- */
122
- liveAnnouncement = computed(() => {
123
- const current = this.presenter.commitTransition.current();
124
- if (current === 'pending') {
125
- return this.i18n.commitInFlight;
126
- }
127
- if (current === 'error') {
128
- // Sync commit-handler errors collapse pending → error in one signal
129
- // flush; tracker sees `previous === 'idle'`. Guard stays loose so
130
- // sync-rejection (`commitAction = () => false`) still announces.
131
- const failedIdx = this.presenter.lastFailedIndex();
132
- const originIdx = this.presenter.originIndexDuringCommit();
133
- if (failedIdx !== undefined && originIdx !== undefined) {
134
- const originLabel = this.stepsOnly()[originIdx]?.label();
135
- if (originLabel) {
136
- return this.i18n.commitRolledBackTo(originLabel);
137
- }
138
- }
139
- return this.i18n.commitFailedRetry;
140
- }
141
- return '';
142
- }, ...(ngDevMode ? [{ debugName: "liveAnnouncement" }] : /* istanbul ignore next */ []));
143
- /** SR descriptor phrase. Aggregator-announced or "Step N of M: <label>"; appends stepRolledBackSuffix on the rejected row. */
144
- statusPhrase(node) {
145
- const aggregator = node.errorAggregator?.();
146
- let base = aggregator?.shouldShow?.() ? (aggregator.announcement?.() ?? '') : '';
147
- if (!base && node.kind === 'step') {
148
- const idx = this.stepIndexOf(node);
149
- if (idx >= 0) {
150
- base = this.i18n.selectedStep(node.label(), idx + 1, this.stepsOnly().length);
151
- }
152
- }
153
- if (!base) {
154
- return '';
155
- }
156
- return node.kind === 'step' && node.flatIndex === this.presenter.lastFailedIndex()
157
- ? `${base} ${this.i18n.stepRolledBackSuffix}`
158
- : base;
159
- }
160
- /** Group descriptor — rolls up children's aggregated status. */
161
- groupStatusPhrase(node) {
162
- const status = node.state();
163
- if (status === 'error') {
164
- return this.i18n.stepErrored;
165
- }
166
- if (status === 'success') {
167
- return this.i18n.stepCompleted;
168
- }
169
- return '';
170
- }
171
- /** Whether to render the error badge for a step node. */
172
- showErrorBadge(node) {
173
- return !!node.errorAggregator?.()?.shouldShow?.();
174
- }
175
- /**
176
- * Render the rejection decoration when this step's flat-index matches
177
- * `presenter.lastFailedIndex()`. Closes stepper-accepted-debt §2.
178
- */
179
- showRejection(node) {
180
- return (node.kind === 'step' &&
181
- node.flatIndex >= 0 &&
182
- node.flatIndex === this.presenter.lastFailedIndex());
183
- }
184
- /** Build the slot context for `*cngxStepIndicator`. */
185
- indicatorContextFor(node) {
186
- const position = node.flatIndex + 1;
187
- return {
188
- $implicit: position,
189
- position,
190
- node,
191
- active: this.isActive(node),
192
- status: node.state(),
193
- busy: this.isStepBusy(node),
194
- };
195
- }
196
- /** Build the slot context for `*cngxStepBadge`. */
197
- badgeContextFor(node) {
198
- const aggregator = node.errorAggregator?.();
199
- const count = aggregator?.errorCount() ?? 0;
200
- return { count, node };
201
- }
202
- /** Build the slot context for `*cngxStepBusySpinner`. */
203
- busySpinnerContextFor(node) {
204
- return { node };
205
- }
206
- /**
207
- * Build the slot context for `*cngxStepRejection`. Resolves origin label
208
- * from `presenter.originIndexDuringCommit()` via `stepsOnly()`.
209
- */
210
- rejectionContextFor(node) {
211
- const failedIndex = node.flatIndex;
212
- const originIdx = this.presenter.originIndexDuringCommit();
213
- const originLabel = originIdx !== undefined ? this.stepsOnly()[originIdx]?.label() : undefined;
214
- return { failedIndex, originLabel, node };
215
- }
216
- /** Build the slot context for `*cngxStepGroupHeader`. */
217
- groupHeaderContextFor(node) {
218
- return { group: node, expanded: true, status: node.state() };
219
- }
144
+ /** Live-region + per-step + group SR phrase builders (Level-2 factory). */
145
+ announcement = createStepperAnnouncementBuilders({ presenter: this.presenter, stepsOnly: this.stepsOnly, i18n: this.i18n });
220
146
  handleHeaderClick(node) {
221
147
  if (node.kind !== 'step' || node.disabled()) {
222
148
  return;
@@ -226,6 +152,8 @@ class CngxStepper {
226
152
  this.presenter.select(idx);
227
153
  }
228
154
  }
155
+ /** Strip-scoped arrow-key handler. See {@link createStepperStripKeyboardNav}. */
156
+ handleStripKeyDown = createStepperStripKeyboardNav({ presenter: this.presenter, hostElement: this.hostElement, flatStepCount: () => this.flatSteps().length, stepButtonIdFor: (id) => `${id}-header` });
229
157
  /**
230
158
  * Clear the presenter's `lastFailedIndex`. Lets template-ref consumers
231
159
  * (`#s="cngxStepper"`) dismiss the rejection decoration without injecting
@@ -234,41 +162,19 @@ class CngxStepper {
234
162
  clearLastFailed() {
235
163
  this.presenter.clearLastFailed();
236
164
  }
237
- // CngxStepPanelHost contract — O(1) via the pre-built map.
165
+ // CngxStepPanelHost contract - O(1) via the pre-built map.
238
166
  labelTemplateFor(id) {
239
167
  return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;
240
168
  }
241
169
  contentTemplateFor(id) {
242
170
  return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;
243
171
  }
244
- /**
245
- * Build the {@link CngxStepLabelContext} for `*cngxStepLabel`.
246
- * `index` is 1-based (mirrors indicator position); group nodes
247
- * (`flatIndex === -1`) yield `0` and are never iterated here.
248
- */
249
- stepLabelContextFor(node) {
250
- return {
251
- node,
252
- index: node.flatIndex + 1,
253
- active: this.isActive(node),
254
- busy: this.isStepBusy(node),
255
- disabled: node.disabled(),
256
- };
257
- }
258
- /**
259
- * Build the {@link CngxStepContentContext} for `*cngxStepContent`.
260
- * Same shape as the label context — content templates need the same
261
- * `disabled`/`busy` derivations.
262
- */
263
- stepContentContextFor(node) {
264
- return this.stepLabelContextFor(node);
265
- }
266
172
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
267
- 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 } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" } }, 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: "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: 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 {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); 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 [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n liveAnnouncement()\n}}</span>\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: [":host{display:block}.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);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;opacity:var(--cngx-step-disabled-opacity, .55)}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 2px)}.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__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;padding:var(--cngx-step-padding, .5rem .75rem);font-weight:var(--cngx-step-group-font-weight, 600)}.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, #c62828);color:var(--cngx-step-error-badge-text-color, white);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, #ed6c02);outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.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, #ed6c02);color:var(--cngx-step-rejection-icon-color, white);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}:host([data-orientation=\"horizontal\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([data-orientation=\"horizontal\"]) .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}:host([data-orientation=\"vertical\"]) .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}:host([data-orientation=\"vertical\"]){display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}:host([data-orientation=\"vertical\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([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", ":host{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{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 .12s ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, #2e7d32);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color, #c62828);color:var(--cngx-step-indicator-active-color, white)}.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, currentColor);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor));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)}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 4%, transparent))}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}\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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
173
+ 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 }, 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-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: "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\n <div\n class=\"cngx-stepper__panels\"\n [class.cngx-stepper__panels--swipeable]=\"swipeNav.swipeEnabled()\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\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} @else if (displayMode() === 'dots') {\n <div class=\"cngx-stepper__mobile-dots\">\n @for (node of stepsOnly(); track node.id; let i = $index) {\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 [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"i18n.selectedStep(node.label(), i + 1, stepsOnly().length)\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n </div>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <div\n class=\"cngx-stepper__panels\"\n [class.cngx-stepper__panels--swipeable]=\"swipeNav.swipeEnabled()\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\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} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); 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 [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\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]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\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]=\"stepDescriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\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}\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<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: false; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: false; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: false; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: false; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: false; initial-value: .375rem .5rem;}@property --cngx-step-disabled-opacity{syntax: \"<number>\"; inherits: false; initial-value: .55;}@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: false; 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: 1.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;}}@layer cngx.components{cngx-stepper{display:block;container-type:inline-size;container-name:cngx-stepper}.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);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;opacity:var(--cngx-step-disabled-opacity, .55)}.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__panels{display:block}.cngx-stepper__panels--swipeable{touch-action:pan-y}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-width: 600px){.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;padding:var(--cngx-step-padding, .5rem .75rem);font-weight:var(--cngx-step-group-font-weight, 600)}.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: false; 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: false; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: false; 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: false; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"<length>\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}}@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 .12s ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;right:-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 1px 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__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: false; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: false; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: false; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: false; 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-chevron-tile-active{syntax: \"*\"; inherits: false; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: false; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: false; 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: \"<length-percentage>\"; inherits: false; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"<length-percentage>\"; inherits: false; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"<length-percentage>\"; inherits: false; 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: \"<length-percentage>\"; inherits: false; 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 .12s ease,border-color .12s 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]{background:var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) );border-color:var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;left: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{left: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-left: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:.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;left: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{left: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:.375rem}.cngx-stepper__status-pill{display:inline-flex;align-items:center;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{flex:1 1 0;clip-path:polygon(0 0,calc(100% - .75rem) 0,100% 50%,calc(100% - .75rem) 100%,0 100%,.75rem 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + .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 .12s ease,color .12s ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - .75rem) 0,100% 50%,calc(100% - .75rem) 100%,0 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,.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__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:.5rem;background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color .12s ease,color .12s ease,box-shadow .12s 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:currentColor;box-shadow:var(--cngx-step-pill-segment-card-shadow)}.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:.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 .12s ease,color .12s 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__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 .12s 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([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__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))}}}@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))}.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{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 .15s ease-out,transform .15s ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed}.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)}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}: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-pill-segment-fill-active: oklch(.4 .008 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)}: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-pill-segment-fill-active: oklch(.4 .008 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)}: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}}\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: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
268
174
  }
269
175
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, decorators: [{
270
176
  type: Component,
271
- args: [{ selector: 'cngx-stepper', exportAs: 'cngxStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem], hostDirectives: [
177
+ args: [{ selector: 'cngx-stepper', exportAs: 'cngxStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem, CngxStepperCount, CngxSwipe], encapsulation: ViewEncapsulation.None, hostDirectives: [
272
178
  {
273
179
  directive: CngxStepperPresenter,
274
180
  inputs: ['activeStepIndex', 'linear', 'orientation', 'commitAction', 'commitMode'],
@@ -278,21 +184,438 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
278
184
  directive: CngxRovingTabindex,
279
185
  inputs: ['orientation'],
280
186
  },
187
+ {
188
+ directive: CngxStepperSwipeNav,
189
+ inputs: ['mobileSwipe'],
190
+ },
281
191
  { directive: CngxFocusRestore },
282
192
  // CngxLiveRegion not composed: its role="status" would clobber the
283
193
  // host's role="group". Template mounts a dedicated <span cngxLiveRegion>
284
194
  // bound to liveAnnouncement instead.
285
195
  ], providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], host: {
286
- 'role': 'group',
196
+ class: 'cngx-stepper',
197
+ role: 'group',
287
198
  '[attr.aria-roledescription]': 'stepperRoleDescription()',
288
199
  '[attr.aria-orientation]': 'presenter.orientation()',
289
200
  '[attr.data-orientation]': 'presenter.orientation()',
201
+ '[attr.data-skin]': 'hostAttrs.resolvedSkin()',
202
+ '[attr.data-connectors]': "hostAttrs.resolvedConnectors() ? 'true' : null",
203
+ '[attr.data-mobile-indicator-position]': 'hostAttrs.resolvedMobileIndicatorPosition()',
290
204
  '[attr.aria-label]': 'resolvedAriaLabel()',
291
205
  '[attr.aria-labelledby]': 'ariaLabelledBy()',
292
206
  '[attr.aria-busy]': 'isCommitting() ? "true" : null',
293
207
  '[class.cngx-stepper]': 'true',
294
- }, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); 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 [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n liveAnnouncement()\n}}</span>\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: [":host{display:block}.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);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;opacity:var(--cngx-step-disabled-opacity, .55)}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 2px)}.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__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;padding:var(--cngx-step-padding, .5rem .75rem);font-weight:var(--cngx-step-group-font-weight, 600)}.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, #c62828);color:var(--cngx-step-error-badge-text-color, white);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, #ed6c02);outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.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, #ed6c02);color:var(--cngx-step-rejection-icon-color, white);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}:host([data-orientation=\"horizontal\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([data-orientation=\"horizontal\"]) .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}:host([data-orientation=\"vertical\"]) .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}:host([data-orientation=\"vertical\"]){display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}:host([data-orientation=\"vertical\"]) .cngx-stepper__step[data-step-depth=\"1\"],:host([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", ":host{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{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 .12s ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, #2e7d32);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color, #c62828);color:var(--cngx-step-indicator-active-color, white)}.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, currentColor);color:var(--cngx-step-indicator-active-color, white)}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor));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)}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 4%, transparent))}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}\n"] }]
295
- }], 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 }] }], 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 }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
208
+ '(keydown)': 'handleStripKeyDown($event)',
209
+ }, 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\n <div\n class=\"cngx-stepper__panels\"\n [class.cngx-stepper__panels--swipeable]=\"swipeNav.swipeEnabled()\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\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} @else if (displayMode() === 'dots') {\n <div class=\"cngx-stepper__mobile-dots\">\n @for (node of stepsOnly(); track node.id; let i = $index) {\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 [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"i18n.selectedStep(node.label(), i + 1, stepsOnly().length)\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n </div>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <div\n class=\"cngx-stepper__panels\"\n [class.cngx-stepper__panels--swipeable]=\"swipeNav.swipeEnabled()\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\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} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); 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 [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\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]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\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]=\"stepDescriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\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]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\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}\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<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: false; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: false; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: false; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: false; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: false; initial-value: .375rem .5rem;}@property --cngx-step-disabled-opacity{syntax: \"<number>\"; inherits: false; initial-value: .55;}@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: false; 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: 1.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;}}@layer cngx.components{cngx-stepper{display:block;container-type:inline-size;container-name:cngx-stepper}.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);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;opacity:var(--cngx-step-disabled-opacity, .55)}.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__panels{display:block}.cngx-stepper__panels--swipeable{touch-action:pan-y}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-width: 600px){.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;padding:var(--cngx-step-padding, .5rem .75rem);font-weight:var(--cngx-step-group-font-weight, 600)}.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: false; 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: false; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: false; 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: false; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"<length>\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}}@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 .12s ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;right:-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 1px 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__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: false; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: false; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: false; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: false; 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-chevron-tile-active{syntax: \"*\"; inherits: false; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: false; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: false; 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: \"<length-percentage>\"; inherits: false; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"<length-percentage>\"; inherits: false; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"<length-percentage>\"; inherits: false; 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: \"<length-percentage>\"; inherits: false; 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 .12s ease,border-color .12s 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]{background:var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) );border-color:var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;left: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{left: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-left: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:.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;left: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{left: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:.375rem}.cngx-stepper__status-pill{display:inline-flex;align-items:center;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{flex:1 1 0;clip-path:polygon(0 0,calc(100% - .75rem) 0,100% 50%,calc(100% - .75rem) 100%,0 100%,.75rem 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + .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 .12s ease,color .12s ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - .75rem) 0,100% 50%,calc(100% - .75rem) 100%,0 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,.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__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:.5rem;background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color .12s ease,color .12s ease,box-shadow .12s 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:currentColor;box-shadow:var(--cngx-step-pill-segment-card-shadow)}.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:.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 .12s ease,color .12s 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__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 .12s 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([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__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))}}}@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))}.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{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 .15s ease-out,transform .15s ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed}.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)}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}: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-pill-segment-fill-active: oklch(.4 .008 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)}: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-pill-segment-fill-active: oklch(.4 .008 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)}: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}}\n"] }]
210
+ }], 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 }] }], 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 }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
211
+
212
+ /**
213
+ * Progress-Bar stepper variant. Thin Level-4 organism composing
214
+ * `CngxStepperPresenter` via `hostDirectives` and rendering the
215
+ * existing `<cngx-progress>` primitive as the visual bar instead of
216
+ * reinventing `<div role="progressbar">`. Material consumers inherit
217
+ * Material progress styling through `CngxProgress` automatically.
218
+ *
219
+ * `completedPercent()` is `computed` from `presenter.activeStepIndex()`
220
+ * and the count of step nodes in `presenter.flatSteps()`. Optional
221
+ * `[showStepCount]` adds a `Step N of M` caption sourced from
222
+ * `CngxStepperI18n.textStepperFormat`.
223
+ *
224
+ * @category ui/stepper
225
+ * @docsKind primary
226
+ * @wcag AA
227
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/progress-bar-stepper.component.ts
228
+ * @since 0.1.0
229
+ * @relatedTo CngxStepperPresenter, CngxProgress, CngxDotStepper, CngxTextStepper
230
+ * <example-url>http://localhost:4200/#/ui/stepper/progress-bar/onboarding-flow</example-url>
231
+ */
232
+ class CngxProgressBarStepper {
233
+ ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
234
+ ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
235
+ /** Render a `Step N of M` caption below the bar. Off by default. */
236
+ showStepCount = input(false, ...(ngDevMode ? [{ debugName: "showStepCount" }] : /* istanbul ignore next */ []));
237
+ presenter = inject(CNGX_STEPPER_HOST);
238
+ i18n = injectStepperI18n();
239
+ /** Total step count (group nodes excluded). */
240
+ totalSteps = computed(() => this.presenter.stepsOnly().length, ...(ngDevMode ? [{ debugName: "totalSteps" }] : /* istanbul ignore next */ []));
241
+ /** 1-based active position used in the caption format. */
242
+ currentStep = computed(() => {
243
+ const total = this.totalSteps();
244
+ if (total === 0) {
245
+ return 0;
246
+ }
247
+ return Math.min(this.presenter.activeStepIndex() + 1, total);
248
+ }, ...(ngDevMode ? [{ debugName: "currentStep" }] : /* istanbul ignore next */ []));
249
+ /**
250
+ * Completion percentage 0-100. `(active / max(total - 1, 1)) * 100`
251
+ * so the final step renders the bar full.
252
+ */
253
+ completedPercent = computed(() => {
254
+ const total = this.totalSteps();
255
+ if (total === 0) {
256
+ return 0;
257
+ }
258
+ const denominator = Math.max(total - 1, 1);
259
+ return Math.max(0, Math.min(100, (this.presenter.activeStepIndex() / denominator) * 100));
260
+ }, ...(ngDevMode ? [{ debugName: "completedPercent" }] : /* istanbul ignore next */ []));
261
+ captionText = computed(() => this.i18n.textStepperFormat(this.currentStep(), this.totalSteps()), ...(ngDevMode ? [{ debugName: "captionText" }] : /* istanbul ignore next */ []));
262
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
263
+ 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": "\"stepper\"", "attr.aria-label": "ariaLabel()", "attr.aria-labelledby": "ariaLabelledBy()" }, classAttribute: "cngx-progress-bar-stepper" }, exportAs: ["cngxProgressBarStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<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", styles: [".cngx-progress-bar-stepper{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, currentColor);opacity:var(--cngx-progress-bar-stepper-caption-opacity, .75)}\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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
264
+ }
265
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, decorators: [{
266
+ type: Component,
267
+ args: [{ selector: 'cngx-progress-bar-stepper', exportAs: 'cngxProgressBarStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CngxProgress, CngxStepperCount], hostDirectives: [
268
+ {
269
+ directive: CngxStepperPresenter,
270
+ inputs: ['activeStepIndex', 'linear'],
271
+ outputs: ['activeStepIndexChange'],
272
+ },
273
+ ], host: {
274
+ class: 'cngx-progress-bar-stepper',
275
+ role: 'group',
276
+ '[attr.aria-roledescription]': '"stepper"',
277
+ '[attr.aria-label]': 'ariaLabel()',
278
+ '[attr.aria-labelledby]': 'ariaLabelledBy()',
279
+ }, template: "<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", styles: [".cngx-progress-bar-stepper{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, currentColor);opacity:var(--cngx-progress-bar-stepper-caption-opacity, .75)}\n"] }]
280
+ }], 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 }] }] } });
281
+
282
+ /**
283
+ * Dot stepper variant. Mobile-first sequential-flow indicator. Renders
284
+ * one labelled `<span role="img">` per step (a name-permitting role, so
285
+ * each dot announces "Step N of M: label") inside a
286
+ * `<div role="group" aria-roledescription="Step indicator">`. The active
287
+ * dot carries `aria-current="step"` per the W3C APG step-indicator
288
+ * pattern (NOT `role="tablist"` / `role="tab"` - those are reserved
289
+ * for parallel content panels, not sequential flow).
290
+ *
291
+ * Tap-to-select is intentionally NOT wired on individual dots: under
292
+ * the APG pattern each dot is a label, not a button, and attaching
293
+ * `(click)` to `role="img"` conflates two ARIA contracts. Navigation
294
+ * is offered uniformly via three modalities owned by the host element:
295
+ * arrow / Home / End keys, the composed `CngxStepperSwipeNav` dot-row
296
+ * gesture, and the two-way `[(activeStepIndex)]` binding for
297
+ * external buttons. Consumers wanting per-dot tap-to-jump compose the
298
+ * parent `<cngx-stepper>` (whose mobile-collapse `dots` branch
299
+ * renders each dot as a `<button>`).
300
+ *
301
+ * Theming flows through new `--cngx-dot-step-*` custom properties whose
302
+ * defaults cascade through `var(--cngx-step-active-fill, ...)`, so the
303
+ * Phase A active-fill chain reaches the dot variant without duplication.
304
+ *
305
+ * @category ui/stepper
306
+ * @docsKind primary
307
+ * @wcag AA
308
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/dot-stepper.component.ts
309
+ * @since 0.1.0
310
+ * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxTextStepper
311
+ * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/mobile-carousel</example-url>
312
+ * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/icon-dots-via-code-cngxdotstepperdot-code</example-url>
313
+ */
314
+ class CngxDotStepper {
315
+ ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
316
+ ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
317
+ presenter = inject(CNGX_STEPPER_HOST);
318
+ i18n = injectStepperI18n();
319
+ config = injectStepperConfig();
320
+ /** Mobile-swipe routing surface composed via hostDirectives. */
321
+ swipeNav = inject(CngxStepperSwipeNav, { host: true });
322
+ stepNodes = this.presenter.stepsOnly;
323
+ activeIndex = computed(() => this.presenter.activeStepIndex(), ...(ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []));
324
+ dotSlot = contentChild(CngxDotStepperDot, ...(ngDevMode ? [{ debugName: "dotSlot" }] : /* istanbul ignore next */ []));
325
+ /**
326
+ * Resolved dot-body template cascade: per-instance `*cngxDotStepperDot`
327
+ * directive > `CNGX_STEPPER_CONFIG.templates.dotStepperDot` > `null`
328
+ * (built-in empty body). Pillar 1 — resolution is a `computed`, not
329
+ * manual sync.
330
+ */
331
+ resolvedDotTemplate = computed(() => this.dotSlot()?.templateRef ?? this.config.templates?.dotStepperDot ?? null, ...(ngDevMode ? [{ debugName: "resolvedDotTemplate" }] : /* istanbul ignore next */ []));
332
+ isActive(node, index) {
333
+ return index === this.activeIndex() && node.kind === 'step';
334
+ }
335
+ isCompleted(index) {
336
+ return index < this.activeIndex();
337
+ }
338
+ ariaLabelFor(node, index) {
339
+ return this.i18n.selectedStep(node.label(), index + 1, this.stepNodes().length);
340
+ }
341
+ /** Build the slot context for `*cngxDotStepperDot`. */
342
+ dotContextFor(node, index) {
343
+ return {
344
+ $implicit: index,
345
+ index,
346
+ node,
347
+ active: this.isActive(node, index),
348
+ completed: this.isCompleted(index),
349
+ };
350
+ }
351
+ handleKeyDown(event) {
352
+ // Linear mode is enforced by the presenter, not by silencing the
353
+ // keyboard. `selectNext` routes through `presenter.select()` which
354
+ // refuses jumps over incomplete steps; `selectPrevious` is the
355
+ // ungated direct back-move. `Home` is always a back-move; `End`
356
+ // routes through `select()` and is gated when intermediate steps
357
+ // are incomplete. Disabling the whole handler in linear mode
358
+ // killed back-nav too, which is the inverse of the W3C APG
359
+ // step-indicator pattern (read-back should always be reachable).
360
+ if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {
361
+ event.preventDefault();
362
+ this.presenter.selectNext();
363
+ }
364
+ else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {
365
+ event.preventDefault();
366
+ this.presenter.selectPrevious();
367
+ }
368
+ else if (event.key === 'Home') {
369
+ event.preventDefault();
370
+ this.presenter.select(0);
371
+ }
372
+ else if (event.key === 'End') {
373
+ event.preventDefault();
374
+ this.presenter.select(this.stepNodes().length - 1);
375
+ }
376
+ }
377
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
378
+ 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", "tabindex": "0" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "attr.aria-roledescription": "i18n.stepIndicatorRoleDescription", "attr.aria-label": "ariaLabel()", "attr.aria-labelledby": "ariaLabelledBy()" }, classAttribute: "cngx-dot-stepper" }, queries: [{ propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, 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: "<div\n class=\"cngx-dot-stepper__row\"\n [class.cngx-dot-stepper__row--swipeable]=\"swipeNav.swipeEnabled()\"\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 [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"node.state()\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n</div>\n", styles: ["@layer cngx.tokens{@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: var(--cngx-step-active-fill, oklch(.66 .19 50));}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent));}}.cngx-dot-stepper{display:inline-flex;align-items:center;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__row--swipeable{touch-action:pan-y}.cngx-dot-stepper__dot{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 .15s ease-out,transform .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:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
379
+ }
380
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, decorators: [{
381
+ type: Component,
382
+ args: [{ selector: 'cngx-dot-stepper', exportAs: 'cngxDotStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, CngxSwipe], hostDirectives: [
383
+ {
384
+ directive: CngxStepperPresenter,
385
+ inputs: ['activeStepIndex', 'linear'],
386
+ outputs: ['activeStepIndexChange'],
387
+ },
388
+ {
389
+ directive: CngxStepperSwipeNav,
390
+ inputs: ['mobileSwipe'],
391
+ },
392
+ ], host: {
393
+ class: 'cngx-dot-stepper',
394
+ role: 'group',
395
+ tabindex: '0',
396
+ '[attr.aria-roledescription]': 'i18n.stepIndicatorRoleDescription',
397
+ '[attr.aria-label]': 'ariaLabel()',
398
+ '[attr.aria-labelledby]': 'ariaLabelledBy()',
399
+ '(keydown)': 'handleKeyDown($event)',
400
+ }, template: "<div\n class=\"cngx-dot-stepper__row\"\n [class.cngx-dot-stepper__row--swipeable]=\"swipeNav.swipeEnabled()\"\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 [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"node.state()\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n</div>\n", styles: ["@layer cngx.tokens{@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: var(--cngx-step-active-fill, oklch(.66 .19 50));}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent));}}.cngx-dot-stepper{display:inline-flex;align-items:center;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__row--swipeable{touch-action:pan-y}.cngx-dot-stepper__dot{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 .15s ease-out,transform .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:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}\n"] }]
401
+ }], 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 }] }] } });
402
+
403
+ /**
404
+ * Text stepper variant. Smallest possible stepper: a single
405
+ * `<span aria-live="polite">` driven by the presenter. Renders
406
+ * `Step N of M` by default (sourced from
407
+ * `CngxStepperI18n.textStepperFormat`); optional `[showCurrentLabel]`
408
+ * appends the active step's label next to the count. Material consumers
409
+ * inherit surrounding text styling via CSS inheritance, no theme bridge
410
+ * required.
411
+ *
412
+ * @category ui/stepper
413
+ * @docsKind primary
414
+ * @wcag AA
415
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/text-stepper.component.ts
416
+ * @since 0.1.0
417
+ * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxDotStepper
418
+ * <example-url>http://localhost:4200/#/ui/stepper/text-stepper/inline-progress</example-url>
419
+ */
420
+ class CngxTextStepper {
421
+ /** Append the active step's label to the count text. Off by default. */
422
+ showCurrentLabel = input(false, ...(ngDevMode ? [{ debugName: "showCurrentLabel" }] : /* istanbul ignore next */ []));
423
+ presenter = inject(CNGX_STEPPER_HOST);
424
+ i18n = injectStepperI18n();
425
+ stepNodes = this.presenter.stepsOnly;
426
+ totalSteps = computed(() => this.stepNodes().length, ...(ngDevMode ? [{ debugName: "totalSteps" }] : /* istanbul ignore next */ []));
427
+ currentStep = computed(() => {
428
+ const total = this.totalSteps();
429
+ if (total === 0) {
430
+ return 0;
431
+ }
432
+ return Math.min(this.presenter.activeStepIndex() + 1, total);
433
+ }, ...(ngDevMode ? [{ debugName: "currentStep" }] : /* istanbul ignore next */ []));
434
+ stepText = computed(() => {
435
+ const base = this.i18n.textStepperFormat(this.currentStep(), this.totalSteps());
436
+ if (!this.showCurrentLabel()) {
437
+ return base;
438
+ }
439
+ const idx = this.presenter.activeStepIndex();
440
+ const node = this.stepNodes()[idx];
441
+ if (!node) {
442
+ return base;
443
+ }
444
+ return `${base}: ${node.label()}`;
445
+ }, ...(ngDevMode ? [{ debugName: "stepText" }] : /* istanbul ignore next */ []));
446
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
447
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.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: { classAttribute: "cngx-text-stepper" }, exportAs: ["cngxTextStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<span class=\"cngx-text-stepper__text\" aria-live=\"polite\">{{ stepText() }}</span>\n", styles: [".cngx-text-stepper{display:inline-flex;align-items:baseline}.cngx-text-stepper__text{font:inherit;color:inherit}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
448
+ }
449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, decorators: [{
450
+ type: Component,
451
+ args: [{ selector: 'cngx-text-stepper', exportAs: 'cngxTextStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, hostDirectives: [
452
+ {
453
+ directive: CngxStepperPresenter,
454
+ inputs: ['activeStepIndex', 'linear'],
455
+ outputs: ['activeStepIndexChange'],
456
+ },
457
+ ], host: {
458
+ class: 'cngx-text-stepper',
459
+ }, template: "<span class=\"cngx-text-stepper__text\" aria-live=\"polite\">{{ stepText() }}</span>\n", styles: [".cngx-text-stepper{display:inline-flex;align-items:baseline}.cngx-text-stepper__text{font:inherit;color:inherit}\n"] }]
460
+ }], propDecorators: { showCurrentLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentLabel", required: false }] }] } });
461
+
462
+ /**
463
+ * Navigation action-bar molecule for the stepper family. Lays out three
464
+ * regions - start (Back), center (progress hint), end (Continue / Finish)
465
+ * - and wires the {@link CNGX_STEPPER_HOST} for any nav atoms a consumer
466
+ * drops inside.
467
+ *
468
+ * Resolves its host like `CngxStepperCount`: an explicit `[host]` input
469
+ * for placement outside the stepper tree, falling back to the ambient
470
+ * host injected from an ancestor `<cngx-stepper>` / `<cngx-mat-stepper>`
471
+ * (`skipSelf`, so the footer reads the real presenter rather than its own
472
+ * re-provided proxy). It then re-provides `CNGX_STEPPER_HOST` as a live
473
+ * {@link createStepperHostProxy} over the resolved host, so child
474
+ * `[cngxStepperPrevious]` / `[cngxStepperNext]` atoms resolve it
475
+ * ambiently whether the footer is nested or used standalone with
476
+ * `[host]`. `providers` (not `viewProviders`) carries the proxy to the
477
+ * consumer-projected button content. With no host at all, the proxy's
478
+ * neutral set renders the nav buttons disabled.
479
+ *
480
+ * ```html
481
+ * <cngx-stepper #s="cngxStepper"> … </cngx-stepper>
482
+ * <cngx-stepper-footer [host]="s.presenter">
483
+ * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>
484
+ * <cngx-stepper-count cngxStepperFooterCenter />
485
+ * <button cngxStepperFooterEnd cngxStepperNext>Continue</button>
486
+ * </cngx-stepper-footer>
487
+ * ```
488
+ *
489
+ * @category ui/stepper
490
+ * @docsKind primary
491
+ * @wcag AA
492
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/footer/stepper-footer.component.ts
493
+ * @since 0.1.0
494
+ * @relatedTo CngxStepper, CngxStepperPrevious, CngxStepperNext, CngxStepperComplete, CngxStepperCount
495
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/back-continue</example-url>
496
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>
497
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>
498
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/percent-complete-center</example-url>
499
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>
500
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/complete-finish-button</example-url>
501
+ * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/async-commit-status</example-url>
502
+ */
503
+ class CngxStepperFooter {
504
+ /**
505
+ * Explicit stepper-host reference for placement *outside* the stepper
506
+ * tree (`[host]="s.presenter"`). When unset, the ambient
507
+ * {@link CNGX_STEPPER_HOST} from an ancestor stepper is used.
508
+ */
509
+ host = input(null, ...(ngDevMode ? [{ debugName: "host" }] : /* istanbul ignore next */ []));
510
+ // `skipSelf` so this never resolves the proxy this component itself
511
+ // provides - it reads the ancestor stepper's presenter.
512
+ injectedHost = inject(CNGX_STEPPER_HOST, { optional: true, skipSelf: true });
513
+ /** Resolved host: explicit input wins, else the ambient ancestor host. */
514
+ resolvedHost = computed(() => this.host() ?? this.injectedHost, ...(ngDevMode ? [{ debugName: "resolvedHost" }] : /* istanbul ignore next */ []));
515
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
516
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: CngxStepperFooter, isStandalone: true, selector: "cngx-stepper-footer", inputs: { host: { classPropertyName: "host", publicName: "host", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "cngx-stepper-footer" }, providers: [
517
+ {
518
+ provide: CNGX_STEPPER_HOST,
519
+ useFactory: (footer) => createStepperHostProxy(() => footer.resolvedHost()),
520
+ deps: [CngxStepperFooter],
521
+ },
522
+ ], exportAs: ["cngxStepperFooter"], ngImport: i0, template: `
523
+ <div class="cngx-stepper-footer__start">
524
+ <ng-content select="[cngxStepperFooterStart]" />
525
+ </div>
526
+ <div class="cngx-stepper-footer__center">
527
+ <ng-content select="[cngxStepperFooterCenter]" />
528
+ </div>
529
+ <div class="cngx-stepper-footer__end">
530
+ <ng-content select="[cngxStepperFooterEnd]" />
531
+ </div>
532
+ `, isInline: true, styles: [".cngx-stepper-footer{display:flex;align-items:center;flex-wrap:wrap;gap:var(--cngx-stepper-footer-gap, .75rem);margin-block-start:var(--cngx-stepper-footer-margin-block-start, 1rem);padding-block:var(--cngx-stepper-footer-padding-block, .75rem);padding-inline:var(--cngx-stepper-footer-padding-inline, 0);border-block-start:var(--cngx-stepper-footer-border-width, 1px) var(--cngx-stepper-footer-border-style, solid) var(--cngx-stepper-footer-border-color, var(--mat-sys-outline-variant, #e0e0e0))}.cngx-stepper-footer__start,.cngx-stepper-footer__center,.cngx-stepper-footer__end{display:flex;align-items:center;flex-wrap:wrap;gap:var(--cngx-stepper-footer-region-gap, .5rem)}.cngx-stepper-footer__start{justify-content:flex-start}.cngx-stepper-footer__center{flex:1 1 var(--cngx-stepper-footer-center-basis, auto);justify-content:center;text-align:center;color:var(--cngx-stepper-footer-center-color, var(--mat-sys-on-surface-variant, inherit))}.cngx-stepper-footer__end{margin-inline-start:auto;justify-content:flex-end}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
533
+ }
534
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooter, decorators: [{
535
+ type: Component,
536
+ args: [{ selector: 'cngx-stepper-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'cngxStepperFooter', host: { class: 'cngx-stepper-footer' }, providers: [
537
+ {
538
+ provide: CNGX_STEPPER_HOST,
539
+ useFactory: (footer) => createStepperHostProxy(() => footer.resolvedHost()),
540
+ deps: [CngxStepperFooter],
541
+ },
542
+ ], template: `
543
+ <div class="cngx-stepper-footer__start">
544
+ <ng-content select="[cngxStepperFooterStart]" />
545
+ </div>
546
+ <div class="cngx-stepper-footer__center">
547
+ <ng-content select="[cngxStepperFooterCenter]" />
548
+ </div>
549
+ <div class="cngx-stepper-footer__end">
550
+ <ng-content select="[cngxStepperFooterEnd]" />
551
+ </div>
552
+ `, styles: [".cngx-stepper-footer{display:flex;align-items:center;flex-wrap:wrap;gap:var(--cngx-stepper-footer-gap, .75rem);margin-block-start:var(--cngx-stepper-footer-margin-block-start, 1rem);padding-block:var(--cngx-stepper-footer-padding-block, .75rem);padding-inline:var(--cngx-stepper-footer-padding-inline, 0);border-block-start:var(--cngx-stepper-footer-border-width, 1px) var(--cngx-stepper-footer-border-style, solid) var(--cngx-stepper-footer-border-color, var(--mat-sys-outline-variant, #e0e0e0))}.cngx-stepper-footer__start,.cngx-stepper-footer__center,.cngx-stepper-footer__end{display:flex;align-items:center;flex-wrap:wrap;gap:var(--cngx-stepper-footer-region-gap, .5rem)}.cngx-stepper-footer__start{justify-content:flex-start}.cngx-stepper-footer__center{flex:1 1 var(--cngx-stepper-footer-center-basis, auto);justify-content:center;text-align:center;color:var(--cngx-stepper-footer-center-color, var(--mat-sys-on-surface-variant, inherit))}.cngx-stepper-footer__end{margin-inline-start:auto;justify-content:flex-end}\n"] }]
553
+ }], propDecorators: { host: [{ type: i0.Input, args: [{ isSignal: true, alias: "host", required: false }] }] } });
554
+
555
+ /**
556
+ * Marker for the footer's leading region (inline-start). Place on the
557
+ * element you want in the start slot - typically a Back control.
558
+ *
559
+ * ```html
560
+ * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>
561
+ * ```
562
+ *
563
+ * @category ui/stepper
564
+ * @since 0.1.0
565
+ * @relatedTo CngxStepperFooter, CngxStepperFooterCenter, CngxStepperFooterEnd
566
+ */
567
+ class CngxStepperFooterStart {
568
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooterStart, deps: [], target: i0.ɵɵFactoryTarget.Directive });
569
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CngxStepperFooterStart, isStandalone: true, selector: "[cngxStepperFooterStart]", host: { classAttribute: "cngx-stepper-footer__slot" }, ngImport: i0 });
570
+ }
571
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooterStart, decorators: [{
572
+ type: Directive,
573
+ args: [{
574
+ selector: '[cngxStepperFooterStart]',
575
+ standalone: true,
576
+ host: { class: 'cngx-stepper-footer__slot' },
577
+ }]
578
+ }] });
579
+ /**
580
+ * Marker for the footer's center region - a progress hint, a
581
+ * `<cngx-stepper-count>`, or a "50% complete" caption.
582
+ *
583
+ * @category ui/stepper
584
+ * @since 0.1.0
585
+ * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterEnd
586
+ */
587
+ class CngxStepperFooterCenter {
588
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooterCenter, deps: [], target: i0.ɵɵFactoryTarget.Directive });
589
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CngxStepperFooterCenter, isStandalone: true, selector: "[cngxStepperFooterCenter]", host: { classAttribute: "cngx-stepper-footer__slot" }, ngImport: i0 });
590
+ }
591
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooterCenter, decorators: [{
592
+ type: Directive,
593
+ args: [{
594
+ selector: '[cngxStepperFooterCenter]',
595
+ standalone: true,
596
+ host: { class: 'cngx-stepper-footer__slot' },
597
+ }]
598
+ }] });
599
+ /**
600
+ * Marker for the footer's trailing region (inline-end) - typically a
601
+ * Continue / Finish control, optionally preceded by a "Save draft".
602
+ *
603
+ * @category ui/stepper
604
+ * @since 0.1.0
605
+ * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterCenter
606
+ */
607
+ class CngxStepperFooterEnd {
608
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooterEnd, deps: [], target: i0.ɵɵFactoryTarget.Directive });
609
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CngxStepperFooterEnd, isStandalone: true, selector: "[cngxStepperFooterEnd]", host: { classAttribute: "cngx-stepper-footer__slot" }, ngImport: i0 });
610
+ }
611
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooterEnd, decorators: [{
612
+ type: Directive,
613
+ args: [{
614
+ selector: '[cngxStepperFooterEnd]',
615
+ standalone: true,
616
+ host: { class: 'cngx-stepper-footer__slot' },
617
+ }]
618
+ }] });
296
619
 
297
620
  /**
298
621
  * @module @cngx/ui/stepper
@@ -308,5 +631,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
308
631
  * Generated bundle index. Do not edit.
309
632
  */
310
633
 
311
- export { CngxStepper };
634
+ export { CngxDotStepper, CngxProgressBarStepper, CngxStepper, CngxStepperFooter, CngxStepperFooterCenter, CngxStepperFooterEnd, CngxStepperFooterStart, CngxTextStepper };
312
635
  //# sourceMappingURL=cngx-ui-stepper.mjs.map