@cngx/common 0.1.0-rc.7 → 0.1.0-rc.9

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 (69) hide show
  1. package/card/README.md +2 -1
  2. package/command/README.md +29 -0
  3. package/data/README.md +15 -3
  4. package/dialog/README.md +23 -1
  5. package/fesm2022/cngx-common-a11y.mjs +517 -184
  6. package/fesm2022/cngx-common-a11y.mjs.map +1 -1
  7. package/fesm2022/cngx-common-audio.mjs +62 -17
  8. package/fesm2022/cngx-common-audio.mjs.map +1 -1
  9. package/fesm2022/cngx-common-card.mjs +301 -46
  10. package/fesm2022/cngx-common-card.mjs.map +1 -1
  11. package/fesm2022/cngx-common-chart.mjs +1221 -479
  12. package/fesm2022/cngx-common-chart.mjs.map +1 -1
  13. package/fesm2022/cngx-common-command.mjs +97 -16
  14. package/fesm2022/cngx-common-command.mjs.map +1 -1
  15. package/fesm2022/cngx-common-data.mjs +1496 -499
  16. package/fesm2022/cngx-common-data.mjs.map +1 -1
  17. package/fesm2022/cngx-common-dialog.mjs +236 -61
  18. package/fesm2022/cngx-common-dialog.mjs.map +1 -1
  19. package/fesm2022/cngx-common-display.mjs +364 -93
  20. package/fesm2022/cngx-common-display.mjs.map +1 -1
  21. package/fesm2022/cngx-common-interactive.mjs +2040 -1046
  22. package/fesm2022/cngx-common-interactive.mjs.map +1 -1
  23. package/fesm2022/cngx-common-layout.mjs +955 -125
  24. package/fesm2022/cngx-common-layout.mjs.map +1 -1
  25. package/fesm2022/cngx-common-popover.mjs +1293 -89
  26. package/fesm2022/cngx-common-popover.mjs.map +1 -1
  27. package/fesm2022/cngx-common-stepper.mjs +997 -453
  28. package/fesm2022/cngx-common-stepper.mjs.map +1 -1
  29. package/fesm2022/cngx-common-tabs.mjs +1794 -1265
  30. package/fesm2022/cngx-common-tabs.mjs.map +1 -1
  31. package/fesm2022/cngx-common-timeline.mjs +151 -61
  32. package/fesm2022/cngx-common-timeline.mjs.map +1 -1
  33. package/fesm2022/cngx-common.mjs +1 -1
  34. package/interactive/README.md +15 -4
  35. package/layout/README.md +37 -1
  36. package/package.json +20 -7
  37. package/popover/README.md +58 -2
  38. package/schematics/collection.json +9 -0
  39. package/schematics/ng-add/index.js +9 -0
  40. package/schematics/ng-add/schema.json +91 -0
  41. package/schematics/package.json +3 -0
  42. package/stepper/README.md +11 -8
  43. package/theming/components/cngx-accordion.css +1 -1
  44. package/theming/components/cngx-backdrop.css +12 -0
  45. package/theming/components/cngx-button-toggle.css +29 -3
  46. package/theming/components/cngx-data-grid.css +168 -1
  47. package/theming/components/cngx-dialog.css +13 -0
  48. package/theming/components/cngx-listbox.css +21 -12
  49. package/theming/components/cngx-menu.css +56 -16
  50. package/theming/components/cngx-popover-sheet.css +402 -0
  51. package/theming/components/cngx-popover.css +28 -0
  52. package/theming/components/cngx-recycler-placeholder.css +196 -0
  53. package/theming/components/cngx-ripple.css +1 -1
  54. package/theming/components/cngx-slider.css +32 -1
  55. package/theming/components/cngx-tooltip.css +12 -0
  56. package/timeline/README.md +155 -0
  57. package/types/cngx-common-a11y.d.ts +205 -28
  58. package/types/cngx-common-card.d.ts +201 -17
  59. package/types/cngx-common-chart.d.ts +345 -48
  60. package/types/cngx-common-command.d.ts +50 -10
  61. package/types/cngx-common-data.d.ts +743 -92
  62. package/types/cngx-common-dialog.d.ts +161 -10
  63. package/types/cngx-common-display.d.ts +356 -142
  64. package/types/cngx-common-interactive.d.ts +910 -226
  65. package/types/cngx-common-layout.d.ts +603 -32
  66. package/types/cngx-common-popover.d.ts +612 -49
  67. package/types/cngx-common-stepper.d.ts +526 -237
  68. package/types/cngx-common-tabs.d.ts +358 -75
  69. package/types/cngx-common-timeline.d.ts +108 -22
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { ElementRef, Signal, WritableSignal, TemplateRef } from '@angular/core';
2
+ import { ElementRef, Signal, WritableSignal, DestroyRef, InjectionToken, TemplateRef, Provider } from '@angular/core';
3
3
  import * as i1 from '@cngx/common/a11y';
4
4
 
5
5
  /**
@@ -8,7 +8,12 @@ import * as i1 from '@cngx/common/a11y';
8
8
  *
9
9
  * When visible, all sibling elements of the host receive the `inert`
10
10
  * attribute, preventing focus and interaction behind the backdrop.
11
- * This is critical for a11y in modal/drawer overlays.
11
+ * This is critical for a11y in modal/drawer overlays. A sibling drawer
12
+ * panel (`.cngx-drawer-panel`) is excluded - it is the surface the
13
+ * backdrop guards, not content behind it. Siblings that already carry
14
+ * `inert` are left alone, so a consumer-set `inert` survives the
15
+ * show/hide cycle. The sibling set is re-queried on every show, so
16
+ * siblings rendered after init are covered too.
12
17
  *
13
18
  * The directive is purely behavioral - it toggles the
14
19
  * `.cngx-backdrop--visible` class and `aria-hidden` attribute. Visual
@@ -70,7 +75,7 @@ declare class CngxBackdrop {
70
75
  /** Emitted when the backdrop is clicked (and `closeOnClick` is true). */
71
76
  readonly backdropClick: _angular_core.OutputEmitterRef<void>;
