@thalassic/ui 22.26.0 → 22.27.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,5 +1,5 @@
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, TrackByFunction, Type, EnvironmentProviders, Provider, OnDestroy, Renderer2, Injector, OnInit, 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';
@@ -163,6 +163,7 @@ declare class OverlayManager {
163
163
 
164
164
  declare abstract class FormControl<TValue = unknown> implements FormUiControl<TValue> {
165
165
  private readonly _formControlConfig;
166
+ private readonly _formSubmissions;
166
167
  /**
167
168
  * The control's host element. Public because a container that arranges controls — a
168
169
  * form control group placing an addon beside one — has to locate a control in its own
@@ -231,12 +232,28 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
231
232
  readonly dirty: InputSignalWithTransform<boolean, unknown>;
232
233
  readonly errors: InputSignal<readonly WithOptionalFieldTree<ValidationError>[]>;
233
234
  readonly required: InputSignalWithTransform<boolean, unknown>;
235
+ /**
236
+ * Emitted as the user leaves the control. The signal forms `Field` directive listens for it to
237
+ * mark the bound field touched; the control's own `touched` alone never reaches the field.
238
+ */
239
+ readonly touch: OutputEmitterRef<void>;
234
240
  /**
235
241
  * Whether the control's invalid state should be surfaced (red styling and form-item error message).
236
242
  * 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.
243
+ * requires it to be dirty or its form to have been submitted since the field was last reset,
244
+ * keeping an untouched, empty field silent until the user has engaged or asked for it to be judged.
238
245
  */
239
246
  readonly showError: Signal<boolean>;
247
+ /** Submissions of the form around the control; see {@link FormSubmissions}. */
248
+ private readonly _formSubmitCount;
249
+ /**
250
+ * The form's submission count when the field was last untouched — at creation, or at a reset
251
+ * that cleared it. A submission counts against the field only once it is past this mark, so a
252
+ * field reset after a successful save stays silent until its form is submitted again. A control
253
+ * created for a field that is already touched — rebuilt by a tab or a branch after its form was
254
+ * submitted — cannot know which touch came first, so every submission of its form counts.
255
+ */
256
+ private readonly _submitCountAtReset;
240
257
  protected CLASS_NAME: string;
241
258
  protected notInteractive: Signal<boolean>;
242
259
  protected controlClasses: Signal<string[]>;
@@ -253,6 +270,12 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
253
270
  * such a control looking untouched and the user still a click away from the value.
254
271
  */
255
272
  activate(): void;
273
+ /**
274
+ * Records that the user has left the control: marks it touched and tells the bound field, so
275
+ * the field's touched state, its blur-timed rules, and a later reset all see the same thing
276
+ * the control shows.
277
+ */
278
+ protected markTouched(): void;
256
279
  /**
257
280
  * The element focus lands on. Defaults to the first focusable element the control
258
281
  * renders, which is the right one for a control built around a single native element;
@@ -276,16 +299,17 @@ declare abstract class FormControl<TValue = unknown> implements FormUiControl<TV
276
299
  protected restoreFocusAfterPanel(cause: overlayCloseCause): void;
277
300
  protected baseControlClasses(): string[];
278
301
  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>;
302
+ 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
303
  }
281
304
 
282
305
  declare const FORM_CONTROL: InjectionToken<FormControl<unknown>>;
283
306
 
284
307
  /**
285
308
  * 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.
309
+ * `touched` surfaces it once the field has been blurred. `touched-dirty` additionally requires the
310
+ * value to have changed, or the form around the field to have been submitted since the field was
311
+ * last reset — the rule of the platform's `:user-invalid` — so leaving an untouched, empty field
312
+ * stays silent until the user has engaged with it or asked for the form to be judged.
289
313
  */
290
314
  type errorTrigger = 'touched' | 'touched-dirty';
291
315
  interface FormControlConfig {
@@ -1055,8 +1079,9 @@ declare abstract class ButtonBase {
1055
1079
  readonly size: InputSignal<controlSize>;
1056
1080
  /**
1057
1081
  * 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.
1082
+ * one. Left unset, the button takes the configured `rounded`, and an icon-only one the
1083
+ * configured `iconRounded` as well; an explicit `[rounded]="false"` keeps the corners
1084
+ * whatever the configuration says.
1060
1085
  */
1061
1086
  readonly rounded: InputSignalWithTransform<boolean | undefined, unknown>;
1062
1087
  /** Whether the button stretches to fill its container's width. */
@@ -1084,6 +1109,11 @@ declare class Button extends ButtonBase {
1084
1109
  private _routerLink;
1085
1110
  private _router;
1086
1111
  private _locationStrategy;
1112
+ /**
1113
+ * The popup a trigger directive on this button opens. The host is a wrapper, so the trigger's
1114
+ * announcement is placed on the inner control, the element that takes focus.
1115
+ */
1116
+ protected readonly popup: PopupAnnouncement;
1087
1117
  /**
1088
1118
  * The interactive control is the inner `button`/`a`; the host is a wrapper.
1089
1119
  */
@@ -1150,9 +1180,16 @@ interface ButtonConfig {
1150
1180
  size: controlSize;
1151
1181
  type: buttonType;
1152
1182
  fluid: boolean;
1183
+ /**
1184
+ * Rounds the ends of every button whose own `rounded` input is left unset: a pill for a
1185
+ * labelled button, a circle for an icon-only one. One product-wide shape decision, so a
1186
+ * single button departs from it with an explicit `[rounded]="false"`.
1187
+ */
1188
+ rounded: boolean;
1153
1189
  /**
1154
1190
  * 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.
1191
+ * the shape platform icon buttons take. A labelled button follows `rounded` alone, so this
1192
+ * adds nothing once `rounded` is on.
1156
1193
  */
1157
1194
  iconRounded: boolean;
1158
1195
  }
@@ -1166,6 +1203,16 @@ type calendarView = 'month' | 'week' | 'day' | 'agenda';
1166
1203
  * a calendar in a narrow column is dense even on a wide screen; a boolean pins it either way.
1167
1204
  */
1168
1205
  type calendarCompact = boolean | 'auto';
1206
+ /**
1207
+ * Week rows a month grid shows beyond the month's own, counted for each edge of the grid on
1208
+ * its own.
1209
+ */
1210
+ interface CalendarPeekWeeks {
1211
+ /** Rows above the week that holds the 1st. */
1212
+ before: number;
1213
+ /** Rows below the last of the month's own rows. */
1214
+ after: number;
1215
+ }
1169
1216
  /** A single entry rendered on the calendar. `end` defaults to `start` when omitted. */
1170
1217
  interface CalendarEvent {
1171
1218
  id: string;
@@ -1173,7 +1220,7 @@ interface CalendarEvent {
1173
1220
  start: Date;
1174
1221
  end?: Date;
1175
1222
  allDay?: boolean;
1176
- /** Tints the default event chip with a semantic color token's container/on-container pair. */
1223
+ /** Tints the default event chip with a wash of a semantic color token, inked in the same hue. */
1177
1224
  color?: color;
1178
1225
  /** Consumer payload, surfaced in the template context and selection outputs. */
1179
1226
  data?: unknown;
@@ -1289,11 +1336,14 @@ declare class Calendar {
1289
1336
  */
1290
1337
  readonly swipeNavigation: InputSignal<boolean>;
1291
1338
  /**
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.
1339
+ * Week rows the month grid shows beyond the month's own six, fading out toward the grid's
1340
+ * edge so the month reads as a stretch of a continuous run of weeks. A number widens the
1341
+ * grid by that many rows above and below alike; a `{ before, after }` pair counts each edge
1342
+ * on its own, for a grid that wants only one of them — the month's six rows often close on
1343
+ * a week or two of the month that follows, where a further row adds little. They are days
1344
+ * like any other: selectable, and covered by the range `rangeChange` reports.
1295
1345
  */
1296
- readonly peekWeeks: InputSignalWithTransform<number, number>;
1346
+ readonly peekWeeks: InputSignalWithTransform<CalendarPeekWeeks, number | CalendarPeekWeeks>;
1297
1347
  /** Accessible name forwarded to the active view's grid. */
1298
1348
  readonly ariaLabel: InputSignal<string | undefined>;
1299
1349
  readonly eventSelect: OutputEmitterRef<CalendarEvent>;
@@ -1448,10 +1498,10 @@ declare class CalendarMonthView {
1448
1498
  /** Whether day cells are held to a 1:1 ratio instead of sizing to the events they hold. */
1449
1499
  readonly squareCells: InputSignal<boolean>;
1450
1500
  /**
1451
- * Week rows rendered beyond the month's own window, above and below it alike, fading out
1452
- * toward the grid's edge.
1501
+ * Week rows rendered beyond the month's own window, counted for each edge of the grid,
1502
+ * fading out toward that edge.
1453
1503
  */
1454
- readonly peekWeeks: InputSignal<number>;
1504
+ readonly peekWeeks: InputSignal<CalendarPeekWeeks>;
1455
1505
  readonly eventTemplate: InputSignal<TemplateRef<CalendarEventContext> | undefined>;
1456
1506
  /** Replaces what a day cell renders, leaving the cell's own semantics and chrome in place. */
1457
1507
  readonly dayTemplate: InputSignal<TemplateRef<CalendarDayContext> | undefined>;
@@ -1774,141 +1824,6 @@ type chipTemplateContext = {
1774
1824
  $implicit: ChipContext;
1775
1825
  };
1776
1826
 
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;
1888
- /**
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.
1892
- */
1893
- private _radiusToCover;
1894
- /**
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.
1899
- */
1900
- private _restartInk;
1901
- /**
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.
1905
- */
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>;
1910
- }
1911
-
1912
1827
  declare class Chip {
1913
1828
  private _config;
1914
1829
  readonly label: InputSignal<string | undefined>;
@@ -1923,7 +1838,7 @@ declare class Chip {
1923
1838
  protected readonly endIconTemplate: i0.Signal<TemplateRef<chipTemplateContext> | undefined>;
1924
1839
  protected classes: i0.Signal<string[]>;
1925
1840
  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: {}; }]>;
1841
+ 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, never>;
1927
1842
  }
1928
1843
 
1929
1844
  declare class ChipControl extends CheckboxFormControl {
@@ -2476,6 +2391,11 @@ declare class Drawer extends CdkDialogContainer {
2476
2391
  * pinned edge and the settle after release. The scrim thins as the panel leaves.
2477
2392
  */
2478
2393
  private readonly _motion;
2394
+ /**
2395
+ * How far toward the pinned edge the panel was drawn when the drag began: 0
2396
+ * from rest, the settle's position when caught mid-flight.
2397
+ */
2398
+ private _dragLead;
2479
2399
  protected readonly hostClasses: i0.Signal<string[]>;
2480
2400
  constructor();
2481
2401
  protected get config(): DrawerPanelConfig;
@@ -2543,28 +2463,34 @@ declare class Drawer extends CdkDialogContainer {
2543
2463
  private _onPanEnd;
2544
2464
  private _onPanCancel;
2545
2465
  /**
2546
- * Travel toward the panel's pinned edge in px. Negative while the finger moves
2466
+ * Travel toward the panel's pinned edge in px: where the drag picked the
2467
+ * panel up, plus the finger's travel since. Negative while the finger moves
2547
2468
  * the other way, which the caller clamps away — the panel does not overshoot open.
2548
2469
  */
2549
2470
  private _dismissTravel;
2550
2471
  /**
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.
2472
+ * The component toward the pinned edge of a physical vector — a travel, a
2473
+ * velocity, a translation. A velocity is read apart from the travel, so a
2474
+ * drag that reverses into a flick reads as the flick.
2553
2475
  */
2554
- private _dismissVelocity;
2476
+ private _towardEdge;
2555
2477
  /**
2556
2478
  * Horizontal quantities arrive physical; the inline sides are logical, so the
2557
2479
  * sign flips in RTL.
2558
2480
  */
2559
2481
  private _toLogical;
2560
2482
  private _isInlineSide;
2561
- /** Returns the panel to rest after a drag that did not commit. */
2483
+ /**
2484
+ * Returns the panel to rest after a drag that did not commit, launched at
2485
+ * the finger's `velocity` toward the pinned edge.
2486
+ */
2562
2487
  private _settleBack;
2563
2488
  /**
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.
2489
+ * Continues the drag out to `target` px — the pinned edge, or past it where
2490
+ * the finger already went — at the finger's `velocity`, and disposes on
2491
+ * arrival. A dismissal that began as a drag cannot route through
2492
+ * `animatedClose`: the slide-out keyframe starts from `transform: none`, so
2493
+ * the panel would snap back to fully open for a frame before leaving.
2568
2494
  */
2569
2495
  private _dragClose;
2570
2496
  private _sizeClass;
@@ -2924,6 +2850,19 @@ declare const DEFAULT_FORM_CONTROL_GROUP_CONFIG: FormControlGroupConfig;
2924
2850
 
2925
2851
  declare const FORM_CONTROL_GROUP_CONFIG: InjectionToken<FormControlGroupConfig>;
2926
2852
 
2853
+ /**
2854
+ * Marks content a form item draws at the far end of its label's row — an action that concerns
2855
+ * the field, such as a "Forgot password?" link beside a password's label. It sits beside the
2856
+ * `<label>` element rather than inside it, so it takes no part in the control's accessible name,
2857
+ * and a press on it never reaches the control. It follows the control in the document, so focus
2858
+ * reaches the field before the action beside its label. Meant for a label placed above its
2859
+ * control.
2860
+ */
2861
+ declare class FormItemLabelAction {
2862
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormItemLabelAction, never>;
2863
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormItemLabelAction, "[tlsFormItemLabelAction]", never, {}, {}, never, never, true, never>;
2864
+ }
2865
+
2927
2866
  type ErrorMessageFn = (fieldTree?: ReadonlyFieldTree<unknown>) => string;
2928
2867
  type ErrorMessageMap = Record<string, ErrorMessageFn>;
2929
2868
 
@@ -2959,6 +2898,8 @@ interface FormItemLabelContext {
2959
2898
  }
2960
2899
 
2961
2900
  declare class FormItem {
2901
+ /** Whether a `tlsFormSkeleton` above the item says its form is still being read. */
2902
+ private readonly _isFormSkeleton;
2962
2903
  private static _counter;
2963
2904
  private _config;
2964
2905
  protected control: Signal<FormControl | undefined>;
@@ -2973,6 +2914,8 @@ declare class FormItem {
2973
2914
  * `aria-labelledby` wiring is kept. Replaces the label text and the required / optional markers.
2974
2915
  */
2975
2916
  protected readonly labelTemplate: Signal<TemplateRef<FormItemLabelContext> | undefined>;
2917
+ /** Content drawn at the far end of the label's row; see {@link FormItemLabelAction}. */
2918
+ protected readonly labelAction: Signal<FormItemLabelAction | undefined>;
2976
2919
  /** Stable id for the label element, linked to the control via `aria-labelledby`. */
2977
2920
  protected readonly labelId: string;
2978
2921
  /** Stable id assigned to the native control element, linked from the label via `for`. */
@@ -2992,6 +2935,20 @@ declare class FormItem {
2992
2935
  * item to full width. Only applies to inline (`start` / `end`) label positions.
2993
2936
  */
2994
2937
  spread: i0.InputSignalWithTransform<boolean, unknown>;
2938
+ /**
2939
+ * Draws the control as a skeleton, for a value that is still being read. The control's slot
2940
+ * becomes a placeholder exactly the size of the control, which stays in place unseen, so the
2941
+ * item stands as it will once the value arrives; the label and the hint are shown as they are.
2942
+ * An item beneath a `tlsFormSkeleton` is drawn so whenever that says to, with nothing set here.
2943
+ */
2944
+ skeleton: i0.InputSignalWithTransform<boolean, unknown>;
2945
+ /**
2946
+ * Keeps the footer's line open beneath a control that can display a validation error, so an
2947
+ * error appearing — often as focus leaves the field for a press on something below it — moves
2948
+ * nothing beneath the item, and the press lands where it began. An item whose control can
2949
+ * never display one (a setting bound to a plain value, a toggle that is not required) reserves
2950
+ * nothing, since it holds no line any error would need.
2951
+ */
2995
2952
  reserveErrorSpace: i0.InputSignal<boolean>;
2996
2953
  reserveLabelSpace: i0.InputSignal<boolean>;
2997
2954
  displayErrors: i0.InputSignal<boolean>;
@@ -3019,8 +2976,12 @@ declare class FormItem {
3019
2976
  * can be left unanswered, and is not required — a setting or a toggle has nothing to skip.
3020
2977
  */
3021
2978
  protected showOptional: Signal<boolean>;
2979
+ /** Whether the footer holds its line open for an error that has not appeared. */
2980
+ protected reservesErrorLine: Signal<boolean>;
3022
2981
  /** Whether a label is rendered, from either the `label` input or a custom label template. */
3023
2982
  protected hasLabel: Signal<boolean>;
2983
+ /** Whether a label above the control shares its row with an action. */
2984
+ protected hasLabelActionRow: Signal<boolean>;
3024
2985
  protected labelContext: Signal<FormItemLabelContext>;
3025
2986
  protected labelFor: Signal<string | null>;
3026
2987
  protected hostClasses: Signal<string[]>;
@@ -3034,9 +2995,14 @@ declare class FormItem {
3034
2995
  protected errorMessages: Signal<string[]>;
3035
2996
  protected firstErrorMessage: Signal<string | null>;
3036
2997
  constructor();
2998
+ /**
2999
+ * Whether the control edits a form's field. One bound to a plain value is a setting rather than
3000
+ * a question to answer: it is never left unanswered and carries no validation of its own.
3001
+ */
3002
+ private _isFormField;
3037
3003
  private _getErrorMessages;
3038
3004
  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>;
3005
+ 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; }; "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; }; }, {}, ["control", "_formFields", "labelTemplate", "labelAction"], ["*", "[tlsFormItemLabelAction]"], true, never>;
3040
3006
  }
3041
3007
 
3042
3008
  /**
@@ -3055,6 +3021,29 @@ declare const provideFormItemConfig: (config: Partial<FormItemConfig>) => Provid
3055
3021
 
3056
3022
  declare const FORM_ITEM_CONFIG: InjectionToken<FormItemConfig>;
3057
3023
 
3024
+ /**
3025
+ * Draws every form item beneath it as a skeleton, and makes everything beneath
3026
+ * it inert, for a form whose values are still being read. One binding on the
3027
+ * form, or on any element around its fields, reaches the items however deep
3028
+ * they sit, those inside other components included, so a form is rendered once
3029
+ * from its blank model rather than written out a second time as a placeholder.
3030
+ */
3031
+ declare class FormSkeleton {
3032
+ /** Whether the values are still being read. */
3033
+ readonly active: i0.InputSignalWithTransform<boolean, unknown>;
3034
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormSkeleton, never>;
3035
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FormSkeleton, "[tlsFormSkeleton]", never, { "active": { "alias": "tlsFormSkeleton"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
3036
+ }
3037
+
3038
+ /**
3039
+ * Whether the form around the caller is drawn as a skeleton: what the nearest
3040
+ * `tlsFormSkeleton` above it says, and never where there is none. For a part
3041
+ * of a form that is not a form item, a list or an upload, say, to stand in
3042
+ * for itself at the same moment the items around it do. Called in an injection
3043
+ * context.
3044
+ */
3045
+ declare function injectFormSkeleton(): Signal<boolean>;
3046
+
3058
3047
  /**
3059
3048
  * How the typed query narrows the option list.
3060
3049
  *
@@ -3789,6 +3778,13 @@ interface FileInputFileContext {
3789
3778
  index: number;
3790
3779
  remove: (index: number) => void;
3791
3780
  }
3781
+ /** What a projected trigger is handed in place of the built-in button. */
3782
+ interface FileInputTriggerContext {
3783
+ /** Opens the file picker; does nothing while the control is not interactive. */
3784
+ $implicit: () => void;
3785
+ /** Whether the control is disabled or read-only, for the trigger to show it. */
3786
+ disabled: boolean;
3787
+ }
3792
3788
 
3793
3789
  declare class FileInput extends ValueFormControl<File[]> {
3794
3790
  private readonly _config;
@@ -3803,11 +3799,18 @@ declare class FileInput extends ValueFormControl<File[]> {
3803
3799
  protected readonly nativeInput: Signal<ElementRef<HTMLInputElement>>;
3804
3800
  protected readonly dropZoneTemplate: Signal<TemplateRef<FileInputDropZoneContext> | undefined>;
3805
3801
  protected readonly fileTemplate: Signal<TemplateRef<FileInputFileContext> | undefined>;
3802
+ /**
3803
+ * A consumer's own control for opening the picker, drawn in place of the built-in button and
3804
+ * its accept hint in the `button` variant. It names and describes itself: the control's
3805
+ * `ariaLabel` and described-by wiring belong to the built-in button only.
3806
+ */
3807
+ protected readonly triggerTemplate: Signal<TemplateRef<FileInputTriggerContext> | undefined>;
3806
3808
  protected readonly classes: Signal<string[]>;
3807
3809
  protected readonly triggerLabel: Signal<string>;
3808
3810
  /** Accessible name for the drop zone: the consumer's, or the configured fallback. */
3809
3811
  protected readonly dropZoneLabel: Signal<string>;
3810
3812
  protected readonly acceptHint: Signal<string>;
3813
+ protected readonly triggerContext: Signal<FileInputTriggerContext>;
3811
3814
  protected openFilePicker(): void;
3812
3815
  protected onFilesSelected(event: Event): void;
3813
3816
  protected onDropZoneKeydown(event: KeyboardEvent): void;
@@ -3821,7 +3824,7 @@ declare class FileInput extends ValueFormControl<File[]> {
3821
3824
  protected addFiles(incoming: File[]): void;
3822
3825
  private _formatAcceptRule;
3823
3826
  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>;
3827
+ 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
3828
  }
3826
3829
 
3827
3830
  interface FileInputConfig {
@@ -4132,6 +4135,8 @@ declare const PASSWORD_CONFIG: InjectionToken<PasswordConfig>;
4132
4135
  * shell serves the choosers a select cannot express.
4133
4136
  */
4134
4137
  declare class PickerField {
4138
+ /** The popup a trigger directive on the field opens, announced on its inner trigger. */
4139
+ protected readonly popup: PopupAnnouncement;
4135
4140
  /** Whether the consumer's panel is open; turns the chevron and keeps the frame active. */
4136
4141
  readonly open: i0.InputSignalWithTransform<boolean, unknown>;
4137
4142
  readonly size: InputSignal<controlSize>;
@@ -4611,7 +4616,7 @@ declare class ToggleButton extends CheckboxFormControl {
4611
4616
  protected toggle(): void;
4612
4617
  protected onKeyboardToggle(event: Event): void;
4613
4618
  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: {}; }]>;
4619
+ 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
4620
  }
4616
4621
 
4617
4622
  interface ToggleButtonConfig {
@@ -4628,7 +4633,13 @@ declare const DEFAULT_TOGGLE_BUTTON_CONFIG: ToggleButtonConfig;
4628
4633
 
4629
4634
  declare const TOGGLE_BUTTON_CONFIG: InjectionToken<ToggleButtonConfig>;
4630
4635
 
4631
- type toggleGroupVariant = 'filled' | 'tonal';
4636
+ /**
4637
+ * How a toggle group draws its options. `filled` and `tonal` join them into one
4638
+ * strip and fill the chosen ones with the group's color, solid or as a wash.
4639
+ * `segmented` sets them apart on a track and lifts the chosen one off it as a
4640
+ * pill, the look of a segmented tab strip; it reads none of the group's color.
4641
+ */
4642
+ type toggleGroupVariant = 'filled' | 'tonal' | 'segmented';
4632
4643
 
4633
4644
  declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
4634
4645
  private readonly _config;
@@ -4637,12 +4648,25 @@ declare class ToggleGroup<T, V = unknown> extends SelectionGroup<T, V> {
4637
4648
  readonly unselectable: InputSignalWithTransform<boolean, unknown>;
4638
4649
  readonly size: InputSignal<controlSize>;
4639
4650
  readonly color: InputSignal<color>;
4651
+ /**
4652
+ * How the options are drawn: joined into one strip and filled with `color`
4653
+ * where chosen (`filled`, `tonal`), or set apart on a track with the chosen
4654
+ * one lifted off it as a pill (`segmented`), which ignores `color`.
4655
+ */
4640
4656
  readonly variant: InputSignal<toggleGroupVariant>;
4641
4657
  readonly orientation: InputSignal<orientation>;
4642
4658
  /** Whether the group stretches to fill its container's width with equal-width options. */
4643
4659
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
4644
4660
  protected readonly optionTemplate: Signal<TemplateRef<selectionGroupTemplateContext<T, V>> | undefined>;
4661
+ private readonly _optionButtons;
4662
+ /**
4663
+ * The option a single travelling pill marks: the one chosen, in a segmented
4664
+ * group that takes one choice. Nothing in a joined treatment, in a group of
4665
+ * several choices — each keeps a pill of its own — or with nothing chosen.
4666
+ */
4667
+ private readonly _markedOption;
4645
4668
  protected readonly classes: Signal<string[]>;
4669
+ constructor();
4646
4670
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleGroup<any, any>, never>;
4647
4671
  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>;
4648
4672
  }
@@ -5438,18 +5462,38 @@ declare class SheetMotion {
5438
5462
  * called: a settle that ends in a dispose keeps its class on until the
5439
5463
  * overlay is gone, so the keyframe the class stands down cannot replay.
5440
5464
  *
5465
+ * `velocity` is the surface's speed at the start, in px/ms along the offset
5466
+ * (positive as the offset grows) — a released finger's. The settle's timing
5467
+ * goes onto the surface and its scrim as `--tls-settle-duration` and
5468
+ * `--tls-settle-easing` (see `settleCurve`), for a settle transition to
5469
+ * read, so the stylesheet keeps the motion's gating while the curve carries
5470
+ * the hand's momentum on.
5471
+ *
5441
5472
  * A `begin` or `rest` that arrives before the settle finishes supersedes it:
5442
5473
  * a superseded settle neither moves the surface nor reports `done`.
5443
5474
  */
5444
- settle(target: number, done: () => void): void;
5475
+ settle(target: number, done: () => void, velocity?: number): void;
5445
5476
  /**
5446
5477
  * A settle from rest with no drag: takes hold of `surface` and settles it to
5447
5478
  * `target` in one step, for a change asked by a click, a key or code rather
5448
5479
  * than a finger. Supersedes a running settle the way a `begin` does.
5449
5480
  */
5450
5481
  moveTo(surface: SheetMotionSurface, target: number, done: () => void): void;
5451
- /** Lets go of the surface; the transform is the stylesheet's again. */
5482
+ /**
5483
+ * Lets go of the surface; the transform is the stylesheet's again. The
5484
+ * settle's timing comes off with it, so a transition that outlives the
5485
+ * gesture — a scrim's fade on close — keeps the stylesheet's own pace rather
5486
+ * than the curve of the last settle.
5487
+ */
5452
5488
  rest(): void;
5489
+ /**
5490
+ * Writes the timing of a settle to `target` onto the surface and its scrim.
5491
+ * The travel starts from the offset last written inline, which is where a
5492
+ * released drag left the surface; a settle that supersedes another starts
5493
+ * from the other's target, and the browser's own retargeting of the running
5494
+ * transition covers the difference.
5495
+ */
5496
+ private _writeCurve;
5453
5497
  /**
5454
5498
  * Only the backdrop's progress is clamped to the extent; the offset itself
5455
5499
  * is written unclamped.
@@ -5545,8 +5589,13 @@ declare class Menu {
5545
5589
  */
5546
5590
  private readonly _viewportService;
5547
5591
  private readonly _injector;
5592
+ private readonly _document;
5548
5593
  private readonly _renderer;
5549
5594
  private readonly _panelRef;
5595
+ /** The rendered items, in the order the panel draws them. */
5596
+ private readonly _items;
5597
+ /** Where focus was when the menu opened — its trigger — and where it goes back on close. */
5598
+ private _returnFocusTo;
5550
5599
  protected readonly _customItems: i0.Signal<readonly MenuItemComponent[]>;
5551
5600
  protected readonly customTemplates: i0.Signal<Map<string, TemplateRef<unknown>>>;
5552
5601
  /** Content of every action item, rendered inside the menu-managed interactive wrapper. */
@@ -5596,12 +5645,28 @@ declare class Menu {
5596
5645
  */
5597
5646
  protected readonly sheetMotion: SheetMotion;
5598
5647
  private _sheetClosing;
5648
+ /**
5649
+ * How far below its rest the pane was drawn when the drag began: 0 from
5650
+ * rest, the settle's position when caught mid-flight.
5651
+ */
5652
+ private _sheetDragLead;
5599
5653
  constructor();
5600
5654
  open(trigger: MouseEvent | HTMLElement): void;
5601
5655
  openAtPoint(x: number, y: number): void;
5602
5656
  close(): void;
5603
5657
  toggle(trigger: MouseEvent | HTMLElement): void;
5658
+ /**
5659
+ * Runs the chosen item's action. A menu that closes on the choice closes first, handing focus
5660
+ * back to its trigger, so whatever the action opens — a dialog — finds focus on the trigger and
5661
+ * returns it there, rather than to an item that leaves with the menu.
5662
+ */
5604
5663
  protected onItemClick(item: MenuActionItem): void;
5664
+ /**
5665
+ * Closes the menu as Tab leaves it. Focus goes back to the trigger while the key is still being
5666
+ * handled, so the browser's own move carries on from the trigger to the control beside it,
5667
+ * instead of walking off the end of the document from the panel.
5668
+ */
5669
+ protected onTabOut(): void;
5605
5670
  /** Whether the item carries a checked state (`menuitemradio` / `menuitemcheckbox`). */
5606
5671
  protected isCheckable(item: MenuActionItem): boolean;
5607
5672
  /** Id of the item's label element, referenced by `aria-labelledby`. */
@@ -5610,7 +5675,7 @@ declare class Menu {
5610
5675
  protected itemDescriptionId(index: number): string;
5611
5676
  /** Content template for the item: its keyed slot first, the shared `#itemTemplate` otherwise. */
5612
5677
  protected itemContentTemplate(item: MenuActionItem): TemplateRef<unknown> | undefined;
5613
- protected onSheetPanStart(pane: HTMLElement): void;
5678
+ protected onSheetPanStart(pane: HTMLElement, event: PanEvent): void;
5614
5679
  /**
5615
5680
  * Fired outside the Angular zone (see `PanDirective.panMove`), so it writes
5616
5681
  * to the DOM directly and never touches a signal. The sheet does not
@@ -5626,13 +5691,33 @@ declare class Menu {
5626
5691
  * from the template on every open, so only the component-held state carries
5627
5692
  * over.
5628
5693
  */
5694
+ /**
5695
+ * Moves focus into the menu once its panel is drawn, as the menu-button pattern has it: to the
5696
+ * checked item of a choice, so the current answer is where the person starts, otherwise to the
5697
+ * first item that can be chosen. Focus inside, the arrow keys, Home and End, and type-ahead
5698
+ * reach the items; focus left on the trigger would leave a keyboard with no way in.
5699
+ */
5700
+ private _focusEntryItemOnceShown;
5701
+ /**
5702
+ * Hands focus back to where it was when the menu opened, as closing a menu does: after Escape,
5703
+ * a choice, or the owner closing it. Not after a press outside, where focus already belongs to
5704
+ * whatever was pressed; nor once focus has left the menu for somewhere else — a dialog an item
5705
+ * opened — which keeps it.
5706
+ */
5707
+ private _returnFocus;
5629
5708
  private _prepareOpen;
5630
5709
  /**
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.
5710
+ * Travel toward the bottom edge in px: where the drag picked the pane up,
5711
+ * plus the finger's travel since.
5712
+ */
5713
+ private _sheetTravel;
5714
+ /**
5715
+ * Continues the drag out to `target` px — past the bottom edge, or further
5716
+ * where the finger already went — at the finger's `velocity`, and closes on
5717
+ * arrival. A dismissal that began as a drag must not route through the
5718
+ * leave keyframe: that starts from the fully open position, so the pane
5719
+ * would snap back for a frame before leaving — the stylesheet stands the
5720
+ * keyframe down while the drag state classes are on.
5636
5721
  */
5637
5722
  private _sheetDragClose;
5638
5723
  static ɵfac: i0.ɵɵFactoryDeclaration<Menu, never>;
@@ -5655,10 +5740,45 @@ declare const DEFAULT_MENU_CONFIG: MenuConfig;
5655
5740
 
5656
5741
  declare const MENU_CONFIG: InjectionToken<MenuConfig>;
5657
5742
 
5658
- declare class MenuTriggerDirective {
5743
+ /** A trigger directive's popup, as a host places it on the inner control that takes focus. */
5744
+ interface PopupAnnouncement {
5745
+ /** `aria-haspopup`: the kind of popup, while a trigger sits on the host. */
5746
+ readonly kind: string | null;
5747
+ /** `aria-expanded`: whether the popup is open, while a trigger sits on the host. */
5748
+ readonly expanded: Signal<boolean | null>;
5749
+ /** `aria-controls`: the open popup's id. */
5750
+ readonly id: Signal<string | null>;
5751
+ }
5752
+
5753
+ /** The kind of popup a trigger opens, as `aria-haspopup` names it. */
5754
+ type popupKind = 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
5755
+ /**
5756
+ * What a trigger directive announces about the popup it opens. Read by a host whose focusable
5757
+ * element is not the host itself — a button rendering its own `<button>` — so the announcement
5758
+ * lands on the element that takes focus, where a screen reader looks for it.
5759
+ */
5760
+ interface PopupTrigger {
5761
+ /** The kind of popup, for `aria-haspopup`. */
5762
+ readonly popupKind: popupKind;
5763
+ /** Whether the popup is open, for `aria-expanded`. */
5764
+ readonly popupExpanded: Signal<boolean>;
5765
+ /** The open popup's element id, for `aria-controls`; none while it is closed. */
5766
+ readonly popupId: Signal<string | null>;
5767
+ }
5768
+
5769
+ /**
5770
+ * Makes its host the control that opens a menu, and announces the menu it controls and whether
5771
+ * it is open. On a host that renders its own focusable control — a `tls-button` — that control
5772
+ * carries the announcement; on any other host, the host itself does.
5773
+ */
5774
+ declare class MenuTriggerDirective implements PopupTrigger {
5775
+ /** Whether the host is the focusable control itself, rather than a button wrapping one. */
5776
+ protected readonly announcesOnHost: boolean;
5659
5777
  readonly menu: i0.InputSignal<Menu>;
5660
- protected readonly isOpen: i0.Signal<boolean>;
5661
- protected readonly menuId: i0.Signal<string>;
5778
+ readonly popupKind = "menu";
5779
+ readonly popupExpanded: i0.Signal<boolean>;
5780
+ /** The menu while it is open; a closed menu has no element to point at. */
5781
+ readonly popupId: i0.Signal<string | null>;
5662
5782
  protected onClick(event: MouseEvent): void;
5663
5783
  static ɵfac: i0.ɵɵFactoryDeclaration<MenuTriggerDirective, never>;
5664
5784
  static ɵdir: i0.ɵɵDirectiveDeclaration<MenuTriggerDirective, "[tlsMenuTrigger]", never, { "menu": { "alias": "tlsMenuTrigger"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -6080,6 +6200,15 @@ declare const RIPPLE_RELEASED_CLASS = "tls-ripple-released";
6080
6200
  * and MUI's touch-ripple delay, short enough not to read as lag.
6081
6201
  */
6082
6202
  declare const RIPPLE_TOUCH_DELAY_MS = 80;
6203
+ /**
6204
+ * How long struck ink shows at full strength before a release may fade it. A tap is over
6205
+ * in a fraction of the spread, and ink that began fading the moment it appeared would be
6206
+ * gone before it had grown past the fingertip that covers it; holding it this long lets
6207
+ * the spread all but finish first. The value is Material Web's minimum press, and like
6208
+ * Angular Material's ripple — which fades only ink that has finished entering — it defers
6209
+ * the release rather than cutting the spread short.
6210
+ */
6211
+ declare const RIPPLE_MINIMUM_HOLD_MS = 225;
6083
6212
  /** Contact point of the press, relative to the host's own box. */
6084
6213
  declare const RIPPLE_X_PROPERTY = "--tls-ripple-x";
6085
6214
  declare const RIPPLE_Y_PROPERTY = "--tls-ripple-y";
@@ -6088,10 +6217,10 @@ declare const RIPPLE_DIAMETER_PROPERTY = "--tls-ripple-diameter";
6088
6217
  /** Suppression hook the press mixin reads: 1 leaves the control at rest. */
6089
6218
  declare const PRESS_SCALE_PROPERTY = "--tls-press-scale";
6090
6219
  /**
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.
6220
+ * How far a touch may travel, while it waits to ink, before it is read as the start of a
6221
+ * scroll and never inks. Ink already struck is not cancelled by travel: a finger shifting
6222
+ * on a control is still pressing it, and a contact the browser takes over for a scroll
6223
+ * ends with `pointercancel`, which fades the ink as a release does.
6095
6224
  */
6096
6225
  declare const RIPPLE_MOVE_SLOP_PX = 8;
6097
6226
  /**
@@ -6100,12 +6229,290 @@ declare const RIPPLE_MOVE_SLOP_PX = 8;
6100
6229
  */
6101
6230
  declare const POSITIONED_VALUES: ReadonlySet<string>;
6102
6231
 
6232
+ /**
6233
+ * Spreads ink from the point of contact when the host is touched, and stands its
6234
+ * press down for that one interaction so a single tap produces a single effect.
6235
+ *
6236
+ * Ink belongs on a control whose press leaves nothing else on screen to show for
6237
+ * it — an action, a row that navigates. A control whose press selects — a tab, a
6238
+ * segment, a toggle, a chip, an option, a menu item, a date — answers with the
6239
+ * selection itself, so ink there would play a second effect over the first and
6240
+ * trail it, since a touch inks only after a moment; such a control takes a
6241
+ * pressed state of its own instead.
6242
+ *
6243
+ * A touch and a pen ink by default, a mouse does not. Ink answers the fingertip
6244
+ * covering the control it is spreading from — a cursor occludes nothing, and a
6245
+ * mouse press is over in a fraction of the ink's duration, leaving most of it
6246
+ * playing after the button has already been released. Which pointers ink is set
6247
+ * app-wide through `RIPPLE_CONFIG` and per host through `ripplePointerTypes`.
6248
+ *
6249
+ * A touch inks a moment after it lands rather than at once, so a flick that
6250
+ * merely begins on the host scrolls without flashing it; a tap lifted sooner inks
6251
+ * on release. The ink spreads and holds while the contact lasts, so a held press
6252
+ * keeps showing, and fades when it ends — whether the finger lifts or the browser
6253
+ * takes the contact over for a scroll — but never before it has shown for a
6254
+ * moment, so a quick tap is seen. A finger shifting on the control once its ink
6255
+ * is struck is still pressing it and leaves the ink in place.
6256
+ *
6257
+ * The ink is expressive and outlives the contact that spawned it, so it is
6258
+ * confined to the `full` motion level; below that the press it suppresses is
6259
+ * restored and acknowledges the touch instead. Removing this directive therefore
6260
+ * takes nothing away — the press underneath is pure CSS and is what a host shows
6261
+ * without it.
6262
+ *
6263
+ * Requires the theme's `ripple` mixin on the element the ink is drawn on — the
6264
+ * host, or the `rippleSurface` it names — which draws the ink from the values
6265
+ * written there.
6266
+ *
6267
+ * @example
6268
+ * ```html
6269
+ * <button class="tls-button" tlsRipple>Save</button>
6270
+ * ```
6271
+ */
6272
+ declare class RippleDirective {
6273
+ private readonly _elementRef;
6274
+ private readonly _document;
6275
+ private readonly _config;
6276
+ private readonly _renderer;
6277
+ /**
6278
+ * Turns the ink off.
6279
+ *
6280
+ * Deliberately not named `disabled`: an input shadows the DOM property of the
6281
+ * same name on the element it sits on, so a directive claiming `disabled` would
6282
+ * capture a host's `[disabled]` binding and leave the control enabled.
6283
+ */
6284
+ readonly rippleDisabled: InputSignalWithTransform<boolean, unknown>;
6285
+ /**
6286
+ * Pointer types whose presses ink here, overriding the app-wide default for
6287
+ * this one host. Unset defers to `RIPPLE_CONFIG`.
6288
+ */
6289
+ readonly ripplePointerTypes: InputSignal<pointerType[] | undefined>;
6290
+ /**
6291
+ * The element the ink is drawn on, when it is not the host itself: a part of the control
6292
+ * that carries its shape, such as a navigation item's indicator pill around its icon. The
6293
+ * whole host still answers the press, and still stands its own press down. Unset draws on
6294
+ * the host.
6295
+ */
6296
+ readonly rippleSurface: InputSignal<HTMLElement | undefined>;
6297
+ private readonly _pointerTypes;
6298
+ /** Where a touch waiting to ink landed, to measure a scroll against. */
6299
+ private _origin;
6300
+ /**
6301
+ * Teardown of the listeners that hear a press end, bound only while one is live.
6302
+ * Host listeners would schedule change detection for every hover movement across
6303
+ * every host, although only a press needs them.
6304
+ */
6305
+ private _stopTrackingContact;
6306
+ /** Teardown of the listener that watches a touch's travel while it waits to ink. */
6307
+ private _stopWatchingForScroll;
6308
+ /** The ink a touch is waiting to strike, until the wait passes or the contact ends. */
6309
+ private _pendingInk;
6310
+ /** Runs from the moment ink is struck until it has shown for its minimum hold. */
6311
+ private _minimumHold;
6312
+ /** Whether the contact ended while the minimum hold was still running, so the ink fades once it does. */
6313
+ private _releaseAwaitingHold;
6314
+ constructor();
6315
+ protected onPointerDown(event: PointerEvent): void;
6316
+ /** A tap lifted before its ink was struck inks now, and every ink lets go with the contact. */
6317
+ private _onPointerRelease;
6318
+ /**
6319
+ * The browser took the contact over, most often for a scroll: an ink still waiting is
6320
+ * dropped, and one already spreading fades as on release.
6321
+ */
6322
+ private _onPointerCancel;
6323
+ /**
6324
+ * A touch that travels past the slop while it waits has turned out to be a scroll, so it
6325
+ * never inks. The press stays suppressed until the contact ends: restoring it here would
6326
+ * depress the control mid-scroll, which is what the ink was withheld for.
6327
+ */
6328
+ private _onPointerMove;
6329
+ /**
6330
+ * Holds a touch's ink back for the wait, watching how far the touch travels meanwhile. Its
6331
+ * moves are heard on the host, which captures a touch for as long as it lasts.
6332
+ */
6333
+ private _awaitScroll;
6334
+ /**
6335
+ * Follows one press until it ends. Its end is heard on the document rather than the host:
6336
+ * only a touch is captured by the element it lands on, so a pen — or a mouse, where one
6337
+ * inks — lifted after sliding off the host would otherwise never release the ink it holds.
6338
+ * The capture phase hears the end even where a component stops it from bubbling.
6339
+ */
6340
+ private _trackContact;
6341
+ /** Stops following the live contact, dropping any ink it is still waiting to strike. */
6342
+ private _stopTracking;
6343
+ /**
6344
+ * Whether a press from this kind of pointer inks. `pointerType` is read off the
6345
+ * event rather than from a media query so a device carrying both a touchscreen
6346
+ * and a mouse is answered by the one in use, not by the one it reports as
6347
+ * primary.
6348
+ */
6349
+ private _inksFor;
6350
+ /**
6351
+ * Whether the document is at the motion level the ink belongs to.
6352
+ *
6353
+ * Read from the attribute the stylesheet gates on rather than from
6354
+ * `MotionService`, for two reasons: the two can never disagree about a level
6355
+ * they read from one place, and a host is not made to depend on a provider it
6356
+ * would otherwise never need — an app that never configures motion has no
6357
+ * attribute, and the ink is off exactly as the stylesheet has it.
6358
+ */
6359
+ private _isFullMotion;
6360
+ /** The element the ink is drawn on. */
6361
+ private _surface;
6362
+ /**
6363
+ * The box the ink layer occupies, which the contact point and the ink's reach are measured
6364
+ * against. The layer is laid out against the surface, unless the surface is not positioned:
6365
+ * it is then laid out against the nearest positioned ancestor instead — a stretched link
6366
+ * inks the whole row its hit area covers, not just its own text. Its insets are read back
6367
+ * rather than assumed to be zero, so a layer that bleeds past that box is measured as drawn.
6368
+ */
6369
+ private _inkLayerBounds;
6370
+ /**
6371
+ * Distance from the contact point to the farthest corner. The ink is struck
6372
+ * where the finger landed, so a press near an edge has farther to travel than
6373
+ * one in the middle; covering the control means reaching that corner.
6374
+ */
6375
+ private _radiusToCover;
6376
+ /**
6377
+ * Strikes fresh ink and starts its minimum hold. A class already present does not
6378
+ * restart a running animation, so a second tap arriving before the first has
6379
+ * faded would otherwise be swallowed; reading back a layout property between the
6380
+ * removal and the addition forces the two to land as separate states.
6381
+ */
6382
+ private _strike;
6383
+ /**
6384
+ * Answers the end of the contact: the ink fades now if it has shown for its minimum hold,
6385
+ * and once it has otherwise.
6386
+ *
6387
+ * @example
6388
+ * // A tap lifted 40ms after the ink was struck, with a 225ms hold:
6389
+ * // 0ms struck
6390
+ * // 40ms release → awaits the hold
6391
+ * // 225ms hold ends → fades
6392
+ * // A press held for 600ms:
6393
+ * // 600ms release → fades at once
6394
+ */
6395
+ private _release;
6396
+ /** Fades whatever ink the surface holds, ending any hold still running. */
6397
+ private _letGo;
6398
+ /** Ends a touch's wait to ink, along with the watch on its travel. */
6399
+ private _clearPendingInk;
6400
+ /** Ends the minimum hold, along with any release that was waiting on it. */
6401
+ private _clearHold;
6402
+ static ɵfac: i0.ɵɵFactoryDeclaration<RippleDirective, never>;
6403
+ 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>;
6404
+ }
6405
+
6103
6406
  declare const RIPPLE_CONFIG: InjectionToken<RippleConfig>;
6104
6407
 
6408
+ /**
6409
+ * What an indicator is kept on. Each is read where signals are tracked, so the
6410
+ * indicator follows whatever state the answers are derived from.
6411
+ */
6412
+ interface SlidingIndicatorOptions {
6413
+ /**
6414
+ * The element the items are laid out in and the indicator is drawn on. It
6415
+ * must be positioned, which the theme's `sliding-indicator` mixin sees to.
6416
+ */
6417
+ container: () => HTMLElement | null | undefined;
6418
+ /**
6419
+ * The chosen item, or nothing wherever no single indicator applies — nothing
6420
+ * chosen, several chosen, a treatment that marks its items another way.
6421
+ */
6422
+ target: () => HTMLElement | null | undefined;
6423
+ /** The axis the items run along, which decides whether the indicator is used at all. */
6424
+ orientation: () => orientation;
6425
+ }
6426
+ /** An item's box within its container: its offset from the padding edge, and its size. */
6427
+ interface SlidingIndicatorBox {
6428
+ x: number;
6429
+ y: number;
6430
+ width: number;
6431
+ height: number;
6432
+ }
6433
+ /** A chosen item as it was found laid out, and the container it was found in. */
6434
+ interface SlidingIndicatorMeasurement {
6435
+ container: HTMLElement;
6436
+ target: HTMLElement;
6437
+ box: SlidingIndicatorBox;
6438
+ }
6439
+
6440
+ /**
6441
+ * Keeps one indicator on the chosen item of a set — the pill of a segmented
6442
+ * control, the fill of a list's selected row — so that choosing another sends
6443
+ * it travelling there instead of vanishing from one item and appearing on the
6444
+ * next. The indicator itself is drawn by the theme's `sliding-indicator` mixin
6445
+ * on the container; this writes where it goes.
6446
+ *
6447
+ * A position cannot be read from the selection: it is wherever the layout put
6448
+ * the chosen item. So the item is measured after each render that could have
6449
+ * moved it, and again whenever the container or one of its children changes
6450
+ * size — a container resized, a font that loaded late, a label that changed
6451
+ * length. The measure is taken in offsets from the container rather than in
6452
+ * viewport coordinates, which any transform on an ancestor scales and shifts —
6453
+ * a panel animating open, say — with nothing to report when it ends.
6454
+ *
6455
+ * Only the move to an item newly chosen is animated. An indicator following
6456
+ * its item as the layout around it changes is moved at once, where an
6457
+ * animated one would trail behind it.
6458
+ *
6459
+ * Along an axis the configuration leaves still, nothing is measured or
6460
+ * written, and each item goes on marking itself.
6461
+ *
6462
+ * Call it where injection is available — a constructor or a field initializer.
6463
+ *
6464
+ * @example
6465
+ * // Day | Week | Month, "Week" chosen: the indicator is placed on it.
6466
+ * // container: data-sliding-indicator="placed", --tls-sliding-indicator-x: 60px …
6467
+ * // "Month" is chosen:
6468
+ * // container: data-sliding-indicator="travelling", …-x: 115px // animated
6469
+ * // the container is then resized, moving "Month":
6470
+ * // container: data-sliding-indicator="placed", …-x: 140px // at once
6471
+ * // every option is deselected:
6472
+ * // container: attribute and properties removed // items mark themselves
6473
+ */
6474
+ declare function slidingIndicator(options: SlidingIndicatorOptions): void;
6475
+
6476
+ /**
6477
+ * Along which axes the mark of a chosen item travels to the item chosen next,
6478
+ * rather than leaving one and appearing on the other.
6479
+ *
6480
+ * Along a row the move is short and the eye follows it. Down a column it is a
6481
+ * bar the width of the list sweeping across every row between the two, more
6482
+ * motion than a change of selection calls for — and the lists a platform draws
6483
+ * mark a new row in place — so a column stays still unless asked otherwise.
6484
+ * Turning an axis on does not widen when the move plays: it is expressive
6485
+ * motion and is left out below the `full` motion level whatever is set here.
6486
+ */
6487
+ type SlidingIndicatorConfig = Record<orientation, boolean>;
6488
+ declare const DEFAULT_SLIDING_INDICATOR_CONFIG: SlidingIndicatorConfig;
6489
+
6490
+ /**
6491
+ * Marks a container whose indicator has been placed on the chosen item; the
6492
+ * theme's `sliding-indicator` mixin draws the indicator on it, and the item
6493
+ * gives up the mark it would otherwise draw itself.
6494
+ */
6495
+ declare const SLIDING_INDICATOR_ATTRIBUTE = "data-sliding-indicator";
6496
+ /** The indicator sits on its item, and follows it at once wherever the layout moves it. */
6497
+ declare const SLIDING_INDICATOR_PLACED = "placed";
6498
+ /** The indicator is on its way to an item newly chosen, which is the one move it animates. */
6499
+ declare const SLIDING_INDICATOR_TRAVELLING = "travelling";
6500
+ /** The chosen item's offset from the container's padding edge. */
6501
+ declare const SLIDING_INDICATOR_X_PROPERTY = "--tls-sliding-indicator-x";
6502
+ declare const SLIDING_INDICATOR_Y_PROPERTY = "--tls-sliding-indicator-y";
6503
+ /** The chosen item's size. */
6504
+ declare const SLIDING_INDICATOR_WIDTH_PROPERTY = "--tls-sliding-indicator-width";
6505
+ declare const SLIDING_INDICATOR_HEIGHT_PROPERTY = "--tls-sliding-indicator-height";
6506
+ /** Each side of the chosen item's box, with the property it is written to. */
6507
+ declare const SLIDING_INDICATOR_BOX_PROPERTIES: readonly [keyof SlidingIndicatorBox, string][];
6508
+
6509
+ declare const SLIDING_INDICATOR_CONFIG: InjectionToken<SlidingIndicatorConfig>;
6510
+
6105
6511
  /**
6106
6512
  * 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'`).
6513
+ * the body's natural height (`'content'`), a share of the viewport (`'50%'`),
6514
+ * or any CSS length (`'20rem'`). Every size but the header's is capped at the
6515
+ * tallest the sheet may grow, which keeps the theme's top clearance free.
6109
6516
  */
6110
6517
  type sheetDetentSize = 'header' | 'content' | `${number}%` | string;
6111
6518
  /** One resting height of a sheet. Listed smallest to largest by the author. */
@@ -6119,8 +6526,10 @@ interface SheetMeasures {
6119
6526
  header: number;
6120
6527
  /** Header plus the body's natural (unclipped) height. */
6121
6528
  content: number;
6122
- /** Height of the area the sheet may occupy. */
6529
+ /** Height of the viewport, the base a percentage resolves against. */
6123
6530
  viewport: number;
6531
+ /** The tallest the sheet may grow: the viewport less the top clearance. */
6532
+ maximum: number;
6124
6533
  /** Resolves a CSS length against the sheet's own font and viewport. */
6125
6534
  length: (css: string) => number;
6126
6535
  }
@@ -6231,6 +6640,12 @@ declare class Sheet implements OnDestroy {
6231
6640
  private readonly _targetIndex;
6232
6641
  /** The detent a drag began at, for the release decision. */
6233
6642
  private _dragStartIndex;
6643
+ /**
6644
+ * How far in px above that detent the panel was drawn when the drag began:
6645
+ * 0 from rest, the settle's remaining travel when caught mid-flight, so the
6646
+ * panel is picked up where it is seen rather than where it was heading.
6647
+ */
6648
+ private _dragStartLead;
6234
6649
  /**
6235
6650
  * A pan the body's own scrolling owns; its moves and end are not the sheet's.
6236
6651
  */
@@ -6279,8 +6694,7 @@ declare class Sheet implements OnDestroy {
6279
6694
  protected onPanStart(event: PanEvent): void;
6280
6695
  /**
6281
6696
  * 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.
6697
+ * to the DOM through the engine and writes no signal.
6284
6698
  */
6285
6699
  protected onPanMove(event: PanEvent): void;
6286
6700
  protected onPanEnd(event: PanEvent): void;
@@ -6325,13 +6739,35 @@ declare class Sheet implements OnDestroy {
6325
6739
  */
6326
6740
  private _claims;
6327
6741
  /**
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.
6742
+ * Height the finger asks for: the height the drag picked the panel up at,
6743
+ * grown by the upward travel since. Read against the live heights, so a
6744
+ * remeasure mid-drag applies at once.
6745
+ */
6746
+ private _dragHeight;
6747
+ /**
6748
+ * Height of the panel as drawn this frame. Mid-settle the running
6749
+ * transition, not the offset property, says where that is, so it is read
6750
+ * from layout: the panel hangs from the bottom of the root, which covers the
6751
+ * viewport.
6752
+ */
6753
+ private _drawnHeight;
6754
+ /**
6755
+ * The height a finger asks for that draws the panel at `drawn` — the inverse
6756
+ * of `_offsetFor`. Past either end of the travel the drawn height is already
6757
+ * rubber-banded, and taking it as asked would band it a second time.
6758
+ */
6759
+ private _askedHeightFor;
6760
+ /**
6761
+ * Offset for a height the finger asks for. Past either end of the travel
6762
+ * the panel follows a rubber band, so the end reads as a stretch rather than
6763
+ * a wall; above the largest detent it lifts off the bottom edge, which the
6764
+ * theme's skirt below the panel keeps covered.
6332
6765
  */
6333
6766
  private _offsetFor;
6334
- /** Ends a drag at `index`: the settle continues from the finger's offset. */
6767
+ /**
6768
+ * Ends a drag at `index`: the settle continues from the finger's offset at
6769
+ * the finger's `velocity`, in px/ms along the offset.
6770
+ */
6335
6771
  private _settleFromDrag;
6336
6772
  /**
6337
6773
  * A settle that finishes after destroy writes nothing to a destroyed model.
@@ -6373,6 +6809,12 @@ declare class Sheet implements OnDestroy {
6373
6809
  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
6810
  }
6375
6811
 
6812
+ /**
6813
+ * A placeholder drawn where content is still on its way. By default it is a
6814
+ * box of the given size; as `text` it is one line of the text it stands in
6815
+ * for; wrapped around content it is exactly the size of that content, which
6816
+ * keeps its place unseen until `loading` is turned off.
6817
+ */
6376
6818
  declare class Skeleton {
6377
6819
  private readonly _config;
6378
6820
  readonly size: InputSignal<number | string | null>;
@@ -6382,8 +6824,30 @@ declare class Skeleton {
6382
6824
  readonly duration: InputSignal<number>;
6383
6825
  readonly rounded: InputSignalWithTransform<boolean, unknown>;
6384
6826
  readonly animate: InputSignalWithTransform<boolean, unknown>;
6827
+ /**
6828
+ * Whether there is still something to wait for. Turned off, the skeleton
6829
+ * draws nothing and takes no part in layout, so content wrapped in it stands
6830
+ * exactly as it would alone: the wrapper can stay in the template and be
6831
+ * switched, rather than the content being written out a second time.
6832
+ */
6833
+ readonly loading: InputSignalWithTransform<boolean, unknown>;
6834
+ /**
6835
+ * Stands in for one line of text: the skeleton takes the line height of the
6836
+ * font it inherits and draws a bar the height of that font's glyphs, so the
6837
+ * text replacing it lands in the same line box. Placed inside the element
6838
+ * that will hold the text, or given that element's class, it follows the
6839
+ * typography with no size of its own to keep in step. `width` sets the
6840
+ * line's length, in any unit (`12ch`, `60%`); `height`, `size`, `radius` and
6841
+ * `rounded` do not apply, since the bar is proportioned from the font.
6842
+ */
6843
+ readonly text: InputSignalWithTransform<boolean, unknown>;
6385
6844
  protected readonly hostClasses: i0.Signal<string[]>;
6386
6845
  protected readonly hostStyles: i0.Signal<{
6846
+ '--tls-skeleton-width': string;
6847
+ '--tls-skeleton-duration': string;
6848
+ '--tls-skeleton-height'?: never;
6849
+ '--tls-skeleton-radius'?: never;
6850
+ } | {
6387
6851
  '--tls-skeleton-width': string;
6388
6852
  '--tls-skeleton-height': string;
6389
6853
  '--tls-skeleton-radius': string;
@@ -6392,7 +6856,7 @@ declare class Skeleton {
6392
6856
  private _resolveDimension;
6393
6857
  private _resolveRadius;
6394
6858
  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>;
6859
+ 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
6860
  }
6397
6861
 
6398
6862
  interface SkeletonConfig {
@@ -6724,7 +7188,7 @@ declare const SWIPE_ACTIONS_CONFIG: InjectionToken<SwipeActionsConfig>;
6724
7188
  * Visual treatment of the tab strip. `flat` and `outlined` mark the active tab
6725
7189
  * with an edge line; `segmented` sets inset pills in a padded track; `grouped`
6726
7190
  * 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.
7191
+ * hover and press reach the surface's edges, the outer rows taking its corners.
6728
7192
  */
6729
7193
  type tabsVariant = 'flat' | 'outlined' | 'segmented' | 'grouped';
6730
7194
  type tabsOrientation = orientation;
@@ -6777,6 +7241,10 @@ declare class Tabs {
6777
7241
  protected tabs: Signal<readonly Tab[]>;
6778
7242
  /** Each tab's header control, in the order of the projected tabs. */
6779
7243
  private readonly _tabControls;
7244
+ /** The strip the header items are laid out in. */
7245
+ private readonly _tabList;
7246
+ /** Each tab's header item, in the order of the projected tabs. */
7247
+ private readonly _tabItems;
6780
7248
  protected hostClasses: Signal<string[]>;
6781
7249
  /**
6782
7250
  * The header strip uses the shared tab-header block (also rendered by
@@ -6784,6 +7252,11 @@ declare class Tabs {
6784
7252
  * strip element itself rather than on the tabs container.
6785
7253
  */
6786
7254
  protected headerClasses: Signal<string[]>;
7255
+ /**
7256
+ * The header item a travelling mark sits on: the selected tab's, in a
7257
+ * treatment that marks the selection with a fill of its own shape.
7258
+ */
7259
+ private readonly _markedItem;
6787
7260
  constructor();
6788
7261
  /**
6789
7262
  * Resolves arbitrary text (e.g. a URL query param) to the value of the tab it
@@ -6815,6 +7288,14 @@ interface TabsConfig {
6815
7288
  }
6816
7289
  declare const DEFAULT_TABS_CONFIG: TabsConfig;
6817
7290
 
7291
+ /**
7292
+ * The treatments whose selection is marked by a fill with a shape of its own —
7293
+ * a pill on a track, a row of a list — which can travel from the tab it leaves
7294
+ * to the one selected next. The others mark a tab by its edges, which belong
7295
+ * to the tab and stay with it.
7296
+ */
7297
+ declare const SLIDING_TABS_VARIANTS: ReadonlySet<tabsVariant>;
7298
+
6818
7299
  declare const TABS_CONFIG: InjectionToken<TabsConfig>;
6819
7300
 
6820
7301
  interface TabsQuerySyncConfig {
@@ -6871,13 +7352,22 @@ declare class TabsQuerySyncDirective extends QuerySyncDirective {
6871
7352
  */
6872
7353
  declare class TabNavDirective {
6873
7354
  private readonly _config;
7355
+ private readonly _elementRef;
6874
7356
  readonly variant: InputSignal<tabsVariant>;
6875
7357
  readonly orientation: InputSignal<tabsOrientation>;
6876
7358
  readonly itemsAlign: InputSignal<tabsItemsAlign>;
6877
7359
  readonly divider: InputSignalWithTransform<boolean, unknown>;
7360
+ /** The strip's links, wherever in it they sit. */
7361
+ private readonly _links;
7362
+ /**
7363
+ * The link a travelling mark sits on: the active one, in a treatment that
7364
+ * marks it with a fill of its own shape.
7365
+ */
7366
+ private readonly _markedLink;
6878
7367
  protected hostClasses: Signal<string[]>;
7368
+ constructor();
6879
7369
  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>;
7370
+ 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
7371
  }
6882
7372
 
6883
7373
  interface TabNavConfig {
@@ -6900,14 +7390,17 @@ declare const TAB_NAV_CONFIG: InjectionToken<TabNavConfig>;
6900
7390
  * link is exposed to assistive technology via `aria-current="page"`.
6901
7391
  */
6902
7392
  declare class TabLinkDirective {
7393
+ /** The anchor itself, which the strip measures to place the mark of the active link. */
7394
+ readonly elementRef: ElementRef<HTMLAnchorElement>;
6903
7395
  private readonly _routerLinkActive;
6904
7396
  readonly active: InputSignalWithTransform<boolean, unknown>;
6905
7397
  readonly disabled: InputSignalWithTransform<boolean, unknown>;
6906
7398
  private readonly _routerLinkIsActive;
6907
- protected isActive: Signal<boolean>;
7399
+ /** Whether this is the link to where the user is — by its route, or because it was told so. */
7400
+ readonly isActive: Signal<boolean>;
6908
7401
  protected handleClick(event: MouseEvent): void;
6909
7402
  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: {}; }]>;
7403
+ 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
7404
  }
6912
7405
 
6913
7406
  type tableColumnAlignment = 'start' | 'center' | 'end';
@@ -7677,6 +8170,8 @@ interface tlsUiConfigProvider {
7677
8170
  locale?: Partial<LocaleConfig>;
7678
8171
  /** Cross-cutting press-ink policy applied wherever a ripple is applied (not tied to a single component). */
7679
8172
  ripple?: Partial<RippleConfig>;
8173
+ /** Cross-cutting choice of the axes along which a chosen item's mark travels to the next (not tied to a single component). */
8174
+ slidingIndicator?: Partial<SlidingIndicatorConfig>;
7680
8175
  /** Cross-cutting defaults inherited by every form control (not tied to a single component). */
7681
8176
  formControl?: Partial<FormControlConfig>;
7682
8177
  components?: {
@@ -7928,5 +8423,5 @@ declare abstract class QuerySyncDirective {
7928
8423
 
7929
8424
  declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
7930
8425
 
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 };
8426
+ 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, 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, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, canonicalHex, contrastForeground, formatHsl, formatRgb, hslToHsv, hsvToHsl, hsvToRgb, injectFormSkeleton, isTypeRejected, normalizeAccept, parseColor, provideFormItemConfig, provideThalassicIcons, provideThalassicUIConfig, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, slidingIndicator, toImagePreviewImage };
8427
+ export type { AccordionConfig, ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarPeekWeeks, 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, 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, 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, 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 };