@cngx/ui 0.1.0-rc.8 → 0.3.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 (108) hide show
  1. package/README.md +118 -59
  2. package/action-button/README.md +170 -53
  3. package/breadcrumb/README.md +5 -6
  4. package/collection/README.md +1 -1
  5. package/command-palette/README.md +9 -5
  6. package/data-grid-accordion/README.md +1 -1
  7. package/empty-state/README.md +2 -3
  8. package/feedback/README.md +1 -1
  9. package/fesm2022/cngx-ui-a11y.mjs +13 -23
  10. package/fesm2022/cngx-ui-a11y.mjs.map +1 -1
  11. package/fesm2022/cngx-ui-accordion.mjs +55 -60
  12. package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-action-button.mjs +220 -339
  14. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-breadcrumb.mjs +100 -80
  16. package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
  17. package/fesm2022/cngx-ui-chart-panel.mjs +18 -31
  18. package/fesm2022/cngx-ui-chart-panel.mjs.map +1 -1
  19. package/fesm2022/cngx-ui-collection.mjs +28 -34
  20. package/fesm2022/cngx-ui-collection.mjs.map +1 -1
  21. package/fesm2022/cngx-ui-command-palette.mjs +29 -51
  22. package/fesm2022/cngx-ui-command-palette.mjs.map +1 -1
  23. package/fesm2022/cngx-ui-context-menu.mjs +138 -89
  24. package/fesm2022/cngx-ui-context-menu.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-data-grid-accordion.mjs +135 -77
  26. package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
  27. package/fesm2022/cngx-ui-empty-state.mjs +17 -44
  28. package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
  29. package/fesm2022/cngx-ui-feedback.mjs +648 -495
  30. package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
  31. package/fesm2022/cngx-ui-layout.mjs +17 -13
  32. package/fesm2022/cngx-ui-layout.mjs.map +1 -1
  33. package/fesm2022/cngx-ui-mat-accordion.mjs +6 -7
  34. package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
  35. package/fesm2022/cngx-ui-mat-paginator.mjs +5 -9
  36. package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -1
  37. package/fesm2022/cngx-ui-mat-stepper.mjs +6 -9
  38. package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
  39. package/fesm2022/cngx-ui-mat-tabs.mjs +315 -134
  40. package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
  41. package/fesm2022/cngx-ui-nav-rail.mjs +440 -0
  42. package/fesm2022/cngx-ui-nav-rail.mjs.map +1 -0
  43. package/fesm2022/cngx-ui-overlay.mjs +9 -10
  44. package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
  45. package/fesm2022/cngx-ui-paginator.mjs +212 -188
  46. package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
  47. package/fesm2022/cngx-ui-sidenav.mjs +872 -721
  48. package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
  49. package/fesm2022/cngx-ui-skeleton.mjs +17 -19
  50. package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
  51. package/fesm2022/cngx-ui-speak.mjs +21 -74
  52. package/fesm2022/cngx-ui-speak.mjs.map +1 -1
  53. package/fesm2022/cngx-ui-stat-card.mjs +39 -62
  54. package/fesm2022/cngx-ui-stat-card.mjs.map +1 -1
  55. package/fesm2022/cngx-ui-stepper.mjs +259 -130
  56. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  57. package/fesm2022/cngx-ui-tabs.mjs +148 -50
  58. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  59. package/fesm2022/cngx-ui-timeline.mjs +48 -32
  60. package/fesm2022/cngx-ui-timeline.mjs.map +1 -1
  61. package/fesm2022/cngx-ui-toc.mjs +59 -48
  62. package/fesm2022/cngx-ui-toc.mjs.map +1 -1
  63. package/fesm2022/cngx-ui.mjs +5 -5
  64. package/fesm2022/cngx-ui.mjs.map +1 -1
  65. package/mat-tabs/README.md +57 -19
  66. package/mat-tabs/styles/mat-tabs.css +285 -163
  67. package/nav-rail/README.md +325 -0
  68. package/package.json +37 -8
  69. package/paginator/README.md +10 -0
  70. package/schematics/collection.json +9 -0
  71. package/schematics/ng-add/index.js +9 -0
  72. package/schematics/ng-add/schema.json +96 -0
  73. package/schematics/package.json +3 -0
  74. package/sidenav/README.md +150 -55
  75. package/skeleton/README.md +1 -1
  76. package/speak/README.md +1 -2
  77. package/stepper/README.md +20 -5
  78. package/tabs/README.md +13 -0
  79. package/timeline/README.md +1 -1
  80. package/toc/README.md +1 -1
  81. package/types/cngx-ui-a11y.d.ts +20 -38
  82. package/types/cngx-ui-accordion.d.ts +46 -71
  83. package/types/cngx-ui-action-button.d.ts +113 -151
  84. package/types/cngx-ui-breadcrumb.d.ts +60 -85
  85. package/types/cngx-ui-chart-panel.d.ts +22 -40
  86. package/types/cngx-ui-collection.d.ts +30 -43
  87. package/types/cngx-ui-command-palette.d.ts +40 -64
  88. package/types/cngx-ui-context-menu.d.ts +109 -48
  89. package/types/cngx-ui-data-grid-accordion.d.ts +50 -75
  90. package/types/cngx-ui-empty-state.d.ts +18 -8
  91. package/types/cngx-ui-feedback.d.ts +275 -292
  92. package/types/cngx-ui-layout.d.ts +4 -12
  93. package/types/cngx-ui-mat-accordion.d.ts +5 -5
  94. package/types/cngx-ui-mat-paginator.d.ts +4 -10
  95. package/types/cngx-ui-mat-stepper.d.ts +5 -10
  96. package/types/cngx-ui-mat-tabs.d.ts +86 -89
  97. package/types/cngx-ui-nav-rail.d.ts +416 -0
  98. package/types/cngx-ui-overlay.d.ts +4 -13
  99. package/types/cngx-ui-paginator.d.ts +186 -161
  100. package/types/cngx-ui-sidenav.d.ts +557 -437
  101. package/types/cngx-ui-skeleton.d.ts +7 -13
  102. package/types/cngx-ui-speak.d.ts +40 -24
  103. package/types/cngx-ui-stat-card.d.ts +45 -36
  104. package/types/cngx-ui-stepper.d.ts +205 -84
  105. package/types/cngx-ui-tabs.d.ts +104 -28
  106. package/types/cngx-ui-timeline.d.ts +31 -51
  107. package/types/cngx-ui-toc.d.ts +43 -54
  108. package/types/cngx-ui.d.ts +1 -1
@@ -1,14 +1,16 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { input, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, Injector, contentChildren, contentChild, DestroyRef, computed, untracked, Directive } from '@angular/core';
3
+ import { input, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, inject, ElementRef, Injector, contentChildren, contentChild, untracked, DOCUMENT, afterEveryRender, Directive } from '@angular/core';
4
4
  import { injectDirection, resolveInlineStep } from '@cngx/core';
5
5
  import * as i2 from '@cngx/common/a11y';
6
- import { CngxLiveRegion, CngxRovingItem, CngxRovingTabindex, CngxFocusRestore } from '@cngx/common/a11y';
6
+ import { CngxLiveRegion, CngxRovingItem, CngxRovingTabindex, CngxFocusRestore, CNGX_FOCUSABLE_SELECTOR } from '@cngx/common/a11y';
7
+ import { CngxIconSvg } from '@cngx/common/display';
7
8
  import { CngxSwipe } from '@cngx/common/interactive';
8
9
  import * as i1 from '@cngx/common/stepper';
9
- import { CNGX_STEPPER_GLYPHS, CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepError, CngxStepGroupHeader, CngxStepperEmpty, createStepperTemplateBindings, createStepperDisplayMode, injectStepperCollapse, createStripDensity, STEPPER_DEFAULT_DENSITY_BREAKPOINTS, createStepperHostAttrs, CngxStepperSwipeNav, resolveStepperStatusLabel, createStepperGroupSummary, createStepperGroupNavigation, createStepperAccname, createStepperSlotContextBuilders, createStepperStateView, resolveStepperErrorSummary, createStepperAnnouncementBuilders, createStepperPanelRefs, createStepperStripKeyboardNav, CngxStepperCount, CNGX_STEP_PANEL_HOST, CngxStepperPresenter, CngxDotStepperDot, createStepperHostProxy } from '@cngx/common/stepper';
10
+ import { CNGX_STEPPER_HOST, injectStepperI18n, injectStepperConfig, CngxStep, CngxStepIndicator, CngxStepBadge, CngxStepBusySpinner, CngxStepRejection, CngxStepError, CngxStepGroupHeader, CngxStepperEmpty, CngxDotStepperDot, createStepperTemplateBindings, createStepperDisplayMode, injectStepperCollapse, CNGX_STEPPER_LANGUAGE_EN, createStepperHostAttrs, CngxStepperSwipeNav, resolveStepperStatusLabel, createStepperGroupSummary, createStepperGroupNavigation, createStepperAccname, createStepperSlotContextBuilders, createStepperStateView, resolveStepperErrorSummary, createStepperAnnouncementBuilders, createStepperPanelRefs, createStepperStripKeyboardNav, CngxStepperCount, CNGX_STEP_PANEL_HOST, CngxStepperPresenter, createStepperHostProxy } from '@cngx/common/stepper';
10
11
  import { CNGX_ORGANISM_SCROLL_SYNC_FACTORY, CNGX_DIRECTIVE_BY_ID_MAP_FACTORY } from '@cngx/common/tabs';
11
12
  import { coerceBooleanProperty, coerceSignal } from '@cngx/core/utils';
13
+ import { CNGX_ICON_BAN, CNGX_ICON_ALERT, CNGX_ICON_EXCLAMATION, CNGX_ICON_CHECK } from '@cngx/utils';
12
14
  import { CngxProgress } from '@cngx/ui/feedback';
13
15
 
14
16
  /**
@@ -34,29 +36,47 @@ class CngxStepperErrorLine {
34
36
  block = input.required(...(ngDevMode ? [{ debugName: "block" }] : /* istanbul ignore next */ []));
35
37
  /** Resolved aggregate error phrase; empty string keeps the region quiet. */
36
38
  text = input.required(...(ngDevMode ? [{ debugName: "text" }] : /* istanbul ignore next */ []));
37
- glyph = CNGX_STEPPER_GLYPHS.errorBadge;
39
+ /**
40
+ * `'refused'` when every marked step is a refused commit: the line then
41
+ * wears the refused glyph and the `data-reason="refused"` hook. Any error
42
+ * keeps the error glyph.
43
+ */
44
+ reason = input(null, ...(ngDevMode ? [{ debugName: "reason" }] : /* istanbul ignore next */ []));
45
+ icon = computed(() => this.reason() === 'refused' ? CNGX_ICON_BAN : CNGX_ICON_ALERT, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
38
46
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperErrorLine, deps: [], target: i0.ɵɵFactoryTarget.Component });
39
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepperErrorLine, isStandalone: true, selector: "span[cngxStepperErrorLine]", inputs: { block: { classPropertyName: "block", publicName: "block", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null } }, host: { attributes: { "role": "status" }, properties: { "attr.data-state": "text() ? 'error' : null", "class": "block()" } }, ngImport: i0, template: `
47
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepperErrorLine, isStandalone: true, selector: "span[cngxStepperErrorLine]", inputs: { block: { classPropertyName: "block", publicName: "block", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, reason: { classPropertyName: "reason", publicName: "reason", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "status" }, properties: { "attr.data-state": "text() ? 'error' : null", "attr.data-reason": "text() && reason() === 'refused' ? 'refused' : null", "class": "block()" } }, ngImport: i0, template: `
40
48
  @if (text()) {
41
- <span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph }}</span>
49
+ <span [class]="block() + '-glyph'" aria-hidden="true"
50
+ ><svg [cngxIconSvg]="icon()"></svg
51
+ ></span>
42
52
  <span [class]="block() + '-text'">{{ text() }}</span>
43
53
  }
44
- `, isInline: true, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
54
+ `, isInline: true, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[cngxStepperErrorLine] .cngx-icon-svg{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 2}\n"], dependencies: [{ kind: "component", type: CngxIconSvg, selector: "svg[cngxIconSvg]", inputs: ["cngxIconSvg"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
45
55
  }
46
56
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperErrorLine, decorators: [{
47
57
  type: Component,
48
- args: [{ selector: 'span[cngxStepperErrorLine]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: `
58
+ args: [{ selector: 'span[cngxStepperErrorLine]', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CngxIconSvg], template: `
49
59
  @if (text()) {
50
- <span [class]="block() + '-glyph'" aria-hidden="true">{{ glyph }}</span>
60
+ <span [class]="block() + '-glyph'" aria-hidden="true"
61
+ ><svg [cngxIconSvg]="icon()"></svg
62
+ ></span>
51
63
  <span [class]="block() + '-text'">{{ text() }}</span>
52
64
  }
53
65
  `, host: {
54
66
  role: 'status',
55
67
  '[attr.data-state]': "text() ? 'error' : null",
68
+ '[attr.data-reason]': "text() && reason() === 'refused' ? 'refused' : null",
56
69
  '[class]': 'block()',
57
- }, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n"] }]
58
- }], propDecorators: { block: [{ type: i0.Input, args: [{ isSignal: true, alias: "block", required: true }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }] } });
70
+ }, styles: ["[cngxStepperErrorLine]:not([data-state=error]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[cngxStepperErrorLine] .cngx-icon-svg{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 2}\n"] }]
71
+ }], propDecorators: { block: [{ type: i0.Input, args: [{ isSignal: true, alias: "block", required: true }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], reason: [{ type: i0.Input, args: [{ isSignal: true, alias: "reason", required: false }] }] } });
59
72
 
73
+ /** Icon data the stepper's default templates draw. */
74
+ const STEPPER_ICONS = {
75
+ alert: CNGX_ICON_ALERT,
76
+ ban: CNGX_ICON_BAN,
77
+ check: CNGX_ICON_CHECK,
78
+ exclamation: CNGX_ICON_EXCLAMATION,
79
+ };
60
80
  /**
61
81
  * Stepper organism. Composes `CngxStepperPresenter` with
62
82
  * `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;
@@ -64,11 +84,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
64
84
  * `commitMode` to the presenter. Material twin lives in
65
85
  * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.
66
86
  *
67
- * @category ui/stepper
68
- * @docsKind primary
69
87
  * @wcag AA
70
88
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/stepper.component.ts
71
- * @since 0.1.0
89
+ * @since 0.3.0
72
90
  * @relatedTo CngxStepperPresenter, CngxStep, CngxRovingTabindex, CngxFocusRestore, CngxLiveRegion
73
91
  * @slot cngxStepIndicator Replaces the per-step number or check glyph in the header.
74
92
  * @slot cngxStepBadge Extra marker beside a step label, e.g. an optional or count badge.
@@ -77,30 +95,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
77
95
  * @slot cngxStepRejection Renders the reason a rolled-back step was refused.
78
96
  * @slot cngxStepGroupHeader Replaces the header a step group renders above its steps.
79
97
  * @slot cngxStepperEmpty Renders when no step is projected at all.
98
+ * @slot cngxDotStepperDot Replaces the body of each dot in the dots mobile-collapse branch.
80
99
  * @playground Material theme coverage across all skins ./examples/material-theme-coverage/skins-coverage.component.ts
81
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>
82
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>
83
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>
84
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>
85
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal</example-url>
86
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>
87
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron</example-url>
88
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment</example-url>
89
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips</example-url>
90
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/breadcrumb</example-url>
91
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>
92
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>
93
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>
94
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>
95
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>
96
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>
97
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips-vertical</example-url>
98
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/flat-steps-auto-density</example-url>
99
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/density-across-skins</example-url>
100
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-density/distance-weighted-collapse</example-url>
100
+ * <example-url>/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>
101
+ * <example-url>/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>
102
+ * <example-url>/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>
103
+ * <example-url>/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>
104
+ * <example-url>/#/ui/stepper/stepper-skins/linear-minimal</example-url>
105
+ * <example-url>/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>
106
+ * <example-url>/#/ui/stepper/stepper-skins/path-chevron</example-url>
107
+ * <example-url>/#/ui/stepper/stepper-skins/pill-segment</example-url>
108
+ * <example-url>/#/ui/stepper/stepper-skins/chips</example-url>
109
+ * <example-url>/#/ui/stepper/stepper-skins/breadcrumb</example-url>
110
+ * <example-url>/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>
111
+ * <example-url>/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>
112
+ * <example-url>/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>
113
+ * <example-url>/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>
114
+ * <example-url>/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>
115
+ * <example-url>/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>
116
+ * <example-url>/#/ui/stepper/stepper-skins/chips-vertical</example-url>
117
+ * <example-url>/#/ui/stepper/stepper-density/flat-steps-auto-density</example-url>
118
+ * <example-url>/#/ui/stepper/stepper-density/density-across-skins</example-url>
119
+ * <example-url>/#/ui/stepper/stepper-density/distance-weighted-collapse</example-url>
120
+ * @axis level organism
101
121
  */
