@cngx/ui 0.1.0-rc.6 → 0.1.0-rc.8
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/README.md +112 -1
- package/a11y/README.md +87 -0
- package/accordion/README.md +4 -2
- package/breadcrumb/README.md +262 -0
- package/collection/README.md +6 -0
- package/command-palette/README.md +224 -0
- package/context-menu/README.md +98 -0
- package/data-grid-accordion/README.md +103 -2
- package/feedback/README.md +42 -0
- package/fesm2022/cngx-ui-a11y.mjs +452 -0
- package/fesm2022/cngx-ui-a11y.mjs.map +1 -0
- package/fesm2022/cngx-ui-accordion.mjs +116 -38
- package/fesm2022/cngx-ui-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-action-button.mjs +115 -50
- package/fesm2022/cngx-ui-action-button.mjs.map +1 -1
- package/fesm2022/cngx-ui-breadcrumb.mjs +181 -96
- package/fesm2022/cngx-ui-breadcrumb.mjs.map +1 -1
- package/fesm2022/cngx-ui-chart-panel.mjs +586 -0
- package/fesm2022/cngx-ui-chart-panel.mjs.map +1 -0
- package/fesm2022/cngx-ui-collection.mjs +207 -66
- package/fesm2022/cngx-ui-collection.mjs.map +1 -1
- package/fesm2022/cngx-ui-command-palette.mjs +1281 -0
- package/fesm2022/cngx-ui-command-palette.mjs.map +1 -0
- package/fesm2022/cngx-ui-context-menu.mjs +857 -0
- package/fesm2022/cngx-ui-context-menu.mjs.map +1 -0
- package/fesm2022/cngx-ui-data-grid-accordion.mjs +498 -111
- package/fesm2022/cngx-ui-data-grid-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-empty-state.mjs +16 -6
- package/fesm2022/cngx-ui-empty-state.mjs.map +1 -1
- package/fesm2022/cngx-ui-feedback.mjs +1095 -521
- package/fesm2022/cngx-ui-feedback.mjs.map +1 -1
- package/fesm2022/cngx-ui-layout.mjs +18 -9
- package/fesm2022/cngx-ui-layout.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-accordion.mjs +84 -16
- package/fesm2022/cngx-ui-mat-accordion.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-paginator.mjs +67 -24
- package/fesm2022/cngx-ui-mat-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-stepper.mjs +72 -47
- package/fesm2022/cngx-ui-mat-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-mat-tabs.mjs +370 -203
- package/fesm2022/cngx-ui-mat-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-overlay.mjs +69 -13
- package/fesm2022/cngx-ui-overlay.mjs.map +1 -1
- package/fesm2022/cngx-ui-paginator.mjs +501 -182
- package/fesm2022/cngx-ui-paginator.mjs.map +1 -1
- package/fesm2022/cngx-ui-sidenav.mjs +327 -106
- package/fesm2022/cngx-ui-sidenav.mjs.map +1 -1
- package/fesm2022/cngx-ui-skeleton.mjs +22 -21
- package/fesm2022/cngx-ui-skeleton.mjs.map +1 -1
- package/fesm2022/cngx-ui-speak.mjs +107 -8
- package/fesm2022/cngx-ui-speak.mjs.map +1 -1
- package/fesm2022/cngx-ui-stat-card.mjs +718 -0
- package/fesm2022/cngx-ui-stat-card.mjs.map +1 -0
- package/fesm2022/cngx-ui-stepper.mjs +217 -76
- package/fesm2022/cngx-ui-stepper.mjs.map +1 -1
- package/fesm2022/cngx-ui-tabs.mjs +40 -19
- package/fesm2022/cngx-ui-tabs.mjs.map +1 -1
- package/fesm2022/cngx-ui-timeline.mjs +548 -0
- package/fesm2022/cngx-ui-timeline.mjs.map +1 -0
- package/fesm2022/cngx-ui-toc.mjs +748 -0
- package/fesm2022/cngx-ui-toc.mjs.map +1 -0
- package/fesm2022/cngx-ui.mjs +16 -21
- package/fesm2022/cngx-ui.mjs.map +1 -1
- package/mat-accordion/README.md +1 -1
- package/mat-paginator/README.md +9 -2
- package/mat-tabs/styles/mat-tabs.css +29 -27
- package/overlay/README.md +9 -4
- package/package.json +32 -1
- package/paginator/README.md +8 -4
- package/sidenav/README.md +33 -11
- package/skeleton/README.md +2 -0
- package/speak/README.md +3 -2
- package/stepper/README.md +15 -3
- package/timeline/README.md +350 -0
- package/toc/README.md +186 -0
- package/types/cngx-ui-a11y.d.ts +394 -0
- package/types/cngx-ui-accordion.d.ts +100 -30
- package/types/cngx-ui-action-button.d.ts +47 -3
- package/types/cngx-ui-breadcrumb.d.ts +159 -58
- package/types/cngx-ui-chart-panel.d.ts +382 -0
- package/types/cngx-ui-collection.d.ts +159 -58
- package/types/cngx-ui-command-palette.d.ts +565 -0
- package/types/cngx-ui-context-menu.d.ts +559 -0
- package/types/cngx-ui-data-grid-accordion.d.ts +344 -51
- package/types/cngx-ui-empty-state.d.ts +9 -2
- package/types/cngx-ui-feedback.d.ts +664 -73
- package/types/cngx-ui-layout.d.ts +8 -3
- package/types/cngx-ui-mat-accordion.d.ts +32 -4
- package/types/cngx-ui-mat-paginator.d.ts +37 -8
- package/types/cngx-ui-mat-stepper.d.ts +23 -11
- package/types/cngx-ui-mat-tabs.d.ts +218 -23
- package/types/cngx-ui-overlay.d.ts +56 -10
- package/types/cngx-ui-paginator.d.ts +416 -132
- package/types/cngx-ui-sidenav.d.ts +248 -74
- package/types/cngx-ui-skeleton.d.ts +18 -7
- package/types/cngx-ui-speak.d.ts +118 -5
- package/types/cngx-ui-stat-card.d.ts +411 -0
- package/types/cngx-ui-stepper.d.ts +81 -29
- package/types/cngx-ui-tabs.d.ts +22 -6
- package/types/cngx-ui-timeline.d.ts +495 -0
- package/types/cngx-ui-toc.d.ts +581 -0
- package/types/cngx-ui.d.ts +8 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from '@angular/common';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { inject, TemplateRef, Directive, InjectionToken, input, contentChild, ViewEncapsulation, ChangeDetectionStrategy, Component,
|
|
4
|
-
import { CNGX_BREADCRUMB, CngxMenu, CngxMenuItem, CngxMenuTrigger,
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { createControlledSource } from '@cngx/core/utils';
|
|
3
|
+
import { inject, TemplateRef, Directive, isSignal, InjectionToken, input, computed, contentChild, ViewEncapsulation, ChangeDetectionStrategy, Component, ElementRef, afterNextRender, signal, DestroyRef, makeEnvironmentProviders } from '@angular/core';
|
|
4
|
+
import { CNGX_BREADCRUMB, CngxMenu, CngxMenuItem, CngxMenuTrigger, CngxBreadcrumb, CngxBreadcrumbItem, CngxBreadcrumbSeparator } from '@cngx/common/interactive';
|
|
5
|
+
import { injectContainerSize } from '@cngx/common/layout';
|
|
6
|
+
import { createFilledOverrideMerge, createControlledSource, createOverrideMerge } from '@cngx/core/utils';
|
|
8
7
|
import { CngxPopoverPanel, CngxPopoverTrigger } from '@cngx/common/popover';
|
|
8
|
+
import { createLanguageSection } from '@cngx/core/i18n';
|
|
9
9
|
import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
10
10
|
import { Router, NavigationEnd } from '@angular/router';
|
|
11
11
|
import { filter } from 'rxjs/operators';
|
|
@@ -142,28 +142,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
142
142
|
}] });
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
145
|
+
* The English breadcrumb section: the single source of the breadcrumb family's
|
|
146
|
+
* English copy. The `CNGX_BREADCRUMB_CONFIG` names default to it.
|
|
147
|
+
*
|
|
148
|
+
* @category ui/breadcrumb/i18n
|
|
149
|
+
* @since 0.1.0
|
|
150
|
+
* @relatedTo CNGX_BREADCRUMB_CONFIG
|
|
151
|
+
*/
|
|
152
|
+
const CNGX_BREADCRUMB_LANGUAGE_EN = {
|
|
153
|
+
bar: 'Breadcrumb',
|
|
154
|
+
overflowTrigger: 'Show collapsed breadcrumbs',
|
|
155
|
+
overflowMenu: 'Collapsed breadcrumbs',
|
|
156
|
+
siblingsTrigger: 'Show sibling pages',
|
|
157
|
+
siblingsMenu: 'Sibling pages',
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* The text of a route's breadcrumb data, or `undefined` when it carries none.
|
|
162
|
+
* A `Signal` is read, so a caller inside a `computed()` tracks it.
|
|
163
|
+
*
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
function routeLabelText(raw) {
|
|
167
|
+
const text = isSignal(raw) ? raw() : raw;
|
|
168
|
+
return typeof text === 'string' && text.length > 0 ? text : undefined;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* @internal The breadcrumb section of the active pack over the English section,
|
|
172
|
+
* shared app-wide. Consumers override copy through `withBreadcrumbAriaLabels`.
|
|
173
|
+
*/
|
|
174
|
+
const injectBreadcrumbSiteCopy = createLanguageSection('breadcrumb', CNGX_BREADCRUMB_LANGUAGE_EN);
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Library defaults for the breadcrumb configuration cascade. Carries no copy:
|
|
178
|
+
* the accessible-name defaults are the `breadcrumb` section of the language
|
|
179
|
+
* pack; single keys ride the `withBreadcrumbAriaLabels` feature.
|
|
150
180
|
*
|
|
151
181
|
* Exported for intra-lib consumers (`provideBreadcrumbConfig` deep-merges with
|
|
152
|
-
* this base) but **NOT** re-exported from `public-api.ts
|
|
153
|
-
* consumers reach the defaults via `inject(CNGX_BREADCRUMB_CONFIG)` so
|
|
154
|
-
* `provideBreadcrumbConfig` / `provideBreadcrumbConfigAt` overrides take
|
|
155
|
-
* precedence.
|
|
182
|
+
* this base) but **NOT** re-exported from `public-api.ts`.
|
|
156
183
|
*
|
|
157
184
|
* @internal
|
|
158
185
|
*/
|
|
159
186
|
const CNGX_BREADCRUMB_DEFAULTS = {
|
|
160
|
-
ariaLabels: {
|
|
161
|
-
bar: 'Breadcrumb',
|
|
162
|
-
overflowTrigger: 'Show collapsed breadcrumbs',
|
|
163
|
-
overflowMenu: 'Collapsed breadcrumbs',
|
|
164
|
-
siblingsTrigger: 'Show sibling pages',
|
|
165
|
-
siblingsMenu: 'Sibling pages',
|
|
166
|
-
},
|
|
167
187
|
router: {
|
|
168
188
|
dataKey: 'breadcrumb',
|
|
169
189
|
iconKey: 'icon',
|
|
@@ -202,10 +222,13 @@ const CNGX_BREADCRUMB_CONFIG = new InjectionToken('CNGX_BREADCRUMB_CONFIG', {
|
|
|
202
222
|
* exists so consumers don't import the token directly. Mirrors
|
|
203
223
|
* `injectTagConfig` in `@cngx/common/display`.
|
|
204
224
|
*
|
|
225
|
+
* `ariaLabels` may hold a `Signal`; read the resolved bundle through
|
|
226
|
+
* {@link injectBreadcrumbAriaLabels}.
|
|
227
|
+
*
|
|
205
228
|
* ```ts
|
|
206
|
-
* export class
|
|
229
|
+
* export class MyTrail {
|
|
207
230
|
* private readonly cfg = injectBreadcrumbConfig();
|
|
208
|
-
* readonly
|
|
231
|
+
* protected readonly skin = computed(() => this.cfg.skin ?? 'classic');
|
|
209
232
|
* }
|
|
210
233
|
* ```
|
|
211
234
|
*
|
|
@@ -215,6 +238,26 @@ const CNGX_BREADCRUMB_CONFIG = new InjectionToken('CNGX_BREADCRUMB_CONFIG', {
|
|
|
215
238
|
function injectBreadcrumbConfig() {
|
|
216
239
|
return inject(CNGX_BREADCRUMB_CONFIG);
|
|
217
240
|
}
|
|
241
|
+
/**
|
|
242
|
+
* The resolved accessible names of the breadcrumb config in scope, every key
|
|
243
|
+
* the config leaves unset (also a key an override sets to `undefined`) filled
|
|
244
|
+
* from the `breadcrumb` section of the active pack, as a Signal that follows a
|
|
245
|
+
* runtime language switch. Runs in injection context; read it inside a `computed()`,
|
|
246
|
+
* a template or a handler.
|
|
247
|
+
*
|
|
248
|
+
* ```ts
|
|
249
|
+
* export class MyTrail {
|
|
250
|
+
* private readonly labels = injectBreadcrumbAriaLabels();
|
|
251
|
+
* protected readonly name = computed(() => this.labels().bar);
|
|
252
|
+
* }
|
|
253
|
+
* ```
|
|
254
|
+
*
|
|
255
|
+
* @category ui/breadcrumb
|
|
256
|
+
* @since 0.1.0
|
|
257
|
+
*/
|
|
258
|
+
function injectBreadcrumbAriaLabels() {
|
|
259
|
+
return createFilledOverrideMerge(injectBreadcrumbSiteCopy(), injectBreadcrumbConfig().ariaLabels);
|
|
260
|
+
}
|
|
218
261
|
|
|
219
262
|
/**
|
|
220
263
|
* Drop-in overflow menu for {@link CngxBreadcrumbBar}. Presents the crumbs the
|
|
@@ -241,16 +284,19 @@ function injectBreadcrumbConfig() {
|
|
|
241
284
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/breadcrumb/breadcrumb-overflow.component.ts
|
|
242
285
|
* @since 0.1.0
|
|
243
286
|
* @relatedTo CngxBreadcrumbBar, CngxBreadcrumbOverflowItem, CngxPopoverPanel, CngxPopoverTrigger, CngxMenu, CngxMenuTrigger
|
|
287
|
+
* @slot cngxBreadcrumbOverflowItem Replaces a row inside the collapsed-crumbs menu; gets the crumb.
|
|
244
288
|
* <example-url>http://localhost:4200/#/ui/breadcrumb/overflow/collapsed-menu</example-url>
|
|
245
289
|
*/
|
|
246
290
|
class CngxBreadcrumbOverflow {
|
|
247
291
|
/** Collapse-set contract, provided by the surrounding `cngxBreadcrumb`. */
|
|
248
292
|
breadcrumb = inject(CNGX_BREADCRUMB);
|
|
249
|
-
|
|
250
|
-
/** Accessible name of the ellipsis trigger.
|
|
251
|
-
triggerLabel = input(
|
|
252
|
-
/** Accessible name of the collapsed-crumb menu.
|
|
253
|
-
menuLabel = input(
|
|
293
|
+
ariaLabels = injectBreadcrumbAriaLabels();
|
|
294
|
+
/** Accessible name of the ellipsis trigger. Unbound (`undefined`), it falls back through the config cascade to the EN default. */
|
|
295
|
+
triggerLabel = input(undefined, ...(ngDevMode ? [{ debugName: "triggerLabel" }] : /* istanbul ignore next */ []));
|
|
296
|
+
/** Accessible name of the collapsed-crumb menu. Unbound (`undefined`), it falls back through the config cascade to the EN default. */
|
|
297
|
+
menuLabel = input(undefined, ...(ngDevMode ? [{ debugName: "menuLabel" }] : /* istanbul ignore next */ []));
|
|
298
|
+
resolvedTriggerLabel = computed(() => this.triggerLabel() ?? this.ariaLabels().overflowTrigger, ...(ngDevMode ? [{ debugName: "resolvedTriggerLabel" }] : /* istanbul ignore next */ []));
|
|
299
|
+
resolvedMenuLabel = computed(() => this.menuLabel() ?? this.ariaLabels().overflowMenu, ...(ngDevMode ? [{ debugName: "resolvedMenuLabel" }] : /* istanbul ignore next */ []));
|
|
254
300
|
/**
|
|
255
301
|
* Per-row template forwarded by {@link CngxBreadcrumbBar}. Lets the bar pass a
|
|
256
302
|
* consumer-projected `*cngxBreadcrumbOverflowItem` into this composed overflow,
|
|
@@ -263,7 +309,7 @@ class CngxBreadcrumbOverflow {
|
|
|
263
309
|
/** Resolved row template: a bar-forwarded input wins, else the directly-projected slot. */
|
|
264
310
|
itemTemplate = createControlledSource(this.itemTemplateInput, this.itemTemplateQuery);
|
|
265
311
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbOverflow, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
266
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxBreadcrumbOverflow, isStandalone: true, selector: "cngx-breadcrumb-overflow", inputs: { triggerLabel: { classPropertyName: "triggerLabel", publicName: "triggerLabel", isSignal: true, isRequired: false, transformFunction: null }, menuLabel: { classPropertyName: "menuLabel", publicName: "menuLabel", isSignal: true, isRequired: false, transformFunction: null }, itemTemplateInput: { classPropertyName: "itemTemplateInput", publicName: "itemTemplate", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "itemTemplateQuery", first: true, predicate: CngxBreadcrumbOverflowItem, descendants: true, read: TemplateRef, isSignal: true }], exportAs: ["cngxBreadcrumbOverflow"], ngImport: i0, template: "@if (breadcrumb.hasCollapsed()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__overflow-trigger\"\n [cngxMenuTrigger]=\"menu\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'menu'\"\n [popover]=\"panel.popover\"\n [attr.aria-label]=\"
|
|
312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxBreadcrumbOverflow, isStandalone: true, selector: "cngx-breadcrumb-overflow", inputs: { triggerLabel: { classPropertyName: "triggerLabel", publicName: "triggerLabel", isSignal: true, isRequired: false, transformFunction: null }, menuLabel: { classPropertyName: "menuLabel", publicName: "menuLabel", isSignal: true, isRequired: false, transformFunction: null }, itemTemplateInput: { classPropertyName: "itemTemplateInput", publicName: "itemTemplate", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "itemTemplateQuery", first: true, predicate: CngxBreadcrumbOverflowItem, descendants: true, read: TemplateRef, isSignal: true }], exportAs: ["cngxBreadcrumbOverflow"], ngImport: i0, template: "@if (breadcrumb.hasCollapsed()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__overflow-trigger\"\n [cngxMenuTrigger]=\"menu\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'menu'\"\n [popover]=\"panel.popover\"\n [attr.aria-label]=\"resolvedTriggerLabel()\"\n (click)=\"panel.popover.toggle()\"\n >\n <ng-content select=\":not([cngxBreadcrumbOverflowItem])\">…</ng-content>\n </button>\n\n <cngx-popover-panel #panel role=\"group\" placement=\"bottom-start\">\n <ul cngxMenu #menu=\"cngxMenu\" [label]=\"resolvedMenuLabel()\" class=\"cngx-breadcrumb__overflow-menu\">\n @for (crumb of breadcrumb.collapsedItems(); track crumb; let i = $index) {\n <li cngxMenuItem class=\"cngx-breadcrumb__overflow-item\">\n @if (itemTemplate(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: i }\"\n />\n } @else {\n {{ crumb.resolvedLabel() }}\n }\n </li>\n }\n </ul>\n </cngx-popover-panel>\n}\n", styles: [".cngx-breadcrumb__overflow-trigger{display:inline-flex;align-items:center;justify-content:center;gap:2px;width:var(--cngx-breadcrumb-overflow-trigger-width, 32px);height:var(--cngx-breadcrumb-overflow-trigger-height, 26px);min-inline-size:var(--cngx-target-min, 0px);min-block-size:var(--cngx-target-min, 0px);padding:0;border:1px solid var(--cngx-breadcrumb-overflow-trigger-border, var(--cngx-color-border, oklch(.88 .005 250)));border-radius:var(--cngx-breadcrumb-overflow-trigger-radius, var(--cngx-radius-sm, 4px));background:var( --cngx-breadcrumb-overflow-trigger-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );font:inherit;line-height:1;color:var(--cngx-breadcrumb-overflow-trigger-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer;transition:background var(--cngx-duration-base, .2s) ease,color var(--cngx-duration-base, .2s) ease,border-color var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__overflow-trigger:hover{background:var( --cngx-breadcrumb-overflow-trigger-hover-bg, color-mix(in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent) );color:var(--cngx-breadcrumb-overflow-trigger-hover-color, var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))));border-color:var( --cngx-breadcrumb-overflow-trigger-hover-border, var(--cngx-color-primary, oklch(.66 .19 50)) )}.cngx-breadcrumb__overflow-menu{--cngx-breadcrumb-overflow-menu-padding: var(--cngx-space-xs, .25rem) 0;margin:0;padding:var(--cngx-breadcrumb-overflow-menu-padding, .25rem 0);list-style:none;min-width:var(--cngx-breadcrumb-overflow-menu-min-width, 11.875rem)}.cngx-breadcrumb__overflow-item{--cngx-breadcrumb-overflow-item-padding: var(--cngx-space-sm, .5em) var(--cngx-space-sm, .6em);display:flex;align-items:center;gap:.5em;padding:var(--cngx-breadcrumb-overflow-item-padding, .5em .6em);border-radius:var(--cngx-breadcrumb-overflow-item-radius, var(--cngx-radius-sm, 4px));white-space:nowrap;color:var(--cngx-breadcrumb-overflow-item-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer}.cngx-breadcrumb__overflow-item:hover{background:var( --cngx-breadcrumb-overflow-item-hover-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );color:var(--cngx-breadcrumb-overflow-item-hover-color, var(--cngx-color-text, oklch(.2 .01 250)))}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxMenu, selector: "[cngxMenu]", inputs: ["label"], outputs: ["itemActivated"], exportAs: ["cngxMenu"] }, { kind: "directive", type: CngxMenuItem, selector: "[cngxMenuItem]", inputs: ["value", "disabled", "label"], exportAs: ["cngxMenuItem"] }, { kind: "directive", type: CngxMenuTrigger, selector: "[cngxMenuTrigger]", inputs: ["cngxMenuTrigger", "popover"], exportAs: ["cngxMenuTrigger"] }, { kind: "component", type: CngxPopoverPanel, selector: "cngx-popover-panel", inputs: ["variant", "role", "showClose", "showArrow", "state", "loading", "error", "empty"], exportAs: ["cngxPopoverPanel"] }, { kind: "directive", type: CngxPopoverTrigger, selector: "[cngxPopoverTrigger]", inputs: ["cngxPopoverTrigger", "haspopup", "restoreFocus"], exportAs: ["cngxPopoverTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
267
313
|
}
|
|
268
314
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbOverflow, decorators: [{
|
|
269
315
|
type: Component,
|
|
@@ -274,7 +320,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
274
320
|
CngxMenuTrigger,
|
|
275
321
|
CngxPopoverPanel,
|
|
276
322
|
CngxPopoverTrigger,
|
|
277
|
-
], template: "@if (breadcrumb.hasCollapsed()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__overflow-trigger\"\n [cngxMenuTrigger]=\"menu\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'menu'\"\n [popover]=\"panel.popover\"\n [attr.aria-label]=\"
|
|
323
|
+
], template: "@if (breadcrumb.hasCollapsed()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__overflow-trigger\"\n [cngxMenuTrigger]=\"menu\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'menu'\"\n [popover]=\"panel.popover\"\n [attr.aria-label]=\"resolvedTriggerLabel()\"\n (click)=\"panel.popover.toggle()\"\n >\n <ng-content select=\":not([cngxBreadcrumbOverflowItem])\">…</ng-content>\n </button>\n\n <cngx-popover-panel #panel role=\"group\" placement=\"bottom-start\">\n <ul cngxMenu #menu=\"cngxMenu\" [label]=\"resolvedMenuLabel()\" class=\"cngx-breadcrumb__overflow-menu\">\n @for (crumb of breadcrumb.collapsedItems(); track crumb; let i = $index) {\n <li cngxMenuItem class=\"cngx-breadcrumb__overflow-item\">\n @if (itemTemplate(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: i }\"\n />\n } @else {\n {{ crumb.resolvedLabel() }}\n }\n </li>\n }\n </ul>\n </cngx-popover-panel>\n}\n", styles: [".cngx-breadcrumb__overflow-trigger{display:inline-flex;align-items:center;justify-content:center;gap:2px;width:var(--cngx-breadcrumb-overflow-trigger-width, 32px);height:var(--cngx-breadcrumb-overflow-trigger-height, 26px);min-inline-size:var(--cngx-target-min, 0px);min-block-size:var(--cngx-target-min, 0px);padding:0;border:1px solid var(--cngx-breadcrumb-overflow-trigger-border, var(--cngx-color-border, oklch(.88 .005 250)));border-radius:var(--cngx-breadcrumb-overflow-trigger-radius, var(--cngx-radius-sm, 4px));background:var( --cngx-breadcrumb-overflow-trigger-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );font:inherit;line-height:1;color:var(--cngx-breadcrumb-overflow-trigger-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer;transition:background var(--cngx-duration-base, .2s) ease,color var(--cngx-duration-base, .2s) ease,border-color var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__overflow-trigger:hover{background:var( --cngx-breadcrumb-overflow-trigger-hover-bg, color-mix(in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent) );color:var(--cngx-breadcrumb-overflow-trigger-hover-color, var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))));border-color:var( --cngx-breadcrumb-overflow-trigger-hover-border, var(--cngx-color-primary, oklch(.66 .19 50)) )}.cngx-breadcrumb__overflow-menu{--cngx-breadcrumb-overflow-menu-padding: var(--cngx-space-xs, .25rem) 0;margin:0;padding:var(--cngx-breadcrumb-overflow-menu-padding, .25rem 0);list-style:none;min-width:var(--cngx-breadcrumb-overflow-menu-min-width, 11.875rem)}.cngx-breadcrumb__overflow-item{--cngx-breadcrumb-overflow-item-padding: var(--cngx-space-sm, .5em) var(--cngx-space-sm, .6em);display:flex;align-items:center;gap:.5em;padding:var(--cngx-breadcrumb-overflow-item-padding, .5em .6em);border-radius:var(--cngx-breadcrumb-overflow-item-radius, var(--cngx-radius-sm, 4px));white-space:nowrap;color:var(--cngx-breadcrumb-overflow-item-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer}.cngx-breadcrumb__overflow-item:hover{background:var( --cngx-breadcrumb-overflow-item-hover-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );color:var(--cngx-breadcrumb-overflow-item-hover-color, var(--cngx-color-text, oklch(.2 .01 250)))}\n"] }]
|
|
278
324
|
}], propDecorators: { triggerLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerLabel", required: false }] }], menuLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuLabel", required: false }] }], itemTemplateInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemTemplate", required: false }] }], itemTemplateQuery: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxBreadcrumbOverflowItem), { ...{
|
|
279
325
|
read: TemplateRef,
|
|
280
326
|
}, isSignal: true }] }] } });
|
|
@@ -363,16 +409,19 @@ const CNGX_BREADCRUMB_SIBLINGS_SOURCE = new InjectionToken('CNGX_BREADCRUMB_SIBL
|
|
|
363
409
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/breadcrumb/breadcrumb-siblings.component.ts
|
|
364
410
|
* @since 0.1.0
|
|
365
411
|
* @relatedTo CngxBreadcrumbSiblingItem, CngxBreadcrumbSiblingsRouterSync, CngxBreadcrumbSiblingsSource, CngxBreadcrumbBar, CngxPopoverPanel, CngxPopoverTrigger
|
|
412
|
+
* @slot cngxBreadcrumbSiblingItem Replaces a row in the sibling-navigation menu; gets the sibling.
|
|
366
413
|
* <example-url>http://localhost:4200/#/ui/breadcrumb/siblings/static-siblings</example-url>
|
|
367
414
|
*/
|
|
368
415
|
class CngxBreadcrumbSiblings {
|
|
369
416
|
/** Static sibling rows. Superseded by a provided `CNGX_BREADCRUMB_SIBLINGS_SOURCE`. */
|
|
370
417
|
siblingsInput = input([], { ...(ngDevMode ? { debugName: "siblingsInput" } : /* istanbul ignore next */ {}), alias: 'siblings' });
|
|
371
|
-
|
|
372
|
-
/** Accessible name of the chevron trigger.
|
|
373
|
-
triggerLabel = input(
|
|
374
|
-
/** Accessible name of the sibling list (kept as `menuLabel` for overflow symmetry).
|
|
375
|
-
menuLabel = input(
|
|
418
|
+
ariaLabels = injectBreadcrumbAriaLabels();
|
|
419
|
+
/** Accessible name of the chevron trigger. Unbound (`undefined`), it falls back through the config cascade to the EN default. */
|
|
420
|
+
triggerLabel = input(undefined, ...(ngDevMode ? [{ debugName: "triggerLabel" }] : /* istanbul ignore next */ []));
|
|
421
|
+
/** Accessible name of the sibling list (kept as `menuLabel` for overflow symmetry). Unbound (`undefined`), it falls back through the config cascade to the EN default. */
|
|
422
|
+
menuLabel = input(undefined, ...(ngDevMode ? [{ debugName: "menuLabel" }] : /* istanbul ignore next */ []));
|
|
423
|
+
resolvedTriggerLabel = computed(() => this.triggerLabel() ?? this.ariaLabels().siblingsTrigger, ...(ngDevMode ? [{ debugName: "resolvedTriggerLabel" }] : /* istanbul ignore next */ []));
|
|
424
|
+
resolvedMenuLabel = computed(() => this.menuLabel() ?? this.ariaLabels().siblingsMenu, ...(ngDevMode ? [{ debugName: "resolvedMenuLabel" }] : /* istanbul ignore next */ []));
|
|
376
425
|
/** Opt-in controlled source (router-sync directive) - wins over `[siblings]`. */
|
|
377
426
|
source = inject(CNGX_BREADCRUMB_SIBLINGS_SOURCE, { optional: true });
|
|
378
427
|
/** Rows the dropdown renders: controlled source wins, else the static input. */
|
|
@@ -382,11 +431,11 @@ class CngxBreadcrumbSiblings {
|
|
|
382
431
|
/** Per-row template overriding the default sibling row, when projected. */
|
|
383
432
|
itemTemplate = contentChild(CngxBreadcrumbSiblingItem, { ...(ngDevMode ? { debugName: "itemTemplate" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
384
433
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbSiblings, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
385
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxBreadcrumbSiblings, isStandalone: true, selector: "cngx-breadcrumb-siblings", inputs: { siblingsInput: { classPropertyName: "siblingsInput", publicName: "siblings", isSignal: true, isRequired: false, transformFunction: null }, triggerLabel: { classPropertyName: "triggerLabel", publicName: "triggerLabel", isSignal: true, isRequired: false, transformFunction: null }, menuLabel: { classPropertyName: "menuLabel", publicName: "menuLabel", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "itemTemplate", first: true, predicate: CngxBreadcrumbSiblingItem, descendants: true, read: TemplateRef, isSignal: true }], exportAs: ["cngxBreadcrumbSiblings"], ngImport: i0, template: "@if (hasSiblings()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__siblings-trigger\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'none'\"\n [restoreFocus]=\"true\"\n [attr.aria-label]=\"
|
|
434
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxBreadcrumbSiblings, isStandalone: true, selector: "cngx-breadcrumb-siblings", inputs: { siblingsInput: { classPropertyName: "siblingsInput", publicName: "siblings", isSignal: true, isRequired: false, transformFunction: null }, triggerLabel: { classPropertyName: "triggerLabel", publicName: "triggerLabel", isSignal: true, isRequired: false, transformFunction: null }, menuLabel: { classPropertyName: "menuLabel", publicName: "menuLabel", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "itemTemplate", first: true, predicate: CngxBreadcrumbSiblingItem, descendants: true, read: TemplateRef, isSignal: true }], exportAs: ["cngxBreadcrumbSiblings"], ngImport: i0, template: "@if (hasSiblings()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__siblings-trigger\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'none'\"\n [restoreFocus]=\"true\"\n [attr.aria-label]=\"resolvedTriggerLabel()\"\n (click)=\"panel.popover.toggle()\"\n >\n <ng-content select=\":not([cngxBreadcrumbSiblingItem])\">▾</ng-content>\n </button>\n\n <cngx-popover-panel #panel mode=\"auto\" placement=\"bottom-start\">\n <ul class=\"cngx-breadcrumb__siblings-menu\" role=\"list\" [attr.aria-label]=\"resolvedMenuLabel()\">\n @for (sib of items(); track sib; let i = $index) {\n <li\n class=\"cngx-breadcrumb__siblings-item\"\n [attr.aria-current]=\"sib.current ? 'page' : null\"\n >\n @if (itemTemplate(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: sib, sibling: sib, index: i }\"\n />\n } @else {\n @if (sib.href && !sib.current) {\n <a class=\"cngx-breadcrumb__siblings-link\" [attr.href]=\"sib.href\">{{ sib.label }}</a>\n } @else {\n {{ sib.label }}\n }\n }\n </li>\n }\n </ul>\n </cngx-popover-panel>\n}\n", styles: [".cngx-breadcrumb__siblings-trigger{display:inline-flex;align-items:center;justify-content:center;width:max(var(--cngx-breadcrumb-siblings-trigger-size, 22px),var(--cngx-target-min, 0px));height:max(var(--cngx-breadcrumb-siblings-trigger-size, 22px),var(--cngx-target-min, 0px));padding:0;border:0;border-radius:var(--cngx-breadcrumb-siblings-trigger-radius, var(--cngx-radius-sm, 4px));background:none;font:inherit;line-height:1;color:var(--cngx-breadcrumb-siblings-trigger-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer;transition:background var(--cngx-duration-base, .2s) ease,color var(--cngx-duration-base, .2s) ease,transform var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__siblings-trigger:hover{background:var( --cngx-breadcrumb-siblings-trigger-hover-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );color:var(--cngx-breadcrumb-siblings-trigger-hover-color, var(--cngx-color-text, oklch(.2 .01 250)))}.cngx-breadcrumb__siblings-trigger[aria-expanded=true]{background:var( --cngx-breadcrumb-siblings-trigger-open-bg, color-mix(in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent) );color:var(--cngx-breadcrumb-siblings-trigger-open-color, var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))));transform:rotate(180deg)}.cngx-breadcrumb__siblings-menu{--cngx-breadcrumb-siblings-menu-padding: var(--cngx-space-xs, .25rem) 0;margin:0;padding:var(--cngx-breadcrumb-siblings-menu-padding, .25rem 0);list-style:none;min-width:var(--cngx-breadcrumb-siblings-menu-min-width, 11.25rem)}.cngx-breadcrumb__siblings-item{--cngx-breadcrumb-siblings-item-padding: var(--cngx-space-sm, .45em) var(--cngx-space-sm, .55em);display:flex;align-items:center;padding:var(--cngx-breadcrumb-siblings-item-padding, .45em .55em);min-block-size:var(--cngx-target-min, 0px);border-radius:var(--cngx-breadcrumb-siblings-item-radius, var(--cngx-radius-sm, 4px));white-space:nowrap;color:var(--cngx-breadcrumb-siblings-item-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer}.cngx-breadcrumb__siblings-item:hover{background:var( --cngx-breadcrumb-siblings-item-hover-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );color:var(--cngx-breadcrumb-siblings-item-hover-color, var(--cngx-color-text, oklch(.2 .01 250)))}.cngx-breadcrumb__siblings-item[aria-current=page]{color:var(--cngx-breadcrumb-siblings-item-current-color, var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))));font-weight:600}.cngx-breadcrumb__siblings-link{color:var(--cngx-breadcrumb-siblings-link-color, inherit);text-decoration:var(--cngx-breadcrumb-siblings-link-decoration, none)}@media(forced-colors:active){.cngx-breadcrumb__siblings-item[aria-current=page]{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;color:var(--_cngx-forced-ink, HighlightText)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CngxPopoverPanel, selector: "cngx-popover-panel", inputs: ["variant", "role", "showClose", "showArrow", "state", "loading", "error", "empty"], exportAs: ["cngxPopoverPanel"] }, { kind: "directive", type: CngxPopoverTrigger, selector: "[cngxPopoverTrigger]", inputs: ["cngxPopoverTrigger", "haspopup", "restoreFocus"], exportAs: ["cngxPopoverTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
386
435
|
}
|
|
387
436
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbSiblings, decorators: [{
|
|
388
437
|
type: Component,
|
|
389
|
-
args: [{ selector: 'cngx-breadcrumb-siblings', exportAs: 'cngxBreadcrumbSiblings', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, CngxPopoverPanel, CngxPopoverTrigger], template: "@if (hasSiblings()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__siblings-trigger\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'none'\"\n [restoreFocus]=\"true\"\n [attr.aria-label]=\"
|
|
438
|
+
args: [{ selector: 'cngx-breadcrumb-siblings', exportAs: 'cngxBreadcrumbSiblings', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [NgTemplateOutlet, CngxPopoverPanel, CngxPopoverTrigger], template: "@if (hasSiblings()) {\n <button\n type=\"button\"\n class=\"cngx-breadcrumb__siblings-trigger\"\n [cngxPopoverTrigger]=\"panel.popover\"\n [haspopup]=\"'none'\"\n [restoreFocus]=\"true\"\n [attr.aria-label]=\"resolvedTriggerLabel()\"\n (click)=\"panel.popover.toggle()\"\n >\n <ng-content select=\":not([cngxBreadcrumbSiblingItem])\">▾</ng-content>\n </button>\n\n <cngx-popover-panel #panel mode=\"auto\" placement=\"bottom-start\">\n <ul class=\"cngx-breadcrumb__siblings-menu\" role=\"list\" [attr.aria-label]=\"resolvedMenuLabel()\">\n @for (sib of items(); track sib; let i = $index) {\n <li\n class=\"cngx-breadcrumb__siblings-item\"\n [attr.aria-current]=\"sib.current ? 'page' : null\"\n >\n @if (itemTemplate(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: sib, sibling: sib, index: i }\"\n />\n } @else {\n @if (sib.href && !sib.current) {\n <a class=\"cngx-breadcrumb__siblings-link\" [attr.href]=\"sib.href\">{{ sib.label }}</a>\n } @else {\n {{ sib.label }}\n }\n }\n </li>\n }\n </ul>\n </cngx-popover-panel>\n}\n", styles: [".cngx-breadcrumb__siblings-trigger{display:inline-flex;align-items:center;justify-content:center;width:max(var(--cngx-breadcrumb-siblings-trigger-size, 22px),var(--cngx-target-min, 0px));height:max(var(--cngx-breadcrumb-siblings-trigger-size, 22px),var(--cngx-target-min, 0px));padding:0;border:0;border-radius:var(--cngx-breadcrumb-siblings-trigger-radius, var(--cngx-radius-sm, 4px));background:none;font:inherit;line-height:1;color:var(--cngx-breadcrumb-siblings-trigger-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer;transition:background var(--cngx-duration-base, .2s) ease,color var(--cngx-duration-base, .2s) ease,transform var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__siblings-trigger:hover{background:var( --cngx-breadcrumb-siblings-trigger-hover-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );color:var(--cngx-breadcrumb-siblings-trigger-hover-color, var(--cngx-color-text, oklch(.2 .01 250)))}.cngx-breadcrumb__siblings-trigger[aria-expanded=true]{background:var( --cngx-breadcrumb-siblings-trigger-open-bg, color-mix(in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent) );color:var(--cngx-breadcrumb-siblings-trigger-open-color, var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))));transform:rotate(180deg)}.cngx-breadcrumb__siblings-menu{--cngx-breadcrumb-siblings-menu-padding: var(--cngx-space-xs, .25rem) 0;margin:0;padding:var(--cngx-breadcrumb-siblings-menu-padding, .25rem 0);list-style:none;min-width:var(--cngx-breadcrumb-siblings-menu-min-width, 11.25rem)}.cngx-breadcrumb__siblings-item{--cngx-breadcrumb-siblings-item-padding: var(--cngx-space-sm, .45em) var(--cngx-space-sm, .55em);display:flex;align-items:center;padding:var(--cngx-breadcrumb-siblings-item-padding, .45em .55em);min-block-size:var(--cngx-target-min, 0px);border-radius:var(--cngx-breadcrumb-siblings-item-radius, var(--cngx-radius-sm, 4px));white-space:nowrap;color:var(--cngx-breadcrumb-siblings-item-color, var(--cngx-color-text-muted, oklch(.5 .01 250)));cursor:pointer}.cngx-breadcrumb__siblings-item:hover{background:var( --cngx-breadcrumb-siblings-item-hover-bg, color-mix(in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0))) );color:var(--cngx-breadcrumb-siblings-item-hover-color, var(--cngx-color-text, oklch(.2 .01 250)))}.cngx-breadcrumb__siblings-item[aria-current=page]{color:var(--cngx-breadcrumb-siblings-item-current-color, var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))));font-weight:600}.cngx-breadcrumb__siblings-link{color:var(--cngx-breadcrumb-siblings-link-color, inherit);text-decoration:var(--cngx-breadcrumb-siblings-link-decoration, none)}@media(forced-colors:active){.cngx-breadcrumb__siblings-item[aria-current=page]{--_cngx-forced-ink: HighlightText;forced-color-adjust:none;background:Highlight;color:var(--_cngx-forced-ink, HighlightText)}}\n"] }]
|
|
390
439
|
}], propDecorators: { siblingsInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "siblings", required: false }] }], triggerLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerLabel", required: false }] }], menuLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "menuLabel", required: false }] }], itemTemplate: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxBreadcrumbSiblingItem), { ...{ read: TemplateRef }, isSignal: true }] }] } });
|
|
391
440
|
|
|
392
441
|
/**
|
|
@@ -418,36 +467,47 @@ const CNGX_BREADCRUMB_ITEMS_SOURCE = new InjectionToken('CNGX_BREADCRUMB_ITEMS_S
|
|
|
418
467
|
* <cngx-breadcrumb [items]="crumbs" [maxVisible]="4" skin="pill" />
|
|
419
468
|
* ```
|
|
420
469
|
*
|
|
470
|
+
* Left alone, the crumb cap comes from the bar's own width: 2 crumbs below
|
|
471
|
+
* `30rem`, 4 below `48rem`, 6 above. The thresholds live once, in
|
|
472
|
+
* `breadcrumb-bar.component.css`, as `--cngx-breadcrumb-max-visible` written
|
|
473
|
+
* by `@container` rules on `.cngx-breadcrumb::after`; consumer CSS re-aims
|
|
474
|
+
* them. `[maxVisible]` pins the count and overrides the derivation entirely.
|
|
475
|
+
*
|
|
421
476
|
* @category ui/breadcrumb
|
|
422
477
|
* @docsKind primary
|
|
423
478
|
* @wcag AA
|
|
424
479
|
* @github https://github.com/cngxjs/cngx/blob/main/projects/ui/breadcrumb/breadcrumb-bar.component.ts
|
|
425
480
|
* @since 0.1.0
|
|
426
481
|
* @relatedTo CngxBreadcrumb, CngxBreadcrumbItem, CngxBreadcrumbSeparator, CngxBreadcrumbOverflow, CngxBreadcrumbSiblings, CngxBreadcrumbItemAccessory, CngxBreadcrumbOverflowItem, CngxBreadcrumbRouterSync
|
|
482
|
+
* @slot cngxBreadcrumbIcon Replaces a crumb's leading icon; gets the crumb.
|
|
483
|
+
* @slot cngxBreadcrumbItemAccessory Trailing control on a crumb, e.g. a siblings dropdown trigger.
|
|
484
|
+
* @slot cngxBreadcrumbOverflowItem Replaces a row inside the collapsed-crumbs menu.
|
|
427
485
|
* <example-url>http://localhost:4200/#/ui/breadcrumb/basic/explicit-items</example-url>
|
|
428
486
|
*/
|
|
429
487
|
class CngxBreadcrumbBar {
|
|
430
488
|
/** Uncontrolled trail. Ignored when a {@link CNGX_BREADCRUMB_ITEMS_SOURCE} is provided. */
|
|
431
489
|
itemsInput = input([], { ...(ngDevMode ? { debugName: "itemsInput" } : /* istanbul ignore next */ {}), alias: 'items' });
|
|
432
490
|
/**
|
|
433
|
-
* Maximum crumbs to show before the middle collapses.
|
|
434
|
-
*
|
|
435
|
-
*
|
|
491
|
+
* Maximum crumbs to show before the middle collapses. Pins the count: an
|
|
492
|
+
* explicit value always wins over the width-derived one
|
|
493
|
+
* (controlled/uncontrolled), resolved by {@link effectiveMaxVisible}. Unset,
|
|
494
|
+
* the bar derives the count from its own width - that is the default, there
|
|
495
|
+
* is nothing to switch on.
|
|
436
496
|
*/
|
|
437
497
|
maxVisible = input(undefined, ...(ngDevMode ? [{ debugName: "maxVisible" }] : /* istanbul ignore next */ []));
|
|
498
|
+
// The bar is its own query container (breadcrumb-bar.component.css declares
|
|
499
|
+
// both container properties) and the only reader of the cap, so it observes
|
|
500
|
+
// itself and provides nothing to descendants. The flag lands on ::after
|
|
501
|
+
// because a @container rule cannot style its own container.
|
|
502
|
+
host = inject(ElementRef).nativeElement;
|
|
503
|
+
container = injectContainerSize(this.host);
|
|
504
|
+
cfg = injectBreadcrumbConfig();
|
|
505
|
+
ariaLabels = injectBreadcrumbAriaLabels();
|
|
438
506
|
/**
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
* `resolveBreadcrumbTier`. No hand-wired observer or `computed` needed - one
|
|
442
|
-
* attribute makes every skin responsive. Ignored when {@link maxVisible} is set.
|
|
507
|
+
* Accessible name of the `nav` landmark. Unbound (`undefined`), it falls back
|
|
508
|
+
* through the config cascade to the EN default and follows a language switch.
|
|
443
509
|
*/
|
|
444
|
-
|
|
445
|
-
/** Width tiers driving the responsive collapse. Defaults to {@link DEFAULT_BREADCRUMB_WIDTH_TIERS}. */
|
|
446
|
-
responsiveTiers = input(DEFAULT_BREADCRUMB_WIDTH_TIERS, ...(ngDevMode ? [{ debugName: "responsiveTiers" }] : /* istanbul ignore next */ []));
|
|
447
|
-
resize = inject(CngxResizeObserver, { host: true });
|
|
448
|
-
cfg = injectBreadcrumbConfig();
|
|
449
|
-
/** Accessible name of the `nav` landmark. Falls back through the config cascade to the EN default. */
|
|
450
|
-
label = input(this.cfg.ariaLabels?.bar ?? 'Breadcrumb', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
510
|
+
label = input(undefined, ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
451
511
|
/**
|
|
452
512
|
* Visual skin, reflected onto `[data-skin]`. Cascade `input ?? config.skin ??
|
|
453
513
|
* 'classic'`, resolved by {@link resolvedSkin}. Pure thematic concern -
|
|
@@ -478,23 +538,33 @@ class CngxBreadcrumbBar {
|
|
|
478
538
|
overflowRow = contentChild(CngxBreadcrumbOverflowItem, { ...(ngDevMode ? { debugName: "overflowRow" } : /* istanbul ignore next */ {}), read: TemplateRef });
|
|
479
539
|
/** The rendered trail: a provided source wins over the `[items]` input (controlled/uncontrolled). */
|
|
480
540
|
items = createControlledSource(this.itemsSource?.crumbs, this.itemsInput);
|
|
541
|
+
/** Resolved landmark name (`input ?? config.ariaLabels.bar ?? EN default`). */
|
|
542
|
+
resolvedLabel = computed(() => this.label() ?? this.ariaLabels().bar, ...(ngDevMode ? [{ debugName: "resolvedLabel" }] : /* istanbul ignore next */ []));
|
|
481
543
|
/** Resolved skin (`input ?? config.skin ?? 'classic'`), reflected onto `[data-skin]`. */
|
|
482
544
|
resolvedSkin = computed(() => this.skin() ?? this.cfg.skin ?? 'classic', ...(ngDevMode ? [{ debugName: "resolvedSkin" }] : /* istanbul ignore next */ []));
|
|
545
|
+
/** Raw `--cngx-breadcrumb-max-visible`, resolved on the bar's own `::after`. */
|
|
546
|
+
capProperty = this.container.property('--cngx-breadcrumb-max-visible', this.host, '::after');
|
|
483
547
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* a
|
|
487
|
-
* the ResizeObserver fires.
|
|
548
|
+
* Container-derived crumb cap. `undefined` until the first observation (the
|
|
549
|
+
* property reads as the empty string then), so a narrow mount never
|
|
550
|
+
* mis-collapses on a zero-width first read - the sub-frame full-trail
|
|
551
|
+
* transient settles once the `ResizeObserver` fires. The finite check means a
|
|
552
|
+
* malformed consumer override can never reach the collapse as a `NaN`.
|
|
488
553
|
*/
|
|
489
|
-
autoMaxVisible = computed(() =>
|
|
554
|
+
autoMaxVisible = computed(() => {
|
|
555
|
+
const raw = this.capProperty();
|
|
556
|
+
const parsed = Number(raw);
|
|
557
|
+
return raw === '' || !Number.isFinite(parsed) ? undefined : parsed;
|
|
558
|
+
}, ...(ngDevMode ? [{ debugName: "autoMaxVisible" }] : /* istanbul ignore next */ []));
|
|
490
559
|
/**
|
|
491
|
-
* The `maxVisible` forwarded to the inner collapse: explicit
|
|
492
|
-
*
|
|
493
|
-
*
|
|
560
|
+
* The `maxVisible` forwarded to the inner collapse: an explicit
|
|
561
|
+
* `[maxVisible]` pins the count, otherwise the container-derived value
|
|
562
|
+
* applies. Before the first observation `autoMaxVisible` is `undefined`,
|
|
563
|
+
* which renders the full trail rather than guessing at a width.
|
|
494
564
|
*/
|
|
495
|
-
effectiveMaxVisible = computed(() => this.maxVisible() ??
|
|
565
|
+
effectiveMaxVisible = computed(() => this.maxVisible() ?? this.autoMaxVisible(), ...(ngDevMode ? [{ debugName: "effectiveMaxVisible" }] : /* istanbul ignore next */ []));
|
|
496
566
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbBar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
497
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxBreadcrumbBar, isStandalone: true, selector: "cngx-breadcrumb", inputs: { itemsInput: { classPropertyName: "itemsInput", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, maxVisible: { classPropertyName: "maxVisible", publicName: "maxVisible", isSignal: true, isRequired: false, transformFunction: null }, responsive: { classPropertyName: "responsive", publicName: "responsive", isSignal: true, isRequired: false, transformFunction: null }, responsiveTiers: { classPropertyName: "responsiveTiers", publicName: "responsiveTiers", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-skin": "resolvedSkin()" }, classAttribute: "cngx-breadcrumb" }, queries: [{ propertyName: "accessory", first: true, predicate: CngxBreadcrumbItemAccessory, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "icon", first: true, predicate: CngxBreadcrumbIcon, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "overflowRow", first: true, predicate: CngxBreadcrumbOverflowItem, descendants: true, read: TemplateRef, isSignal: true }], exportAs: ["cngxBreadcrumbBar"], hostDirectives: [{ directive: i1.CngxResizeObserver }], ngImport: i0, template: "<nav cngxBreadcrumb [maxVisible]=\"effectiveMaxVisible()\" [label]=\"label()\" #bc=\"cngxBreadcrumb\">\n <ol class=\"cngx-breadcrumb__list\">\n @for (crumb of items(); track crumb.href ?? crumb.label; let last = $last; let first = $first) {\n <li class=\"cngx-breadcrumb__crumb\" [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\">\n <a\n cngxBreadcrumbItem\n #crumbRef=\"cngxBreadcrumbItem\"\n class=\"cngx-breadcrumb__link\"\n [cngxBreadcrumbItemLabel]=\"crumb.label\"\n [attr.href]=\"last ? null : (crumb.href ?? null)\"\n [attr.data-label]=\"crumb.label\"\n >\n @if (icon(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n }\n <span class=\"cngx-breadcrumb__label\">{{ crumb.label }}</span>\n </a>\n @if (accessory(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n } @else if (crumb.siblings; as sibs) {\n @if (sibs.length) {\n <cngx-breadcrumb-siblings [siblings]=\"sibs\" />\n }\n }\n </li>\n @if (!last) {\n <li\n cngxBreadcrumbSeparator\n class=\"cngx-breadcrumb__separator\"\n [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\"\n >\n /\n </li>\n }\n @if (first && bc.hasCollapsed()) {\n <li class=\"cngx-breadcrumb__overflow\">\n <cngx-breadcrumb-overflow [itemTemplate]=\"overflowRow()\" />\n </li>\n <li cngxBreadcrumbSeparator class=\"cngx-breadcrumb__separator\">/</li>\n }\n }\n </ol>\n</nav>\n", styles: [".cngx-breadcrumb{--cngx-breadcrumb-gap: var(--cngx-space-sm, .5rem);display:block;font:inherit}.cngx-breadcrumb__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cngx-breadcrumb-gap, .5rem);margin:0;padding:0;list-style:none}.cngx-breadcrumb__crumb{display:inline-flex;align-items:center}.cngx-breadcrumb__link{color:var(--cngx-breadcrumb-link-color, inherit);text-decoration:var(--cngx-breadcrumb-link-decoration, underline)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-current-color, inherit);font-weight:var(--cngx-breadcrumb-current-weight, 600);text-decoration:none}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-separator-color, inherit);-webkit-user-select:none;user-select:none}@property --cngx-breadcrumb-plain-link-decoration{syntax: \"*\"; inherits: true; initial-value: none;}@property --cngx-breadcrumb-contained-padding{syntax: \"*\"; inherits: true; initial-value: .375rem .75rem;}@property --cngx-breadcrumb-contained-bg{syntax: \"<color>\"; inherits: true; initial-value: #f4f4f5;}@property --cngx-breadcrumb-contained-border{syntax: \"*\"; inherits: true; initial-value: 1px solid;}@property --cngx-breadcrumb-contained-border-color{syntax: \"<color>\"; inherits: true; initial-value: #e4e4e7;}@property --cngx-breadcrumb-contained-radius{syntax: \"*\"; inherits: true; initial-value: .375rem;}@property --cngx-breadcrumb-pill-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-pill-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-pill-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-pill-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-pill-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-pill-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-pill-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-pill-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=plain]){:scope{--cngx-breadcrumb-link-decoration: var(--cngx-breadcrumb-plain-link-decoration, none)}}@scope(.cngx-breadcrumb[data-skin=contained]){:scope{--cngx-breadcrumb-contained-padding: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-breadcrumb-contained-bg: var(--cngx-color-surface, #f4f4f5);--cngx-breadcrumb-contained-border-color: var(--cngx-color-border, #e4e4e7)}.cngx-breadcrumb__list{padding:var(--cngx-breadcrumb-contained-padding, .375rem .75rem);background:var(--cngx-breadcrumb-contained-bg);border:var(--cngx-breadcrumb-contained-border, 1px solid) var(--cngx-breadcrumb-contained-border-color);border-radius:var(--cngx-breadcrumb-contained-radius, .375rem)}}@scope(.cngx-breadcrumb[data-skin=pill]){:scope{--cngx-breadcrumb-pill-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-pill-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-pill-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-pill-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-pill-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-pill-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-pill-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-pill-active-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-pill-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0;padding:4px;background:var(--cngx-breadcrumb-pill-track-bg);border:1px solid var(--cngx-breadcrumb-pill-track-border);border-radius:var(--cngx-breadcrumb-pill-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.38em .9em;border-radius:var(--cngx-breadcrumb-pill-radius);font-size:var(--cngx-breadcrumb-pill-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-pill-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-pill-hover-bg);color:var(--cngx-breadcrumb-pill-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-pill-active-bg);color:var(--cngx-breadcrumb-pill-active-color);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-ribbon-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-ribbon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-ribbon-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-ribbon-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-ribbon-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-ribbon-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-ribbon-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-ribbon-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=ribbon]){:scope{--cngx-breadcrumb-ribbon-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-ribbon-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-ribbon-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-ribbon-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-ribbon-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-ribbon-active-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-ribbon-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-ribbon-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__crumb{position:relative}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.5em 1.1em .5em 1.4em;margin-left:-10px;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%,12px 50%);font-size:var(--cngx-breadcrumb-ribbon-font-size);font-weight:560;text-decoration:none;background:var(--cngx-breadcrumb-ribbon-bg);color:var(--cngx-breadcrumb-ribbon-color)}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{padding-left:1em;margin-left:0;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);border-radius:var(--cngx-breadcrumb-ribbon-radius) 0 0 var(--cngx-breadcrumb-ribbon-radius)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-ribbon-hover-bg);color:var(--cngx-breadcrumb-ribbon-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-ribbon-active-bg);color:var(--cngx-breadcrumb-ribbon-active-color)}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-editorial-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-editorial-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-editorial-font-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@scope(.cngx-breadcrumb[data-skin=editorial]){:scope{--cngx-breadcrumb-editorial-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-editorial-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-editorial-font-size: var(--cngx-font-size-md, 1rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .1em .25em;font-size:var(--cngx-breadcrumb-editorial-font-size);text-decoration:none;color:var(--cngx-breadcrumb-editorial-text);background-image:linear-gradient(90deg,var(--cngx-breadcrumb-editorial-accent),color-mix(in oklch,var(--cngx-breadcrumb-editorial-accent) 40%,var(--cngx-breadcrumb-editorial-text)));background-repeat:no-repeat;background-position:0 100%;background-size:0% 2px;transition:background-size .18s ease,color .18s ease}.cngx-breadcrumb__link:hover{background-size:100% 2px;color:var(--cngx-breadcrumb-editorial-text)}.cngx-breadcrumb__link[aria-current=page]{background-image:linear-gradient(90deg,var(--cngx-breadcrumb-editorial-accent),color-mix(in oklch,var(--cngx-breadcrumb-editorial-accent) 50%,var(--cngx-breadcrumb-editorial-text)));background-position:0 0;background-size:100% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\b7\";font-size:var(--cngx-breadcrumb-editorial-font-size)}}@property --cngx-breadcrumb-header-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-header-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-header-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-header-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-header-leaf-font-size{syntax: \"*\"; inherits: true; initial-value: 1.125rem;}@property --cngx-breadcrumb-header-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=header]){:scope{width:100%;--cngx-breadcrumb-header-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-header-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-header-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-header-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-header-leaf-font-size: var(--cngx-font-size-lg, 1.125rem);--cngx-breadcrumb-header-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{row-gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .35em;border-radius:var(--cngx-breadcrumb-header-radius);font-size:var(--cngx-breadcrumb-header-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-header-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-header-hover-bg);color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){flex-basis:100%}.cngx-breadcrumb__link[aria-current=page]{font-size:var(--cngx-breadcrumb-header-leaf-font-size);font-weight:700;letter-spacing:-.01em;line-height:1.2;white-space:normal;color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-header-font-size)}.cngx-breadcrumb__separator:has(+.cngx-breadcrumb__crumb .cngx-breadcrumb__link[aria-current=page]){display:none}}@property --cngx-breadcrumb-metro-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-metro-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-metro-hover-dot{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-metro-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-metro-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-metro-rail{syntax: \"<color>\"; inherits: true; initial-value: oklch(.8 .06 50);}@property --cngx-breadcrumb-metro-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=metro]){:scope{--cngx-breadcrumb-metro-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-metro-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-metro-hover-dot: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-metro-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-metro-active-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-metro-rail: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 45%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-metro-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .25em;font-size:var(--cngx-breadcrumb-metro-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-metro-color)}.cngx-breadcrumb__link:before{content:\"\";flex:none;width:11px;height:11px;border-radius:50%;border:2.5px solid var(--cngx-breadcrumb-metro-accent);background:var(--cngx-breadcrumb-metro-surface);transition:background .18s ease,transform .18s ease}.cngx-breadcrumb__link:hover{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link:hover:before{background:var(--cngx-breadcrumb-metro-hover-dot);transform:scale(1.15)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link[aria-current=page]:before{background:var(--cngx-breadcrumb-metro-accent);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-metro-accent) 22%,transparent)}.cngx-breadcrumb__separator{width:30px;height:3px;margin-inline:3px;border-radius:2px;font-size:0;background:var(--cngx-breadcrumb-metro-rail)}}@property --cngx-breadcrumb-toolbar-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-toolbar-border-strong{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-toolbar-cell-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-toolbar-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-toolbar-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-toolbar-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-toolbar-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-toolbar-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-toolbar-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-toolbar-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=toolbar]){:scope{width:100%;--cngx-breadcrumb-toolbar-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-toolbar-border-strong: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-toolbar-cell-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-toolbar-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-toolbar-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-toolbar-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-toolbar-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-toolbar-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-toolbar-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-toolbar-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{width:100%;gap:0;flex-wrap:nowrap;overflow:hidden;background:var(--cngx-breadcrumb-toolbar-bg);border:1px solid var(--cngx-breadcrumb-toolbar-border-strong);border-radius:var(--cngx-breadcrumb-toolbar-radius)}.cngx-breadcrumb__crumb{align-self:stretch}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.55em .95em;font-size:var(--cngx-breadcrumb-toolbar-font-size);font-weight:550;text-decoration:none;border-right:1px solid var(--cngx-breadcrumb-toolbar-cell-border);border-radius:0;color:var(--cngx-breadcrumb-toolbar-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-toolbar-hover-bg);color:var(--cngx-breadcrumb-toolbar-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-toolbar-active-bg);color:var(--cngx-breadcrumb-toolbar-active-color);font-weight:640;border-right:none}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-chips-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-chips-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-chips-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-chips-hover-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-chips-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-chips-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-chips-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-chips-active-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.82 .08 50);}@property --cngx-breadcrumb-chips-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-chips-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-chips-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=chips]){:scope{--cngx-breadcrumb-chips-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-chips-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-chips-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-chips-hover-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-chips-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-chips-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-chips-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-chips-active-border: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 35%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-chips-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-chips-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-chips-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__list{gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.32em .8em;font-size:var(--cngx-breadcrumb-chips-font-size);font-weight:550;text-decoration:none;border:1px solid var(--cngx-breadcrumb-chips-border);border-radius:var(--cngx-breadcrumb-chips-radius);background:var(--cngx-breadcrumb-chips-bg);color:var(--cngx-breadcrumb-chips-color)}.cngx-breadcrumb__link:hover{border-color:var(--cngx-breadcrumb-chips-hover-border);background:var(--cngx-breadcrumb-chips-hover-bg);color:var(--cngx-breadcrumb-chips-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-chips-active-bg);border-color:var(--cngx-breadcrumb-chips-active-border);color:var(--cngx-breadcrumb-chips-active-color);font-weight:640}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-chips-font-size)}}@property --cngx-breadcrumb-path-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-path-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-path-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-path-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-path-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-path-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-path-sep-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.72 .01 250);}@property --cngx-breadcrumb-path-radius{syntax: \"*\"; inherits: true; initial-value: 8px;}@property --cngx-breadcrumb-path-link-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-path-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=path]){:scope{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);--cngx-breadcrumb-path-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-path-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-path-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-path-hover-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-path-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-path-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-path-sep-color: color-mix( in oklch, var(--cngx-color-text-muted, oklch(.5 .01 250)) 55%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-path-radius: var(--cngx-radius-md, 8px);--cngx-breadcrumb-path-link-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-path-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem);padding:.5em .7em;background:var(--cngx-breadcrumb-path-track-bg);border:1px solid var(--cngx-breadcrumb-path-track-border);border-radius:var(--cngx-breadcrumb-path-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.2em .45em;font-size:var(--cngx-breadcrumb-path-font-size);text-decoration:none;border-radius:var(--cngx-breadcrumb-path-link-radius);color:var(--cngx-breadcrumb-path-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-path-hover-bg);color:var(--cngx-breadcrumb-path-hover-color)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-path-active-color)}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-path-sep-color)}}@property --cngx-breadcrumb-iconlabel-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-iconlabel-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-iconlabel-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-iconlabel-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-iconlabel-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-iconlabel-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-iconlabel-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=iconlabel]){:scope{--cngx-breadcrumb-iconlabel-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-iconlabel-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-iconlabel-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-iconlabel-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-iconlabel-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-iconlabel-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-iconlabel-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__crumb{color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.4em .7em;border-radius:var(--cngx-breadcrumb-iconlabel-radius);font-size:var(--cngx-breadcrumb-iconlabel-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-iconlabel-hover-bg);color:var(--cngx-breadcrumb-iconlabel-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-iconlabel-active-bg);color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-iconlabel-font-size)}}@property --cngx-breadcrumb-icononly-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-icononly-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-icononly-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-icononly-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-icononly-tip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-tip-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-icononly-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-icononly-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=icononly]){:scope{--cngx-breadcrumb-icononly-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-icononly-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-icononly-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-icononly-active-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-icononly-tip-bg: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-tip-color: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-icononly-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-icononly-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem)}.cngx-breadcrumb__link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--cngx-breadcrumb-icononly-radius);text-decoration:none;color:var(--cngx-breadcrumb-icononly-color)}.cngx-breadcrumb__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-icononly-hover-bg);color:var(--cngx-breadcrumb-icononly-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-icononly-active-bg);color:var(--cngx-breadcrumb-icononly-active-color)}.cngx-breadcrumb__link:after{content:attr(data-label) / \"\";position:absolute;bottom:calc(100% + 8px);left:50%;translate:-50% 0;padding:.3em .6em;border-radius:var(--cngx-breadcrumb-icononly-radius);background:var(--cngx-breadcrumb-icononly-tip-bg);color:var(--cngx-breadcrumb-icononly-tip-color);font-size:.75rem;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .18s ease;box-shadow:var(--cngx-shadow-md, 0 4px 12px oklch(0 0 0 / .15));z-index:30}.cngx-breadcrumb__link:hover:after,.cngx-breadcrumb__link:focus-visible:after{opacity:1}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-icononly-font-size)}}@property --cngx-breadcrumb-shell-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-shell-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-shell-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-shell-mark-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-shell-mark-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-shell-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-shell-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=shell]){:scope{--cngx-breadcrumb-shell-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-shell-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-shell-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-shell-mark-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-shell-mark-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-shell-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-shell-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .5em;border-radius:var(--cngx-breadcrumb-shell-radius);font-size:var(--cngx-breadcrumb-shell-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-shell-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-shell-hover-bg);color:var(--cngx-breadcrumb-shell-text)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-shell-text);font-weight:660}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{font-weight:650;color:var(--cngx-breadcrumb-shell-text)}.product-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:var(--cngx-breadcrumb-shell-mark-bg);color:var(--cngx-breadcrumb-shell-mark-color);font-size:.6875rem;font-weight:700;letter-spacing:.02em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-shell-font-size)}}@property --cngx-breadcrumb-record-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-record-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-record-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-record-chip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-record-chip-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-record-status{syntax: \"<color>\"; inherits: true; initial-value: oklch(.7 .17 145);}@property --cngx-breadcrumb-record-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-record-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-record-chip-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=record]){:scope{--cngx-breadcrumb-record-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-record-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-record-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-record-chip-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-record-chip-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-record-status: var(--cngx-color-success, oklch(.7 .17 145));--cngx-breadcrumb-record-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-record-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-record-chip-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.3em .45em;border-radius:var(--cngx-breadcrumb-record-radius);font-size:var(--cngx-breadcrumb-record-font-size);text-decoration:none;color:var(--cngx-breadcrumb-record-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-record-hover-bg);color:var(--cngx-breadcrumb-record-text)}.cngx-breadcrumb__link[aria-current=page]{background:transparent;color:var(--cngx-breadcrumb-record-text);font-weight:620}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){gap:.55em;padding:.32em .8em;background:var(--cngx-breadcrumb-record-chip-bg);border:1px solid var(--cngx-breadcrumb-record-chip-border);border-radius:var(--cngx-breadcrumb-record-chip-radius);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.rec-id{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);font-size:.95em}.status-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--cngx-breadcrumb-record-status);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-record-status) 20%,transparent)}.status-label{font-size:.65625rem;font-weight:680;color:var(--cngx-breadcrumb-record-status);text-transform:uppercase;letter-spacing:.06em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-record-font-size)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxBreadcrumb, selector: "[cngxBreadcrumb]", inputs: ["label", "maxVisible"], exportAs: ["cngxBreadcrumb"] }, { kind: "directive", type: CngxBreadcrumbItem, selector: "[cngxBreadcrumbItem]", inputs: ["cngxBreadcrumbItemLabel"], exportAs: ["cngxBreadcrumbItem"] }, { kind: "directive", type: CngxBreadcrumbSeparator, selector: "[cngxBreadcrumbSeparator]", exportAs: ["cngxBreadcrumbSeparator"] }, { kind: "component", type: CngxBreadcrumbOverflow, selector: "cngx-breadcrumb-overflow", inputs: ["triggerLabel", "menuLabel", "itemTemplate"], exportAs: ["cngxBreadcrumbOverflow"] }, { kind: "component", type: CngxBreadcrumbSiblings, selector: "cngx-breadcrumb-siblings", inputs: ["siblings", "triggerLabel", "menuLabel"], exportAs: ["cngxBreadcrumbSiblings"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
567
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: CngxBreadcrumbBar, isStandalone: true, selector: "cngx-breadcrumb", inputs: { itemsInput: { classPropertyName: "itemsInput", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, maxVisible: { classPropertyName: "maxVisible", publicName: "maxVisible", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, skin: { classPropertyName: "skin", publicName: "skin", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "attr.data-skin": "resolvedSkin()" }, classAttribute: "cngx-breadcrumb" }, queries: [{ propertyName: "accessory", first: true, predicate: CngxBreadcrumbItemAccessory, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "icon", first: true, predicate: CngxBreadcrumbIcon, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "overflowRow", first: true, predicate: CngxBreadcrumbOverflowItem, descendants: true, read: TemplateRef, isSignal: true }], exportAs: ["cngxBreadcrumbBar"], ngImport: i0, template: "<nav cngxBreadcrumb [maxVisible]=\"effectiveMaxVisible()\" [label]=\"resolvedLabel()\" #bc=\"cngxBreadcrumb\">\n <ol class=\"cngx-breadcrumb__list\">\n @for (crumb of items(); track crumb.href ?? crumb.label; let last = $last; let first = $first) {\n <li class=\"cngx-breadcrumb__crumb\" [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\">\n <a\n cngxBreadcrumbItem\n #crumbRef=\"cngxBreadcrumbItem\"\n class=\"cngx-breadcrumb__link\"\n [cngxBreadcrumbItemLabel]=\"crumb.label\"\n [attr.href]=\"last ? null : (crumb.href ?? null)\"\n [attr.data-label]=\"crumb.label\"\n >\n @if (icon(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n }\n <span class=\"cngx-breadcrumb__label\">{{ crumb.label }}</span>\n </a>\n @if (accessory(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n } @else if (crumb.siblings; as sibs) {\n @if (sibs.length) {\n <cngx-breadcrumb-siblings [siblings]=\"sibs\" />\n }\n }\n </li>\n @if (!last) {\n <li\n cngxBreadcrumbSeparator\n class=\"cngx-breadcrumb__separator\"\n [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\"\n >\n /\n </li>\n }\n @if (first && bc.hasCollapsed()) {\n <li class=\"cngx-breadcrumb__overflow\">\n <cngx-breadcrumb-overflow [itemTemplate]=\"overflowRow()\" />\n </li>\n <li cngxBreadcrumbSeparator class=\"cngx-breadcrumb__separator\">/</li>\n }\n }\n </ol>\n</nav>\n", styles: [".cngx-breadcrumb{--cngx-breadcrumb-gap: var(--cngx-space-sm, .5rem);display:block;font:inherit;container-type:inline-size;container-name:cngx-breadcrumb}.cngx-breadcrumb:after{--cngx-breadcrumb-max-visible: 2}@container cngx-breadcrumb (min-inline-size: 30rem){.cngx-breadcrumb:after{--cngx-breadcrumb-max-visible: 4}}@container cngx-breadcrumb (min-inline-size: 48rem){.cngx-breadcrumb:after{--cngx-breadcrumb-max-visible: 6}}.cngx-breadcrumb:dir(rtl){--cngx-breadcrumb-separator: \"\\2039\"}:root,[data-color-scheme=light],.light{--_cngx-breadcrumb-fill-ink: var(--cngx-color-text, oklch(.2 .01 250))}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--_cngx-breadcrumb-fill-ink: var(--cngx-color-surface, oklch(.2 .01 250))}}[data-color-scheme=dark],.dark{--_cngx-breadcrumb-fill-ink: var(--cngx-color-surface, oklch(.2 .01 250))}.cngx-breadcrumb__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cngx-breadcrumb-gap, .5rem);margin:0;padding:0;list-style:none}.cngx-breadcrumb__crumb{display:inline-flex;align-items:center}.cngx-breadcrumb__link{color:var(--cngx-breadcrumb-link-color, inherit);text-decoration:var(--cngx-breadcrumb-link-decoration, underline)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-current-color, inherit);font-weight:var(--cngx-breadcrumb-current-weight, 600);text-decoration:none}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-separator-color, inherit);-webkit-user-select:none;user-select:none}@property --cngx-breadcrumb-max-visible{syntax: \"<integer>\"; inherits: false; initial-value: 2;}@property --cngx-breadcrumb-plain-link-decoration{syntax: \"*\"; inherits: true; initial-value: none;}@property --cngx-breadcrumb-contained-padding{syntax: \"*\"; inherits: true; initial-value: .375rem .75rem;}@property --cngx-breadcrumb-contained-bg{syntax: \"<color>\"; inherits: true; initial-value: #f4f4f5;}@property --cngx-breadcrumb-contained-border{syntax: \"*\"; inherits: true; initial-value: 1px solid;}@property --cngx-breadcrumb-contained-border-color{syntax: \"<color>\"; inherits: true; initial-value: #e4e4e7;}@property --cngx-breadcrumb-contained-radius{syntax: \"*\"; inherits: true; initial-value: .375rem;}@property --cngx-breadcrumb-pill-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-pill-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-pill-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-pill-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-pill-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-pill-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-pill-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-pill-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=plain]){:scope{--cngx-breadcrumb-link-decoration: var(--cngx-breadcrumb-plain-link-decoration, none)}}@scope(.cngx-breadcrumb[data-skin=contained]){:scope{--cngx-breadcrumb-contained-padding: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-breadcrumb-contained-bg: var(--cngx-color-surface, #f4f4f5);--cngx-breadcrumb-contained-border-color: var(--cngx-color-border, #e4e4e7)}.cngx-breadcrumb__list{padding:var(--cngx-breadcrumb-contained-padding, .375rem .75rem);background:var(--cngx-breadcrumb-contained-bg);border:var(--cngx-breadcrumb-contained-border, 1px solid) var(--cngx-breadcrumb-contained-border-color);border-radius:var(--cngx-breadcrumb-contained-radius, .375rem)}}@scope(.cngx-breadcrumb[data-skin=pill]){:scope{--cngx-breadcrumb-pill-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-pill-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-pill-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-pill-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-pill-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-pill-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-pill-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-pill-active-color: var(--cngx-color-on-primary, var(--_cngx-breadcrumb-fill-ink, oklch(.2 .01 250)));--cngx-breadcrumb-pill-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0;padding:4px;background:var(--cngx-breadcrumb-pill-track-bg);border:1px solid var(--cngx-breadcrumb-pill-track-border);border-radius:var(--cngx-breadcrumb-pill-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.38em .9em;border-radius:var(--cngx-breadcrumb-pill-radius);font-size:var(--cngx-breadcrumb-pill-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-pill-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-pill-hover-bg);color:var(--cngx-breadcrumb-pill-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-pill-active-bg);color:var(--cngx-breadcrumb-pill-active-color);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-ribbon-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-ribbon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-ribbon-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-ribbon-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-ribbon-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-ribbon-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-ribbon-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-ribbon-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=ribbon]){:scope{--cngx-breadcrumb-ribbon-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-ribbon-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-ribbon-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-ribbon-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-ribbon-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-ribbon-active-color: var(--cngx-color-on-primary, var(--_cngx-breadcrumb-fill-ink, oklch(.2 .01 250)));--cngx-breadcrumb-ribbon-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-ribbon-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__crumb{position:relative}.cngx-breadcrumb__link{--cngx-breadcrumb-ribbon-notch: 12px;display:inline-flex;align-items:center;padding:.5em 1.1em .5em 1.4em;margin-inline-start:-10px;clip-path:polygon(0 0,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 0,100% 50%,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 100%,0 100%,var(--cngx-breadcrumb-ribbon-notch, 12px) 50%);font-size:var(--cngx-breadcrumb-ribbon-font-size);font-weight:560;text-decoration:none;background:var(--cngx-breadcrumb-ribbon-bg);color:var(--cngx-breadcrumb-ribbon-color)}.cngx-breadcrumb__link:dir(rtl){clip-path:polygon(100% 0,var(--cngx-breadcrumb-ribbon-notch, 12px) 0,0 50%,var(--cngx-breadcrumb-ribbon-notch, 12px) 100%,100% 100%,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 50%)}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{padding-inline-start:1em;margin-inline-start:0;clip-path:polygon(0 0,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 0,100% 50%,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 100%,0 100%);border-radius:var(--cngx-breadcrumb-ribbon-radius) 0 0 var(--cngx-breadcrumb-ribbon-radius)}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link:dir(rtl){clip-path:polygon(100% 0,var(--cngx-breadcrumb-ribbon-notch, 12px) 0,0 50%,var(--cngx-breadcrumb-ribbon-notch, 12px) 100%,100% 100%);border-radius:0 var(--cngx-breadcrumb-ribbon-radius) var(--cngx-breadcrumb-ribbon-radius) 0}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-ribbon-hover-bg);color:var(--cngx-breadcrumb-ribbon-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-ribbon-active-bg);color:var(--cngx-breadcrumb-ribbon-active-color)}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-editorial-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-editorial-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-editorial-font-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@scope(.cngx-breadcrumb[data-skin=editorial]){:scope{--cngx-breadcrumb-editorial-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-editorial-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-editorial-font-size: var(--cngx-font-size-md, 1rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .1em .25em;font-size:var(--cngx-breadcrumb-editorial-font-size);text-decoration:none;color:var(--cngx-breadcrumb-editorial-text);background-image:linear-gradient(90deg,var(--cngx-breadcrumb-editorial-accent),color-mix(in oklch,var(--cngx-breadcrumb-editorial-accent) 40%,var(--cngx-breadcrumb-editorial-text)));background-repeat:no-repeat;background-position:0 100%;background-size:0% 2px;transition:background-size var(--cngx-duration-base, .2s) ease,color var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__link:hover{background-size:100% 2px;color:var(--cngx-breadcrumb-editorial-text)}.cngx-breadcrumb__link[aria-current=page]{background-image:linear-gradient(90deg,var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))),color-mix(in oklch,var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))) 50%,var(--cngx-breadcrumb-editorial-text)));background-position:0 0;background-size:100% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\b7\" / \"\";font-size:var(--cngx-breadcrumb-editorial-font-size)}}@property --cngx-breadcrumb-header-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-header-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-header-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-header-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-header-leaf-font-size{syntax: \"*\"; inherits: true; initial-value: 1.125rem;}@property --cngx-breadcrumb-header-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=header]){:scope{width:100%;--cngx-breadcrumb-header-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-header-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-header-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-header-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-header-leaf-font-size: var(--cngx-font-size-lg, 1.125rem);--cngx-breadcrumb-header-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{row-gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .35em;border-radius:var(--cngx-breadcrumb-header-radius);font-size:var(--cngx-breadcrumb-header-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-header-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-header-hover-bg);color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){flex-basis:100%}.cngx-breadcrumb__link[aria-current=page]{font-size:var(--cngx-breadcrumb-header-leaf-font-size);font-weight:700;letter-spacing:-.01em;line-height:1.2;white-space:normal;color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-header-font-size)}.cngx-breadcrumb__separator:has(+.cngx-breadcrumb__crumb .cngx-breadcrumb__link[aria-current=page]){display:none}}@property --cngx-breadcrumb-metro-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-metro-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-metro-hover-dot{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-metro-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-metro-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-metro-rail{syntax: \"<color>\"; inherits: true; initial-value: oklch(.8 .06 50);}@property --cngx-breadcrumb-metro-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=metro]){:scope{--cngx-breadcrumb-metro-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-metro-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-metro-hover-dot: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-metro-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-metro-active-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-metro-rail: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 45%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-metro-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .25em;font-size:var(--cngx-breadcrumb-metro-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-metro-color)}.cngx-breadcrumb__link:before{content:\"\";flex:none;width:11px;height:11px;border-radius:50%;border:2.5px solid var(--cngx-breadcrumb-metro-accent);background:var(--cngx-breadcrumb-metro-surface);transition:background var(--cngx-duration-base, .2s) ease,transform var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__link:hover{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link:hover:before{background:var(--cngx-breadcrumb-metro-hover-dot);transform:scale(1.15)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link[aria-current=page]:before{background:var(--cngx-breadcrumb-metro-accent);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-metro-accent) 22%,transparent)}.cngx-breadcrumb__separator{width:30px;height:3px;margin-inline:3px;border-radius:2px;font-size:0;background:var(--cngx-breadcrumb-metro-rail)}}@property --cngx-breadcrumb-toolbar-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-toolbar-border-strong{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-toolbar-cell-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-toolbar-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-toolbar-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-toolbar-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-toolbar-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-toolbar-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-toolbar-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-toolbar-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=toolbar]){:scope{width:100%;--cngx-breadcrumb-toolbar-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-toolbar-border-strong: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-toolbar-cell-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-toolbar-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-toolbar-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-toolbar-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-toolbar-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-toolbar-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-toolbar-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-toolbar-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{width:100%;gap:0;flex-wrap:nowrap;overflow:hidden;background:var(--cngx-breadcrumb-toolbar-bg);border:1px solid var(--cngx-breadcrumb-toolbar-border-strong);border-radius:var(--cngx-breadcrumb-toolbar-radius)}.cngx-breadcrumb__crumb{align-self:stretch}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.55em .95em;font-size:var(--cngx-breadcrumb-toolbar-font-size);font-weight:550;text-decoration:none;border-inline-end:1px solid var(--cngx-breadcrumb-toolbar-cell-border);border-radius:0;color:var(--cngx-breadcrumb-toolbar-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-toolbar-hover-bg);color:var(--cngx-breadcrumb-toolbar-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-toolbar-active-bg);color:var(--cngx-breadcrumb-toolbar-active-color);font-weight:640;border-inline-end:none}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-chips-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-chips-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-chips-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-chips-hover-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-chips-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-chips-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-chips-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-chips-active-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.82 .08 50);}@property --cngx-breadcrumb-chips-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-chips-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-chips-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=chips]){:scope{--cngx-breadcrumb-chips-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-chips-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-chips-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-chips-hover-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-chips-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-chips-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-chips-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-chips-active-border: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 35%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-chips-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-chips-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-chips-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__list{gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.32em .8em;font-size:var(--cngx-breadcrumb-chips-font-size);font-weight:550;text-decoration:none;border:1px solid var(--cngx-breadcrumb-chips-border);border-radius:var(--cngx-breadcrumb-chips-radius);background:var(--cngx-breadcrumb-chips-bg);color:var(--cngx-breadcrumb-chips-color)}.cngx-breadcrumb__link:hover{border-color:var(--cngx-breadcrumb-chips-hover-border);background:var(--cngx-breadcrumb-chips-hover-bg);color:var(--cngx-breadcrumb-chips-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-chips-active-bg);border-color:var(--cngx-breadcrumb-chips-active-border);color:var(--cngx-breadcrumb-chips-active-color);font-weight:640}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-chips-font-size)}}@property --cngx-breadcrumb-path-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-path-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-path-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-path-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-path-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-path-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-path-sep-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-path-radius{syntax: \"*\"; inherits: true; initial-value: 8px;}@property --cngx-breadcrumb-path-link-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-path-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=path]){:scope{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);--cngx-breadcrumb-path-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-path-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-path-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-path-hover-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-path-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-path-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-path-sep-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-path-radius: var(--cngx-radius-md, 8px);--cngx-breadcrumb-path-link-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-path-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem);padding:.5em .7em;background:var(--cngx-breadcrumb-path-track-bg);border:1px solid var(--cngx-breadcrumb-path-track-border);border-radius:var(--cngx-breadcrumb-path-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.2em .45em;font-size:var(--cngx-breadcrumb-path-font-size);text-decoration:none;border-radius:var(--cngx-breadcrumb-path-link-radius);color:var(--cngx-breadcrumb-path-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-path-hover-bg);color:var(--cngx-breadcrumb-path-hover-color)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-path-active-color)}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-path-sep-color)}}@property --cngx-breadcrumb-iconlabel-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-iconlabel-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-iconlabel-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-iconlabel-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-iconlabel-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-iconlabel-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-iconlabel-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=iconlabel]){:scope{--cngx-breadcrumb-iconlabel-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-iconlabel-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-iconlabel-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-iconlabel-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-iconlabel-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-iconlabel-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-iconlabel-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__crumb{color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.4em .7em;border-radius:var(--cngx-breadcrumb-iconlabel-radius);font-size:var(--cngx-breadcrumb-iconlabel-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-iconlabel-hover-bg);color:var(--cngx-breadcrumb-iconlabel-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-iconlabel-active-bg);color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-iconlabel-font-size)}}@property --cngx-breadcrumb-icononly-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-icononly-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-icononly-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-icononly-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-tip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-tip-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-icononly-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-icononly-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=icononly]){:scope{--cngx-breadcrumb-icononly-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-icononly-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-icononly-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-icononly-active-color: var(--cngx-color-on-primary, var(--_cngx-breadcrumb-fill-ink, oklch(.2 .01 250)));--cngx-breadcrumb-icononly-tip-bg: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-tip-color: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-icononly-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-icononly-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem)}.cngx-breadcrumb__link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--cngx-breadcrumb-icononly-radius);text-decoration:none;color:var(--cngx-breadcrumb-icononly-color)}.cngx-breadcrumb__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-icononly-hover-bg);color:var(--cngx-breadcrumb-icononly-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-icononly-active-bg);color:var(--cngx-breadcrumb-icononly-active-color)}.cngx-breadcrumb__link:after{content:attr(data-label) / \"\";position:absolute;bottom:calc(100% + 8px);left:50%;translate:-50% 0;padding:.3em .6em;border-radius:var(--cngx-breadcrumb-icononly-radius);background:var(--cngx-breadcrumb-icononly-tip-bg);color:var(--cngx-breadcrumb-icononly-tip-color);font-size:.75rem;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity var(--cngx-duration-base, .2s) ease;box-shadow:var(--cngx-shadow-md, 0 4px 12px oklch(0 0 0 / .15));z-index:30}.cngx-breadcrumb__link:hover:after,.cngx-breadcrumb__link:focus-visible:after{opacity:1}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-icononly-font-size)}}@property --cngx-breadcrumb-shell-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-shell-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-shell-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-shell-mark-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-shell-mark-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-shell-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-shell-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=shell]){:scope{--cngx-breadcrumb-shell-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-shell-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-shell-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-shell-mark-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-shell-mark-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-shell-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-shell-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .5em;border-radius:var(--cngx-breadcrumb-shell-radius);font-size:var(--cngx-breadcrumb-shell-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-shell-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-shell-hover-bg);color:var(--cngx-breadcrumb-shell-text)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-shell-text);font-weight:660}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{font-weight:650;color:var(--cngx-breadcrumb-shell-text)}.product-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:var(--cngx-breadcrumb-shell-mark-bg);color:var(--cngx-breadcrumb-shell-mark-color);font-size:.6875rem;font-weight:700;letter-spacing:.02em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-shell-font-size)}}@property --cngx-breadcrumb-record-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-record-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-record-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-record-chip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-record-chip-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-record-status{syntax: \"<color>\"; inherits: true; initial-value: oklch(.7 .17 145);}@property --cngx-breadcrumb-record-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-record-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-record-chip-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=record]){:scope{--cngx-breadcrumb-record-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-record-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-record-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-record-chip-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-record-chip-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-record-status: var(--cngx-color-success, oklch(.7 .17 145));--cngx-breadcrumb-record-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-record-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-record-chip-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.3em .45em;border-radius:var(--cngx-breadcrumb-record-radius);font-size:var(--cngx-breadcrumb-record-font-size);text-decoration:none;color:var(--cngx-breadcrumb-record-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-record-hover-bg);color:var(--cngx-breadcrumb-record-text)}.cngx-breadcrumb__link[aria-current=page]{background:transparent;color:var(--cngx-breadcrumb-record-text);font-weight:620}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){gap:.55em;padding:.32em .8em;background:var(--cngx-breadcrumb-record-chip-bg);border:1px solid var(--cngx-breadcrumb-record-chip-border);border-radius:var(--cngx-breadcrumb-record-chip-radius);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.rec-id{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);font-size:.95em}.status-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--cngx-breadcrumb-record-status);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-record-status) 20%,transparent)}.status-label{font-size:.65625rem;font-weight:680;color:var(--cngx-breadcrumb-record-status);text-transform:uppercase;letter-spacing:.06em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-record-font-size)}}@media(forced-colors:active){.cngx-breadcrumb__link[aria-current=page]{background:Highlight!important;color:HighlightText!important;forced-color-adjust:none}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CngxBreadcrumb, selector: "[cngxBreadcrumb]", inputs: ["label", "maxVisible"], exportAs: ["cngxBreadcrumb"] }, { kind: "directive", type: CngxBreadcrumbItem, selector: "[cngxBreadcrumbItem]", inputs: ["cngxBreadcrumbItemLabel"], exportAs: ["cngxBreadcrumbItem"] }, { kind: "directive", type: CngxBreadcrumbSeparator, selector: "[cngxBreadcrumbSeparator]", exportAs: ["cngxBreadcrumbSeparator"] }, { kind: "component", type: CngxBreadcrumbOverflow, selector: "cngx-breadcrumb-overflow", inputs: ["triggerLabel", "menuLabel", "itemTemplate"], exportAs: ["cngxBreadcrumbOverflow"] }, { kind: "component", type: CngxBreadcrumbSiblings, selector: "cngx-breadcrumb-siblings", inputs: ["siblings", "triggerLabel", "menuLabel"], exportAs: ["cngxBreadcrumbSiblings"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
498
568
|
}
|
|
499
569
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbBar, decorators: [{
|
|
500
570
|
type: Component,
|
|
@@ -505,11 +575,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
505
575
|
CngxBreadcrumbSeparator,
|
|
506
576
|
CngxBreadcrumbOverflow,
|
|
507
577
|
CngxBreadcrumbSiblings,
|
|
508
|
-
],
|
|
578
|
+
], host: {
|
|
509
579
|
class: 'cngx-breadcrumb',
|
|
510
580
|
'[attr.data-skin]': 'resolvedSkin()',
|
|
511
|
-
}, template: "<nav cngxBreadcrumb [maxVisible]=\"effectiveMaxVisible()\" [label]=\"label()\" #bc=\"cngxBreadcrumb\">\n <ol class=\"cngx-breadcrumb__list\">\n @for (crumb of items(); track crumb.href ?? crumb.label; let last = $last; let first = $first) {\n <li class=\"cngx-breadcrumb__crumb\" [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\">\n <a\n cngxBreadcrumbItem\n #crumbRef=\"cngxBreadcrumbItem\"\n class=\"cngx-breadcrumb__link\"\n [cngxBreadcrumbItemLabel]=\"crumb.label\"\n [attr.href]=\"last ? null : (crumb.href ?? null)\"\n [attr.data-label]=\"crumb.label\"\n >\n @if (icon(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n }\n <span class=\"cngx-breadcrumb__label\">{{ crumb.label }}</span>\n </a>\n @if (accessory(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n } @else if (crumb.siblings; as sibs) {\n @if (sibs.length) {\n <cngx-breadcrumb-siblings [siblings]=\"sibs\" />\n }\n }\n </li>\n @if (!last) {\n <li\n cngxBreadcrumbSeparator\n class=\"cngx-breadcrumb__separator\"\n [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\"\n >\n /\n </li>\n }\n @if (first && bc.hasCollapsed()) {\n <li class=\"cngx-breadcrumb__overflow\">\n <cngx-breadcrumb-overflow [itemTemplate]=\"overflowRow()\" />\n </li>\n <li cngxBreadcrumbSeparator class=\"cngx-breadcrumb__separator\">/</li>\n }\n }\n </ol>\n</nav>\n", styles: [".cngx-breadcrumb{--cngx-breadcrumb-gap: var(--cngx-space-sm, .5rem);display:block;font:inherit}.cngx-breadcrumb__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cngx-breadcrumb-gap, .5rem);margin:0;padding:0;list-style:none}.cngx-breadcrumb__crumb{display:inline-flex;align-items:center}.cngx-breadcrumb__link{color:var(--cngx-breadcrumb-link-color, inherit);text-decoration:var(--cngx-breadcrumb-link-decoration, underline)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-current-color, inherit);font-weight:var(--cngx-breadcrumb-current-weight, 600);text-decoration:none}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-separator-color, inherit);-webkit-user-select:none;user-select:none}@property --cngx-breadcrumb-plain-link-decoration{syntax: \"*\"; inherits: true; initial-value: none;}@property --cngx-breadcrumb-contained-padding{syntax: \"*\"; inherits: true; initial-value: .375rem .75rem;}@property --cngx-breadcrumb-contained-bg{syntax: \"<color>\"; inherits: true; initial-value: #f4f4f5;}@property --cngx-breadcrumb-contained-border{syntax: \"*\"; inherits: true; initial-value: 1px solid;}@property --cngx-breadcrumb-contained-border-color{syntax: \"<color>\"; inherits: true; initial-value: #e4e4e7;}@property --cngx-breadcrumb-contained-radius{syntax: \"*\"; inherits: true; initial-value: .375rem;}@property --cngx-breadcrumb-pill-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-pill-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-pill-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-pill-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-pill-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-pill-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-pill-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-pill-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=plain]){:scope{--cngx-breadcrumb-link-decoration: var(--cngx-breadcrumb-plain-link-decoration, none)}}@scope(.cngx-breadcrumb[data-skin=contained]){:scope{--cngx-breadcrumb-contained-padding: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-breadcrumb-contained-bg: var(--cngx-color-surface, #f4f4f5);--cngx-breadcrumb-contained-border-color: var(--cngx-color-border, #e4e4e7)}.cngx-breadcrumb__list{padding:var(--cngx-breadcrumb-contained-padding, .375rem .75rem);background:var(--cngx-breadcrumb-contained-bg);border:var(--cngx-breadcrumb-contained-border, 1px solid) var(--cngx-breadcrumb-contained-border-color);border-radius:var(--cngx-breadcrumb-contained-radius, .375rem)}}@scope(.cngx-breadcrumb[data-skin=pill]){:scope{--cngx-breadcrumb-pill-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-pill-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-pill-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-pill-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-pill-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-pill-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-pill-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-pill-active-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-pill-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0;padding:4px;background:var(--cngx-breadcrumb-pill-track-bg);border:1px solid var(--cngx-breadcrumb-pill-track-border);border-radius:var(--cngx-breadcrumb-pill-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.38em .9em;border-radius:var(--cngx-breadcrumb-pill-radius);font-size:var(--cngx-breadcrumb-pill-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-pill-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-pill-hover-bg);color:var(--cngx-breadcrumb-pill-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-pill-active-bg);color:var(--cngx-breadcrumb-pill-active-color);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-ribbon-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-ribbon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-ribbon-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-ribbon-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-ribbon-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-ribbon-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-ribbon-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-ribbon-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=ribbon]){:scope{--cngx-breadcrumb-ribbon-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-ribbon-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-ribbon-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-ribbon-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-ribbon-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-ribbon-active-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-ribbon-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-ribbon-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__crumb{position:relative}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.5em 1.1em .5em 1.4em;margin-left:-10px;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%,12px 50%);font-size:var(--cngx-breadcrumb-ribbon-font-size);font-weight:560;text-decoration:none;background:var(--cngx-breadcrumb-ribbon-bg);color:var(--cngx-breadcrumb-ribbon-color)}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{padding-left:1em;margin-left:0;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%);border-radius:var(--cngx-breadcrumb-ribbon-radius) 0 0 var(--cngx-breadcrumb-ribbon-radius)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-ribbon-hover-bg);color:var(--cngx-breadcrumb-ribbon-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-ribbon-active-bg);color:var(--cngx-breadcrumb-ribbon-active-color)}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-editorial-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-editorial-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-editorial-font-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@scope(.cngx-breadcrumb[data-skin=editorial]){:scope{--cngx-breadcrumb-editorial-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-editorial-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-editorial-font-size: var(--cngx-font-size-md, 1rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .1em .25em;font-size:var(--cngx-breadcrumb-editorial-font-size);text-decoration:none;color:var(--cngx-breadcrumb-editorial-text);background-image:linear-gradient(90deg,var(--cngx-breadcrumb-editorial-accent),color-mix(in oklch,var(--cngx-breadcrumb-editorial-accent) 40%,var(--cngx-breadcrumb-editorial-text)));background-repeat:no-repeat;background-position:0 100%;background-size:0% 2px;transition:background-size .18s ease,color .18s ease}.cngx-breadcrumb__link:hover{background-size:100% 2px;color:var(--cngx-breadcrumb-editorial-text)}.cngx-breadcrumb__link[aria-current=page]{background-image:linear-gradient(90deg,var(--cngx-breadcrumb-editorial-accent),color-mix(in oklch,var(--cngx-breadcrumb-editorial-accent) 50%,var(--cngx-breadcrumb-editorial-text)));background-position:0 0;background-size:100% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\b7\";font-size:var(--cngx-breadcrumb-editorial-font-size)}}@property --cngx-breadcrumb-header-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-header-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-header-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-header-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-header-leaf-font-size{syntax: \"*\"; inherits: true; initial-value: 1.125rem;}@property --cngx-breadcrumb-header-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=header]){:scope{width:100%;--cngx-breadcrumb-header-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-header-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-header-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-header-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-header-leaf-font-size: var(--cngx-font-size-lg, 1.125rem);--cngx-breadcrumb-header-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{row-gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .35em;border-radius:var(--cngx-breadcrumb-header-radius);font-size:var(--cngx-breadcrumb-header-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-header-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-header-hover-bg);color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){flex-basis:100%}.cngx-breadcrumb__link[aria-current=page]{font-size:var(--cngx-breadcrumb-header-leaf-font-size);font-weight:700;letter-spacing:-.01em;line-height:1.2;white-space:normal;color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-header-font-size)}.cngx-breadcrumb__separator:has(+.cngx-breadcrumb__crumb .cngx-breadcrumb__link[aria-current=page]){display:none}}@property --cngx-breadcrumb-metro-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-metro-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-metro-hover-dot{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-metro-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-metro-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-metro-rail{syntax: \"<color>\"; inherits: true; initial-value: oklch(.8 .06 50);}@property --cngx-breadcrumb-metro-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=metro]){:scope{--cngx-breadcrumb-metro-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-metro-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-metro-hover-dot: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-metro-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-metro-active-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-metro-rail: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 45%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-metro-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .25em;font-size:var(--cngx-breadcrumb-metro-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-metro-color)}.cngx-breadcrumb__link:before{content:\"\";flex:none;width:11px;height:11px;border-radius:50%;border:2.5px solid var(--cngx-breadcrumb-metro-accent);background:var(--cngx-breadcrumb-metro-surface);transition:background .18s ease,transform .18s ease}.cngx-breadcrumb__link:hover{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link:hover:before{background:var(--cngx-breadcrumb-metro-hover-dot);transform:scale(1.15)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link[aria-current=page]:before{background:var(--cngx-breadcrumb-metro-accent);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-metro-accent) 22%,transparent)}.cngx-breadcrumb__separator{width:30px;height:3px;margin-inline:3px;border-radius:2px;font-size:0;background:var(--cngx-breadcrumb-metro-rail)}}@property --cngx-breadcrumb-toolbar-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-toolbar-border-strong{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-toolbar-cell-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-toolbar-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-toolbar-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-toolbar-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-toolbar-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-toolbar-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-toolbar-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-toolbar-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=toolbar]){:scope{width:100%;--cngx-breadcrumb-toolbar-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-toolbar-border-strong: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-toolbar-cell-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-toolbar-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-toolbar-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-toolbar-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-toolbar-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-toolbar-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-toolbar-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-toolbar-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{width:100%;gap:0;flex-wrap:nowrap;overflow:hidden;background:var(--cngx-breadcrumb-toolbar-bg);border:1px solid var(--cngx-breadcrumb-toolbar-border-strong);border-radius:var(--cngx-breadcrumb-toolbar-radius)}.cngx-breadcrumb__crumb{align-self:stretch}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.55em .95em;font-size:var(--cngx-breadcrumb-toolbar-font-size);font-weight:550;text-decoration:none;border-right:1px solid var(--cngx-breadcrumb-toolbar-cell-border);border-radius:0;color:var(--cngx-breadcrumb-toolbar-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-toolbar-hover-bg);color:var(--cngx-breadcrumb-toolbar-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-toolbar-active-bg);color:var(--cngx-breadcrumb-toolbar-active-color);font-weight:640;border-right:none}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-chips-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-chips-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-chips-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-chips-hover-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-chips-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-chips-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-chips-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-chips-active-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.82 .08 50);}@property --cngx-breadcrumb-chips-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-chips-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-chips-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=chips]){:scope{--cngx-breadcrumb-chips-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-chips-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-chips-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-chips-hover-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-chips-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-chips-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-chips-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-chips-active-border: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 35%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-chips-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-chips-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-chips-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__list{gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.32em .8em;font-size:var(--cngx-breadcrumb-chips-font-size);font-weight:550;text-decoration:none;border:1px solid var(--cngx-breadcrumb-chips-border);border-radius:var(--cngx-breadcrumb-chips-radius);background:var(--cngx-breadcrumb-chips-bg);color:var(--cngx-breadcrumb-chips-color)}.cngx-breadcrumb__link:hover{border-color:var(--cngx-breadcrumb-chips-hover-border);background:var(--cngx-breadcrumb-chips-hover-bg);color:var(--cngx-breadcrumb-chips-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-chips-active-bg);border-color:var(--cngx-breadcrumb-chips-active-border);color:var(--cngx-breadcrumb-chips-active-color);font-weight:640}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-chips-font-size)}}@property --cngx-breadcrumb-path-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-path-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-path-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-path-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-path-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-path-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-path-sep-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.72 .01 250);}@property --cngx-breadcrumb-path-radius{syntax: \"*\"; inherits: true; initial-value: 8px;}@property --cngx-breadcrumb-path-link-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-path-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=path]){:scope{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);--cngx-breadcrumb-path-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-path-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-path-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-path-hover-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-path-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-path-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-path-sep-color: color-mix( in oklch, var(--cngx-color-text-muted, oklch(.5 .01 250)) 55%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-path-radius: var(--cngx-radius-md, 8px);--cngx-breadcrumb-path-link-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-path-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem);padding:.5em .7em;background:var(--cngx-breadcrumb-path-track-bg);border:1px solid var(--cngx-breadcrumb-path-track-border);border-radius:var(--cngx-breadcrumb-path-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.2em .45em;font-size:var(--cngx-breadcrumb-path-font-size);text-decoration:none;border-radius:var(--cngx-breadcrumb-path-link-radius);color:var(--cngx-breadcrumb-path-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-path-hover-bg);color:var(--cngx-breadcrumb-path-hover-color)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-path-active-color)}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-path-sep-color)}}@property --cngx-breadcrumb-iconlabel-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-iconlabel-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-iconlabel-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-iconlabel-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-iconlabel-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-iconlabel-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-iconlabel-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=iconlabel]){:scope{--cngx-breadcrumb-iconlabel-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-iconlabel-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-iconlabel-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-iconlabel-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-iconlabel-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-iconlabel-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-iconlabel-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__crumb{color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.4em .7em;border-radius:var(--cngx-breadcrumb-iconlabel-radius);font-size:var(--cngx-breadcrumb-iconlabel-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-iconlabel-hover-bg);color:var(--cngx-breadcrumb-iconlabel-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-iconlabel-active-bg);color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-iconlabel-font-size)}}@property --cngx-breadcrumb-icononly-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-icononly-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-icononly-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-icononly-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-icononly-tip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-tip-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-icononly-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-icononly-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=icononly]){:scope{--cngx-breadcrumb-icononly-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-icononly-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-icononly-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-icononly-active-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-icononly-tip-bg: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-tip-color: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-icononly-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-icononly-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem)}.cngx-breadcrumb__link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--cngx-breadcrumb-icononly-radius);text-decoration:none;color:var(--cngx-breadcrumb-icononly-color)}.cngx-breadcrumb__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-icononly-hover-bg);color:var(--cngx-breadcrumb-icononly-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-icononly-active-bg);color:var(--cngx-breadcrumb-icononly-active-color)}.cngx-breadcrumb__link:after{content:attr(data-label) / \"\";position:absolute;bottom:calc(100% + 8px);left:50%;translate:-50% 0;padding:.3em .6em;border-radius:var(--cngx-breadcrumb-icononly-radius);background:var(--cngx-breadcrumb-icononly-tip-bg);color:var(--cngx-breadcrumb-icononly-tip-color);font-size:.75rem;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .18s ease;box-shadow:var(--cngx-shadow-md, 0 4px 12px oklch(0 0 0 / .15));z-index:30}.cngx-breadcrumb__link:hover:after,.cngx-breadcrumb__link:focus-visible:after{opacity:1}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-icononly-font-size)}}@property --cngx-breadcrumb-shell-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-shell-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-shell-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-shell-mark-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-shell-mark-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-shell-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-shell-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=shell]){:scope{--cngx-breadcrumb-shell-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-shell-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-shell-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-shell-mark-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-shell-mark-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-shell-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-shell-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .5em;border-radius:var(--cngx-breadcrumb-shell-radius);font-size:var(--cngx-breadcrumb-shell-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-shell-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-shell-hover-bg);color:var(--cngx-breadcrumb-shell-text)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-shell-text);font-weight:660}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{font-weight:650;color:var(--cngx-breadcrumb-shell-text)}.product-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:var(--cngx-breadcrumb-shell-mark-bg);color:var(--cngx-breadcrumb-shell-mark-color);font-size:.6875rem;font-weight:700;letter-spacing:.02em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-shell-font-size)}}@property --cngx-breadcrumb-record-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-record-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-record-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-record-chip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-record-chip-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-record-status{syntax: \"<color>\"; inherits: true; initial-value: oklch(.7 .17 145);}@property --cngx-breadcrumb-record-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-record-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-record-chip-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=record]){:scope{--cngx-breadcrumb-record-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-record-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-record-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-record-chip-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-record-chip-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-record-status: var(--cngx-color-success, oklch(.7 .17 145));--cngx-breadcrumb-record-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-record-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-record-chip-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.3em .45em;border-radius:var(--cngx-breadcrumb-record-radius);font-size:var(--cngx-breadcrumb-record-font-size);text-decoration:none;color:var(--cngx-breadcrumb-record-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-record-hover-bg);color:var(--cngx-breadcrumb-record-text)}.cngx-breadcrumb__link[aria-current=page]{background:transparent;color:var(--cngx-breadcrumb-record-text);font-weight:620}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){gap:.55em;padding:.32em .8em;background:var(--cngx-breadcrumb-record-chip-bg);border:1px solid var(--cngx-breadcrumb-record-chip-border);border-radius:var(--cngx-breadcrumb-record-chip-radius);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.rec-id{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);font-size:.95em}.status-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--cngx-breadcrumb-record-status);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-record-status) 20%,transparent)}.status-label{font-size:.65625rem;font-weight:680;color:var(--cngx-breadcrumb-record-status);text-transform:uppercase;letter-spacing:.06em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\203a\";font-size:var(--cngx-breadcrumb-record-font-size)}}\n"] }]
|
|
512
|
-
}], propDecorators: { itemsInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], maxVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxVisible", required: false }] }],
|
|
581
|
+
}, template: "<nav cngxBreadcrumb [maxVisible]=\"effectiveMaxVisible()\" [label]=\"resolvedLabel()\" #bc=\"cngxBreadcrumb\">\n <ol class=\"cngx-breadcrumb__list\">\n @for (crumb of items(); track crumb.href ?? crumb.label; let last = $last; let first = $first) {\n <li class=\"cngx-breadcrumb__crumb\" [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\">\n <a\n cngxBreadcrumbItem\n #crumbRef=\"cngxBreadcrumbItem\"\n class=\"cngx-breadcrumb__link\"\n [cngxBreadcrumbItemLabel]=\"crumb.label\"\n [attr.href]=\"last ? null : (crumb.href ?? null)\"\n [attr.data-label]=\"crumb.label\"\n >\n @if (icon(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n }\n <span class=\"cngx-breadcrumb__label\">{{ crumb.label }}</span>\n </a>\n @if (accessory(); as tpl) {\n <ng-container\n *ngTemplateOutlet=\"tpl; context: { $implicit: crumb, crumb: crumb, index: $index }\"\n />\n } @else if (crumb.siblings; as sibs) {\n @if (sibs.length) {\n <cngx-breadcrumb-siblings [siblings]=\"sibs\" />\n }\n }\n </li>\n @if (!last) {\n <li\n cngxBreadcrumbSeparator\n class=\"cngx-breadcrumb__separator\"\n [style.display]=\"bc.isCollapsed(crumbRef) ? 'none' : null\"\n >\n /\n </li>\n }\n @if (first && bc.hasCollapsed()) {\n <li class=\"cngx-breadcrumb__overflow\">\n <cngx-breadcrumb-overflow [itemTemplate]=\"overflowRow()\" />\n </li>\n <li cngxBreadcrumbSeparator class=\"cngx-breadcrumb__separator\">/</li>\n }\n }\n </ol>\n</nav>\n", styles: [".cngx-breadcrumb{--cngx-breadcrumb-gap: var(--cngx-space-sm, .5rem);display:block;font:inherit;container-type:inline-size;container-name:cngx-breadcrumb}.cngx-breadcrumb:after{--cngx-breadcrumb-max-visible: 2}@container cngx-breadcrumb (min-inline-size: 30rem){.cngx-breadcrumb:after{--cngx-breadcrumb-max-visible: 4}}@container cngx-breadcrumb (min-inline-size: 48rem){.cngx-breadcrumb:after{--cngx-breadcrumb-max-visible: 6}}.cngx-breadcrumb:dir(rtl){--cngx-breadcrumb-separator: \"\\2039\"}:root,[data-color-scheme=light],.light{--_cngx-breadcrumb-fill-ink: var(--cngx-color-text, oklch(.2 .01 250))}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--_cngx-breadcrumb-fill-ink: var(--cngx-color-surface, oklch(.2 .01 250))}}[data-color-scheme=dark],.dark{--_cngx-breadcrumb-fill-ink: var(--cngx-color-surface, oklch(.2 .01 250))}.cngx-breadcrumb__list{display:flex;flex-wrap:wrap;align-items:center;gap:var(--cngx-breadcrumb-gap, .5rem);margin:0;padding:0;list-style:none}.cngx-breadcrumb__crumb{display:inline-flex;align-items:center}.cngx-breadcrumb__link{color:var(--cngx-breadcrumb-link-color, inherit);text-decoration:var(--cngx-breadcrumb-link-decoration, underline)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-current-color, inherit);font-weight:var(--cngx-breadcrumb-current-weight, 600);text-decoration:none}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-separator-color, inherit);-webkit-user-select:none;user-select:none}@property --cngx-breadcrumb-max-visible{syntax: \"<integer>\"; inherits: false; initial-value: 2;}@property --cngx-breadcrumb-plain-link-decoration{syntax: \"*\"; inherits: true; initial-value: none;}@property --cngx-breadcrumb-contained-padding{syntax: \"*\"; inherits: true; initial-value: .375rem .75rem;}@property --cngx-breadcrumb-contained-bg{syntax: \"<color>\"; inherits: true; initial-value: #f4f4f5;}@property --cngx-breadcrumb-contained-border{syntax: \"*\"; inherits: true; initial-value: 1px solid;}@property --cngx-breadcrumb-contained-border-color{syntax: \"<color>\"; inherits: true; initial-value: #e4e4e7;}@property --cngx-breadcrumb-contained-radius{syntax: \"*\"; inherits: true; initial-value: .375rem;}@property --cngx-breadcrumb-pill-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-pill-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-pill-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-pill-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-pill-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-pill-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-pill-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-pill-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-pill-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=plain]){:scope{--cngx-breadcrumb-link-decoration: var(--cngx-breadcrumb-plain-link-decoration, none)}}@scope(.cngx-breadcrumb[data-skin=contained]){:scope{--cngx-breadcrumb-contained-padding: var(--cngx-space-xs) var(--cngx-space-sm);--cngx-breadcrumb-contained-bg: var(--cngx-color-surface, #f4f4f5);--cngx-breadcrumb-contained-border-color: var(--cngx-color-border, #e4e4e7)}.cngx-breadcrumb__list{padding:var(--cngx-breadcrumb-contained-padding, .375rem .75rem);background:var(--cngx-breadcrumb-contained-bg);border:var(--cngx-breadcrumb-contained-border, 1px solid) var(--cngx-breadcrumb-contained-border-color);border-radius:var(--cngx-breadcrumb-contained-radius, .375rem)}}@scope(.cngx-breadcrumb[data-skin=pill]){:scope{--cngx-breadcrumb-pill-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-pill-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-pill-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-pill-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-pill-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-pill-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-pill-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-pill-active-color: var(--cngx-color-on-primary, var(--_cngx-breadcrumb-fill-ink, oklch(.2 .01 250)));--cngx-breadcrumb-pill-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0;padding:4px;background:var(--cngx-breadcrumb-pill-track-bg);border:1px solid var(--cngx-breadcrumb-pill-track-border);border-radius:var(--cngx-breadcrumb-pill-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.38em .9em;border-radius:var(--cngx-breadcrumb-pill-radius);font-size:var(--cngx-breadcrumb-pill-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-pill-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-pill-hover-bg);color:var(--cngx-breadcrumb-pill-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-pill-active-bg);color:var(--cngx-breadcrumb-pill-active-color);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-ribbon-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-ribbon-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-ribbon-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-ribbon-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-ribbon-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-ribbon-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-ribbon-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-ribbon-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=ribbon]){:scope{--cngx-breadcrumb-ribbon-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-ribbon-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-ribbon-hover-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-ribbon-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-ribbon-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-ribbon-active-color: var(--cngx-color-on-primary, var(--_cngx-breadcrumb-fill-ink, oklch(.2 .01 250)));--cngx-breadcrumb-ribbon-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-ribbon-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__crumb{position:relative}.cngx-breadcrumb__link{--cngx-breadcrumb-ribbon-notch: 12px;display:inline-flex;align-items:center;padding:.5em 1.1em .5em 1.4em;margin-inline-start:-10px;clip-path:polygon(0 0,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 0,100% 50%,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 100%,0 100%,var(--cngx-breadcrumb-ribbon-notch, 12px) 50%);font-size:var(--cngx-breadcrumb-ribbon-font-size);font-weight:560;text-decoration:none;background:var(--cngx-breadcrumb-ribbon-bg);color:var(--cngx-breadcrumb-ribbon-color)}.cngx-breadcrumb__link:dir(rtl){clip-path:polygon(100% 0,var(--cngx-breadcrumb-ribbon-notch, 12px) 0,0 50%,var(--cngx-breadcrumb-ribbon-notch, 12px) 100%,100% 100%,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 50%)}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{padding-inline-start:1em;margin-inline-start:0;clip-path:polygon(0 0,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 0,100% 50%,calc(100% - var(--cngx-breadcrumb-ribbon-notch, 12px)) 100%,0 100%);border-radius:var(--cngx-breadcrumb-ribbon-radius) 0 0 var(--cngx-breadcrumb-ribbon-radius)}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link:dir(rtl){clip-path:polygon(100% 0,var(--cngx-breadcrumb-ribbon-notch, 12px) 0,0 50%,var(--cngx-breadcrumb-ribbon-notch, 12px) 100%,100% 100%);border-radius:0 var(--cngx-breadcrumb-ribbon-radius) var(--cngx-breadcrumb-ribbon-radius) 0}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-ribbon-hover-bg);color:var(--cngx-breadcrumb-ribbon-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-ribbon-active-bg);color:var(--cngx-breadcrumb-ribbon-active-color)}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-editorial-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-editorial-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-editorial-font-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@scope(.cngx-breadcrumb[data-skin=editorial]){:scope{--cngx-breadcrumb-editorial-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-editorial-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-editorial-font-size: var(--cngx-font-size-md, 1rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .1em .25em;font-size:var(--cngx-breadcrumb-editorial-font-size);text-decoration:none;color:var(--cngx-breadcrumb-editorial-text);background-image:linear-gradient(90deg,var(--cngx-breadcrumb-editorial-accent),color-mix(in oklch,var(--cngx-breadcrumb-editorial-accent) 40%,var(--cngx-breadcrumb-editorial-text)));background-repeat:no-repeat;background-position:0 100%;background-size:0% 2px;transition:background-size var(--cngx-duration-base, .2s) ease,color var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__link:hover{background-size:100% 2px;color:var(--cngx-breadcrumb-editorial-text)}.cngx-breadcrumb__link[aria-current=page]{background-image:linear-gradient(90deg,var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))),color-mix(in oklch,var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250)))) 50%,var(--cngx-breadcrumb-editorial-text)));background-position:0 0;background-size:100% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:700}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:\"\\b7\" / \"\";font-size:var(--cngx-breadcrumb-editorial-font-size)}}@property --cngx-breadcrumb-header-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-header-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-header-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-header-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-header-leaf-font-size{syntax: \"*\"; inherits: true; initial-value: 1.125rem;}@property --cngx-breadcrumb-header-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=header]){:scope{width:100%;--cngx-breadcrumb-header-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-header-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-header-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-header-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-header-leaf-font-size: var(--cngx-font-size-lg, 1.125rem);--cngx-breadcrumb-header-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{row-gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.2em .35em;border-radius:var(--cngx-breadcrumb-header-radius);font-size:var(--cngx-breadcrumb-header-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-header-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-header-hover-bg);color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){flex-basis:100%}.cngx-breadcrumb__link[aria-current=page]{font-size:var(--cngx-breadcrumb-header-leaf-font-size);font-weight:700;letter-spacing:-.01em;line-height:1.2;white-space:normal;color:var(--cngx-breadcrumb-header-text)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-header-font-size)}.cngx-breadcrumb__separator:has(+.cngx-breadcrumb__crumb .cngx-breadcrumb__link[aria-current=page]){display:none}}@property --cngx-breadcrumb-metro-accent{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-metro-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-metro-hover-dot{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-metro-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-metro-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-metro-rail{syntax: \"<color>\"; inherits: true; initial-value: oklch(.8 .06 50);}@property --cngx-breadcrumb-metro-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=metro]){:scope{--cngx-breadcrumb-metro-accent: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-metro-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-metro-hover-dot: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-metro-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-metro-active-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-metro-rail: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 45%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-metro-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:0}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .25em;font-size:var(--cngx-breadcrumb-metro-font-size);font-weight:560;text-decoration:none;color:var(--cngx-breadcrumb-metro-color)}.cngx-breadcrumb__link:before{content:\"\";flex:none;width:11px;height:11px;border-radius:50%;border:2.5px solid var(--cngx-breadcrumb-metro-accent);background:var(--cngx-breadcrumb-metro-surface);transition:background var(--cngx-duration-base, .2s) ease,transform var(--cngx-duration-base, .2s) ease}.cngx-breadcrumb__link:hover{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link:hover:before{background:var(--cngx-breadcrumb-metro-hover-dot);transform:scale(1.15)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-metro-active-color)}.cngx-breadcrumb__link[aria-current=page]:before{background:var(--cngx-breadcrumb-metro-accent);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-metro-accent) 22%,transparent)}.cngx-breadcrumb__separator{width:30px;height:3px;margin-inline:3px;border-radius:2px;font-size:0;background:var(--cngx-breadcrumb-metro-rail)}}@property --cngx-breadcrumb-toolbar-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-toolbar-border-strong{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-toolbar-cell-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-toolbar-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-toolbar-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-toolbar-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-toolbar-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-toolbar-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-toolbar-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-toolbar-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=toolbar]){:scope{width:100%;--cngx-breadcrumb-toolbar-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-toolbar-border-strong: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-toolbar-cell-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-toolbar-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-toolbar-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-toolbar-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-toolbar-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-toolbar-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-toolbar-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-toolbar-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__list{width:100%;gap:0;flex-wrap:nowrap;overflow:hidden;background:var(--cngx-breadcrumb-toolbar-bg);border:1px solid var(--cngx-breadcrumb-toolbar-border-strong);border-radius:var(--cngx-breadcrumb-toolbar-radius)}.cngx-breadcrumb__crumb{align-self:stretch}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.55em .95em;font-size:var(--cngx-breadcrumb-toolbar-font-size);font-weight:550;text-decoration:none;border-inline-end:1px solid var(--cngx-breadcrumb-toolbar-cell-border);border-radius:0;color:var(--cngx-breadcrumb-toolbar-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-toolbar-hover-bg);color:var(--cngx-breadcrumb-toolbar-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-toolbar-active-bg);color:var(--cngx-breadcrumb-toolbar-active-color);font-weight:640;border-inline-end:none}.cngx-breadcrumb__separator{display:none}}@property --cngx-breadcrumb-chips-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-chips-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-chips-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-chips-hover-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-chips-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-chips-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-chips-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-chips-active-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.82 .08 50);}@property --cngx-breadcrumb-chips-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-chips-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-chips-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=chips]){:scope{--cngx-breadcrumb-chips-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-chips-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-chips-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-chips-hover-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-chips-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-chips-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-chips-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-chips-active-border: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 35%, var(--cngx-color-border, oklch(.88 .005 250)) );--cngx-breadcrumb-chips-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-chips-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-chips-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__list{gap:var(--cngx-space-sm, .5rem)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;padding:.32em .8em;font-size:var(--cngx-breadcrumb-chips-font-size);font-weight:550;text-decoration:none;border:1px solid var(--cngx-breadcrumb-chips-border);border-radius:var(--cngx-breadcrumb-chips-radius);background:var(--cngx-breadcrumb-chips-bg);color:var(--cngx-breadcrumb-chips-color)}.cngx-breadcrumb__link:hover{border-color:var(--cngx-breadcrumb-chips-hover-border);background:var(--cngx-breadcrumb-chips-hover-bg);color:var(--cngx-breadcrumb-chips-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-chips-active-bg);border-color:var(--cngx-breadcrumb-chips-active-border);color:var(--cngx-breadcrumb-chips-active-color);font-weight:640}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-chips-font-size)}}@property --cngx-breadcrumb-path-track-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-path-track-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-breadcrumb-path-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-path-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-path-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-path-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-path-sep-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-path-radius{syntax: \"*\"; inherits: true; initial-value: 8px;}@property --cngx-breadcrumb-path-link-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-path-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=path]){:scope{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);--cngx-breadcrumb-path-track-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-path-track-border: var(--cngx-color-border, oklch(.88 .005 250));--cngx-breadcrumb-path-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-path-hover-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-path-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-path-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-path-sep-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-path-radius: var(--cngx-radius-md, 8px);--cngx-breadcrumb-path-link-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-path-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem);padding:.5em .7em;background:var(--cngx-breadcrumb-path-track-bg);border:1px solid var(--cngx-breadcrumb-path-track-border);border-radius:var(--cngx-breadcrumb-path-radius)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.2em .45em;font-size:var(--cngx-breadcrumb-path-font-size);text-decoration:none;border-radius:var(--cngx-breadcrumb-path-link-radius);color:var(--cngx-breadcrumb-path-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-path-hover-bg);color:var(--cngx-breadcrumb-path-hover-color)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-path-active-color)}.cngx-breadcrumb__separator{color:var(--cngx-breadcrumb-path-sep-color)}}@property --cngx-breadcrumb-iconlabel-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-iconlabel-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-iconlabel-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-iconlabel-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.95 .03 50);}@property --cngx-breadcrumb-iconlabel-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.52 .13 50);}@property --cngx-breadcrumb-iconlabel-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@property --cngx-breadcrumb-iconlabel-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=iconlabel]){:scope{--cngx-breadcrumb-iconlabel-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-iconlabel-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-iconlabel-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-iconlabel-active-bg: color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 12%, transparent );--cngx-breadcrumb-iconlabel-active-color: var(--cngx-color-primary-text, color-mix(in oklab, var(--cngx-color-primary, oklch(.66 .19 50)) 70%, var(--cngx-color-text, oklch(.2 .01 250))));--cngx-breadcrumb-iconlabel-radius: var(--cngx-radius-pill, 999px);--cngx-breadcrumb-iconlabel-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__crumb{color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.4em .7em;border-radius:var(--cngx-breadcrumb-iconlabel-radius);font-size:var(--cngx-breadcrumb-iconlabel-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-iconlabel-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-iconlabel-hover-bg);color:var(--cngx-breadcrumb-iconlabel-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-iconlabel-active-bg);color:var(--cngx-breadcrumb-iconlabel-active-color)}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-iconlabel-font-size)}}@property --cngx-breadcrumb-icononly-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-icononly-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-icononly-hover-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-active-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-icononly-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-tip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-icononly-tip-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-icononly-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-icononly-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@scope(.cngx-breadcrumb[data-skin=icononly]){:scope{--cngx-breadcrumb-icononly-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-icononly-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-icononly-hover-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-active-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-icononly-active-color: var(--cngx-color-on-primary, var(--_cngx-breadcrumb-fill-ink, oklch(.2 .01 250)));--cngx-breadcrumb-icononly-tip-bg: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-icononly-tip-color: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-icononly-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-icononly-font-size: var(--cngx-font-size-sm, .875rem)}.cngx-breadcrumb__list{gap:var(--cngx-space-xs, .25rem)}.cngx-breadcrumb__link{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--cngx-breadcrumb-icononly-radius);text-decoration:none;color:var(--cngx-breadcrumb-icononly-color)}.cngx-breadcrumb__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-icononly-hover-bg);color:var(--cngx-breadcrumb-icononly-hover-color)}.cngx-breadcrumb__link[aria-current=page]{background:var(--cngx-breadcrumb-icononly-active-bg);color:var(--cngx-breadcrumb-icononly-active-color)}.cngx-breadcrumb__link:after{content:attr(data-label) / \"\";position:absolute;bottom:calc(100% + 8px);left:50%;translate:-50% 0;padding:.3em .6em;border-radius:var(--cngx-breadcrumb-icononly-radius);background:var(--cngx-breadcrumb-icononly-tip-bg);color:var(--cngx-breadcrumb-icononly-tip-color);font-size:.75rem;font-weight:600;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity var(--cngx-duration-base, .2s) ease;box-shadow:var(--cngx-shadow-md, 0 4px 12px oklch(0 0 0 / .15));z-index:30}.cngx-breadcrumb__link:hover:after,.cngx-breadcrumb__link:focus-visible:after{opacity:1}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-icononly-font-size)}}@property --cngx-breadcrumb-shell-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-shell-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-shell-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-shell-mark-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-breadcrumb-shell-mark-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-shell-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-shell-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@scope(.cngx-breadcrumb[data-skin=shell]){:scope{--cngx-breadcrumb-shell-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-shell-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-shell-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-shell-mark-bg: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-breadcrumb-shell-mark-color: var(--cngx-color-on-primary, oklch(1 0 0));--cngx-breadcrumb-shell-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-shell-radius: var(--cngx-radius-sm, 4px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.5em;padding:.3em .5em;border-radius:var(--cngx-breadcrumb-shell-radius);font-size:var(--cngx-breadcrumb-shell-font-size);font-weight:550;text-decoration:none;color:var(--cngx-breadcrumb-shell-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-shell-hover-bg);color:var(--cngx-breadcrumb-shell-text)}.cngx-breadcrumb__link[aria-current=page]{color:var(--cngx-breadcrumb-shell-text);font-weight:660}.cngx-breadcrumb__crumb:first-child .cngx-breadcrumb__link{font-weight:650;color:var(--cngx-breadcrumb-shell-text)}.product-mark{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:var(--cngx-breadcrumb-shell-mark-bg);color:var(--cngx-breadcrumb-shell-mark-color);font-size:.6875rem;font-weight:700;letter-spacing:.02em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-shell-font-size)}}@property --cngx-breadcrumb-record-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-breadcrumb-record-hover-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .005 250);}@property --cngx-breadcrumb-record-text{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-breadcrumb-record-chip-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-breadcrumb-record-chip-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.78 .01 250);}@property --cngx-breadcrumb-record-status{syntax: \"<color>\"; inherits: true; initial-value: oklch(.7 .17 145);}@property --cngx-breadcrumb-record-font-size{syntax: \"*\"; inherits: true; initial-value: .875rem;}@property --cngx-breadcrumb-record-radius{syntax: \"*\"; inherits: true; initial-value: 4px;}@property --cngx-breadcrumb-record-chip-radius{syntax: \"*\"; inherits: true; initial-value: 999px;}@scope(.cngx-breadcrumb[data-skin=record]){:scope{--cngx-breadcrumb-record-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-breadcrumb-record-hover-bg: color-mix( in oklch, var(--cngx-color-text, oklch(.2 .01 250)) 5%, var(--cngx-color-surface, oklch(1 0 0)) );--cngx-breadcrumb-record-text: var(--cngx-color-text, oklch(.2 .01 250));--cngx-breadcrumb-record-chip-bg: var(--cngx-color-surface, oklch(1 0 0));--cngx-breadcrumb-record-chip-border: color-mix( in oklch, var(--cngx-color-border, oklch(.88 .005 250)) 50%, var(--cngx-color-text, oklch(.2 .01 250)) );--cngx-breadcrumb-record-status: var(--cngx-color-success, oklch(.7 .17 145));--cngx-breadcrumb-record-font-size: var(--cngx-font-size-sm, .875rem);--cngx-breadcrumb-record-radius: var(--cngx-radius-sm, 4px);--cngx-breadcrumb-record-chip-radius: var(--cngx-radius-pill, 999px)}.cngx-breadcrumb__link{display:inline-flex;align-items:center;gap:.4em;padding:.3em .45em;border-radius:var(--cngx-breadcrumb-record-radius);font-size:var(--cngx-breadcrumb-record-font-size);text-decoration:none;color:var(--cngx-breadcrumb-record-color)}.cngx-breadcrumb__link:hover{background:var(--cngx-breadcrumb-record-hover-bg);color:var(--cngx-breadcrumb-record-text)}.cngx-breadcrumb__link[aria-current=page]{background:transparent;color:var(--cngx-breadcrumb-record-text);font-weight:620}.cngx-breadcrumb__crumb:has(.cngx-breadcrumb__link[aria-current=page]){gap:.55em;padding:.32em .8em;background:var(--cngx-breadcrumb-record-chip-bg);border:1px solid var(--cngx-breadcrumb-record-chip-border);border-radius:var(--cngx-breadcrumb-record-chip-radius);box-shadow:var(--cngx-shadow-sm, 0 1px 2px oklch(0 0 0 / .08))}.rec-id{font-family:var(--cngx-font-family-mono, ui-monospace, \"SFMono-Regular\", \"Menlo\", monospace);font-size:.95em}.status-dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--cngx-breadcrumb-record-status);box-shadow:0 0 0 3px color-mix(in oklch,var(--cngx-breadcrumb-record-status) 20%,transparent)}.status-label{font-size:.65625rem;font-weight:680;color:var(--cngx-breadcrumb-record-status);text-transform:uppercase;letter-spacing:.06em}.cngx-breadcrumb__separator{font-size:0}.cngx-breadcrumb__separator:after{content:var(--cngx-breadcrumb-separator, \"\\203a\") / \"\";font-size:var(--cngx-breadcrumb-record-font-size)}}@media(forced-colors:active){.cngx-breadcrumb__link[aria-current=page]{background:Highlight!important;color:HighlightText!important;forced-color-adjust:none}}\n"] }]
|
|
582
|
+
}], propDecorators: { itemsInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], maxVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxVisible", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], skin: [{ type: i0.Input, args: [{ isSignal: true, alias: "skin", required: false }] }], accessory: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxBreadcrumbItemAccessory), { ...{ read: TemplateRef }, isSignal: true }] }], icon: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxBreadcrumbIcon), { ...{ read: TemplateRef }, isSignal: true }] }], overflowRow: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxBreadcrumbOverflowItem), { ...{ read: TemplateRef }, isSignal: true }] }] } });
|
|
513
583
|
|
|
514
584
|
/**
|
|
515
585
|
* Positional shape equality for two crumb trails. The router source maps a
|
|
@@ -541,8 +611,9 @@ function crumbsEqual(a, b) {
|
|
|
541
611
|
* Opt-in router mode for {@link CngxBreadcrumbBar}. Add `routerSync` to a
|
|
542
612
|
* `<cngx-breadcrumb>` and the trail is derived from the activated route tree -
|
|
543
613
|
* every route whose `data[dataKey]` (default `data.breadcrumb`) is a non-empty
|
|
544
|
-
* string
|
|
545
|
-
*
|
|
614
|
+
* string or a `Signal` of one ({@link CngxBreadcrumbRouteLabel}, the app's own
|
|
615
|
+
* translation) contributes a crumb, terminal marking follows from
|
|
616
|
+
* position. The bar reads the trail through the {@link CNGX_BREADCRUMB_ITEMS_SOURCE} seam
|
|
546
617
|
* (provided here via `useExisting`), so the directive never writes the bar's
|
|
547
618
|
* `[items]` input and never injects the concrete bar class - decompose-clean
|
|
548
619
|
* (Pillar 1; reference_atomic_decompose rule 4).
|
|
@@ -601,18 +672,17 @@ class CngxBreadcrumbRouterSync {
|
|
|
601
672
|
}
|
|
602
673
|
const destroyRef = inject(DestroyRef);
|
|
603
674
|
const navEnd = toSignal(router.events.pipe(filter((e) => e instanceof NavigationEnd), takeUntilDestroyed(destroyRef)), { initialValue: null });
|
|
604
|
-
// Derive the trail from the navigation trigger
|
|
605
|
-
// so a runtime dataKey change
|
|
606
|
-
//
|
|
675
|
+
// Derive the trail from the navigation trigger, dataKey and any Signal
|
|
676
|
+
// route label - all tracked, so a runtime dataKey change or the app's
|
|
677
|
+
// language switch re-reads the tree too. The route snapshot is read
|
|
678
|
+
// imperatively per recompute; navEnd is the tracked trigger (Pillar 1).
|
|
607
679
|
this.crumbs = computed(() => {
|
|
608
680
|
navEnd();
|
|
609
681
|
return buildCrumbs(router, this.dataKey(), this.iconKey());
|
|
610
682
|
}, { ...(ngDevMode ? { debugName: "crumbs" } : /* istanbul ignore next */ {}), equal: crumbsEqual });
|
|
611
683
|
}
|
|
612
684
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbRouterSync, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
613
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CngxBreadcrumbRouterSync, isStandalone: true, selector: "cngx-breadcrumb[cngxRouterSync]", inputs: { dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, iconKey: { classPropertyName: "iconKey", publicName: "iconKey", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
614
|
-
{ provide: CNGX_BREADCRUMB_ITEMS_SOURCE, useExisting: CngxBreadcrumbRouterSync },
|
|
615
|
-
], exportAs: ["cngxBreadcrumbRouterSync"], ngImport: i0 });
|
|
685
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CngxBreadcrumbRouterSync, isStandalone: true, selector: "cngx-breadcrumb[cngxRouterSync]", inputs: { dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, iconKey: { classPropertyName: "iconKey", publicName: "iconKey", isSignal: true, isRequired: false, transformFunction: null } }, providers: [{ provide: CNGX_BREADCRUMB_ITEMS_SOURCE, useExisting: CngxBreadcrumbRouterSync }], exportAs: ["cngxBreadcrumbRouterSync"], ngImport: i0 });
|
|
616
686
|
}
|
|
617
687
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxBreadcrumbRouterSync, decorators: [{
|
|
618
688
|
type: Directive,
|
|
@@ -620,33 +690,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
620
690
|
selector: 'cngx-breadcrumb[cngxRouterSync]',
|
|
621
691
|
exportAs: 'cngxBreadcrumbRouterSync',
|
|
622
692
|
standalone: true,
|
|
623
|
-
providers: [
|
|
624
|
-
{ provide: CNGX_BREADCRUMB_ITEMS_SOURCE, useExisting: CngxBreadcrumbRouterSync },
|
|
625
|
-
],
|
|
693
|
+
providers: [{ provide: CNGX_BREADCRUMB_ITEMS_SOURCE, useExisting: CngxBreadcrumbRouterSync }],
|
|
626
694
|
}]
|
|
627
695
|
}], ctorParameters: () => [], propDecorators: { dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], iconKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconKey", required: false }] }] } });
|
|
628
696
|
/**
|
|
629
697
|
* Walks the activated route tree from the root down the firstChild chain,
|
|
630
698
|
* accumulating the URL and emitting one crumb per route whose `data[dataKey]`
|
|
631
|
-
* is a non-empty string
|
|
632
|
-
*
|
|
633
|
-
*
|
|
699
|
+
* is a non-empty string or a `Signal` of one (read here, so the trail tracks
|
|
700
|
+
* it). A non-empty `data[iconKey]` string rides onto the crumb's opaque `icon`
|
|
701
|
+
* (the leading icon slot renders it; deepest wins on the componentless-collapse
|
|
702
|
+
* branch, like the label).
|
|
634
703
|
*/
|
|
635
704
|
function buildCrumbs(router, dataKey, iconKey) {
|
|
636
705
|
const crumbs = [];
|
|
637
706
|
let route = router.routerState.snapshot.root;
|
|
638
707
|
let url = '';
|
|
639
708
|
while (route) {
|
|
640
|
-
|
|
709
|
+
// toString(), not .path: the serialized segment keeps percent-encoding
|
|
710
|
+
// (reserved chars in a param value) and matrix params; the raw decoded
|
|
711
|
+
// path would emit hrefs the router cannot round-trip.
|
|
712
|
+
const segment = route.url.map((s) => s.toString()).join('/');
|
|
641
713
|
if (segment) {
|
|
642
714
|
url += `/${segment}`;
|
|
643
715
|
}
|
|
644
|
-
const
|
|
645
|
-
if (
|
|
716
|
+
const label = routeLabelText(route.data[dataKey]);
|
|
717
|
+
if (label !== undefined) {
|
|
646
718
|
const href = url || '/';
|
|
647
719
|
const rawIcon = route.data[iconKey];
|
|
648
720
|
const icon = typeof rawIcon === 'string' && rawIcon.length > 0 ? rawIcon : undefined;
|
|
649
|
-
const next = icon !== undefined ? { label
|
|
721
|
+
const next = icon !== undefined ? { label, href, icon } : { label, href };
|
|
650
722
|
const prev = crumbs[crumbs.length - 1];
|
|
651
723
|
if (prev?.href === href) {
|
|
652
724
|
// A segment-less (componentless) route carrying a breadcrumb reuses the
|
|
@@ -706,6 +778,12 @@ function siblingsEqual(a, b) {
|
|
|
706
778
|
* navigation does not cascade. `Router` is optional - without it the directive
|
|
707
779
|
* logs a dev warning and stays an empty source.
|
|
708
780
|
*
|
|
781
|
+
* Sibling hrefs are built from the static route-config `path` patterns, so a
|
|
782
|
+
* parameterized sibling (`:id`) emits its pattern verbatim - such routes have
|
|
783
|
+
* no single static URL. Supply `[siblings]` directly (or a custom
|
|
784
|
+
* {@link CNGX_BREADCRUMB_SIBLINGS_SOURCE}) when sibling links need resolved
|
|
785
|
+
* route params.
|
|
786
|
+
*
|
|
709
787
|
* ```html
|
|
710
788
|
* <cngx-breadcrumb-siblings cngxRouterSync [depth]="1" />
|
|
711
789
|
* ```
|
|
@@ -756,10 +834,10 @@ class CngxBreadcrumbSiblingsRouterSync {
|
|
|
756
834
|
}
|
|
757
835
|
const destroyRef = inject(DestroyRef);
|
|
758
836
|
const navEnd = toSignal(router.events.pipe(filter((e) => e instanceof NavigationEnd), takeUntilDestroyed(destroyRef)), { initialValue: null });
|
|
759
|
-
// Derive the set from the navigation trigger, depth, and
|
|
760
|
-
//
|
|
761
|
-
//
|
|
762
|
-
// trigger (Pillar 1).
|
|
837
|
+
// Derive the set from the navigation trigger, depth, dataKey and any Signal
|
|
838
|
+
// route label - all tracked, so a runtime depth/dataKey change or the app's
|
|
839
|
+
// language switch re-reads the tree too. The route snapshot is read
|
|
840
|
+
// imperatively per recompute; navEnd is the tracked trigger (Pillar 1).
|
|
763
841
|
this.siblings = computed(() => {
|
|
764
842
|
navEnd();
|
|
765
843
|
return buildSiblings(router, this.depth(), this.dataKey());
|
|
@@ -784,7 +862,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
784
862
|
/**
|
|
785
863
|
* Enumerates the sibling routes at `depth` in the activated route chain: the
|
|
786
864
|
* children of that level's parent (or the root config at depth 0) whose
|
|
787
|
-
* `data[dataKey]` is a non-empty string, marking the active
|
|
865
|
+
* `data[dataKey]` is a non-empty string or a `Signal` of one, marking the active
|
|
866
|
+
* child `current`.
|
|
788
867
|
* Sibling configs come from the static route configuration, not the activated
|
|
789
868
|
* snapshot (which only holds the one active child), so the whole set of
|
|
790
869
|
* alternatives is visible. Duplicate hrefs are collapsed like `buildCrumbs`.
|
|
@@ -808,7 +887,9 @@ function buildSiblings(router, depth, dataKey) {
|
|
|
808
887
|
const parent = chain[depth - 1];
|
|
809
888
|
siblingConfigs = parent?.routeConfig?.children ?? [];
|
|
810
889
|
for (let i = 0; i < depth && i < chain.length; i++) {
|
|
811
|
-
|
|
890
|
+
// toString(), not .path: keeps percent-encoding and matrix params in
|
|
891
|
+
// the accumulated prefix (same rule as the crumb sync).
|
|
892
|
+
const seg = chain[i].url.map((s) => s.toString()).join('/');
|
|
812
893
|
if (seg) {
|
|
813
894
|
prefix += `/${seg}`;
|
|
814
895
|
}
|
|
@@ -816,8 +897,8 @@ function buildSiblings(router, depth, dataKey) {
|
|
|
816
897
|
}
|
|
817
898
|
const out = [];
|
|
818
899
|
for (const cfg of siblingConfigs) {
|
|
819
|
-
const
|
|
820
|
-
if (
|
|
900
|
+
const label = routeLabelText(cfg.data?.[dataKey]);
|
|
901
|
+
if (label === undefined) {
|
|
821
902
|
continue;
|
|
822
903
|
}
|
|
823
904
|
const seg = cfg.path ?? '';
|
|
@@ -828,10 +909,12 @@ function buildSiblings(router, depth, dataKey) {
|
|
|
828
909
|
// A path-less sibling reuses the parent URL; collapse it - deepest label
|
|
829
910
|
// wins, current stays set if either matched - so the set never emits a
|
|
830
911
|
// duplicate href (the dropdown's @for track would otherwise collide).
|
|
831
|
-
|
|
912
|
+
// Boolean either-matched, deliberately not ?? - a false on the earlier
|
|
913
|
+
// row must not eat the active config's match.
|
|
914
|
+
out[out.length - 1] = { label, href, current: !!prev.current || current };
|
|
832
915
|
}
|
|
833
916
|
else {
|
|
834
|
-
out.push({ label
|
|
917
|
+
out.push({ label, href, current });
|
|
835
918
|
}
|
|
836
919
|
}
|
|
837
920
|
return out;
|
|
@@ -841,7 +924,8 @@ function buildSiblings(router, depth, dataKey) {
|
|
|
841
924
|
* Override the breadcrumb family's ARIA-string fallbacks - the bar landmark
|
|
842
925
|
* name and the overflow/siblings trigger + list labels. Per-instance
|
|
843
926
|
* `[label]` / `[triggerLabel]` / `[menuLabel]` bindings still win over the
|
|
844
|
-
* cascade; this only sets the fallback.
|
|
927
|
+
* cascade; this only sets the fallback. Pass a `Signal` to switch the
|
|
928
|
+
* language at runtime.
|
|
845
929
|
*
|
|
846
930
|
* ```ts
|
|
847
931
|
* provideBreadcrumbConfig(
|
|
@@ -902,6 +986,7 @@ function withBreadcrumbSkin(skin) {
|
|
|
902
986
|
return { kind: 'skin', payload: { skin } };
|
|
903
987
|
}
|
|
904
988
|
|
|
989
|
+
const NO_ARIA_LABELS = {};
|
|
905
990
|
/**
|
|
906
991
|
* Reduces a list of feature objects into a partial config - last write wins
|
|
907
992
|
* per sub-tree. Inner objects are spread-merged so partial overrides compose
|
|
@@ -914,7 +999,7 @@ function reduceFeatures(features) {
|
|
|
914
999
|
for (const f of features) {
|
|
915
1000
|
switch (f.kind) {
|
|
916
1001
|
case 'ariaLabels':
|
|
917
|
-
out.ariaLabels =
|
|
1002
|
+
out.ariaLabels = createOverrideMerge(out.ariaLabels ?? NO_ARIA_LABELS, f.payload);
|
|
918
1003
|
break;
|
|
919
1004
|
case 'router':
|
|
920
1005
|
out.router = { ...out.router, ...f.payload };
|
|
@@ -939,7 +1024,7 @@ function reduceFeatures(features) {
|
|
|
939
1024
|
*/
|
|
940
1025
|
function mergeConfig(base, partial) {
|
|
941
1026
|
return {
|
|
942
|
-
ariaLabels:
|
|
1027
|
+
ariaLabels: createOverrideMerge(base.ariaLabels ?? NO_ARIA_LABELS, partial.ariaLabels),
|
|
943
1028
|
router: { ...base.router, ...partial.router },
|
|
944
1029
|
skin: partial.skin ?? base.skin,
|
|
945
1030
|
};
|
|
@@ -1040,5 +1125,5 @@ function provideBreadcrumbConfigAt(...features) {
|
|
|
1040
1125
|
* Generated bundle index. Do not edit.
|
|
1041
1126
|
*/
|
|
1042
1127
|
|
|
1043
|
-
export { CNGX_BREADCRUMB_CONFIG, CNGX_BREADCRUMB_ITEMS_SOURCE, CNGX_BREADCRUMB_SIBLINGS_SOURCE, CngxBreadcrumbBar, CngxBreadcrumbIcon, CngxBreadcrumbItemAccessory, CngxBreadcrumbOverflow, CngxBreadcrumbOverflowItem, CngxBreadcrumbRouterSync, CngxBreadcrumbSiblingItem, CngxBreadcrumbSiblings, CngxBreadcrumbSiblingsRouterSync, injectBreadcrumbConfig, provideBreadcrumbConfig, provideBreadcrumbConfigAt, withBreadcrumbAriaLabels, withBreadcrumbDataKey, withBreadcrumbIconKey, withBreadcrumbSkin };
|
|
1128
|
+
export { CNGX_BREADCRUMB_CONFIG, CNGX_BREADCRUMB_ITEMS_SOURCE, CNGX_BREADCRUMB_LANGUAGE_EN, CNGX_BREADCRUMB_SIBLINGS_SOURCE, CngxBreadcrumbBar, CngxBreadcrumbIcon, CngxBreadcrumbItemAccessory, CngxBreadcrumbOverflow, CngxBreadcrumbOverflowItem, CngxBreadcrumbRouterSync, CngxBreadcrumbSiblingItem, CngxBreadcrumbSiblings, CngxBreadcrumbSiblingsRouterSync, injectBreadcrumbAriaLabels, injectBreadcrumbConfig, provideBreadcrumbConfig, provideBreadcrumbConfigAt, withBreadcrumbAriaLabels, withBreadcrumbDataKey, withBreadcrumbIconKey, withBreadcrumbSkin };
|
|
1044
1129
|
//# sourceMappingURL=cngx-ui-breadcrumb.mjs.map
|