72
77
  private readonly el;
73
- private readonly siblings;
78
+ private readonly domReady;
74
79
  constructor();
75
80
  /** @internal */
76
81
  protected handleHostClick(): void;
@@ -136,7 +141,7 @@ declare class CngxDrawer {
136
141
  readonly openedChange: _angular_core.OutputEmitterRef<boolean>;
137
142
  /** Emitted when the drawer closes. Convenience shorthand for close-only listeners. */
138
143
  readonly closed: _angular_core.OutputEmitterRef<void>;
139
- /** Opens the drawer. */
144
+ /** Opens the drawer. No-op when already open. */
140
145
  open(): void;
141
146
  /** Closes the drawer. */
142
147
  close(): void;
@@ -160,10 +165,19 @@ type DrawerMode = 'over' | 'push' | 'side';
160
165
  * the `[enabled]` and `[autoFocus]` inputs from the template.
161
166
  *
162
167
  * Optionally closes the drawer when the user clicks outside the panel
163
- * (`closeOnClickOutside`, default `true`).
168
+ * (`closeOnClickOutside`, default `true`). The click that opened the
169
+ * drawer never counts as an outside click. While closed (except in
170
+ * `side` mode) the panel is `aria-hidden` AND `inert`, so its focusable
171
+ * children are unreachable for keyboard and AT alike. On close, focus
172
+ * returns to the element that was focused when the drawer opened -
173
+ * unless the user moved focus to another focusable element themselves
174
+ * (a click on a focusable outside target keeps its focus).
175
+ *
176
+ * The `role` input defaults to `complementary`. On a `<nav>` host pass
177
+ * `[role]="null"` so the implicit navigation landmark survives:
164
178
  *
165
179
  * ```html
166
- * <nav [cngxDrawerPanel]="drawer" position="left" mode="over"
180
+ * <nav [cngxDrawerPanel]="drawer" position="left" mode="over" [role]="null"
167
181
  * [enabled]="drawer.opened()" [autoFocus]="true">
168
182
  * <a href="/home">Home</a>
169
183
  * </nav>
@@ -195,11 +209,19 @@ declare class CngxDrawerPanel {
195
209
  readonly mode: _angular_core.InputSignal<DrawerMode>;
196
210
  /** Whether clicking outside the panel closes the drawer. */
197
211
  readonly closeOnClickOutside: _angular_core.InputSignal<boolean>;
212
+ /**
213
+ * Landmark role rendered on the panel. Defaults to `complementary`;
214
+ * pass `navigation` for nav drawers or `null` to keep the element's
215
+ * implicit role (e.g. on a `<nav>` host).
216
+ */
217
+ readonly role: _angular_core.InputSignal<string | null>;
198
218
  /** Whether the drawer is currently open (derived from the drawer ref). In `side` mode, always `true`. */
199
219
  readonly isOpen: _angular_core.Signal<boolean>;
220
+ private suppressOutsideClick;
221
+ private restoreTarget;
200
222
  constructor();
201
223
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxDrawerPanel, never>;
202
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDrawerPanel, "[cngxDrawerPanel]", ["cngxDrawerPanel"], { "drawerRef": { "alias": "cngxDrawerPanel"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CngxFocusTrap; inputs: { "enabled": "enabled"; "autoFocus": "autoFocus"; }; outputs: {}; }]>;
224
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxDrawerPanel, "[cngxDrawerPanel]", ["cngxDrawerPanel"], { "drawerRef": { "alias": "cngxDrawerPanel"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "closeOnClickOutside": { "alias": "closeOnClickOutside"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.CngxFocusTrap; inputs: { "enabled": "enabled"; "autoFocus": "autoFocus"; }; outputs: {}; }]>;
203
225
  }
204
226
 
205
227
  /**
@@ -479,6 +501,240 @@ declare class CngxResizeObserver {
479
501
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxResizeObserver, "[cngxResizeObserver]", ["cngxResizeObserver"], { "box": { "alias": "box"; "required": false; "isSignal": true; }; }, { "resize": "resize"; }, never, never, true, never>;
480
502
  }
481
503
 
504
+ /**
505
+ * Structural window surface the resize helpers read: `window`, `globalThis`,
506
+ * or a test double. `ResizeObserver` is optional so SSR and jsdom hosts pass
507
+ * the type and hit the runtime guard instead.
508
+ *
509
+ * @category common/layout/observers
510
+ * @since 0.3.0
511
+ */
512
+ interface ResizeObserverHost {
513
+ ResizeObserver?: typeof ResizeObserver;
514
+ }
515
+ /**
516
+ * Subscribes `apply` to size changes of `element` on `host`.
517
+ *
518
+ * Re-applies on every observation and returns the teardown that disconnects
519
+ * the observer. On a host without `ResizeObserver` (SSR, jsdom) nothing is
520
+ * wired, `apply` never fires, and the returned teardown is a no-op. Unlike the
521
+ * media-query twin there is no synchronous seed: the first size is whatever the
522
+ * observer reports after the next layout.
523
+ *
524
+ * Reach for this low-level form when the observed element or the box model is
525
+ * reactive and the subscription must follow it (re-wire per `effect` run via
526
+ * `onCleanup`); for a static target, {@link createResizeSignal} owns the
527
+ * teardown via `DestroyRef`.
528
+ *
529
+ * @param host The window-like object to read `ResizeObserver` from.
530
+ * @param element The element to observe.
531
+ * @param box Which box model to report.
532
+ * @param apply Receives the first entry of every observation batch.
533
+ * @returns Teardown that disconnects the observer.
534
+ * @category common/layout/observers
535
+ * @relatedTo createResizeSignal, observeMediaQuery
536
+ * @since 0.1.0
537
+ */
538
+ declare function observeResize(host: ResizeObserverHost | null | undefined, element: Element, box: ResizeObserverBoxOptions, apply: (entry: ResizeObserverEntry) => void): () => void;
539
+ /**
540
+ * Creates a `Signal<ResizeObserverEntry | null>` that carries the most recent
541
+ * observation of `element`, `null` until the first one arrives.
542
+ *
543
+ * Disconnects when `destroyRef` is destroyed. On a host without
544
+ * `ResizeObserver` (SSR, jsdom) the signal stays `null` and no observer is
545
+ * created, so it never throws off the browser.
546
+ *
547
+ * This is the shared kernel behind `CngxResizeObserver` and
548
+ * `createContainerSize`; consumers that hand-roll a `ResizeObserver` should
549
+ * route through it instead.
550
+ *
551
+ * ```typescript
552
+ * const entry = createResizeSignal(
553
+ * host,
554
+ * 'border-box',
555
+ * inject(DestroyRef),
556
+ * inject(DOCUMENT).defaultView,
557
+ * );
558
+ * const width = computed(() => entry()?.borderBoxSize[0]?.inlineSize ?? 0);
559
+ * ```
560
+ *
561
+ * @param element The element to observe.
562
+ * @param box Which box model to report.
563
+ * @param destroyRef Scope whose destruction disconnects the observer.
564
+ * @param host The window-like object to read `ResizeObserver` from.
565
+ * @returns A readonly signal carrying the latest entry.
566
+ * @category common/layout/observers
567
+ * @relatedTo observeResize, createMediaQuerySignal
568
+ * @since 0.1.0
569
+ */
570
+ declare function createResizeSignal(element: Element, box: ResizeObserverBoxOptions, destroyRef: DestroyRef, host: ResizeObserverHost | null | undefined): Signal<ResizeObserverEntry | null>;
571
+
572
+ /**
573
+ * Reactive read of a query container: its size, and the custom properties its
574
+ * `@container` rules resolved to.
575
+ *
576
+ * @category common/layout/observers
577
+ * @since 0.1.0
578
+ */
579
+ interface CngxContainerSize {
580
+ /** Border-box inline size in pixels. `0` before the first observation. */
581
+ readonly inlineSize: Signal<number>;
582
+ /** Border-box block size in pixels. `0` before the first observation. */
583
+ readonly blockSize: Signal<number>;
584
+ /** `true` once the first observation has arrived. */
585
+ readonly isReady: Signal<boolean>;
586
+ /**
587
+ * The resolved value of a custom property, re-read on every resize of the
588
+ * container.
589
+ *
590
+ * **The `@container` rule must style a descendant, never the container
591
+ * itself.** A container query resolves against an *ancestor* query container
592
+ * of the element it styles, so a rule whose subject is the container element
593
+ * matches nothing and the property never changes. Pass that descendant as
594
+ * `on`; it defaults to the container host, which is only correct for
595
+ * properties no container query writes.
596
+ *
597
+ * A component that is container and reader at once has no descendant to
598
+ * carry the value. Pass `pseudo` instead: the query container for a
599
+ * pseudo-element is selected from its originating element's *inclusive*
600
+ * ancestors, so `.host::after` resolves against `.host` while a rule on
601
+ * `.host` itself still matches nothing. No sentinel node enters the
602
+ * template.
603
+ *
604
+ * ```css
605
+ * .cngx-thing::after { --cngx-thing-narrow: 0; }
606
+ * &#64;container cngx-thing (max-inline-size: 30rem) {
607
+ * .cngx-thing::after { --cngx-thing-narrow: 1; }
608
+ * }
609
+ * ```
610
+ *
611
+ * Returns the empty string before the first observation and in environments
612
+ * without layout (SSR, jsdom).
613
+ */
614
+ property(name: string, on?: Element, pseudo?: '::before' | '::after'): Signal<string>;
615
+ }
616
+ /**
617
+ * The nearest query container declared by {@link CngxContainer}.
618
+ *
619
+ * Deliberately has no root factory: absence is meaningful. A component that
620
+ * needs a container and finds none must say so (a dev-mode warning), not
621
+ * silently observe itself.
622
+ *
623
+ * @category common/layout/observers
624
+ * @since 0.1.0
625
+ */
626
+ declare const CNGX_CONTAINER_SIZE: InjectionToken<CngxContainerSize>;
627
+ /**
628
+ * Creates a {@link CngxContainerSize} over `element`.
629
+ *
630
+ * Observes the border box, so the reported size matches what an
631
+ * `inline-size` container query measures. The `property()` reads are plain
632
+ * `computed()`s over the same resize signal - the browser has already
633
+ * re-evaluated every container query by the time a `ResizeObserver` callback
634
+ * runs, so the read returns the current value without a second scheduling hop.
635
+ *
636
+ * @param element The container host.
637
+ * @param destroyRef Scope whose destruction disconnects the observer.
638
+ * @param win The window-like object providing `ResizeObserver` and `getComputedStyle`.
639
+ * @category common/layout/observers
640
+ * @relatedTo injectContainerSize, CngxContainer
641
+ * @since 0.1.0
642
+ */
643
+ declare function createContainerSize(element: Element, destroyRef: DestroyRef, win: (ResizeObserverHost & Pick<Window, 'getComputedStyle'>) | null | undefined): CngxContainerSize;
644
+ /**
645
+ * Reads the nearest query container declared by a `[cngxContainer]` ancestor,
646
+ * or observes `target` (default: the host element) when there is none.
647
+ *
648
+ * Use it where a component must branch structurally on the width it was given
649
+ * - a different template, a focus move, an `aria-modal` flip. Purely visual
650
+ * adaptation needs no TypeScript at all: write a `@container` rule.
651
+ *
652
+ * ```typescript
653
+ * private readonly container = inject(CNGX_CONTAINER_SIZE, { optional: true });
654
+ * private readonly wide = this.container?.property('--cngx-thing-wide', this.host) ?? signal('').asReadonly();
655
+ * readonly mode = computed(() => (this.wide() === '1' ? 'side' : 'over'));
656
+ * ```
657
+ *
658
+ * A component that declares the container in its own stylesheet and reads it
659
+ * itself passes its host explicitly and reads the property off `::after` -
660
+ * there is no descendant to carry the value:
661
+ *
662
+ * ```typescript
663
+ * private readonly host = inject(ElementRef).nativeElement as Element;
664
+ * private readonly container = injectContainerSize(this.host);
665
+ * private readonly narrow = this.container.property('--cngx-thing-narrow', this.host, '::after');
666
+ * ```
667
+ *
668
+ * @param target Element to observe when no ancestor container exists.
669
+ * @category common/layout/observers
670
+ * @relatedTo CngxContainer, injectMediaQuery
671
+ * @since 0.1.0
672
+ */
673
+ declare function injectContainerSize(target?: ElementRef<Element> | Element): CngxContainerSize;
674
+
675
+ /**
676
+ * Observes a query container and publishes its size to descendants through
677
+ * {@link CNGX_CONTAINER_SIZE}.
678
+ *
679
+ * The directive declares nothing visual. **Both `container-type` and
680
+ * `container-name` belong in the stylesheet**, next to the `@container` rules
681
+ * that use them: the name is API (an unnamed query matches the nearest
682
+ * container of any name, so a consumer wrapping the component in their own
683
+ * container would silently re-target it), and containment is a layout
684
+ * decision a skin must be able to opt out of with a plain CSS rule rather
685
+ * than `!important` against a host style.
686
+ *
687
+ * ```css
688
+ * cngx-thing-layout {
689
+ * container-type: inline-size;
690
+ * container-name: cngx-thing-layout;
691
+ * }
692
+ *
693
+ * cngx-thing-layout > cngx-thing { --cngx-thing-wide: 0; }
694
+ *
695
+ * @container cngx-thing-layout (min-inline-size: 64rem) {
696
+ * cngx-thing-layout > cngx-thing { --cngx-thing-wide: 1; }
697
+ * }
698
+ * ```
699
+ *
700
+ * ```html
701
+ * <div cngxContainer>
702
+ * <app-panel />
703
+ * </div>
704
+ * ```
705
+ *
706
+ * A descendant reads the resolved value with `injectContainerSize()`, so the
707
+ * breakpoint exists exactly once - in CSS. Note that `container-type:
708
+ * inline-size` applies size containment: an element that must shrink-wrap its
709
+ * content (an inline chip, a `width: max-content` bar) must not be a
710
+ * container.
711
+ *
712
+ * @category common/layout
713
+ * @docsKind primary
714
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/common/layout/observers/container.directive.ts
715
+ * @since 0.1.0
716
+ * @relatedTo injectContainerSize, CngxResizeObserver, CngxMediaQuery
717
+ * <example-url>http://localhost:4200/#/common/layout/container/css-decides-js-reads</example-url>
718
+ */
719
+ declare class CngxContainer implements CngxContainerSize {
720
+ private readonly size;
721
+ /** Border-box inline size in pixels. `0` before the first observation. */
722
+ readonly inlineSize: Signal<number>;
723
+ /** Border-box block size in pixels. `0` before the first observation. */
724
+ readonly blockSize: Signal<number>;
725
+ /** `true` once the first observation has arrived. */
726
+ readonly isReady: Signal<boolean>;
727
+ /**
728
+ * The resolved value of a custom property on `on` (default: this host),
729
+ * re-read on every resize. The `@container` rule must style a descendant,
730
+ * or a pseudo-element of the container itself - see
731
+ * {@link CngxContainerSize.property}.
732
+ */
733
+ property(name: string, on?: Element, pseudo?: '::before' | '::after'): Signal<string>;
734
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxContainer, never>;
735
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxContainer, "[cngxContainer]", ["cngxContainer"], {}, {}, never, never, true, never>;
736
+ }
737
+
482
738
  /**
483
739
  * Prevents scrolling on the document body when enabled.
484
740
  *
@@ -544,6 +800,187 @@ declare class CngxScrollLock {
544
800
  * @relatedTo CngxScrollLock, CngxDialog
545
801
  */
546
802
  declare function createScrollLock(html: HTMLElement): () => void;
803
+ /**
804
+ * Acquire a ref-counted scroll lock that pins the page body in place, for
805
+ * overlays that must hold on iOS Safari.
806
+ *
807
+ * `overflow: hidden` on the root does not stop iOS Safari from scrolling a
808
+ * page that was already scrolled, and the visual viewport drifts with it, so
809
+ * a bottom-fixed overlay ends above the visible bottom. The first pin saves
810
+ * the body's inline `position`, `top`, `inset-inline` and `overflow` and the
811
+ * scroll position, fixes the body at `top: -scrollY`, and acquires
812
+ * {@link createScrollLock} on the root. The last
813
+ * release restores the body, releases the root lock and scrolls back to the
814
+ * saved position. The returned release function is idempotent.
815
+ *
816
+ * `CngxDialog` and `CngxScrollLock` keep {@link createScrollLock}; reach for
817
+ * this one when the overlay is pinned to the viewport bottom on touch devices.
818
+ *
819
+ * ```typescript
820
+ * const release = createPinnedScrollLock(document.documentElement);
821
+ * // ... sheet open ...
822
+ * release();
823
+ * ```
824
+ *
825
+ * @param html - The document root (`document.documentElement`) to lock.
826
+ * @returns Release function for this acquisition. Idempotent.
827
+ *
828
+ * @category common/layout
829
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/common/layout/scroll/scroll-lock-core.ts
830
+ * @since 0.1.0
831
+ * @relatedTo createScrollLock, CngxPopoverSheet
832
+ */
833
+ declare function createPinnedScrollLock(html: HTMLElement): () => void;
834
+
835
+ /**
836
+ * Reports which edges of a scrollport still hide content and reflects them as
837
+ * host attributes, so an edge shadow or fade appears only while there really
838
+ * is something to scroll to in that direction.
839
+ *
840
+ * Put it on the element that scrolls (`overflow: auto` / `scroll`). The four
841
+ * signals and the four logical host attributes are derived from one read of
842
+ * the scroll metrics per animation frame; the attributes are present (empty
843
+ * value) while true and absent otherwise:
844
+ *
845
+ * - `data-scroll-block-start` / `canScrollBlockStart()` - content hidden above
846
+ * - `data-scroll-block-end` / `canScrollBlockEnd()` - content hidden below
847
+ * - `data-scroll-inline-start` / `canScrollInlineStart()` - hidden toward inline start
848
+ * - `data-scroll-inline-end` / `canScrollInlineEnd()` - hidden toward inline end
849
+ *
850
+ * Inline start / end follow the writing direction: in `dir="rtl"` the start
851
+ * edge is on the right. The direction is derived from the scroll offset
852
+ * itself, so a `dir="rtl"` subtree inside an LTR page reports correctly.
853
+ *
854
+ * The directive paints nothing. The four attributes (present only while true)
855
+ * are its public, stable contract; every visual belongs to the consumer CSS,
856
+ * keyed on them. Three common cues:
857
+ *
858
+ * Shadow (Material 2 elevate-on-scroll):
859
+ *
860
+ * ```css
861
+ * .sheet[data-scroll-block-start] .bar { box-shadow: 0 2px 4px -2px rgb(0 0 0 / 0.3); }
862
+ * ```
863
+ *
864
+ * Hairline that appears (iOS scroll-edge appearance; transparent border at rest):
865
+ *
866
+ * ```css
867
+ * .sheet[data-scroll-block-start] .bar { border-block-end-color: var(--cngx-color-border); }
868
+ * ```
869
+ *
870
+ * Tonal surface change (Material 3 top app bar):
871
+ *
872
+ * ```css
873
+ * .sheet[data-scroll-block-start] .bar { background: var(--app-bar-scrolled-surface); }
874
+ * ```
875
+ *
876
+ * Forced colors strips `box-shadow`, so a shadow-only cue disappears there;
877
+ * prefer a border or pair the shadow with one under `forced-colors: active`.
878
+ *
879
+ * ```html
880
+ * <div class="sheet" cngxScrollEdges #edges="cngxScrollEdges">...</div>
881
+ * ```
882
+ *
883
+ * The edge state is purely visual and is not announced: the hidden content
884
+ * stays in the DOM and in the reading order, and the scrollport remains
885
+ * reachable by keyboard scrolling. Make the scrollport focusable (and named)
886
+ * when it holds no focusable content of its own.
887
+ *
888
+ * Upgrade path: the attributes map 1:1 onto CSS
889
+ * `@container scroll-state(scrollable: block-start)` and its siblings, so the
890
+ * CSS can swap to native scroll-state queries once they are Baseline.
891
+ *
892
+ * @category common/layout
893
+ * @docsKind primary
894
+ * @wcag AA
895
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/common/layout/scroll/scroll-edges.directive.ts
896
+ * @since 0.1.0
897
+ * @relatedTo CngxStickyHeader, CngxScrollSpy, createScrollEdges
898
+ * <example-url>http://localhost:4200/#/common/layout/scroll-edges/edge-shadows</example-url>
899
+ */
900
+ declare class CngxScrollEdges {
901
+ private readonly edges;
902
+ /** Content is hidden toward the block-start edge (above). */
903
+ readonly canScrollBlockStart: _angular_core.Signal<boolean>;
904
+ /** Content is hidden toward the block-end edge (below). */
905
+ readonly canScrollBlockEnd: _angular_core.Signal<boolean>;
906
+ /** Content is hidden toward the inline-start edge (left in LTR, right in RTL). */
907
+ readonly canScrollInlineStart: _angular_core.Signal<boolean>;
908
+ /** Content is hidden toward the inline-end edge (right in LTR, left in RTL). */
909
+ readonly canScrollInlineEnd: _angular_core.Signal<boolean>;
910
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxScrollEdges, never>;
911
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxScrollEdges, "[cngxScrollEdges]", ["cngxScrollEdges"], {}, {}, never, never, true, never>;
912
+ }
913
+
914
+ /**
915
+ * Structural window surface `createScrollEdges` reads: `window`, `globalThis`,
916
+ * or a test double. Every member is optional so SSR and jsdom hosts pass the
917
+ * type and fall back at runtime: no `ResizeObserver` means no resize
918
+ * tracking, no `MutationObserver` means the child set is captured once, no
919
+ * `requestAnimationFrame` means every trigger reads synchronously.
920
+ *
921
+ * @category common/layout
922
+ * @since 0.1.0
923
+ */
924
+ interface ScrollEdgesHost extends ResizeObserverHost {
925
+ MutationObserver?: typeof MutationObserver;
926
+ requestAnimationFrame?: (callback: FrameRequestCallback) => number;
927
+ cancelAnimationFrame?: (handle: number) => void;
928
+ }
929
+ /**
930
+ * Per-edge scroll state of one scrollport. Each signal is `true` while content
931
+ * is hidden toward that edge, i.e. while the user can still scroll toward it.
932
+ *
933
+ * @category common/layout
934
+ * @since 0.1.0
935
+ */
936
+ interface CngxScrollEdgesState {
937
+ /** Content is hidden above (toward the block-start edge). */
938
+ readonly canScrollBlockStart: Signal<boolean>;
939
+ /** Content is hidden below (toward the block-end edge). */
940
+ readonly canScrollBlockEnd: Signal<boolean>;
941
+ /** Content is hidden toward the inline-start edge (left in LTR, right in RTL). */
942
+ readonly canScrollInlineStart: Signal<boolean>;
943
+ /** Content is hidden toward the inline-end edge (right in LTR, left in RTL). */
944
+ readonly canScrollInlineEnd: Signal<boolean>;
945
+ }
946
+ /**
947
+ * Tracks which edges of a scrollport still hide content, as four boolean
948
+ * signals.
949
+ *
950
+ * Triggers are a passive `scroll` listener, one `observeResize` per observed
951
+ * element (the scrollport itself plus every direct element child) and a
952
+ * `childList`-only `MutationObserver` that keeps that child set current. All
953
+ * of them only schedule work: the metrics are read once per animation frame
954
+ * however many triggers fired, and the result lands in one snapshot signal
955
+ * with a structural `equal`, so the four projections only notify when an edge
956
+ * actually flips. A distance of 1px or less counts as "at the edge".
957
+ *
958
+ * Only direct children are resize-observed. A long item list should sit inside
959
+ * one content element rather than be N direct children (one observer each);
960
+ * growth deep inside a fixed-size child is picked up on the next scroll.
961
+ *
962
+ * A `null` host (SSR) wires nothing and all four signals stay `false`.
963
+ *
964
+ * ```typescript
965
+ * const edges = createScrollEdges(
966
+ * inject(ElementRef).nativeElement,
967
+ * inject(DestroyRef),
968
+ * inject(DOCUMENT).defaultView,
969
+ * );
970
+ * const showTopShadow = edges.canScrollBlockStart;
971
+ * ```
972
+ *
973
+ * @param element The scrollport to read.
974
+ * @param destroyRef Scope whose destruction removes the listener, disconnects
975
+ * every observer and cancels a pending frame.
976
+ * @param host The window-like object to read the observer and frame APIs from.
977
+ * @returns The four per-edge signals.
978
+ * @category common/layout
979
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/common/layout/scroll/scroll-edges-core.ts
980
+ * @since 0.1.0
981
+ * @relatedTo CngxScrollEdges, observeResize
982
+ */
983
+ declare function createScrollEdges(element: HTMLElement, destroyRef: DestroyRef, host: ScrollEdgesHost | null | undefined): CngxScrollEdgesState;
547
984
 
548
985
  /**
549
986
  * Headless skeleton loading placeholder.
@@ -622,7 +1059,9 @@ declare class CngxSkeleton {
622
1059
  *
623
1060
  * The observer is automatically recreated when `root`, `rootMargin`, or
624
1061
  * `threshold` inputs change, and disconnected on destroy or when `enabled`
625
- * is set to `false`.
1062
+ * is set to `false`. When `loading` settles back to `false` the sentinel is
1063
+ * re-observed, so a fetched page that did not push the sentinel out of view
1064
+ * still re-fires `loadMore` instead of stalling the list.
626
1065
  *
627
1066
  * ### Basic infinite list
628
1067
  * ```html