102
122
  class CngxStepper {
123
+ /**
124
+ * Accessible name of the stepper host, bound as `[aria-label]`. Resolution order: this input,
125
+ * then the `stepperLabel` string of the stepper i18n bundle. Ignored while a non-empty
126
+ * `[aria-labelledby]` is set.
127
+ */
103
128
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
129
+ /**
130
+ * Id reference list naming the stepper host, bound as `[aria-labelledby]`. A non-empty value
131
+ * is written to the host and suppresses the `aria-label` cascade, so the host carries no
132
+ * `aria-label` at all.
133
+ */
104
134
  ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
105
135
  /** Per-instance skin override; flips `[data-skin]`, structure/ARIA unchanged. */
106
136
  skin = input(undefined, ...(ngDevMode ? [{ debugName: "skin" }] : /* istanbul ignore next */ []));
@@ -120,6 +150,12 @@ class CngxStepper {
120
150
  * that sits next to the dot row.
121
151
  */
122
152
  showStepCount = input(false, ...(ngDevMode ? [{ debugName: "showStepCount" }] : /* istanbul ignore next */ []));
153
+ /**
154
+ * Places the mobile-collapse indicator (the dots row or the step text) above or below the
155
+ * panels, as `'top'` or `'bottom'`. Resolution order: this input, then `mobileIndicatorPosition`
156
+ * from the stepper config, then `'top'`. The result is written to `data-mobile-indicator-position`,
157
+ * and `'bottom'` reorders the host through CSS; the classic strip layout has no indicator to move.
158
+ */
123
159
  mobileIndicatorPosition = input(undefined, ...(ngDevMode ? [{ debugName: "mobileIndicatorPosition" }] : /* istanbul ignore next */ []));
124
160
  /** Stepper-host contract; exposed so external `<cngx-stepper-count>` / bridge consumers can `[host]="s.presenter"` via `#s="cngxStepper"`. */
125
161
  presenter = inject(CNGX_STEPPER_HOST);
@@ -135,8 +171,9 @@ class CngxStepper {
135
171
  errorSlot = contentChild(CngxStepError, ...(ngDevMode ? [{ debugName: "errorSlot" }] : /* istanbul ignore next */ []));
136
172
  groupHeaderSlot = contentChild(CngxStepGroupHeader, ...(ngDevMode ? [{ debugName: "groupHeaderSlot" }] : /* istanbul ignore next */ []));
137
173
  emptySlot = contentChild(CngxStepperEmpty, ...(ngDevMode ? [{ debugName: "emptySlot" }] : /* istanbul ignore next */ []));
138
- /** Default-template glyph source - read by `#defaultBadge` / `#defaultRejection` outlets. */
139
- glyphs = CNGX_STEPPER_GLYPHS;
174
+ dotSlot = contentChild(CngxDotStepperDot, ...(ngDevMode ? [{ debugName: "dotSlot" }] : /* istanbul ignore next */ []));
175
+ /** Default-template icons: badge, rejection, done checks and mobile-dot marks. */
176
+ icons = STEPPER_ICONS;
140
177
  /**
141
178
  * Template cascade (indicator/badge/busySpinner/rejection/stepError/
142
179
  * groupHeader/empty). Resolution: per-instance slot directive →
@@ -150,23 +187,10 @@ class CngxStepper {
150
187
  errorSlot: this.errorSlot,
151
188
  groupHeaderSlot: this.groupHeaderSlot,
152
189
  emptySlot: this.emptySlot,
190
+ dotSlot: this.dotSlot,
153
191
  config: this.config,
154
192
  });
155
193
  displayMode = createStepperDisplayMode(injectStepperCollapse(this.hostElement), () => this.config.mobileCollapse);
156
- /**
157
- * Space-driven density rung for the classic strip, measured off the
158
- * host element's own width via {@link createStripDensity}. `'full'`
159
- * under the `'comfortable'` default. Drives `[data-strip-density]` (the
160
- * strip-overflow rung, distinct from the global `[data-density]` spacing
161
- * swap so strip degradation never re-scales component spacing).
162
- */
163
- stripDensity = createStripDensity({
164
- element: this.hostElement,
165
- stepCount: () => this.presenter.stepCount(),
166
- density: () => this.config.density,
167
- breakpoints: () => this.config.densityBreakpoints ?? STEPPER_DEFAULT_DENSITY_BREAKPOINTS,
168
- destroyRef: inject(DestroyRef),
169
- });
170
194
  /**
171
195
  * `true` when `density: 'auto'` is active. Drives `[data-density-auto]`,
172
196
  * which makes the strip absorb a too-narrow container by shrinking +
@@ -184,8 +208,11 @@ class CngxStepper {
184
208
  });
185
209
  }
186
210
  fallbackLabels = coerceSignal(this.config.fallbackLabels);
187
- /** Stepper landmark role-description with config + i18n cascade. */
188
- stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? this.i18n().stepperLabel, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
211
+ /**
212
+ * Stepper landmark role-description: config `fallbackLabels`, then the
213
+ * library default. Never the stepper name, which is the accessible name.
214
+ */
215
+ stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? CNGX_STEPPER_LANGUAGE_EN.stepRoleDescription, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
189
216
  /** Resolved skin / connectors / mobile-indicator host attrs (Level-2 cascade helper). */
190
217
  hostAttrs = createStepperHostAttrs({
191
218
  skin: this.skin,
@@ -225,15 +252,18 @@ class CngxStepper {
225
252
  })), { ...(ngDevMode ? { debugName: "stepErrorEntries" } : /* istanbul ignore next */ {}), equal: (a, b) => a.length === b.length && a.every((e, i) => e.id === b[i].id && e.message === b[i].message) });
226
253
  /** Mobile-swipe navigation host directive (Level-2 composition). */
227
254
  swipeNav = inject(CngxStepperSwipeNav, { host: true });
228
- statusLabelFor = (node) => resolveStepperStatusLabel(node, this.i18n(), this.slotContext.isActive(node));
229
- /** Mobile-dot `data-state`: unified error (rejection + aggregator) over the raw status. */
255
+ statusLabelFor = (node) => resolveStepperStatusLabel(node, this.i18n(), this.slotContext.isActive(node), this.stateView.rejectionReason(node));
256
+ /** Mobile-dot `data-state`: the error marker (rejection + aggregator) over the raw status. */
230
257
  mobileDotState(node) {
231
- return this.stateView.hasError(node) ? 'error' : node.state();
258
+ return this.stateView.hasErrorMarker(node) ? 'error' : node.state();
232
259
  }
233
- /** Mobile-dot `aria-label`, appending the errored status when the dot has an error. */
260
+ /**
261
+ * Mobile-dot `aria-label`, appending the errored status when the dot has
262
+ * an error, or the refused status when its step change was refused.
263
+ */
234
264
  mobileDotAriaLabel(node, index) {
235
265
  const base = this.i18n().selectedStep(node.label(), index + 1, this.stepsOnly().length);
236
- return this.stateView.hasError(node) ? withErroredStatus(base, this.i18n()) : base;
266
+ return withMarkerStatus(this.stateView, node, this.i18n(), base);
237
267
  }
238
268
  groupRoleDescription = computed(() => this.fallbackLabels()?.groupRoleDescription ?? this.i18n().groupRoleDescription, ...(ngDevMode ? [{ debugName: "groupRoleDescription" }] : /* istanbul ignore next */ []));
239
269
  /**
@@ -283,11 +313,10 @@ class CngxStepper {
283
313
  isCollapsed: (node) => this.isGroupCollapsed(node),
284
314
  navigationEnabled: () => this.resolvedHeaderNavigation() !== 'none',
285
315
  });
286
- /** Shared accname cascade (input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`). */
316
+ /** Shared accname cascade (input → `i18n.stepperLabel`). */
287
317
  resolvedAriaLabel = createStepperAccname({
288
318
  ariaLabel: this.ariaLabel,
289
319
  ariaLabelledBy: this.ariaLabelledBy,
290
- config: this.config,
291
320
  i18n: this.i18n,
292
321
  });
293
322
  // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on
@@ -371,9 +400,9 @@ class CngxStepper {
371
400
  return;
372
401
  }
373
402
  // No-op when the header is not reachable - disabled, linear-blocked,
374
- // or a commit is in flight. The reachability gate (which now includes
375
- // `busy()`) is the single source, so a mid-commit click cannot
376
- // supersede the pending transition.
403
+ // or a commit or the finish run is in flight. The reachability gate
404
+ // (`busy()` included) is the single source, so a mid-commit click
405
+ // cannot supersede the pending transition.
377
406
  if (node.kind !== 'step' || !this.isHeaderReachable(node)) {
378
407
  return;
379
408
  }
@@ -382,7 +411,8 @@ class CngxStepper {
382
411
  /**
383
412
  * `true` when the step header at `node` may be navigated to right now:
384
413
  * structurally reachable (`canNavigateTo` - not disabled, not
385
- * linear-blocked) AND not while a commit is in flight (`busy()`). The
414
+ * linear-blocked) AND not while a commit or the finish run is in flight
415
+ * (`busy()`). The
386
416
  * busy gate mirrors the footer nav atoms, which disable on
387
417
  * `!canGo* || busy()` - so the strip and the footer lock together
388
418
  * during an async transition instead of letting a header click
@@ -429,14 +459,24 @@ class CngxStepper {
429
459
  this.presenter.clearLastFailed();
430
460
  }
431
461
  // CngxStepPanelHost contract - O(1) via the pre-built map.
462
+ /**
463
+ * Returns the `*cngxStepLabel` template of the step with the given id, or `null` when no step has
464
+ * that id or the step supplies none. Implements `CngxStepPanelHost.labelTemplateFor`; the stepper
465
+ * template calls it per header and renders the default label text on `null`.
466
+ */
432
467
  labelTemplateFor(id) {
433
468
  return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;
434
469
  }
470
+ /**
471
+ * Returns the `*cngxStepContent` template of the step with the given id, or `null` when no step
472
+ * has that id or the step supplies none. Implements `CngxStepPanelHost.contentTemplateFor`; the
473
+ * stepper template calls it per panel and renders no body on `null`.
474
+ */
435
475
  contentTemplateFor(id) {
436
476
  return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;
437
477
  }
438
478
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
439
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepper, isStandalone: true, selector: "cngx-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null }, connectors: { classPropertyName: "connectors", publicName: "connectors", isSignal: true, isRequired: false, transformFunction: null }, headerNavigation: { classPropertyName: "headerNavigation", publicName: "headerNavigation", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null }, mobileIndicatorPosition: { classPropertyName: "mobileIndicatorPosition", publicName: "mobileIndicatorPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleStripKeyDown($event)" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.data-strip-density": "stripDensity()", "attr.data-density-auto": "isDensityAuto() ? '' : null", "attr.data-skin": "hostAttrs.resolvedSkin()", "attr.data-connectors": "hostAttrs.resolvedConnectors() ? 'true' : null", "attr.data-mobile-indicator-position": "hostAttrs.resolvedMobileIndicatorPosition()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" }, classAttribute: "cngx-stepper" }, providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], queries: [{ propertyName: "stepDirectives", predicate: CngxStep, descendants: true, isSignal: true }, { propertyName: "indicatorSlot", first: true, predicate: CngxStepIndicator, descendants: true, isSignal: true }, { propertyName: "badgeSlot", first: true, predicate: CngxStepBadge, descendants: true, isSignal: true }, { propertyName: "busySpinnerSlot", first: true, predicate: CngxStepBusySpinner, descendants: true, isSignal: true }, { propertyName: "rejectionSlot", first: true, predicate: CngxStepRejection, descendants: true, isSignal: true }, { propertyName: "errorSlot", first: true, predicate: CngxStepError, descendants: true, isSignal: true }, { propertyName: "groupHeaderSlot", first: true, predicate: CngxStepGroupHeader, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear", "orientation", "orientation", "commitAction", "commitAction", "commitMode", "commitMode"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i2.CngxRovingTabindex, inputs: ["orientation", "orientation"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }, { directive: i2.CngxFocusRestore }], ngImport: i0, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n ></span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n }\n </div>\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxLiveRegion, selector: "[cngxLiveRegion]", inputs: ["politeness", "atomic", "relevant"], exportAs: ["cngxLiveRegion"] }, { kind: "directive", type: CngxRovingItem, selector: "[cngxRovingItem]", inputs: ["cngxRovingItemDisabled"], exportAs: ["cngxRovingItem"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
479
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxStepper, isStandalone: true, selector: "cngx-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null }, connectors: { classPropertyName: "connectors", publicName: "connectors", isSignal: true, isRequired: false, transformFunction: null }, headerNavigation: { classPropertyName: "headerNavigation", publicName: "headerNavigation", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null }, mobileIndicatorPosition: { classPropertyName: "mobileIndicatorPosition", publicName: "mobileIndicatorPosition", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleStripKeyDown($event)" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-orientation": "presenter.orientation()", "attr.data-orientation": "presenter.orientation()", "attr.data-density-auto": "isDensityAuto() ? '' : null", "attr.data-skin": "hostAttrs.resolvedSkin()", "attr.data-connectors": "hostAttrs.resolvedConnectors() ? 'true' : null", "attr.data-mobile-indicator-position": "hostAttrs.resolvedMobileIndicatorPosition()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-busy": "isCommitting() ? \"true\" : null", "class.cngx-stepper": "true" }, classAttribute: "cngx-stepper" }, providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }], queries: [{ propertyName: "stepDirectives", predicate: CngxStep, descendants: true, isSignal: true }, { propertyName: "indicatorSlot", first: true, predicate: CngxStepIndicator, descendants: true, isSignal: true }, { propertyName: "badgeSlot", first: true, predicate: CngxStepBadge, descendants: true, isSignal: true }, { propertyName: "busySpinnerSlot", first: true, predicate: CngxStepBusySpinner, descendants: true, isSignal: true }, { propertyName: "rejectionSlot", first: true, predicate: CngxStepRejection, descendants: true, isSignal: true }, { propertyName: "errorSlot", first: true, predicate: CngxStepError, descendants: true, isSignal: true }, { propertyName: "groupHeaderSlot", first: true, predicate: CngxStepGroupHeader, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }, { propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }], exportAs: ["cngxStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear", "orientation", "orientation", "commitAction", "commitAction", "commitMode", "commitMode"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i2.CngxRovingTabindex, inputs: ["orientation", "orientation"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }, { directive: i2.CngxFocusRestore }], ngImport: i0, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / label / badge / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n </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 @if (node.state() === 'success') {\n <span class=\"cngx-stepper__done-icon\" aria-hidden=\"true\"\n ><svg [cngxIconSvg]=\"icons.check\"></svg\n ></span>\n }\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 class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position let-status=\"status\">\n @if (status === 'success') {\n <svg class=\"cngx-stepper__indicator-check\" [cngxIconSvg]=\"icons.check\"></svg>\n }\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge><svg [cngxIconSvg]=\"icons.alert\"></svg></ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\"\n ><svg [cngxIconSvg]=\"reason === 'refused' ? icons.ban : icons.alert\"></svg\n></ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false;}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: true;}@property --cngx-step-error-badge-color{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-tint{syntax: \"<percentage>\"; inherits: true; initial-value: 18%;}@property --cngx-step-rejection-radius{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}:root{--cngx-stepper-group-chip-font-size: .8125em}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;flex:0 0 auto;color:var( --cngx-step-error-badge-color, var(--cngx-step-errored-color, oklch(.46 .18 25)) )}.cngx-stepper__step--rejected{--_cngx-step-rejection-color: var(--cngx-step-errored-color, oklch(.46 .18 25));background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius:var(--cngx-step-rejection-radius, .5rem)}.cngx-stepper__step--rejected[data-reason=refused]{--_cngx-step-rejection-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;flex:0 0 auto;color:var(--cngx-step-errored-color, oklch(.46 .18 25))}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__badge>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-badge-size, 1rem);--cngx-icon-svg-stroke-width: 2}.cngx-stepper__rejection-icon>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-rejection-icon-size, 1rem);--cngx-icon-svg-stroke-width: 2}.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)}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))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-dot-step-target-min{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}:root{--cngx-step-indicator-font-size: .85em}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.46 .18 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}:where(.cngx-stepper){--cngx-step-completed-color: var(--cngx-color-success);--cngx-step-errored-color: var(--cngx-color-danger-text)}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator-check{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 3;display:block}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__done-icon{display:none;flex:none}.cngx-stepper__done-icon>.cngx-icon-svg{--cngx-icon-svg-size: 1rem;--cngx-icon-svg-stroke-width: 2.5;display:block}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color);box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color)}.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, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0));box-shadow:none}.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, var(--cngx-color-primary, oklch(.66 .19 50))) ) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color);overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true;}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true;}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=chips]){--cngx-step-chips-color-completed: var(--cngx-color-success-text, oklch(.46 .15 145));--cngx-step-chips-bg-completed: color-mix( in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent )}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=breadcrumb]){--cngx-step-breadcrumb-check-color: var(--cngx-color-success-text, oklch(.46 .15 145))}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );border-color:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) )}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);border-color:var(--cngx-step-completed-color)}.cngx-stepper__indicator-check{display:none}.cngx-stepper__indicator[data-state=error],.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color);border-color:var(--cngx-step-errored-color);box-shadow:none}.cngx-stepper__step--rejected{background:transparent;border-radius:0;box-shadow:inset 0 -2px 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}.cngx-stepper__step--rejected{box-shadow:inset 2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step--rejected:dir(rtl){box-shadow:inset -2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__step:focus-visible{outline:0}.cngx-stepper__step:focus-visible .cngx-stepper__indicator{outline:var( --cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)) );outline-offset:var(--cngx-step-focus-offset, 3px)}.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:has(.cngx-stepper__rejection-icon) .cngx-stepper__indicator-glyph{visibility:hidden}.cngx-stepper__step--rejected .cngx-stepper__label,.cngx-stepper__rejection-icon{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{background:transparent}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected .cngx-stepper__indicator-glyph{visibility:visible}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var( --cngx-step-connector-pending-color, var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) ) )}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-refused-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var( --cngx-step-status-pill-bg-in-progress, var(--cngx-color-primary, oklch(.66 .19 50)) );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))}.cngx-stepper__step--rejected[data-reason=failed] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__badge,.cngx-stepper__rejection-icon{display:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chevron-tile-active, var(--cngx-color-primary, oklch(.66 .19 50)) );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__badge,.cngx-stepper__rejection-icon{order:-1}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius: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:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color)}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chips-bg-completed);color:var(--cngx-step-chips-color-completed)}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;order:-1}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) ) );color:var( --cngx-step-chips-color-errored, var(--cngx-color-on-danger-strong, oklch(1 0 0)) )}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;color:var(--cngx-step-breadcrumb-check-color)}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color) );font-weight:600}.cngx-stepper__step--rejected{background:transparent;border-radius:0}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color);--cngx-dot-step-active-fill: var( --cngx-step-active-fill, 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{--_cngx-dot-step-pad: max( ( max( var(--cngx-target-min, 0px), var(--cngx-dot-step-target-min, 24px) - var(--cngx-dot-step-gap, .5rem) ) - var(--cngx-dot-step-size, .625rem) ) / 2, 0px );--_cngx-dot-step-slot: calc(var(--cngx-dot-step-size, .625rem) + 2 * var(--_cngx-dot-step-pad));display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-grid;place-items:center;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out;margin-inline:var(--_cngx-dot-step-pad);margin-block:max((var(--cngx-target-min, 0px) - var(--cngx-dot-step-size, .625rem)) / 2,0px)}.cngx-stepper__mobile-dot>span{display:grid;place-items:center}.cngx-stepper__mobile-dot:before{content:\"\";position:absolute;left:50%;top:50%;width:var(--_cngx-dot-step-slot);height:max(var(--_cngx-dot-step-slot),var(--cngx-target-min, 0px));translate:-50% -50%}.cngx-stepper__mobile-dot--active:before{scale:.8}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color))}.cngx-stepper__mobile-dot--active{background:var( --cngx-dot-step-active-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );transform:scale(1.25)}.cngx-stepper__mobile-dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-stepper__mobile-dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot-body{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.cngx-stepper__mobile-dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:absolute;inset:0;display:block;margin:auto;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color)}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color)}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color)}.cngx-stepper__group-summary--status[data-state=pending]{background:var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) )}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{color:CanvasText}.cngx-stepper .cngx-stepper__step--rejected:not(:focus-visible){outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active .cngx-stepper__mobile-dot-glyph{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxLiveRegion, selector: "[cngxLiveRegion]", inputs: ["politeness", "atomic", "relevant"], exportAs: ["cngxLiveRegion"] }, { kind: "directive", type: CngxRovingItem, selector: "[cngxRovingItem]", inputs: ["cngxRovingItemDisabled"], exportAs: ["cngxRovingItem"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxIconSvg, selector: "svg[cngxIconSvg]", inputs: ["cngxIconSvg"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
440
480
  }
