@cngx/common 0.1.0-rc.8 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/a11y/README.md +15 -2
  2. package/button/README.md +258 -0
  3. package/command/README.md +42 -2
  4. package/data/README.md +15 -12
  5. package/fesm2022/cngx-common-a11y.mjs +1076 -319
  6. package/fesm2022/cngx-common-a11y.mjs.map +1 -1
  7. package/fesm2022/cngx-common-audio.mjs +99 -77
  8. package/fesm2022/cngx-common-audio.mjs.map +1 -1
  9. package/fesm2022/cngx-common-button.mjs +1084 -0
  10. package/fesm2022/cngx-common-button.mjs.map +1 -0
  11. package/fesm2022/cngx-common-card.mjs +138 -78
  12. package/fesm2022/cngx-common-card.mjs.map +1 -1
  13. package/fesm2022/cngx-common-chart.mjs +799 -327
  14. package/fesm2022/cngx-common-chart.mjs.map +1 -1
  15. package/fesm2022/cngx-common-command.mjs +101 -25
  16. package/fesm2022/cngx-common-command.mjs.map +1 -1
  17. package/fesm2022/cngx-common-data.mjs +861 -423
  18. package/fesm2022/cngx-common-data.mjs.map +1 -1
  19. package/fesm2022/cngx-common-dialog.mjs +198 -160
  20. package/fesm2022/cngx-common-dialog.mjs.map +1 -1
  21. package/fesm2022/cngx-common-display.mjs +693 -329
  22. package/fesm2022/cngx-common-display.mjs.map +1 -1
  23. package/fesm2022/cngx-common-interactive.mjs +7303 -2774
  24. package/fesm2022/cngx-common-interactive.mjs.map +1 -1
  25. package/fesm2022/cngx-common-layout.mjs +2174 -442
  26. package/fesm2022/cngx-common-layout.mjs.map +1 -1
  27. package/fesm2022/cngx-common-menu-button.mjs +557 -0
  28. package/fesm2022/cngx-common-menu-button.mjs.map +1 -0
  29. package/fesm2022/cngx-common-popover.mjs +2109 -557
  30. package/fesm2022/cngx-common-popover.mjs.map +1 -1
  31. package/fesm2022/cngx-common-stepper.mjs +548 -419
  32. package/fesm2022/cngx-common-stepper.mjs.map +1 -1
  33. package/fesm2022/cngx-common-tabs.mjs +442 -331
  34. package/fesm2022/cngx-common-tabs.mjs.map +1 -1
  35. package/fesm2022/cngx-common-timeline.mjs +44 -71
  36. package/fesm2022/cngx-common-timeline.mjs.map +1 -1
  37. package/fesm2022/cngx-common.mjs +10 -10
  38. package/fesm2022/cngx-common.mjs.map +1 -1
  39. package/interactive/README.md +30 -19
  40. package/layout/README.md +17 -1
  41. package/menu-button/README.md +234 -0
  42. package/package.json +31 -8
  43. package/popover/README.md +81 -4
  44. package/popover/tooltip-indicator.scss +52 -0
  45. package/schematics/collection.json +9 -0
  46. package/schematics/ng-add/index.js +9 -0
  47. package/schematics/ng-add/schema.json +96 -0
  48. package/schematics/package.json +3 -0
  49. package/stepper/README.md +5 -5
  50. package/theming/components/cngx-accordion.css +36 -7
  51. package/theming/components/cngx-async.css +185 -37
  52. package/theming/components/cngx-backdrop.css +3 -1
  53. package/theming/components/cngx-badge.css +20 -5
  54. package/theming/components/cngx-bottom-sheet.css +2 -0
  55. package/theming/components/cngx-breadcrumb.css +3 -1
  56. package/theming/components/cngx-button-group.css +325 -0
  57. package/theming/components/cngx-button-toggle.css +55 -23
  58. package/theming/components/cngx-button.css +975 -0
  59. package/theming/components/cngx-data-grid.css +2 -0
  60. package/theming/components/cngx-dialog.css +3 -1
  61. package/theming/components/cngx-divider.css +24 -9
  62. package/theming/components/cngx-drawer.css +153 -0
  63. package/theming/components/cngx-icon-glyph.css +76 -0
  64. package/theming/components/cngx-listbox.css +79 -25
  65. package/theming/components/cngx-menu.css +112 -52
  66. package/theming/components/cngx-nav.css +1220 -0
  67. package/theming/components/cngx-popover-sheet.css +434 -0
  68. package/theming/components/cngx-popover.css +37 -9
  69. package/theming/components/cngx-recycler-placeholder.css +2 -0
  70. package/theming/components/cngx-ripple.css +74 -16
  71. package/theming/components/cngx-sidebar.css +71 -0
  72. package/theming/components/cngx-slider.css +3 -1
  73. package/theming/components/cngx-tooltip.css +2 -0
  74. package/timeline/README.md +2 -2
  75. package/types/cngx-common-a11y.d.ts +488 -112
  76. package/types/cngx-common-audio.d.ts +60 -88
  77. package/types/cngx-common-button.d.ts +698 -0
  78. package/types/cngx-common-card.d.ts +104 -78
  79. package/types/cngx-common-chart.d.ts +677 -389
  80. package/types/cngx-common-command.d.ts +55 -41
  81. package/types/cngx-common-data.d.ts +506 -360
  82. package/types/cngx-common-dialog.d.ts +94 -127
  83. package/types/cngx-common-display.d.ts +475 -300
  84. package/types/cngx-common-interactive.d.ts +4383 -1721
  85. package/types/cngx-common-layout.d.ts +1399 -288
  86. package/types/cngx-common-menu-button.d.ts +382 -0
  87. package/types/cngx-common-popover.d.ts +990 -268
  88. package/types/cngx-common-stepper.d.ts +374 -465
  89. package/types/cngx-common-tabs.d.ts +309 -403
  90. package/types/cngx-common-timeline.d.ts +50 -109
@@ -1,6 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { linkedSignal, InjectionToken, input, ViewEncapsulation, ChangeDetectionStrategy, Component, computed, makeEnvironmentProviders, SkipSelf, Optional, inject, Directive, ElementRef, contentChild, isDevMode, afterNextRender, TemplateRef } from '@angular/core';
2
+ import { linkedSignal, InjectionToken, input, ViewEncapsulation, ChangeDetectionStrategy, Component, computed, makeEnvironmentProviders, SkipSelf, Optional, inject, Directive, ElementRef, contentChild, afterNextRender, TemplateRef } from '@angular/core';
3
3
  import { memoize, coerceBooleanProperty, dateTimeFormatterFor, createNestedOverrideMerge, coerceSignal } from '@cngx/core/utils';