@@ -684,6 +1123,7 @@ declare class CngxInfiniteScroll {
684
1123
  private readonly el;
685
1124
  private readonly doc;
686
1125
  private lastEmitTime;
1126
+ private observer;
687
1127
  constructor();
688
1128
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxInfiniteScroll, never>;
689
1129
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxInfiniteScroll, "[cngxInfiniteScroll]", ["cngxInfiniteScroll"], { "threshold": { "alias": "threshold"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "debounceMs": { "alias": "debounceMs"; "required": false; "isSignal": true; }; }, { "loadMore": "loadMore"; }, never, never, true, never>;
@@ -704,7 +1144,8 @@ declare class CngxInfiniteScroll {
704
1144
  * `isSticky()` reports the state the host actually has. A scrollport whose
705
1145
  * height is content-driven never scrolls in the block axis, so a header inside
706
1146
  * it never pins; in dev mode the directive warns once when it resolves against
707
- * such a scrollport.
1147
+ * such a scrollport. The observer is recreated when `threshold` changes,
1148
+ * matching the sibling observer directives.
708
1149
  *
709
1150
  * ### Sticky header with shadow
710
1151
  * ```html
@@ -736,14 +1177,17 @@ declare class CngxStickyHeader {
736
1177
  readonly isSticky: _angular_core.Signal<boolean>;
737
1178
  private readonly el;
738
1179
  private readonly doc;
1180
+ /** Sentinel + scrollport resolved once after render; the observer effect keys on it. */
1181
+ private readonly observeSetup;
739
1182
  constructor();
740
1183
  /**
741
1184
  * The nearest ancestor that is a scroll container in the block axis - the scrollport
742
1185
  * `position: sticky` resolves against. Walks up from the host's parent to the first
743
- * ancestor whose computed `overflow-y` is not `visible`; `null` means no such
744
- * ancestor, i.e. the header sticks to the viewport. A used `overflow-x` other than
745
- * `visible` coerces the computed `overflow-y` to `auto`, so this also catches a
746
- * horizontal scroll container (e.g. a data grid that scrolls sideways).
1186
+ * ancestor whose computed `overflow-y` is `auto`, `scroll` or `hidden`; `null` means
1187
+ * no such ancestor, i.e. the header sticks to the viewport. `clip` clips without
1188
+ * creating a scroll container, so it is skipped. A used `overflow-x` of `auto`,
1189
+ * `scroll` or `hidden` coerces the computed `overflow-y` to `auto`, so this also
1190
+ * catches a horizontal scroll container (e.g. a data grid that scrolls sideways).
747
1191
  */
748
1192
  private resolveScrollParent;
749
1193
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxStickyHeader, never>;
@@ -757,6 +1201,10 @@ declare class CngxStickyHeader {
757
1201
  * and reports the one with the highest intersection ratio as the active section.
758
1202
  * Ideal for scroll-based navigation highlighting and reading progress.
759
1203
  *
1204
+ * Section IDs are resolved when the inputs change - sections rendered later
1205
+ * (`@if`/`@defer`) are not picked up automatically; re-bind `[cngxScrollSpy]`
1206
+ * once they exist. In dev mode the directive warns about IDs it cannot find.
1207
+ *
760
1208
  * ### Navigation highlighting
761
1209
  * ```html
762
1210
  * <nav [cngxScrollSpy]="['intro', 'features', 'pricing']"
@@ -844,16 +1292,16 @@ declare class CngxTruncate {
844
1292
  /** Whether the text content actually exceeds the line limit and is being clamped. */
845
1293
  readonly isClamped: _angular_core.Signal<boolean>;
846
1294
  private readonly el;
847
- private observer;
1295
+ private stopResize;
848
1296
  private rafHandle;
849
1297
  /** @internal */
850
- protected clampValue: () => string | null;
1298
+ protected readonly clampValue: _angular_core.Signal<string | null>;
851
1299
  /** @internal */
852
- protected displayValue: () => "-webkit-box" | null;
1300
+ protected readonly displayValue: _angular_core.Signal<"-webkit-box" | null>;
853
1301
  /** @internal */
854
- protected orientValue: () => "vertical" | null;
1302
+ protected readonly orientValue: _angular_core.Signal<"vertical" | null>;
855
1303
  /** @internal */
856
- protected overflowValue: () => "hidden" | null;
1304
+ protected readonly overflowValue: _angular_core.Signal<"hidden" | null>;
857
1305
  constructor();
858
1306
  private cancelRaf;
859
1307
  /**
@@ -875,7 +1323,9 @@ declare class CngxTruncate {
875
1323
  * construction. The `<mark>` element has correct native SR semantics (announced
876
1324
  * as "highlighted" in most screen readers).
877
1325
  *
878
- * Original DOM structure is restored when the term changes or the directive is destroyed.
1326
+ * The original text nodes are kept by reference and re-inserted when the
1327
+ * term changes or the directive is destroyed - Angular bindings targeting
1328
+ * them (interpolations, structural directives) stay live.
879
1329
  *
880
1330
  * ### Search result highlighting
881
1331
  * ```html
@@ -910,8 +1360,13 @@ declare class CngxHighlight {
910
1360
  readonly matchCount: _angular_core.Signal<number>;
911
1361
  private readonly el;
912
1362
  private readonly doc;
913
- /** Snapshot of original child nodes - restored before each re-highlight. */
914
- private originalNodes;
1363
+ /**
1364
+ * The text nodes replaced by the current highlight pass, by reference,
1365
+ * with the nodes standing in for them. Undone before every re-highlight
1366
+ * and on destroy - re-inserting the original references keeps LView
1367
+ * bindings (interpolations) attached to live DOM.
1368
+ */
1369
+ private replacements;
915
1370
  private readonly initialized;
916
1371
  constructor();
917
1372
  /**
@@ -919,8 +1374,7 @@ declare class CngxHighlight {
919
1374
  * in `<mark>` elements. Updates `matchCountState` with the result count.
920
1375
  */
921
1376
  private applyHighlight;
922
- /** Restores the original DOM structure. */
923
- private restore;
1377
+ /** Puts the original text nodes back and removes the highlight nodes. */
924
1378
  private restoreNodes;
925
1379
  /** Escapes special regex characters in the search term. */
926
1380
  private escapeRegex;
@@ -962,7 +1416,6 @@ interface CngxExpandableToggleContext {
962
1416
  */
963
1417
  declare class CngxExpandableToggle {
964
1418
  readonly templateRef: TemplateRef<CngxExpandableToggleContext>;
965
- constructor(templateRef: TemplateRef<CngxExpandableToggleContext>);
966
1419
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxExpandableToggle, never>;
967
1420
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CngxExpandableToggle, "ng-template[cngxExpandableToggle]", never, {}, {}, never, never, true, never>;
968
1421
  }
@@ -1012,21 +1465,139 @@ declare class CngxExpandableToggle {
1012
1465
  * <example-url>http://localhost:4200/#/common/layout/expandable-text/custom-toggle-template</example-url>
1013
1466
  */
1014
1467
  declare class CngxExpandableText {
1468
+ private readonly i18n;
1015
1469
  /** Maximum visible lines when collapsed. */
1016
1470
  readonly lines: _angular_core.InputSignal<number>;
1017
1471
  /** Whether the text is expanded. Supports two-way `[(expanded)]` binding. */
1018
1472
  readonly expanded: _angular_core.ModelSignal<boolean>;
1019
- /** Label for the "show more" button. */
1020
- readonly moreLabel: _angular_core.InputSignal<string>;
1021
- /** Label for the "show less" button. */
1022
- readonly lessLabel: _angular_core.InputSignal<string>;
1473
+ /**
1474
+ * Label for the "show more" button. Unbound, it follows
1475
+ * `CNGX_LAYOUT_I18N.expandableTextMore`.
1476
+ */
1477
+ readonly moreLabel: _angular_core.InputSignal<string | undefined>;
1478
+ /**
1479
+ * Label for the "show less" button. Unbound, it follows
1480
+ * `CNGX_LAYOUT_I18N.expandableTextLess`.
1481
+ */
1482
+ readonly lessLabel: _angular_core.InputSignal<string | undefined>;
1483
+ protected readonly resolvedMoreLabel: _angular_core.Signal<string>;
1484
+ protected readonly resolvedLessLabel: _angular_core.Signal<string>;
1023
1485
  /** Optional custom toggle template projected by the consumer. */
1024
1486
  protected readonly customToggle: _angular_core.Signal<CngxExpandableToggle | undefined>;
1025
- /** Template context for the custom toggle. */
1026
- protected toggleContext(): CngxExpandableToggleContext;
1487
+ /** Stable toggle closure - a fresh closure per context would defeat the equal fn below. */
1488
+ private readonly toggleFn;
1489
+ /**
1490
+ * Template context for the custom toggle. Structural `equal` fn so
1491
+ * `ngTemplateOutletContext` does not rebind the embedded view on every
1492
+ * CD cycle (same rule as the CngxTag slot contexts).
1493
+ */
1494
+ protected readonly toggleContext: _angular_core.Signal<CngxExpandableToggleContext>;
1027
1495
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CngxExpandableText, never>;
1028
1496
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CngxExpandableText, "cngx-expandable-text", ["cngxExpandableText"], { "lines": { "alias": "lines"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "moreLabel": { "alias": "moreLabel"; "required": false; "isSignal": true; }; "lessLabel": { "alias": "lessLabel"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, ["customToggle"], ["*"], true, never>;
1029
1497
  }
1030
1498
 
1031
- export { CngxBackdrop, CngxDrawer, CngxDrawerContent, CngxDrawerPanel, CngxExpandableText, CngxExpandableToggle, CngxHighlight, CngxInfiniteScroll, CngxIntersectionObserver, CngxMediaQuery, CngxResizeObserver, CngxScrollLock, CngxScrollSpy, CngxSkeleton, CngxStickyHeader, CngxTruncate, createScrollLock, injectMediaQuery, injectQueryParamSync };
1032
- export type { CngxExpandableToggleContext, DrawerMode, DrawerPosition, QueryParamSyncOptions };
1499
+ /**
1500
+ * The layout section of a {@link CngxLanguagePack}: the copy of the
1501
+ * `@cngx/common/layout` atoms. It feeds `CNGX_LAYOUT_I18N`.
1502
+ *
1503
+ * @category common/layout/i18n
1504
+ * @since 0.1.0
1505
+ * @relatedTo CNGX_LAYOUT_I18N
1506
+ */
1507
+ interface CngxLayoutLanguageSection {
1508
+ /** Label of the `CngxExpandableText` expand control. */
1509
+ readonly expandableTextMore: string;
1510
+ /** Label of the `CngxExpandableText` collapse control. */
1511
+ readonly expandableTextLess: string;
1512
+ }
1513
+ /**
1514
+ * The English layout section: the single source of the layout atoms'
1515
+ * English copy. `CNGX_LAYOUT_I18N` defaults to it.
1516
+ *
1517
+ * @category common/layout/i18n
1518
+ * @since 0.1.0
1519
+ * @relatedTo CNGX_LAYOUT_I18N
1520
+ */
1521
+ declare const CNGX_LAYOUT_LANGUAGE_EN: CngxLayoutLanguageSection;
1522
+ declare module '@cngx/core/i18n' {
1523
+ interface CngxLanguagePack {
1524
+ readonly layout: CngxLayoutLanguageSection;
1525
+ }
1526
+ }
1527
+
1528
+ /**
1529
+ * Layout i18n surface. Library defaults are English; consumers override via
1530
+ * {@link provideLayoutI18n}. Reactive from birth: the token carries a
1531
+ * `Signal`, and {@link withLayoutI18nLabels} accepts a `Signal` of a partial
1532
+ * bundle.
1533
+ *
1534
+ * Both keys are the fallback of the `CngxExpandableText` `moreLabel` /
1535
+ * `lessLabel` inputs, resolved in a `computed()`: a bound input wins, and an
1536
+ * unbound one follows a language switch. The same shape as the layout
1537
+ * section of a language pack, declared once as
1538
+ * {@link CngxLayoutLanguageSection}.
1539
+ *
1540
+ * @category common/layout/i18n
1541
+ * @since 0.1.0
1542
+ */
1543
+ type CngxLayoutI18n = CngxLayoutLanguageSection;
1544
+ /**
1545
+ * DI token for the layout i18n bundle. `providedIn: 'root'`: the layout
1546
+ * section of the active language pack over the English defaults; the value
1547
+ * is a `Signal`, shared by every reader under one injector.
1548
+ *
1549
+ * @category common/layout/i18n
1550
+ * @wcag AA
1551
+ * @github https://github.com/cngxjs/cngx/blob/main/projects/common/layout/i18n/layout-i18n.ts
1552
+ * @since 0.1.0
1553
+ * @relatedTo CngxExpandableText
1554
+ */
1555
+ declare const CNGX_LAYOUT_I18N: InjectionToken<Signal<CngxLayoutLanguageSection>>;
1556
+ /**
1557
+ * Branded feature-fn for {@link provideLayoutI18n}.
1558
+ *
1559
+ * @category common/layout/i18n
1560
+ * @since 0.1.0
1561
+ */
1562
+ type CngxLayoutI18nFeature = ((bundle: Signal<CngxLayoutI18n>) => Signal<CngxLayoutI18n>) & {
1563
+ readonly _target: 'i18n';
1564
+ };
1565
+ /**
1566
+ * Override layout labels via a partial bundle - unset keys keep the
1567
+ * language pack's copy, or the English default. Pass a `Signal` of a partial
1568
+ * bundle to switch languages at runtime.
1569
+ *
1570
+ * @category common/layout/i18n
1571
+ * @since 0.1.0
1572
+ */
1573
+ declare function withLayoutI18nLabels(overrides: Partial<CngxLayoutI18n> | Signal<Partial<CngxLayoutI18n>>): CngxLayoutI18nFeature;
1574
+ /**
1575
+ * Provider for the layout i18n bundle. Returns a plain `Provider`, so it
1576
+ * also scopes a subtree through `viewProviders`. The features apply on top
1577
+ * of the active language pack.
1578
+ *
1579
+ * ```ts
1580
+ * bootstrapApplication(AppComponent, {
1581
+ * providers: [
1582
+ * provideLayoutI18n(
1583
+ * withLayoutI18nLabels({ expandableTextMore: 'Mehr anzeigen', expandableTextLess: 'Weniger anzeigen' }),
1584
+ * ),
1585
+ * ],
1586
+ * });
1587
+ * ```
1588
+ *
1589
+ * @category common/layout/i18n
1590
+ * @since 0.1.0
1591
+ */
1592
+ declare function provideLayoutI18n(...features: readonly CngxLayoutI18nFeature[]): Provider;
1593
+ /**
1594
+ * Inject the resolved layout i18n bundle signal. Read it inside a
1595
+ * `computed()` or template so a runtime override flip re-derives.
1596
+ *
1597
+ * @category common/layout/i18n
1598
+ * @since 0.1.0
1599
+ */
1600
+ declare function injectLayoutI18n(): Signal<CngxLayoutI18n>;
1601
+
1602
+ export { CNGX_CONTAINER_SIZE, CNGX_LAYOUT_I18N, CNGX_LAYOUT_LANGUAGE_EN, CngxBackdrop, CngxContainer, CngxDrawer, CngxDrawerContent, CngxDrawerPanel, CngxExpandableText, CngxExpandableToggle, CngxHighlight, CngxInfiniteScroll, CngxIntersectionObserver, CngxMediaQuery, CngxResizeObserver, CngxScrollEdges, CngxScrollLock, CngxScrollSpy, CngxSkeleton, CngxStickyHeader, CngxTruncate, createContainerSize, createPinnedScrollLock, createResizeSignal, createScrollEdges, createScrollLock, injectContainerSize, injectLayoutI18n, injectMediaQuery, injectQueryParamSync, observeResize, provideLayoutI18n, withLayoutI18nLabels };
1603
+ export type { CngxContainerSize, CngxExpandableToggleContext, CngxLayoutI18n, CngxLayoutI18nFeature, CngxLayoutLanguageSection, CngxScrollEdgesState, DrawerMode, DrawerPosition, QueryParamSyncOptions, ResizeObserverHost, ScrollEdgesHost };