441
481
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepper, decorators: [{
442
482
  type: Component,
@@ -445,6 +485,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
445
485
  CngxLiveRegion,
446
486
  CngxRovingItem,
447
487
  CngxStepperCount,
488
+ CngxIconSvg,
448
489
  CngxStepperErrorLine,
449
490
  CngxSwipe,
450
491
  ], encapsulation: ViewEncapsulation.None, hostDirectives: [
@@ -471,7 +512,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
471
512
  '[attr.aria-roledescription]': 'stepperRoleDescription()',
472
513
  '[attr.aria-orientation]': 'presenter.orientation()',
473
514
  '[attr.data-orientation]': 'presenter.orientation()',
474
- '[attr.data-strip-density]': 'stripDensity()',
475
515
  '[attr.data-density-auto]': "isDensityAuto() ? '' : null",
476
516
  '[attr.data-skin]': 'hostAttrs.resolvedSkin()',
477
517
  '[attr.data-connectors]': "hostAttrs.resolvedConnectors() ? 'true' : null",
@@ -481,11 +521,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
481
521
  '[attr.aria-busy]': 'isCommitting() ? "true" : null',
482
522
  '[class.cngx-stepper]': 'true',
483
523
  '(keydown)': 'handleStripKeyDown($event)',
484
- }, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n ></span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasError(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n }\n </div>\n <span cngxStepperErrorLine block=\"cngx-stepper__mobile-error\" [text]=\"mobileErrorSummary()\"></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / badge / label / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false; initial-value: 2px solid oklch(.66 .19 50);}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-error-badge-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.45 .15 25);}@property --cngx-step-error-badge-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-badge-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-badge-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-rejection-outline-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-step-rejection-outline-color{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-outline-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-step-rejection-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-step-rejection-icon-bg{syntax: \"<color>\"; inherits: false; initial-value: oklch(.62 .15 60);}@property --cngx-step-rejection-icon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-rejection-icon-font-size{syntax: \"*\"; inherits: false; initial-value: .75em;}@property --cngx-step-rejection-icon-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 700;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}@property --cngx-stepper-group-chip-font-size{syntax: \"*\"; inherits: true; initial-value: .8125em;}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid currentColor);outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-badge-size, 1.25rem);height:var(--cngx-step-badge-size, 1.25rem);border-radius:50%;background:var(--cngx-step-error-badge-color, oklch(.45 .15 25));color:var(--cngx-step-error-badge-text-color, oklch(1 0 0));font-size:var(--cngx-step-badge-font-size, .75em);font-weight:var(--cngx-step-badge-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__step--rejected{outline:var(--cngx-step-rejection-outline-width, 1px) solid var(--cngx-step-rejection-outline-color, oklch(.62 .15 60));outline-offset:var(--cngx-step-rejection-outline-offset, 2px);background:var(--cngx-step-rejection-bg, transparent)}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-rejection-icon-size, 1.25rem);height:var(--cngx-step-rejection-icon-size, 1.25rem);border-radius:50%;background:var(--cngx-step-rejection-icon-bg, oklch(.62 .15 60));color:var(--cngx-step-rejection-icon-color, oklch(1 0 0));font-size:var(--cngx-step-rejection-icon-font-size, .75em);font-weight:var(--cngx-step-rejection-icon-font-weight, 700);flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}cngx-stepper[data-orientation=horizontal] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=horizontal] .cngx-stepper__group-header[data-step-depth=\"1\"]{margin-inline-start:var(--cngx-step-group-indent, 1.5rem)}cngx-stepper[data-orientation=vertical] .cngx-stepper__strip{flex-direction:column;flex-wrap:nowrap;overflow-x:hidden;overflow-y:auto}cngx-stepper[data-orientation=vertical]{display:grid;grid-template-columns:minmax(8rem,max-content) 1fr;gap:var(--cngx-step-gap, .5rem);align-items:start}cngx-stepper[data-orientation=vertical] .cngx-stepper__step[data-step-depth=\"1\"],cngx-stepper[data-orientation=vertical] .cngx-stepper__group-header[data-step-depth=\"1\"]{padding-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-group-indent, 1.5rem))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-indicator-font-size{syntax: \"*\"; inherits: false; initial-value: .85em;}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-active-fill{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__badge{position:absolute;top:-8px;inset-inline-end:-8px;margin-inline-start:0}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator[data-state=success]:has(.cngx-stepper__indicator-glyph):before{content:\"\\2713\";font-weight:700}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator[data-state=disabled]{background:var( --cngx-step-indicator-disabled-bg, color-mix(in srgb, currentColor 5%, transparent) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-active-color, var(--cngx-step-active-fill));color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{background:var( --cngx-step-pending-color, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor));border-color:var(--cngx-step-linear-dot-fill, var(--cngx-step-active-fill, currentColor))}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)));border-color:var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) )}.cngx-stepper__indicator[data-state=success]:before{content:none}.cngx-stepper__indicator[data-state=error]{width:auto;height:auto;background:transparent;border:0}.cngx-stepper__indicator[data-state=error] .cngx-stepper__badge{position:static;margin-inline-start:0}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__label{white-space:normal}.cngx-stepper__busy-spinner{display:none}.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{color:var(--cngx-step-indicator-active-color, oklch(1 0 0));animation:cngx-step-connectors-pending-pulse 1.2s ease-in-out infinite}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator{animation:none}}.cngx-stepper__rejection-icon{position:absolute;top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);left:50%;transform:translate(-50%,-50%);margin:0;z-index:2}.cngx-stepper__step--rejected{outline:none}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__rejection-icon{background:var(--cngx-step-connector-errored-color)}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{outline:none}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var(--cngx-step-connector-pending-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(.75rem + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-in-progress);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-done);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-chevron-tile-active);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chevron-tile-completed);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var(--cngx-step-chevron-tile-errored);color:var(--cngx-step-chevron-tile-color, oklch(1 0 0))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chevron-error-glyph, \"!\") / \"\";margin-inline-end:.4rem;font-weight:700}.cngx-stepper__indicator{display:none}.cngx-stepper__indicator[data-state=success]{display:inline-flex;background:transparent;width:auto;height:auto;padding:0;border:0}}@scope(.cngx-stepper[data-skin=path-chevron][data-orientation=vertical]){.cngx-stepper__strip{gap:0}.cngx-stepper__step{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)));padding-block:calc(var(--cngx-step-chevron-vertical-notch, .55rem) + .5rem);min-height:var(--cngx-step-chevron-vertical-min-height, 3.25rem)}.cngx-stepper__step+.cngx-stepper__step{margin-block-start:calc(-1 * var(--cngx-step-chevron-vertical-notch, .55rem) + var(--cngx-step-chevron-vertical-divider, .25rem))}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3;text-align:center}.cngx-stepper__step .cngx-stepper__indicator{display:none}.cngx-stepper__step:first-child{clip-path:polygon(0 0,100% 0,100% calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)),50% 100%,0 calc(100% - var(--cngx-step-chevron-vertical-notch, .55rem)))}.cngx-stepper__step:last-child{clip-path:polygon(0 0,50% var(--cngx-step-chevron-vertical-notch, .55rem),100% 0,100% 100%,0 100%)}}@scope(.cngx-stepper[data-skin=pill-segment]){.cngx-stepper__strip{gap:.25rem;padding:.25rem;border-radius:var(--cngx-step-pill-radius, 999px);background:var(--cngx-step-pill-segment-rail-bg);border:0}.cngx-stepper__step{flex:1 1 0;justify-content:center;gap:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var(--cngx-step-active-color, var(--cngx-step-active-fill)) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var( --cngx-step-chips-bg-completed, color-mix(in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent) );color:var(--cngx-step-chips-color-completed, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:before{content:\"\\2713\" / \"\";margin-inline-end:.3rem;font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );color:var(--cngx-step-chips-color-errored, var(--cngx-color-on-danger, oklch(1 0 0)))}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:before{content:var(--cngx-step-chips-error-glyph, \"!\") / \"\";margin-inline-end:.3rem;font-weight:700}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]) .cngx-stepper__label:after{content:\"\\2713\" / \"\";margin-inline-start:.3rem;color:var( --cngx-step-breadcrumb-check-color, var(--cngx-color-success, oklch(.5 .15 145)) );font-weight:600}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) );font-weight:600}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]) .cngx-stepper__label:after{content:var(--cngx-step-breadcrumb-error-glyph, \"!\") / \"\";margin-inline-start:.3rem;font-weight:700;color:var( --cngx-step-breadcrumb-error-glyph-color, var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25))) )}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color, currentColor);--cngx-dot-step-active-fill: var(--cngx-step-active-fill, currentColor)}}.cngx-stepper__mobile-text{display:inline-block;font:inherit;color:inherit}.cngx-stepper[data-mobile-indicator-position=bottom]{display:flex;flex-direction:column}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-dots,.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__mobile-text--caption{order:2}.cngx-stepper[data-mobile-indicator-position=bottom] .cngx-stepper__panels{order:1}.cngx-stepper__mobile-dots{display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color, currentColor))}.cngx-stepper__mobile-dot--active{background:var(--cngx-dot-step-active-fill, var(--cngx-step-active-fill, currentColor));transform:scale(1.25)}.cngx-stepper__mobile-dot[data-state=error]{background:var(--cngx-step-errored-color, currentColor)}.cngx-stepper__mobile-dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-step-mobile-error-glyph-size, 1.1em);height:var(--cngx-step-mobile-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-step-mobile-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color, var(--cngx-color-success, oklch(.55 .13 150)))}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.55 .18 25)))}.cngx-stepper__group-summary--status[data-state=pending]{background:var(--cngx-step-pending-color, var(--cngx-step-active-color, currentColor))}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge{forced-color-adjust:none;background:CanvasText;color:Canvas}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active:after{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"] }]
485
- }], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], skin: [{ type: i0.Input, args: [{ isSignal: true, alias: "skin", required: false }] }], connectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectors", required: false }] }], headerNavigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerNavigation", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], mobileIndicatorPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileIndicatorPosition", required: false }] }], stepDirectives: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CngxStep), { ...{ descendants: true }, isSignal: true }] }], indicatorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepIndicator), { isSignal: true }] }], badgeSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBadge), { isSignal: true }] }], busySpinnerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBusySpinner), { isSignal: true }] }], rejectionSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepRejection), { isSignal: true }] }], errorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepError), { isSignal: true }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
486
- /** @internal `"<base>: Errored"`, joined through the `stepWithDetail` message. */
487
- function withErroredStatus(base, i18n) {
488
- return i18n.stepWithDetail(base, i18n.statusLabels.errored);
524
+ }, template: "@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else if (displayMode() === 'dots') {\n <!--\n In 'none' mode the dots are inert list-item indicators (footer-only\n navigation); otherwise they are roving-tabindex buttons. The dot body\n is decoration: the shell's aria-label names the step, so the projected\n template renders inside an aria-hidden wrapper.\n -->\n <div\n class=\"cngx-stepper__mobile-dots\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : null\"\n >\n @for (node of stepsOnly(); track node.id; let i = $index) {\n @if (resolvedHeaderNavigation() === 'none') {\n <span\n role=\"listitem\"\n class=\"cngx-stepper__mobile-dot cngx-stepper__mobile-dot--static\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [class.cngx-stepper__mobile-dot--error]=\"stateView.hasErrorMarker(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-label]=\"mobileDotAriaLabel(node, i)\"\n [attr.data-state]=\"mobileDotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n @if (templates.dot(); as dotTpl) {\n <span class=\"cngx-stepper__mobile-dot-body\" aria-hidden=\"true\">\n <ng-container *ngTemplateOutlet=\"dotTpl; context: slotContext.dotContextFor(node)\" />\n </span>\n }\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-stepper__mobile-dot-glyph\"\n [cngxIconSvg]=\"\n stateView.rejectionReason(node) === 'refused' ? icons.ban : icons.exclamation\n \"\n ></svg>\n }\n </button>\n }\n }\n </div>\n <span\n cngxStepperErrorLine\n block=\"cngx-stepper__mobile-error\"\n [text]=\"mobileErrorSummary()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n ></span>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n} @else {\n <!--\n In 'none' mode the inert headers are list items, so the strip is a\n semantic list; otherwise it is a presentational container of\n roving-tabindex buttons.\n -->\n <div\n class=\"cngx-stepper__strip\"\n [attr.role]=\"resolvedHeaderNavigation() === 'none' ? 'list' : 'presentation'\"\n >\n @for (node of visibleStripNodes(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [class.cngx-stepper__group-header--collapsed]=\"isGroupCollapsed(node)\"\n [class.cngx-stepper__group-header--active]=\"groupNavigation.isActive(node)\"\n [class.cngx-stepper__group-header--navigable]=\"groupNavigation.isNavigable(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n (click)=\"groupNavigation.select(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n @if (groupSummary.text(node); as summary) {\n <span class=\"cngx-stepper__group-summary\" [attr.data-state]=\"node.state()\" aria-hidden=\"true\">{{ summary }}</span>\n } @else if (groupSummary.showStatus(node)) {\n <span\n class=\"cngx-stepper__group-summary cngx-stepper__group-summary--status\"\n [attr.data-state]=\"node.state()\"\n aria-hidden=\"true\"\n ></span>\n }\n @if (groupSummary.srText(node); as srSummary) {\n <span class=\"cngx-sr-only\">{{ srSummary }}</span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else if (resolvedHeaderNavigation() === 'none') {\n <!--\n Inert label header (headerNavigation 'none'): pure step\n indicator, no <button>, no cngxRovingItem, no (click), no\n tabindex. Footer is the sole navigation control. aria-current\n + status retained (Pillar 2).\n -->\n <span\n class=\"cngx-stepper__step cngx-stepper__step--static\"\n role=\"listitem\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </span>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n [style.--cngx-step-distance]=\"isDensityAuto() ? stepDistanceOf(node) : null\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"headerAriaDisabled(node)\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"announcement.describedBy(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <ng-container *ngTemplateOutlet=\"stepHeaderInner; context: { $implicit: node }\"></ng-container>\n </button>\n }\n }\n </div>\n\n <!--\n Error messages live on their own row BELOW the strip, not inline in a\n step. A free-text message inside a horizontal/column strip item widens\n the shrink-to-fit step and tears the row; below the strip it has full\n width and wraps. Only steps with a real reason ([error] string or an\n aggregator label) appear - the bare 'errored' state is already carried\n by the indicator + badge, so it adds no text-only noise here.\n -->\n @if (stepErrorEntries().length) {\n <div class=\"cngx-stepper__error-summary\">\n @for (entry of stepErrorEntries(); track entry.id) {\n <p class=\"cngx-stepper__error-summary-item\" data-state=\"error\">\n @if (templates.stepError(); as tpl) {\n <ng-container *ngTemplateOutlet=\"tpl; context: entry.context\"></ng-container>\n } @else {\n <span class=\"cngx-stepper__error-summary-step\">{{ entry.label }}</span>\n <span class=\"cngx-stepper__error-summary-text\">{{ entry.message }}</span>\n }\n </p>\n }\n </div>\n }\n\n <ng-container *ngTemplateOutlet=\"stepPanels\"></ng-container>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<!--\n Shared panel block for all three display modes (Pillar 3 - one\n source instead of three drifting copies). Mode differences are\n derived, not duplicated: panelLabelledBy/panelAriaLabel/\n panelDescribedBy resolve the naming per mode (text has no header\n element, classic only renders headers the group-collapse policy\n exposes, dots always renders one per step); the collapsed branches\n additionally mount the descriptor span inside the panel because the\n classic descriptor spans live inside the strip headers. Swipe is\n composed once and disabled in classic - the directive is inert\n with [enabled]=false.\n-->\n<ng-template #stepPanels>\n <div\n class=\"cngx-stepper__panels\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"displayMode() !== 'classic' && swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"panelRefs.labelledBy(node)\"\n [attr.aria-label]=\"panelRefs.ariaLabel(node)\"\n [attr.aria-describedby]=\"panelRefs.describedBy(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @if (displayMode() !== 'classic') {\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n }\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n</ng-template>\n\n<!--\n Shared strip-header body. Rendered identically by the focusable\n <button> ('visited') and the inert <span> ('none') branches so the\n indicator / label / badge / status / rejection / busy markup has a\n single source (Pillar 3). ngTemplateOutlet projects inline - no\n wrapper element is added, so the 'visited' DOM is unchanged.\n-->\n<ng-template #stepHeaderInner let-node>\n <span class=\"cngx-stepper__indicator\" aria-hidden=\"true\" [attr.data-state]=\"node.state()\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n </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 @if (node.state() === 'success') {\n <span class=\"cngx-stepper__done-icon\" aria-hidden=\"true\"\n ><svg [cngxIconSvg]=\"icons.check\"></svg\n ></span>\n }\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 class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span\n class=\"cngx-stepper__rejection-icon\"\n aria-hidden=\"true\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"announcement.descriptorId(node)\">{{ announcement.headerStatusPhrase(node) }}</span>\n</ng-template>\n\n<ng-template #defaultIndicator let-position let-status=\"status\">\n @if (status === 'success') {\n <svg class=\"cngx-stepper__indicator-check\" [cngxIconSvg]=\"icons.check\"></svg>\n }\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge><svg [cngxIconSvg]=\"icons.alert\"></svg></ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection let-reason=\"reason\"\n ><svg [cngxIconSvg]=\"reason === 'refused' ? icons.ban : icons.alert\"></svg\n></ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n", styles: ["@layer cngx.tokens{@property --cngx-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-strip-padding{syntax: \"*\"; inherits: true; initial-value: .5rem 0;}@property --cngx-step-padding{syntax: \"*\"; inherits: true; initial-value: .5rem .75rem;}@property --cngx-step-padding-inline{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-step-padding-compact{syntax: \"*\"; inherits: true; initial-value: .375rem .5rem;}@property --cngx-step-focus-ring{syntax: \"*\"; inherits: false;}@property --cngx-step-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-step-indicator-size{syntax: \"*\"; inherits: true; initial-value: 1.75rem;}@property --cngx-step-group-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-group-indent{syntax: \"*\"; inherits: false; initial-value: .5rem;}@property --cngx-step-badge-size{syntax: \"*\"; inherits: true;}@property --cngx-step-error-badge-color{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-icon-size{syntax: \"*\"; inherits: true;}@property --cngx-step-rejection-tint{syntax: \"<percentage>\"; inherits: true; initial-value: 18%;}@property --cngx-step-rejection-radius{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-distance{syntax: \"<number>\"; inherits: false; initial-value: 0;}@property --cngx-step-shrink-weight{syntax: \"<number>\"; inherits: false; initial-value: 20;}@property --cngx-step-collapsed-min{syntax: \"*\"; inherits: false; initial-value: 3.25rem;}@property --cngx-step-collapsed-label-min{syntax: \"*\"; inherits: false; initial-value: 2ch;}@property --cngx-step-active-label-min{syntax: \"*\"; inherits: false; initial-value: 4rem;}@property --cngx-step-active-label-max{syntax: \"*\"; inherits: false; initial-value: 60cqi;}@property --cngx-stepper-group-chip-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-stepper-group-chip-border-width{syntax: \"<length>\"; inherits: true; initial-value: 1px;}@property --cngx-stepper-group-chip-radius{syntax: \"<length>\"; inherits: true; initial-value: 999px;}:root{--cngx-stepper-group-chip-font-size: .8125em}@property --cngx-stepper-group-chip-line-height{syntax: \"<number>\"; inherits: true; initial-value: 1.25;}}@layer cngx.components{cngx-stepper{--cngx-step-gap: var(--cngx-space-sm);--cngx-step-strip-padding: var(--cngx-space-sm) 0;--cngx-step-padding: var(--cngx-space-sm) var(--cngx-space-sm);--cngx-step-padding-inline: var(--cngx-space-sm);--cngx-step-padding-compact: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-step-status-pill-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);--cngx-step-chips-gap: var(--cngx-space-sm);--cngx-step-chips-padding-inline: var(--cngx-space-md);--cngx-step-chips-padding-block: var(--cngx-space-sm);--cngx-step-breadcrumb-gap: var(--cngx-space-sm);--cngx-step-pill-vertical-padding-block: var(--cngx-space-md);--cngx-stepper-group-chip-padding: calc(var(--cngx-space-xs) / 2) var(--cngx-space-sm);display:block;container-type:inline-size;container-name:cngx-stepper}.cngx-stepper:after{--cngx-stepper-collapse: 0}@container cngx-stepper (max-inline-size: 30rem){.cngx-stepper:after{--cngx-stepper-collapse: 1}}.cngx-stepper__strip{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-strip-padding, .5rem 0);overflow-x:auto;overflow-y:hidden}.cngx-stepper__step{display:inline-flex;align-items:center;gap:var(--cngx-step-gap, .5rem);padding:var(--cngx-step-padding, .5rem .75rem);min-block-size:var(--cngx-target-min, 0px);border:0;background:transparent;cursor:pointer;font:inherit;text-align:start;white-space:nowrap}.cngx-stepper__step[aria-disabled=true]{cursor:not-allowed;color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__step--static{cursor:default;pointer-events:none}.cngx-stepper__step:focus-visible{outline:var(--cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-step-focus-offset, 3px)}.cngx-stepper__indicator{display:inline-flex;align-items:center;justify-content:center;width:var(--cngx-step-indicator-size, 1.75rem);height:var(--cngx-step-indicator-size, 1.75rem);border-radius:50%;flex:0 0 auto}.cngx-stepper__label{flex:1 1 auto;min-width:0}cngx-stepper[data-density-auto] .cngx-stepper__step{min-width:var(--cngx-step-collapsed-min, 3.25rem);flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20))}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}cngx-stepper[data-density-auto] .cngx-stepper__step[aria-current=step] .cngx-stepper__label{min-width:var(--cngx-step-active-label-min, 4rem);max-width:var(--cngx-step-active-label-max, 60cqi)}cngx-stepper[data-density-auto] .cngx-stepper__label{max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper__panels{display:block}.cngx-stepper__panel{display:block;padding:var(--cngx-step-padding, .5rem .75rem)}@container cngx-stepper (max-inline-size: 48rem){.cngx-stepper__panel{padding:var(--cngx-step-padding-compact, .375rem .5rem)}}.cngx-stepper__panel[hidden]{display:none}.cngx-stepper__group-header{display:inline-flex;align-items:center;align-self:center;padding:var(--cngx-stepper-group-chip-padding, .125rem .5rem);border:var(--cngx-stepper-group-chip-border-width, 1px) solid var(--cngx-stepper-group-chip-border, color-mix(in srgb, currentColor 22%, transparent));border-radius:var(--cngx-stepper-group-chip-radius, 999px);background:var(--cngx-stepper-group-chip-bg, color-mix(in srgb, currentColor 6%, transparent));color:var(--cngx-stepper-group-chip-color, inherit);font-weight:var(--cngx-step-group-font-weight, 600);font-size:var(--cngx-stepper-group-chip-font-size, .8125em);line-height:var(--cngx-stepper-group-chip-line-height, 1.25)}.cngx-stepper__group-summary{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem);padding:var(--cngx-stepper-group-summary-padding, 0 .4em);min-width:var(--cngx-stepper-group-summary-size, 1.3em);height:var(--cngx-stepper-group-summary-size, 1.3em);border-radius:var(--cngx-stepper-group-summary-radius, 999px);font-size:var(--cngx-stepper-group-summary-font-size, .75em);font-weight:var(--cngx-stepper-group-summary-font-weight, 600);line-height:1;background:var( --cngx-stepper-group-summary-bg, color-mix(in srgb, currentColor 12%, transparent) );color:var(--cngx-stepper-group-summary-color, inherit)}.cngx-stepper__group-summary--status{min-width:0;width:var(--cngx-stepper-group-summary-dot-size, .6em);height:var(--cngx-stepper-group-summary-dot-size, .6em);padding:0;background:var(--cngx-stepper-group-summary-dot-color, currentColor)}.cngx-stepper__badge{display:inline-flex;align-items:center;flex:0 0 auto;color:var( --cngx-step-error-badge-color, var(--cngx-step-errored-color, oklch(.46 .18 25)) )}.cngx-stepper__step--rejected{--_cngx-step-rejection-color: var(--cngx-step-errored-color, oklch(.46 .18 25));background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius:var(--cngx-step-rejection-radius, .5rem)}.cngx-stepper__step--rejected[data-reason=refused]{--_cngx-step-rejection-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__status-pill{display:none}.cngx-stepper__rejection-icon{display:inline-flex;align-items:center;flex:0 0 auto;color:var(--cngx-step-errored-color, oklch(.46 .18 25))}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__badge>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-badge-size, 1rem);--cngx-icon-svg-stroke-width: 2}.cngx-stepper__rejection-icon>.cngx-icon-svg{--cngx-icon-svg-size: var(--cngx-step-rejection-icon-size, 1rem);--cngx-icon-svg-stroke-width: 2}.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)}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))}@media(prefers-reduced-motion:reduce){.cngx-stepper__step,.cngx-stepper__indicator{transition:none!important}}}\n", "@layer cngx.tokens{@property --cngx-dot-step-target-min{syntax: \"<length>\"; inherits: true; initial-value: 24px;}@property --cngx-step-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-step-bg{syntax: \"<color>\"; inherits: false; initial-value: transparent;}@property --cngx-step-indicator-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 10%,transparent);}@property --cngx-step-indicator-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}:root{--cngx-step-indicator-font-size: .85em}@property --cngx-step-indicator-font-weight{syntax: \"<number>\"; inherits: false; initial-value: 600;}@property --cngx-step-indicator-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-indicator-disabled-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 5%,transparent);}@property --cngx-step-completed-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-errored-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.46 .18 25);}@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-step-active-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-hover-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-busy-spinner-size{syntax: \"*\"; inherits: false; initial-value: .875rem;}@property --cngx-step-busy-spinner-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-border{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 22%,transparent);}@property --cngx-stepper-group-chip-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-stepper-group-chip-color{syntax: \"*\"; inherits: true; initial-value: currentColor;}@property --cngx-stepper-group-chip-active-border{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-bg{syntax: \"*\"; inherits: true;}@property --cngx-stepper-group-chip-active-color{syntax: \"*\"; inherits: true;}:where(.cngx-stepper){--cngx-step-completed-color: var(--cngx-color-success);--cngx-step-errored-color: var(--cngx-color-danger-text)}}@layer cngx.components{@scope(.cngx-stepper){:scope{color:var(--cngx-step-color, currentColor);background:var(--cngx-step-bg, transparent)}.cngx-stepper__indicator{position:relative;background:var(--cngx-step-indicator-bg, color-mix(in srgb, currentColor 10%, transparent));color:var(--cngx-step-indicator-color, currentColor);font-size:var(--cngx-step-indicator-font-size, .85em);font-weight:var(--cngx-step-indicator-font-weight, 600);transition:background-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__indicator-check{--cngx-icon-svg-size: max(.85em, var(--cngx-icon-svg-micro-floor, .75rem));--cngx-icon-svg-stroke-width: 3;display:block}.cngx-stepper__indicator[data-state=success] .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__done-icon{display:none;flex:none}.cngx-stepper__done-icon>.cngx-icon-svg{--cngx-icon-svg-size: 1rem;--cngx-icon-svg-stroke-width: 2.5;display:block}.cngx-stepper__indicator[data-state=error]{background:transparent;color:var(--cngx-step-errored-color);box-shadow:inset 0 0 0 2px var(--cngx-step-errored-color)}.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, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-step-indicator-active-color, oklch(1 0 0))}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0));box-shadow:none}.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, var(--cngx-color-primary, oklch(.66 .19 50))) ) );animation:cngx-stepper-pulse 1.2s ease-in-out infinite}.cngx-stepper__busy-spinner{display:inline-block;width:var(--cngx-step-busy-spinner-size, .875rem);height:var(--cngx-step-busy-spinner-size, .875rem);border-radius:50%;border:2px solid var(--cngx-step-busy-spinner-color, currentColor);border-top-color:transparent;animation:cngx-stepper-spin .8s linear infinite;flex:0 0 auto;margin-inline-start:var(--cngx-step-gap, .5rem)}.cngx-stepper__error-summary{display:flex;flex-direction:column;gap:var(--cngx-step-error-gap, .25rem);padding:var(--cngx-step-error-summary-padding, .25rem 0 0)}.cngx-stepper__error-summary-item{margin:0;font-size:var(--cngx-step-error-font-size, .85rem);line-height:var(--cngx-step-error-line-height, 1.4);color:var(--cngx-step-errored-color);overflow-wrap:anywhere}.cngx-stepper__error-summary-step{font-weight:var(--cngx-step-error-summary-step-weight, 600);margin-inline-end:var(--cngx-step-error-summary-step-gap, .375rem)}.cngx-stepper__busy-spinner:not(:empty){width:auto;height:auto;border:0;border-radius:0;animation:none}.cngx-stepper__step:hover:not([aria-disabled=true]){background:var(--cngx-step-hover-bg, color-mix(in srgb, currentColor 8%, transparent));cursor:pointer}@media(prefers-reduced-motion:reduce){.cngx-stepper__step[aria-busy=true] .cngx-stepper__indicator,.cngx-stepper__busy-spinner{animation:none}}}}@layer cngx.tokens{@property --cngx-step-linear-dot-fill{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-upcoming{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-status-pill-bg-in-progress{syntax: \"*\"; inherits: true;}@property --cngx-step-status-pill-bg-done{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-status-pill-bg-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-status-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-status-pill-padding{syntax: \"*\"; inherits: true; initial-value: .125rem .5rem;}@property --cngx-step-chevron-tile-active{syntax: \"*\"; inherits: true;}@property --cngx-step-chevron-tile-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 80%,transparent);}@property --cngx-step-chevron-tile-errored{syntax: \"*\"; inherits: true; initial-value: oklch(.45 .15 25);}@property --cngx-step-chevron-tile-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 12%,transparent);}@property --cngx-step-chevron-tile-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-pill-segment-rail-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 6%,transparent);}@property --cngx-step-pill-segment-fill-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-pill-segment-fill-completed{syntax: \"*\"; inherits: true; initial-value: transparent;}@property --cngx-step-pill-segment-card-shadow{syntax: \"*\"; inherits: true; initial-value: 0 1px 2px color-mix(in srgb,currentColor 12%,transparent),0 1px 1px color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-connector-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 35%,transparent);}@property --cngx-step-connector-completed-color{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-step-connector-errored-color{syntax: \"*\"; inherits: true; initial-value: oklch(.55 .18 25);}@property --cngx-step-connector-pending-color{syntax: \"*\"; inherits: true;}@property --cngx-step-connector-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-step-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-step-chips-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-chips-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 999px;}@property --cngx-step-chips-padding-inline{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-step-chips-padding-block{syntax: \"*\"; inherits: true; initial-value: .4rem;}@property --cngx-step-chips-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 8%,transparent);}@property --cngx-step-chips-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 65%,transparent);}@property --cngx-step-chips-color-active{syntax: \"*\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-step-chips-bg-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,oklch(.5 .15 145) 12%,transparent);}@property --cngx-step-chips-color-completed{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=chips]){--cngx-step-chips-color-completed: var(--cngx-color-success-text, oklch(.46 .15 145));--cngx-step-chips-bg-completed: color-mix( in srgb, var(--cngx-color-success, oklch(.5 .15 145)) 12%, transparent )}@property --cngx-step-breadcrumb-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-step-breadcrumb-radius{syntax: \"<length-percentage>\"; inherits: false; initial-value: 6px;}@property --cngx-step-breadcrumb-color{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 48%,transparent);}@property --cngx-step-breadcrumb-color-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 92%,transparent);}@property --cngx-step-breadcrumb-color-completed{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 82%,transparent);}@property --cngx-step-breadcrumb-fill-active{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 9%,transparent);}@property --cngx-step-breadcrumb-check-color{syntax: \"*\"; inherits: true; initial-value: oklch(.46 .15 145);}:where(.cngx-stepper[data-skin=breadcrumb]){--cngx-step-breadcrumb-check-color: var(--cngx-color-success-text, oklch(.46 .15 145))}}@layer cngx.skins{@scope(.cngx-stepper[data-skin=linear-minimal]){.cngx-stepper__indicator{width:.5rem;height:.5rem;border-radius:50%;background:transparent;border:1px solid color-mix(in srgb,currentColor 35%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__indicator .cngx-stepper__indicator-glyph{display:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );border-color:var( --cngx-step-linear-dot-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) )}.cngx-stepper__indicator[data-state=success]{background:var(--cngx-step-completed-color);border-color:var(--cngx-step-completed-color)}.cngx-stepper__indicator-check{display:none}.cngx-stepper__indicator[data-state=error],.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var(--cngx-step-errored-color);border-color:var(--cngx-step-errored-color);box-shadow:none}.cngx-stepper__step--rejected{background:transparent;border-radius:0;box-shadow:inset 0 -2px 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step{position:relative}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-1 * var(--cngx-step-gap, .5rem));top:50%;width:var(--cngx-step-gap, .5rem);height:0;border-top:1px dashed color-mix(in srgb,currentColor 35%,transparent);transform:translateY(-50%)}}@scope(.cngx-stepper[data-skin=linear-minimal][data-orientation=vertical]){.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-indicator-size, 1.75rem) / 2);top:calc(-1 * var(--cngx-step-gap, .5rem));width:1px;height:var(--cngx-step-gap, .5rem);border-top:0;border-inline-start:2px solid color-mix(in srgb,currentColor 35%,transparent);transform:none}.cngx-stepper__step--rejected{box-shadow:inset 2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__step--rejected:dir(rtl){box-shadow:inset -2px 0 0 var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true]){.cngx-stepper__strip{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:0}.cngx-stepper__step{position:relative;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:var(--cngx-step-gap, .5rem)}.cngx-stepper__indicator,.cngx-stepper__label{position:relative;z-index:1}.cngx-stepper__step:focus-visible{outline:0}.cngx-stepper__step:focus-visible .cngx-stepper__indicator{outline:var( --cngx-step-focus-ring, 2px solid var(--cngx-color-primary, oklch(.66 .19 50)) );outline-offset:var(--cngx-step-focus-offset, 3px)}.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:has(.cngx-stepper__rejection-icon) .cngx-stepper__indicator-glyph{visibility:hidden}.cngx-stepper__step--rejected .cngx-stepper__label,.cngx-stepper__rejection-icon{color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step--rejected[data-reason=refused] .cngx-stepper__label{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-stepper__rejection-icon[data-reason=refused]{color:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__step[data-state=success] .cngx-stepper__rejection-icon{display:none}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected{background:transparent}.cngx-stepper__step[data-state=success].cngx-stepper__step--rejected .cngx-stepper__indicator-glyph{visibility:visible}.cngx-stepper__step+.cngx-stepper__step:before{content:\"\";position:absolute;inset-inline-start:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));width:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));top:calc(.5rem + var(--cngx-step-indicator-size, 1.75rem) / 2);height:var(--cngx-step-connector-width, 2px);background-color:var(--cngx-step-connector-color);transform:translateY(-50%);z-index:0}.cngx-stepper__step[data-state=success]+.cngx-stepper__step:before{background-color:var(--cngx-step-connector-completed-color)}.cngx-stepper__step+.cngx-stepper__step[aria-busy=true]:before{background-color:var( --cngx-step-connector-pending-color, var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) ) )}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected:before{background-color:var(--cngx-step-connector-errored-color)}.cngx-stepper__step+.cngx-stepper__step.cngx-stepper__step--rejected[data-reason=refused]:before{background-color:var(--cngx-step-refused-color, oklch(.62 .15 60))}}@scope(.cngx-stepper[data-skin=classic][data-connectors=true][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch}.cngx-stepper__step{flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-start;text-align:start;min-height:calc(var(--cngx-step-indicator-size, 1.75rem) + 2 * var(--cngx-step-connector-inset, 6px) + 2rem)}.cngx-stepper__label{white-space:nowrap}.cngx-stepper__step+.cngx-stepper__step:before{inset-inline-start:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-indicator-size, 1.75rem) / 2 - var(--cngx-step-connector-width, 2px) / 2);width:var(--cngx-step-connector-width, 2px);top:calc(-50% + var(--cngx-step-indicator-size, 1.75rem) / 2 + var(--cngx-step-connector-inset, 6px));height:calc(100% - var(--cngx-step-indicator-size, 1.75rem) - 2 * var(--cngx-step-connector-inset, 6px));transform:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich]){.cngx-stepper__step{flex-direction:column;align-items:center;gap:var(--cngx-space-xs, .375rem)}.cngx-stepper__status-pill{display:inline-flex;align-items:center;padding:var(--cngx-step-status-pill-padding, .125rem .5rem);border-radius:999px;font-size:.7em;font-weight:600;letter-spacing:.02em;background:var(--cngx-step-status-pill-bg-upcoming);color:color-mix(in srgb,currentColor 80%,transparent);text-transform:none}.cngx-stepper__step[aria-current=step] .cngx-stepper__status-pill{background:var( --cngx-step-status-pill-bg-in-progress, var(--cngx-color-primary, oklch(.66 .19 50)) );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))}.cngx-stepper__step--rejected[data-reason=failed] .cngx-stepper__status-pill{background:var(--cngx-step-status-pill-bg-errored);color:var(--cngx-step-status-pill-color, oklch(1 0 0))}.cngx-stepper__badge,.cngx-stepper__rejection-icon{display:none}}@scope(.cngx-stepper[data-skin=stripe-status-rich][data-orientation=vertical]){.cngx-stepper__step{flex-direction:row;align-items:center;gap:var(--cngx-step-gap, .5rem);justify-content:flex-start}.cngx-stepper__status-pill{margin-inline-start:auto}}@scope(.cngx-stepper[data-skin=path-chevron]){.cngx-stepper__strip{gap:.125rem}.cngx-stepper__step{--cngx-step-chevron-horizontal-notch: .75rem;flex:1 1 0;clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%);padding-inline:calc(var(--cngx-step-padding-inline, .75rem) + var(--cngx-step-chevron-horizontal-notch, .75rem));justify-content:center;text-align:center;background:var( --cngx-step-chevron-tile-upcoming-bg, color-mix(in srgb, currentColor 12%, transparent) );color:color-mix(in srgb,currentColor 80%,transparent);border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:first-child{clip-path:polygon(0 0,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 0,100% 50%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 100%,0 100%)}.cngx-stepper__step:first-child:where(:dir(rtl)){clip-path:polygon(100% 0,var(--cngx-step-chevron-horizontal-notch, .75rem) 0,0 50%,var(--cngx-step-chevron-horizontal-notch, .75rem) 100%,100% 100%)}.cngx-stepper__step:last-child{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,var(--cngx-step-chevron-horizontal-notch, .75rem) 50%)}.cngx-stepper__step:last-child:where(:dir(rtl)){clip-path:polygon(100% 0,0 0,0 100%,100% 100%,calc(100% - var(--cngx-step-chevron-horizontal-notch, .75rem)) 50%)}.cngx-stepper__step:only-child{clip-path:none}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chevron-tile-active, var(--cngx-color-primary, oklch(.66 .19 50)) );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__badge,.cngx-stepper__rejection-icon{order:-1}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent);border-radius: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:var(--cngx-step-gap, .5rem);background:transparent;border-radius:9999px;color:color-mix(in srgb,currentColor 60%,transparent);transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step .cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step[aria-current=step]{background:var(--cngx-step-pill-segment-fill-active);color:var(--cngx-step-pill-segment-color-active, currentColor);box-shadow:var(--cngx-step-pill-segment-card-shadow)}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:var( --cngx-step-pill-segment-indicator-active-bg, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) );color:var( --cngx-step-pill-segment-indicator-active-color, var(--cngx-step-indicator-active-color, oklch(1 0 0)) )}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) );color:var(--cngx-color-on-danger-strong, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-pill-segment-fill-completed, transparent);color:color-mix(in srgb,currentColor 85%,transparent)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var(--cngx-step-errored-color)}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator{width:var(--cngx-step-pill-indicator-size, 1.375rem);height:var(--cngx-step-pill-indicator-size, 1.375rem);font-size:.72rem;flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-stepper__step[aria-current=step]:focus-visible{box-shadow:var(--cngx-step-pill-segment-card-shadow),inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=pill-segment][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:stretch;border-radius:16px}.cngx-stepper__step{justify-content:flex-start;align-items:center;text-align:start;border-radius:12px;padding-block:var(--cngx-step-pill-vertical-padding-block, 1.125rem);min-height:var(--cngx-step-pill-vertical-min-height, 3.75rem)}.cngx-stepper__step .cngx-stepper__label{min-width:0;overflow-wrap:anywhere;line-height:1.3}}@scope(.cngx-stepper[data-skin=chips]){.cngx-stepper__strip{gap:var(--cngx-step-chips-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap}.cngx-stepper__step{gap:var(--cngx-space-xs, .375rem);padding-inline:var(--cngx-step-chips-padding-inline, .875rem);padding-block:var(--cngx-step-chips-padding-block, .4rem);border-radius:var(--cngx-step-chips-radius, 999px);background:var(--cngx-step-chips-bg, color-mix(in srgb, currentColor 8%, transparent));color:var(--cngx-step-chips-color, color-mix(in srgb, currentColor 65%, transparent));border:0;transition:background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step[aria-current=step]{background:var( --cngx-step-chips-fill-active, var(--cngx-color-primary, oklch(.66 .19 50)) );color:var(--cngx-step-chips-color-active, oklch(1 0 0))}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){background:var(--cngx-step-chips-bg-completed);color:var(--cngx-step-chips-color-completed)}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;order:-1}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){background:var( --cngx-step-chips-bg-errored, var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) ) );color:var( --cngx-step-chips-color-errored, var(--cngx-color-on-danger-strong, oklch(1 0 0)) )}.cngx-stepper__badge{color:inherit}.cngx-stepper__step--rejected{background:color-mix(in oklab,var(--_cngx-step-rejection-color, oklch(.45 .15 25)) var(--cngx-step-rejection-tint, 18%),transparent)}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__label{flex:0 0 auto}.cngx-stepper__step:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper[data-skin=chips][data-orientation=vertical]){.cngx-stepper__strip{flex-direction:column;align-items:flex-start}.cngx-stepper__step{width:100%;justify-content:flex-start}}@scope(.cngx-stepper[data-skin=breadcrumb]){.cngx-stepper__strip{gap:var(--cngx-step-breadcrumb-gap, .5rem);padding:0;background:transparent;border:0;flex-wrap:wrap;align-items:center}.cngx-stepper__step{gap:.25rem;padding:0;background:transparent;border:0;color:var(--cngx-step-breadcrumb-color, color-mix(in srgb, currentColor 48%, transparent));transition:color var(--cngx-duration-fast, .15s) ease}.cngx-stepper__step:not(:last-child):after{content:var(--cngx-step-breadcrumb-separator, \"\\203a\") / \"\";margin-inline-start:var(--cngx-step-breadcrumb-gap, .5rem);color:color-mix(in srgb,currentColor 30%,transparent);font-weight:400}.cngx-stepper__step:not(:last-child):where(:dir(rtl)):after{content:var(--cngx-step-breadcrumb-separator-rtl, \"\\2039\") / \"\"}.cngx-stepper__step:not([aria-current=step]):has(.cngx-stepper__indicator[data-state=success]){color:var( --cngx-step-breadcrumb-color-completed, color-mix(in srgb, currentColor 82%, transparent) );cursor:pointer}.cngx-stepper__step:not([aria-current=step]) .cngx-stepper__done-icon{display:inline-flex;color:var(--cngx-step-breadcrumb-check-color)}.cngx-stepper__step[aria-current=step]{color:var( --cngx-step-breadcrumb-color-active, color-mix(in srgb, currentColor 92%, transparent) );font-weight:600}.cngx-stepper__step[aria-current=step] .cngx-stepper__label{background:var( --cngx-step-breadcrumb-fill-active, color-mix(in srgb, currentColor 9%, transparent) );padding-inline:.5rem;padding-block:.2rem;border-radius:var(--cngx-step-breadcrumb-radius, 6px)}.cngx-stepper__step:has(.cngx-stepper__indicator[data-state=error]){color:var( --cngx-step-breadcrumb-color-errored, var(--cngx-step-errored-color) );font-weight:600}.cngx-stepper__step--rejected{background:transparent;border-radius:0}.cngx-stepper__step--rejected .cngx-stepper__label{color:var(--_cngx-step-rejection-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-stepper__indicator,.cngx-stepper__status-pill{display:none}.cngx-stepper__step:focus-visible{outline:0;border-radius:var(--cngx-step-breadcrumb-radius, 6px);box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}}@scope(.cngx-stepper){.cngx-stepper__step[aria-disabled=true]{color:color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}}}@keyframes cngx-stepper-spin{to{transform:rotate(360deg)}}@keyframes cngx-stepper-pulse{0%,to{opacity:1}50%{opacity:.6}}@keyframes cngx-step-connectors-pending-pulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.cngx-stepper[data-skin=path-chevron] .cngx-stepper__step:focus-visible{outline:0!important;outline-offset:0!important;box-shadow:inset 0 0 0 2px var(--cngx-color-primary, oklch(.66 .19 50))}@layer cngx.tokens{:where(.cngx-stepper){--cngx-dot-step-completed-fill: var(--cngx-step-completed-color);--cngx-dot-step-active-fill: var( --cngx-step-active-fill, 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{--_cngx-dot-step-pad: max( ( max( var(--cngx-target-min, 0px), var(--cngx-dot-step-target-min, 24px) - var(--cngx-dot-step-gap, .5rem) ) - var(--cngx-dot-step-size, .625rem) ) / 2, 0px );--_cngx-dot-step-slot: calc(var(--cngx-dot-step-size, .625rem) + 2 * var(--_cngx-dot-step-pad));display:flex;justify-content:center;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-stepper__mobile-text--caption{display:block;text-align:center;font-size:.8125rem;color:color-mix(in srgb,currentColor 70%,transparent);margin-block-start:.5rem}.cngx-stepper__mobile-dot{position:relative;display:inline-grid;place-items:center;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);padding:0;border:0;border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));cursor:pointer;transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out;margin-inline:var(--_cngx-dot-step-pad);margin-block:max((var(--cngx-target-min, 0px) - var(--cngx-dot-step-size, .625rem)) / 2,0px)}.cngx-stepper__mobile-dot>span{display:grid;place-items:center}.cngx-stepper__mobile-dot:before{content:\"\";position:absolute;left:50%;top:50%;width:var(--_cngx-dot-step-slot);height:max(var(--_cngx-dot-step-slot),var(--cngx-target-min, 0px));translate:-50% -50%}.cngx-stepper__mobile-dot--active:before{scale:.8}.cngx-stepper__mobile-dot[aria-disabled=true]{cursor:not-allowed;background:transparent;box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cngx-color-text, oklch(.2 .01 250)) 38%,transparent)}.cngx-stepper__mobile-dot--static{cursor:default;pointer-events:none}.cngx-stepper__mobile-dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-step-completed-color))}.cngx-stepper__mobile-dot--active{background:var( --cngx-dot-step-active-fill, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) );transform:scale(1.25)}.cngx-stepper__mobile-dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-stepper__mobile-dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-stepper__mobile-dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-stepper__mobile-dot-body{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.cngx-stepper__mobile-dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:absolute;inset:0;display:block;margin:auto;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white))}.cngx-stepper__mobile-error{display:flex;width:fit-content;align-items:center;gap:var(--cngx-step-mobile-error-gap, .375rem);margin-block-start:var(--cngx-step-mobile-error-margin-top, .25rem);font-size:var(--cngx-step-mobile-error-font-size, .8125rem);color:var(--cngx-step-errored-color)}.cngx-stepper__mobile-error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-stepper__mobile-error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-stepper__mobile-dot{transition:none}}.cngx-stepper__group-header--collapsed{color:var(--cngx-color-text-muted, oklch(.5 .01 250))}.cngx-stepper__group-header--navigable{cursor:pointer}.cngx-stepper__group-header--active{border-color:var( --cngx-stepper-group-chip-active-border, var(--cngx-color-primary, oklch(.55 .18 264)) );background:var( --cngx-stepper-group-chip-active-bg, color-mix(in srgb, var(--cngx-color-primary, oklch(.55 .18 264)) 14%, transparent) );color:var(--cngx-stepper-group-chip-active-color, var(--cngx-color-text, oklch(.2 .01 250)))}@media(prefers-reduced-motion:no-preference){.cngx-stepper__group-header{transition:background-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),border-color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease),color var(--cngx-stepper-collapse-duration, var(--cngx-duration-fast, .15s)) var(--cngx-stepper-collapse-easing, ease)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-rail-bg: oklch(.24 .005 240);--cngx-step-indicator-active-color: oklch(.98 0 0);--cngx-step-pill-segment-card-shadow: 0 1px 2px color-mix(in srgb, oklch(0 0 0) 55%, transparent)}@layer cngx.tokens{:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment]{--cngx-step-pill-segment-fill-active: oklch(.4 .008 240)}}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step{color:color-mix(in srgb,oklch(1 0 0) 60%,transparent)}:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper[data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{color:#f8f8f8}}.cngx-stepper__group-summary--status[data-state=success]{background:var(--cngx-step-completed-color)}.cngx-stepper__group-summary--status[data-state=error]{background:var(--cngx-step-errored-color)}.cngx-stepper__group-summary--status[data-state=pending]{background:var( --cngx-step-pending-color, var( --cngx-step-active-color, var(--cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50))) ) )}.cngx-stepper[data-density-auto] .cngx-stepper__label{flex:1 1 auto;min-width:0}.cngx-stepper[data-density-auto] .cngx-stepper__strip{overflow-x:clip;flex-wrap:nowrap}.cngx-stepper[data-density-auto][data-skin=stripe-status-rich] .cngx-stepper__status-pill{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step{flex-grow:1;flex-basis:auto;flex-shrink:calc(1 + var(--cngx-step-distance, 0) * var(--cngx-step-shrink-weight, 20));min-width:var(--cngx-step-collapsed-min, 3.25rem)}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step[aria-current=step],.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__step[aria-current=step]{flex-shrink:.25}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=pill-segment] .cngx-stepper__label{flex:1 1 auto}.cngx-stepper[data-density-auto][data-skin=path-chevron] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label,.cngx-stepper[data-density-auto][data-skin=breadcrumb] .cngx-stepper__step:not([aria-current=step]) .cngx-stepper__label{min-width:var(--cngx-step-collapsed-label-min, 2ch)}.cngx-stepper[data-density-auto][data-skin=chips] .cngx-stepper__step{padding-inline:var(--cngx-step-chips-density-padding-inline, .45rem)}@media(prefers-reduced-motion:no-preference){.cngx-stepper[data-density-auto] .cngx-stepper__step{transition:--cngx-step-distance var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,flex-shrink var(--cngx-stepper-density-transition, var(--cngx-duration-base, .2s)) ease,background-color var(--cngx-duration-fast, .15s) ease,color var(--cngx-duration-fast, .15s) ease,box-shadow var(--cngx-duration-fast, .15s) ease}}@media(forced-colors:active){:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator{outline:1px solid CanvasText;outline-offset:-1px}:where(.cngx-stepper:not([data-skin=path-chevron],[data-skin=stripe-status-rich])) .cngx-stepper__indicator[data-state=success]:where(:has(.cngx-stepper__indicator-glyph)){forced-color-adjust:none;background:CanvasText;color:Canvas}:where(.cngx-stepper[data-skin=classic][data-connectors=true]) .cngx-stepper__step+.cngx-stepper__step:before{background-color:CanvasText}.cngx-stepper__indicator[data-state=error]{outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-current=step] .cngx-stepper__indicator{background:Highlight;color:HighlightText;forced-color-adjust:none}.cngx-stepper .cngx-stepper__badge,.cngx-stepper .cngx-stepper__rejection-icon{color:CanvasText}.cngx-stepper .cngx-stepper__step--rejected:not(:focus-visible){outline:2px solid CanvasText;outline-offset:-2px}.cngx-stepper__step[aria-disabled=true]{color:GrayText}.cngx-stepper__step[aria-disabled=true] .cngx-stepper__indicator{outline-color:GrayText}.cngx-stepper__mobile-dot{outline:1px solid CanvasText;outline-offset:-1px}.cngx-stepper__mobile-dot[aria-disabled=true]{outline-color:GrayText}.cngx-stepper__mobile-dot.cngx-stepper__mobile-dot--active{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;outline-color:Highlight}.cngx-stepper__mobile-dot--active .cngx-stepper__mobile-dot-glyph{color:var(--_cngx-forced-ink, CanvasText)}.cngx-stepper__group-header--active{outline:2px solid Highlight;outline-offset:-2px}}\n"] }]
525
+ }], ctorParameters: () => [], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], skin: [{ type: i0.Input, args: [{ isSignal: true, alias: "skin", required: false }] }], connectors: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectors", required: false }] }], headerNavigation: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerNavigation", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], mobileIndicatorPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileIndicatorPosition", required: false }] }], stepDirectives: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CngxStep), { ...{ descendants: true }, isSignal: true }] }], indicatorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepIndicator), { isSignal: true }] }], badgeSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBadge), { isSignal: true }] }], busySpinnerSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepBusySpinner), { isSignal: true }] }], rejectionSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepRejection), { isSignal: true }] }], errorSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepError), { isSignal: true }] }], groupHeaderSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepGroupHeader), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }], dotSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxDotStepperDot), { isSignal: true }] }] } });
526
+ /**
527
+ * @internal `"<base>: Errored"` for an error, `"<base>: Not allowed"` for a
528
+ * refused step change, joined through the `stepWithDetail` message; `base`
529
+ * unchanged for an unmarked step.
530
+ */
531
+ function withMarkerStatus(view, node, i18n, base) {
532
+ if (view.hasError(node)) {
533
+ return i18n.stepWithDetail(base, i18n.statusLabels.errored);
534
+ }
535
+ return view.isRefused(node) ? i18n.stepWithDetail(base, i18n.statusLabels.refused) : base;
489
536
  }