4
+ import { cngxDevWarn } from '@cngx/utils';
4
5
  import { NgTemplateOutlet } from '@angular/common';
5
6
  import { formatMessage, createNestedLanguageSection } from '@cngx/core/i18n';
6
7
 
@@ -111,9 +112,8 @@ function groupsEqual(a, b) {
111
112
  * });
112
113
  * ```
113
114
  *
114
- * @category common/timeline
115
115
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/grouping.ts
116
- * @since 0.1.0
116
+ * @since 0.3.0
117
117
  */
118
118
  function createTimelineGrouping(options) {
119
119
  const { items, dateAccessor, groupBy, direction, locale } = options;
@@ -139,7 +139,7 @@ function createTimelineGrouping(options) {
139
139
  !warnedInvalidDate &&
140
140
  dated.some((entry) => Number.isNaN(entry.date.getTime()))) {
141
141
  warnedInvalidDate = true;
142
- console.warn('createTimelineGrouping: dateAccessor produced an invalid date for at least one ' +
142
+ cngxDevWarn('CNGX1042', 'createTimelineGrouping(): dateAccessor produced an invalid date for at least one ' +
143
143
  'item. Those items cluster into a single band whose header renders ' +
144
144
  '"Invalid Date" - check the accessor and the raw values it reads.');
145
145
  }
@@ -194,10 +194,9 @@ function createTimelineGrouping(options) {
194
194
  * Same shape as `CNGX_SELECTION_CONTROLLER_FACTORY`: the internals of a
195
195
  * component are swappable without forking the component.
196
196
  *
197
- * @category common/timeline
198
197
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/grouping.ts
199
198
  * @relatedTo createTimelineGrouping
200
- * @since 0.1.0
199
+ * @since 0.3.0
201
200
  */
202
201
  const CNGX_TIMELINE_GROUPING_FACTORY = new InjectionToken('CngxTimelineGroupingFactory', {
203
202
  providedIn: 'root',
@@ -232,11 +231,10 @@ const CNGX_TIMELINE_GROUPING_FACTORY = new InjectionToken('CngxTimelineGroupingF
232
231
  * <cngx-timeline-marker status="active" busy />
233
232
  * ```
234
233
  *
235
- * @category common/timeline
236
234
  * @wcag AA
237
235
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/marker.component.ts
238
236
  * @relatedTo CngxTimelineConnector
239
- * @since 0.1.0
237
+ * @since 0.3.0
240
238
  */
