@thalassic/ui 22.26.0 → 22.28.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.
@@ -1,19 +1,20 @@
1
1
  import * as i0 from '@angular/core';
2
- import { TemplateRef, ElementRef, ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, InjectionToken, TrackByFunction, OutputEmitterRef, Type, EnvironmentProviders, Provider, OnDestroy, Renderer2, Injector, OnInit, ComponentRef } from '@angular/core';
2
+ import { TemplateRef, ElementRef, ModelSignal, InputSignal, WritableSignal, Signal, InputSignalWithTransform, OutputEmitterRef, InjectionToken, Renderer2, Injector, TrackByFunction, Type, EnvironmentProviders, OnInit, OnDestroy, Provider, ComponentRef } from '@angular/core';
3
3
  import { FormUiControl, WithOptionalFieldTree, ValidationError, FormValueControl, FormCheckboxControl, ReadonlyFieldTree } from '@angular/forms/signals';
4
4
  import { FlexibleConnectedPositionStrategyOrigin, ConnectedPosition } from '@angular/cdk/overlay';
5
5
  import { Day, Locale } from 'date-fns';
6
6
  import * as i1 from '@thalassic/core';
7
- import { SwipeEvent, PanEvent, Point, breakpoint } from '@thalassic/core';
7
+ import { PanEvent, Point, breakpoint, SwipeEvent } from '@thalassic/core';
8
8
  import * as _thalassic_ui from '@thalassic/ui';
9
- import { CdkDialogContainer, DialogRef as DialogRef$1, DialogRole } from '@angular/cdk/dialog';
9
+ import { CdkDialogContainer, DialogRef as DialogRef$1, DialogRole, AutoFocusTarget } from '@angular/cdk/dialog';
10
10
  import { Observable } from 'rxjs';
11
+ import * as i1$1 from '@angular/cdk/scrolling';
12
+ import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/scrolling';
11
13
  import { ComponentType } from '@angular/cdk/portal';
12
14
  import { SafeHtml } from '@angular/platform-browser';
13
15
  import { Router, ActivatedRoute } from '@angular/router';
14
- import * as i1$1 from '@angular/aria/tabs';
16
+ import * as i1$2 from '@angular/aria/tabs';
15
17
  import { DataSource } from '@angular/cdk/table';
16
- import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/scrolling';
17
18
 