490
537
 
491
538
  /**
@@ -503,34 +550,45 @@ function withErroredStatus(base, i18n) {
503
550
  * cascades as `<cngx-stepper>`; a step-less flow renders the
504
551
  * `CNGX_STEPPER_CONFIG` empty-template cascade instead of the bar.
505
552
  *
506
- * @category ui/stepper
507
- * @docsKind primary
508
553
  * @wcag AA
509
554
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/progress-bar-stepper.component.ts
510
- * @since 0.1.0
555
+ * @since 0.3.0
511
556
  * @relatedTo CngxStepperPresenter, CngxProgress, CngxDotStepper, CngxTextStepper
512
557
  * @slot cngxStepperEmpty Renders when no step is projected at all.
513
558
  * @playground Material theme coverage across variants ./examples/material-theme-coverage/variants-coverage.component.ts
514
- * <example-url>http://localhost:4200/#/ui/stepper/progress-bar/onboarding-flow</example-url>
559
+ * <example-url>/#/ui/stepper/progress-bar/onboarding-flow</example-url>
560
+ * @axis level organism
515
561
  */
516
562
  class CngxProgressBarStepper {
563
+ /**
564
+ * Accessible name of the stepper host, bound as `[aria-label]`. Resolution order: this input,
565
+ * then the `stepperLabel` string of the stepper i18n bundle. Ignored while a non-empty
566
+ * `[aria-labelledby]` is set.
567
+ */
517
568
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
569
+ /**
570
+ * Id reference list naming the stepper host, bound as `[aria-labelledby]`. A non-empty value
571
+ * is written to the host and suppresses the `aria-label` cascade, so the host carries no
572
+ * `aria-label` at all.
573
+ */
518
574
  ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
519
575
  /** Render a `Step N of M` caption below the bar. Off by default. */
520
576
  showStepCount = input(false, ...(ngDevMode ? [{ debugName: "showStepCount" }] : /* istanbul ignore next */ []));
521
577
  presenter = inject(CNGX_STEPPER_HOST);
522
578
  i18n = injectStepperI18n();
523
579
  config = injectStepperConfig();
524
- /** Shared accname cascade (input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`). */
580
+ /** Shared accname cascade (input → `i18n.stepperLabel`). */
525
581
  resolvedAriaLabel = createStepperAccname({
526
582
  ariaLabel: this.ariaLabel,
527
583
  ariaLabelledBy: this.ariaLabelledBy,
528
- config: this.config,
529
584
  i18n: this.i18n,
530
585
  });
531
586
  fallbackLabels = coerceSignal(this.config.fallbackLabels);
532
- /** Landmark role-description with config + i18n cascade, mirroring `<cngx-stepper>`. */
533
- stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? this.i18n().stepperLabel, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
587
+ /**
588
+ * Landmark role-description mirroring `<cngx-stepper>`: config
589
+ * `fallbackLabels`, then the library default, never the stepper name.
590
+ */
591
+ stepperRoleDescription = computed(() => this.fallbackLabels()?.stepRoleDescription ?? CNGX_STEPPER_LANGUAGE_EN.stepRoleDescription, ...(ngDevMode ? [{ debugName: "stepperRoleDescription" }] : /* istanbul ignore next */ []));
534
592
  emptySlot = contentChild(CngxStepperEmpty, ...(ngDevMode ? [{ debugName: "emptySlot" }] : /* istanbul ignore next */ []));
535
593
  /**
536
594
  * Empty-state cascade mirroring `<cngx-stepper>`: per-instance
@@ -568,13 +626,14 @@ class CngxProgressBarStepper {
568
626
  }, ...(ngDevMode ? [{ debugName: "completedPercent" }] : /* istanbul ignore next */ []));