241
239
  class CngxTimelineMarker {
242
240
  /**
@@ -256,7 +254,7 @@ class CngxTimelineMarker {
256
254
  */
257
255
  busy = input(false, { ...(ngDevMode ? { debugName: "busy" } : /* istanbul ignore next */ {}), transform: coerceBooleanProperty });
258
256
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineMarker, deps: [], target: i0.ɵɵFactoryTarget.Component });
259
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: CngxTimelineMarker, isStandalone: true, selector: "cngx-timeline-marker", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-hidden": "true" }, properties: { "attr.data-status": "status()", "class.cngx-timeline-marker--busy": "busy()" }, classAttribute: "cngx-timeline-marker" }, ngImport: i0, template: `<ng-content />`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.components{@scope(.cngx-timeline-marker){:scope{display:inline-flex;align-items:center;justify-content:center;flex:none;inline-size:var(--cngx-timeline-marker-size, 12px);block-size:var(--cngx-timeline-marker-size, 12px);border-radius:50%;overflow:hidden;background:var(--cngx-timeline-connector-color, oklch(.88 .005 250));box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0));color:var(--cngx-timeline-marker-fg, oklch(1 0 0));font-size:.625em;line-height:1}:scope>img,:scope>picture{inline-size:100%;block-size:100%;object-fit:cover;border-radius:inherit}:scope>svg{inline-size:var(--cngx-timeline-marker-glyph-size, 60%);block-size:var(--cngx-timeline-marker-glyph-size, 60%)}:scope[data-status=done]{background:var(--cngx-timeline-done-color, oklch(.6 .15 145))}:scope[data-status=active]{background:var(--cngx-timeline-active-color, oklch(.66 .19 50))}:scope[data-status=rejected]{background:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}:scope[data-status=upcoming]{background:var(--cngx-timeline-surface, oklch(1 0 0));border:var(--cngx-timeline-connector-width, 2px) dashed var(--cngx-timeline-upcoming-color, oklch(.5 .01 250));color:var(--cngx-timeline-upcoming-color, oklch(.5 .01 250))}}}@layer cngx.components{@scope(.cngx-timeline-marker--busy){:scope{animation:cngx-timeline-marker-pulse var(--cngx-timeline-pulse-duration, 1.6s) ease-in-out infinite}}}@keyframes cngx-timeline-marker-pulse{0%,to{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 var(--cngx-timeline-connector-width, 2px) transparent}50%{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 calc(var(--cngx-timeline-connector-width, 2px) + var(--cngx-timeline-marker-ring-width, 3px)) color-mix(in oklch,currentColor 35%,transparent)}}@media(prefers-reduced-motion:reduce){.cngx-timeline-marker--busy{animation:none}}@media(forced-colors:active){.cngx-timeline-marker:not([data-status=upcoming]){box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) solid CanvasText}.cngx-timeline-marker[data-status=done]:empty{background:CanvasText}.cngx-timeline-marker[data-status=active]:empty{background:Highlight;border-color:Highlight}.cngx-timeline-marker[data-status=rejected]:empty{border:3px double CanvasText}.cngx-timeline-marker[data-status=upcoming]:empty{box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) dashed CanvasText}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
257
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: CngxTimelineMarker, isStandalone: true, selector: "cngx-timeline-marker", inputs: { status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, busy: { classPropertyName: "busy", publicName: "busy", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-hidden": "true" }, properties: { "attr.data-status": "status()", "class.cngx-timeline-marker--busy": "busy()" }, classAttribute: "cngx-timeline-marker" }, ngImport: i0, template: `<ng-content />`, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.components{@scope(.cngx-timeline-marker){:scope{display:inline-flex;align-items:center;justify-content:center;flex:none;inline-size:var(--cngx-timeline-marker-size, 12px);block-size:var(--cngx-timeline-marker-size, 12px);border-radius:50%;overflow:hidden;background:var(--cngx-timeline-connector-color, oklch(.88 .005 250));box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0));color:var(--cngx-timeline-marker-fg, oklch(1 0 0));font-size:.625em;line-height:1}:scope>img,:scope>picture{inline-size:100%;block-size:100%;object-fit:cover;border-radius:inherit}:scope>svg{inline-size:round(nearest,var(--cngx-timeline-marker-glyph-size, 60%),1px);block-size:round(nearest,var(--cngx-timeline-marker-glyph-size, 60%),1px)}:scope[data-status=done]{background:var(--cngx-timeline-done-color, oklch(.6 .15 145))}:scope[data-status=active]{background:var(--cngx-timeline-active-color, oklch(.66 .19 50))}:scope[data-status=rejected]{background:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}:scope[data-status=upcoming]{background:var(--cngx-timeline-surface, oklch(1 0 0));border:var(--cngx-timeline-connector-width, 2px) dashed var(--cngx-timeline-upcoming-color, oklch(.5 .01 250));color:var(--cngx-timeline-upcoming-color, oklch(.5 .01 250))}}}@layer cngx.components{@scope(.cngx-timeline-marker--busy){:scope{animation:cngx-timeline-marker-pulse var(--cngx-timeline-pulse-duration, 1.6s) ease-in-out infinite}}}@keyframes cngx-timeline-marker-pulse{0%,to{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 var(--cngx-timeline-connector-width, 2px) transparent}50%{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 calc(var(--cngx-timeline-connector-width, 2px) + var(--cngx-timeline-marker-ring-width, 3px)) color-mix(in oklch,currentColor 35%,transparent)}}@media(prefers-reduced-motion:reduce){.cngx-timeline-marker--busy{animation:none}}@media(forced-colors:active){.cngx-timeline-marker:not([data-status=upcoming]){box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) solid CanvasText}.cngx-timeline-marker[data-status=done]:empty{background:CanvasText}.cngx-timeline-marker[data-status=active]:empty{background:Highlight;border-color:Highlight}.cngx-timeline-marker[data-status=rejected]:empty{border:3px double CanvasText}.cngx-timeline-marker[data-status=upcoming]:empty{box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) dashed CanvasText}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
260
258
  }
261
259
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineMarker, decorators: [{
262
260
  type: Component,
@@ -265,7 +263,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
265
263
  'aria-hidden': 'true',
266
264
  '[attr.data-status]': 'status()',
267
265
  '[class.cngx-timeline-marker--busy]': 'busy()',
268
- }, template: `<ng-content />`, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.components{@scope(.cngx-timeline-marker){:scope{display:inline-flex;align-items:center;justify-content:center;flex:none;inline-size:var(--cngx-timeline-marker-size, 12px);block-size:var(--cngx-timeline-marker-size, 12px);border-radius:50%;overflow:hidden;background:var(--cngx-timeline-connector-color, oklch(.88 .005 250));box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0));color:var(--cngx-timeline-marker-fg, oklch(1 0 0));font-size:.625em;line-height:1}:scope>img,:scope>picture{inline-size:100%;block-size:100%;object-fit:cover;border-radius:inherit}:scope>svg{inline-size:var(--cngx-timeline-marker-glyph-size, 60%);block-size:var(--cngx-timeline-marker-glyph-size, 60%)}:scope[data-status=done]{background:var(--cngx-timeline-done-color, oklch(.6 .15 145))}:scope[data-status=active]{background:var(--cngx-timeline-active-color, oklch(.66 .19 50))}:scope[data-status=rejected]{background:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}:scope[data-status=upcoming]{background:var(--cngx-timeline-surface, oklch(1 0 0));border:var(--cngx-timeline-connector-width, 2px) dashed var(--cngx-timeline-upcoming-color, oklch(.5 .01 250));color:var(--cngx-timeline-upcoming-color, oklch(.5 .01 250))}}}@layer cngx.components{@scope(.cngx-timeline-marker--busy){:scope{animation:cngx-timeline-marker-pulse var(--cngx-timeline-pulse-duration, 1.6s) ease-in-out infinite}}}@keyframes cngx-timeline-marker-pulse{0%,to{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 var(--cngx-timeline-connector-width, 2px) transparent}50%{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 calc(var(--cngx-timeline-connector-width, 2px) + var(--cngx-timeline-marker-ring-width, 3px)) color-mix(in oklch,currentColor 35%,transparent)}}@media(prefers-reduced-motion:reduce){.cngx-timeline-marker--busy{animation:none}}@media(forced-colors:active){.cngx-timeline-marker:not([data-status=upcoming]){box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) solid CanvasText}.cngx-timeline-marker[data-status=done]:empty{background:CanvasText}.cngx-timeline-marker[data-status=active]:empty{background:Highlight;border-color:Highlight}.cngx-timeline-marker[data-status=rejected]:empty{border:3px double CanvasText}.cngx-timeline-marker[data-status=upcoming]:empty{box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) dashed CanvasText}}\n"] }]
266
+ }, template: `<ng-content />`, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.components{@scope(.cngx-timeline-marker){:scope{display:inline-flex;align-items:center;justify-content:center;flex:none;inline-size:var(--cngx-timeline-marker-size, 12px);block-size:var(--cngx-timeline-marker-size, 12px);border-radius:50%;overflow:hidden;background:var(--cngx-timeline-connector-color, oklch(.88 .005 250));box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0));color:var(--cngx-timeline-marker-fg, oklch(1 0 0));font-size:.625em;line-height:1}:scope>img,:scope>picture{inline-size:100%;block-size:100%;object-fit:cover;border-radius:inherit}:scope>svg{inline-size:round(nearest,var(--cngx-timeline-marker-glyph-size, 60%),1px);block-size:round(nearest,var(--cngx-timeline-marker-glyph-size, 60%),1px)}:scope[data-status=done]{background:var(--cngx-timeline-done-color, oklch(.6 .15 145))}:scope[data-status=active]{background:var(--cngx-timeline-active-color, oklch(.66 .19 50))}:scope[data-status=rejected]{background:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}:scope[data-status=upcoming]{background:var(--cngx-timeline-surface, oklch(1 0 0));border:var(--cngx-timeline-connector-width, 2px) dashed var(--cngx-timeline-upcoming-color, oklch(.5 .01 250));color:var(--cngx-timeline-upcoming-color, oklch(.5 .01 250))}}}@layer cngx.components{@scope(.cngx-timeline-marker--busy){:scope{animation:cngx-timeline-marker-pulse var(--cngx-timeline-pulse-duration, 1.6s) ease-in-out infinite}}}@keyframes cngx-timeline-marker-pulse{0%,to{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 var(--cngx-timeline-connector-width, 2px) transparent}50%{box-shadow:0 0 0 var(--cngx-timeline-connector-width, 2px) var(--cngx-timeline-surface, oklch(1 0 0)),0 0 0 calc(var(--cngx-timeline-connector-width, 2px) + var(--cngx-timeline-marker-ring-width, 3px)) color-mix(in oklch,currentColor 35%,transparent)}}@media(prefers-reduced-motion:reduce){.cngx-timeline-marker--busy{animation:none}}@media(forced-colors:active){.cngx-timeline-marker:not([data-status=upcoming]){box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) solid CanvasText}.cngx-timeline-marker[data-status=done]:empty{background:CanvasText}.cngx-timeline-marker[data-status=active]:empty{background:Highlight;border-color:Highlight}.cngx-timeline-marker[data-status=rejected]:empty{border:3px double CanvasText}.cngx-timeline-marker[data-status=upcoming]:empty{box-sizing:border-box;border:var(--cngx-timeline-connector-width, 2px) dashed CanvasText}}\n"] }]
269
267
  }], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], busy: [{ type: i0.Input, args: [{ isSignal: true, alias: "busy", required: false }] }] } });