18
19
  interface AccessibilityConfig {
19
20
  /**
@@ -39,6 +40,8 @@ interface AccessibilityConfig {
39
40
  * focus already belongs to whatever was pressed.
40
41
  */
41
42
  type overlayCloseCause = 'outside-pointer' | 'backdrop' | 'escape' | 'requested';
43
+ /** How an overlay's pane is placed; see {@link ConnectedOverlayConfig.presentation}. */
44
+ type overlayPresentation = 'connected' | 'sheet';
42
45
  interface ConnectedOverlayConfig {
43
46
  /** Template projected into the overlay. */
44
47
  content: TemplateRef<unknown>;
@@ -53,7 +56,7 @@ interface ConnectedOverlayConfig {
53
56
  * scroll is blocked, and the backdrop defaults to the shared modal scrim so
54
57
  * the sheet reads as the modal surface it is.
55
58
  */
56
- presentation?: 'connected' | 'sheet';
59
+ presentation?: overlayPresentation;
57
60
  /** Forwarded to the position strategy. Defaults to the CDK default (true). */
58
61
  flexibleDimensions?: boolean;
59
62
  /** Forwarded to the position strategy. Defaults to the CDK default (true). */
@@ -84,11 +87,12 @@ interface ConnectedOverlayConfig {
84
87
  /** Close on an outside pointer event. Defaults to `true` when no backdrop is rendered. */
85
88
  closeOnOutsidePointer?: boolean;
86
89
  /**
87
- * An element outside the pane whose presses count as inside it, so they never dismiss the
90
+ * Elements outside the pane whose presses count as inside it, so they never dismiss the
88
91
  * overlay: the field that opened it handles its own presses, and a trigger that toggles the
89
- * overlay is not first closed by the press and then reopened by its own handler.
92
+ * overlay — or a label that hands its click to that trigger — is not first closed by the
93
+ * press and then reopened by the trigger's own handler.
90
94
  */
91
- insideElement?: HTMLElement;
95
+ insideElements?: readonly Element[];
92
96
  /**
93
97
  * Ignore the first outside `auxclick` after opening. Set when the overlay is
94
98
  * opened by a right-click gesture (a context menu): that same gesture ends
@@ -134,6 +138,12 @@ declare class OverlayManager {
134
138
  private readonly _destroyRef;
135
139
  private _overlayRef;
136
140
  private _config;
141
+ /**
142
+ * How the kept overlay was created to present. Its scroll strategy, backdrop
143
+ * and dismissal are fixed at creation, so a reused overlay serves only opens
144
+ * that present the same way.
145
+ */
146
+ private _presentation;
137
147
  private readonly _isOpen;
138
148
  /**
139
149
  * Armed by `ignoreTrailingAuxClick` on open: swallow the first outside
@@ -163,6 +173,7 @@ declare class OverlayManager {
163
173
 
164
174
  declare abstract class FormControl<TValue = unknown> implements FormUiControl<TValue> {
165
175
  private readonly _formControlConfig;
176
+ private readonly _formSubmissions;
166
177
  /**
167
178
  * The control's host element. Public because a container that arranges controls — a
168
179
  * form control group placing an addon beside one — has to locate a control in its own
@@ -231,12 +242,28 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
231
242
  readonly dirty: InputSignalWithTransform<boolean, unknown>;
232
243
  readonly errors: InputSignal<readonly WithOptionalFieldTree<ValidationError>[]>;
233
244
  readonly required: InputSignalWithTransform<boolean, unknown>;
245
+ /**
246
+ * Emitted as the user leaves the control. The signal forms `Field` directive listens for it to
247
+ * mark the bound field touched; the control's own `touched` alone never reaches the field.
248
+ */
249
+ readonly touch: OutputEmitterRef<void>;
234
250
  /**
235
251
  * Whether the control's invalid state should be surfaced (red styling and form-item error message).
236
252
  * Always requires the field to be invalid and touched; the `touched-dirty` trigger additionally
237
- * requires it to be dirty, keeping an untouched, empty field silent until the user has engaged.
253
+ * requires it to be dirty or its form to have been submitted since the field was last reset,
254
+ * keeping an untouched, empty field silent until the user has engaged or asked for it to be judged.
238
255
  */
239
256
  readonly showError: Signal<boolean>;
257
+ /** Submissions of the form around the control; see {@link FormSubmissions}. */
258
+ private readonly _formSubmitCount;
259
+ /**
260
+ * The form's submission count when the field was last untouched — at creation, or at a reset
261
+ * that cleared it. A submission counts against the field only once it is past this mark, so a
262
+ * field reset after a successful save stays silent until its form is submitted again. A control
263
+ * created for a field that is already touched — rebuilt by a tab or a branch after its form was
264
+ * submitted — cannot know which touch came first, so every submission of its form counts.
265
+ */
266
+ private readonly _submitCountAtReset;
240
267
  protected CLASS_NAME: string;
241
268
  protected notInteractive: Signal<boolean>;
242
269
  protected controlClasses: Signal<string[]>;
@@ -253,6 +280,12 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
253
280
  * such a control looking untouched and the user still a click away from the value.
254
281
  */
255
282
  activate(): void;
283
+ /**
284
+ * Records that the user has left the control: marks it touched and tells the bound field, so
285
+ * the field's touched state, its blur-timed rules, and a later reset all see the same thing
286
+ * the control shows.
287
+ */
288
+ protected markTouched(): void;
256
289
  /**
257
290
  * The element focus lands on. Defaults to the first focusable element the control
258
291
  * renders, which is the right one for a control built around a single native element;
@@ -276,16 +309,17 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
276
309
  protected restoreFocusAfterPanel(cause: overlayCloseCause): void;
277
310
  protected baseControlClasses(): string[];
278
311
  static ɵfac: i0.ɵɵFactoryDeclaration<FormControl<any>, never>;
279
- static ɵdir: i0.ɵɵDirectiveDeclaration<FormControl<any>, never, never, { "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "dirty": { "alias": "dirty"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "touched": "touchedChange"; }, never, never, true, never>;
312
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormControl<any>, never, never, { "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "pending": { "alias": "pending"; "required": false; "isSignal": true; }; "dirty": { "alias": "dirty"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; }, { "touched": "touchedChange"; "touch": "touch"; }, never, never, true, never>;
280
313
  }
281
314
 
282
315
  declare const FORM_CONTROL: InjectionToken<FormControl<unknown>>;
283
316
 
284
317
  /**
285
318
  * When a control's invalid state becomes visible (red styling and form-item error message).
286
- * `touched` surfaces it once the field has been blurred; `touched-dirty` additionally requires the
287
- * value to have changed, so tabbing past an untouched, empty field stays silent until the user has
288
- * actually engaged with it.
319
+ * `touched` surfaces it once the field has been blurred. `touched-dirty` additionally requires the
320
+ * value to have changed, or the form around the field to have been submitted since the field was
321
+ * last reset — the rule of the platform's `:user-invalid` — so leaving an untouched, empty field
322
+ * stays silent until the user has engaged with it or asked for the form to be judged.
289
323
  */
290
324
  type errorTrigger = 'touched' | 'touched-dirty';
291
325
  interface FormControlConfig {
@@ -379,6 +413,203 @@ declare abstract class SelectionGroup<T, V = unknown> extends ValueFormControl<V
379
413
  static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionGroup<any, any>, never, never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
380
414
  }
381
415
 
416
+ /**
417
+ * Where a dragged surface's transform comes from. `idle` leaves it to the
418
+ * stylesheet's enter/leave keyframes; `dragging` hands it to the finger;
419
+ * `settling` animates it to where the release sent it.
420
+ */
421
+ type dragMotionState = 'idle' | 'dragging' | 'settling';
422
+ /** What a `DragMotion` is fixed to for its lifetime. */
423
+ interface DragMotionOptions {
424
+ /** The custom property the stylesheet turns into the surface's translate. */
425
+ property: string;
426
+ /**
427
+ * Opacity of the scrim at a drag progress: `1 - progress` for a surface that
428
+ * dims as it leaves, `progress` for one that dims as it grows. Left out by a
429
+ * surface that never has a scrim.
430
+ */
431
+ backdropOpacity?: (progress: number) => number;
432
+ renderer: Renderer2;
433
+ injector: Injector;
434
+ }
435
+ /** A settle's timing, for a CSS transition to play. */
436
+ interface SettleCurve {
437
+ /** Length of the settle in ms; 0 when there is nowhere to travel. */
438
+ duration: number;
439
+ /** A `linear()` easing tracing the travel, or `linear` when there is none. */
440
+ easing: string;
441
+ }
442
+ /**
443
+ * The elements one gesture moves, given per gesture: a surface stamped fresh on
444
+ * every open cannot be fixed at construction.
445
+ */
446
+ interface DragMotionSurface {
447
+ panel: HTMLElement;
448
+ backdrop: HTMLElement | null;
449
+ /**
450
+ * Travel in px from rest to fully committed, which a scrim's progress and a
451
+ * commit rule are measured against. Left out by a surface that has neither —
452
+ * one with no scrim that decides its own release, such as a paged grid.
453
+ */
454
+ extent?: number;
455
+ }
456
+
457
+ /**
458
+ * Moves a dragged surface along one axis: writes its displacement to the
459
+ * custom property the stylesheet turns into a translate, keeps a scrim's
460
+ * opacity in step with the drag, and settles the surface to where a release
461
+ * sent it through the stylesheet's transition.
462
+ *
463
+ * The engine knows nothing of what the offsets mean — where rest is, what
464
+ * range is legal, which release commits — and no pan events; the owning
465
+ * component maps its gesture onto `begin`, `follow` and `settle`.
466
+ */
467
+ declare class DragMotion {
468
+ private readonly _options;
469
+ private readonly _state;
470
+ /** Bound to the surface's `--dragging` / `--settling` classes. */
471
+ readonly state: i0.Signal<dragMotionState>;
472
+ private _surface;
473
+ /**
474
+ * Incremented by begin and rest; a settle belongs to the gesture that started it.
475
+ */
476
+ private _gesture;
477
+ constructor(_options: DragMotionOptions);
478
+ /** Travel in px of the gesture in progress, from rest to fully committed; 0 outside a gesture. */
479
+ get extent(): number;
480
+ /** Takes hold of the surface for one gesture. */
481
+ begin(surface: DragMotionSurface): void;
482
+ /**
483
+ * Moves the surface to `offset` px. The offset is written as given: what
484
+ * range is legal is the caller's rule.
485
+ */
486
+ follow(offset: number): void;
487
+ /**
488
+ * Animates the surface to `target` px through the stylesheet's settle
489
+ * transition, then calls `done`. The state stays `settling` until `rest` is
490
+ * called: a settle that ends in a dispose keeps its class on until the
491
+ * overlay is gone, so the keyframe the class stands down cannot replay.
492
+ *
493
+ * `velocity` is the surface's speed at the start, in px/ms along the offset
494
+ * (positive as the offset grows) — a released finger's. The settle's timing
495
+ * goes onto the surface and its scrim as `--tls-settle-duration` and
496
+ * `--tls-settle-easing` (see `settleCurve`), for a settle transition to
497
+ * read, so the stylesheet keeps the motion's gating while the curve carries
498
+ * the hand's momentum on.
499
+ *
500
+ * A `begin` or `rest` that arrives before the settle finishes supersedes it:
501
+ * a superseded settle neither moves the surface nor reports `done`.
502
+ */
503
+ settle(target: number, done: () => void, velocity?: number): void;
504
+ /**
505
+ * A settle from rest with no drag: takes hold of `surface` and settles it to
506
+ * `target` in one step, for a change asked by a click, a key or code rather
507
+ * than a finger. Supersedes a running settle the way a `begin` does.
508
+ */
509
+ moveTo(surface: DragMotionSurface, target: number, done: () => void): void;
510
+ /**
511
+ * Lets go of the surface; the transform is the stylesheet's again. The
512
+ * settle's timing comes off with it, so a transition that outlives the
513
+ * gesture — a scrim's fade on close — keeps the stylesheet's own pace rather
514
+ * than the curve of the last settle.
515
+ */
516
+ rest(): void;
517
+ /**
518
+ * Writes the timing of a settle to `target` onto the surface and its scrim.
519
+ * The travel starts from the offset last written inline, which is where a
520
+ * released drag left the surface; a settle that supersedes another starts
521
+ * from the other's target, and the browser's own retargeting of the running
522
+ * transition covers the difference.
523
+ */
524
+ private _writeCurve;
525
+ /**
526
+ * Only the backdrop's progress is clamped to the extent; the offset itself
527
+ * is written unclamped.
528
+ */
529
+ private _write;
530
+ }
531
+
532
+ /**
533
+ * The travel of a critically damped spring over `distance` px, launched at
534
+ * `velocity` px/ms, as a duration and a `linear()` easing for a CSS transition
535
+ * to play. Both are signed along one axis, so a velocity that shares the
536
+ * distance's sign heads for the target.
537
+ *
538
+ * Launched with the finger's speed, the surface leaves the release at the pace
539
+ * it was moving and eases into the target, instead of starting every settle at
540
+ * one fixed curve's speed whatever the hand was doing. The launch is capped at
541
+ * the spring's own angular frequency, the fastest a critically damped spring
542
+ * can start without passing its target — a surface that overshot its largest
543
+ * detent would lift off the edge it is pinned to. A launch away from the target
544
+ * carries on that way briefly before the spring turns it round, as momentum
545
+ * does on the platforms.
546
+ *
547
+ * @example
548
+ * settleCurve(0.2, 0); // { duration: 0, easing: 'linear' } — already there
549
+ * settleCurve(300, 0); // { duration: 450, easing: 'linear(0, 0.0405, 0.1323, …, 1)' } — from rest, gathers speed
550
+ * settleCurve(300, 1.5); // { duration: 433, easing: 'linear(0, 0.0989, 0.2174, …, 1)' } — launch capped at the frequency
551
+ * settleCurve(40, -0.4); // { duration: 350, easing: 'linear(0, -0.0767, -0.0402, …, 1)' } — carries on away, then turns
552
+ */
553
+ declare function settleCurve(distance: number, velocity: number): SettleCurve;
554
+
555
+ /** What a `SheetDragDismissal` is fixed to for its lifetime. */
556
+ interface SheetDragDismissalOptions {
557
+ /** The custom property the stylesheet turns into the pane's translate. */
558
+ property: string;
559
+ /** The open overlay's scrim, which thins as the pane is dragged out; `null` without one. */
560
+ backdrop: () => HTMLElement | null;
561
+ /** Closes the overlay once a released drag has carried the pane out. */
562
+ close: () => void;
563
+ renderer: Renderer2;
564
+ injector: Injector;
565
+ }
566
+
567
+ /**
568
+ * Drags an overlay shown as a bottom sheet shut: the finger carries the pane
569
+ * toward the bottom edge, and a release either sends it out and closes the
570
+ * overlay or settles it back open. The sheet does not overshoot open, so travel
571
+ * upward is clamped away.
572
+ *
573
+ * The owning component forwards its pane's pan events to the `on*` methods and
574
+ * calls `reset` on every open; the pane binds `motion.state()` to its
575
+ * `--dragging` / `--settling` classes, under which the stylesheet turns the
576
+ * property named in the options into a translate.
577
+ */
578
+ declare class SheetDragDismissal {
579
+ private readonly _options;
580
+ /** The pane's motion, whose state the stylesheet's drag and settle classes follow. */
581
+ readonly motion: DragMotion;
582
+ /** Set once a release commits to closing, so a late pan event cannot catch the leaving pane. */
583
+ private _closing;
584
+ /**
585
+ * How far below its rest the pane was drawn when the drag began: 0 from
586
+ * rest, the settle's position when caught mid-flight.
587
+ */
588
+ private _lead;
589
+ constructor(_options: SheetDragDismissalOptions);
590
+ /** Readies a fresh open: the pane is stamped anew each time, so only this state carries over. */
591
+ reset(): void;
592
+ onPanStart(pane: HTMLElement, event: PanEvent): void;
593
+ /**
594
+ * Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
595
+ * to the DOM directly and never touches a signal.
596
+ */
597
+ onPanMove(event: PanEvent): void;
598
+ onPanEnd(event: PanEvent): void;
599
+ onPanCancel(): void;
600
+ /** Travel toward the bottom edge in px: where the drag picked the pane up, plus the finger's travel since. */
601
+ private _travel;
602
+ /**
603
+ * Continues the drag out to `target` px — past the bottom edge, or further
604
+ * where the finger already went — at the finger's `velocity`, and closes on
605
+ * arrival. A dismissal that began as a drag must not route through the
606
+ * leave keyframe: that starts from the fully open position, so the pane
607
+ * would snap back for a frame before leaving — the stylesheet stands the
608
+ * keyframe down while the drag state classes are on.
609
+ */
610
+ private _close;
611
+ }
612
+
382
613
  /**
383
614
  * Context exposed to a consumer-provided option template of a listbox control
384
615
  * (`tls-select`, `tls-multi-select`, `tls-autocomplete`).
@@ -597,9 +828,17 @@ declare class ActivityHeatmap {
597
828
  * derived from the busiest day, so the scale always spans the data.
598
829
  */
599
830
  readonly thresholds: InputSignal<number[] | undefined>;
600
- readonly weekStartsOn: InputSignal<Day>;
601
- /** Short weekday labels, Sunday-first; rotated to honour `weekStartsOn`. */
602
- readonly weekDays: InputSignal<string[]>;
831
+ /**
832
+ * First day of the week (`date-fns` convention: 0 = Sunday) for this instance alone. Unset, it
833
+ * follows the component config's `weekStartsOn`, then the app-wide `WEEK_STARTS_ON`.
834
+ */
835
+ readonly weekStartsOn: InputSignal<Day | undefined>;
836
+ /**
837
+ * Short weekday labels, Sunday-first, for this instance alone; rotated to honour
838
+ * `weekStartsOn`. Unset, they follow the component config's `weekDays`, then the configured
839
+ * `date-fns` locale.
840
+ */
841
+ readonly weekDays: InputSignal<string[] | undefined>;
603
842
  /** Every nth weekday row carries a label; 1 labels all seven, 2 labels every other row. */
604
843
  readonly weekdayLabelInterval: InputSignalWithTransform<number, unknown>;
605
844
  readonly color: InputSignal<color>;
@@ -618,6 +857,10 @@ declare class ActivityHeatmap {
618
857
  private readonly _dateOptions;
619
858
  /** Today, so the today marker moves across midnight and the grid rebuilds only then. */
620
859
  private readonly _today;
860
+ /** The first day of the week this instance lays its days out from. */
861
+ protected readonly resolvedWeekStartsOn: Signal<Day>;
862
+ /** The weekday names this instance heads its days with, Sunday first. */
863
+ protected readonly resolvedWeekDays: Signal<string[]>;
621
864
  /** Steps actually rendered; a heatmap needs an empty step plus at least one active one. */
622
865
  protected readonly resolvedLevels: Signal<number>;
623
866
  protected readonly gridLabel: Signal<string | undefined>;
@@ -661,10 +904,17 @@ interface ActivityHeatmapLabels {
661
904
  interface ActivityHeatmapConfig {
662
905
  /** Intensity steps including the empty one, so `levels - 1` shades carry activity. */
663
906
  levels: number;
664
- /** First day of the week (`date-fns` convention: 0 = Sunday); becomes the grid's first row. */
665
- weekStartsOn: Day;
666
- /** Short weekday labels, Sunday-first; rotated to honour `weekStartsOn`. */
667
- weekDays: string[];
907
+ /**
908
+ * First day of the week (`date-fns` convention: 0 = Sunday) for every heatmap, over the
909
+ * app-wide `WEEK_STARTS_ON`; becomes the grid's first row. Unset, heatmaps follow that
910
+ * global value.
911
+ */
912
+ weekStartsOn?: Day;
913
+ /**
914
+ * Short weekday labels, Sunday-first, for every heatmap; rotated to honour `weekStartsOn`.
915
+ * Unset, they are the configured `date-fns` locale's own.
916
+ */
917
+ weekDays?: string[];
668
918
  /** Length of the default range in months, used when no `startDate` is given. */
669
919
  rangeMonths: number;
670
920
  /** Every nth weekday row carries a label, so dense grids stay legible; 1 labels every row. */
@@ -1055,8 +1305,9 @@ declare abstract class ButtonBase {
1055
1305
  readonly size: InputSignal<controlSize>;
1056
1306
  /**
1057
1307
  * Rounds the button's ends fully: a pill for a labelled button, a circle for an icon-only
1058
- * one. Left unset, an icon-only button takes the configured `iconRounded` and any other
1059
- * keeps its corners; an explicit `[rounded]="false"` keeps them on an icon-only button too.
1308
+ * one. Left unset, the button takes the configured `rounded`, and an icon-only one the
1309
+ * configured `iconRounded` as well; an explicit `[rounded]="false"` keeps the corners
1310
+ * whatever the configuration says.
1060
1311
  */
1061
1312
  readonly rounded: InputSignalWithTransform<boolean | undefined, unknown>;
1062
1313
  /** Whether the button stretches to fill its container's width. */
@@ -1084,6 +1335,11 @@ declare class Button extends ButtonBase {
1084
1335
  private _routerLink;
1085
1336
  private _router;
1086
1337
  private _locationStrategy;
1338
+ /**
1339
+ * The popup a trigger directive on this button opens. The host is a wrapper, so the trigger's
1340
+ * announcement is placed on the inner control, the element that takes focus.
1341
+ */
1342
+ protected readonly popup: PopupAnnouncement;
1087
1343
  /**
1088
1344
  * The interactive control is the inner `button`/`a`; the host is a wrapper.
1089
1345
  */
@@ -1150,9 +1406,16 @@ interface ButtonConfig {
1150
1406
  size: controlSize;
1151
1407
  type: buttonType;
1152
1408
  fluid: boolean;
1409
+ /**
1410
+ * Rounds the ends of every button whose own `rounded` input is left unset: a pill for a
1411
+ * labelled button, a circle for an icon-only one. One product-wide shape decision, so a
1412
+ * single button departs from it with an explicit `[rounded]="false"`.
1413
+ */
1414
+ rounded: boolean;
1153
1415
  /**
1154
1416
  * Draws an icon-only button as a circle wherever its own `rounded` input is left unset,
1155
- * the shape platform icon buttons take. A labelled button keeps its corners either way.
1417
+ * the shape platform icon buttons take. A labelled button follows `rounded` alone, so this
1418
+ * adds nothing once `rounded` is on.
1156
1419
  */
1157
1420
  iconRounded: boolean;
1158
1421
  }
@@ -1161,11 +1424,28 @@ declare const DEFAULT_BUTTON_CONFIG: ButtonConfig;
1161
1424
  declare const BUTTON_CONFIG: InjectionToken<ButtonConfig>;
1162
1425
 
1163
1426
  type calendarView = 'month' | 'week' | 'day' | 'agenda';
1427
+ /** One period of paging: `1` forward to the next, `-1` back to the previous. */
1428
+ type calendarPageStep = -1 | 1;
1164
1429
  /**
1165
1430
  * Density of the calendar's layout. `'auto'` resolves from the calendar's own rendered width, so
1166
1431
  * a calendar in a narrow column is dense even on a wide screen; a boolean pins it either way.
1167
1432
  */
1168
1433
  type calendarCompact = boolean | 'auto';
1434
+ /**
1435
+ * Shape of the mark an event leaves on a day in the dense month layout. Shapes let a consumer
1436
+ * tell kinds of event apart without leaning on colour alone.
1437
+ */
1438
+ type calendarMarker = 'dot' | 'ring' | 'triangle' | 'dash';
1439
+ /**
1440
+ * Week rows a month grid shows beyond the month's own, counted for each edge of the grid on
1441
+ * its own.
1442
+ */
1443
+ interface CalendarPeekWeeks {
1444
+ /** Rows above the week that holds the 1st. */
1445
+ before: number;
1446
+ /** Rows below the last of the month's own rows. */
1447
+ after: number;
1448
+ }
1169
1449
  /** A single entry rendered on the calendar. `end` defaults to `start` when omitted. */
1170
1450
  interface CalendarEvent {
1171
1451
  id: string;
@@ -1173,8 +1453,10 @@ interface CalendarEvent {
1173
1453
  start: Date;
1174
1454
  end?: Date;
1175
1455
  allDay?: boolean;
1176
- /** Tints the default event chip with a semantic color token's container/on-container pair. */
1456
+ /** Tints the default event chip with a wash of a semantic color token, inked in the same hue. */
1177
1457
  color?: color;
1458
+ /** Shape of the event's mark in the dense month layout; a filled dot when omitted. */
1459
+ marker?: calendarMarker;
1178
1460
  /** Consumer payload, surfaced in the template context and selection outputs. */
1179
1461
  data?: unknown;
1180
1462
  }
@@ -1188,6 +1470,27 @@ interface CalendarEventContext {
1188
1470
  $implicit: CalendarEvent;
1189
1471
  view: calendarView;
1190
1472
  }
1473
+ /**
1474
+ * Context handed to a consumer's header template, which replaces the calendar's own header: the
1475
+ * period on screen and the navigation the default header offers, with the states that govern it,
1476
+ * so a header of any design pages the calendar exactly as the built-in one does.
1477
+ */
1478
+ interface CalendarHeaderContext {
1479
+ /** The period on screen, formatted for the active locale ("November 2026"). */
1480
+ $implicit: string;
1481
+ /** The view on screen, which sets how far the paging steps: a month, a week or a day. */
1482
+ view: calendarView;
1483
+ /** Whether an earlier period holds a day that can be picked; false at the one holding `minDate`. */
1484
+ canGoPrevious: boolean;
1485
+ /** Whether the period on screen already includes today, so going to today would change nothing. */
1486
+ isViewingToday: boolean;
1487
+ /** Moves to the previous period, never before the one holding `minDate`. */
1488
+ previous: () => void;
1489
+ /** Moves to the next period. */
1490
+ next: () => void;
1491
+ /** Brings today's period into view. */
1492
+ today: () => void;
1493
+ }
1191
1494
  /**
1192
1495
  * Context object exposed to a consumer-provided month day-cell template slot. The slot replaces
1193
1496
  * what the cell renders — its number, event dots and "+N more" — while the cell element itself
@@ -1195,14 +1498,20 @@ interface CalendarEventContext {
1195
1498
  */
1196
1499
  interface CalendarDayContext {
1197
1500
  $implicit: Date;
1501
+ /** Whether the day can be picked: within `minDate` and let through by `dateFilter`. */
1502
+ isDisabled: boolean;
1198
1503
  /** Day of the month, formatted for the active locale. */
1199
1504
  dayNumber: string;
1200
1505
  /** Whether the day belongs to the month on screen rather than the padding around it. */
1201
1506
  inCurrentMonth: boolean;
1202
1507
  isToday: boolean;
1508
+ /** Whether the day is the calendar's selected date. */
1509
+ isSelected: boolean;
1203
1510
  /** Every event covering the day, in start order. */
1204
1511
  events: CalendarEvent[];
1205
1512
  }
1513
+ /** Whether a day can be picked; a day it turns away is drawn and announced as unavailable. */
1514
+ type CalendarDateFilter = (date: Date) => boolean;
1206
1515
 
1207
1516
  /** User-facing strings rendered by the calendar and its views, overridable for localization. */
1208
1517
  interface CalendarLabels {
@@ -1231,10 +1540,16 @@ interface CalendarConfig {
1231
1540
  view: calendarView;
1232
1541
  /** Views the switcher offers, in the order they appear; a single entry hides the switcher. */
1233
1542
  views: calendarView[];
1234
- /** First day of the week (`date-fns` convention: 0 = Sunday). */
1235
- weekStartsOn: Day;
1236
- /** Short weekday labels, Sunday-first; rotated to honour `weekStartsOn`. */
1237
- weekDays: string[];
1543
+ /**
1544
+ * First day of the week (`date-fns` convention: 0 = Sunday) for every calendar, over the
1545
+ * app-wide `WEEK_STARTS_ON`. Unset, calendars follow that global value.
1546
+ */
1547
+ weekStartsOn?: Day;
1548
+ /**
1549
+ * Short weekday labels, Sunday-first, for every calendar; rotated to honour `weekStartsOn`.
1550
+ * Unset, they are the configured `date-fns` locale's own.
1551
+ */
1552
+ weekDays?: string[];
1238
1553
  /** First hour rendered by the week/day time-grid. */
1239
1554
  hourStart: number;
1240
1555
  /** Last hour rendered by the week/day time-grid. */
@@ -1252,8 +1567,16 @@ declare class Calendar {
1252
1567
  private readonly _config;
1253
1568
  private readonly _locale;
1254
1569
  readonly events: InputSignal<CalendarEvent[]>;
1255
- readonly weekStartsOn: InputSignal<Day>;
1256
- readonly weekDays: InputSignal<string[]>;
1570
+ /**
1571
+ * First day of the week (`date-fns` convention: 0 = Sunday) for this instance alone. Unset, it
1572
+ * follows the component config's `weekStartsOn`, then the app-wide `WEEK_STARTS_ON`.
1573
+ */
1574
+ readonly weekStartsOn: InputSignal<Day | undefined>;
1575
+ /**
1576
+ * Weekday names, Sunday first, for this instance alone. Unset, they follow the component
1577
+ * config's `weekDays`, then the configured `date-fns` locale.
1578
+ */
1579
+ readonly weekDays: InputSignal<string[] | undefined>;
1257
1580
  readonly hourStart: InputSignal<number>;
1258
1581
  readonly hourEnd: InputSignal<number>;
1259
1582
  readonly showAllDayRow: InputSignal<boolean>;
@@ -1283,19 +1606,48 @@ declare class Calendar {
1283
1606
  */
1284
1607
  readonly squareCells: InputSignal<boolean>;
1285
1608
  /**
1286
- * Whether a vertical touch swipe over the month grid pages the calendar — up to the next
1287
- * month, down to the previous. Off by default: the gesture claims vertical pans from the
1609
+ * Whether the month grid fills the height its host is given rather than growing to its
1610
+ * events: the weeks share that height, and each day shows as many event bars as fit,
1611
+ * counting the rest in its "+N more" — never more than `maxEventsPerDay`. Needs a host
1612
+ * with a definite height; without one the rows settle at their smallest.
1613
+ */
1614
+ readonly fitHeight: InputSignal<boolean>;
1615
+ /**
1616
+ * Whether a vertical touch drag over the month grid pages the calendar: the grid follows the
1617
+ * finger, with the next month waiting below and the previous one above, and settles on
1618
+ * whichever the release commits to. Off by default: the gesture claims vertical pans from the
1288
1619
  * browser, so it belongs only on a grid that is not itself inside something it must scroll.
1289
1620
  */
1290
1621
  readonly swipeNavigation: InputSignal<boolean>;
1291
1622
  /**
1292
- * Week rows the month grid shows beyond the month's own six, above and below alike, fading
1293
- * out toward the grid's edge so the month reads as a stretch of a continuous run of weeks.
1294
- * They are days like any other: selectable, and covered by the range `rangeChange` reports.
1623
+ * Week rows the month grid shows beyond the month's own six, fading out toward the grid's
1624
+ * edge so the month reads as a stretch of a continuous run of weeks. A number widens the
1625
+ * grid by that many rows above and below alike; a `{ before, after }` pair counts each edge
1626
+ * on its own, for a grid that wants only one of them — the month's six rows often close on
1627
+ * a week or two of the month that follows, where a further row adds little. They are days
1628
+ * like any other: selectable, and covered by the range `rangeChange` reports.
1295
1629
  */
1296
- readonly peekWeeks: InputSignalWithTransform<number, number>;
1630
+ readonly peekWeeks: InputSignalWithTransform<CalendarPeekWeeks, number | CalendarPeekWeeks>;
1297
1631
  /** Accessible name forwarded to the active view's grid. */
1298
1632
  readonly ariaLabel: InputSignal<string | undefined>;
1633
+ /**
1634
+ * The selected day, drawn and exposed as selected in the month grid. While null — the default —
1635
+ * nothing is selected and the grid exposes no selection at all. Picking a day only emits
1636
+ * `dateSelect`; the consumer decides whether that moves the selection.
1637
+ */
1638
+ readonly selectedDate: InputSignal<Date | null>;
1639
+ /**
1640
+ * Replaces the spoken summary of a day's markers in the dense month layout ("3 events") with the
1641
+ * consumer's own sentence for that day's events, so the marks can say what they mean.
1642
+ */
1643
+ readonly markersLabel: InputSignal<((events: CalendarEvent[]) => string) | undefined>;
1644
+ /**
1645
+ * The earliest day that can be picked. The month grid disables every day before it, and the
1646
+ * previous control stops at the period that holds it, since nothing earlier can be picked.
1647
+ */
1648
+ readonly minDate: InputSignal<Date | null>;
1649
+ /** Whether a day can be picked; the month grid disables a day it turns away. */
1650
+ readonly dateFilter: InputSignal<CalendarDateFilter | null>;
1299
1651
  readonly eventSelect: OutputEmitterRef<CalendarEvent>;
1300
1652
  readonly dateSelect: OutputEmitterRef<Date>;
1301
1653
  /** Fires whenever the visible span changes, so consumers can lazy-load that window's events. */
@@ -1304,12 +1656,20 @@ declare class Calendar {
1304
1656
  /** Anchor date driving the visible range; navigation shifts it by the view's unit. */
1305
1657
  readonly activeDate: ModelSignal<Date>;
1306
1658
  protected readonly labels: CalendarLabels;
1307
- protected readonly swipePointerTypes: string[];
1308
1659
  protected readonly eventTemplate: Signal<TemplateRef<CalendarEventContext> | undefined>;
1309
1660
  protected readonly dayTemplate: Signal<TemplateRef<CalendarDayContext> | undefined>;
1310
- private readonly _dateOptions;
1661
+ /**
1662
+ * Replaces the built-in header with the consumer's own, handed the period and the navigation
1663
+ * through {@link CalendarHeaderContext}. Shown while `showHeader` is on; the switches for the
1664
+ * built-in header's parts do not apply to it.
1665
+ */
1666
+ protected readonly headerTemplate: Signal<TemplateRef<CalendarHeaderContext> | undefined>;
1311
1667
  /** Today, so the "Today" affordance stays correct across midnight. */
1312
1668
  private readonly _today;
1669
+ /** The first day of the week this instance lays its days out from. */
1670
+ protected readonly resolvedWeekStartsOn: Signal<Day>;
1671
+ /** The weekday names this instance heads its days with, Sunday first. */
1672
+ protected readonly resolvedWeekDays: Signal<string[]>;
1313
1673
  protected readonly hostClasses: Signal<string[]>;
1314
1674
  protected readonly viewOptions: Signal<{
1315
1675
  label: string;
@@ -1319,27 +1679,31 @@ declare class Calendar {
1319
1679
  protected readonly showsViewSwitcher: Signal<boolean>;
1320
1680
  /** Suppresses the header wrapper once every part it would hold is hidden. */
1321
1681
  protected readonly showsHeader: Signal<boolean>;
1682
+ /** Whether an earlier period holds a day that can be picked; false at the one holding `minDate`. */
1683
+ protected readonly canGoPrevious: Signal<boolean>;
1322
1684
  /** Whether the active period already includes today, so "Today" would be a no-op. */
1323
1685
  protected readonly isViewingToday: Signal<boolean>;
1324
1686
  protected readonly title: Signal<string>;
1687
+ /** What a consumer's header template is handed; rebuilt as the period or its limits change. */
1688
+ protected readonly headerContext: Signal<CalendarHeaderContext>;
1325
1689
  protected readonly visibleRange: Signal<CalendarRange>;
1326
1690
  /** Day columns fed to the time-grid: a full week for `week`, a single day for `day`. */
1327
1691
  protected readonly timeGridDays: Signal<Date[]>;
1328
1692
  constructor();
1329
1693
  /** Moves to the next period in the current view's unit. */
1330
1694
  next(): void;
1331
- /** Moves to the previous period in the current view's unit. */
1695
+ /** Moves to the previous period in the current view's unit, never before the one holding `minDate`. */
1332
1696
  previous(): void;
1333
1697
  /** Snaps the anchor date back to today. */
1334
1698
  today(): void;
1335
1699
  protected onViewChange(views: calendarView[]): void;
1336
- /** The grid follows the finger's push: swiping up reveals the next month waiting below. */
1337
- protected onSwipe(event: SwipeEvent): void;
1700
+ /** A paging drag over the month grid committed to the neighbouring month. */
1701
+ protected onPage(step: calendarPageStep): void;
1338
1702
  private _step;
1339
1703
  private _weekBounds;
1340
1704
  private _weekTitle;
1341
1705
  static ɵfac: i0.ɵɵFactoryDeclaration<Calendar, never>;
1342
- static ɵcmp: i0.ɵɵComponentDeclaration<Calendar, "tls-calendar", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; "hourStart": { "alias": "hourStart"; "required": false; "isSignal": true; }; "hourEnd": { "alias": "hourEnd"; "required": false; "isSignal": true; }; "showAllDayRow": { "alias": "showAllDayRow"; "required": false; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "showNavigation": { "alias": "showNavigation"; "required": false; "isSignal": true; }; "showViewSwitcher": { "alias": "showViewSwitcher"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "squareCells": { "alias": "squareCells"; "required": false; "isSignal": true; }; "swipeNavigation": { "alias": "swipeNavigation"; "required": false; "isSignal": true; }; "peekWeeks": { "alias": "peekWeeks"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "activeDate": { "alias": "activeDate"; "required": false; "isSignal": true; }; }, { "eventSelect": "eventSelect"; "dateSelect": "dateSelect"; "rangeChange": "rangeChange"; "view": "viewChange"; "activeDate": "activeDateChange"; }, ["eventTemplate", "dayTemplate"], never, true, never>;
1706
+ static ɵcmp: i0.ɵɵComponentDeclaration<Calendar, "tls-calendar", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": false; "isSignal": true; }; "hourStart": { "alias": "hourStart"; "required": false; "isSignal": true; }; "hourEnd": { "alias": "hourEnd"; "required": false; "isSignal": true; }; "showAllDayRow": { "alias": "showAllDayRow"; "required": false; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": false; "isSignal": true; }; "views": { "alias": "views"; "required": false; "isSignal": true; }; "showHeader": { "alias": "showHeader"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; "showNavigation": { "alias": "showNavigation"; "required": false; "isSignal": true; }; "showViewSwitcher": { "alias": "showViewSwitcher"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "squareCells": { "alias": "squareCells"; "required": false; "isSignal": true; }; "fitHeight": { "alias": "fitHeight"; "required": false; "isSignal": true; }; "swipeNavigation": { "alias": "swipeNavigation"; "required": false; "isSignal": true; }; "peekWeeks": { "alias": "peekWeeks"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "markersLabel": { "alias": "markersLabel"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "dateFilter": { "alias": "dateFilter"; "required": false; "isSignal": true; }; "view": { "alias": "view"; "required": false; "isSignal": true; }; "activeDate": { "alias": "activeDate"; "required": false; "isSignal": true; }; }, { "eventSelect": "eventSelect"; "dateSelect": "dateSelect"; "rangeChange": "rangeChange"; "view": "viewChange"; "activeDate": "activeDateChange"; }, ["eventTemplate", "dayTemplate", "headerTemplate"], never, true, never>;
1343
1707
  }
1344
1708
 
1345
1709
  /** A day that has events, precomputed for the agenda list. */
@@ -1365,7 +1729,6 @@ declare class CalendarAgendaView {
1365
1729
  readonly dateSelect: OutputEmitterRef<Date>;
1366
1730
  readonly eventSelect: OutputEmitterRef<CalendarEvent>;
1367
1731
  protected readonly noEventsLabel: string;
1368
- private readonly _dateOptions;
1369
1732
  /** Today, so the today marker moves across midnight and the list rebuilds only then. */
1370
1733
  private readonly _today;
1371
1734
  protected readonly days: Signal<AgendaDay[]>;
@@ -1415,10 +1778,15 @@ interface MonthDay {
1415
1778
  dayNumber: string;
1416
1779
  inCurrentMonth: boolean;
1417
1780
  isToday: boolean;
1781
+ isSelected: boolean;
1782
+ /** Outside `minDate` or turned away by `dateFilter`: drawn and announced, never picked. */
1783
+ isDisabled: boolean;
1418
1784
  hiddenCount: number;
1419
1785
  /** How many events cover the day in total, however the layout chooses to present them. */
1420
1786
  eventCount: number;
1421
1787
  markers: MonthDayMarker[];
1788
+ /** What the day's markers say to assistive technology, the only textual form they have. */
1789
+ markersLabel: string;
1422
1790
  /** Built with the cell so a template slot is not handed a fresh object on every check. */
1423
1791
  context: CalendarDayContext;
1424
1792
  }
@@ -1440,6 +1808,9 @@ declare class CalendarMonthView {
1440
1808
  private readonly _config;
1441
1809
  private readonly _changeDetectorRef;
1442
1810
  private readonly _injector;
1811
+ private readonly _destroyRef;
1812
+ private readonly _renderer;
1813
+ private readonly _pan;
1443
1814
  readonly activeDate: InputSignal<Date>;
1444
1815
  readonly events: InputSignal<CalendarEvent[]>;
1445
1816
  readonly weekStartsOn: InputSignal<Day>;
@@ -1447,53 +1818,150 @@ declare class CalendarMonthView {
1447
1818
  readonly maxEventsPerDay: InputSignal<number>;
1448
1819
  /** Whether day cells are held to a 1:1 ratio instead of sizing to the events they hold. */
1449
1820
  readonly squareCells: InputSignal<boolean>;
1821
+ /** Whether the grid fills the height it is given, showing per day only the bars that fit. */
1822
+ readonly fitHeight: InputSignal<boolean>;
1450
1823
  /**
1451
- * Week rows rendered beyond the month's own window, above and below it alike, fading out
1452
- * toward the grid's edge.
1824
+ * Week rows rendered beyond the month's own window, counted for each edge of the grid,
1825
+ * fading out toward that edge.
1453
1826
  */
1454
- readonly peekWeeks: InputSignal<number>;
1827
+ readonly peekWeeks: InputSignal<CalendarPeekWeeks>;
1455
1828
  readonly eventTemplate: InputSignal<TemplateRef<CalendarEventContext> | undefined>;
1456
1829
  /** Replaces what a day cell renders, leaving the cell's own semantics and chrome in place. */
1457
1830
  readonly dayTemplate: InputSignal<TemplateRef<CalendarDayContext> | undefined>;
1458
1831
  /** Accessible name for the grid, announced when focus enters it. */
1459
1832
  readonly label: InputSignal<string | undefined>;
1833
+ /** The selected day, drawn and exposed as selected; none while null. */
1834
+ readonly selectedDate: InputSignal<Date | null>;
1835
+ /** Replaces the dense layout's spoken event count for a day with the consumer's own sentence. */
1836
+ readonly markersLabel: InputSignal<((events: CalendarEvent[]) => string) | undefined>;
1837
+ /** The earliest day that can be picked; every day before it is disabled. */
1838
+ readonly minDate: InputSignal<Date | null>;
1839
+ /** Whether a day can be picked; a day it turns away is disabled. */
1840
+ readonly dateFilter: InputSignal<CalendarDateFilter | null>;
1841
+ /**
1842
+ * Whether a month before the active one can be paged to. While it cannot, a paging drag
1843
+ * toward it only stretches under the finger and goes back on release.
1844
+ */
1845
+ readonly canPageBack: InputSignal<boolean>;
1460
1846
  readonly dateSelect: OutputEmitterRef<Date>;
1461
1847
  readonly eventSelect: OutputEmitterRef<CalendarEvent>;
1848
+ /**
1849
+ * Asks to page one month forward (`1`) or back (`-1`) once a paging drag is let go past the
1850
+ * point of committing. The grid is already gliding to that month, and lands on it once
1851
+ * `activeDate` follows.
1852
+ */
1853
+ readonly page: OutputEmitterRef<calendarPageStep>;
1854
+ /**
1855
+ * Moves the widened grid under a paging drag or a navigation scroll, and settles it on the
1856
+ * spring a release or a navigation sends it on. The grid has no scrim, so nothing dims with it.
1857
+ */
1858
+ protected readonly motion: DragMotion;
1462
1859
  private readonly _dateOptions;
1463
1860
  /** Today, so the today highlight moves across midnight and the grid rebuilds only then. */
1464
1861
  private readonly _today;
1465
- /** Widened week window a navigation scroll renders through; unset while the grid rests. */
1466
- private readonly _scrollPlan;
1862
+ /** Widened week window a navigation scroll or a paging drag renders; unset while the grid rests. */
1863
+ private readonly _widenedWindow;
1467
1864
  private readonly _grid;
1468
- /** Settles the scroll in flight at once, so a follow-up navigation starts from rest. */
1469
- private _finalizeScroll;
1865
+ /** Each week's lane overlay; its height is the room a week's rows leave for bars. */
1866
+ private readonly _bars;
1867
+ /**
1868
+ * The lanes a week row has room for, measured while the grid fits its height; null until
1869
+ * measured, and whenever the bars are not laid out (the dense layout hides them).
1870
+ */
1871
+ private readonly _fittingLanes;
1872
+ /** The paging drag in progress; null while no finger holds the grid. */
1873
+ private _drag;
1874
+ /**
1875
+ * Month a committed paging drag is gliding to, so its arrival as `activeDate` is recognised
1876
+ * as the glide's own destination rather than scrolled to a second time.
1877
+ */
1878
+ private _pageTarget;
1470
1879
  /** Anchor the grid last rendered for, naming the window a navigation scrolls away from. */
1471
1880
  private _renderedDate;
1472
1881
  /** The week rows the grid holds at rest: the month's window plus its peek weeks. */
1473
1882
  protected readonly gridWindow: Signal<MonthWindow>;
1883
+ /** Bars a day shows before counting the rest as "+N more". */
1884
+ protected readonly lanes: Signal<number>;
1474
1885
  protected readonly weekdayHeaders: Signal<string[]>;
1475
1886
  protected readonly weeks: Signal<MonthWeek[]>;
1476
1887
  constructor();
1477
1888
  /** Localized "+N more" label for a day cell with `count` hidden events. */
1478
1889
  protected moreLabel(count: number): string;
1479
- /** Localized event-count summary, the only textual form the dense layout's dots have. */
1480
- protected eventCountLabel(count: number): string;
1481
- /** Space would scroll the page; consume it and select the focused day instead. */
1482
- protected onDaySpace(event: Event, date: Date): void;
1890
+ /** Picks a day by pointer or Enter; a disabled day stays focusable but picks nothing. */
1891
+ protected onDayPick(day: MonthDay): void;
1892
+ /** Space would scroll the page; consume it and pick the focused day instead. */
1893
+ protected onDaySpace(event: Event, day: MonthDay): void;
1483
1894
  /**
1484
1895
  * Slides the grid from `from`'s window to `to`'s: the union of both windows renders at once,
1485
- * pinned to the resting row height, and a translate transition carries it from the outgoing
1486
- * offset to the incoming one. Rows the windows share keep their DOM identity, so their cells
1487
- * cross-fade out of the outside dimming in place rather than being rebuilt.
1488
- *
1489
- * Style writes go to the element directly: the jump to the outgoing offset must paint with
1490
- * the widened render, and the cleanup must paint with the collapsed one — frame boundaries a
1491
- * template binding cannot express.
1896
+ * pinned to the resting row height, and the grid settles from the outgoing offset to the
1897
+ * incoming one. Rows the windows share keep their DOM identity, so their cells cross-fade
1898
+ * out of the outside dimming in place rather than being rebuilt.
1492
1899
  */
1493
1900
  private _scrollBetween;
1901
+ /**
1902
+ * Takes the grid under the finger: the neighbouring months render either side of the active
1903
+ * one, so the drag reveals whichever it heads toward. A grid still settling or scrolling is
1904
+ * caught where it is drawn rather than snapped to its destination first.
1905
+ */
1906
+ private _onDragStart;
1907
+ /**
1908
+ * Fired at pointer rate outside the Angular zone (see {@link PanDirective}), so the grid is
1909
+ * moved by a direct style write rather than through a binding.
1910
+ */
1911
+ private _onDragMove;
1912
+ /**
1913
+ * Lets the grid go: a release past the commit point, or a flick, settles on the month it was
1914
+ * heading for and asks to page there; anything else settles back to rest. Either way the
1915
+ * settle carries on at the pace the grid was moving.
1916
+ */
1917
+ private _onDragEnd;
1918
+ /** The platform took the pointer back mid-drag; the grid settles back to rest. */
1919
+ private _onDragCancel;
1920
+ /**
1921
+ * How far from rest the drag carries the grid, in px: the finger's travel since the gesture
1922
+ * locked, added to where the grid stood when taken. Toward a month that cannot be paged to
1923
+ * it only stretches, and it never travels past the neighbouring month's grid, beyond which
1924
+ * the drag renders nothing.
1925
+ */
1926
+ private _dragOffset;
1927
+ /** The grid's translate for a drag at `deltaY`: the drag's offset from the resting row. */
1928
+ private _dragTranslate;
1929
+ /**
1930
+ * The grid's own speed in px/ms while the finger moves at `velocity`, which the settle
1931
+ * launches from: as fast as the finger where the grid follows it, damped where the drag only
1932
+ * stretches, and still where the drag holds it at the end of its window.
1933
+ */
1934
+ private _gridVelocity;
1935
+ /** One resting week row's height in px, or null where nothing is laid out to measure. */
1936
+ private _measureRowHeight;
1937
+ /**
1938
+ * Renders `window` in place of the resting grid with its rows pinned to `rowHeight`. The
1939
+ * viewport wraps the resting grid, so its own height (grid plus its border) is held while
1940
+ * the widened grid overflows it. Written to the elements directly, so they apply in the same
1941
+ * task as the widened render rather than a render pass later.
1942
+ */
1943
+ private _widen;
1944
+ /** The grid as the motion moves it: no scrim, and a release paging decides for itself. */
1945
+ private _surface;
1946
+ /**
1947
+ * Settles the widened grid at rest at once, reporting where it was drawn so a drag can take
1948
+ * it from there; null when the grid was already at rest.
1949
+ */
1950
+ private _catchMotion;
1951
+ /**
1952
+ * Collapses to the resting render and lets go of the grid within one task, so the resting
1953
+ * rows and the untranslated grid paint together, pixel-identical to the motion's last frame.
1954
+ * Letting go supersedes a settle still running, which then never reports.
1955
+ */
1956
+ private _collapse;
1957
+ /**
1958
+ * Reads how many lanes a week row has room for from its bar overlay, which spans exactly
1959
+ * the row's room for bars: below the day number, above the "+N more" line.
1960
+ */
1961
+ private _measureLanes;
1494
1962
  private _markerClasses;
1495
1963
  static ɵfac: i0.ɵɵFactoryDeclaration<CalendarMonthView, never>;
1496
- static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthView, "tls-calendar-month-view", never, { "activeDate": { "alias": "activeDate"; "required": true; "isSignal": true; }; "events": { "alias": "events"; "required": true; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": true; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": true; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": true; "isSignal": true; }; "squareCells": { "alias": "squareCells"; "required": false; "isSignal": true; }; "peekWeeks": { "alias": "peekWeeks"; "required": false; "isSignal": true; }; "eventTemplate": { "alias": "eventTemplate"; "required": false; "isSignal": true; }; "dayTemplate": { "alias": "dayTemplate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "dateSelect": "dateSelect"; "eventSelect": "eventSelect"; }, never, never, true, never>;
1964
+ static ɵcmp: i0.ɵɵComponentDeclaration<CalendarMonthView, "tls-calendar-month-view", never, { "activeDate": { "alias": "activeDate"; "required": true; "isSignal": true; }; "events": { "alias": "events"; "required": true; "isSignal": true; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": true; "isSignal": true; }; "weekDays": { "alias": "weekDays"; "required": true; "isSignal": true; }; "maxEventsPerDay": { "alias": "maxEventsPerDay"; "required": true; "isSignal": true; }; "squareCells": { "alias": "squareCells"; "required": false; "isSignal": true; }; "fitHeight": { "alias": "fitHeight"; "required": false; "isSignal": true; }; "peekWeeks": { "alias": "peekWeeks"; "required": false; "isSignal": true; }; "eventTemplate": { "alias": "eventTemplate"; "required": false; "isSignal": true; }; "dayTemplate": { "alias": "dayTemplate"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "markersLabel": { "alias": "markersLabel"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "dateFilter": { "alias": "dateFilter"; "required": false; "isSignal": true; }; "canPageBack": { "alias": "canPageBack"; "required": false; "isSignal": true; }; }, { "dateSelect": "dateSelect"; "eventSelect": "eventSelect"; "page": "page"; }, never, never, true, [{ directive: typeof i1.PanDirective; inputs: { "tlsPan": "paging"; }; outputs: {}; }]>;
1497
1965
  }
1498
1966
 
1499
1967
  /** A timed event with its absolute placement inside a day column. */
@@ -1722,192 +2190,57 @@ declare class Carousel {
1722
2190
  * drag-and-drop, so the native one gives way.
1723
2191
  */
1724
2192
  protected onDragStart(event: DragEvent): void;
1725
- protected onPanStart(event: PanEvent): void;
1726
- /**
1727
- * Fired at pointer rate (see {@link PanDirective}), so the offset is written
1728
- * straight to the DOM rather than through a binding and no change detection
1729
- * runs per move.
1730
- */
1731
- protected onPanMove(event: PanEvent): void;
1732
- protected onPanEnd(event: PanEvent): void;
1733
- protected onPanCancel(): void;
1734
- private _isRtl;
1735
- private _clamp;
1736
- private _advance;
1737
- /** Moves to a slide with the track transition suppressed for that one change. */
1738
- private _jumpTo;
1739
- /**
1740
- * Damps travel toward an edge with no slide behind it, so a drag at the first
1741
- * or last slide resists instead of pulling empty track into view.
1742
- */
1743
- private _resistedOffset;
1744
- private _applyDragOffset;
1745
- private _settleDrag;
1746
- private _clearDragOffset;
1747
- /**
1748
- * Swallows the click that concludes a drag so the slide content under the
1749
- * released pointer is not activated. The listener runs in the capture phase:
1750
- * the click has to be stopped before it reaches that content, and a
1751
- * bubble-phase listener would only see it once the content had handled it.
1752
- */
1753
- private _suppressPostDragClicks;
1754
- private _watchPageVisibility;
1755
- static ɵfac: i0.ɵɵFactoryDeclaration<Carousel, never>;
1756
- static ɵcmp: i0.ɵɵComponentDeclaration<Carousel, "tls-carousel", never, { "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "autoplayInterval": { "alias": "autoplayInterval"; "required": false; "isSignal": true; }; "showArrows": { "alias": "showArrows"; "required": false; "isSignal": true; }; "showIndicators": { "alias": "showIndicators"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["slides"], never, true, never>;
1757
- }
1758
-
1759
- declare const CAROUSEL_CONFIG: InjectionToken<CarouselConfig>;
1760
-
1761
- type chipColor = color;
1762
- type chipVariant = 'filled' | 'tonal' | 'outlined' | 'text';
1763
- type chipSize = 'xs' | 'sm' | 'md' | 'lg';
1764
- interface ChipContext {
1765
- checked: boolean;
1766
- disabled: boolean;
1767
- readonly: boolean;
1768
- touched: boolean;
1769
- dirty: boolean;
1770
- invalid: boolean;
1771
- pending: boolean;
1772
- }
1773
- type chipTemplateContext = {
1774
- $implicit: ChipContext;
1775
- };
1776
-
1777
- /**
1778
- * Spreads ink from the point of contact when the host is touched, and stands its
1779
- * press down for that one interaction so a single tap produces a single effect.
1780
- *
1781
- * A touch and a pen ink by default, a mouse does not. Ink answers the fingertip
1782
- * covering the control it is spreading from — a cursor occludes nothing, and a
1783
- * mouse press is over in a fraction of the ink's duration, leaving most of it
1784
- * playing after the button has already been released. Which pointers ink is set
1785
- * app-wide through `RIPPLE_CONFIG` and per host through `ripplePointerTypes`.
1786
- *
1787
- * A touch inks a moment after it lands rather than at once, so a flick that
1788
- * merely begins on the host scrolls without flashing it; a tap lifted sooner inks
1789
- * on release. The ink spreads and holds while the contact lasts, so a held press
1790
- * keeps showing, and fades when it ends.
1791
- *
1792
- * The ink is expressive and outlives the contact that spawned it, so it is
1793
- * confined to the `full` motion level; below that the press it suppresses is
1794
- * restored and acknowledges the touch instead. Removing this directive therefore
1795
- * takes nothing away — the press underneath is pure CSS and is what a host shows
1796
- * without it.
1797
- *
1798
- * Requires the theme's `ripple` mixin on the element the ink is drawn on — the
1799
- * host, or the `rippleSurface` it names — which draws the ink from the values
1800
- * written there.
1801
- *
1802
- * @example
1803
- * ```html
1804
- * <button class="tls-button" tlsRipple>Save</button>
1805
- * ```
1806
- */
1807
- declare class RippleDirective {
1808
- private readonly _elementRef;
1809
- private readonly _document;
1810
- private readonly _config;
1811
- private readonly _renderer;
1812
- /**
1813
- * Turns the ink off.
1814
- *
1815
- * Deliberately not named `disabled`: an input shadows the DOM property of the
1816
- * same name on the element it sits on, so a directive claiming `disabled` would
1817
- * capture a host's `[disabled]` binding and leave the control enabled.
1818
- */
1819
- readonly rippleDisabled: InputSignalWithTransform<boolean, unknown>;
1820
- /**
1821
- * Pointer types whose presses ink here, overriding the app-wide default for
1822
- * this one host. Unset defers to `RIPPLE_CONFIG`.
1823
- */
1824
- readonly ripplePointerTypes: InputSignal<pointerType[] | undefined>;
1825
- /**
1826
- * The element the ink is drawn on, when it is not the host itself: a part of the control
1827
- * that carries its shape, such as a navigation item's indicator pill around its icon. The
1828
- * whole host still answers the press, and still stands its own press down. Unset draws on
1829
- * the host.
1830
- */
1831
- readonly rippleSurface: InputSignal<HTMLElement | undefined>;
1832
- private readonly _pointerTypes;
1833
- /** Where the press landed, to measure a scroll against. */
1834
- private _origin;
1835
- /**
1836
- * Teardown of the listeners that follow a press — its moves and its end — bound
1837
- * only while one is live. Host listeners would schedule change detection for
1838
- * every hover movement across every host, although only a press needs them.
1839
- */
1840
- private _stopTrackingContact;
1841
- /** The ink a touch is waiting to strike, until the wait passes or the contact ends. */
1842
- private _pendingInk;
1843
- constructor();
1844
- protected onPointerDown(event: PointerEvent): void;
1845
- /** A tap lifted before its ink was struck inks now, and every ink lets go with the contact. */
1846
- private _onPointerRelease;
1847
- /**
1848
- * The browser took the contact over, most often for a scroll: an ink still waiting is
1849
- * dropped, and one already spreading fades as on release.
1850
- */
1851
- private _onPointerCancel;
1852
- private _onPointerMove;
1853
- /**
1854
- * Follows one press until it ends. Its end is heard on the document rather than the host:
1855
- * only a touch is captured by the element it lands on, so a pen — or a mouse, where one
1856
- * inks — lifted after sliding off the host would otherwise never release the ink it holds.
1857
- * The capture phase hears the end even where a component stops it from bubbling.
1858
- */
1859
- private _trackContact;
1860
- private _stopTracking;
1861
- /**
1862
- * Whether a press from this kind of pointer inks. `pointerType` is read off the
1863
- * event rather than from a media query so a device carrying both a touchscreen
1864
- * and a mouse is answered by the one in use, not by the one it reports as
1865
- * primary.
1866
- */
1867
- private _inksFor;
1868
- /**
1869
- * Whether the document is at the motion level the ink belongs to.
1870
- *
1871
- * Read from the attribute the stylesheet gates on rather than from
1872
- * `MotionService`, for two reasons: the two can never disagree about a level
1873
- * they read from one place, and a host is not made to depend on a provider it
1874
- * would otherwise never need — an app that never configures motion has no
1875
- * attribute, and the ink is off exactly as the stylesheet has it.
1876
- */
1877
- private _isFullMotion;
1878
- /** The element the ink is drawn on. */
1879
- private _surface;
1880
- /**
1881
- * The box the ink layer occupies, which the contact point and the ink's reach are measured
1882
- * against. The layer is laid out against the surface, unless the surface is not positioned:
1883
- * it is then laid out against the nearest positioned ancestor instead — a stretched link
1884
- * inks the whole row its hit area covers, not just its own text. Its insets are read back
1885
- * rather than assumed to be zero, so a layer that bleeds past that box is measured as drawn.
1886
- */
1887
- private _inkLayerBounds;
2193
+ protected onPanStart(event: PanEvent): void;
1888
2194
  /**
1889
- * Distance from the contact point to the farthest corner. The ink is struck
1890
- * where the finger landed, so a press near an edge has farther to travel than
1891
- * one in the middle; covering the control means reaching that corner.
2195
+ * Fired at pointer rate (see {@link PanDirective}), so the offset is written
2196
+ * straight to the DOM rather than through a binding and no change detection
2197
+ * runs per move.
1892
2198
  */
1893
- private _radiusToCover;
2199
+ protected onPanMove(event: PanEvent): void;
2200
+ protected onPanEnd(event: PanEvent): void;
2201
+ protected onPanCancel(): void;
2202
+ private _isRtl;
2203
+ private _clamp;
2204
+ private _advance;
2205
+ /** Moves to a slide with the track transition suppressed for that one change. */
2206
+ private _jumpTo;
1894
2207
  /**
1895
- * Retriggers the animation. A class already present does not restart a running
1896
- * animation, so a second tap arriving before the first has faded would
1897
- * otherwise be swallowed; reading back a layout property between the removal
1898
- * and the addition forces the two to land as separate states.
2208
+ * Damps travel toward an edge with no slide behind it, so a drag at the first
2209
+ * or last slide resists instead of pulling empty track into view.
1899
2210
  */
1900
- private _restartInk;
2211
+ private _resistedOffset;
2212
+ private _applyDragOffset;
2213
+ private _settleDrag;
2214
+ private _clearDragOffset;
1901
2215
  /**
1902
- * Lets the ink go. Its held strength is read back first: the fade is a transition from
1903
- * that strength, and an ink struck and released in one go — a quick tap — would otherwise
1904
- * have no style at full strength to fade from, and vanish without being seen.
2216
+ * Swallows the click that concludes a drag so the slide content under the
2217
+ * released pointer is not activated. The listener runs in the capture phase:
2218
+ * the click has to be stopped before it reaches that content, and a
2219
+ * bubble-phase listener would only see it once the content had handled it.
1905
2220
  */
1906
- private _release;
1907
- private _clearPendingInk;
1908
- static ɵfac: i0.ɵɵFactoryDeclaration<RippleDirective, never>;
1909
- static ɵdir: i0.ɵɵDirectiveDeclaration<RippleDirective, "[tlsRipple]", never, { "rippleDisabled": { "alias": "rippleDisabled"; "required": false; "isSignal": true; }; "ripplePointerTypes": { "alias": "ripplePointerTypes"; "required": false; "isSignal": true; }; "rippleSurface": { "alias": "rippleSurface"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2221
+ private _suppressPostDragClicks;
2222
+ private _watchPageVisibility;
2223
+ static ɵfac: i0.ɵɵFactoryDeclaration<Carousel, never>;
2224
+ static ɵcmp: i0.ɵɵComponentDeclaration<Carousel, "tls-carousel", never, { "loop": { "alias": "loop"; "required": false; "isSignal": true; }; "autoplayInterval": { "alias": "autoplayInterval"; "required": false; "isSignal": true; }; "showArrows": { "alias": "showArrows"; "required": false; "isSignal": true; }; "showIndicators": { "alias": "showIndicators"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["slides"], never, true, never>;
2225
+ }
2226
+
2227
+ declare const CAROUSEL_CONFIG: InjectionToken<CarouselConfig>;
2228
+
2229
+ type chipColor = color;
2230
+ type chipVariant = 'filled' | 'tonal' | 'outlined' | 'text';
2231
+ type chipSize = 'xs' | 'sm' | 'md' | 'lg';
2232
+ interface ChipContext {
2233
+ checked: boolean;
2234
+ disabled: boolean;
2235
+ readonly: boolean;
2236
+ touched: boolean;
2237
+ dirty: boolean;
2238
+ invalid: boolean;
2239
+ pending: boolean;
1910
2240
  }
2241
+ type chipTemplateContext = {
2242
+ $implicit: ChipContext;
2243
+ };
1911
2244
 
1912
2245
  declare class Chip {
1913
2246
  private _config;
@@ -1918,12 +2251,25 @@ declare class Chip {
1918
2251
  readonly rounded: i0.InputSignalWithTransform<boolean, unknown>;
1919
2252
  readonly icon: i0.InputSignalWithTransform<boolean, unknown>;
1920
2253
  readonly fluid: i0.InputSignalWithTransform<boolean, unknown>;
2254
+ /**
2255
+ * Ends the chip with a button that removes it, for a chip standing for
2256
+ * something the reader can take away: an applied filter, an entered value.
2257
+ * The chip only asks — `remove` reports the press, and the consumer drops it.
2258
+ */
2259
+ readonly removable: i0.InputSignalWithTransform<boolean, unknown>;
2260
+ /**
2261
+ * The remove button's accessible name, naming what goes ("Remove chest"), as
2262
+ * the button shows only an icon. Required with `removable`.
2263
+ */
2264
+ readonly removeLabel: InputSignal<string | undefined>;
2265
+ /** Reports a press of the remove button. */
2266
+ readonly remove: OutputEmitterRef<void>;
1921
2267
  readonly context: i0.WritableSignal<ChipContext>;
1922
2268
  protected readonly startIconTemplate: i0.Signal<TemplateRef<chipTemplateContext> | undefined>;
1923
2269
  protected readonly endIconTemplate: i0.Signal<TemplateRef<chipTemplateContext> | undefined>;
1924
2270
  protected classes: i0.Signal<string[]>;
1925
2271
  static ɵfac: i0.ɵɵFactoryDeclaration<Chip, never>;
1926
- static ɵcmp: i0.ɵɵComponentDeclaration<Chip, "tls-chip", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["startIconTemplate", "endIconTemplate"], ["*"], true, [{ directive: typeof RippleDirective; inputs: {}; outputs: {}; }]>;
2272
+ static ɵcmp: i0.ɵɵComponentDeclaration<Chip, "tls-chip", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "removeLabel": { "alias": "removeLabel"; "required": false; "isSignal": true; }; }, { "remove": "remove"; }, ["startIconTemplate", "endIconTemplate"], ["*"], true, never>;
1927
2273
  }
1928
2274
 
1929
2275
  declare class ChipControl extends CheckboxFormControl {
@@ -2256,10 +2602,14 @@ declare class DialogHeader {
2256
2602
  * Scrolling content region of a dialog. Takes the space left between the header
2257
2603
  * and footer and scrolls internally, so a tall dialog keeps its title and
2258
2604
  * actions visible instead of growing past the viewport.
2605
+ *
2606
+ * Registers as a CDK scroll container: a scroll event does not bubble, so a
2607
+ * panel anchored to a field inside the body would otherwise never hear the body
2608
+ * scroll and would stay where it opened while its field moves away.
2259
2609
  */
2260
2610
  declare class DialogBody {
2261
2611
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogBody, never>;
2262
- static ɵcmp: i0.ɵɵComponentDeclaration<DialogBody, "tls-dialog-body", never, {}, {}, never, ["*"], true, never>;
2612
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogBody, "tls-dialog-body", never, {}, {}, never, ["*"], true, [{ directive: typeof i1$1.CdkScrollable; inputs: {}; outputs: {}; }]>;
2263
2613
  }
2264
2614
 
2265
2615
  /**
@@ -2276,11 +2626,23 @@ declare class DialogFooter {
2276
2626
  }
2277
2627
 
2278
2628
  /**
2279
- * Marks the heading that titles a dialog, styling it to the dialog type scale.
2629
+ * Marks the heading that titles a dialog, or a drawer laid out with the
2630
+ * dialog's parts: it takes the dialog type scale, and it names the surface it
2631
+ * sits in, which points `aria-labelledby` at it, so the surface is announced by
2632
+ * its title without the opener naming it again. A name the opener passed
2633
+ * outranks it.
2280
2634
  */
2281
- declare class DialogTitleDirective {
2635
+ declare class DialogTitleDirective implements OnInit, OnDestroy {
2636
+ /** Sets each title's default id apart from every other's. */
2637
+ private static _counter;
2638
+ /** The dialog or drawer the title sits in; none when it is rendered outside one. */
2639
+ private readonly _container;
2640
+ /** The heading's id, which names the surface; one is generated when none is given. */
2641
+ readonly id: i0.InputSignal<string>;
2642
+ ngOnInit(): void;
2643
+ ngOnDestroy(): void;
2282
2644
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitleDirective, never>;
2283
- static ɵdir: i0.ɵɵDirectiveDeclaration<DialogTitleDirective, "[tlsDialogTitle]", never, {}, {}, never, never, true, never>;
2645
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogTitleDirective, "[tlsDialogTitle]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2284
2646
  }
2285
2647
 
2286
2648
  interface DialogOpenConfig<D = unknown> {
@@ -2403,6 +2765,10 @@ interface DrawerConfig {
2403
2765
  * panel that ignores backdrop clicks still owes keyboard users a way out.
2404
2766
  */
2405
2767
  escapeClose: boolean;
2768
+ /**
2769
+ * Rounds a side drawer's inner edge. A top or bottom drawer is a sheet and
2770
+ * always rounds its inner corners, whatever this says.
2771
+ */
2406
2772
  rounded: boolean;
2407
2773
  /**
2408
2774
  * Renders a grabber pill on the edge facing the viewport and makes the panel
@@ -2476,6 +2842,11 @@ declare class Drawer extends CdkDialogContainer {
2476
2842
  * pinned edge and the settle after release. The scrim thins as the panel leaves.
2477
2843
  */
2478
2844
  private readonly _motion;
2845
+ /**
2846
+ * How far toward the pinned edge the panel was drawn when the drag began: 0
2847
+ * from rest, the settle's position when caught mid-flight.
2848
+ */
2849
+ private _dragLead;
2479
2850
  protected readonly hostClasses: i0.Signal<string[]>;
2480
2851
  constructor();
2481
2852
  protected get config(): DrawerPanelConfig;
@@ -2543,28 +2914,34 @@ declare class Drawer extends CdkDialogContainer {
2543
2914
  private _onPanEnd;
2544
2915
  private _onPanCancel;
2545
2916
  /**
2546
- * Travel toward the panel's pinned edge in px. Negative while the finger moves
2917
+ * Travel toward the panel's pinned edge in px: where the drag picked the
2918
+ * panel up, plus the finger's travel since. Negative while the finger moves
2547
2919
  * the other way, which the caller clamps away — the panel does not overshoot open.
2548
2920
  */
2549
2921
  private _dismissTravel;
2550
2922
  /**
2551
- * Release velocity toward the pinned edge in px/ms. Signed independently of
2552
- * `_dismissTravel`: a drag that reverses into a flick must read as the flick.
2923
+ * The component toward the pinned edge of a physical vector — a travel, a
2924
+ * velocity, a translation. A velocity is read apart from the travel, so a
2925
+ * drag that reverses into a flick reads as the flick.
2553
2926
  */
2554
- private _dismissVelocity;
2927
+ private _towardEdge;
2555
2928
  /**
2556
2929
  * Horizontal quantities arrive physical; the inline sides are logical, so the
2557
2930
  * sign flips in RTL.
2558
2931
  */
2559
2932
  private _toLogical;
2560
2933
  private _isInlineSide;
2561
- /** Returns the panel to rest after a drag that did not commit. */
2934
+ /**
2935
+ * Returns the panel to rest after a drag that did not commit, launched at
2936
+ * the finger's `velocity` toward the pinned edge.
2937
+ */
2562
2938
  private _settleBack;
2563
2939
  /**
2564
- * Continues the drag out to the pinned edge and disposes on arrival. A dismissal
2565
- * that began as a drag cannot route through `animatedClose`: the slide-out
2566
- * keyframe starts from `transform: none`, so the panel would snap back to fully
2567
- * open for a frame before leaving.
2940
+ * Continues the drag out to `target` px — the pinned edge, or past it where
2941
+ * the finger already went — at the finger's `velocity`, and disposes on
2942
+ * arrival. A dismissal that began as a drag cannot route through
2943
+ * `animatedClose`: the slide-out keyframe starts from `transform: none`, so
2944
+ * the panel would snap back to fully open for a frame before leaving.
2568
2945
  */
2569
2946
  private _dragClose;
2570
2947
  private _sizeClass;
@@ -2649,6 +3026,14 @@ interface DrawerOpenConfig<D = unknown> {
2649
3026
  * focus" would be the page itself.
2650
3027
  */
2651
3028
  restoreFocus?: HTMLElement | boolean;
3029
+ /**
3030
+ * Where focus goes as the drawer opens: its first tabbable element (the
3031
+ * default), its first heading, the panel itself, or the element a selector
3032
+ * names. Start on the heading where the first tabbable element is an action
3033
+ * that discards something, such as one that clears what the drawer holds, so
3034
+ * opening the drawer never leaves that action one keypress away.
3035
+ */
3036
+ autoFocus?: AutoFocusTarget | string;
2652
3037
  /**
2653
3038
  * Opens the drawer under a drag instead of by itself: it stays where it
2654
3039
  * starts until the caller feeds the drag through `DrawerRef.followOpenDrag`
@@ -2924,6 +3309,19 @@ declare const DEFAULT_FORM_CONTROL_GROUP_CONFIG: FormControlGroupConfig;
2924
3309
 
2925
3310
  declare const FORM_CONTROL_GROUP_CONFIG: InjectionToken<FormControlGroupConfig>;
2926
3311
 
3312
+ /**
3313
+ * Marks content a form item draws at the far end of its label's row — an action that concerns
3314
+ * the field, such as a "Forgot password?" link beside a password's label. It sits beside the
3315
+ * label element rather than inside it, so it takes no part in the name the label gives a control
3316
+ * or a group, and a press on it never reaches the control. It follows the control in the document, so focus
3317
+ * reaches the field before the action beside its label. Meant for a label placed above its
3318
+ * control.
3319
+ */
3320
+ declare class FormItemLabelAction {
3321
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemLabelAction, never>;
3322
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormItemLabelAction, "[tlsFormItemLabelAction]", never, {}, {}, never, never, true, never>;
3323
+ }
3324
+
2927
3325
  type ErrorMessageFn = (fieldTree?: ReadonlyFieldTree<unknown>) => string;
2928
3326
  type ErrorMessageMap = Record<string, ErrorMessageFn>;
2929
3327
 
@@ -2946,7 +3344,13 @@ interface FormItemConfig {
2946
3344
  declare const DEFAULT_FORM_ITEM_CONFIG: FormItemConfig;
2947
3345
 
2948
3346
  type labelPosition = 'top' | 'start' | 'end';
2949
- /** Context handed to a custom label template, rendered inside the form item's own `<label>`. */
3347
+ /**
3348
+ * The role a form item takes when its label names a group of controls rather than one:
3349
+ * `group` for a set of fields answering one question, `radiogroup` for the options of a
3350
+ * single choice — the one of the two that can state an answer is required.
3351
+ */
3352
+ type formItemGroup = 'group' | 'radiogroup';
3353
+ /** Context handed to a custom label template, rendered inside the form item's own label element. */
2950
3354
  interface FormItemLabelContext {
2951
3355
  /** Label text of the item, `undefined` when only a template supplies the label. */
2952
3356
  $implicit: string | undefined;
@@ -2959,9 +3363,17 @@ interface FormItemLabelContext {
2959
3363
  }
2960
3364
 
2961
3365
  declare class FormItem {
3366
+ /** Whether a `tlsFormSkeleton` above the item says its form is still being read. */
3367
+ private readonly _isFormSkeleton;
2962
3368
  private static _counter;
2963
3369
  private _config;
2964
- protected control: Signal<FormControl | undefined>;
3370
+ /**
3371
+ * The first control among the projected content. An item labelling a group adopts none of
3372
+ * them: each control inside a group is labelled by its own item.
3373
+ */
3374
+ private readonly _projectedControl;
3375
+ /** The one control the item labels, describes and validates; none for a group. */
3376
+ protected readonly control: Signal<FormControl<unknown> | undefined>;
2965
3377
  /**
2966
3378
  * The signal-forms bindings among the projected content. A group can seat bound and unbound
2967
3379
  * controls side by side, so these are matched to the control by element rather than taken as
@@ -2969,10 +3381,12 @@ declare class FormItem {
2969
3381
  */
2970
3382
  private readonly _formFields;
2971
3383
  /**
2972
- * Content of the label, rendered inside the item's own `<label>` element so the `for` /
3384
+ * Content of the label, rendered inside the item's own label element so the `for` /
2973
3385
  * `aria-labelledby` wiring is kept. Replaces the label text and the required / optional markers.
2974
3386
  */
2975
3387
  protected readonly labelTemplate: Signal<TemplateRef<FormItemLabelContext> | undefined>;
3388
+ /** Content drawn at the far end of the label's row; see {@link FormItemLabelAction}. */
3389
+ protected readonly labelAction: Signal<FormItemLabelAction | undefined>;
2976
3390
  /** Stable id for the label element, linked to the control via `aria-labelledby`. */
2977
3391
  protected readonly labelId: string;
2978
3392
  /** Stable id assigned to the native control element, linked from the label via `for`. */
@@ -2982,6 +3396,21 @@ declare class FormItem {
2982
3396
  /** Stable id for the error element, linked to the control via `aria-describedby`. */
2983
3397
  protected readonly errorId: string;
2984
3398
  label: i0.InputSignal<string | undefined>;
3399
+ /**
3400
+ * Names a group of controls instead of a single one — a set of options, or several fields
3401
+ * answering one question. The label is drawn exactly as a field's, above the controls, and the
3402
+ * item takes the group's role (`group`, or `radiogroup` for the options of one choice) with
3403
+ * the label as its name. The controls inside keep their own items, which label each one; the
3404
+ * group adopts none of them, so its markers come from `required` rather than from a control.
3405
+ */
3406
+ group: i0.InputSignalWithTransform<formItemGroup | null, boolean | "" | formItemGroup | null | undefined>;
3407
+ /**
3408
+ * Whether a group must be answered: `true` draws the required marker where markers are shown,
3409
+ * and states it to assistive technology on a `radiogroup`; `false` draws the optional text; unset
3410
+ * draws neither. An item around a single control reads this from the control instead, and
3411
+ * ignores it.
3412
+ */
3413
+ required: i0.InputSignal<boolean | undefined>;
2985
3414
  /**
2986
3415
  * Placement of the label relative to the control. `top` stacks the label above the control;
2987
3416
  * `start` / `end` place it inline before / after the control (typical for a checkbox or switch).
@@ -2992,6 +3421,20 @@ declare class FormItem {
2992
3421
  * item to full width. Only applies to inline (`start` / `end`) label positions.
2993
3422
  */
2994
3423
  spread: i0.InputSignalWithTransform<boolean, unknown>;
3424
+ /**
3425
+ * Draws the control as a skeleton, for a value that is still being read. The control's slot
3426
+ * becomes a placeholder exactly the size of the control, which stays in place unseen, so the
3427
+ * item stands as it will once the value arrives; the label and the hint are shown as they are.
3428
+ * An item beneath a `tlsFormSkeleton` is drawn so whenever that says to, with nothing set here.
3429
+ */
3430
+ skeleton: i0.InputSignalWithTransform<boolean, unknown>;
3431
+ /**
3432
+ * Keeps the footer's line open beneath a control that can display a validation error, so an
3433
+ * error appearing — often as focus leaves the field for a press on something below it — moves
3434
+ * nothing beneath the item, and the press lands where it began. An item whose control can
3435
+ * never display one (a setting bound to a plain value, a toggle that is not required) reserves
3436
+ * nothing, since it holds no line any error would need.
3437
+ */
2995
3438
  reserveErrorSpace: i0.InputSignal<boolean>;
2996
3439
  reserveLabelSpace: i0.InputSignal<boolean>;
2997
3440
  displayErrors: i0.InputSignal<boolean>;
@@ -3016,11 +3459,16 @@ declare class FormItem {
3016
3459
  protected showRequired: Signal<boolean>;
3017
3460
  /**
3018
3461
  * Whether the label carries the optional marker: only for a control that edits a form's field,
3019
- * can be left unanswered, and is not required — a setting or a toggle has nothing to skip.
3462
+ * can be left unanswered, and is not required — a setting or a toggle has nothing to skip. A
3463
+ * group carries it when `required` says it may be left unanswered.
3020
3464
  */
3021
3465
  protected showOptional: Signal<boolean>;
3466
+ /** Whether the footer holds its line open for an error that has not appeared. */
3467
+ protected reservesErrorLine: Signal<boolean>;
3022
3468
  /** Whether a label is rendered, from either the `label` input or a custom label template. */
3023
3469
  protected hasLabel: Signal<boolean>;
3470
+ /** Whether a label above the control shares its row with an action. */
3471
+ protected hasLabelActionRow: Signal<boolean>;
3024
3472
  protected labelContext: Signal<FormItemLabelContext>;
3025
3473
  protected labelFor: Signal<string | null>;
3026
3474
  protected hostClasses: Signal<string[]>;
@@ -3034,9 +3482,14 @@ declare class FormItem {
3034
3482
  protected errorMessages: Signal<string[]>;
3035
3483
  protected firstErrorMessage: Signal<string | null>;
3036
3484
  constructor();
3485
+ /**
3486
+ * Whether the control edits a form's field. One bound to a plain value is a setting rather than
3487
+ * a question to answer: it is never left unanswered and carries no validation of its own.
3488
+ */
3489
+ private _isFormField;
3037
3490
  private _getErrorMessages;
3038
3491
  static ɵfac: i0.ɵɵFactoryDeclaration<FormItem, never>;
3039
- static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, ["control", "_formFields", "labelTemplate"], ["*"], true, never>;
3492
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormItem, "tls-form-item", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "spread": { "alias": "spread"; "required": false; "isSignal": true; }; "skeleton": { "alias": "skeleton"; "required": false; "isSignal": true; }; "reserveErrorSpace": { "alias": "reserveErrorSpace"; "required": false; "isSignal": true; }; "reserveLabelSpace": { "alias": "reserveLabelSpace"; "required": false; "isSignal": true; }; "displayErrors": { "alias": "displayErrors"; "required": false; "isSignal": true; }; "showRequiredMarker": { "alias": "showRequiredMarker"; "required": false; "isSignal": true; }; "optionalText": { "alias": "optionalText"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, ["_projectedControl", "_formFields", "labelTemplate", "labelAction"], ["*", "[tlsFormItemLabelAction]"], true, never>;
3040
3493
  }
3041
3494
 
3042
3495
  /**
@@ -3055,6 +3508,29 @@ declare const provideFormItemConfig: (config: Partial<FormItemConfig>) => Provid
3055
3508
 
3056
3509
  declare const FORM_ITEM_CONFIG: InjectionToken<FormItemConfig>;
3057
3510
 
3511
+ /**
3512
+ * Draws every form item beneath it as a skeleton, and makes everything beneath
3513
+ * it inert, for a form whose values are still being read. One binding on the
3514
+ * form, or on any element around its fields, reaches the items however deep
3515
+ * they sit, those inside other components included, so a form is rendered once
3516
+ * from its blank model rather than written out a second time as a placeholder.
3517
+ */
3518
+ declare class FormSkeleton {
3519
+ /** Whether the values are still being read. */
3520
+ readonly active: i0.InputSignalWithTransform<boolean, unknown>;
3521
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormSkeleton, never>;
3522
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormSkeleton, "[tlsFormSkeleton]", never, { "active": { "alias": "tlsFormSkeleton"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3523
+ }
3524
+
3525
+ /**
3526
+ * Whether the form around the caller is drawn as a skeleton: what the nearest
3527
+ * `tlsFormSkeleton` above it says, and never where there is none. For a part
3528
+ * of a form that is not a form item, a list or an upload, say, to stand in
3529
+ * for itself at the same moment the items around it do. Called in an injection
3530
+ * context.
3531
+ */
3532
+ declare function injectFormSkeleton(): Signal<boolean>;
3533
+
3058
3534
  /**
3059
3535
  * How the typed query narrows the option list.
3060
3536
  *
@@ -3133,7 +3609,7 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
3133
3609
  protected onInput(event: Event): void;
3134
3610
  protected onKeydown(event: KeyboardEvent): void;
3135
3611
  protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
3136
- protected hostStateClasses(): string[];
3612
+ protected hostModifierClasses(): string[];
3137
3613
  protected onClosed(): void;
3138
3614
  protected clear(): void;
3139
3615
  protected getInitialActiveIndex(): number;
@@ -3585,8 +4061,16 @@ declare class DateTimePicker extends ValueFormControl<Date | null> {
3585
4061
  readonly size: InputSignal<controlSize>;
3586
4062
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
3587
4063
  readonly yearsPerPage: InputSignal<number>;
3588
- readonly weekStartsOn: InputSignal<Day>;
3589
- readonly weekDays: InputSignal<string[]>;
4064
+ /**
4065
+ * First day of the week (`date-fns` convention: 0 = Sunday) for this instance alone. Unset, it
4066
+ * follows the component config's `weekStartsOn`, then the app-wide `WEEK_STARTS_ON`.
4067
+ */
4068
+ readonly weekStartsOn: InputSignal<Day | undefined>;
4069
+ /**
4070
+ * Weekday names, Sunday first, for this instance alone. Unset, they follow the component
4071
+ * config's `weekDays`, then the configured `date-fns` locale.
4072
+ */
4073
+ readonly weekDays: InputSignal<string[] | undefined>;
3590
4074
  /** Earliest selectable day, inclusive; the calendar disables earlier days. */
3591
4075
  readonly minDate: InputSignal<Date | null>;
3592
4076
  /** Latest selectable day, inclusive; the calendar disables later days. */
@@ -3599,6 +4083,10 @@ declare class DateTimePicker extends ValueFormControl<Date | null> {
3599
4083
  protected readonly viewDate: WritableSignal<Date>;
3600
4084
  /** The drill-down level shown; each opening starts again at the mode's own level. */
3601
4085
  protected readonly activeView: WritableSignal<ActiveView>;
4086
+ /** The first day of the week this instance lays its days out from. */
4087
+ protected readonly resolvedWeekStartsOn: Signal<Day>;
4088
+ /** The weekday names this instance heads its days with, Sunday first. */
4089
+ protected readonly resolvedWeekDays: Signal<string[]>;
3602
4090
  protected readonly hostClasses: Signal<string[]>;
3603
4091
  protected readonly triggerLabel: Signal<string>;
3604
4092
  /**
@@ -3642,8 +4130,16 @@ interface DateTimePickerConfig {
3642
4130
  placeholder: string;
3643
4131
  size: controlSize;
3644
4132
  yearsPerPage: number;
3645
- weekStartsOn: Day;
3646
- weekDays: string[];
4133
+ /**
4134
+ * First day of the week (`date-fns` convention: 0 = Sunday) for every date-time picker, over
4135
+ * the app-wide `WEEK_STARTS_ON`. Unset, pickers follow that global value.
4136
+ */
4137
+ weekStartsOn?: Day;
4138
+ /**
4139
+ * Short weekday labels, Sunday-first, for every date-time picker. Unset, they are the
4140
+ * configured `date-fns` locale's own.
4141
+ */
4142
+ weekDays?: string[];
3647
4143
  }
3648
4144
  declare const DEFAULT_DATE_TIME_PICKER_CONFIG: DateTimePickerConfig;
3649
4145
 
@@ -3688,6 +4184,21 @@ declare const DEFAULT_CHIP_GROUP_CONFIG: ChipGroupConfig;
3688
4184
 
3689
4185
  declare const CHIP_GROUP_CONFIG: InjectionToken<ChipGroupConfig>;
3690
4186
 
4187
+ /** Accessible names for the chip input's controls, overridable for localization. */
4188
+ interface ChipInputLabels {
4189
+ /** Accessible name for a chip's remove button, from the value the chip holds. */
4190
+ remove: (value: string) => string;
4191
+ }
4192
+ interface ChipInputConfig {
4193
+ size: controlSize;
4194
+ placeholder: string;
4195
+ fluid: boolean;
4196
+ separator: string[];
4197
+ /** Accessible names for the controls, overridable for localization. */
4198
+ labels: ChipInputLabels;
4199
+ }
4200
+ declare const DEFAULT_CHIP_INPUT_CONFIG: ChipInputConfig;
4201
+
3691
4202
  declare class ChipInput extends ValueFormControl<string[]> {
3692
4203
  private readonly _config;
3693
4204
  readonly value: ModelSignal<string[]>;
@@ -3695,6 +4206,7 @@ declare class ChipInput extends ValueFormControl<string[]> {
3695
4206
  readonly size: InputSignal<controlSize>;
3696
4207
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
3697
4208
  readonly separator: InputSignal<string[]>;
4209
+ protected readonly labels: ChipInputLabels;
3698
4210
  protected readonly inputValue: i0.WritableSignal<string>;
3699
4211
  protected readonly classes: Signal<string[]>;
3700
4212
  protected onInput(event: Event): void;
@@ -3705,14 +4217,6 @@ declare class ChipInput extends ValueFormControl<string[]> {
3705
4217
  static ɵcmp: i0.ɵɵComponentDeclaration<ChipInput, "tls-chip-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "separator": { "alias": "separator"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
3706
4218
  }
3707
4219
 
3708
- interface ChipInputConfig {
3709
- size: controlSize;
3710
- placeholder: string;
3711
- fluid: boolean;
3712
- separator: string[];
3713
- }
3714
- declare const DEFAULT_CHIP_INPUT_CONFIG: ChipInputConfig;
3715
-
3716
4220
  declare const CHIP_INPUT_CONFIG: InjectionToken<ChipInputConfig>;
3717
4221
 
3718
4222
  /** The `accept` rule set, as the attribute string or the parts of one. */
@@ -3789,6 +4293,13 @@ interface FileInputFileContext {
3789
4293
  index: number;
3790
4294
  remove: (index: number) => void;
3791
4295
  }
4296
+ /** What a projected trigger is handed in place of the built-in button. */
4297
+ interface FileInputTriggerContext {
4298
+ /** Opens the file picker; does nothing while the control is not interactive. */
4299
+ $implicit: () => void;
4300
+ /** Whether the control is disabled or read-only, for the trigger to show it. */
4301
+ disabled: boolean;
4302
+ }
3792
4303
 
3793
4304
  declare class FileInput extends ValueFormControl<File[]> {
3794
4305
  private readonly _config;
@@ -3803,11 +4314,18 @@ declare class FileInput extends ValueFormControl<File[]> {
3803
4314
  protected readonly nativeInput: Signal<ElementRef<HTMLInputElement>>;
3804
4315
  protected readonly dropZoneTemplate: Signal<TemplateRef<FileInputDropZoneContext> | undefined>;
3805
4316
  protected readonly fileTemplate: Signal<TemplateRef<FileInputFileContext> | undefined>;
4317
+ /**
4318
+ * A consumer's own control for opening the picker, drawn in place of the built-in button and
4319
+ * its accept hint in the `button` variant. It names and describes itself: the control's
4320
+ * `ariaLabel` and described-by wiring belong to the built-in button only.
4321
+ */
4322
+ protected readonly triggerTemplate: Signal<TemplateRef<FileInputTriggerContext> | undefined>;
3806
4323
  protected readonly classes: Signal<string[]>;
3807
4324
  protected readonly triggerLabel: Signal<string>;
3808
4325
  /** Accessible name for the drop zone: the consumer's, or the configured fallback. */
3809
4326
  protected readonly dropZoneLabel: Signal<string>;
3810
4327
  protected readonly acceptHint: Signal<string>;
4328
+ protected readonly triggerContext: Signal<FileInputTriggerContext>;
3811
4329
  protected openFilePicker(): void;
3812
4330
  protected onFilesSelected(event: Event): void;
3813
4331
  protected onDropZoneKeydown(event: KeyboardEvent): void;
@@ -3821,7 +4339,7 @@ declare class FileInput extends ValueFormControl<File[]> {
3821
4339
  protected addFiles(incoming: File[]): void;
3822
4340
  private _formatAcceptRule;
3823
4341
  static ɵfac: i0.ɵɵFactoryDeclaration<FileInput, never>;
3824
- static ɵcmp: i0.ɵɵComponentDeclaration<FileInput, "tls-file-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "hideFileList": { "alias": "hideFileList"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["dropZoneTemplate", "fileTemplate"], never, true, never>;
4342
+ static ɵcmp: i0.ɵɵComponentDeclaration<FileInput, "tls-file-input", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "accept": { "alias": "accept"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "hideFileList": { "alias": "hideFileList"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["dropZoneTemplate", "fileTemplate", "triggerTemplate"], never, true, never>;
3825
4343
  }
3826
4344
 
3827
4345
  interface FileInputConfig {
@@ -4132,6 +4650,8 @@ declare const PASSWORD_CONFIG: InjectionToken<PasswordConfig>;
4132
4650
  * shell serves the choosers a select cannot express.
4133
4651
  */
4134
4652
  declare class PickerField {
4653
+ /** The popup a trigger directive on the field opens, announced on its inner trigger. */
4654
+ protected readonly popup: PopupAnnouncement;
4135
4655
  /** Whether the consumer's panel is open; turns the chevron and keeps the frame active. */
4136
4656
  readonly open: i0.InputSignalWithTransform<boolean, unknown>;
4137
4657
  readonly size: InputSignal<controlSize>;
@@ -4139,9 +4659,27 @@ declare class PickerField {
4139
4659
  readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
4140
4660
  /** Accessible name for the trigger, for a value face that is not self-describing. */
4141
4661
  readonly ariaLabel: InputSignal<string | undefined>;
4662
+ /**
4663
+ * The id put on the trigger, so a `<label for>` names it as it names a native control. A
4664
+ * form control built on the field forwards its own resolved id here.
4665
+ */
4666
+ readonly inputId: InputSignal<string | null>;
4667
+ /** Ids of the elements naming the trigger, forwarded as a form control forwards its label. */
4668
+ readonly ariaLabelledby: InputSignal<string | null>;
4669
+ /** Ids of the elements describing the trigger: a hint, an error. */
4670
+ readonly ariaDescribedby: InputSignal<string | null>;
4671
+ /** Whether the value is refused: the field takes its error ring and the trigger reports it. */
4672
+ readonly invalid: i0.InputSignalWithTransform<boolean, unknown>;
4673
+ /** The button that takes focus and opens the consumer's panel. */
4674
+ private readonly _trigger;
4142
4675
  protected readonly hostClasses: i0.Signal<string[]>;
4676
+ /**
4677
+ * Moves focus to the trigger, as a form control's `focus` does: the host is
4678
+ * only a frame. For a consumer handing focus back once its panel has gone.
4679
+ */
4680
+ focus(): void;
4143
4681
  static ɵfac: i0.ɵɵFactoryDeclaration<PickerField, never>;
4144
- static ɵcmp: i0.ɵɵComponentDeclaration<PickerField, "tls-picker-field", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
4682
+ static ɵcmp: i0.ɵɵComponentDeclaration<PickerField, "tls-picker-field", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inputId": { "alias": "inputId"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
4145
4683
  }
4146
4684
 
4147
4685
  type pinInputType = 'numeric' | 'alphanumeric' | RegExp;
@@ -4358,17 +4896,26 @@ declare class MultiSelect<T, V = unknown> extends AbstractSelect<T, V, V[]> {
4358
4896
  readonly clearLabel: InputSignal<string>;
4359
4897
  readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
4360
4898
  readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
4899
+ /**
4900
+ * Opens the list as a bottom sheet on a small screen — at or below the configured
4901
+ * `sheetBelow` breakpoint, and never where the config names none. For a list too long to
4902
+ * read comfortably in a panel beside the field on a phone; a short list stays beside it.
4903
+ */
4904
+ readonly sheet: InputSignalWithTransform<boolean, unknown>;
4905
+ /** Label of the button that closes the list when it is shown as a sheet. */
4906
+ readonly doneLabel: InputSignal<string>;
4361
4907
  protected readonly hasValue: Signal<boolean>;
4362
4908
  protected readonly selectedValues: Signal<Set<V>>;
4363
4909
  protected readonly triggerLabel: Signal<string>;
4364
4910
  protected isSelected(option: Option<V>): boolean;
4365
4911
  protected isOptionSelected(option: Option<V>): boolean;
4366
4912
  protected toggleOption(option: Option<V>): void;
4913
+ protected sheetBreakpoint(): breakpoint | null;
4367
4914
  protected clear(): void;
4368
4915
  protected getInitialActiveIndex(): number;
4369
4916
  protected commitActiveOption(option: Option<V>): void;
4370
4917
  static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelect<any, any>, never>;
4371
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelect<any, any>, "tls-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLabels": { "alias": "maxLabels"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
4918
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelect<any, any>, "tls-multi-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLabels": { "alias": "maxLabels"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "sheet": { "alias": "sheet"; "required": false; "isSignal": true; }; "doneLabel": { "alias": "doneLabel"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
4372
4919
  }
4373
4920
 
4374
4921
  interface MultiSelectConfig {
@@ -4385,6 +4932,19 @@ interface MultiSelectConfig {
4385
4932
  virtualScroll: boolean;
4386
4933
  /** Fixed height of an option row, in pixels, when the panel is virtualized. */
4387
4934
  virtualScrollItemSize: number;
4935
+ /**
4936
+ * Opens the list as a bottom sheet on a small screen — at or below `sheetBelow` — for a list
4937
+ * too long to read comfortably in a panel beside the field on a phone. Off by default: a short
4938
+ * list reads well beside its field at any width.
4939
+ */
4940
+ sheet: boolean;
4941
+ /**
4942
+ * Breakpoint at or below which a control with `sheet` set opens its list as a bottom sheet;
4943
+ * `null` keeps every list beside its field.
4944
+ */
4945
+ sheetBelow: breakpoint | null;
4946
+ /** Label of the button that closes the list when it is shown as a sheet, overridable for localization. */
4947
+ doneLabel: string;
4388
4948
  }
4389
4949
  declare const DEFAULT_MULTI_SELECT_CONFIG: MultiSelectConfig;
4390
4950
 
@@ -4401,24 +4961,39 @@ declare class Select<T, V = unknown> extends AbstractSelect<T, V, V | null> {
4401
4961
  readonly value: ModelSignal<V | null>;
4402
4962
  readonly placeholder: InputSignal<string>;
4403
4963
  readonly size: InputSignal<controlSize>;
4964
+ /**
4965
+ * How the field presents itself at rest, as a text field's does: `plain` draws no fill until
4966
+ * it is hovered or focused and takes its type from the text around it, so a choice can sit
4967
+ * among plain fields and read as part of the line.
4968
+ */
4969
+ readonly variant: InputSignal<inputVariant>;
4404
4970
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
4405
4971
  readonly clearable: InputSignalWithTransform<boolean, unknown>;
4406
4972
  readonly clearLabel: InputSignal<string>;
4407
4973
  readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
4408
4974
  readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
4975
+ /**
4976
+ * Opens the list as a bottom sheet on a small screen — at or below the configured
4977
+ * `sheetBelow` breakpoint, and never where the config names none. For a list too long to
4978
+ * read comfortably in a panel beside the field on a phone; a short list stays beside it.
4979
+ */
4980
+ readonly sheet: InputSignalWithTransform<boolean, unknown>;
4409
4981
  protected readonly hasValue: Signal<boolean>;
4410
4982
  protected readonly selectedLabel: Signal<string>;
4411
4983
  protected select(option: Option<V>): void;
4412
4984
  protected isOptionSelected(option: Option<V>): boolean;
4985
+ protected hostModifierClasses(): string[];
4986
+ protected sheetBreakpoint(): breakpoint | null;
4413
4987
  protected clear(): void;
4414
4988
  protected getInitialActiveIndex(): number;
4415
4989
  protected commitActiveOption(option: Option<V>): void;
4416
4990
  static ɵfac: i0.ɵɵFactoryDeclaration<Select<any, any>, never>;
4417
- static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
4991
+ static ɵcmp: i0.ɵɵComponentDeclaration<Select<any, any>, "tls-select", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; "sheet": { "alias": "sheet"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
4418
4992
  }
4419
4993
 
4420
4994
  interface SelectConfig {
4421
4995
  size: controlSize;
4996
+ variant: inputVariant;
4422
4997
  placeholder: string;
4423
4998
  fluid: boolean;
4424
4999
  clearable: boolean;
@@ -4428,6 +5003,17 @@ interface SelectConfig {
4428
5003
  virtualScroll: boolean;
4429
5004
  /** Fixed height of an option row, in pixels, when the panel is virtualized. */
4430
5005
  virtualScrollItemSize: number;
5006
+ /**
5007
+ * Opens the list as a bottom sheet on a small screen — at or below `sheetBelow` — for a list
5008
+ * too long to read comfortably in a panel beside the field on a phone. Off by default: a short
5009
+ * list reads well beside its field at any width.
5010
+ */
5011
+ sheet: boolean;
5012
+ /**
5013
+ * Breakpoint at or below which a control with `sheet` set opens its list as a bottom sheet;
5014
+ * `null` keeps every list beside its field.
5015
+ */
5016
+ sheetBelow: breakpoint | null;
4431
5017
  }
4432
5018
  declare const DEFAULT_SELECT_CONFIG: SelectConfig;
4433
5019
 
@@ -4611,7 +5197,7 @@ declare class ToggleButton extends CheckboxFormControl {
4611
5197
  protected toggle(): void;
4612
5198
  protected onKeyboardToggle(event: Event): void;
4613
5199
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButton, never>;
4614
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButton, "tls-toggle-button", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "checkedLabel": { "alias": "checkedLabel"; "required": false; "isSignal": true; }; "staticWidth": { "alias": "staticWidth"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "checkedColor": { "alias": "checkedColor"; "required": false; "isSignal": true; }; "checkedVariant": { "alias": "checkedVariant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, [{ directive: typeof RippleDirective; inputs: {}; outputs: {}; }]>;
5200
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButton, "tls-toggle-button", never, { "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "checkedLabel": { "alias": "checkedLabel"; "required": false; "isSignal": true; }; "staticWidth": { "alias": "staticWidth"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "checkedColor": { "alias": "checkedColor"; "required": false; "isSignal": true; }; "checkedVariant": { "alias": "checkedVariant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; }, never, ["*"], true, never>;
4615
5201
  }
4616
5202
 
4617
5203
  interface ToggleButtonConfig {
@@ -4628,7 +5214,16 @@ declare const DEFAULT_TOGGLE_BUTTON_CONFIG: ToggleButtonConfig;
4628
5214
 
4629
5215
  declare const TOGGLE_BUTTON_CONFIG: InjectionToken<ToggleButtonConfig>;
4630
5216
 
4631
- type toggleGroupVariant = 'filled' | 'tonal';
5217
+ /**
5218
+ * How a toggle group draws its options. `filled` and `tonal` join them into one
5219
+ * strip and fill the chosen ones with the group's color, solid or as a wash.
5220
+ * `segmented` sets them apart on a track and lifts the chosen one off it as a
5221
+ * pill, the look of a segmented tab strip; it reads none of the group's color.
5222
+ * `list` draws them as the rows of an inset-grouped list, with a line between
5223
+ * rows and a check at the end of the chosen one — a page of choices, opened
5224
+ * from a list of settings; meant for a vertical group, and neutral too.
5225
+ */
5226
+ type toggleGroupVariant = 'filled' | 'tonal' | 'segmented' | 'list';
4632
5227
 
4633
5228
  declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
4634
5229
  private readonly _config;
@@ -4637,14 +5232,32 @@ declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
4637
5232
  readonly unselectable: InputSignalWithTransform<boolean, unknown>;
4638
5233
  readonly size: InputSignal<controlSize>;
4639
5234
  readonly color: InputSignal<color>;
5235
+ /**
5236
+ * How the options are drawn: joined into one strip and filled with `color`
5237
+ * where chosen (`filled`, `tonal`), or set apart on a track with the chosen
5238
+ * one lifted off it as a pill (`segmented`), which ignores `color`.
5239
+ */
4640
5240
  readonly variant: InputSignal<toggleGroupVariant>;
4641
5241
  readonly orientation: InputSignal<orientation>;
5242
+ /**
5243
+ * Rounds the group's ends fully, into a pill. A segmented group's chosen pill
5244
+ * follows, since it is always drawn concentric with the track.
5245
+ */
5246
+ readonly rounded: InputSignalWithTransform<boolean, unknown>;
4642
5247
  /** Whether the group stretches to fill its container's width with equal-width options. */
4643
5248
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
4644
5249
  protected readonly optionTemplate: Signal<TemplateRef<selectionGroupTemplateContext<T, V>> | undefined>;
5250
+ private readonly _optionButtons;
5251
+ /**
5252
+ * The option a single travelling pill marks: the one chosen, in a segmented
5253
+ * group that takes one choice. Nothing in a joined treatment, in a group of
5254
+ * several choices — each keeps a pill of its own — or with nothing chosen.
5255
+ */
5256
+ private readonly _markedOption;
4645
5257
  protected readonly classes: Signal<string[]>;
5258
+ constructor();
4646
5259
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroup<any, any>, never>;
4647
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleGroup<any, any>, "tls-toggle-group", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "unselectable": { "alias": "unselectable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
5260
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleGroup<any, any>, "tls-toggle-group", never, { "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "unselectable": { "alias": "unselectable"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
4648
5261
  }
4649
5262
 
4650
5263
  interface ToggleGroupConfig {
@@ -4654,6 +5267,8 @@ interface ToggleGroupConfig {
4654
5267
  orientation: orientation;
4655
5268
  multiple: boolean;
4656
5269
  unselectable: boolean;
5270
+ /** Rounds the group's ends fully, into a pill, wherever its own `rounded` input is left unset. */
5271
+ rounded: boolean;
4657
5272
  fluid: boolean;
4658
5273
  }
4659
5274
  declare const DEFAULT_TOGGLE_GROUP_CONFIG: ToggleGroupConfig;
@@ -5373,90 +5988,6 @@ declare const DEFAULT_MARK_CONFIG: MarkConfig;
5373
5988
 
5374
5989
  declare const MARK_CONFIG: InjectionToken<MarkConfig>;
5375
5990
 
5376
- /**
5377
- * Where a dragged surface's transform comes from. `idle` leaves it to the
5378
- * stylesheet's enter/leave keyframes; `dragging` hands it to the finger;
5379
- * `settling` animates it to where the release sent it.
5380
- */
5381
- type sheetMotionState = 'idle' | 'dragging' | 'settling';
5382
- /** What a `SheetMotion` is fixed to for its lifetime. */
5383
- interface SheetMotionOptions {
5384
- /** The custom property the stylesheet turns into the surface's translate. */
5385
- property: string;
5386
- /**
5387
- * Opacity of the scrim at a drag progress: `1 - progress` for a surface that
5388
- * dims as it leaves, `progress` for one that dims as it grows.
5389
- */
5390
- backdropOpacity: (progress: number) => number;
5391
- renderer: Renderer2;
5392
- injector: Injector;
5393
- }
5394
- /**
5395
- * The elements one gesture moves, given per gesture: a surface stamped fresh on
5396
- * every open cannot be fixed at construction.
5397
- */
5398
- interface SheetMotionSurface {
5399
- panel: HTMLElement;
5400
- backdrop: HTMLElement | null;
5401
- /** Travel in px from rest to fully committed. */
5402
- extent: number;
5403
- }
5404
-
5405
- /**
5406
- * Moves a dragged surface along one axis: writes its displacement to the
5407
- * custom property the stylesheet turns into a translate, keeps a scrim's
5408
- * opacity in step with the drag, and settles the surface to where a release
5409
- * sent it through the stylesheet's transition.
5410
- *
5411
- * The engine knows nothing of what the offsets mean — where rest is, what
5412
- * range is legal, which release commits — and no pan events; the owning
5413
- * component maps its gesture onto `begin`, `follow` and `settle`.
5414
- */
5415
- declare class SheetMotion {
5416
- private readonly _options;
5417
- private readonly _state;
5418
- /** Bound to the surface's `--dragging` / `--settling` classes. */
5419
- readonly state: i0.Signal<sheetMotionState>;
5420
- private _surface;
5421
- /**
5422
- * Incremented by begin and rest; a settle belongs to the gesture that started it.
5423
- */
5424
- private _gesture;
5425
- constructor(_options: SheetMotionOptions);
5426
- /** Travel in px of the gesture in progress, from rest to fully committed; 0 outside a gesture. */
5427
- get extent(): number;
5428
- /** Takes hold of the surface for one gesture. */
5429
- begin(surface: SheetMotionSurface): void;
5430
- /**
5431
- * Moves the surface to `offset` px. The offset is written as given: what
5432
- * range is legal is the caller's rule.
5433
- */
5434
- follow(offset: number): void;
5435
- /**
5436
- * Animates the surface to `target` px through the stylesheet's settle
5437
- * transition, then calls `done`. The state stays `settling` until `rest` is
5438
- * called: a settle that ends in a dispose keeps its class on until the
5439
- * overlay is gone, so the keyframe the class stands down cannot replay.
5440
- *
5441
- * A `begin` or `rest` that arrives before the settle finishes supersedes it:
5442
- * a superseded settle neither moves the surface nor reports `done`.
5443
- */
5444
- settle(target: number, done: () => void): void;
5445
- /**
5446
- * A settle from rest with no drag: takes hold of `surface` and settles it to
5447
- * `target` in one step, for a change asked by a click, a key or code rather
5448
- * than a finger. Supersedes a running settle the way a `begin` does.
5449
- */
5450
- moveTo(surface: SheetMotionSurface, target: number, done: () => void): void;
5451
- /** Lets go of the surface; the transform is the stylesheet's again. */
5452
- rest(): void;
5453
- /**
5454
- * Only the backdrop's progress is clamped to the extent; the offset itself
5455
- * is written unclamped.
5456
- */
5457
- private _write;
5458
- }
5459
-
5460
5991
  declare class MenuItemComponent {
5461
5992
  readonly key: i0.InputSignal<string>;
5462
5993
  readonly templateRef: i0.Signal<TemplateRef<unknown>>;
@@ -5545,8 +6076,13 @@ declare class Menu {
5545
6076
  */
5546
6077
  private readonly _viewportService;
5547
6078
  private readonly _injector;
6079
+ private readonly _document;
5548
6080
  private readonly _renderer;
5549
6081
  private readonly _panelRef;
6082
+ /** The rendered items, in the order the panel draws them. */
6083
+ private readonly _items;
6084
+ /** Where focus was when the menu opened — its trigger — and where it goes back on close. */
6085
+ private _returnFocusTo;
5550
6086
  protected readonly _customItems: i0.Signal<readonly MenuItemComponent[]>;
5551
6087
  protected readonly customTemplates: i0.Signal<Map<string, TemplateRef<unknown>>>;
5552
6088
  /** Content of every action item, rendered inside the menu-managed interactive wrapper. */
@@ -5591,17 +6127,26 @@ declare class Menu {
5591
6127
  protected readonly sheet: i0.WritableSignal<boolean>;
5592
6128
  /**
5593
6129
  * The sheet's dismissal drag: the finger's hold on the pane, its travel out
5594
- * past the bottom edge and the settle after release. The scrim thins as the
5595
- * sheet leaves.
6130
+ * past the bottom edge and the settle after release.
5596
6131
  */
5597
- protected readonly sheetMotion: SheetMotion;
5598
- private _sheetClosing;
6132
+ protected readonly sheetDismissal: SheetDragDismissal;
5599
6133
  constructor();
5600
6134
  open(trigger: MouseEvent | HTMLElement): void;
5601
6135
  openAtPoint(x: number, y: number): void;
5602
6136
  close(): void;
5603
6137
  toggle(trigger: MouseEvent | HTMLElement): void;
6138
+ /**
6139
+ * Runs the chosen item's action. A menu that closes on the choice closes first, handing focus
6140
+ * back to its trigger, so whatever the action opens — a dialog — finds focus on the trigger and
6141
+ * returns it there, rather than to an item that leaves with the menu.
6142
+ */
5604
6143
  protected onItemClick(item: MenuActionItem): void;
6144
+ /**
6145
+ * Closes the menu as Tab leaves it. Focus goes back to the trigger while the key is still being
6146
+ * handled, so the browser's own move carries on from the trigger to the control beside it,
6147
+ * instead of walking off the end of the document from the panel.
6148
+ */
6149
+ protected onTabOut(): void;
5605
6150
  /** Whether the item carries a checked state (`menuitemradio` / `menuitemcheckbox`). */
5606
6151
  protected isCheckable(item: MenuActionItem): boolean;
5607
6152
  /** Id of the item's label element, referenced by `aria-labelledby`. */
@@ -5610,31 +6155,28 @@ declare class Menu {
5610
6155
  protected itemDescriptionId(index: number): string;
5611
6156
  /** Content template for the item: its keyed slot first, the shared `#itemTemplate` otherwise. */
5612
6157
  protected itemContentTemplate(item: MenuActionItem): TemplateRef<unknown> | undefined;
5613
- protected onSheetPanStart(pane: HTMLElement): void;
5614
- /**
5615
- * Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
5616
- * to the DOM directly and never touches a signal. The sheet does not
5617
- * overshoot open, so upward travel is clamped away.
5618
- */
5619
- protected onSheetPanMove(event: PanEvent): void;
5620
- protected onSheetPanEnd(event: PanEvent): void;
5621
- protected onSheetPanCancel(): void;
5622
6158
  /** Whether the viewport sits at or below the configured sheet breakpoint. */
5623
6159
  private _prefersSheet;
6160
+ /**
6161
+ * Moves focus into the menu once its panel is drawn, as the menu-button pattern has it: to the
6162
+ * checked item of a choice, so the current answer is where the person starts, otherwise to the
6163
+ * first item that can be chosen. Focus inside, the arrow keys, Home and End, and type-ahead
6164
+ * reach the items; focus left on the trigger would leave a keyboard with no way in.
6165
+ */
6166
+ private _focusEntryItemOnceShown;
6167
+ /**
6168
+ * Hands focus back to where it was when the menu opened, as closing a menu does: after Escape,
6169
+ * a choice, or the owner closing it. Not after a press outside, where focus already belongs to
6170
+ * whatever was pressed; nor once focus has left the menu for somewhere else — a dialog an item
6171
+ * opened — which keeps it.
6172
+ */
6173
+ private _returnFocus;
5624
6174
  /**
5625
6175
  * Resets the per-open presentation state; the pane itself is stamped fresh
5626
6176
  * from the template on every open, so only the component-held state carries
5627
6177
  * over.
5628
6178
  */
5629
6179
  private _prepareOpen;
5630
- /**
5631
- * Continues the drag out past the bottom edge and closes on arrival. A
5632
- * dismissal that began as a drag must not route through the leave keyframe:
5633
- * that starts from the fully open position, so the pane would snap back for
5634
- * a frame before leaving — the stylesheet stands the keyframe down while
5635
- * the drag state classes are on.
5636
- */
5637
- private _sheetDragClose;
5638
6180
  static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
5639
6181
  static ɵcmp: i0.ɵɵComponentDeclaration<Menu, "tls-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; }, {}, ["_customItems", "itemTemplate", "labelTemplate", "dividerTemplate", "iconTemplate"], never, true, never>;
5640
6182
  }
@@ -5655,10 +6197,45 @@ declare const DEFAULT_MENU_CONFIG: MenuConfig;
5655
6197
 
5656
6198
  declare const MENU_CONFIG: InjectionToken<MenuConfig>;
5657
6199
 
5658
- declare class MenuTriggerDirective {
6200
+ /** A trigger directive's popup, as a host places it on the inner control that takes focus. */
6201
+ interface PopupAnnouncement {
6202
+ /** `aria-haspopup`: the kind of popup, while a trigger sits on the host. */
6203
+ readonly kind: string | null;
6204
+ /** `aria-expanded`: whether the popup is open, while a trigger sits on the host. */
6205
+ readonly expanded: Signal<boolean | null>;
6206
+ /** `aria-controls`: the open popup's id. */
6207
+ readonly id: Signal<string | null>;
6208
+ }
6209
+
6210
+ /** The kind of popup a trigger opens, as `aria-haspopup` names it. */
6211
+ type popupKind = 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
6212
+ /**
6213
+ * What a trigger directive announces about the popup it opens. Read by a host whose focusable
6214
+ * element is not the host itself — a button rendering its own `<button>` — so the announcement
6215
+ * lands on the element that takes focus, where a screen reader looks for it.
6216
+ */
6217
+ interface PopupTrigger {
6218
+ /** The kind of popup, for `aria-haspopup`. */
6219
+ readonly popupKind: popupKind;
6220
+ /** Whether the popup is open, for `aria-expanded`. */
6221
+ readonly popupExpanded: Signal<boolean>;
6222
+ /** The open popup's element id, for `aria-controls`; none while it is closed. */
6223
+ readonly popupId: Signal<string | null>;
6224
+ }
6225
+
6226
+ /**
6227
+ * Makes its host the control that opens a menu, and announces the menu it controls and whether
6228
+ * it is open. On a host that renders its own focusable control — a `tls-button` — that control
6229
+ * carries the announcement; on any other host, the host itself does.
6230
+ */
6231
+ declare class MenuTriggerDirective implements PopupTrigger {
6232
+ /** Whether the host is the focusable control itself, rather than a button wrapping one. */
6233
+ protected readonly announcesOnHost: boolean;
5659
6234
  readonly menu: i0.InputSignal<Menu>;
5660
- protected readonly isOpen: i0.Signal<boolean>;
5661
- protected readonly menuId: i0.Signal<string>;
6235
+ readonly popupKind = "menu";
6236
+ readonly popupExpanded: i0.Signal<boolean>;
6237
+ /** The menu while it is open; a closed menu has no element to point at. */
6238
+ readonly popupId: i0.Signal<string | null>;
5662
6239
  protected onClick(event: MouseEvent): void;
5663
6240
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuTriggerDirective, never>;
5664
6241
  static ɵdir: i0.ɵɵDirectiveDeclaration<MenuTriggerDirective, "[tlsMenuTrigger]", never, { "menu": { "alias": "tlsMenuTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -5917,6 +6494,13 @@ declare class Popover {
5917
6494
  private static _counter;
5918
6495
  private readonly _config;
5919
6496
  private readonly _overlay;
6497
+ private readonly _focusTrapFactory;
6498
+ private readonly _document;
6499
+ private readonly _injector;
6500
+ /** What held focus when the panel opened, handed focus back as it closes. */
6501
+ private _returnFocusTo;
6502
+ /** Keeps Tab within the panel while it holds focus. */
6503
+ private _focusTrap;
5920
6504
  private readonly _templateRef;
5921
6505
  readonly id: string;
5922
6506
  readonly isOpen: i0.Signal<boolean>;
@@ -5956,6 +6540,11 @@ declare class Popover {
5956
6540
  * Leave focus where it is when the panel is pressed, for a panel that is only pointed at
5957
6541
  * while its owner keeps focus: picking from it then never blurs the field it belongs to.
5958
6542
  * Leave it off for a panel holding a text field, which a press has to be able to focus.
6543
+ *
6544
+ * Such a panel also leaves focus with its owner as it opens. Any other panel takes focus
6545
+ * itself, on its first control, and holds Tab while it is open: it is drawn at the end of
6546
+ * the page, so focus left behind could never reach it, and focus tabbing on past it would
6547
+ * fall off the page.
5959
6548
  */
5960
6549
  readonly keepFocusOnPress: i0.InputSignalWithTransform<boolean, unknown>;
5961
6550
  /** Emits after the panel closes, with what closed it. */
@@ -5964,6 +6553,18 @@ declare class Popover {
5964
6553
  open(trigger: MouseEvent | HTMLElement): void;
5965
6554
  close(): void;
5966
6555
  toggle(trigger: MouseEvent | HTMLElement): void;
6556
+ /**
6557
+ * Moves focus into the panel once it is drawn — to the control marked `cdkFocusInitial`,
6558
+ * or else the first one — and holds Tab within it. A panel with nothing to focus takes
6559
+ * focus itself, so focus never stays behind on a page the panel covers.
6560
+ */
6561
+ private _takeFocusOnceShown;
6562
+ /**
6563
+ * Hands focus back to where it was when the panel opened: after Escape, or the owner
6564
+ * closing it. Not after a press outside, where focus already belongs to whatever was
6565
+ * pressed; nor once focus has left the panel for somewhere else, which keeps it.
6566
+ */
6567
+ private _returnFocus;
5967
6568
  static ɵfac: i0.ɵɵFactoryDeclaration<Popover, never>;
5968
6569
  static ɵcmp: i0.ɵɵComponentDeclaration<Popover, "tls-popover", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "viewportMargin": { "alias": "viewportMargin"; "required": false; "isSignal": true; }; "shrinkToFit": { "alias": "shrinkToFit"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; "backdrop": { "alias": "backdrop"; "required": false; "isSignal": true; }; "keepFocusOnPress": { "alias": "keepFocusOnPress"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
5969
6570
  }
@@ -6080,6 +6681,15 @@ declare const RIPPLE_RELEASED_CLASS = "tls-ripple-released";
6080
6681
  * and MUI's touch-ripple delay, short enough not to read as lag.
6081
6682
  */
6082
6683
  declare const RIPPLE_TOUCH_DELAY_MS = 80;
6684
+ /**
6685
+ * How long struck ink shows at full strength before a release may fade it. A tap is over
6686
+ * in a fraction of the spread, and ink that began fading the moment it appeared would be
6687
+ * gone before it had grown past the fingertip that covers it; holding it this long lets
6688
+ * the spread all but finish first. The value is Material Web's minimum press, and like
6689
+ * Angular Material's ripple — which fades only ink that has finished entering — it defers
6690
+ * the release rather than cutting the spread short.
6691
+ */
6692
+ declare const RIPPLE_MINIMUM_HOLD_MS = 225;
6083
6693
  /** Contact point of the press, relative to the host's own box. */
6084
6694
  declare const RIPPLE_X_PROPERTY = "--tls-ripple-x";
6085
6695
  declare const RIPPLE_Y_PROPERTY = "--tls-ripple-y";
@@ -6088,10 +6698,10 @@ declare const RIPPLE_DIAMETER_PROPERTY = "--tls-ripple-diameter";
6088
6698
  /** Suppression hook the press mixin reads: 1 leaves the control at rest. */
6089
6699
  declare const PRESS_SCALE_PROPERTY = "--tls-press-scale";
6090
6700
  /**
6091
- * How far a pointer may travel before its press is read as the start of a scroll.
6092
- * A ripple keeps expanding for its full duration, so one spawned by a flick stays
6093
- * on screen well after the surface has moved — worse than a press, which ends
6094
- * with the contact.
6701
+ * How far a touch may travel, while it waits to ink, before it is read as the start of a
6702
+ * scroll and never inks. Ink already struck is not cancelled by travel: a finger shifting
6703
+ * on a control is still pressing it, and a contact the browser takes over for a scroll
6704
+ * ends with `pointercancel`, which fades the ink as a release does.
6095
6705
  */
6096
6706
  declare const RIPPLE_MOVE_SLOP_PX = 8;
6097
6707
  /**
@@ -6100,12 +6710,290 @@ declare const RIPPLE_MOVE_SLOP_PX = 8;
6100
6710
  */
6101
6711
  declare const POSITIONED_VALUES: ReadonlySet<string>;
6102
6712
 
6713
+ /**
6714
+ * Spreads ink from the point of contact when the host is touched, and stands its
6715
+ * press down for that one interaction so a single tap produces a single effect.
6716
+ *
6717
+ * Ink belongs on a control whose press leaves nothing else on screen to show for
6718
+ * it — an action, a row that navigates. A control whose press selects — a tab, a
6719
+ * segment, a toggle, a chip, an option, a menu item, a date — answers with the
6720
+ * selection itself, so ink there would play a second effect over the first and
6721
+ * trail it, since a touch inks only after a moment; such a control takes a
6722
+ * pressed state of its own instead.
6723
+ *
6724
+ * A touch and a pen ink by default, a mouse does not. Ink answers the fingertip
6725
+ * covering the control it is spreading from — a cursor occludes nothing, and a
6726
+ * mouse press is over in a fraction of the ink's duration, leaving most of it
6727
+ * playing after the button has already been released. Which pointers ink is set
6728
+ * app-wide through `RIPPLE_CONFIG` and per host through `ripplePointerTypes`.
6729
+ *
6730
+ * A touch inks a moment after it lands rather than at once, so a flick that
6731
+ * merely begins on the host scrolls without flashing it; a tap lifted sooner inks
6732
+ * on release. The ink spreads and holds while the contact lasts, so a held press
6733
+ * keeps showing, and fades when it ends — whether the finger lifts or the browser
6734
+ * takes the contact over for a scroll — but never before it has shown for a
6735
+ * moment, so a quick tap is seen. A finger shifting on the control once its ink
6736
+ * is struck is still pressing it and leaves the ink in place.
6737
+ *
6738
+ * The ink is expressive and outlives the contact that spawned it, so it is
6739
+ * confined to the `full` motion level; below that the press it suppresses is
6740
+ * restored and acknowledges the touch instead. Removing this directive therefore
6741
+ * takes nothing away — the press underneath is pure CSS and is what a host shows
6742
+ * without it.
6743
+ *
6744
+ * Requires the theme's `ripple` mixin on the element the ink is drawn on — the
6745
+ * host, or the `rippleSurface` it names — which draws the ink from the values
6746
+ * written there.
6747
+ *
6748
+ * @example
6749
+ * ```html
6750
+ * <button class="tls-button" tlsRipple>Save</button>
6751
+ * ```
6752
+ */
6753
+ declare class RippleDirective {
6754
+ private readonly _elementRef;
6755
+ private readonly _document;
6756
+ private readonly _config;
6757
+ private readonly _renderer;
6758
+ /**
6759
+ * Turns the ink off.
6760
+ *
6761
+ * Deliberately not named `disabled`: an input shadows the DOM property of the
6762
+ * same name on the element it sits on, so a directive claiming `disabled` would
6763
+ * capture a host's `[disabled]` binding and leave the control enabled.
6764
+ */
6765
+ readonly rippleDisabled: InputSignalWithTransform<boolean, unknown>;
6766
+ /**
6767
+ * Pointer types whose presses ink here, overriding the app-wide default for
6768
+ * this one host. Unset defers to `RIPPLE_CONFIG`.
6769
+ */
6770
+ readonly ripplePointerTypes: InputSignal<pointerType[] | undefined>;
6771
+ /**
6772
+ * The element the ink is drawn on, when it is not the host itself: a part of the control
6773
+ * that carries its shape, such as a navigation item's indicator pill around its icon. The
6774
+ * whole host still answers the press, and still stands its own press down. Unset draws on
6775
+ * the host.
6776
+ */
6777
+ readonly rippleSurface: InputSignal<HTMLElement | undefined>;
6778
+ private readonly _pointerTypes;
6779
+ /** Where a touch waiting to ink landed, to measure a scroll against. */
6780
+ private _origin;
6781
+ /**
6782
+ * Teardown of the listeners that hear a press end, bound only while one is live.
6783
+ * Host listeners would schedule change detection for every hover movement across
6784
+ * every host, although only a press needs them.
6785
+ */
6786
+ private _stopTrackingContact;
6787
+ /** Teardown of the listener that watches a touch's travel while it waits to ink. */
6788
+ private _stopWatchingForScroll;
6789
+ /** The ink a touch is waiting to strike, until the wait passes or the contact ends. */
6790
+ private _pendingInk;
6791
+ /** Runs from the moment ink is struck until it has shown for its minimum hold. */
6792
+ private _minimumHold;
6793
+ /** Whether the contact ended while the minimum hold was still running, so the ink fades once it does. */
6794
+ private _releaseAwaitingHold;
6795
+ constructor();
6796
+ protected onPointerDown(event: PointerEvent): void;
6797
+ /** A tap lifted before its ink was struck inks now, and every ink lets go with the contact. */
6798
+ private _onPointerRelease;
6799
+ /**
6800
+ * The browser took the contact over, most often for a scroll: an ink still waiting is
6801
+ * dropped, and one already spreading fades as on release.
6802
+ */
6803
+ private _onPointerCancel;
6804
+ /**
6805
+ * A touch that travels past the slop while it waits has turned out to be a scroll, so it
6806
+ * never inks. The press stays suppressed until the contact ends: restoring it here would
6807
+ * depress the control mid-scroll, which is what the ink was withheld for.
6808
+ */
6809
+ private _onPointerMove;
6810
+ /**
6811
+ * Holds a touch's ink back for the wait, watching how far the touch travels meanwhile. Its
6812
+ * moves are heard on the host, which captures a touch for as long as it lasts.
6813
+ */
6814
+ private _awaitScroll;
6815
+ /**
6816
+ * Follows one press until it ends. Its end is heard on the document rather than the host:
6817
+ * only a touch is captured by the element it lands on, so a pen — or a mouse, where one
6818
+ * inks — lifted after sliding off the host would otherwise never release the ink it holds.
6819
+ * The capture phase hears the end even where a component stops it from bubbling.
6820
+ */
6821
+ private _trackContact;
6822
+ /** Stops following the live contact, dropping any ink it is still waiting to strike. */
6823
+ private _stopTracking;
6824
+ /**
6825
+ * Whether a press from this kind of pointer inks. `pointerType` is read off the
6826
+ * event rather than from a media query so a device carrying both a touchscreen
6827
+ * and a mouse is answered by the one in use, not by the one it reports as
6828
+ * primary.
6829
+ */
6830
+ private _inksFor;
6831
+ /**
6832
+ * Whether the document is at the motion level the ink belongs to.
6833
+ *
6834
+ * Read from the attribute the stylesheet gates on rather than from
6835
+ * `MotionService`, for two reasons: the two can never disagree about a level
6836
+ * they read from one place, and a host is not made to depend on a provider it
6837
+ * would otherwise never need — an app that never configures motion has no
6838
+ * attribute, and the ink is off exactly as the stylesheet has it.
6839
+ */
6840
+ private _isFullMotion;
6841
+ /** The element the ink is drawn on. */
6842
+ private _surface;
6843
+ /**
6844
+ * The box the ink layer occupies, which the contact point and the ink's reach are measured
6845
+ * against. The layer is laid out against the surface, unless the surface is not positioned:
6846
+ * it is then laid out against the nearest positioned ancestor instead — a stretched link
6847
+ * inks the whole row its hit area covers, not just its own text. Its insets are read back
6848
+ * rather than assumed to be zero, so a layer that bleeds past that box is measured as drawn.
6849
+ */
6850
+ private _inkLayerBounds;
6851
+ /**
6852
+ * Distance from the contact point to the farthest corner. The ink is struck
6853
+ * where the finger landed, so a press near an edge has farther to travel than
6854
+ * one in the middle; covering the control means reaching that corner.
6855
+ */
6856
+ private _radiusToCover;
6857
+ /**
6858
+ * Strikes fresh ink and starts its minimum hold. A class already present does not
6859
+ * restart a running animation, so a second tap arriving before the first has
6860
+ * faded would otherwise be swallowed; reading back a layout property between the
6861
+ * removal and the addition forces the two to land as separate states.
6862
+ */
6863
+ private _strike;
6864
+ /**
6865
+ * Answers the end of the contact: the ink fades now if it has shown for its minimum hold,
6866
+ * and once it has otherwise.
6867
+ *
6868
+ * @example
6869
+ * // A tap lifted 40ms after the ink was struck, with a 225ms hold:
6870
+ * // 0ms struck
6871
+ * // 40ms release → awaits the hold
6872
+ * // 225ms hold ends → fades
6873
+ * // A press held for 600ms:
6874
+ * // 600ms release → fades at once
6875
+ */
6876
+ private _release;
6877
+ /** Fades whatever ink the surface holds, ending any hold still running. */
6878
+ private _letGo;
6879
+ /** Ends a touch's wait to ink, along with the watch on its travel. */
6880
+ private _clearPendingInk;
6881
+ /** Ends the minimum hold, along with any release that was waiting on it. */
6882
+ private _clearHold;
6883
+ static ɵfac: i0.ɵɵFactoryDeclaration<RippleDirective, never>;
6884
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RippleDirective, "[tlsRipple]", never, { "rippleDisabled": { "alias": "rippleDisabled"; "required": false; "isSignal": true; }; "ripplePointerTypes": { "alias": "ripplePointerTypes"; "required": false; "isSignal": true; }; "rippleSurface": { "alias": "rippleSurface"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6885
+ }
6886
+
6103
6887
  declare const RIPPLE_CONFIG: InjectionToken<RippleConfig>;
6104
6888
 
6889
+ /**
6890
+ * What an indicator is kept on. Each is read where signals are tracked, so the
6891
+ * indicator follows whatever state the answers are derived from.
6892
+ */
6893
+ interface SlidingIndicatorOptions {
6894
+ /**
6895
+ * The element the items are laid out in and the indicator is drawn on. It
6896
+ * must be positioned, which the theme's `sliding-indicator` mixin sees to.
6897
+ */
6898
+ container: () => HTMLElement | null | undefined;
6899
+ /**
6900
+ * The chosen item, or nothing wherever no single indicator applies — nothing
6901
+ * chosen, several chosen, a treatment that marks its items another way.
6902
+ */
6903
+ target: () => HTMLElement | null | undefined;
6904
+ /** The axis the items run along, which decides whether the indicator is used at all. */
6905
+ orientation: () => orientation;
6906
+ }
6907
+ /** An item's box within its container: its offset from the padding edge, and its size. */
6908
+ interface SlidingIndicatorBox {
6909
+ x: number;
6910
+ y: number;
6911
+ width: number;
6912
+ height: number;
6913
+ }
6914
+ /** A chosen item as it was found laid out, and the container it was found in. */
6915
+ interface SlidingIndicatorMeasurement {
6916
+ container: HTMLElement;
6917
+ target: HTMLElement;
6918
+ box: SlidingIndicatorBox;
6919
+ }
6920
+
6921
+ /**
6922
+ * Keeps one indicator on the chosen item of a set — the pill of a segmented
6923
+ * control, the fill of a list's selected row — so that choosing another sends
6924
+ * it travelling there instead of vanishing from one item and appearing on the
6925
+ * next. The indicator itself is drawn by the theme's `sliding-indicator` mixin
6926
+ * on the container; this writes where it goes.
6927
+ *
6928
+ * A position cannot be read from the selection: it is wherever the layout put
6929
+ * the chosen item. So the item is measured after each render that could have
6930
+ * moved it, and again whenever the container or one of its children changes
6931
+ * size — a container resized, a font that loaded late, a label that changed
6932
+ * length. The measure is taken in offsets from the container rather than in
6933
+ * viewport coordinates, which any transform on an ancestor scales and shifts —
6934
+ * a panel animating open, say — with nothing to report when it ends.
6935
+ *
6936
+ * Only the move to an item newly chosen is animated. An indicator following
6937
+ * its item as the layout around it changes is moved at once, where an
6938
+ * animated one would trail behind it.
6939
+ *
6940
+ * Along an axis the configuration leaves still, nothing is measured or
6941
+ * written, and each item goes on marking itself.
6942
+ *
6943
+ * Call it where injection is available — a constructor or a field initializer.
6944
+ *
6945
+ * @example
6946
+ * // Day | Week | Month, "Week" chosen: the indicator is placed on it.
6947
+ * // container: data-sliding-indicator="placed", --tls-sliding-indicator-x: 60px …
6948
+ * // "Month" is chosen:
6949
+ * // container: data-sliding-indicator="travelling", …-x: 115px // animated
6950
+ * // the container is then resized, moving "Month":
6951
+ * // container: data-sliding-indicator="placed", …-x: 140px // at once
6952
+ * // every option is deselected:
6953
+ * // container: attribute and properties removed // items mark themselves
6954
+ */
6955
+ declare function slidingIndicator(options: SlidingIndicatorOptions): void;
6956
+
6957
+ /**
6958
+ * Along which axes the mark of a chosen item travels to the item chosen next,
6959
+ * rather than leaving one and appearing on the other.
6960
+ *
6961
+ * Along a row the move is short and the eye follows it. Down a column it is a
6962
+ * bar the width of the list sweeping across every row between the two, more
6963
+ * motion than a change of selection calls for — and the lists a platform draws
6964
+ * mark a new row in place — so a column stays still unless asked otherwise.
6965
+ * Turning an axis on does not widen when the move plays: it is expressive
6966
+ * motion and is left out below the `full` motion level whatever is set here.
6967
+ */
6968
+ type SlidingIndicatorConfig = Record<orientation, boolean>;
6969
+ declare const DEFAULT_SLIDING_INDICATOR_CONFIG: SlidingIndicatorConfig;
6970
+
6971
+ /**
6972
+ * Marks a container whose indicator has been placed on the chosen item; the
6973
+ * theme's `sliding-indicator` mixin draws the indicator on it, and the item
6974
+ * gives up the mark it would otherwise draw itself.
6975
+ */
6976
+ declare const SLIDING_INDICATOR_ATTRIBUTE = "data-sliding-indicator";
6977
+ /** The indicator sits on its item, and follows it at once wherever the layout moves it. */
6978
+ declare const SLIDING_INDICATOR_PLACED = "placed";
6979
+ /** The indicator is on its way to an item newly chosen, which is the one move it animates. */
6980
+ declare const SLIDING_INDICATOR_TRAVELLING = "travelling";
6981
+ /** The chosen item's offset from the container's padding edge. */
6982
+ declare const SLIDING_INDICATOR_X_PROPERTY = "--tls-sliding-indicator-x";
6983
+ declare const SLIDING_INDICATOR_Y_PROPERTY = "--tls-sliding-indicator-y";
6984
+ /** The chosen item's size. */
6985
+ declare const SLIDING_INDICATOR_WIDTH_PROPERTY = "--tls-sliding-indicator-width";
6986
+ declare const SLIDING_INDICATOR_HEIGHT_PROPERTY = "--tls-sliding-indicator-height";
6987
+ /** Each side of the chosen item's box, with the property it is written to. */
6988
+ declare const SLIDING_INDICATOR_BOX_PROPERTIES: readonly [keyof SlidingIndicatorBox, string][];
6989
+
6990
+ declare const SLIDING_INDICATOR_CONFIG: InjectionToken<SlidingIndicatorConfig>;
6991
+
6105
6992
  /**
6106
6993
  * How tall a detent is: the header slot's height (`'header'`), the header plus
6107
- * the body's natural height capped at the viewport (`'content'`), a share of
6108
- * the viewport (`'50%'`), or any CSS length (`'20rem'`).
6994
+ * the body's natural height (`'content'`), a share of the viewport (`'50%'`),
6995
+ * or any CSS length (`'20rem'`). Every size but the header's is capped at the
6996
+ * tallest the sheet may grow, which keeps the theme's top clearance free.
6109
6997
  */
6110
6998
  type sheetDetentSize = 'header' | 'content' | `${number}%` | string;
6111
6999
  /** One resting height of a sheet. Listed smallest to largest by the author. */
@@ -6119,8 +7007,10 @@ interface SheetMeasures {
6119
7007
  header: number;
6120
7008
  /** Header plus the body's natural (unclipped) height. */
6121
7009
  content: number;
6122
- /** Height of the area the sheet may occupy. */
7010
+ /** Height of the viewport, the base a percentage resolves against. */
6123
7011
  viewport: number;
7012
+ /** The tallest the sheet may grow: the viewport less the top clearance. */
7013
+ maximum: number;
6124
7014
  /** Resolves a CSS length against the sheet's own font and viewport. */
6125
7015
  length: (css: string) => number;
6126
7016
  }
@@ -6222,7 +7112,7 @@ declare class Sheet implements OnDestroy {
6222
7112
  private readonly _heights;
6223
7113
  /** Annotated because its own callback reads it back for the travel. */
6224
7114
  private readonly _motion;
6225
- protected readonly motionState: i0.Signal<sheetMotionState>;
7115
+ protected readonly motionState: i0.Signal<dragMotionState>;
6226
7116
  private _overlayRef;
6227
7117
  /**
6228
7118
  * The detent the sheet is at or moving to, so a remeasure mid-settle
@@ -6231,6 +7121,12 @@ declare class Sheet implements OnDestroy {
6231
7121
  private readonly _targetIndex;
6232
7122
  /** The detent a drag began at, for the release decision. */
6233
7123
  private _dragStartIndex;
7124
+ /**
7125
+ * How far in px above that detent the panel was drawn when the drag began:
7126
+ * 0 from rest, the settle's remaining travel when caught mid-flight, so the
7127
+ * panel is picked up where it is seen rather than where it was heading.
7128
+ */
7129
+ private _dragStartLead;
6234
7130
  /**
6235
7131
  * A pan the body's own scrolling owns; its moves and end are not the sheet's.
6236
7132
  */
@@ -6279,8 +7175,7 @@ declare class Sheet implements OnDestroy {
6279
7175
  protected onPanStart(event: PanEvent): void;
6280
7176
  /**
6281
7177
  * Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
6282
- * to the DOM through the engine and writes no signal. The start height is
6283
- * read live, so a remeasure mid-drag applies at once.
7178
+ * to the DOM through the engine and writes no signal.
6284
7179
  */
6285
7180
  protected onPanMove(event: PanEvent): void;
6286
7181
  protected onPanEnd(event: PanEvent): void;
@@ -6325,13 +7220,35 @@ declare class Sheet implements OnDestroy {
6325
7220
  */
6326
7221
  private _claims;
6327
7222
  /**
6328
- * Offset for a height the finger asks for. Above the largest detent the
6329
- * panel holds (a lifted panel would show a gap beneath it); below the
6330
- * smallest it follows a third of the overshoot, capped, so the end of the
6331
- * travel reads as a stretch rather than a wall.
7223
+ * Height the finger asks for: the height the drag picked the panel up at,
7224
+ * grown by the upward travel since. Read against the live heights, so a
7225
+ * remeasure mid-drag applies at once.
7226
+ */
7227
+ private _dragHeight;
7228
+ /**
7229
+ * Height of the panel as drawn this frame. Mid-settle the running
7230
+ * transition, not the offset property, says where that is, so it is read
7231
+ * from layout: the panel hangs from the bottom of the root, which covers the
7232
+ * viewport.
7233
+ */
7234
+ private _drawnHeight;
7235
+ /**
7236
+ * The height a finger asks for that draws the panel at `drawn` — the inverse
7237
+ * of `_offsetFor`. Past either end of the travel the drawn height is already
7238
+ * rubber-banded, and taking it as asked would band it a second time.
7239
+ */
7240
+ private _askedHeightFor;
7241
+ /**
7242
+ * Offset for a height the finger asks for. Past either end of the travel
7243
+ * the panel follows a rubber band, so the end reads as a stretch rather than
7244
+ * a wall; above the largest detent it lifts off the bottom edge, which the
7245
+ * theme's skirt below the panel keeps covered.
6332
7246
  */
6333
7247
  private _offsetFor;
6334
- /** Ends a drag at `index`: the settle continues from the finger's offset. */
7248
+ /**
7249
+ * Ends a drag at `index`: the settle continues from the finger's offset at
7250
+ * the finger's `velocity`, in px/ms along the offset.
7251
+ */
6335
7252
  private _settleFromDrag;
6336
7253
  /**
6337
7254
  * A settle that finishes after destroy writes nothing to a destroyed model.
@@ -6373,6 +7290,74 @@ declare class Sheet implements OnDestroy {
6373
7290
  static ɵcmp: i0.ɵɵComponentDeclaration<Sheet, "tls-sheet", ["tlsSheet"], { "detents": { "alias": "detents"; "required": true; "isSignal": true; }; "detent": { "alias": "detent"; "required": false; "isSignal": true; }; "modalFrom": { "alias": "modalFrom"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "detentLabels": { "alias": "detentLabels"; "required": false; "isSignal": true; }; "grabber": { "alias": "grabber"; "required": false; "isSignal": true; }; "panelClass": { "alias": "panelClass"; "required": false; "isSignal": true; }; }, { "detent": "detentChange"; }, ["headerTemplate"], ["*"], true, never>;
6374
7291
  }
6375
7292
 
7293
+ /**
7294
+ * Draws a skeleton in an image's own box while its picture is on its way, and
7295
+ * clears it once the picture is decoded and ready to paint, so an image coming
7296
+ * in over the network reads as content still to come rather than as an empty
7297
+ * hole. An image the browser already holds is ready at once and never shows the
7298
+ * placeholder.
7299
+ *
7300
+ * ```html
7301
+ * <img tlsImageSkeleton src="beach.jpg" alt="Beach" width="320" height="200" />
7302
+ * ```
7303
+ *
7304
+ * The placeholder is the image's own background, as the framework's optimized
7305
+ * image draws its blurred placeholder, so it takes the image's size, shape and
7306
+ * radius with no element of its own. The image therefore needs a size before
7307
+ * its picture arrives — width and height attributes, or a size given by its
7308
+ * layout; a box that waits for the picture to size it has nothing to draw on.
7309
+ *
7310
+ * A picture that fails to load clears the placeholder too and leaves the
7311
+ * browser's own broken-image rendering; listen to the image's native `error`
7312
+ * event to show a fallback in its place. A new source shows the placeholder
7313
+ * again until that picture is ready.
7314
+ *
7315
+ * The fill and its sweep follow the skeleton's: the same colours, the sweep
7316
+ * only at the `full` motion level, and no sweep where the skeleton config turns
7317
+ * `animate` off.
7318
+ */
7319
+ declare class ImageSkeletonDirective {
7320
+ private readonly _elementRef;
7321
+ private readonly _destroyRef;
7322
+ private readonly _config;
7323
+ /**
7324
+ * Whether the picture is still on its way. True until the first render
7325
+ * reads the image, so a page rendered ahead of the browser (on a server)
7326
+ * shows the placeholder rather than a blank box.
7327
+ */
7328
+ protected readonly loading: i0.WritableSignal<boolean>;
7329
+ /** Whether the placeholder sweeps, read once from the skeleton config. */
7330
+ protected readonly animate: boolean;
7331
+ /**
7332
+ * Counts the sources the image has been given, so a picture decoded after
7333
+ * the source changed again does not clear the placeholder of its successor.
7334
+ */
7335
+ private _sourceGeneration;
7336
+ constructor();
7337
+ /**
7338
+ * Waits for the picture to be decoded before clearing the placeholder: an
7339
+ * image decoded off the main thread can fire `load` a frame before it paints,
7340
+ * and clearing on `load` would show a blank box for that frame.
7341
+ */
7342
+ protected onLoad(): void;
7343
+ protected onError(): void;
7344
+ /**
7345
+ * Shows the placeholder again whenever the image is given a source it does
7346
+ * not yet hold. A source can be set by any binding — a plain `src`, a
7347
+ * `srcset`, or a directive that writes them — so the attributes themselves
7348
+ * are watched rather than an input of this directive's.
7349
+ */
7350
+ private _observeSource;
7351
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageSkeletonDirective, never>;
7352
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ImageSkeletonDirective, "img[tlsImageSkeleton]", never, {}, {}, never, never, true, never>;
7353
+ }
7354
+
7355
+ /**
7356
+ * A placeholder drawn where content is still on its way. By default it is a
7357
+ * box of the given size; as `text` it is one line of the text it stands in
7358
+ * for; wrapped around content it is exactly the size of that content, which
7359
+ * keeps its place unseen until `loading` is turned off.
7360
+ */
6376
7361
  declare class Skeleton {
6377
7362
  private readonly _config;
6378
7363
  readonly size: InputSignal<number | string | null>;
@@ -6381,9 +7366,36 @@ declare class Skeleton {
6381
7366
  readonly radius: InputSignal<radiusValue>;
6382
7367
  readonly duration: InputSignal<number>;
6383
7368
  readonly rounded: InputSignalWithTransform<boolean, unknown>;
7369
+ /**
7370
+ * Whether the fill sweeps while it waits. The sweep is decorative, so it plays
7371
+ * only at the `full` motion level; below it the fill holds still whatever this
7372
+ * is set to.
7373
+ */
6384
7374
  readonly animate: InputSignalWithTransform<boolean, unknown>;
7375
+ /**
7376
+ * Whether there is still something to wait for. Turned off, the skeleton
7377
+ * draws nothing and takes no part in layout, so content wrapped in it stands
7378
+ * exactly as it would alone: the wrapper can stay in the template and be
7379
+ * switched, rather than the content being written out a second time.
7380
+ */
7381
+ readonly loading: InputSignalWithTransform<boolean, unknown>;
7382
+ /**
7383
+ * Stands in for one line of text: the skeleton takes the line height of the
7384
+ * font it inherits and draws a bar the height of that font's glyphs, so the
7385
+ * text replacing it lands in the same line box. Placed inside the element
7386
+ * that will hold the text, or given that element's class, it follows the
7387
+ * typography with no size of its own to keep in step. `width` sets the
7388
+ * line's length, in any unit (`12ch`, `60%`); `height`, `size`, `radius` and
7389
+ * `rounded` do not apply, since the bar is proportioned from the font.
7390
+ */
7391
+ readonly text: InputSignalWithTransform<boolean, unknown>;
6385
7392
  protected readonly hostClasses: i0.Signal<string[]>;
6386
7393
  protected readonly hostStyles: i0.Signal<{
7394
+ '--tls-skeleton-width': string;
7395
+ '--tls-skeleton-duration': string;
7396
+ '--tls-skeleton-height'?: never;
7397
+ '--tls-skeleton-radius'?: never;
7398
+ } | {
6387
7399
  '--tls-skeleton-width': string;
6388
7400
  '--tls-skeleton-height': string;
6389
7401
  '--tls-skeleton-radius': string;
@@ -6392,7 +7404,7 @@ declare class Skeleton {
6392
7404
  private _resolveDimension;
6393
7405
  private _resolveRadius;
6394
7406
  static ɵfac: i0.ɵɵFactoryDeclaration<Skeleton, never>;
6395
- static ɵcmp: i0.ɵɵComponentDeclaration<Skeleton, "tls-skeleton", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7407
+ static ɵcmp: i0.ɵɵComponentDeclaration<Skeleton, "tls-skeleton", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "radius": { "alias": "radius"; "required": false; "isSignal": true; }; "duration": { "alias": "duration"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "animate": { "alias": "animate"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
6396
7408
  }
6397
7409
 
6398
7410
  interface SkeletonConfig {
@@ -6548,7 +7560,7 @@ declare class Step {
6548
7560
  readonly invalid: InputSignalWithTransform<boolean, unknown>;
6549
7561
  protected hostClasses: Signal<string[]>;
6550
7562
  static ɵfac: i0.ɵɵFactoryDeclaration<Step, never>;
6551
- static ɵcmp: i0.ɵɵComponentDeclaration<Step, "tls-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$1.TabPanel; inputs: { "value": "value"; }; outputs: {}; }]>;
7563
+ static ɵcmp: i0.ɵɵComponentDeclaration<Step, "tls-step", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; }, {}, ["iconTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$2.TabPanel; inputs: { "value": "value"; }; outputs: {}; }]>;
6552
7564
  }
6553
7565
 
6554
7566
  interface StepperConfig {
@@ -6590,7 +7602,7 @@ declare class Stepper {
6590
7602
  protected activeIndex: Signal<number>;
6591
7603
  protected onSelectedTabChange(value: stepperValue | undefined): void;
6592
7604
  static ɵfac: i0.ɵɵFactoryDeclaration<Stepper, never>;
6593
- static ɵcmp: i0.ɵɵComponentDeclaration<Stepper, "tls-stepper", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "stepSelect": "stepSelect"; }, ["steps", "completedTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$1.Tabs; inputs: {}; outputs: {}; }]>;
7605
+ static ɵcmp: i0.ɵɵComponentDeclaration<Stepper, "tls-stepper", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "labelPosition": { "alias": "labelPosition"; "required": false; "isSignal": true; }; "completed": { "alias": "completed"; "required": false; "isSignal": true; }; "linear": { "alias": "linear"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; "stepSelect": "stepSelect"; }, ["steps", "completedTemplateRef", "completedIconTemplateRef"], ["*"], true, [{ directive: typeof i1$2.Tabs; inputs: {}; outputs: {}; }]>;
6594
7606
  }
6595
7607
 
6596
7608
  declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
@@ -6724,7 +7736,7 @@ declare const SWIPE_ACTIONS_CONFIG: InjectionToken<SwipeActionsConfig>;
6724
7736
  * Visual treatment of the tab strip. `flat` and `outlined` mark the active tab
6725
7737
  * with an edge line; `segmented` sets inset pills in a padded track; `grouped`
6726
7738
  * is an inset-grouped list — one rounded surface of full-bleed rows whose fill,
6727
- * hover and ink reach the surface's edges, the outer rows taking its corners.
7739
+ * hover and press reach the surface's edges, the outer rows taking its corners.
6728
7740
  */
6729
7741
  type tabsVariant = 'flat' | 'outlined' | 'segmented' | 'grouped';
6730
7742
  type tabsOrientation = orientation;
@@ -6777,6 +7789,10 @@ declare class Tabs {
6777
7789
  protected tabs: Signal<readonly Tab[]>;
6778
7790
  /** Each tab's header control, in the order of the projected tabs. */
6779
7791
  private readonly _tabControls;
7792
+ /** The strip the header items are laid out in. */
7793
+ private readonly _tabList;
7794
+ /** Each tab's header item, in the order of the projected tabs. */
7795
+ private readonly _tabItems;
6780
7796
  protected hostClasses: Signal<string[]>;
6781
7797
  /**
6782
7798
  * The header strip uses the shared tab-header block (also rendered by
@@ -6784,6 +7800,11 @@ declare class Tabs {
6784
7800
  * strip element itself rather than on the tabs container.
6785
7801
  */
6786
7802
  protected headerClasses: Signal<string[]>;
7803
+ /**
7804
+ * The header item a travelling mark sits on: the selected tab's, in a
7805
+ * treatment that marks the selection with a fill of its own shape.
7806
+ */
7807
+ private readonly _markedItem;
6787
7808
  constructor();
6788
7809
  /**
6789
7810
  * Resolves arbitrary text (e.g. a URL query param) to the value of the tab it
@@ -6803,7 +7824,7 @@ declare class Tabs {
6803
7824
  */
6804
7825
  focusTab(value: tabValue): void;
6805
7826
  static ɵfac: i0.ɵɵFactoryDeclaration<Tabs, never>;
6806
- static ɵcmp: i0.ɵɵComponentDeclaration<Tabs, "tls-tabs", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "headerPosition": { "alias": "headerPosition"; "required": false; "isSignal": true; }; "headerAlign": { "alias": "headerAlign"; "required": false; "isSignal": true; }; "itemsAlign": { "alias": "itemsAlign"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["tabs"], never, true, [{ directive: typeof i1$1.Tabs; inputs: {}; outputs: {}; }]>;
7827
+ static ɵcmp: i0.ɵɵComponentDeclaration<Tabs, "tls-tabs", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "headerPosition": { "alias": "headerPosition"; "required": false; "isSignal": true; }; "headerAlign": { "alias": "headerAlign"; "required": false; "isSignal": true; }; "itemsAlign": { "alias": "itemsAlign"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; }, { "selected": "selectedChange"; }, ["tabs"], never, true, [{ directive: typeof i1$2.Tabs; inputs: {}; outputs: {}; }]>;
6807
7828
  }
6808
7829
 
6809
7830
  interface TabsConfig {
@@ -6815,6 +7836,14 @@ interface TabsConfig {
6815
7836
  }
6816
7837
  declare const DEFAULT_TABS_CONFIG: TabsConfig;
6817
7838
 
7839
+ /**
7840
+ * The treatments whose selection is marked by a fill with a shape of its own —
7841
+ * a pill on a track, a row of a list — which can travel from the tab it leaves
7842
+ * to the one selected next. The others mark a tab by its edges, which belong
7843
+ * to the tab and stay with it.
7844
+ */
7845
+ declare const SLIDING_TABS_VARIANTS: ReadonlySet<tabsVariant>;
7846
+
6818
7847
  declare const TABS_CONFIG: InjectionToken<TabsConfig>;
6819
7848
 
6820
7849
  interface TabsQuerySyncConfig {
@@ -6871,13 +7900,22 @@ declare class TabsQuerySyncDirective extends QuerySyncDirective {
6871
7900
  */
6872
7901
  declare class TabNavDirective {
6873
7902
  private readonly _config;
7903
+ private readonly _elementRef;
6874
7904
  readonly variant: InputSignal<tabsVariant>;
6875
7905
  readonly orientation: InputSignal<tabsOrientation>;
6876
7906
  readonly itemsAlign: InputSignal<tabsItemsAlign>;
6877
7907
  readonly divider: InputSignalWithTransform<boolean, unknown>;
7908
+ /** The strip's links, wherever in it they sit. */
7909
+ private readonly _links;
7910
+ /**
7911
+ * The link a travelling mark sits on: the active one, in a treatment that
7912
+ * marks it with a fill of its own shape.
7913
+ */
7914
+ private readonly _markedLink;
6878
7915
  protected hostClasses: Signal<string[]>;
7916
+ constructor();
6879
7917
  static ɵfac: i0.ɵɵFactoryDeclaration<TabNavDirective, never>;
6880
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabNavDirective, "nav[tlsTabNav]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "itemsAlign": { "alias": "itemsAlign"; "required": false; "isSignal": true; }; "divider": { "alias": "divider"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7918
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabNavDirective, "nav[tlsTabNav]", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "itemsAlign": { "alias": "itemsAlign"; "required": false; "isSignal": true; }; "divider": { "alias": "divider"; "required": false; "isSignal": true; }; }, {}, ["_links"], never, true, never>;
6881
7919
  }
6882
7920
 
6883
7921
  interface TabNavConfig {
@@ -6900,14 +7938,17 @@ declare const TAB_NAV_CONFIG: InjectionToken<TabNavConfig>;
6900
7938
  * link is exposed to assistive technology via `aria-current="page"`.
6901
7939
  */
6902
7940
  declare class TabLinkDirective {
7941
+ /** The anchor itself, which the strip measures to place the mark of the active link. */
7942
+ readonly elementRef: ElementRef<HTMLAnchorElement>;
6903
7943
  private readonly _routerLinkActive;
6904
7944
  readonly active: InputSignalWithTransform<boolean, unknown>;
6905
7945
  readonly disabled: InputSignalWithTransform<boolean, unknown>;
6906
7946
  private readonly _routerLinkIsActive;
6907
- protected isActive: Signal<boolean>;
7947
+ /** Whether this is the link to where the user is — by its route, or because it was told so. */
7948
+ readonly isActive: Signal<boolean>;
6908
7949
  protected handleClick(event: MouseEvent): void;
6909
7950
  static ɵfac: i0.ɵɵFactoryDeclaration<TabLinkDirective, never>;
6910
- static ɵdir: i0.ɵɵDirectiveDeclaration<TabLinkDirective, "a[tlsTabLink]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof RippleDirective; inputs: {}; outputs: {}; }]>;
7951
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TabLinkDirective, "a[tlsTabLink]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6911
7952
  }
6912
7953
 
6913
7954
  type tableColumnAlignment = 'start' | 'center' | 'end';
@@ -7093,7 +8134,11 @@ interface ToastOptions {
7093
8134
  message: string;
7094
8135
  title?: string;
7095
8136
  color?: toastColor;
7096
- /** Auto-dismiss delay in ms; `0` keeps it open until dismissed. Falls back to the config. */
8137
+ /**
8138
+ * Auto-dismiss delay in ms; `0` keeps it open until dismissed. Falls back to
8139
+ * the config's `actionDuration` when the toast carries an action, else to its
8140
+ * `duration`.
8141
+ */
7097
8142
  duration?: number;
7098
8143
  /** Whether to render a close button. Falls back to the config. */
7099
8144
  closable?: boolean;
@@ -7154,6 +8199,8 @@ declare class ToastService {
7154
8199
  pause(): void;
7155
8200
  /** Resumes every paused auto-dismiss timer from its remaining time. */
7156
8201
  resume(): void;
8202
+ /** The configured delay for a toast that names none of its own. */
8203
+ private _defaultDuration;
7157
8204
  private _startTimer;
7158
8205
  private _clearTimer;
7159
8206
  /**
@@ -7168,10 +8215,29 @@ declare class ToastService {
7168
8215
  interface ToastConfig {
7169
8216
  /** Corner of the viewport toasts are anchored to. */
7170
8217
  position: toastPosition;
8218
+ /**
8219
+ * Corner the stack moves to at or below {@link compactBelow}. A narrow viewport
8220
+ * often keeps different chrome at its edges than a wide one, so the corner that
8221
+ * suits a desktop can sit under a phone's notch or out of thumb reach. `null`
8222
+ * keeps {@link position} at every width.
8223
+ */
8224
+ compactPosition: toastPosition | null;
8225
+ /**
8226
+ * Breakpoint at or below which {@link compactPosition} applies. `null` keeps
8227
+ * {@link position} at every width. Takes effect only when the app provides the
8228
+ * viewport (`provideViewport()`).
8229
+ */
8230
+ compactBelow: breakpoint | null;
7171
8231
  /** Layout of multiple toasts: a hover-to-expand pile, or an always-open list. */
7172
8232
  stacking: toastStacking;
7173
8233
  /** Auto-dismiss delay in milliseconds. `0` keeps the toast until dismissed explicitly. */
7174
8234
  duration: number;
8235
+ /**
8236
+ * Auto-dismiss delay in milliseconds for a toast that carries an action, which
8237
+ * needs time to be read and then reached; `0` keeps it until dismissed. `null`
8238
+ * gives it {@link duration} like any other toast.
8239
+ */
8240
+ actionDuration: number | null;
7175
8241
  /** Maximum number of toasts kept at once; showing more dismisses the oldest. */
7176
8242
  max: number;
7177
8243
  /** Default color when a toast does not specify one. */
@@ -7648,6 +8714,37 @@ declare const DEFAULT_VIRTUAL_SCROLL_CONFIG: VirtualScrollConfig;
7648
8714
 
7649
8715
  declare const VIRTUAL_SCROLL_CONFIG: InjectionToken<VirtualScrollConfig>;
7650
8716
 
8717
+ /**
8718
+ * Formats the parts of a date named in `options` — a CLDR skeleton — in the order and form
8719
+ * `locale` writes them, which a fixed `date-fns` pattern cannot do: `{ month: 'short', day:
8720
+ * 'numeric' }` reads `Nov 21` in English, `21 нояб.` in Russian.
8721
+ */
8722
+ declare const formatSkeleton: (date: Date, options: Intl.DateTimeFormatOptions, locale: Locale | undefined) => string;
8723
+ /**
8724
+ * Formats a span of dates as `locale` writes one, naming once what both ends share: a week
8725
+ * reads `Nov 16 – 22, 2026` in English and `16–22 нояб. 2026 г.` in Russian, and one that
8726
+ * crosses a month names both months.
8727
+ */
8728
+ declare const formatSkeletonRange: (start: Date, end: Date, options: Intl.DateTimeFormatOptions, locale: Locale | undefined) => string;
8729
+
8730
+ /**
8731
+ * Capitalizes the first letter of `text` with `locale`'s own capitals — the Unicode CLDR
8732
+ * `titlecase-firstword` transform. CLDR has month and weekday names stand alone (a calendar's
8733
+ * title, its column headers, a list of months) title-cased on the first word while the same
8734
+ * names inside a date stay lowercase: Russian `ноябрь` heads a calendar as `Ноябрь`. English
8735
+ * names are capitalized already, so English reads as it formats. Without a locale, `date-fns`
8736
+ * formats in English and the default capitals apply.
8737
+ */
8738
+ declare const titlecaseFirstWord: (text: string, locale: Locale | undefined) => string;
8739
+ /**
8740
+ * Formats a date shown on its own rather than inside a sentence or next to a day number — a
8741
+ * month title, a weekday header — in `locale`, capitalized as CLDR has such text stand alone.
8742
+ * Patterns name months with the stand-alone tokens (`LLLL`, `LLL`) and weekdays with
8743
+ * `cccc`/`ccc`, since languages that decline them use a different form on their own: Russian
8744
+ * heads a month `Ноябрь 2026`, where the date reads `21 ноября`.
8745
+ */
8746
+ declare const formatStandalone: (date: Date, pattern: string, locale: Locale | undefined) => string;
8747
+
7651
8748
  /**
7652
8749
  * Clock convention used when formatting times. `'locale'` follows the configured
7653
8750
  * `date-fns` locale's own short-time pattern.
@@ -7670,6 +8767,28 @@ interface LocaleConfig {
7670
8767
  hourCycle: hourCycle;
7671
8768
  }
7672
8769
 
8770
+ /**
8771
+ * Sets the app-wide first day of the week. The factory runs in an injection context, so it
8772
+ * can hand over a signal owned by one of the app's own services — a person's synced setting —
8773
+ * and every calendar, date-time picker and activity heatmap follows it as it changes.
8774
+ *
8775
+ * @example
8776
+ * provideWeekStartsOn(() => inject(WeekStartService).dayNumber);
8777
+ */
8778
+ declare const provideWeekStartsOn: (factory: () => Signal<Day>) => EnvironmentProviders;
8779
+
8780
+ /**
8781
+ * The first day of the week (`date-fns` convention: 0 = Sunday) for every component that
8782
+ * lays days out in weeks — the calendar, the date-time picker and the activity heatmap. A
8783
+ * signal, so an app can hand over a value that changes while it runs (a person's own
8784
+ * setting) through `provideWeekStartsOn`.
8785
+ *
8786
+ * It is the least specific of the sources a component consults; each component resolves,
8787
+ * most specific first: its `weekStartsOn` input, its component config's `weekStartsOn`, this
8788
+ * token, and — this token's own default — the configured `date-fns` locale's first day.
8789
+ */
8790
+ declare const WEEK_STARTS_ON: InjectionToken<Signal<Day>>;
8791
+
7673
8792
  interface tlsUiConfigProvider {
7674
8793
  /** Cross-cutting accessibility policy applied across every component (not tied to a single one). */
7675
8794
  accessibility?: Partial<AccessibilityConfig>;
@@ -7677,6 +8796,8 @@ interface tlsUiConfigProvider {
7677
8796
  locale?: Partial<LocaleConfig>;
7678
8797
  /** Cross-cutting press-ink policy applied wherever a ripple is applied (not tied to a single component). */
7679
8798
  ripple?: Partial<RippleConfig>;
8799
+ /** Cross-cutting choice of the axes along which a chosen item's mark travels to the next (not tied to a single component). */
8800
+ slidingIndicator?: Partial<SlidingIndicatorConfig>;
7680
8801
  /** Cross-cutting defaults inherited by every form control (not tied to a single component). */
7681
8802
  formControl?: Partial<FormControlConfig>;
7682
8803
  components?: {
@@ -7776,6 +8897,14 @@ interface tlsUiConfigProvider {
7776
8897
  declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<ValueType> {
7777
8898
  protected readonly overlay: OverlayManager;
7778
8899
  private readonly _document;
8900
+ private readonly _injector;
8901
+ private readonly _renderer;
8902
+ private readonly _inputModalityDetector;
8903
+ /**
8904
+ * Optional: only apps that call `provideViewport()` register it, and without it every list
8905
+ * opens beside its field.
8906
+ */
8907
+ private readonly _viewportService;
7779
8908
  private readonly triggerElement;
7780
8909
  private readonly panelTemplate;
7781
8910
  private readonly virtualScrollRef;
@@ -7790,6 +8919,11 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
7790
8919
  * describe a viewport that no longer exists once options arrive.
7791
8920
  */
7792
8921
  private _viewportWasCollapsed;
8922
+ /**
8923
+ * The option the list opened on — the current choice, or the first that can be chosen —
8924
+ * which the first render of an open panel brings into view even while no option is active.
8925
+ */
8926
+ private _openingIndex;
7793
8927
  /**
7794
8928
  * Keeps the active option visible inside the scrolling panel. Focus stays on the
7795
8929
  * trigger and only `aria-activedescendant` moves, so the browser never scrolls the
@@ -7828,6 +8962,16 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
7828
8962
  /** Fixed height of an option row, in pixels, when the panel is virtualized. */
7829
8963
  abstract readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
7830
8964
  protected readonly isOpen: Signal<boolean>;
8965
+ /**
8966
+ * Whether the list on screen is shown as a bottom sheet. Captured per open — not derived
8967
+ * live — so a viewport resize mid-open cannot restyle a pane the overlay has already placed
8968
+ * the other way.
8969
+ */
8970
+ protected readonly presentsAsSheet: WritableSignal<boolean>;
8971
+ /** The drag that carries the list shut while it is shown as a sheet. */
8972
+ protected readonly sheetDismissal: SheetDragDismissal;
8973
+ /** Pointers that may drag a sheet shut: a finger or a pen, never a mouse. */
8974
+ protected readonly sheetDragPointerTypes: readonly string[];
7831
8975
  protected readonly normalizedOptions: Signal<Option<V>[]>;
7832
8976
  /**
7833
8977
  * Options actually shown in the panel and traversed by keyboard navigation, in the order they
@@ -7882,15 +9026,20 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
7882
9026
  /** Reset the control to its empty value. */
7883
9027
  protected abstract clear(): void;
7884
9028
  /**
7885
- * Host modifiers for states only one control has, listed alongside the shared ones. Read from
7886
- * within the host-class computation, so signals a control reads here stay reactive.
9029
+ * Host modifiers only one control has — a state or a variant — listed alongside the shared ones.
9030
+ * Read from within the host-class computation, so signals a control reads here stay reactive.
7887
9031
  */
7888
- protected hostStateClasses(): string[];
9032
+ protected hostModifierClasses(): string[];
7889
9033
  /**
7890
9034
  * Narrows the option list shown in the panel. The listbox controls show every option; an editable
7891
9035
  * combobox overrides this to filter by the typed query.
7892
9036
  */
7893
9037
  protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
9038
+ /**
9039
+ * Breakpoint at or below which the list opens as a bottom sheet; `null` keeps it beside the
9040
+ * field at every width. A control offering the sheet overrides this.
9041
+ */
9042
+ protected sheetBreakpoint(): breakpoint | null;
7894
9043
  /** Hook invoked after the panel has closed, once the trigger has regained focus. */
7895
9044
  protected onClosed(): void;
7896
9045
  /**
@@ -7912,6 +9061,13 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
7912
9061
  /** Context handed to the consumer's option template for the option at `index`. */
7913
9062
  protected optionContext(option: Option<V>, index: number): selectTemplateContext<T, V>;
7914
9063
  protected moveActive(direction: 1 | -1): void;
9064
+ /**
9065
+ * Whether this open shows the list as a sheet: the control offers one and the viewport is at
9066
+ * or below its breakpoint.
9067
+ */
9068
+ private _prefersSheet;
9069
+ /** How the list is placed when it opens beside the field rather than as a sheet. */
9070
+ private _besideFieldPlacement;
7915
9071
  private moveActiveToEdge;
7916
9072
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSelect<any, any, any>, never>;
7917
9073
  static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSelect<any, any, any>, never, never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionLabel": { "alias": "optionLabel"; "required": false; "isSignal": true; }; "optionValue": { "alias": "optionValue"; "required": false; "isSignal": true; }; "optionDisabled": { "alias": "optionDisabled"; "required": false; "isSignal": true; }; "optionGroup": { "alias": "optionGroup"; "required": false; "isSignal": true; }; "tabindex": { "alias": "tabindex"; "required": false; "isSignal": true; }; }, {}, ["optionTemplate"], never, true, never>;
@@ -7928,5 +9084,5 @@ declare abstract class QuerySyncDirective {
7928
9084
 
7929
9085
  declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
7930
9086
 
7931
- export { ACCORDION_CONFIG, ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, ALPHA_MAX, AUTOCOMPLETE_CONFIG, Accordion, AccordionItem, ActivityHeatmap, Alert, AlertIcon, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CAROUSEL_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, COLOR_INPUT_CONFIG, COLOR_PICKER_CONFIG, COLOR_PICKER_DEFAULT_VALUE, COLOR_RANGE_CONFIG, COLOR_SWATCH_PICKER_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Carousel, CarouselSlide, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, ColorInput, ColorPicker, ColorRange, ColorSwatch, ColorSwatchPicker, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ACCORDION_CONFIG, DEFAULT_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CAROUSEL_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_COLOR_INPUT_CONFIG, DEFAULT_COLOR_PICKER_CONFIG, DEFAULT_COLOR_RANGE_CONFIG, DEFAULT_COLOR_SWATCH_PICKER_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_IMAGE_PREVIEW_CONFIG, DEFAULT_INFINITE_SCROLL_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_RIPPLE_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWIPE_ACTIONS_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DRAWER_OPENING, DRAWER_PANEL_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, DrawerSharedDirective, DrawerTriggerDirective, FILE_INPUT_CONFIG, FORMAT_CYCLE, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FabMenu, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, HUE_MAX, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, IMAGE_PREVIEW_CONFIG, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, ImagePreview, ImagePreviewDirective, ImagePreviewGroupDirective, ImagePreviewRef, ImagePreviewService, InfiniteScroll, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, POSITIONED_VALUES, PRESS_SCALE_PROPERTY, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PickerField, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RIPPLE_ACTIVE_CLASS, RIPPLE_CONFIG, RIPPLE_DIAMETER_PROPERTY, RIPPLE_MOVE_SLOP_PX, RIPPLE_RELEASED_CLASS, RIPPLE_TOUCH_DELAY_MS, RIPPLE_X_PROPERTY, RIPPLE_Y_PROPERTY, RadioButton, Rating, RippleDirective, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SV_KEYBOARD_STEP, SV_KEYBOARD_STEP_LARGE, SWIPE_ACTIONS_CONFIG, SWITCH_CONFIG, Select, Sheet, SheetHeaderDirective, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, SwipeActions, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, TOUCH_HANDOVER_WINDOW_MS, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, canonicalHex, contrastForeground, formatHsl, formatRgb, hslToHsv, hsvToHsl, hsvToRgb, isTypeRejected, normalizeAccept, parseColor, provideFormItemConfig, provideThalassicIcons, provideThalassicUIConfig, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, toImagePreviewImage };
7932
- export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CarouselConfig, CarouselLabels, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ColorInputConfig, ColorInputLabels, ColorPickerConfig, ColorPickerLabels, ColorRangeConfig, ColorRangeLabels, ColorSwatchPickerConfig, ColorSwatchPickerLabels, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOffset, DrawerOpenConfig, DrawerOpening, DrawerPanelConfig, DrawerSharedPair, DrawerSlideTiming, EyeDropperConstructor, FabMenuItemDefinition, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, Hsla, Hsva, IconConfig, ImageCompareConfig, ImagePreviewConfig, ImagePreviewData, ImagePreviewGroupItem, ImagePreviewImage, ImagePreviewLabels, ImagePreviewOpenConfig, ImagePreviewSource, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerSlot, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, Rgba, RippleConfig, SelectConfig, SheetDetent, SheetHeaderTemplate, SheetMeasures, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwipeActionsConfig, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TooltipOwner, TooltipRequest, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, accordionHeadingLevel, accordionVariant, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, breadcrumbsSize, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, colorFormat, colorRangeChannel, colorRangeSize, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerGrabber, drawerOpenPhase, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, hexCase, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, inputVariant, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, numberInputMode, odometerDirection, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, pointerType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, sheetDetentSize, sheetFocusRestoreTarget, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition, tooltipSource };
9087
+ export { ACCORDION_CONFIG, ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, ALPHA_MAX, AUTOCOMPLETE_CONFIG, Accordion, AccordionItem, ActivityHeatmap, Alert, AlertIcon, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CAROUSEL_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, COLOR_INPUT_CONFIG, COLOR_PICKER_CONFIG, COLOR_PICKER_DEFAULT_VALUE, COLOR_RANGE_CONFIG, COLOR_SWATCH_PICKER_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Carousel, CarouselSlide, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, ColorInput, ColorPicker, ColorRange, ColorSwatch, ColorSwatchPicker, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ACCORDION_CONFIG, DEFAULT_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CAROUSEL_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_CONFIG, DEFAULT_COLOR_INPUT_CONFIG, DEFAULT_COLOR_PICKER_CONFIG, DEFAULT_COLOR_RANGE_CONFIG, DEFAULT_COLOR_SWATCH_PICKER_CONFIG, DEFAULT_CONFIRM_CONFIG, DEFAULT_DATE_TIME_PICKER_CONFIG, DEFAULT_DIALOG_CONFIG, DEFAULT_DIVIDER_CONFIG, DEFAULT_DRAWER_CONFIG, DEFAULT_FILE_INPUT_CONFIG, DEFAULT_FORM_CONTROL_CONFIG, DEFAULT_FORM_CONTROL_GROUP_CONFIG, DEFAULT_FORM_ITEM_CONFIG, DEFAULT_HIGHLIGHT_CONFIG, DEFAULT_ICONS, DEFAULT_ICON_CONFIG, DEFAULT_IMAGE_COMPARE_CONFIG, DEFAULT_IMAGE_PREVIEW_CONFIG, DEFAULT_INFINITE_SCROLL_CONFIG, DEFAULT_INPUT_CONFIG, DEFAULT_INPUT_NUMBER_CONFIG, DEFAULT_KBD_CONFIG, DEFAULT_LOADER_CONFIG, DEFAULT_MARK_CONFIG, DEFAULT_MENU_CONFIG, DEFAULT_MULTI_SELECT_CONFIG, DEFAULT_ODOMETER_CONFIG, DEFAULT_PAGINATION_CONFIG, DEFAULT_PAGINATION_QUERY_SYNC_CONFIG, DEFAULT_PASSWORD_CONFIG, DEFAULT_PIN_INPUT_CONFIG, DEFAULT_POPOVER_CONFIG, DEFAULT_PROGRESS_CONFIG, DEFAULT_RADIO_BUTTON_CONFIG, DEFAULT_RATING_CONFIG, DEFAULT_RIPPLE_CONFIG, DEFAULT_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SLIDING_INDICATOR_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_CONFIG, DEFAULT_SWIPE_ACTIONS_CONFIG, DEFAULT_SWITCH_CONFIG, DEFAULT_TABLE_CONFIG, DEFAULT_TABS_CONFIG, DEFAULT_TABS_QUERY_SYNC_CONFIG, DEFAULT_TAB_NAV_CONFIG, DEFAULT_TEXTAREA_CONFIG, DEFAULT_TOAST_CONFIG, DEFAULT_TOGGLE_BUTTON_CONFIG, DEFAULT_TOGGLE_GROUP_CONFIG, DEFAULT_TOOLTIP_CONFIG, DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE, DEFAULT_VIRTUAL_SCROLL_CONFIG, DIALOG_CONFIG, DIVIDER_CONFIG, DRAWER_CONFIG, DRAWER_OPENING, DRAWER_PANEL_CONFIG, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, DrawerSharedDirective, DrawerTriggerDirective, FILE_INPUT_CONFIG, FORMAT_CYCLE, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FabMenu, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, FormItemLabelAction, FormSkeleton, HIGHLIGHT_CONFIG, HUE_MAX, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, IMAGE_PREVIEW_CONFIG, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, ImagePreview, ImagePreviewDirective, ImagePreviewGroupDirective, ImagePreviewRef, ImagePreviewService, ImageSkeletonDirective, InfiniteScroll, Input, InputDirective, InputNumber, KBD_CONFIG, Kbd, LOADER_CONFIG, Loader, MARK_CONFIG, MASK_TOKENS, MENU_CONFIG, MULTI_SELECT_CONFIG, Mark, MaskDirective, Menu, MenuItemComponent, MenuTriggerDirective, MultiSelect, ODOMETER_CONFIG, Odometer, PAGINATION_CONFIG, PAGINATION_QUERY_SYNC_CONFIG, PASSWORD_CONFIG, PIN_INPUT_CONFIG, POPOVER_CONFIG, POSITIONED_VALUES, PRESS_SCALE_PROPERTY, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PickerField, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RIPPLE_ACTIVE_CLASS, RIPPLE_CONFIG, RIPPLE_DIAMETER_PROPERTY, RIPPLE_MINIMUM_HOLD_MS, RIPPLE_MOVE_SLOP_PX, RIPPLE_RELEASED_CLASS, RIPPLE_TOUCH_DELAY_MS, RIPPLE_X_PROPERTY, RIPPLE_Y_PROPERTY, RadioButton, Rating, RippleDirective, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SLIDING_INDICATOR_ATTRIBUTE, SLIDING_INDICATOR_BOX_PROPERTIES, SLIDING_INDICATOR_CONFIG, SLIDING_INDICATOR_HEIGHT_PROPERTY, SLIDING_INDICATOR_PLACED, SLIDING_INDICATOR_TRAVELLING, SLIDING_INDICATOR_WIDTH_PROPERTY, SLIDING_INDICATOR_X_PROPERTY, SLIDING_INDICATOR_Y_PROPERTY, SLIDING_TABS_VARIANTS, SPLITTER_CONFIG, STEPPER_CONFIG, SV_KEYBOARD_STEP, SV_KEYBOARD_STEP_LARGE, SWIPE_ACTIONS_CONFIG, SWITCH_CONFIG, Select, Sheet, SheetHeaderDirective, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, SwipeActions, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, TOUCH_HANDOVER_WINDOW_MS, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, WEEK_STARTS_ON, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, canonicalHex, contrastForeground, formatHsl, formatRgb, formatSkeleton, formatSkeletonRange, formatStandalone, hslToHsv, hsvToHsl, hsvToRgb, injectFormSkeleton, isTypeRejected, normalizeAccept, parseColor, provideFormItemConfig, provideThalassicIcons, provideThalassicUIConfig, provideWeekStartsOn, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, settleCurve, slidingIndicator, titlecaseFirstWord, toImagePreviewImage };
9088
+ export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDateFilter, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarHeaderContext, CalendarLabels, CalendarPeekWeeks, CalendarRange, CarouselConfig, CarouselLabels, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ChipInputLabels, ColorInputConfig, ColorInputLabels, ColorPickerConfig, ColorPickerLabels, ColorRangeConfig, ColorRangeLabels, ColorSwatchPickerConfig, ColorSwatchPickerLabels, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOffset, DrawerOpenConfig, DrawerOpening, DrawerPanelConfig, DrawerSharedPair, DrawerSlideTiming, EyeDropperConstructor, FabMenuItemDefinition, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FileInputTriggerContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, Hsla, Hsva, IconConfig, ImageCompareConfig, ImagePreviewConfig, ImagePreviewData, ImagePreviewGroupItem, ImagePreviewImage, ImagePreviewLabels, ImagePreviewOpenConfig, ImagePreviewSource, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerSlot, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, Rgba, RippleConfig, SelectConfig, SettleCurve, SheetDetent, SheetHeaderTemplate, SheetMeasures, SkeletonConfig, SliderConfig, SlidingIndicatorBox, SlidingIndicatorConfig, SlidingIndicatorMeasurement, SlidingIndicatorOptions, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwipeActionsConfig, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TooltipOwner, TooltipRequest, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, accordionHeadingLevel, accordionVariant, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, breadcrumbsSize, buttonColor, buttonType, buttonVariant, calendarCompact, calendarMarker, calendarPageStep, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, colorFormat, colorRangeChannel, colorRangeSize, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerGrabber, drawerOpenPhase, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, formItemGroup, hexCase, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, inputVariant, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, numberInputMode, odometerDirection, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, pointerType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, sheetDetentSize, sheetFocusRestoreTarget, size, sliderColor, splitterOrientation, stepperColor, stepperLabelPosition, stepperOrientation, stepperValue, switchColor, systemIcon, tabValue, tableColumnAlignment, tableColumnCollapse, tabsHeaderAlign, tabsHeaderPosition, tabsItemsAlign, tabsOrientation, tabsVariant, textareaResize, tlsUiConfigProvider, toastAction, toastColor, toastPosition, toastSeverity, toastStacking, toggleButtonColor, toggleButtonVariant, toggleGroupVariant, tooltipColor, tooltipOrigin, tooltipPosition, tooltipSource };