569
627
  captionText = computed(() => this.i18n().textStepperFormat(this.currentStep(), this.totalSteps()), ...(ngDevMode ? [{ debugName: "captionText" }] : /* istanbul ignore next */ []));
570
628
  /**
571
- * Aggregate error caption. A single errored step names itself
572
- * (`"Payment: Errored"`), several collapse to the i18n count phrase.
573
- * Read only when `stateView.hasAnyError()` gates the template.
629
+ * Aggregate error caption. A single marked step names itself
630
+ * (`"Payment: Errored"`, or `"Payment: Not allowed"` for a refused step
631
+ * change), several collapse to the i18n count phrase. Empty when no step
632
+ * is marked, which keeps the error line quiet.
574
633
  */
575
634
  errorText = computed(() => resolveStepperErrorSummary(this.stateView, this.presenter.stepsOnly, untracked(() => this.i18n()), (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0]), ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
576
635
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
577
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxProgressBarStepper, isStandalone: true, selector: "cngx-progress-bar-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.data-state": "stateView.hasAnyError() ? \"error\" : null", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-progress-bar-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxProgressBarStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span cngxStepperErrorLine block=\"cngx-progress-bar-stepper__error\" [text]=\"errorText()\"></span>\n", styles: [".cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);height:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-progress-bar-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}\n"], dependencies: [{ kind: "component", type: CngxProgress, selector: "cngx-progress", inputs: ["state", "progress", "variant", "showLabel", "label"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
636
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxProgressBarStepper, isStandalone: true, selector: "cngx-progress-bar-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, showStepCount: { classPropertyName: "showStepCount", publicName: "showStepCount", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, properties: { "attr.aria-roledescription": "stepperRoleDescription()", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.data-state": "stateView.hasAnyErrorMarker() ? \"error\" : null", "attr.data-reason": "stateView.refusalOnly() ? \"refused\" : null", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-progress-bar-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxProgressBarStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"], dependencies: [{ kind: "component", type: CngxProgress, selector: "cngx-progress", inputs: ["state", "progress", "variant", "showLabel", "label"] }, { kind: "component", type: CngxStepperCount, selector: "cngx-stepper-count", inputs: ["live", "format", "host"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
578
637
  }
579
638
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxProgressBarStepper, decorators: [{
580
639
  type: Component,
@@ -590,9 +649,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
590
649
  '[attr.aria-roledescription]': 'stepperRoleDescription()',
591
650
  '[attr.aria-label]': 'resolvedAriaLabel()',
592
651
  '[attr.aria-labelledby]': 'ariaLabelledBy()',
593
- '[attr.data-state]': 'stateView.hasAnyError() ? "error" : null',
652
+ '[attr.data-state]': 'stateView.hasAnyErrorMarker() ? "error" : null',
653
+ '[attr.data-reason]': 'stateView.refusalOnly() ? "refused" : null',
594
654
  '[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
595
- }, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span cngxStepperErrorLine block=\"cngx-progress-bar-stepper__error\" [text]=\"errorText()\"></span>\n", styles: [".cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);height:var(--cngx-progress-bar-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-progress-bar-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}\n"] }]
655
+ }, template: "@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <cngx-progress\n class=\"cngx-progress-bar-stepper__bar\"\n [progress]=\"completedPercent()\"\n [label]=\"captionText()\"\n ></cngx-progress>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-progress-bar-stepper__caption\" [live]=\"false\" />\n }\n}\n<!-- Outside the zero-step gate: the status region must pre-exist its content to announce. -->\n<span\n cngxStepperErrorLine\n block=\"cngx-progress-bar-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-progress-bar-stepper{--cngx-progress-bar-stepper-gap: var(--cngx-space-xs);display:flex;flex-direction:column;gap:var(--cngx-progress-bar-stepper-gap, .375rem);width:100%;--cngx-progress-color: var(--cngx-color-primary, oklch(.66 .19 50))}.cngx-progress-bar-stepper__bar{display:block;width:100%}.cngx-progress-bar-stepper__caption{font-size:var(--cngx-progress-bar-stepper-caption-font-size, .8125rem);color:var( --cngx-progress-bar-stepper-caption-color, var(--cngx-color-text-muted, oklch(.5 .01 250)) )}.cngx-progress-bar-stepper[data-state=error]{--cngx-progress-color: var( --cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)) )}.cngx-progress-bar-stepper__error{display:inline-flex;align-items:center;gap:var(--cngx-progress-bar-stepper-error-gap, .375rem);font-size:var(--cngx-progress-bar-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-progress-bar-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-progress-bar-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}.cngx-progress-bar-stepper[data-state=error][data-reason=refused]{--cngx-progress-color: var(--cngx-step-refused-color, oklch(.62 .15 60))}\n"] }]
596
656
  }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], showStepCount: [{ type: i0.Input, args: [{ isSignal: true, alias: "showStepCount", required: false }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
597
657
 
598
658
  /**
@@ -618,33 +678,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
618
678
  * defaults cascade through `var(--cngx-step-active-fill, ...)`, so the
619
679
  * Phase A active-fill chain reaches the dot variant without duplication.
620
680
  *
621
- * @category ui/stepper
622
- * @docsKind primary
623
681
  * @wcag AA
624
682
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/dot-stepper.component.ts
625
- * @since 0.1.0
683
+ * @since 0.3.0
626
684
  * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxTextStepper
627
685
  * @slot cngxDotStepperDot Replaces one dot; gets its index and active state.
628
686
  * @slot cngxStepperEmpty Renders when no step is projected at all.
629
- * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/mobile-carousel</example-url>
687
+ * <example-url>/#/ui/stepper/dot-stepper/mobile-carousel</example-url>
688
+ * @axis level organism
630
689
  */
631
690
  class CngxDotStepper {
691
+ /**
692
+ * Accessible name of the stepper host, bound as `[aria-label]`. Resolution order: this input,
693
+ * then the `stepperLabel` string of the stepper i18n bundle. Ignored while a non-empty
694
+ * `[aria-labelledby]` is set.
695
+ */
632
696
  ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: 'aria-label' });
697
+ /**
698
+ * Id reference list naming the stepper host, bound as `[aria-labelledby]`. A non-empty value
699
+ * is written to the host and suppresses the `aria-label` cascade, so the host carries no
700
+ * `aria-label` at all.
701
+ */
633
702
  ariaLabelledBy = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabelledBy" } : /* istanbul ignore next */ {}), alias: 'aria-labelledby' });
634
703
  presenter = inject(CNGX_STEPPER_HOST);
635
704
  i18n = injectStepperI18n();
636
705
  config = injectStepperConfig();
637
- /** Shared accname cascade (input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`). */
706
+ /** Shared accname cascade (input → `i18n.stepperLabel`). */
638
707
  resolvedAriaLabel = createStepperAccname({
639
708
  ariaLabel: this.ariaLabel,
640
709
  ariaLabelledBy: this.ariaLabelledBy,
641
- config: this.config,
642
710
  i18n: this.i18n,
643
711
  });
644
712
  /** Mobile-swipe routing surface composed via hostDirectives. */
645
713
  swipeNav = inject(CngxStepperSwipeNav, { host: true });
646
714
  /** Document writing direction - flips the inline next/previous arrows under `rtl` (APG). */
647
715
  direction = injectDirection();
716
+ /** Error marks drawn over an errored (alert) or refused (ban) dot. */
717
+ exclamationIcon = CNGX_ICON_EXCLAMATION;
718
+ banIcon = CNGX_ICON_BAN;
648
719
  stepNodes = this.presenter.stepsOnly;
649
720
  activeIndex = computed(() => this.presenter.activeStepIndex(), ...(ngDevMode ? [{ debugName: "activeIndex" }] : /* istanbul ignore next */ []));
650
721
  /** Shared per-step/aggregate state derivations - the single error source. */
@@ -682,19 +753,24 @@ class CngxDotStepper {
682
753
  return index < this.activeIndex();
683
754
  }
684
755
  /**
685
- * Resolved `data-state` for the dot: `'error'` whenever the unified error
686
- * view fires (covers commit rejection and the error aggregator, not just a
687
- * literal `state === 'error'`), otherwise the raw step status.
756
+ * Resolved `data-state` for the dot: `'error'` whenever the error marker
757
+ * fires (covers a commit rejection of either kind and the error
758
+ * aggregator, not just a literal `state === 'error'`), otherwise the raw
759
+ * step status.
688
760
  */
689
761
  dotState(node) {
690
- return this.stateView.hasError(node) ? 'error' : node.state();
762
+ return this.stateView.hasErrorMarker(node) ? 'error' : node.state();
691
763
  }
692
764
  ariaLabelFor(node, index) {
693
765
  const i18n = this.i18n();
694
766
  const base = i18n.selectedStep(node.label(), index + 1, this.stepNodes().length);
695
- return this.stateView.hasError(node)
696
- ? i18n.stepWithDetail(base, i18n.statusLabels.errored)
697
- : base;
767
+ if (this.stateView.hasError(node)) {
768
+ return i18n.stepWithDetail(base, i18n.statusLabels.errored);
769
+ }
770
+ if (this.stateView.isRefused(node)) {
771
+ return i18n.stepWithDetail(base, i18n.statusLabels.refused);
772
+ }
773
+ return base;
698
774
  }
699
775
  /** Build the slot context for `*cngxDotStepperDot`. */
700
776
  dotContextFor(node, index) {
@@ -738,11 +814,11 @@ class CngxDotStepper {
738
814
  }
739
815
  }
740
816
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
741
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxDotStepper, isStandalone: true, selector: "cngx-dot-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "attr.tabindex": "stepNodes().length === 0 ? null : '0'", "attr.aria-roledescription": "i18n().stepIndicatorRoleDescription", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-dot-stepper" }, queries: [{ propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxDotStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }], ngImport: i0, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n </div>\n}\n\n<span cngxStepperErrorLine block=\"cngx-dot-stepper__error\" [text]=\"errorText()\"></span>\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: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var(--cngx-step-active-fill, oklch(.66 .19 50));--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-dot-stepper-error-glyph-size, 1.1em);height:var(--cngx-dot-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-dot-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{--_cngx-forced-ink: CanvasText;forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{--_cngx-forced-ink: Canvas;background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{--_cngx-forced-ink: HighlightText;background:Highlight;box-shadow:none}.cngx-dot-stepper__dot--error:after{color:var(--_cngx-forced-ink, CanvasText)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
817
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxDotStepper, isStandalone: true, selector: "cngx-dot-stepper", inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "group" }, listeners: { "keydown": "handleKeyDown($event)" }, properties: { "attr.tabindex": "stepNodes().length === 0 ? null : '0'", "attr.aria-roledescription": "i18n().stepIndicatorRoleDescription", "attr.aria-label": "resolvedAriaLabel()", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-dot-stepper" }, queries: [{ propertyName: "dotSlot", first: true, predicate: CngxDotStepperDot, descendants: true, isSignal: true }, { propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxDotStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }, { directive: i1.CngxStepperSwipeNav, inputs: ["mobileSwipe", "mobileSwipe"] }], ngImport: i0, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <!--\n The cell stacks the error mark over the dot. The dot itself stays\n :empty without a consumer slot, which the chrome-strip rule keys off.\n -->\n <span class=\"cngx-dot-stepper__cell\">\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-dot-stepper__dot-glyph\"\n [cngxIconSvg]=\"stateView.rejectionReason(node) === 'refused' ? banIcon : exclamationIcon\"\n ></svg>\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-marked-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var( --cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50)) );--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill)}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-dot-stepper__dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__cell{display:inline-grid;place-items:center}.cngx-dot-stepper__cell>*{grid-area:1 / 1}.cngx-dot-stepper__dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:relative;display:block;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white));transition:transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--active+.cngx-dot-stepper__dot-glyph{transform:scale(1.25)}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot,.cngx-dot-stepper__dot-glyph{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{background:Highlight;box-shadow:none}.cngx-dot-stepper__dot-glyph{color:CanvasText}.cngx-dot-stepper__dot:empty+.cngx-dot-stepper__dot-glyph{forced-color-adjust:none}.cngx-dot-stepper__dot--completed:empty+.cngx-dot-stepper__dot-glyph{color:Canvas}.cngx-dot-stepper__dot--active:empty+.cngx-dot-stepper__dot-glyph{color:HighlightText}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxIconSvg, selector: "svg[cngxIconSvg]", inputs: ["cngxIconSvg"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }, { kind: "directive", type: CngxSwipe, selector: "[cngxSwipe]", inputs: ["threshold", "axis", "enabled"], outputs: ["swiped"], exportAs: ["cngxSwipe"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
742
818
  }
