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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +22 -48
  2. package/action-button/README.md +9 -11
  3. package/empty-state/README.md +11 -26
  4. package/feedback/README.md +3 -3
  5. package/fesm2022/cngx-ui-action-button.mjs +30 -26
  6. package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
  7. package/fesm2022/cngx-ui-empty-state.mjs +26 -21
  8. package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
  9. package/fesm2022/cngx-ui-feedback.mjs +498 -261
  10. package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
  11. package/fesm2022/cngx-ui-layout.mjs +32 -5
  12. package/fesm2022/cngx-ui-layout.mjs.map +1 -1
  13. package/fesm2022/cngx-ui-mat-stepper.mjs +79 -104
  14. package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
  15. package/fesm2022/cngx-ui-mat-tabs.mjs +111 -83
  16. package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
  17. package/fesm2022/cngx-ui-material.mjs +14 -3
  18. package/fesm2022/cngx-ui-material.mjs.map +1 -1
  19. package/fesm2022/cngx-ui-overlay.mjs +22 -3
  20. package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
  21. package/fesm2022/cngx-ui-sidenav.mjs +107 -28
  22. package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
  23. package/fesm2022/cngx-ui-skeleton.mjs +61 -20
  24. package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
  25. package/fesm2022/cngx-ui-speak.mjs +14 -5
  26. package/fesm2022/cngx-ui-speak.mjs.map +1 -1
  27. package/fesm2022/cngx-ui-stepper.mjs +484 -161
  28. package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
  29. package/fesm2022/cngx-ui-tabs.mjs +75 -39
  30. package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
  31. package/fesm2022/cngx-ui.mjs +2 -1
  32. package/fesm2022/cngx-ui.mjs.map +1 -1
  33. package/layout/README.md +9 -44
  34. package/mat-stepper/README.md +7 -10
  35. package/mat-tabs/README.md +13 -13
  36. package/mat-tabs/styles/mat-tabs.css +339 -213
  37. package/material/README.md +19 -19
  38. package/overlay/README.md +11 -11
  39. package/package.json +5 -4
  40. package/sidenav/README.md +4 -19
  41. package/skeleton/README.md +3 -17
  42. package/speak/README.md +15 -15
  43. package/stepper/README.md +139 -5
  44. package/tabs/README.md +4 -4
  45. package/theming/system-tokens.css +29 -0
  46. package/types/cngx-ui-action-button.d.ts +28 -13
  47. package/types/cngx-ui-empty-state.d.ts +21 -9
  48. package/types/cngx-ui-feedback.d.ts +437 -121
  49. package/types/cngx-ui-layout.d.ts +38 -8
  50. package/types/cngx-ui-mat-stepper.d.ts +58 -43
  51. package/types/cngx-ui-mat-tabs.d.ts +122 -72
  52. package/types/cngx-ui-material.d.ts +12 -1
  53. package/types/cngx-ui-overlay.d.ts +25 -4
  54. package/types/cngx-ui-sidenav.d.ts +106 -12
  55. package/types/cngx-ui-skeleton.d.ts +62 -8
  56. package/types/cngx-ui-speak.d.ts +10 -2
  57. package/types/cngx-ui-stepper.d.ts +280 -56
  58. package/types/cngx-ui-tabs.d.ts +38 -10
  59. package/types/cngx-ui.d.ts +1 -0
  60. package/speak/speak-button-theme.scss +0 -78