270
268
 
271
269
  /**
@@ -292,11 +290,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
292
290
  * <cngx-timeline-connector position="last" />
293
291
  * ```
294
292
  *
295
- * @category common/timeline
296
293
  * @wcag AA
297
294
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/connector.component.ts
298
295
  * @relatedTo CngxTimelineMarker
299
- * @since 0.1.0
296
+ * @since 0.3.0
300
297
  */
301
298
  class CngxTimelineConnector {
302
299
  /**
@@ -333,10 +330,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
333
330
  * standalone, and a concrete parent type would make the two mutually
334
331
  * dependent and block the decompose schematic.
335
332
  *
336
- * @category common/timeline
337
333
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/marker-host.token.ts
338
334
  * @relatedTo CngxTimelineMarkerTpl, CngxTimelineItem
339
- * @since 0.1.0
335
+ * @since 0.3.0
340
336
  */
341
337
  const CNGX_TIMELINE_MARKER_HOST = new InjectionToken('CngxTimelineMarkerHost');
342
338
 
@@ -344,8 +340,7 @@ const CNGX_TIMELINE_MARKER_HOST = new InjectionToken('CngxTimelineMarkerHost');
344
340
  * The English timeline section: the single source of the timeline's English
345
341
  * copy. `CNGX_TIMELINE_CONFIG` defaults its `labels` to it.
346
342
  *
347
- * @category common/timeline
348
- * @since 0.1.0
343
+ * @since 0.3.0
349
344
  * @relatedTo CNGX_TIMELINE_CONFIG
350
345
  */
351
346
  const CNGX_TIMELINE_LANGUAGE_EN = {
@@ -417,12 +412,11 @@ function timelineConfigDefaultsFromPack() {
417
412
  * {@link provideTimelineConfig} (root) or {@link provideTimelineConfigAt}
418
413
  * (component scope).
419
414
  *
420
- * @category common/timeline
421
415
  * @wcag AA
422
416
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/timeline-config.ts
423
417
  * @relatedTo provideTimelineConfig
424
418
  * @relatedTo withTimelineLabels
425
- * @since 0.1.0
419
+ * @since 0.3.0
426
420
  */
427
421
  const CNGX_TIMELINE_CONFIG = new InjectionToken('CngxTimelineConfig', {
428
422
  providedIn: 'root',
@@ -447,8 +441,6 @@ const TIMELINE_NO_LABELS = {};
447
441
  * }),
448
442
  * )
449
443
  * ```
450
- *
451
- * @category common/timeline
452
444
  */
453
445
  function withTimelineLabels(labels) {
454
446
  return (config) => ({
@@ -475,8 +467,6 @@ function withTimelineLabels(labels) {
475
467
  *
476
468
  * providers: [provideTimelineConfig(withTimelineTemplates({ empty: this.emptyTpl() }))]
477
469
  * ```
478
- *
479
- * @category common/timeline
480
470
  */
481
471
  function withTimelineTemplates(templates) {
482
472
  return (config) => ({ ...config, templates: { ...config.templates, ...templates } });
@@ -487,8 +477,6 @@ function applyFeatures(base, features) {
487
477
  /**
488
478
  * Root-level provider. Apply once in `bootstrapApplication` /
489
479
  * `appConfig.providers`.
490
- *
491
- * @category common/timeline
492
480
  */
493
481
  function provideTimelineConfig(...features) {
494
482
  return makeEnvironmentProviders([
@@ -512,8 +500,6 @@ function provideTimelineConfig(...features) {
512
500
  * viewProviders: [...provideTimelineConfigAt(withTimelineLabels({ retry: 'Again' }))],
513
501
  * })
514
502
  * ```
515
- *
516
- * @category common/timeline
517
503
  */
518
504
  function provideTimelineConfigAt(...features) {
519
505
  return [
@@ -526,8 +512,6 @@ function provideTimelineConfigAt(...features) {
526
512
  }
527
513
  /**
528
514
  * Read the resolved timeline config. Runs in an injection context.
529
- *
530
- * @category common/timeline
531
515
  */
532
516
  function injectTimelineConfig() {
533
517
  return inject(CNGX_TIMELINE_CONFIG);
@@ -540,8 +524,6 @@ function injectTimelineConfig() {
540
524
  *
541
525
  * Pair it with `<cngx-time>` from `@cngx/common/display` for relative
542
526
  * formatting; the timeline neither formats nor ticks.
543
- *
544
- * @category common/timeline
545
527
  */
546
528
  class CngxTimelineTime {
547
529
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineTime, deps: [], target: i0.ɵɵFactoryTarget.Directive });
@@ -584,10 +566,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
584
566
  * grid can fix that, because the paint follows `[data-row-side]` while the
585
567
  * DOM order does not.
586
568
  *
587
- * @category common/timeline
588
569
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/timeline-item.component.ts
589
570
  * @relatedTo CngxTimelineItem, CngxTimelineTime
590
- * @since 0.1.0
571
+ * @since 0.3.0
591
572
  */
592
573
  class CngxTimelineOpposite {
593
574
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineOpposite, deps: [], target: i0.ɵɵFactoryTarget.Directive });
@@ -612,8 +593,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
612
593
  * without the timeline's default being torn out for the rest.
613
594
  *
614
595
  * Whatever renders here is inside an `aria-hidden` element - decoration only.
615
- *
616
- * @category common/timeline
617
596
  */
618
597
  class CngxTimelineMarkerContent {
619
598
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineMarkerContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
@@ -631,8 +610,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
631
610
  * projected without a slot directive lands in the body too. Reach for it
632
611
  * when the item also projects a timestamp and the source order would
633
612
  * otherwise be ambiguous.
634
- *
635
- * @category common/timeline
636
613
  */
637
614
  class CngxTimelineContent {
638
615
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
@@ -693,17 +670,16 @@ const FOCUSABLE = 'a[href], button, input, select, textarea, summary, [tabindex]
693
670
  * </cngx-timeline-item>
694
671
  * ```
695
672
  *
696
- * @category common/timeline
697
- * @docsKind primary
698
673
  * @wcag AA
699
674
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/timeline-item.component.ts
700
675
  * @relatedTo CngxTimelineMarker, CngxTimelineConnector, CNGX_TIMELINE_CONFIG
701
- * <example-url>http://localhost:4200/#/ui/timeline/basics/standalone-atoms</example-url>
702
- * <example-url>http://localhost:4200/#/ui/timeline/basics/custom-date-header-and-marker</example-url>
703
- * <example-url>http://localhost:4200/#/ui/timeline/basics/marker-precedence</example-url>
704
- * <example-url>http://localhost:4200/#/ui/timeline/layout/media-markers</example-url>
705
- * <example-url>http://localhost:4200/#/ui/timeline/layout/placement-end</example-url>
706
- * @since 0.1.0
676
+ * <example-url>/#/ui/timeline/basics/standalone-atoms</example-url>
677
+ * <example-url>/#/ui/timeline/basics/custom-date-header-and-marker</example-url>
678
+ * <example-url>/#/ui/timeline/basics/marker-precedence</example-url>
679
+ * <example-url>/#/ui/timeline/layout/media-markers</example-url>
680
+ * <example-url>/#/ui/timeline/layout/placement-end</example-url>
681
+ * @since 0.3.0
682
+ * @axis level atom
707
683
  */
708
684
  class CngxTimelineItem {
709
685
  labels = coerceSignal(injectTimelineConfig().labels ?? TIMELINE_NO_LABELS);
@@ -784,14 +760,15 @@ class CngxTimelineItem {
784
760
  /** @internal Visible inline error, blank unless this row failed. */
785
761
  errorText = computed(() => this.failed() ? (this.labels().itemErrorFallback ?? '') : '', ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
786
762
  constructor() {
787
- if (isDevMode()) {
763
+ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
788
764
  // afterNextRender, not an effect: this is a one-shot authoring check
789
765
  // on projected content, and the reactive graph has no business
790
766
  // carrying it. Runs once per row, after its content exists.
791
767
  afterNextRender(() => {
792
- const opposite = this.host.nativeElement.querySelector(':scope > [cngxTimelineOpposite]');
793
- if (opposite?.querySelector(FOCUSABLE)) {
794
- console.warn('[cngx-timeline-item] focusable content inside [cngxTimelineOpposite]. ' +
768
+ const opposites = this.host.nativeElement.querySelectorAll(':scope > [cngxTimelineOpposite]');
769
+ const focusable = Array.from(opposites).some((el) => el.matches(FOCUSABLE) || el.querySelector(FOCUSABLE) !== null);
770
+ if (focusable) {
771
+ cngxDevWarn('CNGX1043', '[cngx-timeline-item] focusable content inside [cngxTimelineOpposite]. ' +
795
772
  'The slot projects ahead of the row body, so under placement="end" or ' +
796
773
  '"alternate" it takes focus before the row it belongs to while painting ' +
797
774
  'on the far side of the rail. Keep opposite content non-interactive and ' +
@@ -824,7 +801,7 @@ class CngxTimelineItem {
824
801
  @if (statusText(); as text) {
825
802
  <span class="cngx-timeline-item__sr">{{ text }}</span>
826
803
  }
827
- `, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.tokens{@property --cngx-timeline-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --cngx-timeline-row-gap{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --cngx-timeline-content-padding{syntax: \"<length>\"; inherits: true; initial-value: 4px;}}@layer cngx.components{@scope(.cngx-timeline-item){:scope{--cngx-timeline-gap: var(--cngx-space-sm, 8px);--cngx-timeline-row-gap: var(--cngx-space-xs, 4px);--cngx-timeline-content-padding: var(--cngx-space-xs, 4px);--cngx-timeline-rail-inset: calc(var(--cngx-timeline-marker-size, 12px) / 2);display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\";column-gap:var(--cngx-timeline-gap, 8px);row-gap:var(--cngx-timeline-row-gap, 4px);color:var(--cngx-timeline-text-color, oklch(.2 .01 250))}.cngx-timeline-marker{grid-area:marker}.cngx-timeline-connector{grid-area:rail}.cngx-timeline-item__time{grid-area:time;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__opposite{grid-area:opposite;align-self:start;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4;text-align:end}.cngx-timeline-item__body{grid-area:body;padding:var(--cngx-timeline-content-padding, 4px);padding-block-end:var(--cngx-timeline-row-gap, 4px);min-inline-size:0}.cngx-timeline-item__error{margin:0;color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__sr{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:scope[data-failed] .cngx-timeline-item__time{color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}}[data-mode=activity] .cngx-timeline-item:not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"marker body time\" \"rail body time\"}[data-mode=activity] .cngx-timeline-item .cngx-timeline-item__time{align-self:start;text-align:end;white-space:nowrap}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"time marker\" \"body rail\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"time body marker\" \"time body rail\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *) .cngx-timeline-item__time{text-align:end}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item .cngx-timeline-item__opposite{text-align:start}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body marker opposite\" \"body rail time\"}@container cngx-timeline (max-inline-size: 30rem){.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\"}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__opposite{text-align:end}}.cngx-timeline-item:not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker time\" \"opposite rail body\"}.cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:\"opposite marker body time\" \"opposite rail body time\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:\"time marker opposite\" \"body rail opposite\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:\"time body marker opposite\" \"time body rail opposite\"}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):not([data-orientation=horizontal] *){block-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):is([data-orientation=horizontal] *){inline-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}.cngx-timeline-item:is([data-orientation=horizontal] *){flex:none;inline-size:var(--cngx-timeline-item-inline-size, 12rem);grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:\"marker rail\" \"time time\" \"body body\"}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__time{text-align:start;white-space:normal}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__opposite{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *){grid-template-rows:minmax(0,1fr) auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\"}.cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite time\" \"marker rail\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body body\" \"marker rail\" \"opposite time\"}.cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:auto auto auto minmax(0,1fr);grid-template-areas:\"opposite opposite\" \"marker rail\" \"time time\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:minmax(0,1fr) auto auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\" \"opposite opposite\"}}\n"], dependencies: [{ kind: "component", type: CngxTimelineMarker, selector: "cngx-timeline-marker", inputs: ["status", "busy"] }, { kind: "component", type: CngxTimelineConnector, selector: "cngx-timeline-connector", inputs: ["status", "position"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
804
+ `, isInline: true, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.tokens{@property --cngx-timeline-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --cngx-timeline-row-gap{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --cngx-timeline-content-padding{syntax: \"<length>\"; inherits: true; initial-value: 4px;}}@layer cngx.components{@scope(.cngx-timeline-item){:scope{--cngx-timeline-gap: var(--cngx-space-sm, 8px);--cngx-timeline-row-gap: var(--cngx-space-xs, 4px);--cngx-timeline-content-padding: var(--cngx-space-xs, 4px);--cngx-timeline-rail-inset: calc(var(--cngx-timeline-marker-size, 12px) / 2);display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\";column-gap:var(--cngx-timeline-gap, 8px);row-gap:var(--cngx-timeline-row-gap, 4px);color:var(--cngx-timeline-text-color, oklch(.2 .01 250))}.cngx-timeline-marker{grid-area:marker}.cngx-timeline-connector{grid-area:rail}.cngx-timeline-item__time{grid-area:time;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__opposite{grid-area:opposite;align-self:start;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4;text-align:end}.cngx-timeline-item__body{grid-area:body;padding:var(--cngx-timeline-content-padding, 4px);padding-block-end:var(--cngx-timeline-row-gap, 4px);min-inline-size:0}.cngx-timeline-item__error{margin:0;color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__sr{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:scope[data-failed] .cngx-timeline-item__time{color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}}[data-mode=activity] .cngx-timeline-item:not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"marker body time\" \"rail body time\"}[data-mode=activity] .cngx-timeline-item .cngx-timeline-item__time{align-self:start;text-align:end;white-space:nowrap}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"time marker\" \"body rail\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"time body marker\" \"time body rail\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *) .cngx-timeline-item__time{text-align:end}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item .cngx-timeline-item__opposite{text-align:start}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body marker opposite\" \"body rail time\"}@container cngx-timeline (max-inline-size: 30rem){.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\"}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__opposite{text-align:end}}.cngx-timeline-item:not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker time\" \"opposite rail body\"}.cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:\"opposite marker body time\" \"opposite rail body time\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:\"time marker opposite\" \"body rail opposite\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:\"time body marker opposite\" \"time body rail opposite\"}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):not([data-orientation=horizontal] *){block-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):is([data-orientation=horizontal] *){inline-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}.cngx-timeline-item:is([data-orientation=horizontal] *){flex:none;inline-size:var(--cngx-timeline-item-inline-size, 192px);grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:\"marker rail\" \"time time\" \"body body\"}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__time{text-align:start;white-space:normal}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__opposite{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *){grid-template-rows:minmax(0,1fr) auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\"}.cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite time\" \"marker rail\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body body\" \"marker rail\" \"opposite time\"}.cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:auto auto auto minmax(0,1fr);grid-template-areas:\"opposite opposite\" \"marker rail\" \"time time\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:minmax(0,1fr) auto auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\" \"opposite opposite\"}}\n"], dependencies: [{ kind: "component", type: CngxTimelineMarker, selector: "cngx-timeline-marker", inputs: ["status", "busy"] }, { kind: "component", type: CngxTimelineConnector, selector: "cngx-timeline-connector", inputs: ["status", "position"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
828
805
  }
829
806
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineItem, decorators: [{
830
807
  type: Component,
@@ -856,7 +833,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
856
833
  @if (statusText(); as text) {
857
834
  <span class="cngx-timeline-item__sr">{{ text }}</span>
858
835
  }
859
- `, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.tokens{@property --cngx-timeline-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --cngx-timeline-row-gap{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --cngx-timeline-content-padding{syntax: \"<length>\"; inherits: true; initial-value: 4px;}}@layer cngx.components{@scope(.cngx-timeline-item){:scope{--cngx-timeline-gap: var(--cngx-space-sm, 8px);--cngx-timeline-row-gap: var(--cngx-space-xs, 4px);--cngx-timeline-content-padding: var(--cngx-space-xs, 4px);--cngx-timeline-rail-inset: calc(var(--cngx-timeline-marker-size, 12px) / 2);display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\";column-gap:var(--cngx-timeline-gap, 8px);row-gap:var(--cngx-timeline-row-gap, 4px);color:var(--cngx-timeline-text-color, oklch(.2 .01 250))}.cngx-timeline-marker{grid-area:marker}.cngx-timeline-connector{grid-area:rail}.cngx-timeline-item__time{grid-area:time;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__opposite{grid-area:opposite;align-self:start;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4;text-align:end}.cngx-timeline-item__body{grid-area:body;padding:var(--cngx-timeline-content-padding, 4px);padding-block-end:var(--cngx-timeline-row-gap, 4px);min-inline-size:0}.cngx-timeline-item__error{margin:0;color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__sr{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:scope[data-failed] .cngx-timeline-item__time{color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}}[data-mode=activity] .cngx-timeline-item:not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"marker body time\" \"rail body time\"}[data-mode=activity] .cngx-timeline-item .cngx-timeline-item__time{align-self:start;text-align:end;white-space:nowrap}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"time marker\" \"body rail\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"time body marker\" \"time body rail\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *) .cngx-timeline-item__time{text-align:end}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item .cngx-timeline-item__opposite{text-align:start}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body marker opposite\" \"body rail time\"}@container cngx-timeline (max-inline-size: 30rem){.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\"}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__opposite{text-align:end}}.cngx-timeline-item:not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker time\" \"opposite rail body\"}.cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:\"opposite marker body time\" \"opposite rail body time\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:\"time marker opposite\" \"body rail opposite\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:\"time body marker opposite\" \"time body rail opposite\"}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):not([data-orientation=horizontal] *){block-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):is([data-orientation=horizontal] *){inline-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}.cngx-timeline-item:is([data-orientation=horizontal] *){flex:none;inline-size:var(--cngx-timeline-item-inline-size, 12rem);grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:\"marker rail\" \"time time\" \"body body\"}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__time{text-align:start;white-space:normal}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__opposite{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *){grid-template-rows:minmax(0,1fr) auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\"}.cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite time\" \"marker rail\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body body\" \"marker rail\" \"opposite time\"}.cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:auto auto auto minmax(0,1fr);grid-template-areas:\"opposite opposite\" \"marker rail\" \"time time\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:minmax(0,1fr) auto auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\" \"opposite opposite\"}}\n"] }]
836
+ `, styles: ["@layer cngx.tokens{@property --cngx-timeline-rail-inset{syntax: \"<length>\"; inherits: true; initial-value: 6px;}@property --cngx-timeline-marker-size{syntax: \"<length>\"; inherits: true; initial-value: 12px;}@property --cngx-timeline-marker-glyph-size{syntax: \"<percentage>\"; inherits: true; initial-value: 60%;}@property --cngx-timeline-item-inline-size{syntax: \"<length>\"; inherits: true; initial-value: 192px;}@property --cngx-timeline-connector-width{syntax: \"<length>\"; inherits: true; initial-value: 2px;}@property --cngx-timeline-marker-ring-width{syntax: \"<length>\"; inherits: true; initial-value: 3px;}@property --cngx-timeline-connector-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.88 .005 250);}@property --cngx-timeline-surface{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-marker-fg{syntax: \"<color>\"; inherits: true; initial-value: oklch(1 0 0);}@property --cngx-timeline-meta-size{syntax: \"*\"; inherits: true; initial-value: .8125rem;}@property --cngx-timeline-text-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.2 .01 250);}@property --cngx-timeline-muted-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-done-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .15 145);}@property --cngx-timeline-active-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.66 .19 50);}@property --cngx-timeline-upcoming-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.5 .01 250);}@property --cngx-timeline-rejected-color{syntax: \"<color>\"; inherits: true; initial-value: oklch(.6 .18 25);}@property --cngx-timeline-pulse-duration{syntax: \"<time>\"; inherits: true; initial-value: 1.6s;}}:root{--cngx-timeline-connector-color: var(--cngx-color-border, oklch(.88 .005 250));--cngx-timeline-surface: var(--cngx-color-surface, oklch(1 0 0));--cngx-timeline-text-color: var(--cngx-color-text, oklch(.2 .01 250));--cngx-timeline-muted-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-done-color: var(--cngx-color-success, oklch(.6 .15 145));--cngx-timeline-active-color: var(--cngx-color-primary, oklch(.66 .19 50));--cngx-timeline-upcoming-color: var(--cngx-color-text-muted, oklch(.5 .01 250));--cngx-timeline-rejected-color: var(--cngx-color-danger, oklch(.6 .18 25))}\n", "@layer cngx.tokens{@property --cngx-timeline-gap{syntax: \"<length>\"; inherits: true; initial-value: 8px;}@property --cngx-timeline-row-gap{syntax: \"<length>\"; inherits: true; initial-value: 4px;}@property --cngx-timeline-content-padding{syntax: \"<length>\"; inherits: true; initial-value: 4px;}}@layer cngx.components{@scope(.cngx-timeline-item){:scope{--cngx-timeline-gap: var(--cngx-space-sm, 8px);--cngx-timeline-row-gap: var(--cngx-space-xs, 4px);--cngx-timeline-content-padding: var(--cngx-space-xs, 4px);--cngx-timeline-rail-inset: calc(var(--cngx-timeline-marker-size, 12px) / 2);display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\";column-gap:var(--cngx-timeline-gap, 8px);row-gap:var(--cngx-timeline-row-gap, 4px);color:var(--cngx-timeline-text-color, oklch(.2 .01 250))}.cngx-timeline-marker{grid-area:marker}.cngx-timeline-connector{grid-area:rail}.cngx-timeline-item__time{grid-area:time;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__opposite{grid-area:opposite;align-self:start;color:var(--cngx-timeline-muted-color, oklch(.5 .01 250));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4;text-align:end}.cngx-timeline-item__body{grid-area:body;padding:var(--cngx-timeline-content-padding, 4px);padding-block-end:var(--cngx-timeline-row-gap, 4px);min-inline-size:0}.cngx-timeline-item__error{margin:0;color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25));font-size:var(--cngx-timeline-meta-size, .8125rem);line-height:1.4}.cngx-timeline-item__sr{position:absolute;inline-size:1px;block-size:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}:scope[data-failed] .cngx-timeline-item__time{color:var(--cngx-timeline-rejected-color, oklch(.6 .18 25))}}[data-mode=activity] .cngx-timeline-item:not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"marker body time\" \"rail body time\"}[data-mode=activity] .cngx-timeline-item .cngx-timeline-item__time{align-self:start;text-align:end;white-space:nowrap}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:\"time marker\" \"body rail\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:\"time body marker\" \"time body rail\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *) .cngx-timeline-item__time{text-align:end}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item .cngx-timeline-item__opposite{text-align:start}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body marker opposite\" \"body rail time\"}@container cngx-timeline (max-inline-size: 30rem){.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *){grid-template-columns:auto minmax(0,1fr);grid-template-areas:\"marker time\" \"rail body\"}.cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]),[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker body\" \"time rail body\"}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__time{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-placement=alternate] *):not([data-mode=activity] *) .cngx-timeline-item__opposite{text-align:end}}.cngx-timeline-item:not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr);grid-template-areas:\"opposite marker time\" \"opposite rail body\"}.cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto auto minmax(0,1fr) auto;grid-template-areas:\"opposite marker body time\" \"opposite rail body time\"}[data-row-side=end] .cngx-timeline-item:not([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:\"time marker opposite\" \"body rail opposite\"}[data-row-side=end] .cngx-timeline-item:is([data-mode=activity] *):not([data-placement=alternate] *):not([data-orientation=horizontal] *):has(>[cngxTimelineOpposite]){grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:\"time body marker opposite\" \"time body rail opposite\"}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):not([data-orientation=horizontal] *){block-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}[data-rail=continuous] .cngx-timeline-item .cngx-timeline-connector:not([data-position=last]):not([data-position=only]):is([data-orientation=horizontal] *){inline-size:calc(100% + var(--cngx-timeline-item-gap, 16px))}.cngx-timeline-item:is([data-orientation=horizontal] *){flex:none;inline-size:var(--cngx-timeline-item-inline-size, 192px);grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:\"marker rail\" \"time time\" \"body body\"}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__time{text-align:start;white-space:normal}.cngx-timeline-item:is([data-orientation=horizontal] *) .cngx-timeline-item__opposite{text-align:start}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *){grid-template-rows:minmax(0,1fr) auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\"}.cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"opposite time\" \"marker rail\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):is([data-placement=alternate] *){grid-template-rows:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:\"body body\" \"marker rail\" \"opposite time\"}.cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:auto auto auto minmax(0,1fr);grid-template-areas:\"opposite opposite\" \"marker rail\" \"time time\" \"body body\"}[data-row-side=end] .cngx-timeline-item:is([data-orientation=horizontal] *):not([data-placement=alternate] *):has(>[cngxTimelineOpposite]){grid-template-rows:minmax(0,1fr) auto auto auto;grid-template-areas:\"body body\" \"time time\" \"marker rail\" \"opposite opposite\"}}\n"] }]
860
837
  }], ctorParameters: () => [], propDecorators: { status: [{ type: i0.Input, args: [{ isSignal: true, alias: "status", required: false }] }], state: [{ type: i0.Input, args: [{ isSignal: true, alias: "state", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: false }] }], ownMarker: [{ type: i0.ContentChild, args: [i0.forwardRef(() => CngxTimelineMarkerContent), { isSignal: true }] }] } });
861
838
 
862
839
  /**
@@ -881,10 +858,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
881
858
  * `CngxTimelineItem` component; the selector stays `cngxTimelineItem`,
882
859
  * which is what consumers write.
883
860
  *
884
- * @category common/timeline
885
861
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
886
862
  * @relatedTo CngxTimelineItem, CngxTimelineDateHeader
887
- * @since 0.1.0
863
+ * @since 0.3.0
888
864
  */
889
865
  class CngxTimelineItemTpl {
890
866
  /**
@@ -936,11 +912,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
936
912
  * </ng-template>
937
913
  * ```
938
914
  *
939
- * @category common/timeline
940
915
  * @wcag AA
941
916
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
942
917
  * @relatedTo CngxTimelineItemTpl
943
- * @since 0.1.0
918
+ * @since 0.3.0
944
919
  */
945
920
  class CngxTimelineDateHeader {
946
921
  /**
@@ -978,11 +953,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
978
953
  * Keeps `Tpl` in class *and* selector to stay clear of
979
954
  * `CngxTimelineMarker`, the component it renders into.
980
955
  *
981
- * @category common/timeline
982
956
  * @wcag AA
983
957
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
984
958
  * @relatedTo CngxTimelineMarker
985
- * @since 0.1.0
959
+ * @since 0.3.0
986
960
  */
987
961
  class CngxTimelineMarkerTpl {
988
962
  /**
@@ -1017,10 +991,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1017
991
  * </ng-template>
1018
992
  * ```
1019
993
  *
1020
- * @category common/timeline
1021
994
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
1022
995
  * @relatedTo CngxTimelineError
1023
- * @since 0.1.0
996
+ * @since 0.3.0
1024
997
  */
1025
998
  class CngxTimelineEmpty {
1026
999
  templateRef = inject(TemplateRef);
@@ -1044,10 +1017,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1044
1017
  * restyling. Falls back to
1045
1018
  * `CNGX_TIMELINE_CONFIG.labels.errorFallback` plus a plain retry button.
1046
1019
  *
1047
- * @category common/timeline
1048
1020
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
1049
1021
  * @relatedTo CngxTimelineRetryButton, CngxTimelineEmpty
1050
- * @since 0.1.0
1022
+ * @since 0.3.0
1051
1023
  */
1052
1024
  class CngxTimelineError {
1053
1025
  templateRef = inject(TemplateRef);
@@ -1079,11 +1051,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1079
1051
  * </ng-template>
1080
1052
  * ```
1081
1053
  *
1082
- * @category common/timeline
1083
1054
  * @wcag AA
1084
1055
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
1085
1056
  * @relatedTo CngxTimelineError
1086
- * @since 0.1.0
1057
+ * @since 0.3.0
1087
1058
  */
1088
1059
  class CngxTimelineRetryButton {
1089
1060
  templateRef = inject(TemplateRef);
@@ -1109,10 +1080,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1109
1080
  * Contextless on purpose - a refresh has nothing to say beyond the fact
1110
1081
  * that it is happening.
1111
1082
  *
1112
- * @category common/timeline
1113
1083
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
1114
1084
  * @relatedTo CngxTimelineError
1115
- * @since 0.1.0
1085
+ * @since 0.3.0
1116
1086
  */
1117
1087
  class CngxTimelineLoadingTail {
1118
1088
  templateRef = inject(TemplateRef);
@@ -1131,21 +1101,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1131
1101
  * One placeholder row in the first-load body, replacing the built-in
1132
1102
  * marker-rail-and-two-bars shape. Rendered `[skeletonRowCount]` times.
1133
1103
  *
1134
- * Contextless, and deliberately so: a placeholder stands in for a row whose
1135
- * data has not arrived, so there is nothing to hand it. Bind this when the
1136
- * real rows are taller or busier than the default shape and the swap to
1137
- * content would otherwise reflow the page.
1104
+ * The context carries the row's position only ({@link CngxTimelineSkeletonContext}):
1105
+ * `index`, `count` and the `side` the content row will sit on, so a custom
1106
+ * shape follows `placement="end"` / `"alternate"` and the swap to content
1107
+ * does not reflow. Bind this when the real rows are taller or busier than
1108
+ * the default shape.
1138
1109
  *
1139
1110
  * Whatever renders here sits inside an `aria-hidden` wrapper - the load is
1140
1111
  * announced through the timeline's live region, not through the placeholder.
1141
1112
  *
1142
- * @category common/timeline
1143
1113
  * @github https://github.com/cngxjs/cngx/blob/main/projects/common/timeline/template-slots.ts
1144
1114
  * @relatedTo CngxTimelineLoadingTail
1145
- * @since 0.1.0
1115
+ * @since 0.3.0
1146
1116
  */
1147
1117
  class CngxTimelineSkeleton {
1148
1118
  templateRef = inject(TemplateRef);
1119
+ static ngTemplateContextGuard(_dir, ctx) {
1120
+ return true;
1121
+ }
1149
1122
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CngxTimelineSkeleton, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1150
1123
  static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CngxTimelineSkeleton, isStandalone: true, selector: "ng-template[cngxTimelineSkeleton]", exportAs: ["cngxTimelineSkeleton"], ngImport: i0 });
1151
1124
  }
@@ -1159,7 +1132,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImpor
1159
1132
  }] });
1160
1133
 
1161
1134
  /**
1162
- * @module @cngx/common/timeline
1135
+ * @module `@cngx/common/timeline`
1163
1136
  */
1164
1137
 
1165
1138
  /**