743
819
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxDotStepper, decorators: [{
744
820
  type: Component,
745
- args: [{ selector: 'cngx-dot-stepper', exportAs: 'cngxDotStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, CngxStepperErrorLine, CngxSwipe], hostDirectives: [
821
+ args: [{ selector: 'cngx-dot-stepper', exportAs: 'cngxDotStepper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, CngxIconSvg, CngxStepperErrorLine, CngxSwipe], hostDirectives: [
746
822
  {
747
823
  directive: CngxStepperPresenter,
748
824
  inputs: ['activeStepIndex', 'linear'],
@@ -763,7 +839,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
763
839
  '[attr.aria-labelledby]': 'ariaLabelledBy()',
764
840
  '[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
765
841
  '(keydown)': 'handleKeyDown($event)',
766
- }, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasError(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n </div>\n}\n\n<span cngxStepperErrorLine block=\"cngx-dot-stepper__error\" [text]=\"errorText()\"></span>\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: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var(--cngx-step-active-fill, oklch(.66 .19 50));--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill, var(--cngx-color-success, oklch(.5 .15 145)))}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot[data-state=error]{background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__dot--error:after{content:var(--cngx-dot-step-error-glyph, \"!\") / \"\";position:absolute;inset:0;display:grid;place-items:center;font-size:var(--cngx-dot-step-error-glyph-size, .5rem);font-weight:700;line-height:1;color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger, white))}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-dot-stepper-error-glyph-size, 1.1em);height:var(--cngx-dot-stepper-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-dot-stepper-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{--_cngx-forced-ink: CanvasText;forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{--_cngx-forced-ink: Canvas;background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{--_cngx-forced-ink: HighlightText;background:Highlight;box-shadow:none}.cngx-dot-stepper__dot--error:after{color:var(--_cngx-forced-ink, CanvasText)}}\n"] }]
842
+ }, template: "@if (stepNodes().length === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div\n class=\"cngx-dot-stepper__row\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <!--\n The cell stacks the error mark over the dot. The dot itself stays\n :empty without a consumer slot, which the chrome-strip rule keys off.\n -->\n <span class=\"cngx-dot-stepper__cell\">\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [class.cngx-dot-stepper__dot--error]=\"stateView.hasErrorMarker(node)\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"dotState(node)\"\n [attr.data-reason]=\"stateView.rejectionReason(node)\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n @if (stateView.hasErrorMarker(node)) {\n <svg\n class=\"cngx-dot-stepper__dot-glyph\"\n [cngxIconSvg]=\"stateView.rejectionReason(node) === 'refused' ? banIcon : exclamationIcon\"\n ></svg>\n }\n </span>\n }\n </div>\n}\n\n<span\n cngxStepperErrorLine\n block=\"cngx-dot-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}@property --cngx-dot-step-size{syntax: \"*\"; inherits: true; initial-value: .625rem;}@property --cngx-dot-step-marked-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-dot-step-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-dot-step-active-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-dot-step-completed-fill{syntax: \"*\"; inherits: true; initial-value: oklch(.5 .15 145);}@property --cngx-dot-step-upcoming-bg{syntax: \"*\"; inherits: true; initial-value: color-mix(in srgb,currentColor 18%,transparent);}:where(.cngx-dot-stepper){--cngx-dot-step-active-fill: var( --cngx-step-active-fill, var(--cngx-color-primary, oklch(.66 .19 50)) );--cngx-dot-step-completed-fill: var( --cngx-step-completed-color, var(--cngx-color-success, oklch(.5 .15 145)) );--cngx-dot-step-upcoming-bg: var( --cngx-step-indicator-bg, color-mix(in srgb, currentColor 18%, transparent) )}}.cngx-dot-stepper{--cngx-dot-step-gap: var(--cngx-space-sm);display:inline-flex;align-items:center;flex-wrap:wrap;justify-self:start;align-self:start;width:max-content}.cngx-dot-stepper:focus-visible{outline:2px solid var(--cngx-color-primary, oklch(.66 .19 50));outline-offset:var(--cngx-step-focus-offset, 3px);border-radius:var(--cngx-dot-step-focus-radius, .375rem)}.cngx-dot-stepper__row{display:inline-flex;align-items:center;gap:var(--cngx-dot-step-gap, .5rem)}.cngx-dot-stepper__dot{position:relative;display:inline-block;width:var(--cngx-dot-step-size, .625rem);height:var(--cngx-dot-step-size, .625rem);border-radius:50%;background:var(--cngx-dot-step-upcoming-bg, color-mix(in srgb, currentColor 18%, transparent));transition:background var(--cngx-duration-fast, .15s) ease-out,transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--completed{background:var(--cngx-dot-step-completed-fill)}.cngx-dot-stepper__dot--active{background:var(--cngx-dot-step-active-fill, oklch(.66 .19 50));transform:scale(1.25)}.cngx-dot-stepper__dot--error{width:var(--cngx-dot-step-marked-size, 1rem);height:var(--cngx-dot-step-marked-size, 1rem)}.cngx-dot-stepper__dot[data-state=error]{background:var( --cngx-color-danger-strong, oklch(from var(--cngx-color-danger, oklch(.6 .18 25)) .48 c h) )}.cngx-dot-stepper__dot[data-state=error][data-reason=refused]{background:var(--cngx-step-refused-color, oklch(.62 .15 60))}.cngx-dot-stepper__cell{display:inline-grid;place-items:center}.cngx-dot-stepper__cell>*{grid-area:1 / 1}.cngx-dot-stepper__dot-glyph{--cngx-icon-svg-size: 1em;--cngx-icon-svg-stroke-width: 3;position:relative;display:block;pointer-events:none;font-size:var(--cngx-dot-step-error-glyph-size, .75rem);color:var(--cngx-dot-step-error-glyph-color, var(--cngx-color-on-danger-strong, white));transition:transform var(--cngx-duration-fast, .15s) ease-out}.cngx-dot-stepper__dot--active+.cngx-dot-stepper__dot-glyph{transform:scale(1.25)}.cngx-dot-stepper__dot:not(:empty){width:auto;height:auto;background:transparent;border-radius:0}.cngx-dot-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-dot-stepper-error-gap, .375rem);margin-block-start:var(--cngx-dot-stepper-error-margin, .5rem);font-size:var(--cngx-dot-stepper-error-font-size, .8125rem);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-dot-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-dot-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}@media(prefers-reduced-motion:reduce){.cngx-dot-stepper__dot,.cngx-dot-stepper__dot-glyph{transition:none}}@media(forced-colors:active){.cngx-dot-stepper .cngx-dot-stepper__dot:empty{forced-color-adjust:none;background:Canvas;box-shadow:inset 0 0 0 1px CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--completed:empty{background:CanvasText}.cngx-dot-stepper .cngx-dot-stepper__dot--active:empty{background:Highlight;box-shadow:none}.cngx-dot-stepper__dot-glyph{color:CanvasText}.cngx-dot-stepper__dot:empty+.cngx-dot-stepper__dot-glyph{forced-color-adjust:none}.cngx-dot-stepper__dot--completed:empty+.cngx-dot-stepper__dot-glyph{color:Canvas}.cngx-dot-stepper__dot--active:empty+.cngx-dot-stepper__dot-glyph{color:HighlightText}}\n"] }]
767
843
  }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], dotSlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxDotStepperDot), { isSignal: true }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
