@cngx/common 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.
- package/a11y/README.md +13 -16
- package/card/README.md +2 -21
- package/chart/README.md +5 -8
- package/data/README.md +45 -47
- package/dialog/README.md +12 -15
- package/display/README.md +5 -9
- package/fesm2022/cngx-common-a11y.mjs +140 -40
- package/fesm2022/cngx-common-a11y.mjs.map +1 -1
- package/fesm2022/cngx-common-card.mjs +157 -69
- package/fesm2022/cngx-common-card.mjs.map +1 -1
- package/fesm2022/cngx-common-chart.mjs +389 -92
- package/fesm2022/cngx-common-chart.mjs.map +1 -1
- package/fesm2022/cngx-common-data.mjs +311 -151
- package/fesm2022/cngx-common-data.mjs.map +1 -1
- package/fesm2022/cngx-common-dialog.mjs +167 -29
- package/fesm2022/cngx-common-dialog.mjs.map +1 -1
- package/fesm2022/cngx-common-display.mjs +445 -110
- package/fesm2022/cngx-common-display.mjs.map +1 -1
- package/fesm2022/cngx-common-interactive.mjs +2025 -435
- package/fesm2022/cngx-common-interactive.mjs.map +1 -1
- package/fesm2022/cngx-common-layout.mjs +188 -31
- package/fesm2022/cngx-common-layout.mjs.map +1 -1
- package/fesm2022/cngx-common-popover.mjs +711 -90
- package/fesm2022/cngx-common-popover.mjs.map +1 -1
- package/fesm2022/cngx-common-stepper.mjs +1258 -60
- package/fesm2022/cngx-common-stepper.mjs.map +1 -1
- package/fesm2022/cngx-common-tabs.mjs +247 -41
- package/fesm2022/cngx-common-tabs.mjs.map +1 -1
- package/fesm2022/cngx-common.mjs +2 -2
- package/fesm2022/cngx-common.mjs.map +1 -1
- package/interactive/README.md +5 -5
- package/layout/README.md +2 -2
- package/package.json +5 -4
- package/popover/README.md +8 -34
- package/stepper/README.md +49 -8
- package/tabs/README.md +6 -6
- package/theming/components/cngx-async.css +74 -0
- package/theming/components/cngx-backdrop.css +73 -0
- package/theming/components/cngx-badge.css +340 -0
- package/theming/components/cngx-bottom-sheet.css +201 -0
- package/theming/components/cngx-button-toggle.css +99 -0
- package/theming/components/cngx-dialog.css +358 -0
- package/theming/components/cngx-divider.css +145 -0
- package/theming/components/cngx-listbox.css +220 -0
- package/theming/components/cngx-menu.css +371 -0
- package/theming/components/cngx-ripple.css +116 -0
- package/theming/components/cngx-tooltip.css +265 -0
- package/theming/system-tokens.css +24 -0
- package/types/cngx-common-a11y.d.ts +136 -36
- package/types/cngx-common-card.d.ts +137 -22
- package/types/cngx-common-chart.d.ts +337 -40
- package/types/cngx-common-data.d.ts +277 -45
- package/types/cngx-common-dialog.d.ts +162 -22
- package/types/cngx-common-display.d.ts +422 -78
- package/types/cngx-common-interactive.d.ts +1862 -305
- package/types/cngx-common-layout.d.ts +191 -28
- package/types/cngx-common-popover.d.ts +632 -87
- package/types/cngx-common-stepper.d.ts +1110 -38
- package/types/cngx-common-tabs.d.ts +306 -32
- package/types/cngx-common.d.ts +1 -1
- package/README.md +0 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cngx-common-display.mjs","sources":["../../../projects/common/display/icon/icon.component.ts","../../../projects/common/display/divider/divider.directive.ts","../../../projects/common/display/avatar/avatar.component.ts","../../../projects/common/display/badge/badge.directive.ts","../../../projects/common/display/chip/chip.component.ts","../../../projects/common/display/checkbox-indicator/checkbox-indicator.component.ts","../../../projects/common/display/radio-indicator/radio-indicator.component.ts","../../../projects/common/display/tag-group/tag-group.token.ts","../../../projects/common/display/tag/config/tag.config.defaults.ts","../../../projects/common/display/tag/config/inject-tag-config.ts","../../../projects/common/display/tag/shared/inject-resolved-template.ts","../../../projects/common/display/tag/slots/tag-label.directive.ts","../../../projects/common/display/tag/slots/tag-prefix.directive.ts","../../../projects/common/display/tag/slots/tag-suffix.directive.ts","../../../projects/common/display/tag/tag.directive.ts","../../../projects/common/display/tag/config/provide-tag-config.ts","../../../projects/common/display/tag/config/features.ts","../../../projects/common/display/tag-group/slots/tag-group-accessory.directive.ts","../../../projects/common/display/tag-group/slots/tag-group-header.directive.ts","../../../projects/common/display/tag-group/tag-group.component.ts","../../../projects/common/display/public-api.ts","../../../projects/common/display/cngx-common-display.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n/**\n * Display atom for icons. Projects its content (font glyph, SVG, image, custom\n * element) and adds size, colour, and ARIA semantics.\n *\n * Decorative by default (`aria-hidden=\"true\"`); set `label` to make it\n * informative (`role=\"img\"`, `aria-label`).\n */\n@Component({\n selector: 'cngx-icon, [cngxIcon]',\n exportAs: 'cngxIcon',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: '<ng-content />',\n styleUrl: './icon.component.scss',\n host: {\n class: 'cngx-icon',\n '[attr.role]': 'label() ? \"img\" : null',\n '[attr.aria-label]': 'label() ?? null',\n '[attr.aria-hidden]': 'label() ? null : \"true\"',\n '[class.cngx-icon--xs]': 'size() === \"xs\"',\n '[class.cngx-icon--sm]': 'size() === \"sm\"',\n '[class.cngx-icon--md]': 'size() === \"md\"',\n '[class.cngx-icon--lg]': 'size() === \"lg\"',\n '[class.cngx-icon--xl]': 'size() === \"xl\"',\n },\n})\nexport class CngxIcon {\n /** Accessible label. When set, the icon is treated as informative content. */\n readonly label = input<string | undefined>(undefined);\n\n /** Size preset. Maps to CSS custom properties on the host. */\n readonly size = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Thin presentational separator with proper ARIA semantics.\n *\n * Renders `role=\"separator\"` + `aria-orientation` — required for assistive\n * technologies to announce the divider correctly. Visual style is driven by\n * CSS custom properties (`--cngx-divider-color`, `--cngx-divider-thickness`,\n * `--cngx-divider-inset`). Consumers apply their own styles through\n * `.cngx-divider` or override the variables.\n */\n@Directive({\n selector: 'cngx-divider, [cngxDivider]',\n exportAs: 'cngxDivider',\n standalone: true,\n host: {\n role: 'separator',\n class: 'cngx-divider',\n '[attr.aria-orientation]': 'orientation()',\n '[class.cngx-divider--vertical]': 'orientation() === \"vertical\"',\n '[class.cngx-divider--inset]': 'inset()',\n },\n})\nexport class CngxDivider {\n /** Layout axis. Horizontal dividers sit between rows; vertical between columns. */\n readonly orientation = input<'horizontal' | 'vertical'>('horizontal');\n /** Whether start/end padding is applied inside the separator. */\n readonly inset = input<boolean>(false);\n}\n","import { ChangeDetectionStrategy, Component, computed, input, signal } from '@angular/core';\n\n/**\n * Display atom for user/person/entity avatars.\n *\n * Rendering cascade:\n * 1. Image (`src` set and not errored).\n * 2. Initials (`initials` set).\n * 3. Projected content (`<ng-content>`) — typically a `<cngx-icon>`.\n *\n * Optional status indicator dot via `status`. Size and shape driven by\n * CSS custom properties.\n */\n@Component({\n selector: 'cngx-avatar',\n exportAs: 'cngxAvatar',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './avatar.component.scss',\n host: {\n class: 'cngx-avatar',\n '[class.cngx-avatar--xs]': 'size() === \"xs\"',\n '[class.cngx-avatar--sm]': 'size() === \"sm\"',\n '[class.cngx-avatar--md]': 'size() === \"md\"',\n '[class.cngx-avatar--lg]': 'size() === \"lg\"',\n '[class.cngx-avatar--xl]': 'size() === \"xl\"',\n '[class.cngx-avatar--square]': 'shape() === \"square\"',\n '[class.cngx-avatar--circle]': 'shape() === \"circle\"',\n },\n template: `\n @if (showImage()) {\n <img\n class=\"cngx-avatar__img\"\n [src]=\"src()!\"\n [alt]=\"alt() ?? ''\"\n (load)=\"handleLoad()\"\n (error)=\"handleError()\"\n />\n } @else if (initials()) {\n <span class=\"cngx-avatar__initials\" aria-hidden=\"true\">{{ initials() }}</span>\n } @else {\n <ng-content />\n }\n @if (status()) {\n <span\n class=\"cngx-avatar__status\"\n [class.cngx-avatar__status--online]=\"status() === 'online'\"\n [class.cngx-avatar__status--offline]=\"status() === 'offline'\"\n [class.cngx-avatar__status--busy]=\"status() === 'busy'\"\n [class.cngx-avatar__status--away]=\"status() === 'away'\"\n [attr.aria-label]=\"status()\"\n ></span>\n }\n `,\n})\nexport class CngxAvatar {\n /** Image URL. When set and loads successfully, the image is shown. */\n readonly src = input<string | undefined>(undefined);\n /** Alternate text for the image. Required when `src` is used. */\n readonly alt = input<string | undefined>(undefined);\n /** Initials fallback used when no image loads. */\n readonly initials = input<string | undefined>(undefined);\n /** Size preset driving CSS custom properties on the host. */\n readonly size = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n /** Visual shape. */\n readonly shape = input<'circle' | 'square'>('circle');\n /** Optional user-presence status indicator. */\n readonly status = input<'online' | 'offline' | 'busy' | 'away' | undefined>(undefined);\n\n private readonly imageLoadedState = signal(false);\n private readonly imageErroredState = signal(false);\n\n /** Whether the image loaded successfully. */\n readonly imageLoaded = this.imageLoadedState.asReadonly();\n\n /** Whether the fallback path (initials or ng-content) is currently rendered. */\n readonly showFallback = computed<boolean>(() => !this.showImage());\n\n /** Whether the `<img>` element should be rendered. */\n readonly showImage = computed<boolean>(() => !!this.src() && !this.imageErroredState());\n\n protected handleLoad(): void {\n this.imageLoadedState.set(true);\n this.imageErroredState.set(false);\n }\n\n protected handleError(): void {\n this.imageLoadedState.set(false);\n this.imageErroredState.set(true);\n }\n}\n","import {\n afterRenderEffect,\n computed,\n DestroyRef,\n Directive,\n effect,\n ElementRef,\n inject,\n input,\n Renderer2,\n} from '@angular/core';\n\n/** Color palette options for the badge. */\nexport type CngxBadgeColor = 'primary' | 'error' | 'warning' | 'neutral';\n\n/** Positioning anchors relative to the host element. */\nexport type CngxBadgePosition =\n | 'inline'\n | 'above-start'\n | 'above-end'\n | 'below-start'\n | 'below-end';\n\n/**\n * Generic counter / dot indicator that attaches a small floating element to\n * any host. Purely presentational (`aria-hidden=\"true\"`) — semantic meaning\n * must live on the host (`aria-label`).\n *\n * Supports:\n * - Numeric values (capped by `max` with \"N+\" fallback)\n * - String values (rendered verbatim)\n * - Boolean `true` (dot mode, no text)\n */\n@Directive({\n selector: '[cngxBadge]',\n exportAs: 'cngxBadge',\n standalone: true,\n host: {\n '[class.cngx-badge-host]': 'true',\n },\n})\nexport class CngxBadge {\n /** Raw value. Numbers show as text (respecting `max`); booleans flip dot mode; strings render verbatim. */\n readonly cngxBadge = input.required<number | string | boolean>();\n /** Color variant. */\n readonly color = input<CngxBadgeColor>('primary');\n /** Anchor position relative to the host. */\n readonly position = input<CngxBadgePosition>('above-end');\n /** Whether the indicator is hidden regardless of value. */\n readonly hidden = input<boolean>(false);\n /** Cap for numeric values — anything over renders as `\"{max}+\"`. */\n readonly max = input<number>(99);\n\n private readonly hostEl = inject(ElementRef<HTMLElement>);\n private readonly renderer = inject(Renderer2);\n private badgeEl: HTMLElement | null = null;\n\n /** Whether the badge shows as a solid dot (no text). */\n readonly isDotMode = computed<boolean>(() => this.cngxBadge() === true);\n\n /** Whether the badge is empty (no value, 0, empty string, or false). */\n readonly isEmpty = computed<boolean>(() => {\n const v = this.cngxBadge();\n if (typeof v === 'number') {\n return v === 0;\n }\n if (typeof v === 'boolean') {\n return v === false;\n }\n return v === '';\n });\n\n /** Displayed text, or `null` when in dot mode or empty. */\n readonly displayValue = computed<string | null>(() => {\n const v = this.cngxBadge();\n if (typeof v === 'boolean') {\n return null;\n }\n if (typeof v === 'number') {\n const m = this.max();\n return v > m ? `${m}+` : String(v);\n }\n return v;\n });\n\n constructor() {\n let hostPositionEnsured = false;\n\n afterRenderEffect(() => {\n if (hostPositionEnsured || this.position() === 'inline') {\n return;\n }\n const host = this.hostEl.nativeElement as HTMLElement;\n const current = getComputedStyle(host).position;\n if (current === 'static') {\n this.renderer.setStyle(host, 'position', 'relative');\n }\n hostPositionEnsured = true;\n });\n\n effect(() => {\n const shouldShow = !this.hidden() && (this.isDotMode() || !this.isEmpty());\n if (!shouldShow) {\n this.removeBadge();\n return;\n }\n this.ensureBadge();\n this.applyClasses();\n this.applyContent();\n });\n\n inject(DestroyRef).onDestroy(() => this.removeBadge());\n }\n\n private ensureBadge(): void {\n if (this.badgeEl) {\n return;\n }\n this.badgeEl = this.renderer.createElement('span') as HTMLElement;\n this.renderer.setAttribute(this.badgeEl, 'aria-hidden', 'true');\n this.renderer.addClass(this.badgeEl, 'cngx-badge-indicator');\n this.renderer.appendChild(this.hostEl.nativeElement, this.badgeEl);\n }\n\n private applyClasses(): void {\n if (!this.badgeEl) {\n return;\n }\n const COLORS: readonly CngxBadgeColor[] = ['primary', 'error', 'warning', 'neutral'];\n const POSITIONS: readonly CngxBadgePosition[] = [\n 'inline',\n 'above-start',\n 'above-end',\n 'below-start',\n 'below-end',\n ];\n for (const c of COLORS) {\n this.renderer.removeClass(this.badgeEl, `cngx-badge-indicator--${c}`);\n }\n for (const p of POSITIONS) {\n this.renderer.removeClass(this.badgeEl, `cngx-badge-indicator--${p}`);\n }\n this.renderer.addClass(this.badgeEl, `cngx-badge-indicator--${this.color()}`);\n this.renderer.addClass(this.badgeEl, `cngx-badge-indicator--${this.position()}`);\n if (this.isDotMode()) {\n this.renderer.addClass(this.badgeEl, 'cngx-badge-indicator--dot');\n } else {\n this.renderer.removeClass(this.badgeEl, 'cngx-badge-indicator--dot');\n }\n }\n\n private applyContent(): void {\n if (!this.badgeEl) {\n return;\n }\n const value = this.displayValue();\n this.badgeEl.textContent = value ?? '';\n }\n\n private removeBadge(): void {\n if (this.badgeEl?.parentNode) {\n this.renderer.removeChild(this.badgeEl.parentNode, this.badgeEl);\n }\n this.badgeEl = null;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n output,\n} from '@angular/core';\n\nimport { nextUid } from '@cngx/core/utils';\n\n/**\n * Chip / tag molecule — a small, self-contained pill rendering projected\n * content plus an optional close affordance.\n *\n * **Why this exists.**\n * Multi-value triggers (`CngxMultiSelect` today; `CngxMultiCombobox`,\n * `CngxTagInput`, toolbar filter-chips tomorrow) all want the same pill\n * surface and the same remove interaction. Inlining `<span>`/`<button>`\n * pairs per consumer (a) duplicates ARIA wiring and (b) defeats\n * atomic-decompose: ejecting a parent component drags a block of raw\n * markup into the consumer's source instead of a clean molecule.\n *\n * **Responsibilities (intentionally narrow).**\n * - Render projected `<ng-content>` as the chip label.\n * - Render a close button when `removable()` is true, emit `(remove)`\n * on click.\n * - Provide a stable DOM id for ARIA wiring (auto-generated or\n * consumer-supplied).\n *\n * **Non-responsibilities.**\n * - Selection state — parent tracks which value(s) are picked.\n * - Commit/async behaviour — remove simply fires an event; the parent\n * decides whether to write state directly or route through a commit\n * flow. This keeps the chip usable from any level of the stack.\n */\n@Component({\n selector: 'cngx-chip',\n exportAs: 'cngxChip',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './chip.component.css',\n host: {\n class: 'cngx-chip',\n '[attr.id]': 'resolvedId()',\n },\n template: `\n <span class=\"cngx-chip__label\">\n <ng-content />\n </span>\n @if (removable()) {\n <button\n type=\"button\"\n class=\"cngx-chip__remove\"\n [attr.aria-label]=\"removeAriaLabel()\"\n (click)=\"handleRemoveClick($event)\"\n >\n <!--\n Named content slot for the close glyph. Default renders the\n library's × — consumers project any icon component by tagging\n it with the attribute:\n\n <cngx-chip [removable]=\"true\">\n Label\n <my-icon cngxChipClose name=\"cross\" />\n </cngx-chip>\n\n Kept as an ng-content slot (not an input TemplateRef) so\n consumers can drop in their own component instances without\n the TemplateRef/outlet dance.\n -->\n <ng-content select=\"[cngxChipClose]\">\n <span aria-hidden=\"true\">✕</span>\n </ng-content>\n </button>\n }\n `,\n})\nexport class CngxChip {\n /**\n * Whether the close button is rendered. Typed as `boolean` — bind a\n * signal getter (`[removable]=\"!select.disabled()\"`) if the flag\n * needs to react to upstream state.\n */\n readonly removable = input<boolean>(false);\n\n /**\n * Optional DOM id. When unset, a stable auto-id (`cngx-chip-N`) is\n * applied so `aria-describedby` / `aria-labelledby` hooks from the\n * parent can reference the chip.\n */\n readonly id = input<string | null>(null);\n\n /**\n * A11y label for the close button. Defaults to a generic \"Remove\";\n * consumers with option labels on hand should supply something more\n * specific (e.g. `\"Remove Red\"`) so screen readers know which chip\n * the button removes.\n */\n readonly removeAriaLabel = input<string>('Remove');\n\n /** Fires when the user clicks the close button. */\n readonly remove = output<MouseEvent>();\n\n private readonly autoId = nextUid('cngx-chip');\n\n /** @internal — resolved DOM id for host binding. */\n protected readonly resolvedId = computed<string>(() => this.id() ?? this.autoId);\n\n /** @internal — delegates to the output; kept as a method so the click handler stays in the template. */\n protected handleRemoveClick(event: MouseEvent): void {\n this.remove.emit(event);\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, type TemplateRef } from '@angular/core';\n\n/**\n * Presentational checkbox / checkmark indicator.\n *\n * **Why this exists.**\n * Across the library, \"is this row selected?\" shows up as a bare\n * `<span class=\"cngx-select__check\">✓</span>` in the forms/select panel,\n * a future grid/tree cell will want a checkbox with indeterminate state, and\n * `ng decompose cngx-*` schematics should emit a consistent indicator shape\n * regardless of which list-like component they originated from. This atom\n * unifies all three surfaces behind a single presentational molecule —\n * purely decorative (`aria-hidden=\"true\"`), zero outputs, two variants,\n * full `--cngx-checkbox-*` theming.\n *\n * **Responsibilities (intentionally narrow).**\n * - Render a boxed checkbox or a bare checkmark glyph (`variant`).\n * - Express checked / indeterminate / disabled visual state via host classes\n * the consumer (or upstream CSS) can theme.\n * - Apply size presets (`sm` / `md` / `lg`) as CSS-custom-property modifiers.\n *\n * **Non-responsibilities.**\n * - Selection state — controlled entirely by the parent via `checked` /\n * `indeterminate` inputs.\n * - Interaction — no `click` output, no keyboard handling. The parent (option\n * row, tree cell, grid row) owns the hit area and toggle semantics.\n * - Accessibility announcements — `aria-hidden=\"true\"` unconditionally. The\n * truth about \"selected\" is communicated by the row's own `aria-selected`\n * / `role=\"option\"` ARIA, not by this decoration.\n */\n@Component({\n selector: 'cngx-checkbox-indicator',\n exportAs: 'cngxCheckboxIndicator',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './checkbox-indicator.component.css',\n imports: [NgTemplateOutlet],\n host: {\n class: 'cngx-checkbox-indicator',\n 'aria-hidden': 'true',\n '[class.cngx-checkbox-indicator--checkbox]': \"variant() === 'checkbox'\",\n '[class.cngx-checkbox-indicator--checkmark]': \"variant() === 'checkmark'\",\n '[class.cngx-checkbox-indicator--checked]': 'checked()',\n '[class.cngx-checkbox-indicator--indeterminate]': 'indeterminate()',\n '[class.cngx-checkbox-indicator--disabled]': 'disabled()',\n '[class.cngx-checkbox-indicator--sm]': \"size() === 'sm'\",\n '[class.cngx-checkbox-indicator--md]': \"size() === 'md'\",\n '[class.cngx-checkbox-indicator--lg]': \"size() === 'lg'\",\n },\n template: `\n <ng-template #defaultDashGlyph>\n <span aria-hidden=\"true\" class=\"cngx-checkbox-indicator__dash\">−</span>\n </ng-template>\n <ng-template #defaultCheckGlyph>\n <span aria-hidden=\"true\" class=\"cngx-checkbox-indicator__check\">✓</span>\n </ng-template>\n\n @if (variant() === 'checkbox') {\n <span class=\"cngx-checkbox-indicator__box\">\n @if (indeterminate()) {\n <ng-container *ngTemplateOutlet=\"dashGlyph() ?? defaultDashGlyph\" />\n } @else if (checked()) {\n <ng-container *ngTemplateOutlet=\"checkGlyph() ?? defaultCheckGlyph\" />\n }\n </span>\n } @else {\n @if (indeterminate()) {\n <ng-container *ngTemplateOutlet=\"dashGlyph() ?? defaultDashGlyph\" />\n } @else if (checked()) {\n <ng-container *ngTemplateOutlet=\"checkGlyph() ?? defaultCheckGlyph\" />\n }\n }\n `,\n})\nexport class CngxCheckboxIndicator {\n /**\n * Visual form. `'checkbox'` renders a bordered box containing the glyph;\n * `'checkmark'` renders the bare glyph only (no box). Consumers pick the\n * mode-appropriate form themselves — `@cngx/forms/select` resolves it\n * from its `selectionIndicatorVariant` config.\n */\n readonly variant = input<'checkbox' | 'checkmark'>('checkbox');\n\n /** Whether the current value is selected. */\n readonly checked = input<boolean>(false);\n\n /**\n * Partial-selection state. Takes precedence over `checked` — when both\n * are true, the dash glyph is rendered. Intended for tree / group rows\n * where some-but-not-all descendants are selected.\n */\n readonly indeterminate = input<boolean>(false);\n\n /**\n * Disabled visual state. Purely cosmetic (opacity dim) — the indicator\n * never intercepts events, so this is a hint, not a block.\n */\n readonly disabled = input<boolean>(false);\n\n /** Size preset. Maps to a `--cngx-checkbox-size` custom property. */\n readonly size = input<'sm' | 'md' | 'lg'>('md');\n\n /**\n * Consumer-supplied template for the check glyph. When `null` (default),\n * the built-in `<span class=\"cngx-checkbox-indicator__check\">✓</span>`\n * is rendered. When set, the consumer template replaces the glyph span\n * entirely — the `__check` class is NOT applied to the custom content\n * (consumers own the styling of their replacement).\n *\n * Convention-compatible with `*cngxSelectCheck` / `*cngxSelectOptionLabel`:\n * pass a `TemplateRef<void>` obtained via `#myGlyphTpl`. Useful for\n * `CngxTreeCheckboxHeader` or other consumers that need a custom glyph\n * without forking the atom.\n */\n readonly checkGlyph = input<TemplateRef<void> | null>(null);\n\n /**\n * Consumer-supplied template for the indeterminate dash glyph. Mirrors\n * {@link checkGlyph} — defaults to the built-in\n * `<span class=\"cngx-checkbox-indicator__dash\">−</span>`.\n */\n readonly dashGlyph = input<TemplateRef<void> | null>(null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, input, type TemplateRef } from '@angular/core';\n\n/**\n * Presentational radio indicator — circle with a centred dot when checked.\n *\n * **Why this exists.**\n * The library's `@cngx/forms/select` panel currently composes\n * {@link import('../checkbox-indicator/checkbox-indicator.component').CngxCheckboxIndicator}\n * for both single-select (`'checkmark'`) and multi-select (`'checkbox'`)\n * indicators. The form-primitives spec (Brain vs. Skin) introduces a\n * radio variant — `selectionIndicatorVariant: 'radio'` for single-select\n * panels — that needs the dot-in-circle visual independently of the\n * box/checkmark shapes. This atom is the radio counterpart: same\n * decorative-only contract, same `--cngx-*` theming surface, same\n * `aria-hidden=\"true\"` discipline. Future single-value form atoms in\n * `@cngx/common/interactive` will compose this same skin once they\n * land in their own phase.\n *\n * **Responsibilities (intentionally narrow).**\n * - Render a circle frame and, when `checked` is true, a centred dot.\n * - Express checked / disabled visual state via host classes the\n * consumer (or upstream CSS) can theme.\n * - Apply size presets (`sm` / `md` / `lg`) as CSS-custom-property\n * modifiers — same scale token as `CngxCheckboxIndicator` so the\n * two atoms render at matching sizes inside a select panel.\n *\n * **Non-responsibilities.**\n * - Selection state — controlled by the parent via `checked`.\n * - No `indeterminate` — radios are exclusive by definition; the\n * group enforces single-selection at the brain layer.\n * - Interaction — no `click` output, no keyboard handling. The radio\n * row (or the consuming select panel) owns the hit area.\n * - Accessibility announcements — `aria-hidden=\"true\"` unconditionally.\n * Selection is announced via the row's `role=\"radio\"` /\n * `aria-checked` ARIA, never by this decoration.\n */\n@Component({\n selector: 'cngx-radio-indicator',\n exportAs: 'cngxRadioIndicator',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrl: './radio-indicator.component.css',\n imports: [NgTemplateOutlet],\n host: {\n class: 'cngx-radio-indicator',\n 'aria-hidden': 'true',\n '[class.cngx-radio-indicator--checked]': 'checked()',\n '[class.cngx-radio-indicator--disabled]': 'disabled()',\n '[class.cngx-radio-indicator--sm]': \"size() === 'sm'\",\n '[class.cngx-radio-indicator--md]': \"size() === 'md'\",\n '[class.cngx-radio-indicator--lg]': \"size() === 'lg'\",\n },\n template: `\n <ng-template #defaultDotGlyph>\n <span aria-hidden=\"true\" class=\"cngx-radio-indicator__dot\"></span>\n </ng-template>\n\n <span class=\"cngx-radio-indicator__circle\">\n @if (checked()) {\n <ng-container *ngTemplateOutlet=\"dotGlyph() ?? defaultDotGlyph\" />\n }\n </span>\n `,\n})\nexport class CngxRadioIndicator {\n /** Whether the current value is selected. */\n readonly checked = input<boolean>(false);\n\n /**\n * Disabled visual state. Purely cosmetic (opacity dim) — the indicator\n * never intercepts events, so this is a hint, not a block.\n */\n readonly disabled = input<boolean>(false);\n\n /** Size preset. Maps to a `--cngx-radio-indicator-size` custom property. */\n readonly size = input<'sm' | 'md' | 'lg'>('md');\n\n /**\n * Consumer-supplied template for the centred dot. When `null` (default),\n * the built-in `<span class=\"cngx-radio-indicator__dot\"></span>` is\n * rendered. When set, the consumer template replaces the dot span\n * entirely — the `__dot` class is NOT applied to the custom content\n * (consumers own the styling of their replacement).\n *\n * Convention-compatible with `CngxCheckboxIndicator.checkGlyph`: pass a\n * `TemplateRef<void>` obtained via `#myDotTpl`. Useful for\n * design-system overrides that want a brand-glyph dot without\n * forking the atom.\n */\n readonly dotGlyph = input<TemplateRef<void> | null>(null);\n}\n","import { InjectionToken, type Signal } from '@angular/core';\n\n/**\n * Public host contract that `CngxTagGroup` and any future\n * non-component implementer must satisfy. Surfaced through\n * `CNGX_TAG_GROUP` so child `CngxTag` directives can read parent state\n * reactively without injecting a concrete parent class.\n *\n * The field is typed `Signal<boolean>` (the public parent type),\n * NOT `InputSignal<boolean>` — test doubles and programmatic groups\n * must be able to satisfy the contract without owning an Angular\n * `input()`. The `CngxTagGroup` implementer narrows its\n * `InputSignal<boolean>` to this public type via direct assignment\n * (`readonly semanticList: Signal<boolean> = this.semanticListInput`).\n * `InputSignal` already structurally extends `Signal`, so no runtime\n * conversion is needed — and `.asReadonly()` does NOT exist on\n * `InputSignal` (it lives on `WritableSignal` only); the type-only\n * narrowing is the canonical bridge.\n */\nexport interface CngxTagGroupHost {\n readonly semanticList: Signal<boolean>;\n}\n\n/**\n * DI token for parent `CngxTagGroup` <-> child `CngxTag` ARIA wiring.\n * Atomic-decompose rule 4 — communication via `InjectionToken`,\n * never via concrete parent class injection.\n *\n * `CngxTag` injects the token `{ optional: true }` and, when present,\n * derives its own `role=\"listitem\"` from `host.semanticList()` via a\n * single `computed()`. When absent (Tag rendered outside any group),\n * the role attribute stays unset.\n *\n * Defaults to no provider — the token resolves to `null` for any\n * `CngxTag` that lives outside a `CngxTagGroup`.\n */\nexport const CNGX_TAG_GROUP = new InjectionToken<CngxTagGroupHost>('CNGX_TAG_GROUP');\n","import { InjectionToken } from '@angular/core';\n\nimport type { CngxTagConfig } from './tag.config';\n\n/**\n * Library defaults for the tag-family configuration cascade. English\n * by default per `feedback_en_default_locale`; locale overrides ride\n * the future `withAriaLabels` feature once it lands.\n *\n * Exported for intra-lib consumers (`provideTagConfig` deep-merges\n * with this base) but **NOT** re-exported from `public-api.ts` —\n * downstream consumers should reach the defaults via\n * `inject(CNGX_TAG_CONFIG)` so `provideTagConfig` /\n * `provideTagConfigAt` overrides take precedence.\n *\n * @internal\n */\nexport const CNGX_TAG_DEFAULTS: CngxTagConfig = {\n defaults: {\n variant: 'filled',\n color: 'neutral',\n size: 'md',\n truncate: false,\n maxWidth: null,\n },\n groupDefaults: {\n gap: 'sm',\n align: 'start',\n semanticList: false,\n },\n colors: {},\n templates: {},\n};\n\n/**\n * App-wide configuration cascade for the tag family. Resolves in\n * priority order:\n *\n * 1. Per-instance Input binding.\n * 2. `provideTagConfigAt(...)` in a parent component's `viewProviders`.\n * 3. `provideTagConfig(...)` at the application root.\n * 4. Library defaults (this token's `factory`).\n *\n * `providedIn: 'root'` with a default factory means consumers never\n * need to provide the token explicitly — `inject(CNGX_TAG_CONFIG)`\n * always resolves. Consumers who want overrides call\n * `provideTagConfig(...features)` in `bootstrapApplication` providers\n * (root cascade) or `provideTagConfigAt(...features)` in a component's\n * `viewProviders` (sub-tree cascade).\n */\nexport const CNGX_TAG_CONFIG = new InjectionToken<CngxTagConfig>(\n 'CNGX_TAG_CONFIG',\n {\n providedIn: 'root',\n factory: () => CNGX_TAG_DEFAULTS,\n },\n);\n","import { inject } from '@angular/core';\n\nimport type { CngxTagConfig } from './tag.config';\nimport { CNGX_TAG_CONFIG } from './tag.config.defaults';\n\n/**\n * Convenience accessor for the tag-family configuration cascade.\n * Runs in injection context; resolves through the priority chain\n * (per-instance Input → `provideTagConfigAt` → `provideTagConfig`\n * → library defaults).\n *\n * Equivalent to `inject(CNGX_TAG_CONFIG)` — the helper exists so\n * consumers don't need to import the token directly. Mirrors\n * `injectSelectConfig` in `@cngx/forms/select`.\n *\n * ```ts\n * export class MyDirective {\n * private readonly cfg = injectTagConfig();\n * readonly variant = input<CngxTagVariant>(\n * this.cfg.defaults?.variant ?? 'filled',\n * );\n * }\n * ```\n */\nexport function injectTagConfig(): CngxTagConfig {\n return inject(CNGX_TAG_CONFIG);\n}\n","import { computed, inject, type Signal, type TemplateRef } from '@angular/core';\n\nimport { CNGX_TAG_CONFIG } from '../config/tag.config.defaults';\n\n/**\n * Keys into the upcoming `CngxTagConfig.templates` cascade. Phase 2\n * adds the `CngxTagGroup`-side keys (`'header'`, `'accessory'`);\n * Phase 4 commit 5 narrows the union to\n * `keyof CngxTagConfig['templates']` once the config interface\n * ships. Keeping the union tight to the keys actually passed at\n * current call sites prevents typos (e.g. passing an unwired key)\n * from going unnoticed until the corresponding phase merges.\n *\n * @internal\n */\nexport type CngxTagTemplateKey =\n | 'label'\n | 'prefix'\n | 'suffix'\n | 'header'\n | 'accessory';\n\n/**\n * Directive shape accepted by {@link injectResolvedTagTemplate}.\n * Every `*cngxTag*` template-slot directive in `@cngx/common/display`\n * conforms — the helper only looks at `.templateRef`.\n *\n * @internal\n */\ninterface TagTemplateRefHolder<Ctx> {\n readonly templateRef: TemplateRef<Ctx>;\n}\n\n/**\n * Wraps a `contentChild` directive query in a 3-stage slot-resolution\n * cascade:\n *\n * 1. Instance directive (highest) — consumer-projected\n * `<ng-template cngxTag*>` template.\n * 2. `CNGX_TAG_CONFIG.templates[<key>]` (app-wide cascade via\n * `provideTagConfig` / `provideTagConfigAt`).\n * 3. `null` (the host's default `<ng-template>` body wins, e.g.\n * `CngxTag`'s `<span class=\"cngx-tag__label\"><ng-content /></span>`\n * label fallback).\n *\n * `inject(CNGX_TAG_CONFIG, { optional: true })` mirrors the select-\n * shared helper exactly — `providedIn: 'root'` always resolves so\n * the optional flag is defensive, not load-bearing.\n *\n * **Why a copy and not an import from `@cngx/forms/select/shared`.**\n * Sheriff blocks `lib:common-display` from importing\n * `lib:forms-select`. Hoisting the helper to `@cngx/core/utils`\n * would let both libs share it, but that refactor touches every\n * select call site and belongs in a separate utils-consolidation\n * plan (see\n * `.internal/architektur/plans/tag-family-architectural-a-plus-pass-plan.md`,\n * \"Architectural decisions (locked)\" — `injectResolvedTemplate\n * location` row).\n *\n * @internal\n */\nexport function injectResolvedTagTemplate<Ctx>(\n directive: Signal<TagTemplateRefHolder<Ctx> | undefined>,\n configKey: CngxTagTemplateKey,\n): Signal<TemplateRef<Ctx> | null> {\n const config = inject(CNGX_TAG_CONFIG, { optional: true });\n return computed<TemplateRef<Ctx> | null>(() => {\n const instance = directive()?.templateRef;\n if (instance) {\n return instance;\n }\n const global = config?.templates?.[configKey] as\n | TemplateRef<Ctx>\n | null\n | undefined;\n return global ?? null;\n });\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagLabelContext } from './tag-slot.context';\n\n/**\n * Override template for the label region of `<span cngxTag>`.\n *\n * The default label slot wraps projected content in\n * `<span class=\"cngx-tag__label\">` so `text-overflow: ellipsis`\n * has a shrinkable inner with `min-width: 0`. Replace this slot\n * when you need a different inner element (e.g. `<bdi>` for\n * bidi-safe rendering, an inline link, or a richer label\n * composition with icons + counts).\n *\n * Replacing the label drops the default ellipsis hook — the\n * consumer template owns the overflow strategy.\n *\n * ```html\n * <span cngxTag [color]=\"'success'\">\n * <ng-template cngxTagLabel>\n * <bdi>{{ user.name }}</bdi>\n * </ng-template>\n * </span>\n * ```\n */\n@Directive({\n selector: 'ng-template[cngxTagLabel]',\n standalone: true,\n exportAs: 'cngxTagLabel',\n})\nexport class CngxTagLabel {\n readonly templateRef = inject<TemplateRef<CngxTagLabelContext>>(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagPrefixContext } from './tag-slot.context';\n\n/**\n * Override template for content rendered BEFORE the label region of\n * `<span cngxTag>`. Use for icon glyphs, status dots, count badges,\n * or any per-tag prefix decoration.\n *\n * The slot has no default body — when not projected, no DOM is\n * rendered in the prefix position.\n *\n * ```html\n * <span cngxTag [color]=\"'warning'\">\n * <ng-template cngxTagPrefix>\n * <cngx-icon name=\"alert-triangle\" />\n * </ng-template>\n * Action required\n * </span>\n * ```\n */\n@Directive({\n selector: 'ng-template[cngxTagPrefix]',\n standalone: true,\n exportAs: 'cngxTagPrefix',\n})\nexport class CngxTagPrefix {\n readonly templateRef = inject<TemplateRef<CngxTagPrefixContext>>(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagSuffixContext } from './tag-slot.context';\n\n/**\n * Override template for content rendered AFTER the label region of\n * `<span cngxTag>`. Use for trailing chevrons, sort indicators, or\n * any per-tag suffix decoration.\n *\n * The slot has no default body — when not projected, no DOM is\n * rendered in the suffix position. Removable affordances belong on\n * `CngxChip` (which ships its own remove button + announcer\n * wiring), not as a Tag suffix slot.\n *\n * ```html\n * <span cngxTag [color]=\"'info'\">\n * Filter\n * <ng-template cngxTagSuffix>\n * <cngx-icon name=\"chevron-down\" />\n * </ng-template>\n * </span>\n * ```\n */\n@Directive({\n selector: 'ng-template[cngxTagSuffix]',\n standalone: true,\n exportAs: 'cngxTagSuffix',\n})\nexport class CngxTagSuffix {\n readonly templateRef = inject<TemplateRef<CngxTagSuffixContext>>(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { CNGX_TAG_GROUP } from '../tag-group/tag-group.token';\nimport { injectTagConfig } from './config/inject-tag-config';\nimport { injectResolvedTagTemplate } from './shared/inject-resolved-template';\nimport { CngxTagLabel } from './slots/tag-label.directive';\nimport { CngxTagPrefix } from './slots/tag-prefix.directive';\nimport { CngxTagSuffix } from './slots/tag-suffix.directive';\nimport type { CngxTagLabelContext } from './slots/tag-slot.context';\n\n/** Visual variant. `filled` is the default solid pill; `outline` swaps fill for border; `subtle` softens both. */\nexport type CngxTagVariant = 'filled' | 'outline' | 'subtle';\n\n/**\n * Semantic colour key. The five named values cascade through the\n * matching `--cngx-tag-{name}-bg/-color/-border` custom properties\n * with English-readable fallback hex values (see `tag.css`).\n *\n * Open-ended `(string & {})` accepts any consumer-defined palette\n * key (e.g. `'my-brand'`); the directive emits it as a `data-color`\n * attribute so consumers can author `[data-color=\"my-brand\"]`\n * styles against their own design tokens. Re-evaluation trigger\n * toward a `withTagColors()` cascade is tracked in\n * `display-accepted-debt.md §1`.\n */\nexport type CngxTagColor =\n | 'neutral'\n | 'success'\n | 'warning'\n | 'error'\n | 'info'\n | (string & {});\n\n/**\n * Density. `md` is the default. Each step scales padding + font-size\n * via the `--cngx-tag-{sm|lg|xl}-padding` and matching font-size\n * custom properties (see `tag.css`). Sizing of nested atoms\n * (`cngx-icon`, `cngx-avatar`) is the consumer's call — Tag does not\n * cascade a sub-token contract.\n */\nexport type CngxTagSize = 'sm' | 'md' | 'lg' | 'xl';\n\n/**\n * Decorative tag / label / badge atom.\n *\n * **Why this exists.**\n * `CngxChip` (`@cngx/common/display`) covers the *removable pill*\n * surface inside chip strips. `CngxTag` covers the long tail of\n * static labels: status indicators on a list row, taxonomy badges\n * on a card, role markers in an admin table, pre-filter chips in a\n * dashboard sidebar. Two narrow atoms with non-overlapping\n * concerns beat one chip-tag hybrid with mode flags\n * (Pillar 3 — Komposition statt Konfiguration).\n *\n * **Responsibilities (intentionally narrow).**\n * - Apply variant / color / size / truncate / maxWidth host\n * classes + style bindings to any host element (`<span>`,\n * `<a>`, `<button>`, `<div>`).\n * - When projected inside a `<cngx-tag-group [semanticList]=\"true\">`,\n * reactively expose `role=\"listitem\"` so the parent's\n * `role=\"list\"` semantics propagate without consumer wiring.\n * The cascade reads `CNGX_TAG_GROUP.semanticList()` through a\n * single `computed<'listitem' | null>()` (Pillar 1 —\n * derivation; Pillar 2 — ARIA in the reactive graph).\n *\n * **Non-responsibilities.**\n * - Removable affordance — use `CngxChip` instead.\n * - Clickable / interactive semantics — wrap with native\n * `<button cngxTag>` or `<a cngxTag>` for keyboard +\n * focus + Enter/Space.\n * - Configuration cascade — deferred (see\n * `display-accepted-debt.md §1`).\n */\n@Component({\n selector: '[cngxTag], cngx-tag',\n exportAs: 'cngxTag',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n // Encapsulation `None` — the visual variant matrix relies on\n // host-class + `[data-color]` attribute selectors (.cngx-tag--filled\n // [data-color='neutral'] etc). Emulated encapsulation rewrites those\n // rules to `[_ngcontent-xxx]` form which never matches the host\n // (carries `_nghost-xxx`), so the chrome silently drops at runtime.\n // Mirrors `mat-*` convention — atoms ship globally consumable\n // classes; thematic values cascade through `--cngx-tag-*` custom\n // properties for consumer overrides.\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet],\n // Three positional slots: prefix → label → suffix. The default\n // label branch wraps `<ng-content />` in `cngx-tag__label` so the\n // inner span can own `overflow: hidden` + `min-width: 0` independent\n // of the host's `inline-flex` layout. Without that wrapper,\n // `text-overflow: ellipsis` applied to the host fails — flex items\n // don't shrink under ellipsis by default and the projected text\n // node has no shrinkable parent. Consumers who project\n // `*cngxTagLabel` own their own ellipsis hook.\n template: `\n @if (prefixTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n @if (labelTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n } @else {\n <span class=\"cngx-tag__label\"><ng-content /></span>\n }\n @if (suffixTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n `,\n styleUrls: ['./shared/tag-base.css', './tag.css'],\n host: {\n class: 'cngx-tag',\n '[class.cngx-tag--filled]': \"variant() === 'filled'\",\n '[class.cngx-tag--outline]': \"variant() === 'outline'\",\n '[class.cngx-tag--subtle]': \"variant() === 'subtle'\",\n '[class.cngx-tag--sm]': \"size() === 'sm'\",\n '[class.cngx-tag--md]': \"size() === 'md'\",\n '[class.cngx-tag--lg]': \"size() === 'lg'\",\n '[class.cngx-tag--xl]': \"size() === 'xl'\",\n '[class.cngx-tag--truncate]': 'truncate()',\n '[attr.data-color]': 'color()',\n '[style.max-width]': 'maxWidth()',\n '[attr.role]': 'roleAttr()',\n },\n})\nexport class CngxTag {\n /**\n * Snapshot of the resolved tag-family config at construction\n * time. Drives the per-input fallback defaults below — Angular's\n * input-default rule means per-instance `[variant]=\"...\"`\n * bindings still win.\n *\n * **Field-init ordering is load-bearing.** TypeScript class-field\n * initialisers run in source order; `cfg` MUST be declared before\n * any input field that reads `this.cfg`. A reorder pass that\n * moved this declaration below the inputs would silently produce\n * `undefined` at the input's init call site (runtime crash on\n * first construction). Per the\n * `tag-family-architectural-a-plus-pass` plan Architectural-\n * Decisions table — flagged in cngx-plan-review 2026-04-29.\n */\n private readonly cfg = injectTagConfig();\n\n /** Visual variant. `filled` (default) | `outline` | `subtle`. */\n readonly variant = input<CngxTagVariant>(this.cfg.defaults?.variant ?? 'filled');\n\n /**\n * Semantic colour. Predefined keys (`neutral` default, `success`,\n * `warning`, `error`, `info`) plus any consumer-defined string\n * which is emitted verbatim as a `data-color` attribute.\n */\n readonly color = input<CngxTagColor>(this.cfg.defaults?.color ?? 'neutral');\n\n /** Density. `md` (default) | `sm` | `lg` | `xl`. */\n readonly size = input<CngxTagSize>(this.cfg.defaults?.size ?? 'md');\n\n /**\n * When `true`, applies `text-overflow: ellipsis` + `white-space: nowrap`\n * to the inner `.cngx-tag__label` span. Pair with `[maxWidth]` for a\n * hard upper bound. Visual-only — the full text remains in the DOM\n * for AT.\n *\n * Deliberately CSS-only — `CngxTruncate` (`@cngx/common/layout`) is the\n * right tool for multi-line clamp + expand/collapse state on long-form\n * text, but its reactive machinery (effect + ResizeObserver + isClamped\n * signal) is overkill for a chip-style single-line overflow.\n */\n readonly truncate = input<boolean>(this.cfg.defaults?.truncate ?? false);\n\n /**\n * Optional CSS `max-width` (e.g. `'12rem'`, `'200px'`). Bound\n * inline so consumers don't need a CSS authoring step for ad-hoc\n * width caps. `null` clears the binding.\n */\n readonly maxWidth = input<string | null>(this.cfg.defaults?.maxWidth ?? null);\n\n /**\n * Optional parent group (Phase 3 ships `CngxTagGroup` as the\n * default implementer). When present and `semanticList()` is\n * `true`, the host carries `role=\"listitem\"` so the parent's\n * `role=\"list\"` propagates. When absent, no synthetic role is\n * set — `<a cngxTag>` keeps its native `role=\"link\"`,\n * `<button cngxTag>` keeps its `role=\"button\"`, etc.\n */\n private readonly group = inject(CNGX_TAG_GROUP, { optional: true });\n\n /**\n * Per-instance label-slot directive — projected as\n * `<ng-template cngxTagLabel>...</ng-template>`. Resolved through\n * {@link injectResolvedTagTemplate} so consumers can override the\n * default `<span class=\"cngx-tag__label\">` wrapper without forking\n * the directive.\n */\n protected readonly labelSlot = contentChild(CngxTagLabel);\n\n /** Per-instance prefix-slot directive — projected before the label. */\n protected readonly prefixSlot = contentChild(CngxTagPrefix);\n\n /** Per-instance suffix-slot directive — projected after the label. */\n protected readonly suffixSlot = contentChild(CngxTagSuffix);\n\n /**\n * Resolved label template. Phase 1 cascade: instance slot → host\n * `@else` default (`<span class=\"cngx-tag__label\"><ng-content /></span>`).\n * Phase 4 commit 5 inserts `CNGX_TAG_CONFIG.templates.label` as a\n * middle tier without touching this call site.\n */\n protected readonly labelTpl = injectResolvedTagTemplate(\n this.labelSlot,\n 'label',\n );\n\n /** Resolved prefix template. Same 2-stage cascade as {@link labelTpl}. */\n protected readonly prefixTpl = injectResolvedTagTemplate(\n this.prefixSlot,\n 'prefix',\n );\n\n /** Resolved suffix template. Same 2-stage cascade as {@link labelTpl}. */\n protected readonly suffixTpl = injectResolvedTagTemplate(\n this.suffixSlot,\n 'suffix',\n );\n\n /**\n * Reactive bundle exposed to every slot's `*ngTemplateOutletContext`.\n * The three slot context interfaces are structurally identical in\n * Phase 1; the same computed source serves all three. Consumer\n * templates `let-variant=\"variant\"` etc. read the live state without\n * injecting the directive.\n *\n * Explicit structural `equal` fn — without it, a fresh literal each\n * CD cycle would force `ngTemplateOutlet` to rebind embedded views\n * even when no input changed. Per `reference_signal_architecture` §1\n * Equality Rule: every `computed` returning an object MUST pass an\n * `equal` fn.\n */\n protected readonly slotContext = computed<CngxTagLabelContext>(\n () => ({\n $implicit: undefined as void,\n variant: this.variant(),\n color: this.color(),\n size: this.size(),\n truncate: this.truncate(),\n }),\n {\n equal: (a, b) =>\n a.variant === b.variant &&\n a.color === b.color &&\n a.size === b.size &&\n a.truncate === b.truncate,\n },\n );\n\n /**\n * Reactive `role` attribute. Returns `'listitem'` when projected\n * inside a `<cngx-tag-group [semanticList]=\"true\">`; `null`\n * otherwise. No explicit `equal` fn passed — primitive string\n * output, default `Object.is` is correct (per\n * `reference_signal_architecture` §1: equality discipline applies\n * to object/array results, not primitives).\n *\n * @internal\n */\n protected readonly roleAttr = computed<'listitem' | null>(() =>\n this.group?.semanticList() ? 'listitem' : null,\n );\n}\n","import {\n inject,\n makeEnvironmentProviders,\n type EnvironmentProviders,\n type Provider,\n} from '@angular/core';\n\nimport type { CngxTagConfig } from './tag.config';\nimport {\n CNGX_TAG_CONFIG,\n CNGX_TAG_DEFAULTS,\n} from './tag.config.defaults';\n\n/**\n * Discriminated-union shape returned by `withTagDefaults` /\n * `withTagGroupDefaults` / `withTagColors` / `withTagSlots`. The\n * reducer in `provideTagConfig` / `provideTagConfigAt` matches on\n * `kind` and merges `payload` into the corresponding config sub-tree.\n *\n * Mirrors the `CngxSelectConfigFeature` discriminated-union shape\n * from `@cngx/forms/select` so the consumer's mental model is one\n * across feature areas.\n */\nexport type CngxTagConfigFeature =\n | {\n readonly kind: 'defaults';\n readonly payload: NonNullable<CngxTagConfig['defaults']>;\n }\n | {\n readonly kind: 'groupDefaults';\n readonly payload: NonNullable<CngxTagConfig['groupDefaults']>;\n }\n | {\n readonly kind: 'colors';\n readonly payload: NonNullable<CngxTagConfig['colors']>;\n }\n | {\n readonly kind: 'templates';\n readonly payload: NonNullable<CngxTagConfig['templates']>;\n };\n\n/**\n * Reduces a list of feature objects into a partial config — last\n * write wins per sub-tree. Inner objects are spread-merged so\n * partial overrides (e.g. just `variant` without `color`) compose\n * cleanly with prior writes.\n *\n * @internal\n */\nfunction reduceFeatures(\n features: readonly CngxTagConfigFeature[],\n): Partial<CngxTagConfig> {\n const out: {\n defaults?: NonNullable<CngxTagConfig['defaults']>;\n groupDefaults?: NonNullable<CngxTagConfig['groupDefaults']>;\n colors?: NonNullable<CngxTagConfig['colors']>;\n templates?: NonNullable<CngxTagConfig['templates']>;\n } = {};\n for (const f of features) {\n switch (f.kind) {\n case 'defaults':\n out.defaults = { ...out.defaults, ...f.payload };\n break;\n case 'groupDefaults':\n out.groupDefaults = { ...out.groupDefaults, ...f.payload };\n break;\n case 'colors':\n out.colors = { ...out.colors, ...f.payload };\n break;\n case 'templates':\n out.templates = { ...out.templates, ...f.payload };\n break;\n }\n }\n return out;\n}\n\n/**\n * Two-level deep merge: top-level keys (`defaults`/`groupDefaults`/\n * `colors`/`templates`/`ariaLabels`) are spread-merged so the\n * partial fills in missing keys without nuking unrelated config\n * sub-trees. Inner objects are flat (no nested objects beyond one\n * level) so a single spread per key is sufficient.\n *\n * @internal\n */\nfunction mergeConfig(\n base: CngxTagConfig,\n partial: Partial<CngxTagConfig>,\n): CngxTagConfig {\n return {\n defaults: { ...base.defaults, ...partial.defaults },\n groupDefaults: { ...base.groupDefaults, ...partial.groupDefaults },\n colors: { ...base.colors, ...partial.colors },\n templates: { ...base.templates, ...partial.templates },\n };\n}\n\n/**\n * Application-root configuration cascade for the tag family. Pass\n * any combination of `withTagDefaults` / `withTagGroupDefaults` /\n * `withTagColors` / `withTagSlots` features in\n * `bootstrapApplication`'s providers array.\n *\n * Resolution priority (high → low):\n * 1. Per-instance Input binding.\n * 2. `provideTagConfigAt(...)` in a parent component's\n * `viewProviders`.\n * 3. `provideTagConfig(...)` at the application root.\n * 4. Library defaults (`CNGX_TAG_DEFAULTS`).\n *\n * The provider deep-merges supplied features with the library\n * defaults so consumers only declare keys they want to override.\n *\n * ```ts\n * bootstrapApplication(AppComponent, {\n * providers: [\n * provideTagConfig(\n * withTagDefaults({ variant: 'subtle' }),\n * withTagColors({\n * 'my-brand': {\n * bg: '#4f46e5',\n * color: '#ffffff',\n * border: 'transparent',\n * },\n * }),\n * ),\n * ],\n * });\n * ```\n */\nexport function provideTagConfig(\n ...features: CngxTagConfigFeature[]\n): EnvironmentProviders {\n // Empty-features call: don't override the token. The root factory\n // already returns `CNGX_TAG_DEFAULTS` — re-providing a fresh\n // `mergeConfig(...)` would allocate identical content under a new\n // reference and bust downstream identity comparisons that consumers\n // of `injectTagConfig()` may rely on.\n if (features.length === 0) {\n return makeEnvironmentProviders([]);\n }\n const partial = reduceFeatures(features);\n return makeEnvironmentProviders([\n {\n provide: CNGX_TAG_CONFIG,\n useValue: mergeConfig(CNGX_TAG_DEFAULTS, partial),\n },\n ]);\n}\n\n/**\n * Component-scoped configuration cascade for the tag family. Pass\n * any combination of feature factories in a parent component's\n * `viewProviders` array.\n *\n * Unlike `provideTagConfig` (root-only), `provideTagConfigAt` injects\n * the parent injector's `CNGX_TAG_CONFIG` value (resolves through\n * the priority chain — root provider, library defaults, or another\n * `provideTagConfigAt` further up) and deep-merges the supplied\n * features on top. This produces cumulative cascade behaviour:\n * descendant tag instances see the merged config, sibling sub-trees\n * keep the inherited value untouched.\n *\n * ```ts\n * @Component({\n * selector: 'admin-section',\n * viewProviders: [\n * provideTagConfigAt(\n * withTagDefaults({ size: 'sm' }),\n * ),\n * ],\n * template: '<span cngxTag>Compact</span>',\n * })\n * class AdminSection {}\n * ```\n */\nexport function provideTagConfigAt(\n ...features: CngxTagConfigFeature[]\n): Provider[] {\n // Empty-features call: parent value flows through untouched.\n // Skipping the factory preserves reference identity through the\n // sub-tree.\n if (features.length === 0) {\n return [];\n }\n const partial = reduceFeatures(features);\n return [\n {\n provide: CNGX_TAG_CONFIG,\n useFactory: () => {\n const parent = inject(CNGX_TAG_CONFIG, { skipSelf: true });\n return mergeConfig(parent, partial);\n },\n },\n ];\n}\n","import type { CngxTagConfig } from './tag.config';\nimport type { CngxTagConfigFeature } from './provide-tag-config';\n\n/**\n * Override the default `CngxTag` input values (`variant`, `color`,\n * `size`, `truncate`, `maxWidth`). Per-instance bindings still win\n * over the cascade — this only sets the *fallback* per directive.\n *\n * ```ts\n * provideTagConfig(\n * withTagDefaults({ variant: 'subtle', size: 'sm' }),\n * );\n * ```\n */\nexport function withTagDefaults(\n payload: NonNullable<CngxTagConfig['defaults']>,\n): CngxTagConfigFeature {\n return { kind: 'defaults', payload };\n}\n\n/**\n * Override the default `CngxTagGroup` input values (`gap`, `align`,\n * `semanticList`). Per-instance bindings still win.\n *\n * ```ts\n * provideTagConfig(\n * withTagGroupDefaults({ gap: 'md', semanticList: true }),\n * );\n * ```\n */\nexport function withTagGroupDefaults(\n payload: NonNullable<CngxTagConfig['groupDefaults']>,\n): CngxTagConfigFeature {\n return { kind: 'groupDefaults', payload };\n}\n\n/**\n * Register consumer-defined colour entries. Each key adds a\n * `[data-color=\"<key>\"]` cascade entry resolved through\n * `--cngx-tag-bg/-color/-border` custom properties at the consumer's\n * own CSS layer.\n *\n * The five predefined keys (`neutral`/`success`/`warning`/`error`/\n * `info`) ship in `tag.css` and are NOT part of this map; passing\n * them here is a no-op against the predefined cascade. Consumer\n * keys composed via `data-color=\"my-brand\"` resolve through the\n * registered entry.\n *\n * ```ts\n * provideTagConfig(\n * withTagColors({\n * 'my-brand': {\n * bg: '#4f46e5',\n * color: '#ffffff',\n * border: 'transparent',\n * },\n * }),\n * );\n * ```\n */\nexport function withTagColors(\n payload: NonNullable<CngxTagConfig['colors']>,\n): CngxTagConfigFeature {\n return { kind: 'colors', payload };\n}\n\n/**\n * Register app-wide template overrides for the five Tag-family\n * slots. Resolved in tier 2 of the slot cascade — instance\n * directives still win, the host's `<ng-template>` default body is\n * the floor.\n *\n * **Staging note.** This factory ships ahead of a documented second\n * consumer — the headless `CngxTag` + `CngxTagGroup` are the only\n * current consumers. The staging is intentional and tracked in\n * `display-accepted-debt.md §2` (Material organism deferral): a\n * future `cngx-mat-tag` / `cngx-mat-tag-group` wrapper inherits the\n * cascade for free without forking. If §2 is rejected outright,\n * `withTagSlots` re-evaluates as a sunsetting candidate at the same\n * time. Per the cngx-review architecture lens, the surface is\n * tracked rather than left silent.\n *\n * ```ts\n * @Component({\n * template: `\n * <ng-template #brandLabel let-color=\"color\">\n * <strong>{{ color }}</strong>\n * </ng-template>\n * `,\n * })\n * class AppShell {\n * readonly brandLabel = viewChild.required<TemplateRef<unknown>>('brandLabel');\n * }\n *\n * // Then in providers:\n * provideTagConfig(withTagSlots({ label: shell.brandLabel() }));\n * ```\n */\nexport function withTagSlots(\n payload: NonNullable<CngxTagConfig['templates']>,\n): CngxTagConfigFeature {\n return { kind: 'templates', payload };\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagGroupAccessoryContext } from './tag-group-slot.context';\n\n/**\n * Override template for the accessory zone of `<cngx-tag-group>` —\n * projected BELOW the row of tags. Use for clear-all buttons,\n * sort toggles that span the group, secondary actions, or any\n * trailing decoration the consumer wants to bundle with the\n * layout.\n *\n * The slot has no default body — when not projected, no DOM is\n * rendered below the tag row. The reactive count of projected\n * `<span cngxTag>` siblings is exposed via the slot context so\n * consumer \"Clear all (5)\" patterns work without injection.\n *\n * ```html\n * <cngx-tag-group [semanticList]=\"true\" label=\"Active filters\">\n * <span cngxTag>Frontend</span>\n * <span cngxTag>Backend</span>\n * <ng-template cngxTagGroupAccessory let-count=\"count\">\n * <button (click)=\"clearAll()\">Clear all ({{ count }})</button>\n * </ng-template>\n * </cngx-tag-group>\n * ```\n */\n@Directive({\n selector: 'ng-template[cngxTagGroupAccessory]',\n standalone: true,\n exportAs: 'cngxTagGroupAccessory',\n})\nexport class CngxTagGroupAccessory {\n readonly templateRef = inject<TemplateRef<CngxTagGroupAccessoryContext>>(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagGroupHeaderContext } from './tag-group-slot.context';\n\n/**\n * Override template for the header zone of `<cngx-tag-group>` —\n * projected ABOVE the row of tags. Use for label-prefix\n * (\"Filters\"), count badges, sort toggles that span the group, or\n * any header decoration the consumer wants to bundle with the\n * layout.\n *\n * The slot has no default body — when not projected, no DOM is\n * rendered above the tag row. The reactive count of projected\n * `<span cngxTag>` siblings is exposed via the slot context for\n * consumer \"Filters ({{ count }})\" patterns without injection.\n *\n * ```html\n * <cngx-tag-group [semanticList]=\"true\" label=\"Filters\">\n * <ng-template cngxTagGroupHeader let-count=\"count\">\n * <strong>Filters ({{ count }})</strong>\n * </ng-template>\n * <span cngxTag>Frontend</span>\n * <span cngxTag>Backend</span>\n * </cngx-tag-group>\n * ```\n */\n@Directive({\n selector: 'ng-template[cngxTagGroupHeader]',\n standalone: true,\n exportAs: 'cngxTagGroupHeader',\n})\nexport class CngxTagGroupHeader {\n readonly templateRef = inject<TemplateRef<CngxTagGroupHeaderContext>>(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n contentChildren,\n input,\n isDevMode,\n type Signal,\n untracked,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { injectTagConfig } from '../tag/config/inject-tag-config';\nimport { injectResolvedTagTemplate } from '../tag/shared/inject-resolved-template';\nimport { CngxTag } from '../tag/tag.directive';\nimport { CngxTagGroupAccessory } from './slots/tag-group-accessory.directive';\nimport { CngxTagGroupHeader } from './slots/tag-group-header.directive';\nimport type { CngxTagGroupHeaderContext } from './slots/tag-group-slot.context';\nimport { CNGX_TAG_GROUP, type CngxTagGroupHost } from './tag-group.token';\n\n/**\n * Spacing between projected tags. Maps to the\n * `--cngx-tag-group-gap{,-xs,-md}` CSS custom property cascade with\n * fallback defaults (see `tag-group.component.css`). `sm` is the\n * default — matches the tag's own padding rhythm.\n *\n * - `xs` → 0.25rem (tight chip strips)\n * - `sm` → 0.5rem (default)\n * - `md` → 0.75rem (roomy taxonomy clusters)\n */\nexport type CngxTagGroupGap = 'xs' | 'sm' | 'md';\n\n/**\n * Cross-axis distribution of projected tags within the flex-wrap row.\n * Resolves to a `justify-content` value:\n *\n * - `start` (default) → `flex-start`\n * - `center` → `center`\n * - `end` → `flex-end`\n * - `between` → `space-between`\n *\n * Only meaningful when the group has more horizontal room than its\n * intrinsic content; otherwise the row hugs its tags.\n */\nexport type CngxTagGroupAlign = 'start' | 'center' | 'end' | 'between';\n\n/**\n * Layout-only container for a row of `CngxTag` siblings.\n *\n * **Why this exists.**\n * Pairs with `CngxTag` to satisfy the long tail of \"render N taxonomy\n * badges in a row, optionally as a semantic list\" needs. The component\n * owns *only* the flex-wrap layout (gap / align), the `role=\"list\"` +\n * `aria-label` ARIA opt-in, and the `<ng-template>`-driven header /\n * accessory slot zones. The cascade that flips each child's\n * `role=\"listitem\"` lives on the `CngxTag` side (`tag.directive.ts`\n * reads `CNGX_TAG_GROUP.semanticList()` through a `computed`); this\n * component just provides the implementer of that token (Pillar 1 —\n * derivation rather than imperative sync; Pillar 2 — ARIA in the\n * reactive graph).\n *\n * **Responsibilities (intentionally narrow).**\n * - Apply gap / align host-class modifiers + thematic CSS custom\n * properties.\n * - Bind `role=\"list\"` reactively from `[semanticList]`.\n * - Bind `aria-label` reactively from `[label]`.\n * - Provide `CNGX_TAG_GROUP` so descendant `CngxTag` directives can\n * read `semanticList()` without injecting this concrete class\n * (atomic-decompose rule 4).\n * - Project consumer-supplied `*cngxTagGroupHeader` /\n * `*cngxTagGroupAccessory` templates above / below the tag row,\n * exposing the live group state plus `count` of projected\n * `CngxTag` children via the slot context.\n *\n * **Non-responsibilities.**\n * - No `role=\"listitem\"` cascade implementation here — that lives in\n * `CngxTag` so the cascade survives any future non-component\n * implementer of `CngxTagGroupHost` (test doubles, programmatic\n * groups).\n * - No `hostDirectives` — decorative atoms have no shared cross-cutting\n * behaviour to compose. Per atomic-decompose rule 1 the absence is\n * the right call until a future shared concern lands.\n * - Configuration cascade (`provideTagConfig`) — deferred (see\n * `display-accepted-debt.md §1`).\n */\n@Component({\n selector: 'cngx-tag-group',\n exportAs: 'cngxTagGroup',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet],\n // Encapsulation `None` mirrors `CngxTag` — host-class modifier rules\n // (`.cngx-tag-group--gap-md`, `.cngx-tag-group--align-between`) need to\n // match the host element directly. Emulated encapsulation rewrites\n // those to `[_ngcontent-xxx]` selectors that never match the host\n // (which carries `_nghost-xxx`), silently dropping the chrome at\n // runtime. Same convention as `mat-*` containers.\n encapsulation: ViewEncapsulation.None,\n // Three-zone vertical stack: header (default empty), row (default\n // `<ng-content />` carrying the projected `<span cngxTag>` siblings),\n // accessory (default empty). The row class is the stable layout\n // anchor — gap and align modifier classes target it via descendant\n // selectors regardless of whether header / accessory render.\n template: `\n @if (headerTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n <div class=\"cngx-tag-group__row\">\n <ng-content />\n </div>\n @if (accessoryTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n `,\n styleUrls: ['../tag/shared/tag-base.css', './tag-group.component.css'],\n providers: [{ provide: CNGX_TAG_GROUP, useExisting: CngxTagGroup }],\n host: {\n class: 'cngx-tag-group',\n '[class.cngx-tag-group--gap-xs]': \"gap() === 'xs'\",\n '[class.cngx-tag-group--gap-md]': \"gap() === 'md'\",\n '[class.cngx-tag-group--align-start]': \"align() === 'start'\",\n '[class.cngx-tag-group--align-center]': \"align() === 'center'\",\n '[class.cngx-tag-group--align-end]': \"align() === 'end'\",\n '[class.cngx-tag-group--align-between]': \"align() === 'between'\",\n '[attr.role]': \"semanticList() ? 'list' : null\",\n '[attr.aria-label]': 'label() ?? null',\n },\n})\nexport class CngxTagGroup implements CngxTagGroupHost {\n /**\n * Snapshot of the resolved tag-family config at construction\n * time. Drives the per-input fallback defaults below.\n *\n * **Field-init ordering is load-bearing** — must be declared\n * before any input field that reads `this.cfg.groupDefaults?.*`.\n * Per the `tag-family-architectural-a-plus-pass` plan\n * Architectural-Decisions table.\n */\n private readonly cfg = injectTagConfig();\n\n /** Spacing between projected tags. `sm` (default) | `xs` | `md`. */\n readonly gap = input<CngxTagGroupGap>(this.cfg.groupDefaults?.gap ?? 'sm');\n\n /** Cross-axis distribution. `start` (default) | `center` | `end` | `between`. */\n readonly align = input<CngxTagGroupAlign>(this.cfg.groupDefaults?.align ?? 'start');\n\n /**\n * Optional label rendered as `aria-label` on the host. When the\n * group also opts into `[semanticList]=\"true\"`, AT reads \"Tags,\n * list, N items\"; without `semanticList`, the label sits on a\n * decorative grouping (no `role`).\n */\n readonly label = input<string | undefined>(undefined);\n\n /**\n * Input-binding hook for the public `[semanticList]` attribute.\n * Accessed by Angular's template type-checker on consumer\n * markup — therefore must be class-public (Angular rejects\n * `private` per NG1053; `protected` blocks external template\n * bindings). The hook is intentionally **not** the contract\n * surface — that role belongs to `semanticList` below, typed\n * `Signal<boolean>` so test doubles and programmatic\n * implementers of `CngxTagGroupHost` can satisfy the interface\n * without owning an Angular `input()`.\n *\n * @internal\n */\n readonly semanticListInput = input<boolean>(\n this.cfg.groupDefaults?.semanticList ?? false,\n { alias: 'semanticList' },\n );\n\n /**\n * Public host-contract field. `InputSignal<boolean>` already\n * structurally extends `Signal<boolean>`, so the assignment narrows\n * the public type without a runtime conversion. Read by\n * `CngxTag.roleAttr` through `CNGX_TAG_GROUP` to derive\n * `role=\"listitem\"` reactively.\n */\n readonly semanticList: Signal<boolean> = this.semanticListInput;\n\n /**\n * Live count of projected `<span cngxTag>` direct children. Drives\n * the `count` field of the header / accessory slot contexts so\n * consumer \"Filters ({{ count }})\" patterns work without\n * injection. Default `Object.is` equality is correct for a\n * primitive number.\n */\n readonly count = computed<number>(() => this.projectedTags().length);\n\n /**\n * Per-instance header-slot directive — projected as\n * `<ng-template cngxTagGroupHeader>...</ng-template>`. Resolved\n * through {@link injectResolvedTagTemplate} so consumers can\n * project a header without wrapping the group component.\n */\n protected readonly headerSlot = contentChild(CngxTagGroupHeader);\n\n /** Per-instance accessory-slot directive — projected below the row. */\n protected readonly accessorySlot = contentChild(CngxTagGroupAccessory);\n\n /**\n * Resolved header template. Phase 2 cascade: instance slot → null\n * (no DOM rendered above the row when not projected). Phase 4\n * commit 5 inserts `CNGX_TAG_CONFIG.templates.header` as a middle\n * tier without touching this call site.\n */\n protected readonly headerTpl = injectResolvedTagTemplate(\n this.headerSlot,\n 'header',\n );\n\n /** Resolved accessory template. Same 2-stage cascade as {@link headerTpl}. */\n protected readonly accessoryTpl = injectResolvedTagTemplate(\n this.accessorySlot,\n 'accessory',\n );\n\n /**\n * Projected `<span cngxTag>` siblings. Default-scoped\n * (`descendants: false`) so tags inside consumer-projected header /\n * accessory templates do NOT inflate the count — the count\n * represents the row's own taxonomy items, not arbitrary tag\n * usage inside the slot zones.\n */\n private readonly projectedTags = contentChildren(CngxTag);\n\n /**\n * Reactive bundle exposed to header / accessory slots'\n * `*ngTemplateOutletContext`. The two slot context interfaces are\n * structurally identical in Phase 2; the same computed source\n * serves both. Consumer templates `let-count=\"count\"` etc. read\n * the live state without injecting the directive.\n *\n * Explicit structural `equal` fn — without it, a fresh literal\n * each CD cycle would force `ngTemplateOutlet` to rebind embedded\n * views even when no input changed. Per\n * `reference_signal_architecture` §1 Equality Rule: every\n * `computed` returning an object MUST pass an `equal` fn.\n */\n protected readonly slotContext = computed<CngxTagGroupHeaderContext>(\n () => ({\n $implicit: undefined as void,\n gap: this.gap(),\n align: this.align(),\n semanticList: this.semanticList(),\n label: this.label(),\n count: this.count(),\n }),\n {\n equal: (a, b) =>\n a.gap === b.gap &&\n a.align === b.align &&\n a.semanticList === b.semanticList &&\n a.label === b.label &&\n a.count === b.count,\n },\n );\n\n constructor() {\n // Dev-mode advisory: `<cngx-tag-group [label]=\"...\">` without\n // `[semanticList]=\"true\"` lands the `aria-label` on a generic\n // `<div>` (no `role=\"list\"`). AT then exposes the aria-label\n // but doesn't surface \"list, N items\" — likely not the\n // consumer's intent. One-shot post-mount check; tree-shaken in\n // prod via the `isDevMode()` guard.\n //\n // `afterNextRender` is the canonical hook for one-shot\n // post-mount checks (per `reference_signal_architecture` Hook\n // Selection Matrix); `effect()` would re-fire on every input\n // change. Reads are wrapped in `untracked()` defensively —\n // `afterNextRender` does not establish a reactive scope, but\n // the explicit wrapper documents one-shot intent and matches\n // the cngx style-guide bias toward signal-read hygiene.\n afterNextRender(() => {\n const { label, semanticList } = untracked(() => ({\n label: this.label(),\n semanticList: this.semanticList(),\n }));\n if (isDevMode() && label && !semanticList) {\n console.warn(\n '[cngx-tag-group] [label] is bound without [semanticList]=\"true\"; ' +\n 'the aria-label lands on a generic <div>. Add ' +\n '[semanticList]=\"true\" to expose role=\"list\" + aria-label, ' +\n 'or remove [label].',\n );\n }\n });\n }\n}\n","/**\n * @module @cngx/common/display\n *\n * Display-only atoms: no behavior, no state beyond presentational flags.\n * Icons, avatars, badges, dividers — building blocks that render content\n * without reacting to user input. For interactive atoms (ripple, async-click,\n * nav badges) see `@cngx/common/interactive`.\n */\nexport { CngxIcon } from './icon/icon.component';\nexport { CngxDivider } from './divider/divider.directive';\nexport { CngxAvatar } from './avatar/avatar.component';\nexport {\n CngxBadge,\n type CngxBadgeColor,\n type CngxBadgePosition,\n} from './badge/badge.directive';\nexport { CngxChip } from './chip/chip.component';\nexport { CngxCheckboxIndicator } from './checkbox-indicator/checkbox-indicator.component';\nexport { CngxRadioIndicator } from './radio-indicator/radio-indicator.component';\nexport {\n CngxTag,\n type CngxTagVariant,\n type CngxTagColor,\n type CngxTagSize,\n} from './tag/tag.directive';\nexport { type CngxTagConfig } from './tag/config/tag.config';\nexport { CNGX_TAG_CONFIG } from './tag/config/tag.config.defaults';\nexport {\n provideTagConfig,\n provideTagConfigAt,\n type CngxTagConfigFeature,\n} from './tag/config/provide-tag-config';\nexport { injectTagConfig } from './tag/config/inject-tag-config';\nexport {\n withTagDefaults,\n withTagGroupDefaults,\n withTagColors,\n withTagSlots,\n} from './tag/config/features';\nexport { CngxTagLabel } from './tag/slots/tag-label.directive';\nexport { CngxTagPrefix } from './tag/slots/tag-prefix.directive';\nexport { CngxTagSuffix } from './tag/slots/tag-suffix.directive';\nexport {\n type CngxTagLabelContext,\n type CngxTagPrefixContext,\n type CngxTagSuffixContext,\n} from './tag/slots/tag-slot.context';\nexport {\n CNGX_TAG_GROUP,\n type CngxTagGroupHost,\n} from './tag-group/tag-group.token';\nexport {\n CngxTagGroup,\n type CngxTagGroupGap,\n type CngxTagGroupAlign,\n} from './tag-group/tag-group.component';\nexport { CngxTagGroupHeader } from './tag-group/slots/tag-group-header.directive';\nexport { CngxTagGroupAccessory } from './tag-group/slots/tag-group-accessory.directive';\nexport {\n type CngxTagGroupHeaderContext,\n type CngxTagGroupAccessoryContext,\n} from './tag-group/slots/tag-group-slot.context';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEA;;;;;;AAMG;MAoBU,QAAQ,CAAA;;AAEV,IAAA,KAAK,GAAG,KAAK,CAAqB,SAAS,4EAAC;;AAG5C,IAAA,IAAI,GAAG,KAAK,CAAmC,IAAI,2EAAC;uGALlD,QAAQ,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAR,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,QAAQ,qvBAdT,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,yfAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAcf,QAAQ,EAAA,UAAA,EAAA,CAAA;kBAnBpB,SAAS;+BACE,uBAAuB,EAAA,QAAA,EACvB,UAAU,EAAA,UAAA,EACR,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EACrC,gBAAgB,EAAA,IAAA,EAEpB;AACJ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EAAA,MAAA,EAAA,CAAA,w1CAAA,CAAA,EAAA;gfAsE4C,kBAAkB,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,MAGf,qBAAqB,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,UAAA,CAAA,MA0BpB,OAAO,CAAA,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;ACpO1D;;;;;;;AAOG;;ACPH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"cngx-common-display.mjs","sources":["../../../projects/common/display/icon/icon.component.ts","../../../projects/common/display/segmented-progress/segmented-progress.component.ts","../../../projects/common/display/divider/divider.directive.ts","../../../projects/common/display/avatar/avatar.component.ts","../../../projects/common/display/badge/badge.directive.ts","../../../projects/common/display/chip/chip.component.ts","../../../projects/common/display/checkbox-indicator/checkbox-indicator.component.ts","../../../projects/common/display/radio-indicator/radio-indicator.component.ts","../../../projects/common/display/tag-group/tag-group.token.ts","../../../projects/common/display/tag/config/tag.config.defaults.ts","../../../projects/common/display/tag/config/inject-tag-config.ts","../../../projects/common/display/tag/shared/inject-resolved-template.ts","../../../projects/common/display/tag/slots/tag-label.directive.ts","../../../projects/common/display/tag/slots/tag-prefix.directive.ts","../../../projects/common/display/tag/slots/tag-suffix.directive.ts","../../../projects/common/display/tag/tag.directive.ts","../../../projects/common/display/tag/config/provide-tag-config.ts","../../../projects/common/display/tag/config/features.ts","../../../projects/common/display/tag-group/slots/tag-group-accessory.directive.ts","../../../projects/common/display/tag-group/slots/tag-group-header.directive.ts","../../../projects/common/display/tag-group/tag-group.component.ts","../../../projects/common/display/public-api.ts","../../../projects/common/display/cngx-common-display.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input, ViewEncapsulation } from '@angular/core';\n\n/**\n * Display atom for icons. Projects its content (font glyph, SVG, image, custom\n * element) and adds size, color, and ARIA semantics.\n *\n * Decorative by default (`aria-hidden=\"true\"`); set `label` to make it\n * informative (`role=\"img\"`, `aria-label`).\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/icon/icon.component.ts\n * @selector cngx-icon\n * @since 0.1.0\n * @relatedTo CngxAvatar, CngxBadge, CngxChip\n * <example-url>http://localhost:4200/#/common/display/icon/decorative-vs-informative</example-url>\n * <example-url>http://localhost:4200/#/common/display/icon/sizes</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Component({\n selector: 'cngx-icon, [cngxIcon]',\n exportAs: 'cngxIcon',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: '<ng-content />',\n styleUrls: ['./icon.component.css'],\n host: {\n class: 'cngx-icon',\n '[attr.role]': 'label() ? \"img\" : null',\n '[attr.aria-label]': 'label() ?? null',\n '[attr.aria-hidden]': 'label() ? null : \"true\"',\n '[class.cngx-icon--xs]': 'size() === \"xs\"',\n '[class.cngx-icon--sm]': 'size() === \"sm\"',\n '[class.cngx-icon--md]': 'size() === \"md\"',\n '[class.cngx-icon--lg]': 'size() === \"lg\"',\n '[class.cngx-icon--xl]': 'size() === \"xl\"',\n },\n})\nexport class CngxIcon {\n /** Accessible label. When set, the icon is treated as informative content. */\n readonly label = input<string | undefined>(undefined);\n\n /** Size preset. Maps to CSS custom properties on the host. */\n readonly size = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n type Signal,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * State of a single segment in a {@link CngxSegmentedProgress}.\n *\n * @category common/display\n */\nexport type SegmentState = 'done' | 'active' | 'todo' | 'error';\n\nconst segmentsEqual = (a: readonly SegmentState[], b: readonly SegmentState[]): boolean =>\n a.length === b.length && a.every((s, i) => s === b[i]);\n\n/**\n * Generic segmented position indicator - a discrete progress bar split\n * into N segments. Reusable outside the stepper (lightboxes, carousels,\n * onboarding), so it carries zero stepper dependency and no async\n * semantics - distinct from the continuous `<cngx-progress>` loading bar.\n *\n * Drive it positionally with `[value]` / `[total]` (the segment states\n * derive automatically), or hand it an explicit `[segments]` array when\n * you need per-segment control (e.g. an `error` segment). ARIA\n * (`role=\"progressbar\"` + the `aria-value*` set + `aria-valuetext`) lives\n * in the `computed()` graph (Pillar 2).\n *\n * ```html\n * <cngx-segmented-progress [value]=\"3\" [total]=\"8\" />\n * <cngx-segmented-progress [segments]=\"['done', 'error', 'active', 'todo']\" />\n * ```\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/segmented-progress/segmented-progress.component.ts\n * @since 0.1.0\n * @relatedTo CngxStepper, CngxBadge\n * <example-url>http://localhost:4200/#/common/display/segmented-progress/value-total</example-url>\n * <example-url>http://localhost:4200/#/common/display/segmented-progress/lightbox-position</example-url>\n * <example-url>http://localhost:4200/#/common/display/segmented-progress/error-segment</example-url>\n */\n@Component({\n selector: 'cngx-segmented-progress',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'cngx-segmented-progress',\n role: 'progressbar',\n '[attr.aria-valuemin]': '0',\n '[attr.aria-valuemax]': 'max()',\n '[attr.aria-valuenow]': 'now()',\n '[attr.aria-valuetext]': 'valueText()',\n },\n template: `\n @for (segment of resolvedSegments(); track $index) {\n <span\n class=\"cngx-segmented-progress__segment\"\n [attr.data-state]=\"segment\"\n aria-hidden=\"true\"\n ></span>\n }\n `,\n styleUrl: './segmented-progress.css',\n})\nexport class CngxSegmentedProgress {\n /** Number of completed positions (0-based count). Drives derivation. */\n readonly value = input<number>(0);\n\n /** Total number of segments when deriving from `[value]`. */\n readonly total = input<number>(0);\n\n /**\n * Explicit per-segment states. When set, wins over `[value]`/`[total]`\n * derivation - use it for an `error` segment or any non-linear layout.\n */\n readonly segments = input<readonly SegmentState[] | undefined>(undefined);\n\n /**\n * Override the `aria-valuetext` string. Receives `(now, max)` - the\n * completed-segment count and the total segment count. Mirrors\n * `CngxStepperCount.format`; the default is `(now, max) => \\`${now} of\n * ${max}\\``. Supply a localised closure for non-English position text\n * (e.g. `(n, m) => \\`Schritt ${n} von ${m}\\``).\n */\n readonly valueTextFormat = input<((now: number, max: number) => string) | undefined>(undefined);\n\n /** Segments actually rendered: explicit when supplied, else derived. */\n readonly resolvedSegments: Signal<readonly SegmentState[]> = computed(\n () => {\n const explicit = this.segments();\n if (explicit) {\n return explicit;\n }\n const total = Math.max(0, Math.trunc(this.total()));\n const value = Math.max(0, Math.min(Math.trunc(this.value()), total));\n return Array.from({ length: total }, (_, i): SegmentState =>\n i < value ? 'done' : i === value ? 'active' : 'todo',\n );\n },\n { equal: segmentsEqual },\n );\n\n /** `aria-valuemax` - segment count. */\n protected readonly max: Signal<number> = computed(() => this.resolvedSegments().length);\n\n /** `aria-valuenow` - count of completed (`done`) segments; the active in-progress segment is not counted. */\n protected readonly now: Signal<number> = computed(() => {\n const explicit = this.segments();\n if (explicit) {\n return explicit.filter((s) => s === 'done').length;\n }\n return Math.max(0, Math.min(Math.trunc(this.value()), this.max()));\n });\n\n /** `aria-valuetext` - human-readable position via the resolved format closure. */\n protected readonly valueText: Signal<string> = computed(() => {\n const fmt = this.valueTextFormat() ?? ((now: number, max: number) => `${now} of ${max}`);\n return fmt(this.now(), this.max());\n });\n}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Thin presentational separator with proper ARIA semantics.\n *\n * Renders `role=\"separator\"` + `aria-orientation` - required for assistive\n * technologies to announce the divider correctly. Visual style is driven by\n * CSS custom properties (`--cngx-divider-color`, `--cngx-divider-thickness`,\n * `--cngx-divider-inset`). Consumers apply their own styles through\n * `.cngx-divider` or override the variables.\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/divider/divider.directive.ts\n * @selector cngx-divider\n * @since 0.1.0\n * <example-url>http://localhost:4200/#/common/display/divider/horizontal-vs-vertical</example-url>\n * <example-url>http://localhost:4200/#/common/display/divider/inset</example-url>\n */\n@Directive({\n selector: 'cngx-divider, [cngxDivider]',\n exportAs: 'cngxDivider',\n standalone: true,\n host: {\n role: 'separator',\n class: 'cngx-divider',\n '[attr.aria-orientation]': 'orientation()',\n '[class.cngx-divider--vertical]': 'orientation() === \"vertical\"',\n '[class.cngx-divider--inset]': 'inset()',\n },\n})\nexport class CngxDivider {\n /** Layout axis. Horizontal dividers sit between rows; vertical between columns. */\n readonly orientation = input<'horizontal' | 'vertical'>('horizontal');\n /** Whether start/end padding is applied inside the separator. */\n readonly inset = input<boolean>(false);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * Display atom for user/person/entity avatars.\n *\n * Rendering cascade:\n * 1. Image (`src` set and not errored).\n * 2. Initials (`initials` set).\n * 3. Projected content (`<ng-content>`) - typically a `<cngx-icon>`.\n *\n * Optional status indicator dot via `status`. Size and shape driven by\n * CSS custom properties.\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/avatar/avatar.component.ts\n * @since 0.1.0\n * @relatedTo CngxIcon, CngxBadge, CngxChip\n * <example-url>http://localhost:4200/#/common/display/avatar/cascade-image-initials-fallback</example-url>\n * <example-url>http://localhost:4200/#/common/display/avatar/shapes-and-status</example-url>\n * <example-url>http://localhost:4200/#/common/display/avatar/sizes</example-url>\n */\n@Component({\n selector: 'cngx-avatar',\n exportAs: 'cngxAvatar',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./avatar.component.css'],\n host: {\n class: 'cngx-avatar',\n '[class.cngx-avatar--xs]': 'size() === \"xs\"',\n '[class.cngx-avatar--sm]': 'size() === \"sm\"',\n '[class.cngx-avatar--md]': 'size() === \"md\"',\n '[class.cngx-avatar--lg]': 'size() === \"lg\"',\n '[class.cngx-avatar--xl]': 'size() === \"xl\"',\n '[class.cngx-avatar--square]': 'shape() === \"square\"',\n '[class.cngx-avatar--circle]': 'shape() === \"circle\"',\n },\n template: `\n @if (showImage()) {\n <img\n class=\"cngx-avatar__img\"\n [src]=\"src()!\"\n [alt]=\"alt() ?? ''\"\n (load)=\"handleLoad()\"\n (error)=\"handleError()\"\n />\n } @else if (initials()) {\n <span class=\"cngx-avatar__initials\" aria-hidden=\"true\">{{ initials() }}</span>\n } @else {\n <ng-content />\n }\n @if (status()) {\n <span\n class=\"cngx-avatar__status\"\n [class.cngx-avatar__status--online]=\"status() === 'online'\"\n [class.cngx-avatar__status--offline]=\"status() === 'offline'\"\n [class.cngx-avatar__status--busy]=\"status() === 'busy'\"\n [class.cngx-avatar__status--away]=\"status() === 'away'\"\n [attr.aria-label]=\"status()\"\n ></span>\n }\n `,\n})\nexport class CngxAvatar {\n /** Image URL. When set and loads successfully, the image is shown. */\n readonly src = input<string | undefined>(undefined);\n /** Alternate text for the image. Required when `src` is used. */\n readonly alt = input<string | undefined>(undefined);\n /** Initials fallback used when no image loads. */\n readonly initials = input<string | undefined>(undefined);\n /** Size preset driving CSS custom properties on the host. */\n readonly size = input<'xs' | 'sm' | 'md' | 'lg' | 'xl'>('md');\n /** Visual shape. */\n readonly shape = input<'circle' | 'square'>('circle');\n /** Optional user-presence status indicator. */\n readonly status = input<'online' | 'offline' | 'busy' | 'away' | undefined>(undefined);\n\n private readonly imageLoadedState = signal(false);\n private readonly imageErroredState = signal(false);\n\n /** Whether the image loaded successfully. */\n readonly imageLoaded = this.imageLoadedState.asReadonly();\n\n /** Whether the fallback path (initials or ng-content) is currently rendered. */\n readonly showFallback = computed<boolean>(() => !this.showImage());\n\n /** Whether the `<img>` element should be rendered. */\n readonly showImage = computed<boolean>(() => !!this.src() && !this.imageErroredState());\n\n protected handleLoad(): void {\n this.imageLoadedState.set(true);\n this.imageErroredState.set(false);\n }\n\n protected handleError(): void {\n this.imageLoadedState.set(false);\n this.imageErroredState.set(true);\n }\n}\n","import {\n afterRenderEffect,\n computed,\n DestroyRef,\n Directive,\n effect,\n ElementRef,\n inject,\n input,\n Renderer2,\n} from '@angular/core';\n\n/**\n * Color palette options for the badge.\n *\n * @category common/display\n */\nexport type CngxBadgeColor = 'primary' | 'error' | 'warning' | 'neutral';\n\n/**\n * Positioning anchors relative to the host element.\n *\n * @category common/display\n */\nexport type CngxBadgePosition =\n | 'inline'\n | 'above-start'\n | 'above-end'\n | 'below-start'\n | 'below-end';\n\n/**\n * Generic counter / dot indicator that attaches a small floating element to\n * any host. Purely presentational (`aria-hidden=\"true\"`) - semantic meaning\n * must live on the host (`aria-label`).\n *\n * Supports:\n * - Numeric values (capped by `max` with \"N+\" fallback)\n * - String values (rendered verbatim)\n * - Boolean `true` (dot mode, no text)\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/badge/badge.directive.ts\n * @since 0.1.0\n * @relatedTo CngxAvatar, CngxIcon, CngxChip\n * <example-url>http://localhost:4200/#/common/display/badge/colors-and-dot-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/badge/counts-with-overflow</example-url>\n * <example-url>http://localhost:4200/#/common/display/badge/inline-and-hidden</example-url>\n */\n@Directive({\n selector: '[cngxBadge]',\n exportAs: 'cngxBadge',\n standalone: true,\n host: {\n '[class.cngx-badge-host]': 'true',\n },\n})\nexport class CngxBadge {\n /** Raw value. Numbers show as text (respecting `max`); booleans flip dot mode; strings render verbatim. */\n readonly cngxBadge = input.required<number | string | boolean>();\n /** Color variant. */\n readonly color = input<CngxBadgeColor>('primary');\n /** Anchor position relative to the host. */\n readonly position = input<CngxBadgePosition>('above-end');\n /** Whether the indicator is hidden regardless of value. */\n readonly hidden = input<boolean>(false);\n /** Cap for numeric values - anything over renders as `\"{max}+\"`. */\n readonly max = input<number>(99);\n\n private readonly hostEl = inject(ElementRef<HTMLElement>);\n private readonly renderer = inject(Renderer2);\n private badgeEl: HTMLElement | null = null;\n\n /** Whether the badge shows as a solid dot (no text). */\n readonly isDotMode = computed<boolean>(() => this.cngxBadge() === true);\n\n /** Whether the badge is empty (no value, 0, empty string, or false). */\n readonly isEmpty = computed<boolean>(() => {\n const v = this.cngxBadge();\n if (typeof v === 'number') {\n return v === 0;\n }\n if (typeof v === 'boolean') {\n return v === false;\n }\n return v === '';\n });\n\n /** Displayed text, or `null` when in dot mode or empty. */\n readonly displayValue = computed<string | null>(() => {\n const v = this.cngxBadge();\n if (typeof v === 'boolean') {\n return null;\n }\n if (typeof v === 'number') {\n const m = this.max();\n return v > m ? `${m}+` : String(v);\n }\n return v;\n });\n\n constructor() {\n let hostPositionEnsured = false;\n\n afterRenderEffect(() => {\n if (hostPositionEnsured || this.position() === 'inline') {\n return;\n }\n const host = this.hostEl.nativeElement as HTMLElement;\n const current = getComputedStyle(host).position;\n if (current === 'static') {\n this.renderer.setStyle(host, 'position', 'relative');\n }\n hostPositionEnsured = true;\n });\n\n effect(() => {\n const shouldShow = !this.hidden() && (this.isDotMode() || !this.isEmpty());\n if (!shouldShow) {\n this.removeBadge();\n return;\n }\n this.ensureBadge();\n this.applyClasses();\n this.applyContent();\n });\n\n inject(DestroyRef).onDestroy(() => this.removeBadge());\n }\n\n private ensureBadge(): void {\n if (this.badgeEl) {\n return;\n }\n this.badgeEl = this.renderer.createElement('span') as HTMLElement;\n this.renderer.setAttribute(this.badgeEl, 'aria-hidden', 'true');\n this.renderer.addClass(this.badgeEl, 'cngx-badge-indicator');\n this.renderer.appendChild(this.hostEl.nativeElement, this.badgeEl);\n }\n\n private applyClasses(): void {\n if (!this.badgeEl) {\n return;\n }\n const COLORS: readonly CngxBadgeColor[] = ['primary', 'error', 'warning', 'neutral'];\n const POSITIONS: readonly CngxBadgePosition[] = [\n 'inline',\n 'above-start',\n 'above-end',\n 'below-start',\n 'below-end',\n ];\n for (const c of COLORS) {\n this.renderer.removeClass(this.badgeEl, `cngx-badge-indicator--${c}`);\n }\n for (const p of POSITIONS) {\n this.renderer.removeClass(this.badgeEl, `cngx-badge-indicator--${p}`);\n }\n this.renderer.addClass(this.badgeEl, `cngx-badge-indicator--${this.color()}`);\n this.renderer.addClass(this.badgeEl, `cngx-badge-indicator--${this.position()}`);\n if (this.isDotMode()) {\n this.renderer.addClass(this.badgeEl, 'cngx-badge-indicator--dot');\n } else {\n this.renderer.removeClass(this.badgeEl, 'cngx-badge-indicator--dot');\n }\n }\n\n private applyContent(): void {\n if (!this.badgeEl) {\n return;\n }\n const value = this.displayValue();\n this.badgeEl.textContent = value ?? '';\n }\n\n private removeBadge(): void {\n if (this.badgeEl?.parentNode) {\n this.renderer.removeChild(this.badgeEl.parentNode, this.badgeEl);\n }\n this.badgeEl = null;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n output,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { nextUid } from '@cngx/core/utils';\n\n/**\n * Chip / tag molecule - a small, self-contained pill rendering projected\n * content plus an optional close affordance.\n *\n * **Why this exists.**\n * Multi-value triggers (`CngxMultiSelect` today; `CngxMultiCombobox`,\n * `CngxTagInput`, toolbar filter-chips tomorrow) all want the same pill\n * surface and the same remove interaction. Inlining `<span>`/`<button>`\n * pairs per consumer (a) duplicates ARIA wiring and (b) defeats\n * atomic-decompose: ejecting a parent component drags a block of raw\n * markup into the consumer's source instead of a clean molecule.\n *\n * **Responsibilities (intentionally narrow).**\n * - Render projected `<ng-content>` as the chip label.\n * - Render a close button when `removable()` is true, emit `(remove)`\n * on click.\n * - Provide a stable DOM id for ARIA wiring (auto-generated or\n * consumer-supplied).\n *\n * **Non-responsibilities.**\n * - Selection state - parent tracks which value(s) are picked.\n * - Commit/async behaviour - remove simply fires an event; the parent\n * decides whether to write state directly or route through a commit\n * flow. This keeps the chip usable from any level of the stack.\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/chip/chip.component.ts\n * @since 0.1.0\n * @relatedTo CngxTag, CngxTagGroup, CngxBadge\n * <example-url>http://localhost:4200/#/common/display/chip/basic</example-url>\n * <example-url>http://localhost:4200/#/common/display/chip/removable</example-url>\n * <example-url>http://localhost:4200/#/common/display/chip/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/chip/custom-close-icon</example-url>\n * <example-url>http://localhost:4200/#/common/interactive/chip/group/basic-pick-exactly-one-size</example-url>\n * <example-url>http://localhost:4200/#/common/interactive/chip/interaction/basic-toggle-on-click-space-or-enter</example-url>\n * <example-url>http://localhost:4200/#/common/interactive/chip/interaction/disabled-state</example-url>\n * <example-url>http://localhost:4200/#/common/interactive/chip/interaction/removable-with-removerequest-on-backspace-delete</example-url>\n * <example-url>http://localhost:4200/#/common/interactive/chip/multi-group/multi-select-chips-with-selection-count</example-url>\n */\n@Component({\n selector: 'cngx-chip',\n exportAs: 'cngxChip',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./chip.component.css'],\n host: {\n class: 'cngx-chip',\n '[attr.id]': 'resolvedId()',\n },\n template: `\n <span class=\"cngx-chip__label\">\n <ng-content />\n </span>\n @if (removable()) {\n <button\n type=\"button\"\n class=\"cngx-chip__remove\"\n [attr.aria-label]=\"removeAriaLabel()\"\n (click)=\"handleRemoveClick($event)\"\n >\n <!--\n Named content slot for the close glyph. Default renders the\n library's × - consumers project any icon component by tagging\n it with the attribute:\n\n <cngx-chip [removable]=\"true\">\n Label\n <my-icon cngxChipClose name=\"cross\" />\n </cngx-chip>\n\n Kept as an ng-content slot (not an input TemplateRef) so\n consumers can drop in their own component instances without\n the TemplateRef/outlet dance.\n -->\n <ng-content select=\"[cngxChipClose]\">\n <span aria-hidden=\"true\">✕</span>\n </ng-content>\n </button>\n }\n `,\n})\nexport class CngxChip {\n /**\n * Whether the close button is rendered. Typed as `boolean` - bind a\n * signal getter (`[removable]=\"!select.disabled()\"`) if the flag\n * needs to react to upstream state.\n */\n readonly removable = input<boolean>(false);\n\n /**\n * Optional DOM id. When unset, a stable auto-id (`cngx-chip-N`) is\n * applied so `aria-describedby` / `aria-labelledby` hooks from the\n * parent can reference the chip.\n */\n readonly id = input<string | null>(null);\n\n /**\n * A11y label for the close button. Defaults to a generic \"Remove\";\n * consumers with option labels on hand should supply something more\n * specific (e.g. `\"Remove Red\"`) so screen readers know which chip\n * the button removes.\n */\n readonly removeAriaLabel = input<string>('Remove');\n\n /** Fires when the user clicks the close button. */\n readonly remove = output<MouseEvent>();\n\n private readonly autoId = nextUid('cngx-chip');\n\n /** @internal - resolved DOM id for host binding. */\n protected readonly resolvedId = computed<string>(() => this.id() ?? this.autoId);\n\n /** @internal - delegates to the output; kept as a method so the click handler stays in the template. */\n protected handleRemoveClick(event: MouseEvent): void {\n this.remove.emit(event);\n }\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n input,\n ViewEncapsulation,\n type TemplateRef,\n} from '@angular/core';\n\n/**\n * Presentational checkbox / checkmark indicator.\n *\n * **Why this exists.**\n * Across the library, \"is this row selected?\" shows up as a bare\n * `<span class=\"cngx-select__check\">✓</span>` in the forms/select panel,\n * a future grid/tree cell will want a checkbox with indeterminate state, and\n * `ng decompose cngx-*` schematics should emit a consistent indicator shape\n * regardless of which list-like component they originated from. This atom\n * unifies all three surfaces behind a single presentational molecule -\n * purely decorative (`aria-hidden=\"true\"`), zero outputs, two variants,\n * full `--cngx-checkbox-*` theming.\n *\n * **Responsibilities (intentionally narrow).**\n * - Render a boxed checkbox or a bare checkmark glyph (`variant`).\n * - Express checked / indeterminate / disabled visual state via host classes\n * the consumer (or upstream CSS) can theme.\n * - Apply size presets (`sm` / `md` / `lg`) as CSS-custom-property modifiers.\n *\n * **Non-responsibilities.**\n * - Selection state - controlled entirely by the parent via `checked` /\n * `indeterminate` inputs.\n * - Interaction - no `click` output, no keyboard handling. The parent (option\n * row, tree cell, grid row) owns the hit area and toggle semantics.\n * - Accessibility announcements - `aria-hidden=\"true\"` unconditionally. The\n * truth about \"selected\" is communicated by the row's own `aria-selected`\n * / `role=\"option\"` ARIA, not by this decoration.\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/checkbox-indicator/checkbox-indicator.component.ts\n * @since 0.1.0\n * @relatedTo CngxRadioIndicator, CngxIcon\n * <example-url>http://localhost:4200/#/common/display/checkbox-indicator/states</example-url>\n * <example-url>http://localhost:4200/#/common/display/checkbox-indicator/variant-matrix</example-url>\n * <example-url>http://localhost:4200/#/common/display/checkbox-indicator/sizes</example-url>\n * <example-url>http://localhost:4200/#/common/display/checkbox-indicator/custom-glyph</example-url>\n */\n@Component({\n selector: 'cngx-checkbox-indicator',\n exportAs: 'cngxCheckboxIndicator',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./checkbox-indicator.component.css'],\n imports: [NgTemplateOutlet],\n host: {\n class: 'cngx-checkbox-indicator',\n 'aria-hidden': 'true',\n '[class.cngx-checkbox-indicator--checkbox]': \"variant() === 'checkbox'\",\n '[class.cngx-checkbox-indicator--checkmark]': \"variant() === 'checkmark'\",\n '[class.cngx-checkbox-indicator--checked]': 'checked()',\n '[class.cngx-checkbox-indicator--indeterminate]': 'indeterminate()',\n '[class.cngx-checkbox-indicator--disabled]': 'disabled()',\n '[class.cngx-checkbox-indicator--sm]': \"size() === 'sm'\",\n '[class.cngx-checkbox-indicator--md]': \"size() === 'md'\",\n '[class.cngx-checkbox-indicator--lg]': \"size() === 'lg'\",\n },\n template: `\n <ng-template #defaultDashGlyph>\n <span aria-hidden=\"true\" class=\"cngx-checkbox-indicator__dash\">−</span>\n </ng-template>\n <ng-template #defaultCheckGlyph>\n <span aria-hidden=\"true\" class=\"cngx-checkbox-indicator__check\">✓</span>\n </ng-template>\n\n @if (variant() === 'checkbox') {\n <span class=\"cngx-checkbox-indicator__box\">\n @if (indeterminate()) {\n <ng-container *ngTemplateOutlet=\"dashGlyph() ?? defaultDashGlyph\" />\n } @else if (checked()) {\n <ng-container *ngTemplateOutlet=\"checkGlyph() ?? defaultCheckGlyph\" />\n }\n </span>\n } @else {\n @if (indeterminate()) {\n <ng-container *ngTemplateOutlet=\"dashGlyph() ?? defaultDashGlyph\" />\n } @else if (checked()) {\n <ng-container *ngTemplateOutlet=\"checkGlyph() ?? defaultCheckGlyph\" />\n }\n }\n `,\n})\nexport class CngxCheckboxIndicator {\n /**\n * Visual form. `'checkbox'` renders a bordered box containing the glyph;\n * `'checkmark'` renders the bare glyph only (no box). Consumers pick the\n * mode-appropriate form themselves - `@cngx/forms/select` resolves it\n * from its `selectionIndicatorVariant` config.\n */\n readonly variant = input<'checkbox' | 'checkmark'>('checkbox');\n\n /** Whether the current value is selected. */\n readonly checked = input<boolean>(false);\n\n /**\n * Partial-selection state. Takes precedence over `checked` - when both\n * are true, the dash glyph is rendered. Intended for tree / group rows\n * where some-but-not-all descendants are selected.\n */\n readonly indeterminate = input<boolean>(false);\n\n /**\n * Disabled visual state. Purely cosmetic (opacity dim) - the indicator\n * never intercepts events, so this is a hint, not a block.\n */\n readonly disabled = input<boolean>(false);\n\n /** Size preset. Maps to a `--cngx-checkbox-size` custom property. */\n readonly size = input<'sm' | 'md' | 'lg'>('md');\n\n /**\n * Consumer-supplied template for the check glyph. When `null` (default),\n * the built-in `<span class=\"cngx-checkbox-indicator__check\">✓</span>`\n * is rendered. When set, the consumer template replaces the glyph span\n * entirely - the `__check` class is NOT applied to the custom content\n * (consumers own the styling of their replacement).\n *\n * Convention-compatible with `*cngxSelectCheck` / `*cngxSelectOptionLabel`:\n * pass a `TemplateRef<void>` obtained via `#myGlyphTpl`. Useful for\n * `CngxTreeCheckboxHeader` or other consumers that need a custom glyph\n * without forking the atom.\n */\n readonly checkGlyph = input<TemplateRef<void> | null>(null);\n\n /**\n * Consumer-supplied template for the indeterminate dash glyph. Mirrors\n * {@link checkGlyph} - defaults to the built-in\n * `<span class=\"cngx-checkbox-indicator__dash\">−</span>`.\n */\n readonly dashGlyph = input<TemplateRef<void> | null>(null);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n input,\n ViewEncapsulation,\n type TemplateRef,\n} from '@angular/core';\n\n/**\n * Presentational radio indicator - circle with a centred dot when checked.\n *\n * **Why this exists.**\n * The library's `@cngx/forms/select` panel currently composes\n * {@link import('../checkbox-indicator/checkbox-indicator.component').CngxCheckboxIndicator}\n * for both single-select (`'checkmark'`) and multi-select (`'checkbox'`)\n * indicators. The form-primitives spec (Brain vs. Skin) introduces a\n * radio variant - `selectionIndicatorVariant: 'radio'` for single-select\n * panels - that needs the dot-in-circle visual independently of the\n * box/checkmark shapes. This atom is the radio counterpart: same\n * decorative-only contract, same `--cngx-*` theming surface, same\n * `aria-hidden=\"true\"` discipline. Future single-value form atoms in\n * `@cngx/common/interactive` will compose this same skin once they\n * land in their own phase.\n *\n * **Responsibilities (intentionally narrow).**\n * - Render a circle frame and, when `checked` is true, a centred dot.\n * - Express checked / disabled visual state via host classes the\n * consumer (or upstream CSS) can theme.\n * - Apply size presets (`sm` / `md` / `lg`) as CSS-custom-property\n * modifiers - same scale token as `CngxCheckboxIndicator` so the\n * two atoms render at matching sizes inside a select panel.\n *\n * **Non-responsibilities.**\n * - Selection state - controlled by the parent via `checked`.\n * - No `indeterminate` - radios are exclusive by definition; the\n * group enforces single-selection at the brain layer.\n * - Interaction - no `click` output, no keyboard handling. The radio\n * row (or the consuming select panel) owns the hit area.\n * - Accessibility announcements - `aria-hidden=\"true\"` unconditionally.\n * Selection is announced via the row's `role=\"radio\"` /\n * `aria-checked` ARIA, never by this decoration.\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/radio-indicator/radio-indicator.component.ts\n * @since 0.1.0\n * @relatedTo CngxCheckboxIndicator, CngxIcon\n * <example-url>http://localhost:4200/#/common/display/radio-indicator/custom-dotglyph</example-url>\n * <example-url>http://localhost:4200/#/common/display/radio-indicator/default-unchecked-vs-checked</example-url>\n * <example-url>http://localhost:4200/#/common/display/radio-indicator/disabled</example-url>\n * <example-url>http://localhost:4200/#/common/display/radio-indicator/sizes</example-url>\n * <example-url>http://localhost:4200/#/common/display/radio-indicator/theming-via-css-custom-properties</example-url>\n */\n@Component({\n selector: 'cngx-radio-indicator',\n exportAs: 'cngxRadioIndicator',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./radio-indicator.component.css'],\n imports: [NgTemplateOutlet],\n host: {\n class: 'cngx-radio-indicator',\n 'aria-hidden': 'true',\n '[class.cngx-radio-indicator--checked]': 'checked()',\n '[class.cngx-radio-indicator--disabled]': 'disabled()',\n '[class.cngx-radio-indicator--sm]': \"size() === 'sm'\",\n '[class.cngx-radio-indicator--md]': \"size() === 'md'\",\n '[class.cngx-radio-indicator--lg]': \"size() === 'lg'\",\n },\n template: `\n <ng-template #defaultDotGlyph>\n <span aria-hidden=\"true\" class=\"cngx-radio-indicator__dot\"></span>\n </ng-template>\n\n <span class=\"cngx-radio-indicator__circle\">\n @if (checked()) {\n <ng-container *ngTemplateOutlet=\"dotGlyph() ?? defaultDotGlyph\" />\n }\n </span>\n `,\n})\nexport class CngxRadioIndicator {\n /** Whether the current value is selected. */\n readonly checked = input<boolean>(false);\n\n /**\n * Disabled visual state. Purely cosmetic (opacity dim) - the indicator\n * never intercepts events, so this is a hint, not a block.\n */\n readonly disabled = input<boolean>(false);\n\n /** Size preset. Maps to a `--cngx-radio-indicator-size` custom property. */\n readonly size = input<'sm' | 'md' | 'lg'>('md');\n\n /**\n * Consumer-supplied template for the centred dot. When `null` (default),\n * the built-in `<span class=\"cngx-radio-indicator__dot\"></span>` is\n * rendered. When set, the consumer template replaces the dot span\n * entirely - the `__dot` class is NOT applied to the custom content\n * (consumers own the styling of their replacement).\n *\n * Convention-compatible with `CngxCheckboxIndicator.checkGlyph`: pass a\n * `TemplateRef<void>` obtained via `#myDotTpl`. Useful for\n * design-system overrides that want a brand-glyph dot without\n * forking the atom.\n */\n readonly dotGlyph = input<TemplateRef<void> | null>(null);\n}\n","import { InjectionToken, type Signal } from '@angular/core';\n\n/**\n * Public host contract that `CngxTagGroup` and any future\n * non-component implementer must satisfy. Surfaced through\n * `CNGX_TAG_GROUP` so child `CngxTag` directives can read parent state\n * reactively without injecting a concrete parent class.\n *\n * The field is typed `Signal<boolean>` (the public parent type),\n * NOT `InputSignal<boolean>` - test doubles and programmatic groups\n * must be able to satisfy the contract without owning an Angular\n * `input()`. The `CngxTagGroup` implementer narrows its\n * `InputSignal<boolean>` to this public type via direct assignment\n * (`readonly semanticList: Signal<boolean> = this.semanticListInput`).\n * `InputSignal` already structurally extends `Signal`, so no runtime\n * conversion is needed - and `.asReadonly()` does NOT exist on\n * `InputSignal` (it lives on `WritableSignal` only); the type-only\n * narrowing is the canonical bridge.\n *\n * @category common/display\n */\nexport interface CngxTagGroupHost {\n readonly semanticList: Signal<boolean>;\n}\n\n/**\n * DI token for parent `CngxTagGroup` <-> child `CngxTag` ARIA wiring.\n * Atomic-decompose rule 4 - communication via `InjectionToken`,\n * never via concrete parent class injection.\n *\n * `CngxTag` injects the token `{ optional: true }` and, when present,\n * derives its own `role=\"listitem\"` from `host.semanticList()` via a\n * single `computed()`. When absent (Tag rendered outside any group),\n * the role attribute stays unset.\n *\n * Defaults to no provider - the token resolves to `null` for any\n * `CngxTag` that lives outside a `CngxTagGroup`.\n *\n * @category common/display\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag-group/tag-group.token.ts\n * @since 0.1.0\n */\nexport const CNGX_TAG_GROUP = new InjectionToken<CngxTagGroupHost>('CNGX_TAG_GROUP');\n","import { InjectionToken } from '@angular/core';\n\nimport type { CngxTagConfig } from './tag.config';\n\n/**\n * Library defaults for the tag-family configuration cascade. English\n * by default per `feedback_en_default_locale`; locale overrides ride\n * the future `withAriaLabels` feature once it lands.\n *\n * Exported for intra-lib consumers (`provideTagConfig` deep-merges\n * with this base) but **NOT** re-exported from `public-api.ts` -\n * downstream consumers should reach the defaults via\n * `inject(CNGX_TAG_CONFIG)` so `provideTagConfig` /\n * `provideTagConfigAt` overrides take precedence.\n *\n * @internal\n */\nexport const CNGX_TAG_DEFAULTS: CngxTagConfig = {\n defaults: {\n variant: 'filled',\n color: 'neutral',\n size: 'md',\n truncate: false,\n maxWidth: null,\n },\n groupDefaults: {\n gap: 'sm',\n align: 'start',\n semanticList: false,\n },\n colors: {},\n templates: {},\n};\n\n/**\n * App-wide configuration cascade for the tag family. Resolves in\n * priority order:\n *\n * 1. Per-instance Input binding.\n * 2. `provideTagConfigAt(...)` in a parent component's `viewProviders`.\n * 3. `provideTagConfig(...)` at the application root.\n * 4. Library defaults (this token's `factory`).\n *\n * `providedIn: 'root'` with a default factory means consumers never\n * need to provide the token explicitly - `inject(CNGX_TAG_CONFIG)`\n * always resolves. Consumers who want overrides call\n * `provideTagConfig(...features)` in `bootstrapApplication` providers\n * (root cascade) or `provideTagConfigAt(...features)` in a component's\n * `viewProviders` (sub-tree cascade).\n *\n * @category common/display\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag/config/tag.config.defaults.ts\n * @since 0.1.0\n */\nexport const CNGX_TAG_CONFIG = new InjectionToken<CngxTagConfig>('CNGX_TAG_CONFIG', {\n providedIn: 'root',\n factory: () => CNGX_TAG_DEFAULTS,\n});\n","import { inject } from '@angular/core';\n\nimport type { CngxTagConfig } from './tag.config';\nimport { CNGX_TAG_CONFIG } from './tag.config.defaults';\n\n/**\n * Convenience accessor for the tag-family configuration cascade.\n * Runs in injection context; resolves through the priority chain\n * (per-instance Input → `provideTagConfigAt` → `provideTagConfig`\n * → library defaults).\n *\n * Equivalent to `inject(CNGX_TAG_CONFIG)` — the helper exists so\n * consumers don't need to import the token directly. Mirrors\n * `injectSelectConfig` in `@cngx/forms/select`.\n *\n * ```ts\n * export class MyDirective {\n * private readonly cfg = injectTagConfig();\n * readonly variant = input<CngxTagVariant>(\n * this.cfg.defaults?.variant ?? 'filled',\n * );\n * }\n * ```\n *\n * @category common/display\n */\nexport function injectTagConfig(): CngxTagConfig {\n return inject(CNGX_TAG_CONFIG);\n}\n","import { computed, inject, type Signal, type TemplateRef } from '@angular/core';\n\nimport { CNGX_TAG_CONFIG } from '../config/tag.config.defaults';\n\n/**\n * Keys into the upcoming `CngxTagConfig.templates` cascade. Phase 2\n * adds the `CngxTagGroup`-side keys (`'header'`, `'accessory'`);\n * Phase 4 commit 5 narrows the union to\n * `keyof CngxTagConfig['templates']` once the config interface\n * ships. Keeping the union tight to the keys actually passed at\n * current call sites prevents typos (e.g. passing an unwired key)\n * from going unnoticed until the corresponding phase merges.\n *\n * @internal\n */\nexport type CngxTagTemplateKey =\n | 'label'\n | 'prefix'\n | 'suffix'\n | 'header'\n | 'accessory';\n\n/**\n * Directive shape accepted by {@link injectResolvedTagTemplate}.\n * Every `*cngxTag*` template-slot directive in `@cngx/common/display`\n * conforms — the helper only looks at `.templateRef`.\n *\n * @internal\n */\ninterface TagTemplateRefHolder<Ctx> {\n readonly templateRef: TemplateRef<Ctx>;\n}\n\n/**\n * Wraps a `contentChild` directive query in a 3-stage slot-resolution\n * cascade:\n *\n * 1. Instance directive (highest) — consumer-projected\n * `<ng-template cngxTag*>` template.\n * 2. `CNGX_TAG_CONFIG.templates[<key>]` (app-wide cascade via\n * `provideTagConfig` / `provideTagConfigAt`).\n * 3. `null` (the host's default `<ng-template>` body wins, e.g.\n * `CngxTag`'s `<span class=\"cngx-tag__label\"><ng-content /></span>`\n * label fallback).\n *\n * `inject(CNGX_TAG_CONFIG, { optional: true })` mirrors the select-\n * shared helper exactly — `providedIn: 'root'` always resolves so\n * the optional flag is defensive, not load-bearing.\n *\n * **Why a copy and not an import from `@cngx/forms/select/shared`.**\n * Sheriff blocks `lib:common-display` from importing\n * `lib:forms-select`. Hoisting the helper to `@cngx/core/utils`\n * would let both libs share it, but that refactor touches every\n * select call site and belongs in a separate utils-consolidation\n * plan (see\n * `.internal/architektur/plans/tag-family-architectural-a-plus-pass-plan.md`,\n * \"Architectural decisions (locked)\" — `injectResolvedTemplate\n * location` row).\n *\n * @internal\n */\nexport function injectResolvedTagTemplate<Ctx>(\n directive: Signal<TagTemplateRefHolder<Ctx> | undefined>,\n configKey: CngxTagTemplateKey,\n): Signal<TemplateRef<Ctx> | null> {\n const config = inject(CNGX_TAG_CONFIG, { optional: true });\n return computed<TemplateRef<Ctx> | null>(() => {\n const instance = directive()?.templateRef;\n if (instance) {\n return instance;\n }\n const global = config?.templates?.[configKey] as\n | TemplateRef<Ctx>\n | null\n | undefined;\n return global ?? null;\n });\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagLabelContext } from './tag-slot.context';\n\n/**\n * Override template for the label region of `<span cngxTag>`.\n *\n * The default label slot wraps projected content in\n * `<span class=\"cngx-tag__label\">` so `text-overflow: ellipsis`\n * has a shrinkable inner with `min-width: 0`. Replace this slot\n * when you need a different inner element (e.g. `<bdi>` for\n * bidi-safe rendering, an inline link, or a richer label\n * composition with icons + counts).\n *\n * Replacing the label drops the default ellipsis hook - the\n * consumer template owns the overflow strategy.\n *\n * ```html\n * <span cngxTag [color]=\"'success'\">\n * <ng-template cngxTagLabel>\n * <bdi>{{ user.name }}</bdi>\n * </ng-template>\n * </span>\n * ```\n *\n * @category common/display\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag/slots/tag-label.directive.ts\n * @since 0.1.0\n * @relatedTo CngxTag, CngxTagPrefix, CngxTagSuffix\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Directive({\n selector: 'ng-template[cngxTagLabel]',\n standalone: true,\n exportAs: 'cngxTagLabel',\n})\nexport class CngxTagLabel {\n readonly templateRef = inject<TemplateRef<CngxTagLabelContext>>(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagPrefixContext } from './tag-slot.context';\n\n/**\n * Override template for content rendered BEFORE the label region of\n * `<span cngxTag>`. Use for icon glyphs, status dots, count badges,\n * or any per-tag prefix decoration.\n *\n * The slot has no default body - when not projected, no DOM is\n * rendered in the prefix position.\n *\n * ```html\n * <span cngxTag [color]=\"'warning'\">\n * <ng-template cngxTagPrefix>\n * <cngx-icon name=\"alert-triangle\" />\n * </ng-template>\n * Action required\n * </span>\n * ```\n *\n * @category common/display\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag/slots/tag-prefix.directive.ts\n * @since 0.1.0\n * @relatedTo CngxTag, CngxTagLabel, CngxTagSuffix\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Directive({\n selector: 'ng-template[cngxTagPrefix]',\n standalone: true,\n exportAs: 'cngxTagPrefix',\n})\nexport class CngxTagPrefix {\n readonly templateRef = inject<TemplateRef<CngxTagPrefixContext>>(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagSuffixContext } from './tag-slot.context';\n\n/**\n * Override template for content rendered AFTER the label region of\n * `<span cngxTag>`. Use for trailing chevrons, sort indicators, or\n * any per-tag suffix decoration.\n *\n * The slot has no default body - when not projected, no DOM is\n * rendered in the suffix position. Removable affordances belong on\n * `CngxChip` (which ships its own remove button + announcer\n * wiring), not as a Tag suffix slot.\n *\n * ```html\n * <span cngxTag [color]=\"'info'\">\n * Filter\n * <ng-template cngxTagSuffix>\n * <cngx-icon name=\"chevron-down\" />\n * </ng-template>\n * </span>\n * ```\n *\n * @category common/display\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag/slots/tag-suffix.directive.ts\n * @since 0.1.0\n * @relatedTo CngxTag, CngxTagLabel, CngxTagPrefix\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Directive({\n selector: 'ng-template[cngxTagSuffix]',\n standalone: true,\n exportAs: 'cngxTagSuffix',\n})\nexport class CngxTagSuffix {\n readonly templateRef = inject<TemplateRef<CngxTagSuffixContext>>(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n inject,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { CNGX_TAG_GROUP } from '../tag-group/tag-group.token';\nimport { injectTagConfig } from './config/inject-tag-config';\nimport { injectResolvedTagTemplate } from './shared/inject-resolved-template';\nimport { CngxTagLabel } from './slots/tag-label.directive';\nimport { CngxTagPrefix } from './slots/tag-prefix.directive';\nimport { CngxTagSuffix } from './slots/tag-suffix.directive';\nimport type { CngxTagLabelContext } from './slots/tag-slot.context';\n\n/**\n * Visual variant. `filled` is the default solid pill; `outline` swaps fill for border; `subtle` softens both.\n *\n * @category common/display\n */\nexport type CngxTagVariant = 'filled' | 'outline' | 'subtle';\n\n/**\n * Semantic colour key. The five named values cascade through the\n * matching `--cngx-tag-{name}-bg/-color/-border` custom properties\n * with English-readable fallback hex values (see `tag.css`).\n *\n * Open-ended `(string & {})` accepts any consumer-defined palette\n * key (e.g. `'my-brand'`); the directive emits it as a `data-color`\n * attribute so consumers can author `[data-color=\"my-brand\"]`\n * styles against their own design tokens. Re-evaluation trigger\n * toward a `withTagColors()` cascade is tracked in\n * `display-accepted-debt.md §1`.\n *\n * @category common/display\n */\nexport type CngxTagColor = 'neutral' | 'success' | 'warning' | 'error' | 'info' | (string & {});\n\n/**\n * Density. `md` is the default. Each step scales padding + font-size\n * via the `--cngx-tag-{sm|lg|xl}-padding` and matching font-size\n * custom properties (see `tag.css`). Sizing of nested atoms\n * (`cngx-icon`, `cngx-avatar`) is the consumer's call - Tag does not\n * cascade a sub-token contract.\n *\n * @category common/display\n */\nexport type CngxTagSize = 'sm' | 'md' | 'lg' | 'xl';\n\n/**\n * Decorative tag / label / badge atom.\n *\n * **Why this exists.**\n * `CngxChip` (`@cngx/common/display`) covers the *removable pill*\n * surface inside chip strips. `CngxTag` covers the long tail of\n * static labels: status indicators on a list row, taxonomy badges\n * on a card, role markers in an admin table, pre-filter chips in a\n * dashboard sidebar. Two narrow atoms with non-overlapping\n * concerns beat one chip-tag hybrid with mode flags\n * (Pillar 3 - Komposition statt Konfiguration).\n *\n * **Responsibilities (intentionally narrow).**\n * - Apply variant / color / size / truncate / maxWidth host\n * classes + style bindings to any host element (`<span>`,\n * `<a>`, `<button>`, `<div>`).\n * - When projected inside a `<cngx-tag-group [semanticList]=\"true\">`,\n * reactively expose `role=\"listitem\"` so the parent's\n * `role=\"list\"` semantics propagate without consumer wiring.\n * The cascade reads `CNGX_TAG_GROUP.semanticList()` through a\n * single `computed<'listitem' | null>()` (Pillar 1 -\n * derivation; Pillar 2 - ARIA in the reactive graph).\n *\n * **Non-responsibilities.**\n * - Removable affordance - use `CngxChip` instead.\n * - Clickable / interactive semantics - wrap with native\n * `<button cngxTag>` or `<a cngxTag>` for keyboard +\n * focus + Enter/Space.\n * - Configuration cascade - deferred (see\n * `display-accepted-debt.md §1`).\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag/tag.directive.ts\n * @selector cngx-tag\n * @since 0.1.0\n * @relatedTo CngxTagGroup, CngxChip, CngxBadge, CngxTagLabel\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Component({\n selector: '[cngxTag], cngx-tag',\n exportAs: 'cngxTag',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n // Host-class + `[data-color]` selectors must match the host directly;\n // emulated encapsulation would rewrite them to `[_ngcontent-xxx]` and\n // silently drop the chrome. Same as `mat-*`.\n encapsulation: ViewEncapsulation.None,\n imports: [NgTemplateOutlet],\n // The default label wraps `<ng-content />` in `.cngx-tag__label` so the\n // inner span owns `min-width: 0` + `overflow: hidden` - without it,\n // host-level `text-overflow: ellipsis` won't fire (flex children don't\n // shrink under ellipsis). Consumer-projected `*cngxTagLabel` owns its\n // own overflow.\n template: `\n @if (prefixTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n @if (labelTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n } @else {\n <span class=\"cngx-tag__label\"><ng-content /></span>\n }\n @if (suffixTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n `,\n styleUrls: ['./shared/tag-base.css', './tag.css'],\n host: {\n class: 'cngx-tag',\n '[class.cngx-tag--filled]': \"variant() === 'filled'\",\n '[class.cngx-tag--outline]': \"variant() === 'outline'\",\n '[class.cngx-tag--subtle]': \"variant() === 'subtle'\",\n '[class.cngx-tag--sm]': \"size() === 'sm'\",\n '[class.cngx-tag--md]': \"size() === 'md'\",\n '[class.cngx-tag--lg]': \"size() === 'lg'\",\n '[class.cngx-tag--xl]': \"size() === 'xl'\",\n '[class.cngx-tag--truncate]': 'truncate()',\n '[attr.data-color]': 'color()',\n '[style.max-width]': 'maxWidth()',\n '[attr.role]': 'roleAttr()',\n },\n})\nexport class CngxTag {\n /**\n * Snapshot of the resolved tag-family config at construction\n * time. Drives the per-input fallback defaults below - Angular's\n * input-default rule means per-instance `[variant]=\"...\"`\n * bindings still win.\n *\n * **Field-init ordering is load-bearing.** TypeScript class-field\n * initialisers run in source order; `cfg` MUST be declared before\n * any input field that reads `this.cfg`. A reorder pass that\n * moved this declaration below the inputs would silently produce\n * `undefined` at the input's init call site (runtime crash on\n * first construction). Per the\n * `tag-family-architectural-a-plus-pass` plan Architectural-\n * Decisions table - flagged in cngx-plan-review 2026-04-29.\n */\n private readonly cfg = injectTagConfig();\n\n /** Visual variant. `filled` (default) | `outline` | `subtle`. */\n readonly variant = input<CngxTagVariant>(this.cfg.defaults?.variant ?? 'filled');\n\n /**\n * Semantic colour. Predefined keys (`neutral` default, `success`,\n * `warning`, `error`, `info`) plus any consumer-defined string\n * which is emitted verbatim as a `data-color` attribute.\n */\n readonly color = input<CngxTagColor>(this.cfg.defaults?.color ?? 'neutral');\n\n /** Density. `md` (default) | `sm` | `lg` | `xl`. */\n readonly size = input<CngxTagSize>(this.cfg.defaults?.size ?? 'md');\n\n /**\n * When `true`, applies `text-overflow: ellipsis` + `white-space: nowrap`\n * to the inner `.cngx-tag__label` span. Pair with `[maxWidth]` for a\n * hard upper bound. Visual-only - the full text remains in the DOM\n * for AT.\n *\n * Deliberately CSS-only - `CngxTruncate` (`@cngx/common/layout`) is the\n * right tool for multi-line clamp + expand/collapse state on long-form\n * text, but its reactive machinery (effect + ResizeObserver + isClamped\n * signal) is overkill for a chip-style single-line overflow.\n */\n readonly truncate = input<boolean>(this.cfg.defaults?.truncate ?? false);\n\n /**\n * Optional CSS `max-width` (e.g. `'12rem'`, `'200px'`). Bound\n * inline so consumers don't need a CSS authoring step for ad-hoc\n * width caps. `null` clears the binding.\n */\n readonly maxWidth = input<string | null>(this.cfg.defaults?.maxWidth ?? null);\n\n /**\n * Optional parent group (Phase 3 ships `CngxTagGroup` as the\n * default implementer). When present and `semanticList()` is\n * `true`, the host carries `role=\"listitem\"` so the parent's\n * `role=\"list\"` propagates. When absent, no synthetic role is\n * set - `<a cngxTag>` keeps its native `role=\"link\"`,\n * `<button cngxTag>` keeps its `role=\"button\"`, etc.\n */\n private readonly group = inject(CNGX_TAG_GROUP, { optional: true });\n\n /**\n * Per-instance label-slot directive - projected as\n * `<ng-template cngxTagLabel>...</ng-template>`. Resolved through\n * {@link injectResolvedTagTemplate} so consumers can override the\n * default `<span class=\"cngx-tag__label\">` wrapper without forking\n * the directive.\n */\n protected readonly labelSlot = contentChild(CngxTagLabel);\n\n /** Per-instance prefix-slot directive - projected before the label. */\n protected readonly prefixSlot = contentChild(CngxTagPrefix);\n\n /** Per-instance suffix-slot directive - projected after the label. */\n protected readonly suffixSlot = contentChild(CngxTagSuffix);\n\n /**\n * Resolved label template. Phase 1 cascade: instance slot → host\n * `@else` default (`<span class=\"cngx-tag__label\"><ng-content /></span>`).\n * Phase 4 commit 5 inserts `CNGX_TAG_CONFIG.templates.label` as a\n * middle tier without touching this call site.\n */\n protected readonly labelTpl = injectResolvedTagTemplate(this.labelSlot, 'label');\n\n /** Resolved prefix template. Same 2-stage cascade as {@link labelTpl}. */\n protected readonly prefixTpl = injectResolvedTagTemplate(this.prefixSlot, 'prefix');\n\n /** Resolved suffix template. Same 2-stage cascade as {@link labelTpl}. */\n protected readonly suffixTpl = injectResolvedTagTemplate(this.suffixSlot, 'suffix');\n\n /**\n * Reactive bundle exposed to every slot's `*ngTemplateOutletContext`.\n * The three slot context interfaces are structurally identical in\n * Phase 1; the same computed source serves all three. Consumer\n * templates `let-variant=\"variant\"` etc. read the live state without\n * injecting the directive.\n *\n * Explicit structural `equal` fn - without it, a fresh literal each\n * CD cycle would force `ngTemplateOutlet` to rebind embedded views\n * even when no input changed. Per `reference_signal_architecture` §1\n * Equality Rule: every `computed` returning an object MUST pass an\n * `equal` fn.\n */\n protected readonly slotContext = computed<CngxTagLabelContext>(\n () => ({\n $implicit: undefined as void,\n variant: this.variant(),\n color: this.color(),\n size: this.size(),\n truncate: this.truncate(),\n }),\n {\n equal: (a, b) =>\n a.variant === b.variant &&\n a.color === b.color &&\n a.size === b.size &&\n a.truncate === b.truncate,\n },\n );\n\n /**\n * Reactive `role` attribute. Returns `'listitem'` when projected\n * inside a `<cngx-tag-group [semanticList]=\"true\">`; `null`\n * otherwise. No explicit `equal` fn passed - primitive string\n * output, default `Object.is` is correct (per\n * `reference_signal_architecture` §1: equality discipline applies\n * to object/array results, not primitives).\n *\n * @internal\n */\n protected readonly roleAttr = computed<'listitem' | null>(() =>\n this.group?.semanticList() ? 'listitem' : null,\n );\n}\n","import {\n inject,\n makeEnvironmentProviders,\n type EnvironmentProviders,\n type Provider,\n} from '@angular/core';\n\nimport type { CngxTagConfig } from './tag.config';\nimport {\n CNGX_TAG_CONFIG,\n CNGX_TAG_DEFAULTS,\n} from './tag.config.defaults';\n\n/**\n * Discriminated-union shape returned by `withTagDefaults` /\n * `withTagGroupDefaults` / `withTagColors` / `withTagSlots`. The\n * reducer in `provideTagConfig` / `provideTagConfigAt` matches on\n * `kind` and merges `payload` into the corresponding config sub-tree.\n *\n * Mirrors the `CngxSelectConfigFeature` discriminated-union shape\n * from `@cngx/forms/select` so the consumer's mental model is one\n * across feature areas.\n *\n * @category common/display\n */\nexport type CngxTagConfigFeature =\n | {\n readonly kind: 'defaults';\n readonly payload: NonNullable<CngxTagConfig['defaults']>;\n }\n | {\n readonly kind: 'groupDefaults';\n readonly payload: NonNullable<CngxTagConfig['groupDefaults']>;\n }\n | {\n readonly kind: 'colors';\n readonly payload: NonNullable<CngxTagConfig['colors']>;\n }\n | {\n readonly kind: 'templates';\n readonly payload: NonNullable<CngxTagConfig['templates']>;\n };\n\n/**\n * Reduces a list of feature objects into a partial config — last\n * write wins per sub-tree. Inner objects are spread-merged so\n * partial overrides (e.g. just `variant` without `color`) compose\n * cleanly with prior writes.\n *\n * @internal\n */\nfunction reduceFeatures(\n features: readonly CngxTagConfigFeature[],\n): Partial<CngxTagConfig> {\n const out: {\n defaults?: NonNullable<CngxTagConfig['defaults']>;\n groupDefaults?: NonNullable<CngxTagConfig['groupDefaults']>;\n colors?: NonNullable<CngxTagConfig['colors']>;\n templates?: NonNullable<CngxTagConfig['templates']>;\n } = {};\n for (const f of features) {\n switch (f.kind) {\n case 'defaults':\n out.defaults = { ...out.defaults, ...f.payload };\n break;\n case 'groupDefaults':\n out.groupDefaults = { ...out.groupDefaults, ...f.payload };\n break;\n case 'colors':\n out.colors = { ...out.colors, ...f.payload };\n break;\n case 'templates':\n out.templates = { ...out.templates, ...f.payload };\n break;\n }\n }\n return out;\n}\n\n/**\n * Two-level deep merge: top-level keys (`defaults`/`groupDefaults`/\n * `colors`/`templates`/`ariaLabels`) are spread-merged so the\n * partial fills in missing keys without nuking unrelated config\n * sub-trees. Inner objects are flat (no nested objects beyond one\n * level) so a single spread per key is sufficient.\n *\n * @internal\n */\nfunction mergeConfig(\n base: CngxTagConfig,\n partial: Partial<CngxTagConfig>,\n): CngxTagConfig {\n return {\n defaults: { ...base.defaults, ...partial.defaults },\n groupDefaults: { ...base.groupDefaults, ...partial.groupDefaults },\n colors: { ...base.colors, ...partial.colors },\n templates: { ...base.templates, ...partial.templates },\n };\n}\n\n/**\n * Application-root configuration cascade for the tag family. Pass\n * any combination of `withTagDefaults` / `withTagGroupDefaults` /\n * `withTagColors` / `withTagSlots` features in\n * `bootstrapApplication`'s providers array.\n *\n * Resolution priority (high → low):\n * 1. Per-instance Input binding.\n * 2. `provideTagConfigAt(...)` in a parent component's\n * `viewProviders`.\n * 3. `provideTagConfig(...)` at the application root.\n * 4. Library defaults (`CNGX_TAG_DEFAULTS`).\n *\n * The provider deep-merges supplied features with the library\n * defaults so consumers only declare keys they want to override.\n *\n * ```ts\n * bootstrapApplication(AppComponent, {\n * providers: [\n * provideTagConfig(\n * withTagDefaults({ variant: 'subtle' }),\n * withTagColors({\n * 'my-brand': {\n * bg: '#4f46e5',\n * color: '#ffffff',\n * border: 'transparent',\n * },\n * }),\n * ),\n * ],\n * });\n * ```\n *\n * @category common/display\n */\nexport function provideTagConfig(\n ...features: CngxTagConfigFeature[]\n): EnvironmentProviders {\n // Empty-features: skip the override so the root factory's\n // `CNGX_TAG_DEFAULTS` reference flows through untouched. A fresh\n // `mergeConfig(...)` would allocate identical content under a new\n // reference and bust downstream identity comparisons.\n if (features.length === 0) {\n return makeEnvironmentProviders([]);\n }\n const partial = reduceFeatures(features);\n return makeEnvironmentProviders([\n {\n provide: CNGX_TAG_CONFIG,\n useValue: mergeConfig(CNGX_TAG_DEFAULTS, partial),\n },\n ]);\n}\n\n/**\n * Component-scoped configuration cascade for the tag family. Pass\n * any combination of feature factories in a parent component's\n * `viewProviders` array.\n *\n * Unlike `provideTagConfig` (root-only), `provideTagConfigAt` injects\n * the parent injector's `CNGX_TAG_CONFIG` value (resolves through\n * the priority chain — root provider, library defaults, or another\n * `provideTagConfigAt` further up) and deep-merges the supplied\n * features on top. This produces cumulative cascade behaviour:\n * descendant tag instances see the merged config, sibling sub-trees\n * keep the inherited value untouched.\n *\n * ```ts\n * @Component({\n * selector: 'admin-section',\n * viewProviders: [\n * provideTagConfigAt(\n * withTagDefaults({ size: 'sm' }),\n * ),\n * ],\n * template: '<span cngxTag>Compact</span>',\n * })\n * class AdminSection {}\n * ```\n *\n * @category common/display\n */\nexport function provideTagConfigAt(\n ...features: CngxTagConfigFeature[]\n): Provider[] {\n // Empty-features call: parent value flows through untouched.\n // Skipping the factory preserves reference identity through the\n // sub-tree.\n if (features.length === 0) {\n return [];\n }\n const partial = reduceFeatures(features);\n return [\n {\n provide: CNGX_TAG_CONFIG,\n useFactory: () => {\n const parent = inject(CNGX_TAG_CONFIG, { skipSelf: true });\n return mergeConfig(parent, partial);\n },\n },\n ];\n}\n","import type { CngxTagConfig } from './tag.config';\nimport type { CngxTagConfigFeature } from './provide-tag-config';\n\n/**\n * Override the default `CngxTag` input values (`variant`, `color`,\n * `size`, `truncate`, `maxWidth`). Per-instance bindings still win\n * over the cascade — this only sets the *fallback* per directive.\n *\n * ```ts\n * provideTagConfig(\n * withTagDefaults({ variant: 'subtle', size: 'sm' }),\n * );\n * ```\n *\n * @category common/display\n */\nexport function withTagDefaults(\n payload: NonNullable<CngxTagConfig['defaults']>,\n): CngxTagConfigFeature {\n return { kind: 'defaults', payload };\n}\n\n/**\n * Override the default `CngxTagGroup` input values (`gap`, `align`,\n * `semanticList`). Per-instance bindings still win.\n *\n * ```ts\n * provideTagConfig(\n * withTagGroupDefaults({ gap: 'md', semanticList: true }),\n * );\n * ```\n *\n * @category common/display\n */\nexport function withTagGroupDefaults(\n payload: NonNullable<CngxTagConfig['groupDefaults']>,\n): CngxTagConfigFeature {\n return { kind: 'groupDefaults', payload };\n}\n\n/**\n * Register consumer-defined colour entries. Each key adds a\n * `[data-color=\"<key>\"]` cascade entry resolved through\n * `--cngx-tag-bg/-color/-border` custom properties at the consumer's\n * own CSS layer.\n *\n * The five predefined keys (`neutral`/`success`/`warning`/`error`/\n * `info`) ship in `tag.css` and are NOT part of this map; passing\n * them here is a no-op against the predefined cascade. Consumer\n * keys composed via `data-color=\"my-brand\"` resolve through the\n * registered entry.\n *\n * ```ts\n * provideTagConfig(\n * withTagColors({\n * 'my-brand': {\n * bg: '#4f46e5',\n * color: '#ffffff',\n * border: 'transparent',\n * },\n * }),\n * );\n * ```\n *\n * @category common/display\n */\nexport function withTagColors(\n payload: NonNullable<CngxTagConfig['colors']>,\n): CngxTagConfigFeature {\n return { kind: 'colors', payload };\n}\n\n/**\n * Register app-wide template overrides for the five Tag-family\n * slots. Resolved in tier 2 of the slot cascade — instance\n * directives still win, the host's `<ng-template>` default body is\n * the floor.\n *\n * **Staging note.** This factory ships ahead of a documented second\n * consumer — the headless `CngxTag` + `CngxTagGroup` are the only\n * current consumers. The staging is intentional and tracked in\n * `display-accepted-debt.md §2` (Material organism deferral): a\n * future `cngx-mat-tag` / `cngx-mat-tag-group` wrapper inherits the\n * cascade for free without forking. If §2 is rejected outright,\n * `withTagSlots` re-evaluates as a sunsetting candidate at the same\n * time. Per the cngx-review architecture lens, the surface is\n * tracked rather than left silent.\n *\n * ```ts\n * @Component({\n * template: `\n * <ng-template #brandLabel let-color=\"color\">\n * <strong>{{ color }}</strong>\n * </ng-template>\n * `,\n * })\n * class AppShell {\n * readonly brandLabel = viewChild.required<TemplateRef<unknown>>('brandLabel');\n * }\n *\n * // Then in providers:\n * provideTagConfig(withTagSlots({ label: shell.brandLabel() }));\n * ```\n *\n * @category common/display\n */\nexport function withTagSlots(\n payload: NonNullable<CngxTagConfig['templates']>,\n): CngxTagConfigFeature {\n return { kind: 'templates', payload };\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagGroupAccessoryContext } from './tag-group-slot.context';\n\n/**\n * Override template for the accessory zone of `<cngx-tag-group>` -\n * projected BELOW the row of tags. Use for clear-all buttons,\n * sort toggles that span the group, secondary actions, or any\n * trailing decoration the consumer wants to bundle with the\n * layout.\n *\n * The slot has no default body - when not projected, no DOM is\n * rendered below the tag row. The reactive count of projected\n * `<span cngxTag>` siblings is exposed via the slot context so\n * consumer \"Clear all (5)\" patterns work without injection.\n *\n * ```html\n * <cngx-tag-group [semanticList]=\"true\" label=\"Active filters\">\n * <span cngxTag>Frontend</span>\n * <span cngxTag>Backend</span>\n * <ng-template cngxTagGroupAccessory let-count=\"count\">\n * <button (click)=\"clearAll()\">Clear all ({{ count }})</button>\n * </ng-template>\n * </cngx-tag-group>\n * ```\n *\n * @category common/display\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag-group/slots/tag-group-accessory.directive.ts\n * @since 0.1.0\n * @relatedTo CngxTagGroup, CngxTagGroupHeader\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Directive({\n selector: 'ng-template[cngxTagGroupAccessory]',\n standalone: true,\n exportAs: 'cngxTagGroupAccessory',\n})\nexport class CngxTagGroupAccessory {\n readonly templateRef = inject<TemplateRef<CngxTagGroupAccessoryContext>>(TemplateRef);\n}\n","import { Directive, inject, TemplateRef } from '@angular/core';\n\nimport type { CngxTagGroupHeaderContext } from './tag-group-slot.context';\n\n/**\n * Override template for the header zone of `<cngx-tag-group>` -\n * projected ABOVE the row of tags. Use for label-prefix\n * (\"Filters\"), count badges, sort toggles that span the group, or\n * any header decoration the consumer wants to bundle with the\n * layout.\n *\n * The slot has no default body - when not projected, no DOM is\n * rendered above the tag row. The reactive count of projected\n * `<span cngxTag>` siblings is exposed via the slot context for\n * consumer \"Filters ({{ count }})\" patterns without injection.\n *\n * ```html\n * <cngx-tag-group [semanticList]=\"true\" label=\"Filters\">\n * <ng-template cngxTagGroupHeader let-count=\"count\">\n * <strong>Filters ({{ count }})</strong>\n * </ng-template>\n * <span cngxTag>Frontend</span>\n * <span cngxTag>Backend</span>\n * </cngx-tag-group>\n * ```\n *\n * @category common/display\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag-group/slots/tag-group-header.directive.ts\n * @since 0.1.0\n * @relatedTo CngxTagGroup, CngxTagGroupAccessory\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/group-with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/layout-only-gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Directive({\n selector: 'ng-template[cngxTagGroupHeader]',\n standalone: true,\n exportAs: 'cngxTagGroupHeader',\n})\nexport class CngxTagGroupHeader {\n readonly templateRef = inject<TemplateRef<CngxTagGroupHeaderContext>>(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n afterNextRender,\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChild,\n contentChildren,\n input,\n isDevMode,\n type Signal,\n untracked,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { injectTagConfig } from '../tag/config/inject-tag-config';\nimport { injectResolvedTagTemplate } from '../tag/shared/inject-resolved-template';\nimport { CngxTag } from '../tag/tag.directive';\nimport { CngxTagGroupAccessory } from './slots/tag-group-accessory.directive';\nimport { CngxTagGroupHeader } from './slots/tag-group-header.directive';\nimport type { CngxTagGroupHeaderContext } from './slots/tag-group-slot.context';\nimport { CNGX_TAG_GROUP, type CngxTagGroupHost } from './tag-group.token';\n\n/**\n * Spacing between projected tags. Maps to the\n * `--cngx-tag-group-gap{,-xs,-md}` CSS custom property cascade with\n * fallback defaults (see `tag-group.component.css`). `sm` is the\n * default - matches the tag's own padding rhythm.\n *\n * - `xs` → 0.25rem (tight chip strips)\n * - `sm` → 0.5rem (default)\n * - `md` → 0.75rem (roomy taxonomy clusters)\n *\n * @category common/display\n */\nexport type CngxTagGroupGap = 'xs' | 'sm' | 'md';\n\n/**\n * Cross-axis distribution of projected tags within the flex-wrap row.\n * Resolves to a `justify-content` value:\n *\n * - `start` (default) → `flex-start`\n * - `center` → `center`\n * - `end` → `flex-end`\n * - `between` → `space-between`\n *\n * Only meaningful when the group has more horizontal room than its\n * intrinsic content; otherwise the row hugs its tags.\n *\n * @category common/display\n */\nexport type CngxTagGroupAlign = 'start' | 'center' | 'end' | 'between';\n\n/**\n * Layout-only container for a row of `CngxTag` siblings.\n *\n * **Why this exists.**\n * Pairs with `CngxTag` to satisfy the long tail of \"render N taxonomy\n * badges in a row, optionally as a semantic list\" needs. The component\n * owns *only* the flex-wrap layout (gap / align), the `role=\"list\"` +\n * `aria-label` ARIA opt-in, and the `<ng-template>`-driven header /\n * accessory slot zones. The cascade that flips each child's\n * `role=\"listitem\"` lives on the `CngxTag` side (`tag.directive.ts`\n * reads `CNGX_TAG_GROUP.semanticList()` through a `computed`); this\n * component just provides the implementer of that token (Pillar 1 -\n * derivation rather than imperative sync; Pillar 2 - ARIA in the\n * reactive graph).\n *\n * **Responsibilities (intentionally narrow).**\n * - Apply gap / align host-class modifiers + thematic CSS custom\n * properties.\n * - Bind `role=\"list\"` reactively from `[semanticList]`.\n * - Bind `aria-label` reactively from `[label]`.\n * - Provide `CNGX_TAG_GROUP` so descendant `CngxTag` directives can\n * read `semanticList()` without injecting this concrete class\n * (atomic-decompose rule 4).\n * - Project consumer-supplied `*cngxTagGroupHeader` /\n * `*cngxTagGroupAccessory` templates above / below the tag row,\n * exposing the live group state plus `count` of projected\n * `CngxTag` children via the slot context.\n *\n * **Non-responsibilities.**\n * - No `role=\"listitem\"` cascade implementation here - that lives in\n * `CngxTag` so the cascade survives any future non-component\n * implementer of `CngxTagGroupHost` (test doubles, programmatic\n * groups).\n * - No `hostDirectives` - decorative atoms have no shared cross-cutting\n * behaviour to compose. Per atomic-decompose rule 1 the absence is\n * the right call until a future shared concern lands.\n * - Configuration cascade (`provideTagConfig`) - deferred (see\n * `display-accepted-debt.md §1`).\n *\n * @category common/display\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/display/tag-group/tag-group.component.ts\n * @since 0.1.0\n * @relatedTo CngxTag, CngxTagGroupHeader, CngxTagGroupAccessory, CNGX_TAG_GROUP\n * <example-url>http://localhost:4200/#/common/display/tag/app-wide-defaults-via-providetagconfig</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/color-palette</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/composition-with-cngxicon</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/density</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/semantic-list</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/with-header-accessory</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/alignment</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag-group/gap-variants</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/link-mode</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-custom-label</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/slot-overrides-prefix-label-suffix</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/truncate-maxwidth</example-url>\n * <example-url>http://localhost:4200/#/common/display/tag/variant-matrix</example-url>\n */\n@Component({\n selector: 'cngx-tag-group',\n exportAs: 'cngxTagGroup',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet],\n // Host-class modifiers (`--gap-md`, `--align-between`) need to match\n // the host directly; emulated encapsulation would rewrite them to\n // `[_ngcontent-xxx]` and silently drop the chrome. Same as `mat-*`.\n encapsulation: ViewEncapsulation.None,\n template: `\n @if (headerTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n <div class=\"cngx-tag-group__row\">\n <ng-content />\n </div>\n @if (accessoryTpl(); as t) {\n <ng-container *ngTemplateOutlet=\"t; context: slotContext()\" />\n }\n `,\n styleUrls: ['../tag/shared/tag-base.css', './tag-group.component.css'],\n providers: [{ provide: CNGX_TAG_GROUP, useExisting: CngxTagGroup }],\n host: {\n class: 'cngx-tag-group',\n '[class.cngx-tag-group--gap-xs]': \"gap() === 'xs'\",\n '[class.cngx-tag-group--gap-md]': \"gap() === 'md'\",\n '[class.cngx-tag-group--align-start]': \"align() === 'start'\",\n '[class.cngx-tag-group--align-center]': \"align() === 'center'\",\n '[class.cngx-tag-group--align-end]': \"align() === 'end'\",\n '[class.cngx-tag-group--align-between]': \"align() === 'between'\",\n '[attr.role]': \"semanticList() ? 'list' : null\",\n '[attr.aria-label]': 'label() ?? null',\n },\n})\nexport class CngxTagGroup implements CngxTagGroupHost {\n /**\n * Snapshot of the resolved tag-family config at construction\n * time. Drives the per-input fallback defaults below.\n *\n * **Field-init ordering is load-bearing** - must be declared\n * before any input field that reads `this.cfg.groupDefaults?.*`.\n * Per the `tag-family-architectural-a-plus-pass` plan\n * Architectural-Decisions table.\n */\n private readonly cfg = injectTagConfig();\n\n /** Spacing between projected tags. `sm` (default) | `xs` | `md`. */\n readonly gap = input<CngxTagGroupGap>(this.cfg.groupDefaults?.gap ?? 'sm');\n\n /** Cross-axis distribution. `start` (default) | `center` | `end` | `between`. */\n readonly align = input<CngxTagGroupAlign>(this.cfg.groupDefaults?.align ?? 'start');\n\n /**\n * Optional label rendered as `aria-label` on the host. When the\n * group also opts into `[semanticList]=\"true\"`, AT reads \"Tags,\n * list, N items\"; without `semanticList`, the label sits on a\n * decorative grouping (no `role`).\n */\n readonly label = input<string | undefined>(undefined);\n\n /**\n * Input-binding hook for the public `[semanticList]` attribute.\n * Accessed by Angular's template type-checker on consumer\n * markup - therefore must be class-public (Angular rejects\n * `private` per NG1053; `protected` blocks external template\n * bindings). The hook is intentionally **not** the contract\n * surface - that role belongs to `semanticList` below, typed\n * `Signal<boolean>` so test doubles and programmatic\n * implementers of `CngxTagGroupHost` can satisfy the interface\n * without owning an Angular `input()`.\n *\n * @internal\n */\n readonly semanticListInput = input<boolean>(this.cfg.groupDefaults?.semanticList ?? false, {\n alias: 'semanticList',\n });\n\n /**\n * Public host-contract field. `InputSignal<boolean>` already\n * structurally extends `Signal<boolean>`, so the assignment narrows\n * the public type without a runtime conversion. Read by\n * `CngxTag.roleAttr` through `CNGX_TAG_GROUP` to derive\n * `role=\"listitem\"` reactively.\n */\n readonly semanticList: Signal<boolean> = this.semanticListInput;\n\n /**\n * Live count of projected `<span cngxTag>` direct children. Drives\n * the `count` field of the header / accessory slot contexts so\n * consumer \"Filters ({{ count }})\" patterns work without\n * injection. Default `Object.is` equality is correct for a\n * primitive number.\n */\n readonly count = computed<number>(() => this.projectedTags().length);\n\n /**\n * Per-instance header-slot directive - projected as\n * `<ng-template cngxTagGroupHeader>...</ng-template>`. Resolved\n * through {@link injectResolvedTagTemplate} so consumers can\n * project a header without wrapping the group component.\n */\n protected readonly headerSlot = contentChild(CngxTagGroupHeader);\n\n /** Per-instance accessory-slot directive - projected below the row. */\n protected readonly accessorySlot = contentChild(CngxTagGroupAccessory);\n\n /**\n * Resolved header template. Phase 2 cascade: instance slot → null\n * (no DOM rendered above the row when not projected). Phase 4\n * commit 5 inserts `CNGX_TAG_CONFIG.templates.header` as a middle\n * tier without touching this call site.\n */\n protected readonly headerTpl = injectResolvedTagTemplate(this.headerSlot, 'header');\n\n /** Resolved accessory template. Same 2-stage cascade as {@link headerTpl}. */\n protected readonly accessoryTpl = injectResolvedTagTemplate(this.accessorySlot, 'accessory');\n\n /**\n * Projected `<span cngxTag>` siblings. Default-scoped\n * (`descendants: false`) so tags inside consumer-projected header /\n * accessory templates do NOT inflate the count - the count\n * represents the row's own taxonomy items, not arbitrary tag\n * usage inside the slot zones.\n */\n private readonly projectedTags = contentChildren(CngxTag);\n\n /**\n * Reactive bundle exposed to header / accessory slots'\n * `*ngTemplateOutletContext`. The two slot context interfaces are\n * structurally identical in Phase 2; the same computed source\n * serves both. Consumer templates `let-count=\"count\"` etc. read\n * the live state without injecting the directive.\n *\n * Explicit structural `equal` fn - without it, a fresh literal\n * each CD cycle would force `ngTemplateOutlet` to rebind embedded\n * views even when no input changed. Per\n * `reference_signal_architecture` §1 Equality Rule: every\n * `computed` returning an object MUST pass an `equal` fn.\n */\n protected readonly slotContext = computed<CngxTagGroupHeaderContext>(\n () => ({\n $implicit: undefined as void,\n gap: this.gap(),\n align: this.align(),\n semanticList: this.semanticList(),\n label: this.label(),\n count: this.count(),\n }),\n {\n equal: (a, b) =>\n a.gap === b.gap &&\n a.align === b.align &&\n a.semanticList === b.semanticList &&\n a.label === b.label &&\n a.count === b.count,\n },\n );\n\n constructor() {\n // Dev-mode advisory: `[label]` without `[semanticList]=\"true\"` lands\n // `aria-label` on a bare `<div>` - AT reads the label but won't\n // announce \"list, N items\". One-shot, tree-shaken in prod.\n afterNextRender(() => {\n const { label, semanticList } = untracked(() => ({\n label: this.label(),\n semanticList: this.semanticList(),\n }));\n if (isDevMode() && label && !semanticList) {\n console.warn(\n '[cngx-tag-group] [label] is bound without [semanticList]=\"true\"; ' +\n 'the aria-label lands on a generic <div>. Add ' +\n '[semanticList]=\"true\" to expose role=\"list\" + aria-label, ' +\n 'or remove [label].',\n );\n }\n });\n }\n}\n","/**\n * @module @cngx/common/display\n *\n * Display-only atoms: no behavior, no state beyond presentational flags.\n * Icons, avatars, badges, dividers — building blocks that render content\n * without reacting to user input. For interactive atoms (ripple, async-click,\n * nav badges) see `@cngx/common/interactive`.\n */\nexport { CngxIcon } from './icon/icon.component';\nexport {\n CngxSegmentedProgress,\n type SegmentState,\n} from './segmented-progress/segmented-progress.component';\nexport { CngxDivider } from './divider/divider.directive';\nexport { CngxAvatar } from './avatar/avatar.component';\nexport {\n CngxBadge,\n type CngxBadgeColor,\n type CngxBadgePosition,\n} from './badge/badge.directive';\nexport { CngxChip } from './chip/chip.component';\nexport { CngxCheckboxIndicator } from './checkbox-indicator/checkbox-indicator.component';\nexport { CngxRadioIndicator } from './radio-indicator/radio-indicator.component';\nexport {\n CngxTag,\n type CngxTagVariant,\n type CngxTagColor,\n type CngxTagSize,\n} from './tag/tag.directive';\nexport { type CngxTagConfig } from './tag/config/tag.config';\nexport { CNGX_TAG_CONFIG } from './tag/config/tag.config.defaults';\nexport {\n provideTagConfig,\n provideTagConfigAt,\n type CngxTagConfigFeature,\n} from './tag/config/provide-tag-config';\nexport { injectTagConfig } from './tag/config/inject-tag-config';\nexport {\n withTagDefaults,\n withTagGroupDefaults,\n withTagColors,\n withTagSlots,\n} from './tag/config/features';\nexport { CngxTagLabel } from './tag/slots/tag-label.directive';\nexport { CngxTagPrefix } from './tag/slots/tag-prefix.directive';\nexport { CngxTagSuffix } from './tag/slots/tag-suffix.directive';\nexport {\n type CngxTagLabelContext,\n type CngxTagPrefixContext,\n type CngxTagSuffixContext,\n} from './tag/slots/tag-slot.context';\nexport {\n CNGX_TAG_GROUP,\n type CngxTagGroupHost,\n} from './tag-group/tag-group.token';\nexport {\n CngxTagGroup,\n type CngxTagGroupGap,\n type CngxTagGroupAlign,\n} from './tag-group/tag-group.component';\nexport { CngxTagGroupHeader } from './tag-group/slots/tag-group-header.directive';\nexport { CngxTagGroupAccessory } from './tag-group/slots/tag-group-accessory.directive';\nexport {\n type CngxTagGroupHeaderContext,\n type CngxTagGroupAccessoryContext,\n} from './tag-group/slots/tag-group-slot.context';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BG;MAq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