@@ -1 +1 @@
1
- {"version":3,"file":"cngx-ui-stepper.mjs","sources":["../../../projects/ui/stepper/stepper.component.ts","../../../projects/ui/stepper/stepper.component.html","../../../projects/ui/stepper/public-api.ts","../../../projects/ui/stepper/cngx-ui-stepper.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n contentChildren,\n ElementRef,\n inject,\n Injector,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxFocusRestore,\n CngxLiveRegion,\n CngxRovingItem,\n CngxRovingTabindex,\n} from '@cngx/common/a11y';\nimport {\n CNGX_STEP_PANEL_HOST,\n CngxStep,\n CngxStepBadge,\n type CngxStepBadgeContext,\n CngxStepBusySpinner,\n type CngxStepBusySpinnerContext,\n type CngxStepContentContext,\n CngxStepGroupHeader,\n type CngxStepGroupHeaderContext,\n CngxStepIndicator,\n type CngxStepIndicatorContext,\n type CngxStepLabelContext,\n CngxStepperEmpty,\n CngxStepperPresenter,\n CngxStepRejection,\n type CngxStepRejectionContext,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n createStepperTemplateBindings,\n flatStepsEqual,\n injectStepperConfig,\n injectStepperI18n,\n type CngxStepNode,\n type CngxStepPanelHost,\n} from '@cngx/common/stepper';\nimport {\n CNGX_DIRECTIVE_BY_ID_MAP_FACTORY,\n CNGX_ORGANISM_SCROLL_SYNC_FACTORY,\n} from '@cngx/common/tabs';\n\n/**\n * Stepper organism. Composes `CngxStepperPresenter` with\n * `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;\n * forwards `activeStepIndex`/`linear`/`orientation`/`commitAction`/\n * `commitMode` to the presenter. Material twin lives in\n * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.\n */\n@Component({\n selector: 'cngx-stepper',\n exportAs: 'cngxStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem],\n styleUrls: ['./styles/stepper-base.css', './stepper.component.css'],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear', 'orientation', 'commitAction', 'commitMode'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxRovingTabindex,\n inputs: ['orientation'],\n },\n { directive: CngxFocusRestore },\n // CngxLiveRegion not composed: its role=\"status\" would clobber the\n // host's role=\"group\". Template mounts a dedicated <span cngxLiveRegion>\n // bound to liveAnnouncement instead.\n ],\n providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }],\n templateUrl: './stepper.component.html',\n host: {\n 'role': 'group',\n '[attr.aria-roledescription]': 'stepperRoleDescription()',\n '[attr.aria-orientation]': 'presenter.orientation()',\n '[attr.data-orientation]': 'presenter.orientation()',\n '[attr.aria-label]': 'resolvedAriaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-busy]': 'isCommitting() ? \"true\" : null',\n '[class.cngx-stepper]': 'true',\n },\n})\nexport class CngxStepper implements CngxStepPanelHost {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n private readonly hostElement: HTMLElement = inject<ElementRef<HTMLElement>>(\n ElementRef,\n ).nativeElement;\n private readonly injector = inject(Injector);\n private readonly stepDirectives = contentChildren(CngxStep, { descendants: true });\n\n private readonly indicatorSlot = contentChild(CngxStepIndicator);\n private readonly badgeSlot = contentChild(CngxStepBadge);\n private readonly busySpinnerSlot = contentChild(CngxStepBusySpinner);\n private readonly rejectionSlot = contentChild(CngxStepRejection);\n private readonly groupHeaderSlot = contentChild(CngxStepGroupHeader);\n private readonly emptySlot = contentChild(CngxStepperEmpty);\n\n /** Default-template glyph source — read by `#defaultBadge` / `#defaultRejection` outlets. */\n protected readonly glyphs = CNGX_STEPPER_GLYPHS;\n\n /**\n * 6-slot template cascade (indicator/badge/busySpinner/rejection/\n * groupHeader/empty). Resolution: per-instance slot directive →\n * `CNGX_STEPPER_CONFIG.templates.<key>` → `null` (built-in default).\n */\n protected readonly templates = createStepperTemplateBindings({\n indicatorSlot: this.indicatorSlot,\n badgeSlot: this.badgeSlot,\n busySpinnerSlot: this.busySpinnerSlot,\n rejectionSlot: this.rejectionSlot,\n groupHeaderSlot: this.groupHeaderSlot,\n emptySlot: this.emptySlot,\n config: this.config,\n });\n\n constructor() {\n // Scroll active step into view on activeStepId change. Routed through\n // CNGX_ORGANISM_SCROLL_SYNC_FACTORY so consumers can swap policy\n // (instant, reduced-motion opt-out) without forking.\n inject(CNGX_ORGANISM_SCROLL_SYNC_FACTORY)({\n activeId: this.presenter.activeStepId,\n hostElement: this.hostElement,\n injector: this.injector,\n });\n }\n\n /** Stepper landmark role-description with config + i18n cascade. */\n protected readonly stepperRoleDescription = computed<string>(\n () =>\n this.config.fallbackLabels?.stepRoleDescription ??\n this.i18n.stepperLabel,\n );\n\n /** Group landmark role-description with config + i18n cascade. */\n protected readonly groupRoleDescription = computed<string>(\n () =>\n this.config.fallbackLabels?.groupRoleDescription ?? 'step group',\n );\n\n /**\n * `aria-label` cascade: input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`.\n * Pillar 2.\n */\n protected readonly resolvedAriaLabel = computed<string | null>(() => {\n if (this.ariaLabelledBy()) {\n return null; // labelledby trumps label\n }\n return (\n this.ariaLabel() ??\n this.config.ariaLabels?.stepperRegion ??\n this.i18n.stepperLabel\n );\n });\n\n // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on\n // id-set + directive identity stops cascade on shape-stable re-emits.\n private readonly stepDirectiveById = inject(CNGX_DIRECTIVE_BY_ID_MAP_FACTORY)({\n source: this.stepDirectives,\n });\n\n readonly flatSteps: Signal<readonly CngxStepNode[]> = this.presenter.flatSteps;\n readonly activeStepIndex: Signal<number> = this.presenter.activeStepIndex;\n readonly activeStepId: Signal<string | null> = this.presenter.activeStepId;\n\n /**\n * Step-only flat projection (group nodes filtered out). Structural equal\n * via `flatStepsEqual` — downstream consumers don't re-walk on shape-stable\n * `flatSteps()` re-emits.\n */\n protected readonly stepsOnly = computed(\n () => this.flatSteps().filter((n) => n.kind === 'step'),\n { equal: flatStepsEqual },\n );\n\n /**\n * Position in the step-only flat projection. Group nodes carry `-1`;\n * callers must guard on `kind === 'step'`.\n */\n protected stepIndexOf(node: CngxStepNode): number {\n return node.flatIndex;\n }\n\n protected isActive(node: CngxStepNode): boolean {\n return node.kind === 'step' && node.id === this.activeStepId();\n }\n\n protected isStepBusy(node: CngxStepNode): boolean {\n return (\n node.kind === 'step' &&\n this.presenter.commitState.status() === 'pending' &&\n this.presenter.intendedStepIndex() === node.flatIndex\n );\n }\n\n /** Commit-in-flight flag — drives the host `aria-busy` binding. Pillar 2. */\n protected readonly isCommitting = computed<boolean>(\n () => this.presenter.commitState.status() === 'pending',\n );\n\n protected stepHeaderId(node: CngxStepNode): string {\n return `${node.id}-header`;\n }\n\n protected stepPanelId(node: CngxStepNode): string {\n return `${node.id}-panel`;\n }\n\n protected stepDescriptorId(node: CngxStepNode): string {\n return `${node.id}-desc`;\n }\n\n /**\n * Live-region content. Empty string between transitions keeps the region\n * quiet on no-op CD ticks. Error-arm priority:\n * 1. `commitRolledBackTo(originLabel)` when both `lastFailedIndex` and a\n * resolvable origin label exist.\n * 2. `commitFailedRetry` otherwise.\n */\n protected readonly liveAnnouncement = computed<string>(() => {\n const current = this.presenter.commitTransition.current();\n if (current === 'pending') {\n return this.i18n.commitInFlight;\n }\n if (current === 'error') {\n // Sync commit-handler errors collapse pending → error in one signal\n // flush; tracker sees `previous === 'idle'`. Guard stays loose so\n // sync-rejection (`commitAction = () => false`) still announces.\n const failedIdx = this.presenter.lastFailedIndex();\n const originIdx = this.presenter.originIndexDuringCommit();\n if (failedIdx !== undefined && originIdx !== undefined) {\n const originLabel = this.stepsOnly()[originIdx]?.label();\n if (originLabel) {\n return this.i18n.commitRolledBackTo(originLabel);\n }\n }\n return this.i18n.commitFailedRetry;\n }\n return '';\n });\n\n /** SR descriptor phrase. Aggregator-announced or \"Step N of M: <label>\"; appends stepRolledBackSuffix on the rejected row. */\n protected statusPhrase(node: CngxStepNode): string {\n const aggregator = node.errorAggregator?.();\n let base = aggregator?.shouldShow?.() ? (aggregator.announcement?.() ?? '') : '';\n if (!base && node.kind === 'step') {\n const idx = this.stepIndexOf(node);\n if (idx >= 0) {\n base = this.i18n.selectedStep(node.label(), idx + 1, this.stepsOnly().length);\n }\n }\n if (!base) {\n return '';\n }\n return node.kind === 'step' && node.flatIndex === this.presenter.lastFailedIndex()\n ? `${base} ${this.i18n.stepRolledBackSuffix}`\n : base;\n }\n\n /** Group descriptor — rolls up children's aggregated status. */\n protected groupStatusPhrase(node: CngxStepNode): string {\n const status = node.state();\n if (status === 'error') {\n return this.i18n.stepErrored;\n }\n if (status === 'success') {\n return this.i18n.stepCompleted;\n }\n return '';\n }\n\n /** Whether to render the error badge for a step node. */\n protected showErrorBadge(node: CngxStepNode): boolean {\n return !!node.errorAggregator?.()?.shouldShow?.();\n }\n\n /**\n * Render the rejection decoration when this step's flat-index matches\n * `presenter.lastFailedIndex()`. Closes stepper-accepted-debt §2.\n */\n protected showRejection(node: CngxStepNode): boolean {\n return (\n node.kind === 'step' &&\n node.flatIndex >= 0 &&\n node.flatIndex === this.presenter.lastFailedIndex()\n );\n }\n\n /** Build the slot context for `*cngxStepIndicator`. */\n protected indicatorContextFor(node: CngxStepNode): CngxStepIndicatorContext {\n const position = node.flatIndex + 1;\n return {\n $implicit: position,\n position,\n node,\n active: this.isActive(node),\n status: node.state(),\n busy: this.isStepBusy(node),\n };\n }\n\n /** Build the slot context for `*cngxStepBadge`. */\n protected badgeContextFor(node: CngxStepNode): CngxStepBadgeContext {\n const aggregator = node.errorAggregator?.();\n const count = aggregator?.errorCount() ?? 0;\n return { count, node };\n }\n\n /** Build the slot context for `*cngxStepBusySpinner`. */\n protected busySpinnerContextFor(node: CngxStepNode): CngxStepBusySpinnerContext {\n return { node };\n }\n\n /**\n * Build the slot context for `*cngxStepRejection`. Resolves origin label\n * from `presenter.originIndexDuringCommit()` via `stepsOnly()`.\n */\n protected rejectionContextFor(node: CngxStepNode): CngxStepRejectionContext {\n const failedIndex = node.flatIndex;\n const originIdx = this.presenter.originIndexDuringCommit();\n const originLabel =\n originIdx !== undefined ? this.stepsOnly()[originIdx]?.label() : undefined;\n return { failedIndex, originLabel, node };\n }\n\n /** Build the slot context for `*cngxStepGroupHeader`. */\n protected groupHeaderContextFor(node: CngxStepNode): CngxStepGroupHeaderContext {\n return { group: node, expanded: true, status: node.state() };\n }\n\n protected handleHeaderClick(node: CngxStepNode): void {\n if (node.kind !== 'step' || node.disabled()) {\n return;\n }\n const idx = this.stepIndexOf(node);\n if (idx >= 0) {\n this.presenter.select(idx);\n }\n }\n\n /**\n * Clear the presenter's `lastFailedIndex`. Lets template-ref consumers\n * (`#s=\"cngxStepper\"`) dismiss the rejection decoration without injecting\n * {@link CNGX_STEPPER_HOST}.\n */\n clearLastFailed(): void {\n this.presenter.clearLastFailed();\n }\n\n // CngxStepPanelHost contract — O(1) via the pre-built map.\n labelTemplateFor(id: string): TemplateRef<CngxStepLabelContext> | null {\n return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;\n }\n\n contentTemplateFor(id: string): TemplateRef<CngxStepContentContext> | null {\n return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;\n }\n\n /**\n * Build the {@link CngxStepLabelContext} for `*cngxStepLabel`.\n * `index` is 1-based (mirrors indicator position); group nodes\n * (`flatIndex === -1`) yield `0` and are never iterated here.\n */\n protected stepLabelContextFor(node: CngxStepNode): CngxStepLabelContext {\n return {\n node,\n index: node.flatIndex + 1,\n active: this.isActive(node),\n busy: this.isStepBusy(node),\n disabled: node.disabled(),\n };\n }\n\n /**\n * Build the {@link CngxStepContentContext} for `*cngxStepContent`.\n * Same shape as the label context — content templates need the same\n * `disabled`/`busy` derivations.\n */\n protected stepContentContextFor(node: CngxStepNode): CngxStepContentContext {\n return this.stepLabelContextFor(node);\n }\n}\n","@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: indicatorContextFor(node)\n \"\n ></ng-container>\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n @if (showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n liveAnnouncement()\n}}</span>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n","/**\n * @module @cngx/ui/stepper\n *\n * Level-4 organism — CNGX-standard `<cngx-stepper>` skin over the\n * Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.\n * Composes presenter + roving tabindex + focus restore + live\n * region via `hostDirectives`. Material consumers reach for\n * `@cngx/ui/mat-stepper` instead.\n */\n\nexport { CngxStepper } from './stepper.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAoDA;;;;;;AAMG;MAoCU,WAAW,CAAA;IACb,SAAS,GAAG,KAAK,CAAqB,SAAS,iFAAI,KAAK,EAAE,YAAY,EAAA,CAAG;IACzE,cAAc,GAAG,KAAK,CAAqB,SAAS,sFAAI,KAAK,EAAE,iBAAiB,EAAA,CAAG;AAEzE,IAAA,SAAS,GAAG,MAAM,CAAC,iBAAiB,CAAC;IACrC,IAAI,GAAG,iBAAiB,EAAE;IAC1B,MAAM,GAAG,mBAAmB,EAAE;AAChC,IAAA,WAAW,GAAgB,MAAM,CAChD,UAAU,CACX,CAAC,aAAa;AACE,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IAC3B,cAAc,GAAG,eAAe,CAAC,QAAQ,sFAAI,WAAW,EAAE,IAAI,EAAA,CAAG;AAEjE,IAAA,aAAa,GAAG,YAAY,CAAC,iBAAiB,oFAAC;AAC/C,IAAA,SAAS,GAAG,YAAY,CAAC,aAAa,gFAAC;AACvC,IAAA,eAAe,GAAG,YAAY,CAAC,mBAAmB,sFAAC;AACnD,IAAA,aAAa,GAAG,YAAY,CAAC,iBAAiB,oFAAC;AAC/C,IAAA,eAAe,GAAG,YAAY,CAAC,mBAAmB,sFAAC;AACnD,IAAA,SAAS,GAAG,YAAY,CAAC,gBAAgB,gFAAC;;IAGxC,MAAM,GAAG,mBAAmB;AAE/C;;;;AAIG;IACgB,SAAS,GAAG,6BAA6B,CAAC;QAC3D,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,SAAS,EAAE,IAAI,CAA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AA,CAAA,EAAA,CAAA,UAAA,CAAA,MAAA,QAAQ,QAAE,EAAE,WAAW,EAAE,IAAI,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MAEnC,iBAAiB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACrB,aAAa,iGACP,mBAAmB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACrB,iBAAiB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MACf,mBAAmB,2FACzB,gBAAgB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEhH5D;;;;;;;;AAQG;;ACRH;;AAEG;;;;"}
1
+ {"version":3,"file":"cngx-ui-stepper.mjs","sources":["../../../projects/ui/stepper/stepper.component.ts","../../../projects/ui/stepper/stepper.component.html","../../../projects/ui/stepper/progress-bar-stepper.component.ts","../../../projects/ui/stepper/progress-bar-stepper.component.html","../../../projects/ui/stepper/dot-stepper.component.ts","../../../projects/ui/stepper/dot-stepper.component.html","../../../projects/ui/stepper/text-stepper.component.ts","../../../projects/ui/stepper/text-stepper.component.html","../../../projects/ui/stepper/footer/stepper-footer.component.ts","../../../projects/ui/stepper/footer/stepper-footer-regions.ts","../../../projects/ui/stepper/public-api.ts","../../../projects/ui/stepper/cngx-ui-stepper.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n contentChildren,\n DestroyRef,\n ElementRef,\n inject,\n Injector,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxFocusRestore,\n CngxLiveRegion,\n CngxRovingItem,\n CngxRovingTabindex,\n} from '@cngx/common/a11y';\nimport { CngxSwipe } from '@cngx/common/interactive';\nimport {\n CNGX_STEP_PANEL_HOST,\n createStepperDisplayMode,\n CngxStep,\n STEPPER_DEFAULT_MOBILE_BREAKPOINT,\n CngxStepBadge,\n CngxStepBusySpinner,\n type CngxStepContentContext,\n CngxStepGroupHeader,\n CngxStepIndicator,\n type CngxStepLabelContext,\n CngxStepperEmpty,\n CngxStepperPresenter,\n type CngxStepperMobileIndicatorPosition,\n type CngxStepperSkin,\n CngxStepRejection,\n CNGX_STEPPER_GLYPHS,\n CNGX_STEPPER_HOST,\n CngxStepperCount,\n createStepperAnnouncementBuilders,\n createStepperHostAttrs,\n createStepperSlotContextBuilders,\n createStepperStripKeyboardNav,\n createStepperTemplateBindings,\n CngxStepperSwipeNav,\n resolveStepperStatusLabel,\n injectStepperConfig,\n injectStepperI18n,\n type CngxStepNode,\n type CngxStepPanelHost,\n} from '@cngx/common/stepper';\nimport {\n CNGX_DIRECTIVE_BY_ID_MAP_FACTORY,\n CNGX_ORGANISM_SCROLL_SYNC_FACTORY,\n} from '@cngx/common/tabs';\nimport { coerceBooleanProperty } from '@cngx/core/utils';\n\n/**\n * Stepper organism. Composes `CngxStepperPresenter` with\n * `CngxRovingTabindex` and `CngxFocusRestore` via `hostDirectives`;\n * forwards `activeStepIndex`/`linear`/`orientation`/`commitAction`/\n * `commitMode` to the presenter. Material twin lives in\n * `@cngx/ui/mat-stepper`. ARIA attrs are in the `computed()` graph.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxStep, CngxRovingTabindex, CngxFocusRestore, CngxLiveRegion\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-horizontal/three-step-wizard</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-vertical/vertical-sidebar-layout</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-linear/linear-gating-with-completion-checkboxes</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-mobile-collapse/dots-collapse</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/breadcrumb</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/all-skins-side-by-side</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/material-theme-coverage</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/linear-minimal-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/stripe-status-rich-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/path-chevron-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/pill-segment-vertical</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-skins/chips-vertical</example-url>\n */\n@Component({\n selector: 'cngx-stepper',\n exportAs: 'cngxStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet, CngxLiveRegion, CngxRovingItem, CngxStepperCount, CngxSwipe],\n styleUrls: ['./styles/stepper-base.css', './stepper.component.css'],\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear', 'orientation', 'commitAction', 'commitMode'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxRovingTabindex,\n inputs: ['orientation'],\n },\n {\n directive: CngxStepperSwipeNav,\n inputs: ['mobileSwipe'],\n },\n { directive: CngxFocusRestore },\n // CngxLiveRegion not composed: its role=\"status\" would clobber the\n // host's role=\"group\". Template mounts a dedicated <span cngxLiveRegion>\n // bound to liveAnnouncement instead.\n ],\n providers: [{ provide: CNGX_STEP_PANEL_HOST, useExisting: CngxStepper }],\n templateUrl: './stepper.component.html',\n host: {\n class: 'cngx-stepper',\n role: 'group',\n '[attr.aria-roledescription]': 'stepperRoleDescription()',\n '[attr.aria-orientation]': 'presenter.orientation()',\n '[attr.data-orientation]': 'presenter.orientation()',\n '[attr.data-skin]': 'hostAttrs.resolvedSkin()',\n '[attr.data-connectors]': \"hostAttrs.resolvedConnectors() ? 'true' : null\",\n '[attr.data-mobile-indicator-position]': 'hostAttrs.resolvedMobileIndicatorPosition()',\n '[attr.aria-label]': 'resolvedAriaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-busy]': 'isCommitting() ? \"true\" : null',\n '[class.cngx-stepper]': 'true',\n '(keydown)': 'handleStripKeyDown($event)',\n },\n})\nexport class CngxStepper implements CngxStepPanelHost {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n /** Per-instance skin override; flips `[data-skin]`, structure/ARIA unchanged. */\n readonly skin = input<CngxStepperSkin | undefined>(undefined);\n\n /** Opt the classic skin into the connector-rail presentation. Off by default, classic-scoped. */\n readonly connectors = input<boolean | undefined, unknown>(undefined, { transform: (v) => (v === undefined ? undefined : coerceBooleanProperty(v)) });\n\n /**\n * Opt-in `Step N of M` caption under the mobile `'dots'` row. In\n * the `'text'` collapse branch the count IS the indicator and is\n * always rendered; this input only gates the supplemental caption\n * that sits next to the dot row.\n */\n readonly showStepCount = input<boolean>(false);\n\n readonly mobileIndicatorPosition = input<CngxStepperMobileIndicatorPosition | undefined>(undefined);\n\n /** Stepper-host contract; exposed so external `<cngx-stepper-count>` / bridge consumers can `[host]=\"s.presenter\"` via `#s=\"cngxStepper\"`. */\n readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n private readonly hostElement: HTMLElement =\n inject<ElementRef<HTMLElement>>(ElementRef).nativeElement;\n private readonly injector = inject(Injector);\n private readonly stepDirectives = contentChildren(CngxStep, { descendants: true });\n\n private readonly indicatorSlot = contentChild(CngxStepIndicator);\n private readonly badgeSlot = contentChild(CngxStepBadge);\n private readonly busySpinnerSlot = contentChild(CngxStepBusySpinner);\n private readonly rejectionSlot = contentChild(CngxStepRejection);\n private readonly groupHeaderSlot = contentChild(CngxStepGroupHeader);\n private readonly emptySlot = contentChild(CngxStepperEmpty);\n\n /** Default-template glyph source - read by `#defaultBadge` / `#defaultRejection` outlets. */\n protected readonly glyphs = CNGX_STEPPER_GLYPHS;\n\n /**\n * 6-slot template cascade (indicator/badge/busySpinner/rejection/\n * groupHeader/empty). Resolution: per-instance slot directive →\n * `CNGX_STEPPER_CONFIG.templates.<key>` → `null` (built-in default).\n */\n protected readonly templates = createStepperTemplateBindings({\n indicatorSlot: this.indicatorSlot,\n badgeSlot: this.badgeSlot,\n busySpinnerSlot: this.busySpinnerSlot,\n rejectionSlot: this.rejectionSlot,\n groupHeaderSlot: this.groupHeaderSlot,\n emptySlot: this.emptySlot,\n config: this.config,\n });\n\n protected readonly displayMode = createStepperDisplayMode(this.config.mobileBreakpoint ?? STEPPER_DEFAULT_MOBILE_BREAKPOINT, () => this.config.mobileCollapse, inject(DestroyRef));\n\n constructor() {\n // Scroll active step into view via the swappable scroll-sync factory.\n inject(CNGX_ORGANISM_SCROLL_SYNC_FACTORY)({\n activeId: this.presenter.activeStepId,\n hostElement: this.hostElement,\n injector: this.injector,\n });\n }\n\n /** Stepper landmark role-description with config + i18n cascade. */\n protected readonly stepperRoleDescription = computed<string>(\n () => this.config.fallbackLabels?.stepRoleDescription ?? this.i18n.stepperLabel,\n );\n\n /** Resolved skin / connectors / mobile-indicator host attrs (Level-2 cascade helper). */\n protected readonly hostAttrs = createStepperHostAttrs({ skin: this.skin, connectors: this.connectors, mobileIndicatorPosition: this.mobileIndicatorPosition, config: this.config });\n\n /** Mobile-swipe navigation host directive (Level-2 composition). */\n protected readonly swipeNav = inject(CngxStepperSwipeNav, { host: true });\n\n protected statusLabelFor = (node: CngxStepNode): string => resolveStepperStatusLabel(node, this.i18n, this.slotContext.isActive(node));\n protected readonly groupRoleDescription = computed<string>(() => this.config.fallbackLabels?.groupRoleDescription ?? 'step group');\n\n /**\n * `aria-label` cascade: input → `ariaLabels.stepperRegion` → `i18n.stepperLabel`.\n * Pillar 2.\n */\n protected readonly resolvedAriaLabel = computed<string | null>(() => {\n if (this.ariaLabelledBy()) {\n return null; // labelledby trumps label\n }\n return this.ariaLabel() ?? this.config.ariaLabels?.stepperRegion ?? this.i18n.stepperLabel;\n });\n\n // O(1) labelTemplateFor/contentTemplateFor lookup. Structural equal on\n // id-set + directive identity stops cascade on shape-stable re-emits.\n private readonly stepDirectiveById = inject(CNGX_DIRECTIVE_BY_ID_MAP_FACTORY)({\n source: this.stepDirectives,\n });\n\n readonly flatSteps: Signal<readonly CngxStepNode[]> = this.presenter.flatSteps;\n readonly activeStepIndex: Signal<number> = this.presenter.activeStepIndex;\n readonly activeStepId: Signal<string | null> = this.presenter.activeStepId;\n protected readonly stepsOnly: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n\n /**\n * Position in the step-only flat projection. Group nodes carry `-1`;\n * callers must guard on `kind === 'step'`.\n */\n protected stepIndexOf(node: CngxStepNode): number {\n return node.flatIndex;\n }\n\n /** Per-step predicates + slot-context builders (Level-2 factory). */\n protected readonly slotContext = createStepperSlotContextBuilders({ presenter: this.presenter, stepsOnly: this.stepsOnly });\n\n /** Commit-in-flight flag - drives the host `aria-busy` binding. Pillar 2. */\n protected readonly isCommitting = computed<boolean>(\n () => this.presenter.commitState.status() === 'pending',\n );\n\n protected stepHeaderId(node: CngxStepNode): string {\n return `${node.id}-header`;\n }\n\n protected stepPanelId(node: CngxStepNode): string {\n return `${node.id}-panel`;\n }\n\n protected stepDescriptorId(node: CngxStepNode): string {\n return `${node.id}-desc`;\n }\n\n /** Live-region + per-step + group SR phrase builders (Level-2 factory). */\n protected readonly announcement = createStepperAnnouncementBuilders({ presenter: this.presenter, stepsOnly: this.stepsOnly, i18n: this.i18n });\n\n protected handleHeaderClick(node: CngxStepNode): void {\n if (node.kind !== 'step' || node.disabled()) {\n return;\n }\n const idx = this.stepIndexOf(node);\n if (idx >= 0) {\n this.presenter.select(idx);\n }\n }\n\n /** Strip-scoped arrow-key handler. See {@link createStepperStripKeyboardNav}. */\n protected readonly handleStripKeyDown = createStepperStripKeyboardNav({ presenter: this.presenter, hostElement: this.hostElement, flatStepCount: () => this.flatSteps().length, stepButtonIdFor: (id) => `${id}-header` });\n\n /**\n * Clear the presenter's `lastFailedIndex`. Lets template-ref consumers\n * (`#s=\"cngxStepper\"`) dismiss the rejection decoration without injecting\n * {@link CNGX_STEPPER_HOST}.\n */\n clearLastFailed(): void {\n this.presenter.clearLastFailed();\n }\n\n // CngxStepPanelHost contract - O(1) via the pre-built map.\n labelTemplateFor(id: string): TemplateRef<CngxStepLabelContext> | null {\n return this.stepDirectiveById().get(id)?.labelTemplate()?.templateRef ?? null;\n }\n\n contentTemplateFor(id: string): TemplateRef<CngxStepContentContext> | null {\n return this.stepDirectiveById().get(id)?.contentTemplate()?.templateRef ?? null;\n }\n\n}\n","@if (flatSteps().length === 0) {\n @let emptyTpl = templates.empty();\n @if (emptyTpl) {\n <ng-container *ngTemplateOutlet=\"emptyTpl\"></ng-container>\n }\n} @else if (displayMode() === 'text') {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text\" [live]=\"false\" />\n\n <div\n class=\"cngx-stepper__panels\"\n [class.cngx-stepper__panels--swipeable]=\"swipeNav.swipeEnabled()\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n} @else if (displayMode() === 'dots') {\n <div class=\"cngx-stepper__mobile-dots\">\n @for (node of stepsOnly(); track node.id; let i = $index) {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__mobile-dot\"\n [class.cngx-stepper__mobile-dot--active]=\"slotContext.isActive(node)\"\n [class.cngx-stepper__mobile-dot--completed]=\"i < activeStepIndex()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-label]=\"i18n.selectedStep(node.label(), i + 1, stepsOnly().length)\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n ></button>\n }\n </div>\n @if (showStepCount()) {\n <cngx-stepper-count class=\"cngx-stepper__mobile-text cngx-stepper__mobile-text--caption\" [live]=\"false\" />\n }\n\n <div\n class=\"cngx-stepper__panels\"\n [class.cngx-stepper__panels--swipeable]=\"swipeNav.swipeEnabled()\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n >\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n} @else {\n <div class=\"cngx-stepper__strip\" role=\"presentation\">\n @for (node of flatSteps(); track node.id) {\n @if (node.kind === 'group') {\n <div\n class=\"cngx-stepper__group-header\"\n role=\"group\"\n [attr.aria-roledescription]=\"groupRoleDescription()\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.groupHeader() ?? defaultGroupHeader;\n context: slotContext.groupHeaderContextFor(node)\n \"\n ></ng-container>\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.groupStatusPhrase(node) }}</span>\n </div>\n } @else {\n <button\n type=\"button\"\n cngxRovingItem\n class=\"cngx-stepper__step\"\n [class.cngx-stepper__step--rejected]=\"slotContext.showRejection(node)\"\n [id]=\"stepHeaderId(node)\"\n [attr.tabindex]=\"slotContext.isActive(node) ? '0' : '-1'\"\n [attr.data-step-depth]=\"node.depth\"\n [attr.data-state]=\"node.state()\"\n [attr.aria-current]=\"slotContext.isActive(node) ? 'step' : null\"\n [attr.aria-controls]=\"stepPanelId(node)\"\n [attr.aria-disabled]=\"node.disabled() ? 'true' : null\"\n [attr.aria-busy]=\"slotContext.isStepBusy(node) ? 'true' : null\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [cngxRovingItemDisabled]=\"node.disabled()\"\n (click)=\"handleHeaderClick(node)\"\n >\n <span\n class=\"cngx-stepper__indicator\"\n aria-hidden=\"true\"\n [attr.data-state]=\"node.state()\"\n >\n <ng-container\n *ngTemplateOutlet=\"\n templates.indicator() ?? defaultIndicator;\n context: slotContext.indicatorContextFor(node)\n \"\n ></ng-container>\n @if (slotContext.showErrorBadge(node)) {\n <span class=\"cngx-stepper__badge\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.badge() ?? defaultBadge;\n context: slotContext.badgeContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n </span>\n <span class=\"cngx-stepper__label\">\n @let labelTpl = labelTemplateFor(node.id);\n @if (labelTpl) {\n <ng-container\n *ngTemplateOutlet=\"labelTpl; context: slotContext.stepLabelContextFor(node)\"\n ></ng-container>\n } @else {\n {{ node.label() }}\n }\n </span>\n <span class=\"cngx-stepper__status-pill\" aria-hidden=\"true\">{{ statusLabelFor(node) }}</span>\n @if (slotContext.showRejection(node)) {\n <span class=\"cngx-stepper__rejection-icon\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.rejection() ?? defaultRejection;\n context: slotContext.rejectionContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n @if (slotContext.isStepBusy(node)) {\n <span class=\"cngx-stepper__busy-spinner\" aria-hidden=\"true\">\n <ng-container\n *ngTemplateOutlet=\"\n templates.busySpinner() ?? defaultBusySpinner;\n context: slotContext.busySpinnerContextFor(node)\n \"\n ></ng-container>\n </span>\n }\n <span class=\"cngx-sr-only\" [id]=\"stepDescriptorId(node)\">{{ announcement.statusPhrase(node) }}</span>\n </button>\n }\n }\n </div>\n\n <div class=\"cngx-stepper__panels\">\n @for (node of stepsOnly(); track node.id) {\n <div\n class=\"cngx-stepper__panel\"\n role=\"region\"\n [id]=\"stepPanelId(node)\"\n [attr.aria-labelledby]=\"stepHeaderId(node)\"\n [attr.aria-describedby]=\"stepDescriptorId(node)\"\n [hidden]=\"!slotContext.isActive(node)\"\n >\n @let contentTpl = contentTemplateFor(node.id);\n @if (contentTpl) {\n <ng-container\n *ngTemplateOutlet=\"contentTpl; context: slotContext.stepContentContextFor(node)\"\n ></ng-container>\n }\n </div>\n }\n </div>\n}\n\n<!--\n Footer slot - placed OUTSIDE the display-mode @if/@else so it projects\n at view-creation time (content children register after the empty branch\n is active, so an in-branch <ng-content> would be discarded and never\n re-project). Renders after the panels in every mode.\n-->\n<ng-content select=\"cngx-stepper-footer, [cngxStepperFooter]\"></ng-content>\n\n<span class=\"cngx-stepper__live-region cngx-sr-only\" cngxLiveRegion>{{\n announcement.liveAnnouncement()\n}}</span>\n\n<ng-template #defaultIndicator let-position>\n <span class=\"cngx-stepper__indicator-glyph\">{{ position }}</span>\n</ng-template>\n<ng-template #defaultBadge>{{ glyphs.errorBadge }}</ng-template>\n<ng-template #defaultBusySpinner></ng-template>\n<ng-template #defaultRejection>{{ glyphs.rejectionIcon }}</ng-template>\n<ng-template #defaultGroupHeader let-group=\"group\">\n <span class=\"cngx-stepper__group-label\">{{ group.label() }}</span>\n</ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n} from '@angular/core';\n\nimport {\n CngxStepperCount,\n CngxStepperPresenter,\n CNGX_STEPPER_HOST,\n injectStepperI18n,\n} from '@cngx/common/stepper';\nimport { CngxProgress } from '@cngx/ui/feedback';\n\n/**\n * Progress-Bar stepper variant. Thin Level-4 organism composing\n * `CngxStepperPresenter` via `hostDirectives` and rendering the\n * existing `<cngx-progress>` primitive as the visual bar instead of\n * reinventing `<div role=\"progressbar\">`. Material consumers inherit\n * Material progress styling through `CngxProgress` automatically.\n *\n * `completedPercent()` is `computed` from `presenter.activeStepIndex()`\n * and the count of step nodes in `presenter.flatSteps()`. Optional\n * `[showStepCount]` adds a `Step N of M` caption sourced from\n * `CngxStepperI18n.textStepperFormat`.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/progress-bar-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgress, CngxDotStepper, CngxTextStepper\n * <example-url>http://localhost:4200/#/ui/stepper/progress-bar/onboarding-flow</example-url>\n */\n@Component({\n selector: 'cngx-progress-bar-stepper',\n exportAs: 'cngxProgressBarStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [CngxProgress, CngxStepperCount],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n ],\n templateUrl: './progress-bar-stepper.component.html',\n styleUrl: './progress-bar-stepper.component.css',\n host: {\n class: 'cngx-progress-bar-stepper',\n role: 'group',\n '[attr.aria-roledescription]': '\"stepper\"',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n },\n})\nexport class CngxProgressBarStepper {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n /** Render a `Step N of M` caption below the bar. Off by default. */\n readonly showStepCount = input<boolean>(false);\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n\n /** Total step count (group nodes excluded). */\n protected readonly totalSteps = computed<number>(() => this.presenter.stepsOnly().length);\n\n /** 1-based active position used in the caption format. */\n protected readonly currentStep = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n return Math.min(this.presenter.activeStepIndex() + 1, total);\n });\n\n /**\n * Completion percentage 0-100. `(active / max(total - 1, 1)) * 100`\n * so the final step renders the bar full.\n */\n protected readonly completedPercent = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n const denominator = Math.max(total - 1, 1);\n return Math.max(0, Math.min(100, (this.presenter.activeStepIndex() / denominator) * 100));\n });\n\n protected readonly captionText = computed<string>(() =>\n this.i18n.textStepperFormat(this.currentStep(), this.totalSteps()),\n );\n}\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","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n contentChild,\n inject,\n input,\n type Signal,\n type TemplateRef,\n} from '@angular/core';\n\nimport {\n CngxDotStepperDot,\n type CngxDotStepperDotContext,\n CngxStepperPresenter,\n CngxStepperSwipeNav,\n CNGX_STEPPER_HOST,\n injectStepperConfig,\n injectStepperI18n,\n type CngxStepNode,\n} from '@cngx/common/stepper';\nimport { CngxSwipe } from '@cngx/common/interactive';\n\n/**\n * Dot stepper variant. Mobile-first sequential-flow indicator. Renders\n * one labelled `<span role=\"img\">` per step (a name-permitting role, so\n * each dot announces \"Step N of M: label\") inside a\n * `<div role=\"group\" aria-roledescription=\"Step indicator\">`. The active\n * dot carries `aria-current=\"step\"` per the W3C APG step-indicator\n * pattern (NOT `role=\"tablist\"` / `role=\"tab\"` - those are reserved\n * for parallel content panels, not sequential flow).\n *\n * Tap-to-select is intentionally NOT wired on individual dots: under\n * the APG pattern each dot is a label, not a button, and attaching\n * `(click)` to `role=\"img\"` conflates two ARIA contracts. Navigation\n * is offered uniformly via three modalities owned by the host element:\n * arrow / Home / End keys, the composed `CngxStepperSwipeNav` dot-row\n * gesture, and the two-way `[(activeStepIndex)]` binding for\n * external buttons. Consumers wanting per-dot tap-to-jump compose the\n * parent `<cngx-stepper>` (whose mobile-collapse `dots` branch\n * renders each dot as a `<button>`).\n *\n * Theming flows through new `--cngx-dot-step-*` custom properties whose\n * defaults cascade through `var(--cngx-step-active-fill, ...)`, so the\n * Phase A active-fill chain reaches the dot variant without duplication.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/dot-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxTextStepper\n * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/mobile-carousel</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/dot-stepper/icon-dots-via-code-cngxdotstepperdot-code</example-url>\n */\n@Component({\n selector: 'cngx-dot-stepper',\n exportAs: 'cngxDotStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet, CngxSwipe],\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n {\n directive: CngxStepperSwipeNav,\n inputs: ['mobileSwipe'],\n },\n ],\n templateUrl: './dot-stepper.component.html',\n styleUrl: './dot-stepper.component.css',\n host: {\n class: 'cngx-dot-stepper',\n role: 'group',\n tabindex: '0',\n '[attr.aria-roledescription]': 'i18n.stepIndicatorRoleDescription',\n '[attr.aria-label]': 'ariaLabel()',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '(keydown)': 'handleKeyDown($event)',\n },\n})\nexport class CngxDotStepper {\n readonly ariaLabel = input<string | undefined>(undefined, { alias: 'aria-label' });\n readonly ariaLabelledBy = input<string | undefined>(undefined, { alias: 'aria-labelledby' });\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n protected readonly config = injectStepperConfig();\n /** Mobile-swipe routing surface composed via hostDirectives. */\n protected readonly swipeNav = inject(CngxStepperSwipeNav, { host: true });\n\n protected readonly stepNodes: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n protected readonly activeIndex = computed<number>(() => this.presenter.activeStepIndex());\n\n private readonly dotSlot = contentChild(CngxDotStepperDot);\n\n /**\n * Resolved dot-body template cascade: per-instance `*cngxDotStepperDot`\n * directive > `CNGX_STEPPER_CONFIG.templates.dotStepperDot` > `null`\n * (built-in empty body). Pillar 1 — resolution is a `computed`, not\n * manual sync.\n */\n protected readonly resolvedDotTemplate = computed<TemplateRef<CngxDotStepperDotContext> | null>(\n () => this.dotSlot()?.templateRef ?? this.config.templates?.dotStepperDot ?? null,\n );\n\n protected isActive(node: CngxStepNode, index: number): boolean {\n return index === this.activeIndex() && node.kind === 'step';\n }\n\n protected isCompleted(index: number): boolean {\n return index < this.activeIndex();\n }\n\n protected ariaLabelFor(node: CngxStepNode, index: number): string {\n return this.i18n.selectedStep(node.label(), index + 1, this.stepNodes().length);\n }\n\n /** Build the slot context for `*cngxDotStepperDot`. */\n protected dotContextFor(node: CngxStepNode, index: number): CngxDotStepperDotContext {\n return {\n $implicit: index,\n index,\n node,\n active: this.isActive(node, index),\n completed: this.isCompleted(index),\n };\n }\n\n protected handleKeyDown(event: KeyboardEvent): void {\n // Linear mode is enforced by the presenter, not by silencing the\n // keyboard. `selectNext` routes through `presenter.select()` which\n // refuses jumps over incomplete steps; `selectPrevious` is the\n // ungated direct back-move. `Home` is always a back-move; `End`\n // routes through `select()` and is gated when intermediate steps\n // are incomplete. Disabling the whole handler in linear mode\n // killed back-nav too, which is the inverse of the W3C APG\n // step-indicator pattern (read-back should always be reachable).\n if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {\n event.preventDefault();\n this.presenter.selectNext();\n } else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {\n event.preventDefault();\n this.presenter.selectPrevious();\n } else if (event.key === 'Home') {\n event.preventDefault();\n this.presenter.select(0);\n } else if (event.key === 'End') {\n event.preventDefault();\n this.presenter.select(this.stepNodes().length - 1);\n }\n }\n}\n","<div\n class=\"cngx-dot-stepper__row\"\n [class.cngx-dot-stepper__row--swipeable]=\"swipeNav.swipeEnabled()\"\n cngxSwipe\n axis=\"x\"\n [enabled]=\"swipeNav.swipeEnabled()\"\n (swiped)=\"swipeNav.handleSwipe($event)\"\n>\n @for (node of stepNodes(); track node.id; let i = $index) {\n @let dotTpl = resolvedDotTemplate();\n <span\n class=\"cngx-dot-stepper__dot\"\n role=\"img\"\n [class.cngx-dot-stepper__dot--active]=\"isActive(node, i)\"\n [class.cngx-dot-stepper__dot--completed]=\"i < activeIndex()\"\n [attr.aria-current]=\"isActive(node, i) ? 'step' : null\"\n [attr.aria-label]=\"ariaLabelFor(node, i)\"\n [attr.data-state]=\"node.state()\"\n >\n @if (dotTpl) {\n <ng-container *ngTemplateOutlet=\"dotTpl; context: dotContextFor(node, i)\" />\n }\n </span>\n }\n</div>\n","import {\n ChangeDetectionStrategy,\n Component,\n ViewEncapsulation,\n computed,\n inject,\n input,\n type Signal,\n} from '@angular/core';\n\nimport {\n CngxStepperPresenter,\n CNGX_STEPPER_HOST,\n injectStepperI18n,\n type CngxStepNode,\n} from '@cngx/common/stepper';\n\n/**\n * Text stepper variant. Smallest possible stepper: a single\n * `<span aria-live=\"polite\">` driven by the presenter. Renders\n * `Step N of M` by default (sourced from\n * `CngxStepperI18n.textStepperFormat`); optional `[showCurrentLabel]`\n * appends the active step's label next to the count. Material consumers\n * inherit surrounding text styling via CSS inheritance, no theme bridge\n * required.\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/text-stepper.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepperPresenter, CngxProgressBarStepper, CngxDotStepper\n * <example-url>http://localhost:4200/#/ui/stepper/text-stepper/inline-progress</example-url>\n */\n@Component({\n selector: 'cngx-text-stepper',\n exportAs: 'cngxTextStepper',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxStepperPresenter,\n inputs: ['activeStepIndex', 'linear'],\n outputs: ['activeStepIndexChange'],\n },\n ],\n templateUrl: './text-stepper.component.html',\n styleUrl: './text-stepper.component.css',\n host: {\n class: 'cngx-text-stepper',\n },\n})\nexport class CngxTextStepper {\n /** Append the active step's label to the count text. Off by default. */\n readonly showCurrentLabel = input<boolean>(false);\n\n protected readonly presenter = inject(CNGX_STEPPER_HOST);\n protected readonly i18n = injectStepperI18n();\n\n protected readonly stepNodes: Signal<readonly CngxStepNode[]> = this.presenter.stepsOnly;\n\n protected readonly totalSteps = computed<number>(() => this.stepNodes().length);\n\n protected readonly currentStep = computed<number>(() => {\n const total = this.totalSteps();\n if (total === 0) {\n return 0;\n }\n return Math.min(this.presenter.activeStepIndex() + 1, total);\n });\n\n protected readonly stepText = computed<string>(() => {\n const base = this.i18n.textStepperFormat(this.currentStep(), this.totalSteps());\n if (!this.showCurrentLabel()) {\n return base;\n }\n const idx = this.presenter.activeStepIndex();\n const node = this.stepNodes()[idx];\n if (!node) {\n return base;\n }\n return `${base}: ${node.label()}`;\n });\n}\n","<span class=\"cngx-text-stepper__text\" aria-live=\"polite\">{{ stepText() }}</span>\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport {\n CNGX_STEPPER_HOST,\n createStepperHostProxy,\n type CngxStepperHost,\n} from '@cngx/common/stepper';\n\n/**\n * Navigation action-bar molecule for the stepper family. Lays out three\n * regions - start (Back), center (progress hint), end (Continue / Finish)\n * - and wires the {@link CNGX_STEPPER_HOST} for any nav atoms a consumer\n * drops inside.\n *\n * Resolves its host like `CngxStepperCount`: an explicit `[host]` input\n * for placement outside the stepper tree, falling back to the ambient\n * host injected from an ancestor `<cngx-stepper>` / `<cngx-mat-stepper>`\n * (`skipSelf`, so the footer reads the real presenter rather than its own\n * re-provided proxy). It then re-provides `CNGX_STEPPER_HOST` as a live\n * {@link createStepperHostProxy} over the resolved host, so child\n * `[cngxStepperPrevious]` / `[cngxStepperNext]` atoms resolve it\n * ambiently whether the footer is nested or used standalone with\n * `[host]`. `providers` (not `viewProviders`) carries the proxy to the\n * consumer-projected button content. With no host at all, the proxy's\n * neutral set renders the nav buttons disabled.\n *\n * ```html\n * <cngx-stepper #s=\"cngxStepper\"> … </cngx-stepper>\n * <cngx-stepper-footer [host]=\"s.presenter\">\n * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>\n * <cngx-stepper-count cngxStepperFooterCenter />\n * <button cngxStepperFooterEnd cngxStepperNext>Continue</button>\n * </cngx-stepper-footer>\n * ```\n *\n * @category ui/stepper\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/ui/stepper/footer/stepper-footer.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepper, CngxStepperPrevious, CngxStepperNext, CngxStepperComplete, CngxStepperCount\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/back-continue</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/save-draft-extra-button</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/footer-with-progress-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/percent-complete-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/segmented-progress-center</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/complete-finish-button</example-url>\n * <example-url>http://localhost:4200/#/ui/stepper/stepper-footer/async-commit-status</example-url>\n */\n@Component({\n selector: 'cngx-stepper-footer',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n exportAs: 'cngxStepperFooter',\n host: { class: 'cngx-stepper-footer' },\n providers: [\n {\n provide: CNGX_STEPPER_HOST,\n useFactory: (footer: CngxStepperFooter) =>\n createStepperHostProxy(() => footer.resolvedHost()),\n deps: [CngxStepperFooter],\n },\n ],\n template: `\n <div class=\"cngx-stepper-footer__start\">\n <ng-content select=\"[cngxStepperFooterStart]\" />\n </div>\n <div class=\"cngx-stepper-footer__center\">\n <ng-content select=\"[cngxStepperFooterCenter]\" />\n </div>\n <div class=\"cngx-stepper-footer__end\">\n <ng-content select=\"[cngxStepperFooterEnd]\" />\n </div>\n `,\n styleUrl: './stepper-footer.css',\n})\nexport class CngxStepperFooter {\n /**\n * Explicit stepper-host reference for placement *outside* the stepper\n * tree (`[host]=\"s.presenter\"`). When unset, the ambient\n * {@link CNGX_STEPPER_HOST} from an ancestor stepper is used.\n */\n readonly host = input<CngxStepperHost | null>(null);\n\n // `skipSelf` so this never resolves the proxy this component itself\n // provides - it reads the ancestor stepper's presenter.\n private readonly injectedHost = inject(CNGX_STEPPER_HOST, { optional: true, skipSelf: true });\n\n /** Resolved host: explicit input wins, else the ambient ancestor host. */\n readonly resolvedHost = computed<CngxStepperHost | null>(\n () => this.host() ?? this.injectedHost,\n );\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Marker for the footer's leading region (inline-start). Place on the\n * element you want in the start slot - typically a Back control.\n *\n * ```html\n * <button cngxStepperFooterStart cngxStepperPrevious>Back</button>\n * ```\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterCenter, CngxStepperFooterEnd\n */\n@Directive({\n selector: '[cngxStepperFooterStart]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterStart {}\n\n/**\n * Marker for the footer's center region - a progress hint, a\n * `<cngx-stepper-count>`, or a \"50% complete\" caption.\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterEnd\n */\n@Directive({\n selector: '[cngxStepperFooterCenter]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterCenter {}\n\n/**\n * Marker for the footer's trailing region (inline-end) - typically a\n * Continue / Finish control, optionally preceded by a \"Save draft\".\n *\n * @category ui/stepper\n * @since 0.1.0\n * @relatedTo CngxStepperFooter, CngxStepperFooterStart, CngxStepperFooterCenter\n */\n@Directive({\n selector: '[cngxStepperFooterEnd]',\n standalone: true,\n host: { class: 'cngx-stepper-footer__slot' },\n})\nexport class CngxStepperFooterEnd {}\n","/**\n * @module @cngx/ui/stepper\n *\n * Level-4 organism — CNGX-standard `<cngx-stepper>` skin over the\n * Level-2 `CngxStepperPresenter` from `@cngx/common/stepper`.\n * Composes presenter + roving tabindex + focus restore + live\n * region via `hostDirectives`. Material consumers reach for\n * `@cngx/ui/mat-stepper` instead.\n */\n\nexport { CngxStepper } from './stepper.component';\nexport { CngxProgressBarStepper } from './progress-bar-stepper.component';\nexport { CngxDotStepper } from './dot-stepper.component';\nexport { CngxTextStepper } from './text-stepper.component';\nexport { CngxStepperFooter } from './footer/stepper-footer.component';\nexport {\n CngxStepperFooterStart,\n CngxStepperFooterCenter,\n CngxStepperFooterEnd,\n} from './footer/stepper-footer-regions';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;AA6DA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BG;MA8CU,WAAW,CAAA;IACb,SAAS,GAAG,KAAK,CAAqB,SAAS,iFAAI,KAAK,EAAE,YAAY,EAAA,CAAG;IACzE,cAAc,GAAG,KAAK,CAAqB,SAAS,sFAAI,KAAK,EAAE,iBAAiB,EAAA,CAAG;;AAGnF,IAAA,IAAI,GAAG,KAAK,CAA8B,SAAS,2EAAC;;AAGpD,IAAA,UAAU,GAAG,KAAK,CAA+B,SAAS,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,YAAA,EAAA,8BAAA,EAAA,CAAA,EAAI,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,SAAS,GAAG,SAAS,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC,GAAG;AAEpJ;;;;;AAKG;AACM,IAAA,aAAa,GAAG,KA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