768
844
 
769
845
  /**
@@ -777,14 +853,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
777
853
  * Material consumers inherit surrounding text styling via CSS
778
854
  * inheritance, no theme bridge required.
779
855
  *
780
- * @category ui/stepper
781
- * @docsKind primary
782
856
  * @wcag AA
783
857
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/text-stepper.component.ts
784
- * @since 0.1.0
858
+ * @since 0.3.0
785
859
  * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxDotStepper
786
860
  * @slot cngxStepperEmpty Renders when no step is projected at all.
787
- * <example-url>http://localhost:4200/#/ui/stepper/text-stepper/inline-progress</example-url>
861
+ * <example-url>/#/ui/stepper/text-stepper/inline-progress</example-url>
862
+ * @axis level organism
788
863
  */
789
864
  class CngxTextStepper {
790
865
  /** Append the active step's label to the count text. Off by default. */
@@ -837,14 +912,14 @@ class CngxTextStepper {
837
912
  return untracked(() => this.i18n().stepWithDetail(base, node.label()));
838
913
  }, ...(ngDevMode ? [{ debugName: "stepText" }] : /* istanbul ignore next */ []));
839
914
  /**
840
- * Aggregate error sub-line text. A single errored step names itself
841
- * (`"Payment: Errored"`), several collapse to the i18n count phrase
842
- * (`"2 errors"`). Empty when no step errored - the template gates on
843
- * `stateView.hasAnyError()`, so this is only read when non-empty.
915
+ * Aggregate error sub-line text. A single marked step names itself
916
+ * (`"Payment: Errored"`, or `"Payment: Not allowed"` for a refused step
917
+ * change), several collapse to the i18n count phrase (`"2 errors"`).
918
+ * Empty when no step is marked, which keeps the error line quiet.
844
919
  */
