@cngx/common 0.1.0-rc.2 → 0.1.0-rc.4
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/data/README.md +10 -3
- package/display/README.md +1 -0
- package/fesm2022/cngx-common-a11y.mjs +123 -3
- package/fesm2022/cngx-common-a11y.mjs.map +1 -1
- package/fesm2022/cngx-common-card.mjs +8 -8
- package/fesm2022/cngx-common-card.mjs.map +1 -1
- package/fesm2022/cngx-common-data.mjs +999 -54
- package/fesm2022/cngx-common-data.mjs.map +1 -1
- package/fesm2022/cngx-common-display.mjs +320 -8
- package/fesm2022/cngx-common-display.mjs.map +1 -1
- package/fesm2022/cngx-common-interactive.mjs +1603 -75
- package/fesm2022/cngx-common-interactive.mjs.map +1 -1
- package/fesm2022/cngx-common-layout.mjs +187 -3
- package/fesm2022/cngx-common-layout.mjs.map +1 -1
- package/fesm2022/cngx-common-popover.mjs +63 -8
- package/fesm2022/cngx-common-popover.mjs.map +1 -1
- package/fesm2022/cngx-common.mjs +1 -1
- package/interactive/README.md +101 -0
- package/layout/README.md +39 -1
- package/package.json +1 -1
- package/theming/components/cngx-accordion.css +147 -0
- package/theming/components/cngx-badge.css +6 -0
- package/theming/components/cngx-bottom-sheet.css +8 -1
- package/theming/components/cngx-breadcrumb.css +108 -0
- package/theming/components/cngx-button-toggle.css +6 -0
- package/theming/components/cngx-data-grid.css +154 -0
- package/theming/components/cngx-dialog.css +4 -0
- package/theming/components/cngx-divider.css +4 -0
- package/theming/components/cngx-listbox.css +6 -0
- package/theming/components/cngx-menu.css +7 -0
- package/theming/components/cngx-slider.css +237 -0
- package/theming/components/cngx-tooltip.css +6 -0
- package/types/cngx-common-a11y.d.ts +67 -2
- package/types/cngx-common-data.d.ts +837 -23
- package/types/cngx-common-display.d.ts +189 -1
- package/types/cngx-common-interactive.d.ts +1014 -31
- package/types/cngx-common-layout.d.ts +88 -3
- package/types/cngx-common-popover.d.ts +25 -4
|
@@ -168,7 +168,7 @@ class CngxCard {
|
|
|
168
168
|
<span [id]="liveRegionId" aria-live="polite" aria-atomic="true" class="cngx-sr-only">
|
|
169
169
|
{{ liveAnnouncement() }}
|
|
170
170
|
</span>
|
|
171
|
-
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-card-padding{syntax: \"<length>\"; inherits: false; initial-value: 16px;}@property --cngx-card-radius{syntax: \"<length>\"; inherits: false; initial-value: 12px;}@property --cngx-card-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-border{syntax: \"*\"; inherits: true; initial-value: 1px solid oklch(.81 .005 250);}@property --cngx-card-min-width{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-card-hover-shadow{syntax: \"*\"; inherits: false; initial-value: 0 2px 8px 0 oklch(0 0 0 / .12);}@property --cngx-card-active-opacity{syntax: \"<number>\"; inherits: false; initial-value: .88;}@property --cngx-card-focus-width{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .04 50);}@property --cngx-card-selected-bar-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-disabled-opacity{syntax: \"<number>\"; inherits: false; initial-value: .5;}@property --cngx-card-loading-shimmer{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .4);}@property --cngx-card-loading-overlay{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .3);}@property --cngx-card-title-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-card-title-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --cngx-card-title-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-subtitle-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-card-subtitle-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --cngx-card-subtitle-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-divider{syntax: \"<color>\"; inherits: true; initial-value: oklch(.81 .005 250);}@property --cngx-card-accent-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-accent-color{syntax: \"<color>\"; inherits: true; initial-value: transparent;}@property --cngx-card-accent-info-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 250);}@property --cngx-card-accent-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 145);}@property --cngx-card-accent-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 75);}@property --cngx-card-accent-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 25);}@property --cngx-card-badge-offset{syntax: \"<length>\"; inherits: false; initial-value: -6px;}@property --cngx-card-badge-size-sm{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-card-badge-size-md{syntax: \"<length>\"; inherits: false; initial-value: 22px;}@property --cngx-card-badge-size-lg{syntax: \"<length>\"; inherits: false; initial-value: 28px;}@property --cngx-card-badge-padding-inline{syntax: \"<length>\"; inherits: false; initial-value: 5px;}@property --cngx-card-badge-font-size-sm{syntax: \"*\"; inherits: false; initial-value: .625rem;}@property --cngx-card-badge-font-size-md{syntax: \"*\"; inherits: false; initial-value: .7rem;}@property --cngx-card-badge-font-size-lg{syntax: \"*\"; inherits: false; initial-value: .8125rem;}@property --cngx-card-badge-radius{syntax: \"<length>\"; inherits: false; initial-value: 999px;}@property --cngx-card-badge-border{syntax: \"*\"; inherits: true; initial-value: 2px solid oklch(1 0 0);}@property --cngx-card-badge-primary-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-badge-primary-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.62 .22 25);}@property --cngx-card-badge-danger-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.72 .18 70);}@property --cngx-card-badge-warning-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-card-badge-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-card-badge-success-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-neutral-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.68 .01 240);}@property --cngx-card-badge-neutral-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}:root{--cngx-card-bg: var(--cngx-color-surface);--cngx-card-color: var(--cngx-color-text);--cngx-card-border: 1px solid var(--cngx-color-border);--cngx-card-divider: var(--cngx-color-border);--cngx-card-title-color: var(--cngx-color-text)}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}}[data-color-scheme=dark],.dark{--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}[data-color-scheme=light],.light{--cngx-card-subtitle-color: oklch(.36 .02 290);--cngx-card-selected-bg: oklch(.96 .04 50);--cngx-card-accent-info-bg: oklch(.97 .03 250);--cngx-card-accent-success-bg: oklch(.97 .04 145);--cngx-card-accent-warning-bg: oklch(.97 .04 75);--cngx-card-accent-danger-bg: oklch(.97 .03 25);--cngx-card-badge-border: 2px solid oklch(1 0 0)}}@layer cngx.components{@scope(.cngx-card){:scope{display:block;position:relative;padding:var(--cngx-card-padding, var(--cngx-space-md, 16px));border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px));background:var(--cngx-card-bg, var(--cngx-color-surface, oklch(1 0 0)));border:var(--cngx-card-border, 1px solid var(--cngx-color-border, oklch(.81 .005 250)));color:var(--cngx-card-color, var(--cngx-color-text, oklch(.2 .01 290)));transition:box-shadow var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease,background var(--cngx-duration-fast, .15s) ease;min-height:44px;min-width:var(--cngx-card-min-width, 120px);touch-action:manipulation}:scope.cngx-card--interactive{cursor:pointer;-webkit-tap-highlight-color:transparent}:scope.cngx-card--interactive:hover{box-shadow:var(--cngx-card-hover-shadow, 0 2px 8px 0 oklch(0 0 0 / .12))}@media(hover:none){:scope.cngx-card--interactive:active{opacity:var(--cngx-card-active-opacity, .88)}}:scope:focus-visible{outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope:has(:focus-visible):not(:focus-visible){outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope.cngx-card--selected{border-color:var( --cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)) );background:var( --cngx-card-selected-bg, color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--selected:before{content:\"\";position:absolute;inset-inline-start:0;inset-block:var(--cngx-card-radius, 12px);width:var(--cngx-card-selected-bar-width, 3px);background:var(--cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)));border-radius:999px}:scope.cngx-card--disabled{opacity:var(--cngx-card-disabled-opacity, .5);pointer-events:none}:scope.cngx-card--loading{pointer-events:none;cursor:wait}:scope.cngx-card--loading:after{content:\"\";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,transparent 25%,var(--cngx-card-loading-shimmer, oklch(1 0 0 / .4)) 50%,transparent 75%);background-size:200% 100%;animation:cngx-card-shimmer 1.5s ease-in-out infinite}@media(prefers-reduced-motion:reduce){:scope.cngx-card--loading:after{animation:none;background:var(--cngx-card-loading-overlay, oklch(1 0 0 / .3))}}.cngx-card__media{margin:calc(-1 * var(--cngx-card-padding, var(--cngx-space-md, 16px)));margin-bottom:0;overflow:hidden;border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) 0 0}.cngx-card__media img,.cngx-card__media video{display:block;width:100%;height:100%;object-fit:cover}.cngx-card__header{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--cngx-space-sm, 8px);padding-block:var(--cngx-space-xs, 4px)}.cngx-card__title{margin:0;font-size:var(--cngx-card-title-size, 1rem);font-weight:var(--cngx-card-title-weight, 600);color:var(--cngx-card-title-color, var(--cngx-color-text, oklch(.2 .01 290)));line-height:1.3}.cngx-card__subtitle{width:100%;margin:0;font-size:var(--cngx-card-subtitle-size, .8125rem);font-weight:var(--cngx-card-subtitle-weight, 400);color:var(--cngx-card-subtitle-color, oklch(.36 .02 290));line-height:1.4}.cngx-card__body{padding-block:var(--cngx-space-xs, 4px)}.cngx-card__footer{margin-top:auto;padding-block-start:var(--cngx-space-sm, 8px)}.cngx-card__actions{display:flex;align-items:center;gap:var(--cngx-space-sm, 8px);padding-block-start:var(--cngx-space-sm, 8px);border-top:1px solid var(--cngx-card-divider, var(--cngx-color-border, oklch(.81 .005 250)))}.cngx-card__actions--end{justify-content:flex-end}:scope.cngx-card--accent{border-top:var(--cngx-card-accent-width, 3px) solid var(--cngx-card-accent-color, transparent)}:scope.cngx-card--accent-info{--cngx-card-accent-color: var(--cngx-color-info, oklch(.65 .12 240));background:var( --cngx-card-accent-info-bg, color-mix( in oklch, var(--cngx-color-info, oklch(.65 .12 240)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-success{--cngx-card-accent-color: var(--cngx-color-success, oklch(.6 .15 145));background:var( --cngx-card-accent-success-bg, color-mix( in oklch, var(--cngx-color-success, oklch(.6 .15 145)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-warning{--cngx-card-accent-color: var(--cngx-color-warning, oklch(.72 .15 75));background:var( --cngx-card-accent-warning-bg, color-mix( in oklch, var(--cngx-color-warning, oklch(.72 .15 75)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-danger{--cngx-card-accent-color: var(--cngx-color-danger, oklch(.6 .18 25));background:var( --cngx-card-accent-danger-bg, color-mix( in oklch, var(--cngx-color-danger, oklch(.6 .18 25)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-neutral{--cngx-card-accent-color: var(--cngx-color-border, oklch(.81 .005 250))}.cngx-card__badge{position:absolute;z-index:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);border-radius:var(--cngx-card-badge-radius, var(--cngx-radius-pill, 999px));border:var(--cngx-card-badge-border, 2px solid oklch(1 0 0));font-size:var(--cngx-card-badge-font-size-md, .7rem);font-weight:700;line-height:1;-webkit-user-select:none;user-select:none}.cngx-card__badge--top-end{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--top-start{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-end{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-start{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--size-sm{min-width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-sm, .625rem)}.cngx-card__badge--size-md{min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-md, .7rem)}.cngx-card__badge--size-lg{min-width:var(--cngx-card-badge-size-lg, 28px);height:var(--cngx-card-badge-size-lg, 28px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-lg, .8125rem)}.cngx-card__badge--intent-primary{background:var( --cngx-card-badge-primary-bg, var(--cngx-badge-primary-bg, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-card-badge-primary-color, oklch(1 0 0))}.cngx-card__badge--intent-danger{background:var( --cngx-card-badge-danger-bg, var(--cngx-badge-error-bg, var(--cngx-color-danger, oklch(.62 .22 25))) );color:var(--cngx-card-badge-danger-color, oklch(1 0 0))}.cngx-card__badge--intent-warning{background:var( --cngx-card-badge-warning-bg, var(--cngx-badge-warning-bg, var(--cngx-color-warning, oklch(.72 .18 70))) );color:var(--cngx-card-badge-warning-color, oklch(.2 .01 250))}.cngx-card__badge--intent-success{background:var(--cngx-card-badge-success-bg, var(--cngx-color-success, oklch(.6 .15 145)));color:var(--cngx-card-badge-success-color, oklch(1 0 0))}.cngx-card__badge--intent-neutral{background:var( --cngx-card-badge-neutral-bg, var(--cngx-badge-neutral-bg, var(--cngx-color-text-muted, oklch(.68 .01 240))) );color:var(--cngx-card-badge-neutral-color, oklch(1 0 0))}.cngx-card__badge:empty{min-width:var(--cngx-card-badge-size-sm, 10px);width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0}}@keyframes cngx-card-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
171
|
+
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-card-radius{syntax: \"<length>\"; inherits: false; initial-value: 12px;}@property --cngx-card-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-border{syntax: \"*\"; inherits: true; initial-value: 1px solid oklch(.81 .005 250);}@property --cngx-card-min-width{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-card-hover-shadow{syntax: \"*\"; inherits: false; initial-value: 0 2px 8px 0 oklch(0 0 0 / .12);}@property --cngx-card-active-opacity{syntax: \"<number>\"; inherits: false; initial-value: .88;}@property --cngx-card-focus-width{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .04 50);}@property --cngx-card-selected-bar-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-disabled-opacity{syntax: \"<number>\"; inherits: false; initial-value: .5;}@property --cngx-card-loading-shimmer{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .4);}@property --cngx-card-loading-overlay{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .3);}@property --cngx-card-title-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-card-title-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --cngx-card-title-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-subtitle-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-card-subtitle-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --cngx-card-subtitle-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-divider{syntax: \"<color>\"; inherits: true; initial-value: oklch(.81 .005 250);}@property --cngx-card-accent-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-accent-color{syntax: \"<color>\"; inherits: true; initial-value: transparent;}@property --cngx-card-accent-info-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 250);}@property --cngx-card-accent-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 145);}@property --cngx-card-accent-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 75);}@property --cngx-card-accent-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 25);}@property --cngx-card-badge-offset{syntax: \"<length>\"; inherits: false; initial-value: -6px;}@property --cngx-card-badge-size-sm{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-card-badge-size-md{syntax: \"<length>\"; inherits: false; initial-value: 22px;}@property --cngx-card-badge-size-lg{syntax: \"<length>\"; inherits: false; initial-value: 28px;}@property --cngx-card-badge-padding-inline{syntax: \"<length>\"; inherits: false; initial-value: 5px;}@property --cngx-card-badge-font-size-sm{syntax: \"*\"; inherits: false; initial-value: .625rem;}@property --cngx-card-badge-font-size-md{syntax: \"*\"; inherits: false; initial-value: .7rem;}@property --cngx-card-badge-font-size-lg{syntax: \"*\"; inherits: false; initial-value: .8125rem;}@property --cngx-card-badge-radius{syntax: \"<length>\"; inherits: false; initial-value: 999px;}@property --cngx-card-badge-border{syntax: \"*\"; inherits: true; initial-value: 2px solid oklch(1 0 0);}@property --cngx-card-badge-primary-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-badge-primary-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.62 .22 25);}@property --cngx-card-badge-danger-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.72 .18 70);}@property --cngx-card-badge-warning-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-card-badge-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-card-badge-success-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-neutral-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.68 .01 240);}@property --cngx-card-badge-neutral-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}:root{--cngx-card-bg: var(--cngx-color-surface);--cngx-card-color: var(--cngx-color-text);--cngx-card-border: 1px solid var(--cngx-color-border);--cngx-card-divider: var(--cngx-color-border);--cngx-card-title-color: var(--cngx-color-text)}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}}[data-color-scheme=dark],.dark{--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}[data-color-scheme=light],.light{--cngx-card-subtitle-color: oklch(.36 .02 290);--cngx-card-selected-bg: oklch(.96 .04 50);--cngx-card-accent-info-bg: oklch(.97 .03 250);--cngx-card-accent-success-bg: oklch(.97 .04 145);--cngx-card-accent-warning-bg: oklch(.97 .04 75);--cngx-card-accent-danger-bg: oklch(.97 .03 25);--cngx-card-badge-border: 2px solid oklch(1 0 0)}}@layer cngx.components{@scope(.cngx-card){:scope{display:block;position:relative;padding:var(--cngx-card-padding, var(--cngx-space-md, 16px));border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px));background:var(--cngx-card-bg, var(--cngx-color-surface, oklch(1 0 0)));border:var(--cngx-card-border, 1px solid var(--cngx-color-border, oklch(.81 .005 250)));color:var(--cngx-card-color, var(--cngx-color-text, oklch(.2 .01 290)));transition:box-shadow var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease,background var(--cngx-duration-fast, .15s) ease;min-height:44px;min-width:var(--cngx-card-min-width, 120px);touch-action:manipulation}:scope.cngx-card--interactive{cursor:pointer;-webkit-tap-highlight-color:transparent}:scope.cngx-card--interactive:hover{box-shadow:var(--cngx-card-hover-shadow, 0 2px 8px 0 oklch(0 0 0 / .12))}@media(hover:none){:scope.cngx-card--interactive:active{opacity:var(--cngx-card-active-opacity, .88)}}:scope:focus-visible{outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope:has(:focus-visible):not(:focus-visible){outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope.cngx-card--selected{border-color:var( --cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)) );background:var( --cngx-card-selected-bg, color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--selected:before{content:\"\";position:absolute;inset-inline-start:0;inset-block:var(--cngx-card-radius, 12px);width:var(--cngx-card-selected-bar-width, 3px);background:var(--cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)));border-radius:999px}:scope.cngx-card--disabled{opacity:var(--cngx-card-disabled-opacity, .5);pointer-events:none}:scope.cngx-card--loading{pointer-events:none;cursor:wait}:scope.cngx-card--loading:after{content:\"\";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,transparent 25%,var(--cngx-card-loading-shimmer, oklch(1 0 0 / .4)) 50%,transparent 75%);background-size:200% 100%;animation:cngx-card-shimmer 1.5s ease-in-out infinite}@media(prefers-reduced-motion:reduce){:scope.cngx-card--loading:after{animation:none;background:var(--cngx-card-loading-overlay, oklch(1 0 0 / .3))}}.cngx-card__media{margin:calc(-1 * var(--cngx-card-padding, var(--cngx-space-md, 16px)));margin-bottom:0;overflow:hidden;border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) 0 0}.cngx-card__media img,.cngx-card__media video{display:block;width:100%;height:100%;object-fit:cover}.cngx-card__header{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--cngx-space-sm, 8px);padding-block:var(--cngx-space-xs, 4px)}.cngx-card__title{margin:0;font-size:var(--cngx-card-title-size, 1rem);font-weight:var(--cngx-card-title-weight, 600);color:var(--cngx-card-title-color, var(--cngx-color-text, oklch(.2 .01 290)));line-height:1.3}.cngx-card__subtitle{width:100%;margin:0;font-size:var(--cngx-card-subtitle-size, .8125rem);font-weight:var(--cngx-card-subtitle-weight, 400);color:var(--cngx-card-subtitle-color, oklch(.36 .02 290));line-height:1.4}.cngx-card__body{padding-block:var(--cngx-space-xs, 4px)}.cngx-card__footer{margin-top:auto;padding-block-start:var(--cngx-space-sm, 8px)}.cngx-card__actions{display:flex;align-items:center;gap:var(--cngx-space-sm, 8px);padding-block-start:var(--cngx-space-sm, 8px);border-top:1px solid var(--cngx-card-divider, var(--cngx-color-border, oklch(.81 .005 250)))}.cngx-card__actions--end{justify-content:flex-end}:scope.cngx-card--accent{border-top:var(--cngx-card-accent-width, 3px) solid var(--cngx-card-accent-color, transparent)}:scope.cngx-card--accent-info{--cngx-card-accent-color: var(--cngx-color-info, oklch(.65 .12 240));background:var( --cngx-card-accent-info-bg, color-mix( in oklch, var(--cngx-color-info, oklch(.65 .12 240)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-success{--cngx-card-accent-color: var(--cngx-color-success, oklch(.6 .15 145));background:var( --cngx-card-accent-success-bg, color-mix( in oklch, var(--cngx-color-success, oklch(.6 .15 145)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-warning{--cngx-card-accent-color: var(--cngx-color-warning, oklch(.72 .15 75));background:var( --cngx-card-accent-warning-bg, color-mix( in oklch, var(--cngx-color-warning, oklch(.72 .15 75)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-danger{--cngx-card-accent-color: var(--cngx-color-danger, oklch(.6 .18 25));background:var( --cngx-card-accent-danger-bg, color-mix( in oklch, var(--cngx-color-danger, oklch(.6 .18 25)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-neutral{--cngx-card-accent-color: var(--cngx-color-border, oklch(.81 .005 250))}.cngx-card__badge{--cngx-card-badge-padding-inline: var(--cngx-space-xs);position:absolute;z-index:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);border-radius:var(--cngx-card-badge-radius, var(--cngx-radius-pill, 999px));border:var(--cngx-card-badge-border, 2px solid oklch(1 0 0));font-size:var(--cngx-card-badge-font-size-md, .7rem);font-weight:700;line-height:1;-webkit-user-select:none;user-select:none}.cngx-card__badge--top-end{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--top-start{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-end{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-start{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--size-sm{min-width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-sm, .625rem)}.cngx-card__badge--size-md{min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-md, .7rem)}.cngx-card__badge--size-lg{min-width:var(--cngx-card-badge-size-lg, 28px);height:var(--cngx-card-badge-size-lg, 28px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-lg, .8125rem)}.cngx-card__badge--intent-primary{background:var( --cngx-card-badge-primary-bg, var(--cngx-badge-primary-bg, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-card-badge-primary-color, oklch(1 0 0))}.cngx-card__badge--intent-danger{background:var( --cngx-card-badge-danger-bg, var(--cngx-badge-error-bg, var(--cngx-color-danger, oklch(.62 .22 25))) );color:var(--cngx-card-badge-danger-color, oklch(1 0 0))}.cngx-card__badge--intent-warning{background:var( --cngx-card-badge-warning-bg, var(--cngx-badge-warning-bg, var(--cngx-color-warning, oklch(.72 .18 70))) );color:var(--cngx-card-badge-warning-color, oklch(.2 .01 250))}.cngx-card__badge--intent-success{background:var(--cngx-card-badge-success-bg, var(--cngx-color-success, oklch(.6 .15 145)));color:var(--cngx-card-badge-success-color, oklch(1 0 0))}.cngx-card__badge--intent-neutral{background:var( --cngx-card-badge-neutral-bg, var(--cngx-badge-neutral-bg, var(--cngx-color-text-muted, oklch(.68 .01 240))) );color:var(--cngx-card-badge-neutral-color, oklch(1 0 0))}.cngx-card__badge:empty{min-width:var(--cngx-card-badge-size-sm, 10px);width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0}}@keyframes cngx-card-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
172
172
|
}
|
|
173
173
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxCard, decorators: [{
|
|
174
174
|
type: Component,
|
|
@@ -208,7 +208,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
208
208
|
<span [id]="liveRegionId" aria-live="polite" aria-atomic="true" class="cngx-sr-only">
|
|
209
209
|
{{ liveAnnouncement() }}
|
|
210
210
|
</span>
|
|
211
|
-
`, styles: ["@layer cngx.tokens{@property --cngx-card-padding{syntax: \"<length>\"; inherits: false; initial-value: 16px;}@property --cngx-card-radius{syntax: \"<length>\"; inherits: false; initial-value: 12px;}@property --cngx-card-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-border{syntax: \"*\"; inherits: true; initial-value: 1px solid oklch(.81 .005 250);}@property --cngx-card-min-width{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-card-hover-shadow{syntax: \"*\"; inherits: false; initial-value: 0 2px 8px 0 oklch(0 0 0 / .12);}@property --cngx-card-active-opacity{syntax: \"<number>\"; inherits: false; initial-value: .88;}@property --cngx-card-focus-width{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .04 50);}@property --cngx-card-selected-bar-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-disabled-opacity{syntax: \"<number>\"; inherits: false; initial-value: .5;}@property --cngx-card-loading-shimmer{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .4);}@property --cngx-card-loading-overlay{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .3);}@property --cngx-card-title-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-card-title-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --cngx-card-title-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-subtitle-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-card-subtitle-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --cngx-card-subtitle-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-divider{syntax: \"<color>\"; inherits: true; initial-value: oklch(.81 .005 250);}@property --cngx-card-accent-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-accent-color{syntax: \"<color>\"; inherits: true; initial-value: transparent;}@property --cngx-card-accent-info-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 250);}@property --cngx-card-accent-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 145);}@property --cngx-card-accent-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 75);}@property --cngx-card-accent-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 25);}@property --cngx-card-badge-offset{syntax: \"<length>\"; inherits: false; initial-value: -6px;}@property --cngx-card-badge-size-sm{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-card-badge-size-md{syntax: \"<length>\"; inherits: false; initial-value: 22px;}@property --cngx-card-badge-size-lg{syntax: \"<length>\"; inherits: false; initial-value: 28px;}@property --cngx-card-badge-padding-inline{syntax: \"<length>\"; inherits: false; initial-value: 5px;}@property --cngx-card-badge-font-size-sm{syntax: \"*\"; inherits: false; initial-value: .625rem;}@property --cngx-card-badge-font-size-md{syntax: \"*\"; inherits: false; initial-value: .7rem;}@property --cngx-card-badge-font-size-lg{syntax: \"*\"; inherits: false; initial-value: .8125rem;}@property --cngx-card-badge-radius{syntax: \"<length>\"; inherits: false; initial-value: 999px;}@property --cngx-card-badge-border{syntax: \"*\"; inherits: true; initial-value: 2px solid oklch(1 0 0);}@property --cngx-card-badge-primary-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-badge-primary-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.62 .22 25);}@property --cngx-card-badge-danger-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.72 .18 70);}@property --cngx-card-badge-warning-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-card-badge-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-card-badge-success-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-neutral-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.68 .01 240);}@property --cngx-card-badge-neutral-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}:root{--cngx-card-bg: var(--cngx-color-surface);--cngx-card-color: var(--cngx-color-text);--cngx-card-border: 1px solid var(--cngx-color-border);--cngx-card-divider: var(--cngx-color-border);--cngx-card-title-color: var(--cngx-color-text)}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}}[data-color-scheme=dark],.dark{--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}[data-color-scheme=light],.light{--cngx-card-subtitle-color: oklch(.36 .02 290);--cngx-card-selected-bg: oklch(.96 .04 50);--cngx-card-accent-info-bg: oklch(.97 .03 250);--cngx-card-accent-success-bg: oklch(.97 .04 145);--cngx-card-accent-warning-bg: oklch(.97 .04 75);--cngx-card-accent-danger-bg: oklch(.97 .03 25);--cngx-card-badge-border: 2px solid oklch(1 0 0)}}@layer cngx.components{@scope(.cngx-card){:scope{display:block;position:relative;padding:var(--cngx-card-padding, var(--cngx-space-md, 16px));border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px));background:var(--cngx-card-bg, var(--cngx-color-surface, oklch(1 0 0)));border:var(--cngx-card-border, 1px solid var(--cngx-color-border, oklch(.81 .005 250)));color:var(--cngx-card-color, var(--cngx-color-text, oklch(.2 .01 290)));transition:box-shadow var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease,background var(--cngx-duration-fast, .15s) ease;min-height:44px;min-width:var(--cngx-card-min-width, 120px);touch-action:manipulation}:scope.cngx-card--interactive{cursor:pointer;-webkit-tap-highlight-color:transparent}:scope.cngx-card--interactive:hover{box-shadow:var(--cngx-card-hover-shadow, 0 2px 8px 0 oklch(0 0 0 / .12))}@media(hover:none){:scope.cngx-card--interactive:active{opacity:var(--cngx-card-active-opacity, .88)}}:scope:focus-visible{outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope:has(:focus-visible):not(:focus-visible){outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope.cngx-card--selected{border-color:var( --cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)) );background:var( --cngx-card-selected-bg, color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--selected:before{content:\"\";position:absolute;inset-inline-start:0;inset-block:var(--cngx-card-radius, 12px);width:var(--cngx-card-selected-bar-width, 3px);background:var(--cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)));border-radius:999px}:scope.cngx-card--disabled{opacity:var(--cngx-card-disabled-opacity, .5);pointer-events:none}:scope.cngx-card--loading{pointer-events:none;cursor:wait}:scope.cngx-card--loading:after{content:\"\";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,transparent 25%,var(--cngx-card-loading-shimmer, oklch(1 0 0 / .4)) 50%,transparent 75%);background-size:200% 100%;animation:cngx-card-shimmer 1.5s ease-in-out infinite}@media(prefers-reduced-motion:reduce){:scope.cngx-card--loading:after{animation:none;background:var(--cngx-card-loading-overlay, oklch(1 0 0 / .3))}}.cngx-card__media{margin:calc(-1 * var(--cngx-card-padding, var(--cngx-space-md, 16px)));margin-bottom:0;overflow:hidden;border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) 0 0}.cngx-card__media img,.cngx-card__media video{display:block;width:100%;height:100%;object-fit:cover}.cngx-card__header{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--cngx-space-sm, 8px);padding-block:var(--cngx-space-xs, 4px)}.cngx-card__title{margin:0;font-size:var(--cngx-card-title-size, 1rem);font-weight:var(--cngx-card-title-weight, 600);color:var(--cngx-card-title-color, var(--cngx-color-text, oklch(.2 .01 290)));line-height:1.3}.cngx-card__subtitle{width:100%;margin:0;font-size:var(--cngx-card-subtitle-size, .8125rem);font-weight:var(--cngx-card-subtitle-weight, 400);color:var(--cngx-card-subtitle-color, oklch(.36 .02 290));line-height:1.4}.cngx-card__body{padding-block:var(--cngx-space-xs, 4px)}.cngx-card__footer{margin-top:auto;padding-block-start:var(--cngx-space-sm, 8px)}.cngx-card__actions{display:flex;align-items:center;gap:var(--cngx-space-sm, 8px);padding-block-start:var(--cngx-space-sm, 8px);border-top:1px solid var(--cngx-card-divider, var(--cngx-color-border, oklch(.81 .005 250)))}.cngx-card__actions--end{justify-content:flex-end}:scope.cngx-card--accent{border-top:var(--cngx-card-accent-width, 3px) solid var(--cngx-card-accent-color, transparent)}:scope.cngx-card--accent-info{--cngx-card-accent-color: var(--cngx-color-info, oklch(.65 .12 240));background:var( --cngx-card-accent-info-bg, color-mix( in oklch, var(--cngx-color-info, oklch(.65 .12 240)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-success{--cngx-card-accent-color: var(--cngx-color-success, oklch(.6 .15 145));background:var( --cngx-card-accent-success-bg, color-mix( in oklch, var(--cngx-color-success, oklch(.6 .15 145)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-warning{--cngx-card-accent-color: var(--cngx-color-warning, oklch(.72 .15 75));background:var( --cngx-card-accent-warning-bg, color-mix( in oklch, var(--cngx-color-warning, oklch(.72 .15 75)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-danger{--cngx-card-accent-color: var(--cngx-color-danger, oklch(.6 .18 25));background:var( --cngx-card-accent-danger-bg, color-mix( in oklch, var(--cngx-color-danger, oklch(.6 .18 25)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-neutral{--cngx-card-accent-color: var(--cngx-color-border, oklch(.81 .005 250))}.cngx-card__badge{position:absolute;z-index:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);border-radius:var(--cngx-card-badge-radius, var(--cngx-radius-pill, 999px));border:var(--cngx-card-badge-border, 2px solid oklch(1 0 0));font-size:var(--cngx-card-badge-font-size-md, .7rem);font-weight:700;line-height:1;-webkit-user-select:none;user-select:none}.cngx-card__badge--top-end{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--top-start{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-end{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-start{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--size-sm{min-width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-sm, .625rem)}.cngx-card__badge--size-md{min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-md, .7rem)}.cngx-card__badge--size-lg{min-width:var(--cngx-card-badge-size-lg, 28px);height:var(--cngx-card-badge-size-lg, 28px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-lg, .8125rem)}.cngx-card__badge--intent-primary{background:var( --cngx-card-badge-primary-bg, var(--cngx-badge-primary-bg, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-card-badge-primary-color, oklch(1 0 0))}.cngx-card__badge--intent-danger{background:var( --cngx-card-badge-danger-bg, var(--cngx-badge-error-bg, var(--cngx-color-danger, oklch(.62 .22 25))) );color:var(--cngx-card-badge-danger-color, oklch(1 0 0))}.cngx-card__badge--intent-warning{background:var( --cngx-card-badge-warning-bg, var(--cngx-badge-warning-bg, var(--cngx-color-warning, oklch(.72 .18 70))) );color:var(--cngx-card-badge-warning-color, oklch(.2 .01 250))}.cngx-card__badge--intent-success{background:var(--cngx-card-badge-success-bg, var(--cngx-color-success, oklch(.6 .15 145)));color:var(--cngx-card-badge-success-color, oklch(1 0 0))}.cngx-card__badge--intent-neutral{background:var( --cngx-card-badge-neutral-bg, var(--cngx-badge-neutral-bg, var(--cngx-color-text-muted, oklch(.68 .01 240))) );color:var(--cngx-card-badge-neutral-color, oklch(1 0 0))}.cngx-card__badge:empty{min-width:var(--cngx-card-badge-size-sm, 10px);width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0}}@keyframes cngx-card-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}\n"] }]
|
|
211
|
+
`, styles: ["@layer cngx.tokens{@property --cngx-card-radius{syntax: \"<length>\"; inherits: false; initial-value: 12px;}@property --cngx-card-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-border{syntax: \"*\"; inherits: true; initial-value: 1px solid oklch(.81 .005 250);}@property --cngx-card-min-width{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-card-hover-shadow{syntax: \"*\"; inherits: false; initial-value: 0 2px 8px 0 oklch(0 0 0 / .12);}@property --cngx-card-active-opacity{syntax: \"<number>\"; inherits: false; initial-value: .88;}@property --cngx-card-focus-width{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-offset{syntax: \"<length>\"; inherits: false; initial-value: 2px;}@property --cngx-card-focus-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-border{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-selected-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .04 50);}@property --cngx-card-selected-bar-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-disabled-opacity{syntax: \"<number>\"; inherits: false; initial-value: .5;}@property --cngx-card-loading-shimmer{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .4);}@property --cngx-card-loading-overlay{syntax: \"<color>\"; inherits: false; initial-value: oklch(1 0 0 / .3);}@property --cngx-card-title-size{syntax: \"*\"; inherits: true; initial-value: 1rem;}@property --cngx-card-title-weight{syntax: \"<number>\"; inherits: true; initial-value: 600;}@property --cngx-card-title-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 290);}@property --cngx-card-subtitle-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-card-subtitle-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@property --cngx-card-subtitle-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-divider{syntax: \"<color>\"; inherits: true; initial-value: oklch(.81 .005 250);}@property --cngx-card-accent-width{syntax: \"<length>\"; inherits: false; initial-value: 3px;}@property --cngx-card-accent-color{syntax: \"<color>\"; inherits: true; initial-value: transparent;}@property --cngx-card-accent-info-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 250);}@property --cngx-card-accent-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 145);}@property --cngx-card-accent-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .04 75);}@property --cngx-card-accent-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.97 .03 25);}@property --cngx-card-badge-offset{syntax: \"<length>\"; inherits: false; initial-value: -6px;}@property --cngx-card-badge-size-sm{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-card-badge-size-md{syntax: \"<length>\"; inherits: false; initial-value: 22px;}@property --cngx-card-badge-size-lg{syntax: \"<length>\"; inherits: false; initial-value: 28px;}@property --cngx-card-badge-padding-inline{syntax: \"<length>\"; inherits: false; initial-value: 5px;}@property --cngx-card-badge-font-size-sm{syntax: \"*\"; inherits: false; initial-value: .625rem;}@property --cngx-card-badge-font-size-md{syntax: \"*\"; inherits: false; initial-value: .7rem;}@property --cngx-card-badge-font-size-lg{syntax: \"*\"; inherits: false; initial-value: .8125rem;}@property --cngx-card-badge-radius{syntax: \"<length>\"; inherits: false; initial-value: 999px;}@property --cngx-card-badge-border{syntax: \"*\"; inherits: true; initial-value: 2px solid oklch(1 0 0);}@property --cngx-card-badge-primary-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-card-badge-primary-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-danger-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.62 .22 25);}@property --cngx-card-badge-danger-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-warning-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.72 .18 70);}@property --cngx-card-badge-warning-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-card-badge-success-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-card-badge-success-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-card-badge-neutral-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.68 .01 240);}@property --cngx-card-badge-neutral-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}:root{--cngx-card-bg: var(--cngx-color-surface);--cngx-card-color: var(--cngx-color-text);--cngx-card-border: 1px solid var(--cngx-color-border);--cngx-card-divider: var(--cngx-color-border);--cngx-card-title-color: var(--cngx-color-text)}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}}[data-color-scheme=dark],.dark{--cngx-card-subtitle-color: oklch(.72 .02 290);--cngx-card-selected-bg: oklch(.36 .06 50);--cngx-card-accent-info-bg: oklch(.32 .05 250);--cngx-card-accent-success-bg: oklch(.32 .06 145);--cngx-card-accent-warning-bg: oklch(.32 .06 75);--cngx-card-accent-danger-bg: oklch(.32 .05 25);--cngx-card-badge-border: 2px solid oklch(.2 .01 250)}[data-color-scheme=light],.light{--cngx-card-subtitle-color: oklch(.36 .02 290);--cngx-card-selected-bg: oklch(.96 .04 50);--cngx-card-accent-info-bg: oklch(.97 .03 250);--cngx-card-accent-success-bg: oklch(.97 .04 145);--cngx-card-accent-warning-bg: oklch(.97 .04 75);--cngx-card-accent-danger-bg: oklch(.97 .03 25);--cngx-card-badge-border: 2px solid oklch(1 0 0)}}@layer cngx.components{@scope(.cngx-card){:scope{display:block;position:relative;padding:var(--cngx-card-padding, var(--cngx-space-md, 16px));border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px));background:var(--cngx-card-bg, var(--cngx-color-surface, oklch(1 0 0)));border:var(--cngx-card-border, 1px solid var(--cngx-color-border, oklch(.81 .005 250)));color:var(--cngx-card-color, var(--cngx-color-text, oklch(.2 .01 290)));transition:box-shadow var(--cngx-duration-fast, .15s) ease,border-color var(--cngx-duration-fast, .15s) ease,background var(--cngx-duration-fast, .15s) ease;min-height:44px;min-width:var(--cngx-card-min-width, 120px);touch-action:manipulation}:scope.cngx-card--interactive{cursor:pointer;-webkit-tap-highlight-color:transparent}:scope.cngx-card--interactive:hover{box-shadow:var(--cngx-card-hover-shadow, 0 2px 8px 0 oklch(0 0 0 / .12))}@media(hover:none){:scope.cngx-card--interactive:active{opacity:var(--cngx-card-active-opacity, .88)}}:scope:focus-visible{outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope:has(:focus-visible):not(:focus-visible){outline:var(--cngx-card-focus-width, 2px) solid var(--cngx-card-focus-color, var(--cngx-color-primary, oklch(.66 .19 50)));outline-offset:var(--cngx-card-focus-offset, 2px)}:scope.cngx-card--selected{border-color:var( --cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)) );background:var( --cngx-card-selected-bg, color-mix( in oklch, var(--cngx-color-primary, oklch(.66 .19 50)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--selected:before{content:\"\";position:absolute;inset-inline-start:0;inset-block:var(--cngx-card-radius, 12px);width:var(--cngx-card-selected-bar-width, 3px);background:var(--cngx-card-selected-border, var(--cngx-color-primary, oklch(.66 .19 50)));border-radius:999px}:scope.cngx-card--disabled{opacity:var(--cngx-card-disabled-opacity, .5);pointer-events:none}:scope.cngx-card--loading{pointer-events:none;cursor:wait}:scope.cngx-card--loading:after{content:\"\";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,transparent 25%,var(--cngx-card-loading-shimmer, oklch(1 0 0 / .4)) 50%,transparent 75%);background-size:200% 100%;animation:cngx-card-shimmer 1.5s ease-in-out infinite}@media(prefers-reduced-motion:reduce){:scope.cngx-card--loading:after{animation:none;background:var(--cngx-card-loading-overlay, oklch(1 0 0 / .3))}}.cngx-card__media{margin:calc(-1 * var(--cngx-card-padding, var(--cngx-space-md, 16px)));margin-bottom:0;overflow:hidden;border-radius:var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) var(--cngx-card-radius, var(--cngx-radius-lg, 12px)) 0 0}.cngx-card__media img,.cngx-card__media video{display:block;width:100%;height:100%;object-fit:cover}.cngx-card__header{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--cngx-space-sm, 8px);padding-block:var(--cngx-space-xs, 4px)}.cngx-card__title{margin:0;font-size:var(--cngx-card-title-size, 1rem);font-weight:var(--cngx-card-title-weight, 600);color:var(--cngx-card-title-color, var(--cngx-color-text, oklch(.2 .01 290)));line-height:1.3}.cngx-card__subtitle{width:100%;margin:0;font-size:var(--cngx-card-subtitle-size, .8125rem);font-weight:var(--cngx-card-subtitle-weight, 400);color:var(--cngx-card-subtitle-color, oklch(.36 .02 290));line-height:1.4}.cngx-card__body{padding-block:var(--cngx-space-xs, 4px)}.cngx-card__footer{margin-top:auto;padding-block-start:var(--cngx-space-sm, 8px)}.cngx-card__actions{display:flex;align-items:center;gap:var(--cngx-space-sm, 8px);padding-block-start:var(--cngx-space-sm, 8px);border-top:1px solid var(--cngx-card-divider, var(--cngx-color-border, oklch(.81 .005 250)))}.cngx-card__actions--end{justify-content:flex-end}:scope.cngx-card--accent{border-top:var(--cngx-card-accent-width, 3px) solid var(--cngx-card-accent-color, transparent)}:scope.cngx-card--accent-info{--cngx-card-accent-color: var(--cngx-color-info, oklch(.65 .12 240));background:var( --cngx-card-accent-info-bg, color-mix( in oklch, var(--cngx-color-info, oklch(.65 .12 240)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-success{--cngx-card-accent-color: var(--cngx-color-success, oklch(.6 .15 145));background:var( --cngx-card-accent-success-bg, color-mix( in oklch, var(--cngx-color-success, oklch(.6 .15 145)) 6%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-warning{--cngx-card-accent-color: var(--cngx-color-warning, oklch(.72 .15 75));background:var( --cngx-card-accent-warning-bg, color-mix( in oklch, var(--cngx-color-warning, oklch(.72 .15 75)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-danger{--cngx-card-accent-color: var(--cngx-color-danger, oklch(.6 .18 25));background:var( --cngx-card-accent-danger-bg, color-mix( in oklch, var(--cngx-color-danger, oklch(.6 .18 25)) 8%, var(--cngx-card-bg, oklch(1 0 0)) ) )}:scope.cngx-card--accent-neutral{--cngx-card-accent-color: var(--cngx-color-border, oklch(.81 .005 250))}.cngx-card__badge{--cngx-card-badge-padding-inline: var(--cngx-space-xs);position:absolute;z-index:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);border-radius:var(--cngx-card-badge-radius, var(--cngx-radius-pill, 999px));border:var(--cngx-card-badge-border, 2px solid oklch(1 0 0));font-size:var(--cngx-card-badge-font-size-md, .7rem);font-weight:700;line-height:1;-webkit-user-select:none;user-select:none}.cngx-card__badge--top-end{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--top-start{inset-block-start:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-end{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-end:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--bottom-start{inset-block-end:var(--cngx-card-badge-offset, -6px);inset-inline-start:var(--cngx-card-badge-offset, -6px)}.cngx-card__badge--size-sm{min-width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-sm, .625rem)}.cngx-card__badge--size-md{min-width:var(--cngx-card-badge-size-md, 22px);height:var(--cngx-card-badge-size-md, 22px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-md, .7rem)}.cngx-card__badge--size-lg{min-width:var(--cngx-card-badge-size-lg, 28px);height:var(--cngx-card-badge-size-lg, 28px);padding:0 var(--cngx-card-badge-padding-inline, 5px);font-size:var(--cngx-card-badge-font-size-lg, .8125rem)}.cngx-card__badge--intent-primary{background:var( --cngx-card-badge-primary-bg, var(--cngx-badge-primary-bg, var(--cngx-color-primary, oklch(.66 .19 50))) );color:var(--cngx-card-badge-primary-color, oklch(1 0 0))}.cngx-card__badge--intent-danger{background:var( --cngx-card-badge-danger-bg, var(--cngx-badge-error-bg, var(--cngx-color-danger, oklch(.62 .22 25))) );color:var(--cngx-card-badge-danger-color, oklch(1 0 0))}.cngx-card__badge--intent-warning{background:var( --cngx-card-badge-warning-bg, var(--cngx-badge-warning-bg, var(--cngx-color-warning, oklch(.72 .18 70))) );color:var(--cngx-card-badge-warning-color, oklch(.2 .01 250))}.cngx-card__badge--intent-success{background:var(--cngx-card-badge-success-bg, var(--cngx-color-success, oklch(.6 .15 145)));color:var(--cngx-card-badge-success-color, oklch(1 0 0))}.cngx-card__badge--intent-neutral{background:var( --cngx-card-badge-neutral-bg, var(--cngx-badge-neutral-bg, var(--cngx-color-text-muted, oklch(.68 .01 240))) );color:var(--cngx-card-badge-neutral-color, oklch(1 0 0))}.cngx-card__badge:empty{min-width:var(--cngx-card-badge-size-sm, 10px);width:var(--cngx-card-badge-size-sm, 10px);height:var(--cngx-card-badge-size-sm, 10px);padding:0}}@keyframes cngx-card-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.cngx-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}}\n"] }]
|
|
212
212
|
}], propDecorators: { cardType: [{ type: i0.Input, args: [{ isSignal: true, alias: "as", required: false }] }], href: [{ type: i0.Input, args: [{ isSignal: true, alias: "href", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }], selectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectable", required: false }] }], loading: [{ type: i0.Input, args: [{ isSignal: true, alias: "loading", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], disabledReason: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledReason", required: false }] }], clicked: [{ type: i0.Output, args: ["clicked"] }] } });
|
|
213
213
|
|
|
214
214
|
/**
|
|
@@ -595,7 +595,7 @@ class CngxCardSkeleton {
|
|
|
595
595
|
@for (_ of lineArray(); track $index; let last = $last) {
|
|
596
596
|
<div class="cngx-card-skeleton__line" [style.width]="last ? '60%' : '100%'"></div>
|
|
597
597
|
}
|
|
598
|
-
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-skeleton-gap{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-skeleton-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-skeleton-shimmer{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .005 250);}@property --cngx-skeleton-media-height{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-skeleton-title-height{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-skeleton-line-height{syntax: \"*\"; inherits: false; initial-value: .875rem;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]){--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}}[data-color-scheme=dark]{--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}[data-color-scheme=light]{--cngx-skeleton-bg: oklch(.88 .005 250);--cngx-skeleton-shimmer: oklch(.96 .005 250)}}@layer cngx.components{@scope(.cngx-card-skeleton){:scope{display:flex;flex-direction:column;gap:var(--cngx-skeleton-gap, 10px)}.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{background:linear-gradient(90deg,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 25%,var(--cngx-skeleton-shimmer, oklch(.96 .005 250)) 50%,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 75%);background-size:200% 100%;animation:cngx-skeleton-shimmer 1.5s ease-in-out infinite;border-radius:var(--cngx-radius-sm, 4px)}.cngx-card-skeleton__media{height:var(--cngx-skeleton-media-height, 120px)}.cngx-card-skeleton__title{height:var(--cngx-skeleton-title-height, 1.25rem);width:55%}.cngx-card-skeleton__line{height:var(--cngx-skeleton-line-height, .875rem)}@media(prefers-reduced-motion:reduce){.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{animation:none;opacity:.7}}}@keyframes cngx-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
598
|
+
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-skeleton-gap{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-skeleton-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-skeleton-shimmer{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .005 250);}@property --cngx-skeleton-media-height{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-skeleton-title-height{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-skeleton-line-height{syntax: \"*\"; inherits: false; initial-value: .875rem;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]){--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}}[data-color-scheme=dark]{--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}[data-color-scheme=light]{--cngx-skeleton-bg: oklch(.88 .005 250);--cngx-skeleton-shimmer: oklch(.96 .005 250)}}@layer cngx.components{@scope(.cngx-card-skeleton){:scope{--cngx-skeleton-gap: var(--cngx-space-sm);display:flex;flex-direction:column;gap:var(--cngx-skeleton-gap, 10px)}.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{background:linear-gradient(90deg,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 25%,var(--cngx-skeleton-shimmer, oklch(.96 .005 250)) 50%,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 75%);background-size:200% 100%;animation:cngx-skeleton-shimmer 1.5s ease-in-out infinite;border-radius:var(--cngx-radius-sm, 4px)}.cngx-card-skeleton__media{height:var(--cngx-skeleton-media-height, 120px)}.cngx-card-skeleton__title{height:var(--cngx-skeleton-title-height, 1.25rem);width:55%}.cngx-card-skeleton__line{height:var(--cngx-skeleton-line-height, .875rem)}@media(prefers-reduced-motion:reduce){.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{animation:none;opacity:.7}}}@keyframes cngx-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
599
599
|
}
|
|
600
600
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxCardSkeleton, decorators: [{
|
|
601
601
|
type: Component,
|
|
@@ -610,7 +610,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
610
610
|
@for (_ of lineArray(); track $index; let last = $last) {
|
|
611
611
|
<div class="cngx-card-skeleton__line" [style.width]="last ? '60%' : '100%'"></div>
|
|
612
612
|
}
|
|
613
|
-
`, styles: ["@layer cngx.tokens{@property --cngx-skeleton-gap{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-skeleton-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-skeleton-shimmer{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .005 250);}@property --cngx-skeleton-media-height{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-skeleton-title-height{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-skeleton-line-height{syntax: \"*\"; inherits: false; initial-value: .875rem;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]){--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}}[data-color-scheme=dark]{--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}[data-color-scheme=light]{--cngx-skeleton-bg: oklch(.88 .005 250);--cngx-skeleton-shimmer: oklch(.96 .005 250)}}@layer cngx.components{@scope(.cngx-card-skeleton){:scope{display:flex;flex-direction:column;gap:var(--cngx-skeleton-gap, 10px)}.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{background:linear-gradient(90deg,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 25%,var(--cngx-skeleton-shimmer, oklch(.96 .005 250)) 50%,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 75%);background-size:200% 100%;animation:cngx-skeleton-shimmer 1.5s ease-in-out infinite;border-radius:var(--cngx-radius-sm, 4px)}.cngx-card-skeleton__media{height:var(--cngx-skeleton-media-height, 120px)}.cngx-card-skeleton__title{height:var(--cngx-skeleton-title-height, 1.25rem);width:55%}.cngx-card-skeleton__line{height:var(--cngx-skeleton-line-height, .875rem)}@media(prefers-reduced-motion:reduce){.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{animation:none;opacity:.7}}}@keyframes cngx-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}}\n"] }]
|
|
613
|
+
`, styles: ["@layer cngx.tokens{@property --cngx-skeleton-gap{syntax: \"<length>\"; inherits: false; initial-value: 10px;}@property --cngx-skeleton-bg{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-skeleton-shimmer{syntax: \"<color>\"; inherits: true; initial-value: oklch(.96 .005 250);}@property --cngx-skeleton-media-height{syntax: \"<length>\"; inherits: false; initial-value: 120px;}@property --cngx-skeleton-title-height{syntax: \"*\"; inherits: false; initial-value: 1.25rem;}@property --cngx-skeleton-line-height{syntax: \"*\"; inherits: false; initial-value: .875rem;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]){--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}}[data-color-scheme=dark]{--cngx-skeleton-bg: oklch(.32 .005 250);--cngx-skeleton-shimmer: oklch(.42 .005 250)}[data-color-scheme=light]{--cngx-skeleton-bg: oklch(.88 .005 250);--cngx-skeleton-shimmer: oklch(.96 .005 250)}}@layer cngx.components{@scope(.cngx-card-skeleton){:scope{--cngx-skeleton-gap: var(--cngx-space-sm);display:flex;flex-direction:column;gap:var(--cngx-skeleton-gap, 10px)}.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{background:linear-gradient(90deg,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 25%,var(--cngx-skeleton-shimmer, oklch(.96 .005 250)) 50%,var(--cngx-skeleton-bg, oklch(.88 .005 250)) 75%);background-size:200% 100%;animation:cngx-skeleton-shimmer 1.5s ease-in-out infinite;border-radius:var(--cngx-radius-sm, 4px)}.cngx-card-skeleton__media{height:var(--cngx-skeleton-media-height, 120px)}.cngx-card-skeleton__title{height:var(--cngx-skeleton-title-height, 1.25rem);width:55%}.cngx-card-skeleton__line{height:var(--cngx-skeleton-line-height, .875rem)}@media(prefers-reduced-motion:reduce){.cngx-card-skeleton__media,.cngx-card-skeleton__title,.cngx-card-skeleton__line{animation:none;opacity:.7}}}@keyframes cngx-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}}\n"] }]
|
|
614
614
|
}], propDecorators: { lines: [{ type: i0.Input, args: [{ isSignal: true, alias: "lines", required: false }] }], showMedia: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMedia", required: false }] }] } });
|
|
615
615
|
|
|
616
616
|
/**
|
|
@@ -749,7 +749,7 @@ class CngxCardGrid {
|
|
|
749
749
|
} @else if (activeEmptyTemplate()) {
|
|
750
750
|
<ng-container [ngTemplateOutlet]="activeEmptyTemplate()!.templateRef" />
|
|
751
751
|
}
|
|
752
|
-
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-card-grid-min{syntax: \"<length>\"; inherits: false; initial-value: 280px;}@property --cngx-card-grid-gap{syntax: \"<length>\"; inherits: false; initial-value: 16px;}}@layer cngx.components{@scope(.cngx-card-grid){:scope{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--cngx-card-grid-min, 280px),1fr));gap:var(--cngx-card-grid-gap, var(--cngx-space-md, 16px))}:scope.cngx-card-grid--compact{--cngx-card-grid-gap: var(--cngx-space-sm, 8px);--cngx-card-padding: var(--cngx-space-sm, 8px)}:scope.cngx-card-grid--comfortable{--cngx-card-grid-gap: var(--cngx-space-lg, 24px);--cngx-card-padding: var(--cngx-space-lg, 24px)}}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
752
|
+
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-card-grid-min{syntax: \"<length>\"; inherits: false; initial-value: 280px;}@property --cngx-card-grid-gap{syntax: \"<length>\"; inherits: false; initial-value: 16px;}}@layer cngx.components{@scope(.cngx-card-grid){:scope{--cngx-card-grid-gap: var(--cngx-space-md);display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--cngx-card-grid-min, 280px),1fr));gap:var(--cngx-card-grid-gap, var(--cngx-space-md, 16px))}:scope.cngx-card-grid--compact{--cngx-card-grid-gap: var(--cngx-space-sm, 8px);--cngx-card-padding: var(--cngx-space-sm, 8px)}:scope.cngx-card-grid--comfortable{--cngx-card-grid-gap: var(--cngx-space-lg, 24px);--cngx-card-padding: var(--cngx-space-lg, 24px)}}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
753
753
|
}
|
|
754
754
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxCardGrid, decorators: [{
|
|
755
755
|
type: Component,
|
|
@@ -772,7 +772,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
772
772
|
} @else if (activeEmptyTemplate()) {
|
|
773
773
|
<ng-container [ngTemplateOutlet]="activeEmptyTemplate()!.templateRef" />
|
|
774
774
|
}
|
|
775
|
-
`, styles: ["@layer cngx.tokens{@property --cngx-card-grid-min{syntax: \"<length>\"; inherits: false; initial-value: 280px;}@property --cngx-card-grid-gap{syntax: \"<length>\"; inherits: false; initial-value: 16px;}}@layer cngx.components{@scope(.cngx-card-grid){:scope{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--cngx-card-grid-min, 280px),1fr));gap:var(--cngx-card-grid-gap, var(--cngx-space-md, 16px))}:scope.cngx-card-grid--compact{--cngx-card-grid-gap: var(--cngx-space-sm, 8px);--cngx-card-padding: var(--cngx-space-sm, 8px)}:scope.cngx-card-grid--comfortable{--cngx-card-grid-gap: var(--cngx-space-lg, 24px);--cngx-card-padding: var(--cngx-space-lg, 24px)}}}\n"] }]
|
|
775
|
+
`, styles: ["@layer cngx.tokens{@property --cngx-card-grid-min{syntax: \"<length>\"; inherits: false; initial-value: 280px;}@property --cngx-card-grid-gap{syntax: \"<length>\"; inherits: false; initial-value: 16px;}}@layer cngx.components{@scope(.cngx-card-grid){:scope{--cngx-card-grid-gap: var(--cngx-space-md);display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--cngx-card-grid-min, 280px),1fr));gap:var(--cngx-card-grid-gap, var(--cngx-space-md, 16px))}:scope.cngx-card-grid--compact{--cngx-card-grid-gap: var(--cngx-space-sm, 8px);--cngx-card-padding: var(--cngx-space-sm, 8px)}:scope.cngx-card-grid--comfortable{--cngx-card-grid-gap: var(--cngx-space-lg, 24px);--cngx-card-padding: var(--cngx-space-lg, 24px)}}}\n"] }]
|
|
776
776
|
}], propDecorators: { minWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "minWidth", required: false }] }], gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }], semanticList: [{ type: i0.Input, args: [{ isSignal: true, alias: "semanticList", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], emptyReason: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyReason", required: false }] }], state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }], emptyTemplates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => CngxCardGridEmpty), { isSignal: true }] }] } });
|
|
777
777
|
|
|
778
778
|
/**
|
|
@@ -825,7 +825,7 @@ class CngxCardTimestamp {
|
|
|
825
825
|
<time [attr.datetime]="isoDate()" class="cngx-card-timestamp__date">
|
|
826
826
|
{{ formattedDate() }}
|
|
827
827
|
</time>
|
|
828
|
-
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-card-timestamp-gap{syntax: \"<length>\"; inherits: false; initial-value: 4px;}@property --cngx-card-timestamp-size{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-card-timestamp-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-timestamp-prefix-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-timestamp-color: oklch(.72 .02 290)}}[data-color-scheme=dark],.dark{--cngx-card-timestamp-color: oklch(.72 .02 290)}[data-color-scheme=light],.light{--cngx-card-timestamp-color: oklch(.36 .02 290)}}@layer cngx.components{@scope(.cngx-card-timestamp){:scope{display:inline-flex;gap:var(--cngx-card-timestamp-gap, var(--cngx-space-xs, 4px));font-size:var(--cngx-card-timestamp-size, .75rem);color:var(--cngx-card-timestamp-color, oklch(.36 .02 290));line-height:1.4}.cngx-card-timestamp__prefix{font-weight:var(--cngx-card-timestamp-prefix-weight, 400)}}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
828
|
+
`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-card-timestamp-gap{syntax: \"<length>\"; inherits: false; initial-value: 4px;}@property --cngx-card-timestamp-size{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-card-timestamp-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-timestamp-prefix-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-timestamp-color: oklch(.72 .02 290)}}[data-color-scheme=dark],.dark{--cngx-card-timestamp-color: oklch(.72 .02 290)}[data-color-scheme=light],.light{--cngx-card-timestamp-color: oklch(.36 .02 290)}}@layer cngx.components{@scope(.cngx-card-timestamp){:scope{--cngx-card-timestamp-gap: var(--cngx-space-xs);display:inline-flex;gap:var(--cngx-card-timestamp-gap, var(--cngx-space-xs, 4px));font-size:var(--cngx-card-timestamp-size, .75rem);color:var(--cngx-card-timestamp-color, oklch(.36 .02 290));line-height:1.4}.cngx-card-timestamp__prefix{font-weight:var(--cngx-card-timestamp-prefix-weight, 400)}}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
829
829
|
}
|
|
830
830
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxCardTimestamp, decorators: [{
|
|
831
831
|
type: Component,
|
|
@@ -838,7 +838,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
|
|
|
838
838
|
<time [attr.datetime]="isoDate()" class="cngx-card-timestamp__date">
|
|
839
839
|
{{ formattedDate() }}
|
|
840
840
|
</time>
|
|
841
|
-
`, styles: ["@layer cngx.tokens{@property --cngx-card-timestamp-gap{syntax: \"<length>\"; inherits: false; initial-value: 4px;}@property --cngx-card-timestamp-size{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-card-timestamp-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-timestamp-prefix-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-timestamp-color: oklch(.72 .02 290)}}[data-color-scheme=dark],.dark{--cngx-card-timestamp-color: oklch(.72 .02 290)}[data-color-scheme=light],.light{--cngx-card-timestamp-color: oklch(.36 .02 290)}}@layer cngx.components{@scope(.cngx-card-timestamp){:scope{display:inline-flex;gap:var(--cngx-card-timestamp-gap, var(--cngx-space-xs, 4px));font-size:var(--cngx-card-timestamp-size, .75rem);color:var(--cngx-card-timestamp-color, oklch(.36 .02 290));line-height:1.4}.cngx-card-timestamp__prefix{font-weight:var(--cngx-card-timestamp-prefix-weight, 400)}}}\n"] }]
|
|
841
|
+
`, styles: ["@layer cngx.tokens{@property --cngx-card-timestamp-gap{syntax: \"<length>\"; inherits: false; initial-value: 4px;}@property --cngx-card-timestamp-size{syntax: \"*\"; inherits: true; initial-value: .75rem;}@property --cngx-card-timestamp-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.36 .02 290);}@property --cngx-card-timestamp-prefix-weight{syntax: \"<number>\"; inherits: true; initial-value: 400;}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]):not(.light){--cngx-card-timestamp-color: oklch(.72 .02 290)}}[data-color-scheme=dark],.dark{--cngx-card-timestamp-color: oklch(.72 .02 290)}[data-color-scheme=light],.light{--cngx-card-timestamp-color: oklch(.36 .02 290)}}@layer cngx.components{@scope(.cngx-card-timestamp){:scope{--cngx-card-timestamp-gap: var(--cngx-space-xs);display:inline-flex;gap:var(--cngx-card-timestamp-gap, var(--cngx-space-xs, 4px));font-size:var(--cngx-card-timestamp-size, .75rem);color:var(--cngx-card-timestamp-color, oklch(.36 .02 290));line-height:1.4}.cngx-card-timestamp__prefix{font-weight:var(--cngx-card-timestamp-prefix-weight, 400)}}}\n"] }]
|
|
842
842
|
}], propDecorators: { date: [{ type: i0.Input, args: [{ isSignal: true, alias: "date", required: true }] }], prefix: [{ type: i0.Input, args: [{ isSignal: true, alias: "prefix", required: false }] }], format: [{ type: i0.Input, args: [{ isSignal: true, alias: "format", required: false }] }] } });
|
|
843
843
|
|
|
844
844
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cngx-common-card.mjs","sources":["../../../projects/common/card/card.component.ts","../../../projects/common/card/card-header.directive.ts","../../../projects/common/card/card-title.directive.ts","../../../projects/common/card/card-subtitle.directive.ts","../../../projects/common/card/card-body.directive.ts","../../../projects/common/card/card-media.directive.ts","../../../projects/common/card/card-footer.directive.ts","../../../projects/common/card/card-actions.directive.ts","../../../projects/common/card/card-badge.directive.ts","../../../projects/common/card/card-accent.directive.ts","../../../projects/common/card/card-skeleton.component.ts","../../../projects/common/card/card-grid-empty.directive.ts","../../../projects/common/card/card-grid.component.ts","../../../projects/common/card/card-timestamp.component.ts","../../../projects/common/card/public-api.ts","../../../projects/common/card/cngx-common-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n model,\n output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { nextUid } from '@cngx/core/utils';\nimport { CngxRovingItem, CngxRovingTabindex } from '@cngx/common/a11y';\n\n/**\n * Semantic card component that adapts its host element role based on the `as` input.\n *\n * Three archetypes:\n * - `'article'` (default) - display card, no primary action\n * - `'button'` - the entire card is a clickable button\n * - `'link'` - the entire card is a navigation link\n *\n * The host element **is** the semantic element - no inner wrapper.\n * This eliminates double focus rings and wrapper problems for screen readers.\n *\n * ### Action card with selection\n * ```html\n * <cngx-card as=\"button\" [selectable]=\"true\" [(selected)]=\"isSelected\">\n * <header cngxCardHeader><h3>Patient</h3></header>\n * <div cngxCardBody>Details here</div>\n * </cngx-card>\n * ```\n *\n * ### Link card\n * ```html\n * <cngx-card as=\"link\" href=\"/patients/42\" ariaLabel=\"View patient\">\n * <img cngxCardMedia alt=\"Photo\" />\n * </cngx-card>\n * ```\n * \n * @category common/card\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card.component.ts\n * @since 0.1.0\n * @relatedTo CngxCardGrid, CngxCardHeader, CngxCardBody, CngxCardFooter, CngxCardSkeleton\n * <example-url>http://localhost:4200/#/common/card/card-with-disclosure-expand-collapse</example-url>\n * <example-url>http://localhost:4200/#/common/card/card-with-expandable-text</example-url>\n\n * <example-url>http://localhost:4200/#/common/card/card-with-speak-badge</example-url>\n * <example-url>http://localhost:4200/#/common/card/disabled-with-reason</example-url>\n\n */\n@Component({\n selector: 'cngx-card',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [{ directive: CngxRovingItem, inputs: [], outputs: [] }],\n host: {\n class: 'cngx-card',\n '[attr.role]': 'hostRole()',\n '[attr.tabindex]': 'hostTabindex()',\n '[attr.href]': 'hostHref()',\n '[attr.aria-label]': 'ariaLabel() || null',\n '[attr.aria-busy]': 'loading() || null',\n '[attr.aria-selected]': 'interactive() && selectable() ? selected() : null',\n '[attr.aria-disabled]': 'disabled() || null',\n '[attr.aria-describedby]': 'describedByIds()',\n '[class.cngx-card--interactive]': 'interactive()',\n '[class.cngx-card--selected]': 'selected()',\n '[class.cngx-card--loading]': 'loading()',\n '[class.cngx-card--disabled]': 'disabled()',\n '(click)': 'handleHostClick($event)',\n '(keydown.enter)': 'handleHostKeydown($event)',\n '(keydown.space)': 'handleHostKeydown($event)',\n },\n template: `\n <ng-content select=\"[cngxCardMedia]\" />\n <ng-content select=\"header[cngxCardHeader]\" />\n <ng-content select=\"[cngxCardBody]\" />\n <ng-content select=\"footer[cngxCardFooter]\" />\n <ng-content select=\"[cngxCardActions]\" />\n <ng-content />\n\n <span\n [id]=\"disabledReasonId\"\n [attr.aria-hidden]=\"disabled() && disabledReason() ? null : true\"\n class=\"cngx-sr-only\"\n >\n {{ disabledReason() }}\n </span>\n\n <span [id]=\"liveRegionId\" aria-live=\"polite\" aria-atomic=\"true\" class=\"cngx-sr-only\">\n {{ liveAnnouncement() }}\n </span>\n `,\n styleUrls: ['./card.component.css'],\n})\nexport class CngxCard {\n private readonly uid = nextUid('cngx-card');\n private readonly rovingParent = inject(CngxRovingTabindex, {\n optional: true,\n skipSelf: true,\n });\n\n /** Semantic archetype: `'article'` (display), `'button'` (action), or `'link'` (navigation). */\n readonly cardType = input<'article' | 'link' | 'button'>('article', {\n alias: 'as',\n });\n\n /** Navigation URL when `as=\"link\"`. Applied as `href` on the host. */\n readonly href = input<string | undefined>(undefined);\n\n /** Accessible label for the card. Overrides the default screen reader announcement. */\n readonly ariaLabel = input<string | undefined>(undefined);\n\n /** Two-way selection state. Only relevant when `selectable` is `true`. */\n readonly selected = model<boolean>(false);\n\n /** Whether the card supports selection toggling. */\n readonly selectable = input<boolean>(false);\n\n /** Whether the card is in a loading state. Sets `aria-busy` and shows SR announcement. */\n readonly loading = input<boolean>(false);\n\n /** Whether the card is disabled. Prevents interaction and sets `aria-disabled`. */\n readonly disabled = input<boolean>(false);\n\n /** Explanation for why the card is disabled. Communicated to SR via `aria-describedby`. */\n readonly disabledReason = input<string | undefined>(undefined);\n\n /** Whether this card is interactive (button or link). */\n readonly interactive = computed(() => this.cardType() !== 'article');\n\n /** @internal Host href for link cards. */\n protected readonly hostHref = computed(() =>\n this.cardType() === 'link' ? (this.href() ?? null) : null,\n );\n\n /** @internal Host element ARIA role. */\n protected readonly hostRole = computed(() => {\n switch (this.cardType()) {\n case 'button':\n return 'button';\n case 'link':\n return 'link';\n default:\n return 'article';\n }\n });\n\n /**\n * @internal Tabindex management.\n * When inside a CngxRovingTabindex parent (e.g. CngxCardGrid), the roving\n * controller manages tabindex via CngxRovingItem - card does not set its own.\n * When standalone, interactive cards get tabindex=\"0\".\n */\n protected readonly hostTabindex = computed(() => {\n if (this.rovingParent) {\n return null;\n }\n return this.interactive() ? 0 : null;\n });\n\n /** @internal */\n protected readonly disabledReasonId = `${this.uid}-disabled-reason`;\n /** @internal */\n protected readonly liveRegionId = `${this.uid}-live`;\n\n /** @internal IDs for `aria-describedby` - always present, aria-hidden controls what SR reads. */\n protected readonly describedByIds = computed(() => {\n const ids = [this.disabledReasonId];\n return ids.join(' ');\n });\n\n /** @internal SR live announcement for state changes. */\n protected readonly liveAnnouncement = computed(() => {\n if (this.loading()) {\n return 'Loading';\n }\n if (this.selectable() && this.selected()) {\n return 'Selected';\n }\n if (this.selectable() && !this.selected()) {\n return 'Deselected';\n }\n return '';\n });\n\n /** Emits when an interactive card is clicked or activated via keyboard. */\n readonly clicked = output<void>();\n\n /** @internal */\n protected handleHostClick(e: MouseEvent): void {\n if (!this.interactive()) {\n return;\n }\n if (this.disabled()) {\n e.preventDefault();\n return;\n }\n if (this.selectable()) {\n this.selected.update((v) => !v);\n }\n this.clicked.emit();\n }\n\n /** @internal */\n protected handleHostKeydown(e: Event): void {\n if (!this.interactive()) {\n return;\n }\n if (this.disabled()) {\n e.preventDefault();\n return;\n }\n if ((e as KeyboardEvent).key === ' ') {\n e.preventDefault();\n }\n if (this.selectable()) {\n this.selected.update((v) => !v);\n }\n this.clicked.emit();\n }\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Structural slot directive for the card header region.\n *\n * Must be placed on a native `<header>` element - the selector enforces\n * semantic correctness at compile time.\n *\n * ```html\n * <cngx-card>\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Title</h3>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-header.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardTitle, CngxCardSubtitle, CngxCardFooter\n */\n@Directive({\n selector: 'header[cngxCardHeader]',\n standalone: true,\n host: { class: 'cngx-card__header' },\n})\nexport class CngxCardHeader {}\n","import { Directive } from '@angular/core';\n\n/**\n * Marks an element as the card's primary title.\n *\n * Provides consistent font sizing and weight. Typically placed on\n * a heading element inside `[cngxCardHeader]`.\n *\n * ```html\n * <cngx-card>\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Patient Overview</h3>\n * <span cngxCardSubtitle>Room 12</span>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-title.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardSubtitle\n */\n@Directive({\n selector: '[cngxCardTitle]',\n standalone: true,\n host: { class: 'cngx-card__title' },\n})\nexport class CngxCardTitle {}\n","import { Directive } from '@angular/core';\n\n/**\n * Marks an element as the card's subtitle - secondary text below the title.\n *\n * ```html\n * <cngx-card>\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Maria Muster</h3>\n * <span cngxCardSubtitle>Zimmer 12, Station 3A</span>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-subtitle.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardTitle\n */\n@Directive({\n selector: '[cngxCardSubtitle]',\n standalone: true,\n host: { class: 'cngx-card__subtitle' },\n})\nexport class CngxCardSubtitle {}\n","import { Directive } from '@angular/core';\n\n/**\n * Structural slot directive for the card body region.\n *\n * ```html\n * <cngx-card>\n * <div cngxCardBody>Main content here</div>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-body.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardFooter\n */\n@Directive({\n selector: '[cngxCardBody]',\n standalone: true,\n host: { class: 'cngx-card__body' },\n})\nexport class CngxCardBody {}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Structural slot directive for the card media region (images, videos, icons).\n *\n * When `decorative` is `true` (default), the media is hidden from screen readers\n * via `aria-hidden`. Set to `false` when the image carries meaningful information.\n *\n * ```html\n * <cngx-card>\n * <img cngxCardMedia [decorative]=\"false\" alt=\"Photo of patient\" />\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-media.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardBody\n * <example-url>http://localhost:4200/#/common/card/card-with-image</example-url>\n\n */\n@Directive({\n selector: '[cngxCardMedia]',\n standalone: true,\n host: {\n class: 'cngx-card__media',\n '[style.aspect-ratio]': 'aspectRatio() !== \"auto\" ? aspectRatio() : null',\n '[attr.aria-hidden]': 'decorative() || null',\n '[attr.loading]': '\"lazy\"',\n },\n})\nexport class CngxCardMedia {\n /** Whether this media is purely decorative (hidden from SR). */\n readonly decorative = input<boolean>(true);\n\n /** Aspect ratio applied via CSS `aspect-ratio` property. */\n readonly aspectRatio = input<'16/9' | '4/3' | '1/1' | 'auto'>('auto');\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Structural slot directive for the card footer region.\n *\n * Must be placed on a native `<footer>` element - the selector enforces\n * semantic correctness at compile time.\n *\n * ```html\n * <cngx-card>\n * <footer cngxCardFooter>Footer content</footer>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-footer.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardActions, CngxCardTimestamp\n * <example-url>http://localhost:4200/#/common/card/title-subtitle-footer</example-url>\n */\n@Directive({\n selector: 'footer[cngxCardFooter]',\n standalone: true,\n host: { class: 'cngx-card__footer' },\n})\nexport class CngxCardFooter {}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Structural slot directive for the card actions region.\n *\n * Contains independent action buttons within an interactive card.\n * Actions are separated from the card body by a divider.\n *\n * ```html\n * <cngx-card>\n * <div cngxCardActions align=\"end\">\n * <button>Edit</button>\n * <button>Delete</button>\n * </div>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-actions.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardFooter, CngxCardBody\n * <example-url>http://localhost:4200/#/common/card/action-card-with-selection</example-url>\n */\n@Directive({\n selector: '[cngxCardActions]',\n standalone: true,\n host: {\n class: 'cngx-card__actions',\n '[class.cngx-card__actions--end]': 'align() === \"end\"',\n },\n})\nexport class CngxCardActions {\n /** Horizontal alignment of actions. */\n readonly align = input<'start' | 'end'>('start');\n}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Positions a badge element at a corner of its parent card and projects\n * intent + size variants onto the host class so a bare element renders\n * a usable pill without any inline styles.\n *\n * ```html\n * <cngx-card>\n * <span cngxCardBadge position=\"top-end\" intent=\"danger\" size=\"md\">P</span>\n * <header cngxCardHeader>Pflegeplan</header>\n * </cngx-card>\n * ```\n *\n * Empty content collapses to a fixed-diameter dot via `:empty` (status\n * indicator pattern). Theme via the `--cngx-card-badge-*` tokens on\n * `card.component.css`; fallbacks chain through `--cngx-badge-*` then\n * the foundation palette.\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-badge.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardAccent, CngxCardHeader\n * <example-url>http://localhost:4200/#/common/card/card-with-badge</example-url>\n */\n@Directive({\n selector: '[cngxCardBadge]',\n standalone: true,\n host: {\n class: 'cngx-card__badge',\n '[class.cngx-card__badge--top-start]': 'position() === \"top-start\"',\n '[class.cngx-card__badge--top-end]': 'position() === \"top-end\"',\n '[class.cngx-card__badge--bottom-start]': 'position() === \"bottom-start\"',\n '[class.cngx-card__badge--bottom-end]': 'position() === \"bottom-end\"',\n '[class.cngx-card__badge--intent-primary]': 'intent() === \"primary\"',\n '[class.cngx-card__badge--intent-danger]': 'intent() === \"danger\"',\n '[class.cngx-card__badge--intent-warning]': 'intent() === \"warning\"',\n '[class.cngx-card__badge--intent-success]': 'intent() === \"success\"',\n '[class.cngx-card__badge--intent-neutral]': 'intent() === \"neutral\"',\n '[class.cngx-card__badge--size-sm]': 'size() === \"sm\"',\n '[class.cngx-card__badge--size-md]': 'size() === \"md\"',\n '[class.cngx-card__badge--size-lg]': 'size() === \"lg\"',\n },\n})\nexport class CngxCardBadge {\n /** Corner position using logical properties. */\n readonly position = input<'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'>('top-end');\n\n /**\n * Tone of the badge surface. Resolves to\n * `--cngx-card-badge-<intent>-bg` / `-color`; cascades through\n * `--cngx-badge-<intent>-bg` then `--cngx-color-<system>`.\n */\n readonly intent = input<'primary' | 'danger' | 'warning' | 'success' | 'neutral'>('primary');\n\n /**\n * Pill diameter and font-size. Empty content always renders as a\n * fixed dot at the `sm` token regardless of this input (`:empty`\n * fallback for status indicators).\n */\n readonly size = input<'sm' | 'md' | 'lg'>('md');\n}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Adds a color-coded severity accent to a card.\n *\n * Renders as a colored top border + tinted background to communicate\n * status visually. Differentiates by both color and border width\n * (not just color - WCAG 1.4.1).\n *\n * ```html\n * <cngx-card cngxCardAccent=\"warning\">\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Blutzucker</h3>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-accent.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardBadge, CngxCardHeader\n * <example-url>http://localhost:4200/#/common/card/severity-accent</example-url>\n */\n@Directive({\n selector: '[cngxCardAccent]',\n standalone: true,\n host: {\n '[class.cngx-card--accent]': 'true',\n '[class.cngx-card--accent-info]': 'severity() === \"info\"',\n '[class.cngx-card--accent-success]': 'severity() === \"success\"',\n '[class.cngx-card--accent-warning]': 'severity() === \"warning\"',\n '[class.cngx-card--accent-danger]': 'severity() === \"danger\"',\n '[class.cngx-card--accent-neutral]': 'severity() === \"neutral\"',\n },\n})\nexport class CngxCardAccent {\n /** Severity level controlling the accent color. */\n readonly severity = input<'info' | 'success' | 'warning' | 'danger' | 'neutral'>('neutral', {\n alias: 'cngxCardAccent',\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * Skeleton placeholder for card content during loading.\n *\n * Renders shimmer rectangles that match typical card layout patterns.\n * Use alongside `@if (loading())` to swap real content with the skeleton.\n *\n * ```html\n * <cngx-card [loading]=\"loading()\">\n * @if (loading()) {\n * <cngx-card-skeleton [lines]=\"3\" [showMedia]=\"true\" />\n * } @else {\n * <header cngxCardHeader>...</header>\n * <div cngxCardBody>...</div>\n * }\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-skeleton.component.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardBody, CngxCardMedia\n * <example-url>http://localhost:4200/#/common/card/loading-state</example-url>\n */\n@Component({\n selector: 'cngx-card-skeleton',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'cngx-card-skeleton',\n 'aria-hidden': 'true',\n },\n template: `\n @if (showMedia()) {\n <div class=\"cngx-card-skeleton__media\"></div>\n }\n <div class=\"cngx-card-skeleton__title\"></div>\n @for (_ of lineArray(); track $index; let last = $last) {\n <div class=\"cngx-card-skeleton__line\" [style.width]=\"last ? '60%' : '100%'\"></div>\n }\n `,\n styleUrls: ['./card-skeleton.component.css'],\n})\nexport class CngxCardSkeleton {\n /** Number of body text lines to show. */\n readonly lines = input<number>(3);\n\n /** Whether to show a media placeholder block. */\n readonly showMedia = input<boolean>(false);\n\n /** @internal */\n protected readonly lineArray = computed(() => Array.from({ length: this.lines() }));\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\n\nimport type { EmptyReason } from './card.types';\n\n/**\n * Marker directive placed on `<ng-template>` inside a `<cngx-card-grid>`.\n *\n * The grid selects the template whose `reason` matches the grid's `emptyReason` input.\n * A template without a reason acts as the default fallback.\n *\n * ```html\n * <cngx-card-grid [items]=\"items()\" [emptyReason]=\"emptyReason()\">\n * <ng-template cngxCardGridEmpty=\"no-results\">\n * No results found.\n * </ng-template>\n * <ng-template cngxCardGridEmpty>\n * Nothing here yet.\n * </ng-template>\n * </cngx-card-grid>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-grid-empty.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCardGrid\n */\n@Directive({\n selector: '[cngxCardGridEmpty]',\n standalone: true,\n})\nexport class CngxCardGridEmpty {\n /** Empty-state reason this template handles. Omit for a default fallback. */\n readonly reason = input<EmptyReason | '' | undefined>(undefined, {\n alias: 'cngxCardGridEmpty',\n });\n\n /** @internal Template reference used by `CngxCardGrid` to render the empty state. */\n readonly templateRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChildren,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport type { CngxAsyncState } from '@cngx/core/utils';\nimport { CngxRovingTabindex } from '@cngx/common/a11y';\n\nimport { CngxCardGridEmpty } from './card-grid-empty.directive';\nimport type { EmptyReason } from './card.types';\n\n/**\n * Responsive card grid layout with intrinsic sizing, keyboard navigation,\n * and reason-based empty-state template selection.\n *\n * Uses CSS Grid with `auto-fill` + `minmax` for intrinsic responsiveness -\n * no breakpoint management required.\n *\n * Keyboard navigation is provided by `CngxRovingTabindex` as a host directive.\n * Arrow keys navigate between cards; Enter/Space activates.\n *\n * ### Basic grid\n * ```html\n * <cngx-card-grid minWidth=\"280px\">\n * <cngx-card>...</cngx-card>\n * <cngx-card>...</cngx-card>\n * </cngx-card-grid>\n * ```\n *\n * ### With empty state\n * ```html\n * <cngx-card-grid [items]=\"items()\" [emptyReason]=\"emptyReason()\">\n * @for (item of items(); track item.id) {\n * <cngx-card>...</cngx-card>\n * }\n * <ng-template cngxCardGridEmpty=\"no-results\">\n * <cngx-empty-state title=\"No results\" />\n * </ng-template>\n * <ng-template cngxCardGridEmpty>\n * <cngx-empty-state title=\"Nothing here yet\" />\n * </ng-template>\n * </cngx-card-grid>\n * ```\n *\n * @category common/card\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-grid.component.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardGridEmpty, CngxRovingTabindex, CngxAsyncState\n * <example-url>http://localhost:4200/#/common/card/card-grid/basic-grid</example-url>\n * <example-url>http://localhost:4200/#/common/card/card-grid/density-variants</example-url>\n * <example-url>http://localhost:4200/#/common/card/card-grid/empty-state-with-reason</example-url>\n */\n@Component({\n selector: 'cngx-card-grid',\n standalone: true,\n imports: [NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxRovingTabindex,\n inputs: ['orientation', 'loop', 'activeIndex', 'virtualCount'],\n },\n ],\n host: {\n class: 'cngx-card-grid',\n '[attr.role]': 'semanticList() ? \"list\" : null',\n '[attr.aria-busy]': 'isLoading() || null',\n '[style.--cngx-card-grid-min]': 'minWidth()',\n '[style.--cngx-card-grid-gap]': 'density() === \"default\" ? gap() : null',\n '[class.cngx-card-grid--compact]': 'density() === \"compact\"',\n '[class.cngx-card-grid--comfortable]': 'density() === \"comfortable\"',\n },\n template: `\n @if (!empty()) {\n <ng-content />\n } @else if (activeEmptyTemplate()) {\n <ng-container [ngTemplateOutlet]=\"activeEmptyTemplate()!.templateRef\" />\n }\n `,\n styleUrls: ['./card-grid.component.css'],\n})\nexport class CngxCardGrid {\n /** Minimum card width for the CSS Grid `minmax()` function. */\n readonly minWidth = input<string>('280px');\n\n /** Gap between grid items. */\n readonly gap = input<string>('var(--cngx-gap-md, 16px)');\n\n /** Grid density level - controls gap and card padding via CSS custom properties. */\n readonly density = input<'compact' | 'default' | 'comfortable'>('default');\n\n /** Whether the grid should have `role=\"list\"`. Requires `role=\"listitem\"` on each card. */\n readonly semanticList = input<boolean>(false);\n\n /**\n * Optional data source. When provided and empty, the grid shows the matching\n * empty-state template. When omitted, the grid is a pure layout tool.\n */\n readonly items = input<readonly unknown[] | undefined>(undefined);\n\n /** Reason why items are empty - selects the matching `cngxCardGridEmpty` template. */\n readonly emptyReason = input<EmptyReason | undefined>(undefined);\n\n /**\n * Bind an async state - drives loading and empty from a single source.\n * When set, `isLoading` derives from `state.isFirstLoad()` and\n * `empty` derives from `state.isEmpty()` (overrides `[items]`).\n */\n readonly state = input<CngxAsyncState<unknown> | undefined>(undefined);\n\n /** `true` during initial data load (skeleton phase). */\n readonly isLoading = computed(() => this.state()?.isFirstLoad() ?? false);\n\n /** Whether the grid should show an empty state. */\n readonly empty = computed(() => {\n const s = this.state();\n if (s) {\n return s.isEmpty();\n }\n const i = this.items();\n return i?.length === 0;\n });\n\n /** @internal All `ng-template[cngxCardGridEmpty]` instances projected by the consumer. */\n private readonly emptyTemplates = contentChildren(CngxCardGridEmpty);\n\n /**\n * @internal Selects the template matching `emptyReason`.\n * Falls back to a template without a reason as default.\n */\n readonly activeEmptyTemplate = computed(() => {\n const reason = this.emptyReason();\n const templates = this.emptyTemplates();\n const fallback = templates.find((t) => !t.reason());\n if (!reason) {\n return fallback;\n }\n return templates.find((t) => t.reason() === reason) ?? fallback;\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n LOCALE_ID,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * Displays a formatted date/timestamp, typically in a card footer.\n *\n * Uses `Intl.DateTimeFormat` with the injected `LOCALE_ID`.\n *\n * ```html\n * <cngx-card>\n * <footer cngxCardFooter>\n * <cngx-card-timestamp [date]=\"evaluationDate()\" prefix=\"Evaluierung am:\" />\n * </footer>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-timestamp.component.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardFooter\n */\n@Component({\n selector: 'cngx-card-timestamp',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'cngx-card-timestamp',\n },\n template: `\n @if (prefix()) {\n <span class=\"cngx-card-timestamp__prefix\">{{ prefix() }}</span>\n }\n <time [attr.datetime]=\"isoDate()\" class=\"cngx-card-timestamp__date\">\n {{ formattedDate() }}\n </time>\n `,\n styleUrls: ['./card-timestamp.component.css'],\n})\nexport class CngxCardTimestamp {\n private readonly locale = inject(LOCALE_ID);\n\n /** Date to display. Accepts Date objects or ISO strings. */\n readonly date = input.required<Date | string>();\n\n /** Optional prefix text before the date (e.g. \"Evaluierung am:\"). */\n readonly prefix = input<string | undefined>(undefined);\n\n /** `Intl.DateTimeFormatOptions` for the date. */\n readonly format = input<Intl.DateTimeFormatOptions | undefined>(undefined);\n\n /** @internal */\n protected readonly dateObj = computed(() => {\n const d = this.date();\n return typeof d === 'string' ? new Date(d) : d;\n });\n\n /** @internal */\n protected readonly isoDate = computed(() => this.dateObj().toISOString());\n\n /** @internal */\n protected readonly formattedDate = computed(() => {\n const fmt = this.format() ?? {\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n };\n return new Intl.DateTimeFormat(this.locale, fmt).format(this.dateObj());\n });\n}\n","/**\n * @module @cngx/common/card\n */\n\nexport type { EmptyReason } from './card.types';\n\nexport { CngxCard } from './card.component';\nexport { CngxCardHeader } from './card-header.directive';\nexport { CngxCardTitle } from './card-title.directive';\nexport { CngxCardSubtitle } from './card-subtitle.directive';\nexport { CngxCardBody } from './card-body.directive';\nexport { CngxCardMedia } from './card-media.directive';\nexport { CngxCardFooter } from './card-footer.directive';\nexport { CngxCardActions } from './card-actions.directive';\nexport { CngxCardBadge } from './card-badge.directive';\nexport { CngxCardAccent } from './card-accent.directive';\nexport { CngxCardSkeleton } from './card-skeleton.component';\n\nexport { CngxCardGrid } from './card-grid.component';\nexport { CngxCardGridEmpty } from './card-grid-empty.directive';\n\nexport { CngxCardTimestamp } from './card-timestamp.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;MA+CU,QAAQ,CAAA;AACF,IAAA,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;AAC1B,IAAA,YAAY,GAAG,MAAM,CAAC,kBAAkB,EAAE;AACzD,QAAA,QAAQ,EAAE,IAAI;AACd,QAAA,QAAQ,EAAE,IAAI;AACf,K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AAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,qBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAVlB;;;;;;;AAOT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+iCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;2FAGU,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAlB7B,SAAS;+BACE,qBAAqB,EAAA,UAAA,EACnB,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,IAAA,EAC/B;AACJ,wBAAA,KAAK,EAAE,qBAAqB;qBAC7B,EAAA,QAAA,EACS;;;;;;;AAOT,EAAA,CAAA,EAAA,MAAA,EAAA,CAAA,+iCAAA,CAAA,EAAA;;;AC3CH;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"cngx-common-card.mjs","sources":["../../../projects/common/card/card.component.ts","../../../projects/common/card/card-header.directive.ts","../../../projects/common/card/card-title.directive.ts","../../../projects/common/card/card-subtitle.directive.ts","../../../projects/common/card/card-body.directive.ts","../../../projects/common/card/card-media.directive.ts","../../../projects/common/card/card-footer.directive.ts","../../../projects/common/card/card-actions.directive.ts","../../../projects/common/card/card-badge.directive.ts","../../../projects/common/card/card-accent.directive.ts","../../../projects/common/card/card-skeleton.component.ts","../../../projects/common/card/card-grid-empty.directive.ts","../../../projects/common/card/card-grid.component.ts","../../../projects/common/card/card-timestamp.component.ts","../../../projects/common/card/public-api.ts","../../../projects/common/card/cngx-common-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n model,\n output,\n ViewEncapsulation,\n} from '@angular/core';\nimport { nextUid } from '@cngx/core/utils';\nimport { CngxRovingItem, CngxRovingTabindex } from '@cngx/common/a11y';\n\n/**\n * Semantic card component that adapts its host element role based on the `as` input.\n *\n * Three archetypes:\n * - `'article'` (default) - display card, no primary action\n * - `'button'` - the entire card is a clickable button\n * - `'link'` - the entire card is a navigation link\n *\n * The host element **is** the semantic element - no inner wrapper.\n * This eliminates double focus rings and wrapper problems for screen readers.\n *\n * ### Action card with selection\n * ```html\n * <cngx-card as=\"button\" [selectable]=\"true\" [(selected)]=\"isSelected\">\n * <header cngxCardHeader><h3>Patient</h3></header>\n * <div cngxCardBody>Details here</div>\n * </cngx-card>\n * ```\n *\n * ### Link card\n * ```html\n * <cngx-card as=\"link\" href=\"/patients/42\" ariaLabel=\"View patient\">\n * <img cngxCardMedia alt=\"Photo\" />\n * </cngx-card>\n * ```\n * \n * @category common/card\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card.component.ts\n * @since 0.1.0\n * @relatedTo CngxCardGrid, CngxCardHeader, CngxCardBody, CngxCardFooter, CngxCardSkeleton\n * <example-url>http://localhost:4200/#/common/card/card-with-disclosure-expand-collapse</example-url>\n * <example-url>http://localhost:4200/#/common/card/card-with-expandable-text</example-url>\n\n * <example-url>http://localhost:4200/#/common/card/card-with-speak-badge</example-url>\n * <example-url>http://localhost:4200/#/common/card/disabled-with-reason</example-url>\n\n */\n@Component({\n selector: 'cngx-card',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [{ directive: CngxRovingItem, inputs: [], outputs: [] }],\n host: {\n class: 'cngx-card',\n '[attr.role]': 'hostRole()',\n '[attr.tabindex]': 'hostTabindex()',\n '[attr.href]': 'hostHref()',\n '[attr.aria-label]': 'ariaLabel() || null',\n '[attr.aria-busy]': 'loading() || null',\n '[attr.aria-selected]': 'interactive() && selectable() ? selected() : null',\n '[attr.aria-disabled]': 'disabled() || null',\n '[attr.aria-describedby]': 'describedByIds()',\n '[class.cngx-card--interactive]': 'interactive()',\n '[class.cngx-card--selected]': 'selected()',\n '[class.cngx-card--loading]': 'loading()',\n '[class.cngx-card--disabled]': 'disabled()',\n '(click)': 'handleHostClick($event)',\n '(keydown.enter)': 'handleHostKeydown($event)',\n '(keydown.space)': 'handleHostKeydown($event)',\n },\n template: `\n <ng-content select=\"[cngxCardMedia]\" />\n <ng-content select=\"header[cngxCardHeader]\" />\n <ng-content select=\"[cngxCardBody]\" />\n <ng-content select=\"footer[cngxCardFooter]\" />\n <ng-content select=\"[cngxCardActions]\" />\n <ng-content />\n\n <span\n [id]=\"disabledReasonId\"\n [attr.aria-hidden]=\"disabled() && disabledReason() ? null : true\"\n class=\"cngx-sr-only\"\n >\n {{ disabledReason() }}\n </span>\n\n <span [id]=\"liveRegionId\" aria-live=\"polite\" aria-atomic=\"true\" class=\"cngx-sr-only\">\n {{ liveAnnouncement() }}\n </span>\n `,\n styleUrls: ['./card.component.css'],\n})\nexport class CngxCard {\n private readonly uid = nextUid('cngx-card');\n private readonly rovingParent = inject(CngxRovingTabindex, {\n optional: true,\n skipSelf: true,\n });\n\n /** Semantic archetype: `'article'` (display), `'button'` (action), or `'link'` (navigation). */\n readonly cardType = input<'article' | 'link' | 'button'>('article', {\n alias: 'as',\n });\n\n /** Navigation URL when `as=\"link\"`. Applied as `href` on the host. */\n readonly href = input<string | undefined>(undefined);\n\n /** Accessible label for the card. Overrides the default screen reader announcement. */\n readonly ariaLabel = input<string | undefined>(undefined);\n\n /** Two-way selection state. Only relevant when `selectable` is `true`. */\n readonly selected = model<boolean>(false);\n\n /** Whether the card supports selection toggling. */\n readonly selectable = input<boolean>(false);\n\n /** Whether the card is in a loading state. Sets `aria-busy` and shows SR announcement. */\n readonly loading = input<boolean>(false);\n\n /** Whether the card is disabled. Prevents interaction and sets `aria-disabled`. */\n readonly disabled = input<boolean>(false);\n\n /** Explanation for why the card is disabled. Communicated to SR via `aria-describedby`. */\n readonly disabledReason = input<string | undefined>(undefined);\n\n /** Whether this card is interactive (button or link). */\n readonly interactive = computed(() => this.cardType() !== 'article');\n\n /** @internal Host href for link cards. */\n protected readonly hostHref = computed(() =>\n this.cardType() === 'link' ? (this.href() ?? null) : null,\n );\n\n /** @internal Host element ARIA role. */\n protected readonly hostRole = computed(() => {\n switch (this.cardType()) {\n case 'button':\n return 'button';\n case 'link':\n return 'link';\n default:\n return 'article';\n }\n });\n\n /**\n * @internal Tabindex management.\n * When inside a CngxRovingTabindex parent (e.g. CngxCardGrid), the roving\n * controller manages tabindex via CngxRovingItem - card does not set its own.\n * When standalone, interactive cards get tabindex=\"0\".\n */\n protected readonly hostTabindex = computed(() => {\n if (this.rovingParent) {\n return null;\n }\n return this.interactive() ? 0 : null;\n });\n\n /** @internal */\n protected readonly disabledReasonId = `${this.uid}-disabled-reason`;\n /** @internal */\n protected readonly liveRegionId = `${this.uid}-live`;\n\n /** @internal IDs for `aria-describedby` - always present, aria-hidden controls what SR reads. */\n protected readonly describedByIds = computed(() => {\n const ids = [this.disabledReasonId];\n return ids.join(' ');\n });\n\n /** @internal SR live announcement for state changes. */\n protected readonly liveAnnouncement = computed(() => {\n if (this.loading()) {\n return 'Loading';\n }\n if (this.selectable() && this.selected()) {\n return 'Selected';\n }\n if (this.selectable() && !this.selected()) {\n return 'Deselected';\n }\n return '';\n });\n\n /** Emits when an interactive card is clicked or activated via keyboard. */\n readonly clicked = output<void>();\n\n /** @internal */\n protected handleHostClick(e: MouseEvent): void {\n if (!this.interactive()) {\n return;\n }\n if (this.disabled()) {\n e.preventDefault();\n return;\n }\n if (this.selectable()) {\n this.selected.update((v) => !v);\n }\n this.clicked.emit();\n }\n\n /** @internal */\n protected handleHostKeydown(e: Event): void {\n if (!this.interactive()) {\n return;\n }\n if (this.disabled()) {\n e.preventDefault();\n return;\n }\n if ((e as KeyboardEvent).key === ' ') {\n e.preventDefault();\n }\n if (this.selectable()) {\n this.selected.update((v) => !v);\n }\n this.clicked.emit();\n }\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Structural slot directive for the card header region.\n *\n * Must be placed on a native `<header>` element - the selector enforces\n * semantic correctness at compile time.\n *\n * ```html\n * <cngx-card>\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Title</h3>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-header.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardTitle, CngxCardSubtitle, CngxCardFooter\n */\n@Directive({\n selector: 'header[cngxCardHeader]',\n standalone: true,\n host: { class: 'cngx-card__header' },\n})\nexport class CngxCardHeader {}\n","import { Directive } from '@angular/core';\n\n/**\n * Marks an element as the card's primary title.\n *\n * Provides consistent font sizing and weight. Typically placed on\n * a heading element inside `[cngxCardHeader]`.\n *\n * ```html\n * <cngx-card>\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Patient Overview</h3>\n * <span cngxCardSubtitle>Room 12</span>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-title.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardSubtitle\n */\n@Directive({\n selector: '[cngxCardTitle]',\n standalone: true,\n host: { class: 'cngx-card__title' },\n})\nexport class CngxCardTitle {}\n","import { Directive } from '@angular/core';\n\n/**\n * Marks an element as the card's subtitle - secondary text below the title.\n *\n * ```html\n * <cngx-card>\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Maria Muster</h3>\n * <span cngxCardSubtitle>Zimmer 12, Station 3A</span>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-subtitle.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardTitle\n */\n@Directive({\n selector: '[cngxCardSubtitle]',\n standalone: true,\n host: { class: 'cngx-card__subtitle' },\n})\nexport class CngxCardSubtitle {}\n","import { Directive } from '@angular/core';\n\n/**\n * Structural slot directive for the card body region.\n *\n * ```html\n * <cngx-card>\n * <div cngxCardBody>Main content here</div>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-body.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardFooter\n */\n@Directive({\n selector: '[cngxCardBody]',\n standalone: true,\n host: { class: 'cngx-card__body' },\n})\nexport class CngxCardBody {}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Structural slot directive for the card media region (images, videos, icons).\n *\n * When `decorative` is `true` (default), the media is hidden from screen readers\n * via `aria-hidden`. Set to `false` when the image carries meaningful information.\n *\n * ```html\n * <cngx-card>\n * <img cngxCardMedia [decorative]=\"false\" alt=\"Photo of patient\" />\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-media.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardBody\n * <example-url>http://localhost:4200/#/common/card/card-with-image</example-url>\n\n */\n@Directive({\n selector: '[cngxCardMedia]',\n standalone: true,\n host: {\n class: 'cngx-card__media',\n '[style.aspect-ratio]': 'aspectRatio() !== \"auto\" ? aspectRatio() : null',\n '[attr.aria-hidden]': 'decorative() || null',\n '[attr.loading]': '\"lazy\"',\n },\n})\nexport class CngxCardMedia {\n /** Whether this media is purely decorative (hidden from SR). */\n readonly decorative = input<boolean>(true);\n\n /** Aspect ratio applied via CSS `aspect-ratio` property. */\n readonly aspectRatio = input<'16/9' | '4/3' | '1/1' | 'auto'>('auto');\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Structural slot directive for the card footer region.\n *\n * Must be placed on a native `<footer>` element - the selector enforces\n * semantic correctness at compile time.\n *\n * ```html\n * <cngx-card>\n * <footer cngxCardFooter>Footer content</footer>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-footer.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardHeader, CngxCardActions, CngxCardTimestamp\n * <example-url>http://localhost:4200/#/common/card/title-subtitle-footer</example-url>\n */\n@Directive({\n selector: 'footer[cngxCardFooter]',\n standalone: true,\n host: { class: 'cngx-card__footer' },\n})\nexport class CngxCardFooter {}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Structural slot directive for the card actions region.\n *\n * Contains independent action buttons within an interactive card.\n * Actions are separated from the card body by a divider.\n *\n * ```html\n * <cngx-card>\n * <div cngxCardActions align=\"end\">\n * <button>Edit</button>\n * <button>Delete</button>\n * </div>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-actions.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardFooter, CngxCardBody\n * <example-url>http://localhost:4200/#/common/card/action-card-with-selection</example-url>\n */\n@Directive({\n selector: '[cngxCardActions]',\n standalone: true,\n host: {\n class: 'cngx-card__actions',\n '[class.cngx-card__actions--end]': 'align() === \"end\"',\n },\n})\nexport class CngxCardActions {\n /** Horizontal alignment of actions. */\n readonly align = input<'start' | 'end'>('start');\n}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Positions a badge element at a corner of its parent card and projects\n * intent + size variants onto the host class so a bare element renders\n * a usable pill without any inline styles.\n *\n * ```html\n * <cngx-card>\n * <span cngxCardBadge position=\"top-end\" intent=\"danger\" size=\"md\">P</span>\n * <header cngxCardHeader>Pflegeplan</header>\n * </cngx-card>\n * ```\n *\n * Empty content collapses to a fixed-diameter dot via `:empty` (status\n * indicator pattern). Theme via the `--cngx-card-badge-*` tokens on\n * `card.component.css`; fallbacks chain through `--cngx-badge-*` then\n * the foundation palette.\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-badge.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardAccent, CngxCardHeader\n * <example-url>http://localhost:4200/#/common/card/card-with-badge</example-url>\n */\n@Directive({\n selector: '[cngxCardBadge]',\n standalone: true,\n host: {\n class: 'cngx-card__badge',\n '[class.cngx-card__badge--top-start]': 'position() === \"top-start\"',\n '[class.cngx-card__badge--top-end]': 'position() === \"top-end\"',\n '[class.cngx-card__badge--bottom-start]': 'position() === \"bottom-start\"',\n '[class.cngx-card__badge--bottom-end]': 'position() === \"bottom-end\"',\n '[class.cngx-card__badge--intent-primary]': 'intent() === \"primary\"',\n '[class.cngx-card__badge--intent-danger]': 'intent() === \"danger\"',\n '[class.cngx-card__badge--intent-warning]': 'intent() === \"warning\"',\n '[class.cngx-card__badge--intent-success]': 'intent() === \"success\"',\n '[class.cngx-card__badge--intent-neutral]': 'intent() === \"neutral\"',\n '[class.cngx-card__badge--size-sm]': 'size() === \"sm\"',\n '[class.cngx-card__badge--size-md]': 'size() === \"md\"',\n '[class.cngx-card__badge--size-lg]': 'size() === \"lg\"',\n },\n})\nexport class CngxCardBadge {\n /** Corner position using logical properties. */\n readonly position = input<'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'>('top-end');\n\n /**\n * Tone of the badge surface. Resolves to\n * `--cngx-card-badge-<intent>-bg` / `-color`; cascades through\n * `--cngx-badge-<intent>-bg` then `--cngx-color-<system>`.\n */\n readonly intent = input<'primary' | 'danger' | 'warning' | 'success' | 'neutral'>('primary');\n\n /**\n * Pill diameter and font-size. Empty content always renders as a\n * fixed dot at the `sm` token regardless of this input (`:empty`\n * fallback for status indicators).\n */\n readonly size = input<'sm' | 'md' | 'lg'>('md');\n}\n","import { Directive, input } from '@angular/core';\n\n/**\n * Adds a color-coded severity accent to a card.\n *\n * Renders as a colored top border + tinted background to communicate\n * status visually. Differentiates by both color and border width\n * (not just color - WCAG 1.4.1).\n *\n * ```html\n * <cngx-card cngxCardAccent=\"warning\">\n * <header cngxCardHeader>\n * <h3 cngxCardTitle>Blutzucker</h3>\n * </header>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-accent.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardBadge, CngxCardHeader\n * <example-url>http://localhost:4200/#/common/card/severity-accent</example-url>\n */\n@Directive({\n selector: '[cngxCardAccent]',\n standalone: true,\n host: {\n '[class.cngx-card--accent]': 'true',\n '[class.cngx-card--accent-info]': 'severity() === \"info\"',\n '[class.cngx-card--accent-success]': 'severity() === \"success\"',\n '[class.cngx-card--accent-warning]': 'severity() === \"warning\"',\n '[class.cngx-card--accent-danger]': 'severity() === \"danger\"',\n '[class.cngx-card--accent-neutral]': 'severity() === \"neutral\"',\n },\n})\nexport class CngxCardAccent {\n /** Severity level controlling the accent color. */\n readonly severity = input<'info' | 'success' | 'warning' | 'danger' | 'neutral'>('neutral', {\n alias: 'cngxCardAccent',\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n input,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * Skeleton placeholder for card content during loading.\n *\n * Renders shimmer rectangles that match typical card layout patterns.\n * Use alongside `@if (loading())` to swap real content with the skeleton.\n *\n * ```html\n * <cngx-card [loading]=\"loading()\">\n * @if (loading()) {\n * <cngx-card-skeleton [lines]=\"3\" [showMedia]=\"true\" />\n * } @else {\n * <header cngxCardHeader>...</header>\n * <div cngxCardBody>...</div>\n * }\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-skeleton.component.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardBody, CngxCardMedia\n * <example-url>http://localhost:4200/#/common/card/loading-state</example-url>\n */\n@Component({\n selector: 'cngx-card-skeleton',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'cngx-card-skeleton',\n 'aria-hidden': 'true',\n },\n template: `\n @if (showMedia()) {\n <div class=\"cngx-card-skeleton__media\"></div>\n }\n <div class=\"cngx-card-skeleton__title\"></div>\n @for (_ of lineArray(); track $index; let last = $last) {\n <div class=\"cngx-card-skeleton__line\" [style.width]=\"last ? '60%' : '100%'\"></div>\n }\n `,\n styleUrls: ['./card-skeleton.component.css'],\n})\nexport class CngxCardSkeleton {\n /** Number of body text lines to show. */\n readonly lines = input<number>(3);\n\n /** Whether to show a media placeholder block. */\n readonly showMedia = input<boolean>(false);\n\n /** @internal */\n protected readonly lineArray = computed(() => Array.from({ length: this.lines() }));\n}\n","import { Directive, inject, input, TemplateRef } from '@angular/core';\n\nimport type { EmptyReason } from './card.types';\n\n/**\n * Marker directive placed on `<ng-template>` inside a `<cngx-card-grid>`.\n *\n * The grid selects the template whose `reason` matches the grid's `emptyReason` input.\n * A template without a reason acts as the default fallback.\n *\n * ```html\n * <cngx-card-grid [items]=\"items()\" [emptyReason]=\"emptyReason()\">\n * <ng-template cngxCardGridEmpty=\"no-results\">\n * No results found.\n * </ng-template>\n * <ng-template cngxCardGridEmpty>\n * Nothing here yet.\n * </ng-template>\n * </cngx-card-grid>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-grid-empty.directive.ts\n * @since 0.1.0\n * @relatedTo CngxCardGrid\n */\n@Directive({\n selector: '[cngxCardGridEmpty]',\n standalone: true,\n})\nexport class CngxCardGridEmpty {\n /** Empty-state reason this template handles. Omit for a default fallback. */\n readonly reason = input<EmptyReason | '' | undefined>(undefined, {\n alias: 'cngxCardGridEmpty',\n });\n\n /** @internal Template reference used by `CngxCardGrid` to render the empty state. */\n readonly templateRef = inject(TemplateRef);\n}\n","import { NgTemplateOutlet } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n Component,\n computed,\n contentChildren,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport type { CngxAsyncState } from '@cngx/core/utils';\nimport { CngxRovingTabindex } from '@cngx/common/a11y';\n\nimport { CngxCardGridEmpty } from './card-grid-empty.directive';\nimport type { EmptyReason } from './card.types';\n\n/**\n * Responsive card grid layout with intrinsic sizing, keyboard navigation,\n * and reason-based empty-state template selection.\n *\n * Uses CSS Grid with `auto-fill` + `minmax` for intrinsic responsiveness -\n * no breakpoint management required.\n *\n * Keyboard navigation is provided by `CngxRovingTabindex` as a host directive.\n * Arrow keys navigate between cards; Enter/Space activates.\n *\n * ### Basic grid\n * ```html\n * <cngx-card-grid minWidth=\"280px\">\n * <cngx-card>...</cngx-card>\n * <cngx-card>...</cngx-card>\n * </cngx-card-grid>\n * ```\n *\n * ### With empty state\n * ```html\n * <cngx-card-grid [items]=\"items()\" [emptyReason]=\"emptyReason()\">\n * @for (item of items(); track item.id) {\n * <cngx-card>...</cngx-card>\n * }\n * <ng-template cngxCardGridEmpty=\"no-results\">\n * <cngx-empty-state title=\"No results\" />\n * </ng-template>\n * <ng-template cngxCardGridEmpty>\n * <cngx-empty-state title=\"Nothing here yet\" />\n * </ng-template>\n * </cngx-card-grid>\n * ```\n *\n * @category common/card\n * @docsKind primary\n * @wcag AA\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-grid.component.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardGridEmpty, CngxRovingTabindex, CngxAsyncState\n * <example-url>http://localhost:4200/#/common/card/card-grid/basic-grid</example-url>\n * <example-url>http://localhost:4200/#/common/card/card-grid/density-variants</example-url>\n * <example-url>http://localhost:4200/#/common/card/card-grid/empty-state-with-reason</example-url>\n */\n@Component({\n selector: 'cngx-card-grid',\n standalone: true,\n imports: [NgTemplateOutlet],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n hostDirectives: [\n {\n directive: CngxRovingTabindex,\n inputs: ['orientation', 'loop', 'activeIndex', 'virtualCount'],\n },\n ],\n host: {\n class: 'cngx-card-grid',\n '[attr.role]': 'semanticList() ? \"list\" : null',\n '[attr.aria-busy]': 'isLoading() || null',\n '[style.--cngx-card-grid-min]': 'minWidth()',\n '[style.--cngx-card-grid-gap]': 'density() === \"default\" ? gap() : null',\n '[class.cngx-card-grid--compact]': 'density() === \"compact\"',\n '[class.cngx-card-grid--comfortable]': 'density() === \"comfortable\"',\n },\n template: `\n @if (!empty()) {\n <ng-content />\n } @else if (activeEmptyTemplate()) {\n <ng-container [ngTemplateOutlet]=\"activeEmptyTemplate()!.templateRef\" />\n }\n `,\n styleUrls: ['./card-grid.component.css'],\n})\nexport class CngxCardGrid {\n /** Minimum card width for the CSS Grid `minmax()` function. */\n readonly minWidth = input<string>('280px');\n\n /** Gap between grid items. */\n readonly gap = input<string>('var(--cngx-gap-md, 16px)');\n\n /** Grid density level - controls gap and card padding via CSS custom properties. */\n readonly density = input<'compact' | 'default' | 'comfortable'>('default');\n\n /** Whether the grid should have `role=\"list\"`. Requires `role=\"listitem\"` on each card. */\n readonly semanticList = input<boolean>(false);\n\n /**\n * Optional data source. When provided and empty, the grid shows the matching\n * empty-state template. When omitted, the grid is a pure layout tool.\n */\n readonly items = input<readonly unknown[] | undefined>(undefined);\n\n /** Reason why items are empty - selects the matching `cngxCardGridEmpty` template. */\n readonly emptyReason = input<EmptyReason | undefined>(undefined);\n\n /**\n * Bind an async state - drives loading and empty from a single source.\n * When set, `isLoading` derives from `state.isFirstLoad()` and\n * `empty` derives from `state.isEmpty()` (overrides `[items]`).\n */\n readonly state = input<CngxAsyncState<unknown> | undefined>(undefined);\n\n /** `true` during initial data load (skeleton phase). */\n readonly isLoading = computed(() => this.state()?.isFirstLoad() ?? false);\n\n /** Whether the grid should show an empty state. */\n readonly empty = computed(() => {\n const s = this.state();\n if (s) {\n return s.isEmpty();\n }\n const i = this.items();\n return i?.length === 0;\n });\n\n /** @internal All `ng-template[cngxCardGridEmpty]` instances projected by the consumer. */\n private readonly emptyTemplates = contentChildren(CngxCardGridEmpty);\n\n /**\n * @internal Selects the template matching `emptyReason`.\n * Falls back to a template without a reason as default.\n */\n readonly activeEmptyTemplate = computed(() => {\n const reason = this.emptyReason();\n const templates = this.emptyTemplates();\n const fallback = templates.find((t) => !t.reason());\n if (!reason) {\n return fallback;\n }\n return templates.find((t) => t.reason() === reason) ?? fallback;\n });\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n input,\n LOCALE_ID,\n ViewEncapsulation,\n} from '@angular/core';\n\n/**\n * Displays a formatted date/timestamp, typically in a card footer.\n *\n * Uses `Intl.DateTimeFormat` with the injected `LOCALE_ID`.\n *\n * ```html\n * <cngx-card>\n * <footer cngxCardFooter>\n * <cngx-card-timestamp [date]=\"evaluationDate()\" prefix=\"Evaluierung am:\" />\n * </footer>\n * </cngx-card>\n * ```\n *\n * @category common/card\n * @github https://github.com/cngxjs/cngx/blob/main/projects/common/card/card-timestamp.component.ts\n * @since 0.1.0\n * @relatedTo CngxCard, CngxCardFooter\n */\n@Component({\n selector: 'cngx-card-timestamp',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n host: {\n class: 'cngx-card-timestamp',\n },\n template: `\n @if (prefix()) {\n <span class=\"cngx-card-timestamp__prefix\">{{ prefix() }}</span>\n }\n <time [attr.datetime]=\"isoDate()\" class=\"cngx-card-timestamp__date\">\n {{ formattedDate() }}\n </time>\n `,\n styleUrls: ['./card-timestamp.component.css'],\n})\nexport class CngxCardTimestamp {\n private readonly locale = inject(LOCALE_ID);\n\n /** Date to display. Accepts Date objects or ISO strings. */\n readonly date = input.required<Date | string>();\n\n /** Optional prefix text before the date (e.g. \"Evaluierung am:\"). */\n readonly prefix = input<string | undefined>(undefined);\n\n /** `Intl.DateTimeFormatOptions` for the date. */\n readonly format = input<Intl.DateTimeFormatOptions | undefined>(undefined);\n\n /** @internal */\n protected readonly dateObj = computed(() => {\n const d = this.date();\n return typeof d === 'string' ? new Date(d) : d;\n });\n\n /** @internal */\n protected readonly isoDate = computed(() => this.dateObj().toISOString());\n\n /** @internal */\n protected readonly formattedDate = computed(() => {\n const fmt = this.format() ?? {\n year: 'numeric',\n month: '2-digit',\n day: '2-digit',\n };\n return new Intl.DateTimeFormat(this.locale, fmt).format(this.dateObj());\n });\n}\n","/**\n * @module @cngx/common/card\n */\n\nexport type { EmptyReason } from './card.types';\n\nexport { CngxCard } from './card.component';\nexport { CngxCardHeader } from './card-header.directive';\nexport { CngxCardTitle } from './card-title.directive';\nexport { CngxCardSubtitle } from './card-subtitle.directive';\nexport { CngxCardBody } from './card-body.directive';\nexport { CngxCardMedia } from './card-media.directive';\nexport { CngxCardFooter } from './card-footer.directive';\nexport { CngxCardActions } from './card-actions.directive';\nexport { CngxCardBadge } from './card-badge.directive';\nexport { CngxCardAccent } from './card-accent.directive';\nexport { CngxCardSkeleton } from './card-skeleton.component';\n\nexport { CngxCardGrid } from './card-grid.component';\nexport { CngxCardGridEmpty } from './card-grid-empty.directive';\n\nexport { CngxCardTimestamp } from './card-timestamp.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAaA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCG;MA+CU,QAAQ,CAAA;AACF,IAAA,GAAG,GAAG,OAAO,CAAC,WAAW,CAAC;AAC1B,IAAA,YAAY,GAAG,MAAM,CAAC,kBAAkB,EAAE;AACzD,QAAA,QAAQ,EAAE,IAAI;AACd,QAAA,QAAQ,EAAE,IAAI;AACf,KAAA,CAAC;;IAGO,QAAQ,GAAG,KAAK,CAAgC,SAAS,gFAChE,KAAK,EAAE,IAAI,EAAA,CACX;;AAGO,IAAA,IAAI,GAAG,KAAK,CAAqB,SAAS,2EAAC;;AAG3C,IAAA,SAAS,GAAG,KAAK,CAAqB,SAAS,gFAAC;;AAGhD,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;;A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