845
920
  errorText = computed(() => resolveStepperErrorSummary(this.stateView, this.stepNodes, untracked(() => this.i18n()), (node) => node.errorMessage?.() ?? node.errorAggregator?.()?.errorLabels?.()?.[0]), ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
846
921
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, deps: [], target: i0.ɵɵFactoryTarget.Component });
847
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxTextStepper, isStandalone: true, selector: "cngx-text-stepper", inputs: { showCurrentLabel: { classPropertyName: "showCurrentLabel", publicName: "showCurrentLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-text-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxTextStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span cngxStepperErrorLine block=\"cngx-text-stepper__error\" [text]=\"errorText()\"></span>\n", styles: [".cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-text-step-error-glyph-size, 1.1em);height:var(--cngx-text-step-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-text-step-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
922
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxTextStepper, isStandalone: true, selector: "cngx-text-stepper", inputs: { showCurrentLabel: { classPropertyName: "showCurrentLabel", publicName: "showCurrentLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.aria-invalid": "stateView.hasAnyError() ? \"true\" : null" }, classAttribute: "cngx-text-stepper" }, queries: [{ propertyName: "emptySlot", first: true, predicate: CngxStepperEmpty, descendants: true, isSignal: true }], exportAs: ["cngxTextStepper"], hostDirectives: [{ directive: i1.CngxStepperPresenter, inputs: ["activeStepIndex", "activeStepIndex", "linear", "linear"], outputs: ["activeStepIndexChange", "activeStepIndexChange"] }], ngImport: i0, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxStepperErrorLine, selector: "span[cngxStepperErrorLine]", inputs: ["block", "text", "reason"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
848
923
  }
849
924
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTextStepper, decorators: [{
850
925
  type: Component,
@@ -857,9 +932,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
857
932
  ], host: {
858
933
  class: 'cngx-text-stepper',
859
934
  '[attr.aria-invalid]': 'stateView.hasAnyError() ? "true" : null',
860
- }, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span cngxStepperErrorLine block=\"cngx-text-stepper__error\" [text]=\"errorText()\"></span>\n", styles: [".cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-grid;place-items:center;width:var(--cngx-text-step-error-glyph-size, 1.1em);height:var(--cngx-text-step-error-glyph-size, 1.1em);border-radius:50%;background:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)));color:var(--cngx-text-step-error-glyph-color, var(--cngx-color-on-danger, white));font-size:.75em;font-weight:700;line-height:1}\n"] }]
935
+ }, template: "<!--\n Count span and error line stay mounted in every state: a live region\n inserted together with its content is not reliably announced, so\n zero-step / no-error states empty the text instead of removing the\n element. Both are clipped out of flow while empty.\n-->\n<span\n class=\"cngx-text-stepper__text\"\n aria-live=\"polite\"\n [attr.data-empty]=\"stepText() ? null : ''\"\n >{{ stepText() }}</span\n>\n@if (totalSteps() === 0) {\n @let emptyTpl = resolvedEmptyTemplate();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n}\n<span\n cngxStepperErrorLine\n block=\"cngx-text-stepper__error\"\n [text]=\"errorText()\"\n [reason]=\"stateView.refusalOnly() ? 'refused' : null\"\n></span>\n", styles: ["@layer cngx.tokens{@property --cngx-step-refused-color{syntax: \"*\"; inherits: true;}@property --cngx-step-refused-text-color{syntax: \"*\"; inherits: true;}}.cngx-text-stepper{--cngx-text-step-gap: var(--cngx-space-sm);display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:var(--cngx-text-step-gap, .5rem)}.cngx-text-stepper__text{font:inherit;color:inherit;unicode-bidi:var(--cngx-text-stepper-bidi, isolate)}.cngx-text-stepper__text[data-empty]{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cngx-text-stepper__error{flex-basis:100%;display:inline-flex;align-items:center;gap:var(--cngx-text-step-error-gap, .375rem);margin-top:var(--cngx-text-step-error-margin-top, .25rem);font:inherit;font-size:var(--cngx-text-step-error-font-size, .875em);color:var(--cngx-step-errored-color, var(--cngx-color-danger, oklch(.45 .15 25)))}.cngx-text-stepper__error-glyph{flex:none;display:inline-flex;align-items:center}.cngx-text-stepper__error[data-reason=refused]{color:var(--cngx-step-refused-text-color, currentColor)}\n"] }]
861
936
  }], propDecorators: { showCurrentLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentLabel", required: false }] }], emptySlot: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxStepperEmpty), { isSignal: true }] }] } });
862
937
 
938
+ const REGIONS = '.cngx-stepper-footer__start, .cngx-stepper-footer__center, .cngx-stepper-footer__end';
863
939
  /**
864
940
  * Navigation action-bar molecule for the stepper family. \
865
941
  * Lays out three regions - **start** (Back), **center** (progress hint), **end** (Continue / Finish). \
@@ -879,6 +955,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
879
955
  * consumer-projected button content. With no host at all, the proxy's
880
956
  * neutral set renders the nav buttons disabled.
881
957
  *
958
+ * **Keeps focus in a region when its control is replaced:** \
959
+ * When the focused control of a region leaves the DOM (Continue swapped
960
+ * for Finish by an `@if`) and focus fell to `body`, the footer focuses
961
+ * the first focusable control of the same region after that render. Focus
962
+ * the user had already moved out of the footer stays where it is.
963
+ *
882
964
  * ```html
883
965
  * <cngx-stepper #s="cngxStepper"> … </cngx-stepper>
884
966
  * <cngx-stepper-footer [host]="s.presenter">
@@ -888,19 +970,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
888
970
  * </cngx-stepper-footer>
889
971
  * ```
890
972
  *
891
- * @category ui/stepper
892
- * @docsKind primary
893
973
  * @wcag AA
894
974
  * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/footer/stepper-footer.component.ts
895
- * @since 0.1.0
975
+ * @since 0.3.0
896
976
  * @relatedTo CngxStepper, CngxStepperPrevious, CngxStepperNext, CngxStepperComplete, CngxStepperCount
897
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/back-continue</example-url>
898
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>
899
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>
900
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/percent-complete-center</example-url>
901
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>
902
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/complete-finish-button</example-url>
903
- * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/async-commit-status</example-url>
977
+ * <example-url>/#/ui/stepper/stepper-footer/back-continue</example-url>
978
+ * <example-url>/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>
979
+ * <example-url>/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>
980
+ * <example-url>/#/ui/stepper/stepper-footer/percent-complete-center</example-url>
981
+ * <example-url>/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>
982
+ * <example-url>/#/ui/stepper/stepper-footer/complete-finish-button</example-url>
983
+ * <example-url>/#/ui/stepper/stepper-footer/async-commit-status</example-url>
984
+ * @axis level molecule
904
985
  */
905
986
  class CngxStepperFooter {
906
987
  /**
@@ -914,8 +995,55 @@ class CngxStepperFooter {
914
995
  injectedHost = inject(CNGX_STEPPER_HOST, { optional: true, skipSelf: true });
915
996
  /** Resolved host: explicit input wins, else the ambient ancestor host. */
916
997
  resolvedHost = computed(() => this.host() ?? this.injectedHost, ...(ngDevMode ? [{ debugName: "resolvedHost" }] : /* istanbul ignore next */ []));
998
+ hostEl = inject(ElementRef).nativeElement;
999
+ document = inject(DOCUMENT);
1000
+ // Firefox, WebKit and jsdom fire no focusout when a focused node is
1001
+ // removed, so the last focused control is tracked on focusin and checked
1002
+ // after each render instead.
1003
+ lastFocus = null;
1004
+ constructor() {
1005
+ afterEveryRender(() => this.restoreFocus());
1006
+ }
1007
+ /** @internal */
1008
+ trackFocus(event) {
1009
+ this.lastFocus = null;
1010
+ const control = event.target;
1011
+ if (!(control instanceof HTMLElement)) {
1012
+ return;
1013
+ }
1014
+ const region = control.closest(REGIONS);
1015
+ if (region?.parentElement === this.hostEl) {
1016
+ this.lastFocus = { control, region };
1017
+ }
1018
+ }
1019
+ /** @internal */
1020
+ forgetFocus(event) {
1021
+ const last = this.lastFocus;
1022
+ if (event.target !== last?.control || !last) {
1023
+ return;
1024
+ }
1025
+ // Chromium also fires focusout when the focused control is removed; the
1026
+ // render hook restores that case in the same tick, before this check. A
1027
+ // control still rendered here means the user moved focus out.
1028
+ queueMicrotask(() => {
1029
+ if (this.lastFocus === last && last.control.isConnected) {
1030
+ this.lastFocus = null;
1031
+ }
1032
+ });
1033
+ }
1034
+ restoreFocus() {
1035
+ const last = this.lastFocus;
1036
+ if (!last || last.control.isConnected) {
1037
+ return;
1038
+ }
1039
+ this.lastFocus = null;
1040
+ if (this.document.activeElement !== this.document.body) {
1041
+ return;
1042
+ }
1043
+ last.region.querySelector(CNGX_FOCUSABLE_SELECTOR)?.focus();
1044
+ }
917
1045
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
918
- 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: [
1046
+ 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: { listeners: { "focusin": "trackFocus($event)", "focusout": "forgetFocus($event)" }, classAttribute: "cngx-stepper-footer" }, providers: [
919
1047
  {
920
1048
  provide: CNGX_STEPPER_HOST,
921
1049
  useFactory: (footer) => createStepperHostProxy(() => footer.resolvedHost()),
@@ -935,7 +1063,11 @@ class CngxStepperFooter {
935
1063
  }
936
1064
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxStepperFooter, decorators: [{
937
1065
  type: Component,
938
- args: [{ selector: 'cngx-stepper-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'cngxStepperFooter', host: { class: 'cngx-stepper-footer' }, providers: [
1066
+ args: [{ selector: 'cngx-stepper-footer', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, exportAs: 'cngxStepperFooter', host: {
1067
+ class: 'cngx-stepper-footer',
1068
+ '(focusin)': 'trackFocus($event)',
1069
+ '(focusout)': 'forgetFocus($event)',
1070
+ }, providers: [
939
1071
  {
940
1072
  provide: CNGX_STEPPER_HOST,
941
1073
  useFactory: (footer) => createStepperHostProxy(() => footer.resolvedHost()),
@@ -952,7 +1084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
952
1084
  <ng-content select="[cngxStepperFooterEnd]" />
953
1085
  </div>
954
1086
  `, styles: ["@layer cngx.tokens{@property --cngx-stepper-footer-gap{syntax: \"*\"; inherits: false; initial-value: .75rem;}@property --cngx-stepper-footer-region-gap{syntax: \"*\"; inherits: true; initial-value: .5rem;}@property --cngx-stepper-footer-margin-block-start{syntax: \"*\"; inherits: false; initial-value: 1rem;}@property --cngx-stepper-footer-padding-block{syntax: \"*\"; inherits: false; initial-value: .75rem;}@property --cngx-stepper-footer-padding-inline{syntax: \"<length>\"; inherits: false; initial-value: 0;}@property --cngx-stepper-footer-border-width{syntax: \"<length>\"; inherits: false; initial-value: 1px;}@property --cngx-stepper-footer-border-style{syntax: \"*\"; inherits: false; initial-value: solid;}@property --cngx-stepper-footer-border-color{syntax: \"<color>\"; inherits: true; initial-value: #e0e0e0;}@property --cngx-stepper-footer-center-basis{syntax: \"*\"; inherits: true; initial-value: auto;}@property --cngx-stepper-footer-center-color{syntax: \"*\"; inherits: true;}}.cngx-stepper-footer{--cngx-stepper-footer-gap: var(--cngx-space-sm);--cngx-stepper-footer-region-gap: var(--cngx-space-sm);--cngx-stepper-footer-padding-block: var(--cngx-space-sm);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, #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, inherit)}.cngx-stepper-footer__end{margin-inline-start:auto;justify-content:flex-end}:where(:root[data-color-scheme=dark],:root.dark) .cngx-stepper-footer{--cngx-stepper-footer-border-color: color-mix(in srgb, oklch(1 0 0) 16%, transparent)}@media(prefers-color-scheme:dark){:where(:root:not([data-color-scheme=light]):not(.light)) .cngx-stepper-footer{--cngx-stepper-footer-border-color: color-mix(in srgb, oklch(1 0 0) 16%, transparent)}}\n"] }]
955
- }], propDecorators: { host: [{ type: i0.Input, args: [{ isSignal: true, alias: "host", required: false }] }] } });
1087
+ }], ctorParameters: () => [], propDecorators: { host: [{ type: i0.Input, args: [{ isSignal: true, alias: "host", required: false }] }] } });
956
1088
 
957
1089
  /**
958
1090
  * Marker for the footer's leading region (inline-start). Place on the
@@ -962,8 +1094,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
962
1094
  * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>
963
1095
  * ```
964
1096
  *
965
- * @category ui/stepper
966
- * @since 0.1.0
1097
+ * @since 0.3.0
967
1098
  * @relatedTo CngxStepperFooter, CngxStepperFooterCenter, CngxStepperFooterEnd
968
1099
  */
969
1100
  class CngxStepperFooterStart {
@@ -982,8 +1113,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
982
1113
  * Marker for the footer's center region - a progress hint, a
983
1114
  * `<cngx-stepper-count>`, or a "50% complete" caption.
984
1115
  *
985
- * @category ui/stepper
986
- * @since 0.1.0
1116
+ * @since 0.3.0
987
1117
  * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterEnd
988
1118
  */
989
1119
  class CngxStepperFooterCenter {
@@ -1002,8 +1132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1002
1132
  * Marker for the footer's trailing region (inline-end) - typically a
1003
1133
  * Continue / Finish control, optionally preceded by a "Save draft".
1004
1134
  *
1005
- * @category ui/stepper
1006
- * @since 0.1.0
1135
+ * @since 0.3.0
1007
1136
  * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterCenter
1008
1137
  */
1009
1138
  class CngxStepperFooterEnd {
@@ -1020,7 +1149,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1020
1149
  }] });
1021
1150
 
1022
1151
  /**
1023
- * @module @cngx/ui/stepper
1152
+ * @module `@cngx/ui/stepper`
1024
1153
  *
1025
1154
  * Level-4 organism - CNGX-standard `<cngx-stepper>` skin over the
1026
1155
  * Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.