@thalassic/ui 22.24.0 → 22.25.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thalassic/ui",
3
- "version": "22.24.0",
3
+ "version": "22.25.0",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/aria": "^22.0.0",
@@ -18,10 +18,19 @@ import { CdkVirtualForOfContext, ExtendedScrollToOptions } from '@angular/cdk/sc
18
18
  interface AccessibilityConfig {
19
19
  /**
20
20
  * Expands interactive controls to the accessible minimum tap target (44px) on touch
21
- * devices, without changing their visual size or disturbing layout. Enabled by default;
22
- * disable for dense, desktop-only layouts where a pointer is guaranteed.
21
+ * devices, without changing their visual size or disturbing layout. Disabled by
22
+ * default: the overflowing hit areas of tightly packed controls overlap and take each
23
+ * other's edge taps, so enabling it presumes a layout spaced for them.
23
24
  */
24
25
  expandTouchTargets: boolean;
26
+ /**
27
+ * Renders controls one step taller on a device whose primary pointer is coarse
28
+ * (sm 36px, md 44px, lg 52px instead of 28 / 36 / 44), so a finger gets a visibly
29
+ * larger control rather than only a larger invisible hit area. Applies to every
30
+ * control on the shared height scale, so a field and a button of one size still
31
+ * line up. Disabled by default: it changes layout, which a consumer opts into.
32
+ */
33
+ enlargeTouchControls: boolean;
25
34
  }
26
35
 
27
36
  /**
@@ -896,13 +905,20 @@ declare class Badge {
896
905
  readonly hidden: InputSignalWithTransform<boolean, unknown>;
897
906
  readonly inset: InputSignalWithTransform<boolean, unknown>;
898
907
  readonly bordered: InputSignalWithTransform<boolean, unknown>;
908
+ /**
909
+ * Sets the indicator in the flow of the content instead of over a corner of
910
+ * it — a standalone count, such as one at the end of a list row or beside a
911
+ * label, where there is no element for it to decorate. `position` and
912
+ * `inset` have nothing to place it against then and are ignored.
913
+ */
914
+ readonly inline: InputSignalWithTransform<boolean, unknown>;
899
915
  readonly ariaLabel: InputSignal<string | undefined>;
900
916
  protected readonly visible: i0.Signal<boolean>;
901
917
  protected readonly displayValue: i0.Signal<string>;
902
918
  protected readonly decorative: i0.Signal<boolean>;
903
919
  protected readonly hostClasses: i0.Signal<string[]>;
904
920
  static ɵfac: i0.ɵɵFactoryDeclaration<Badge, never>;
905
- static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "tls-badge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
921
+ static ɵcmp: i0.ɵɵComponentDeclaration<Badge, "tls-badge", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "dot": { "alias": "dot"; "required": false; "isSignal": true; }; "showZero": { "alias": "showZero"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; "inset": { "alias": "inset"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
906
922
  }
907
923
 
908
924
  interface BadgeConfig {
@@ -1030,7 +1046,12 @@ declare abstract class ButtonBase {
1030
1046
  readonly color: InputSignal<buttonColor>;
1031
1047
  readonly variant: InputSignal<buttonVariant>;
1032
1048
  readonly size: InputSignal<controlSize>;
1033
- readonly rounded: InputSignalWithTransform<boolean, unknown>;
1049
+ /**
1050
+ * Rounds the button's ends fully: a pill for a labelled button, a circle for an icon-only
1051
+ * one. Left unset, an icon-only button takes the configured `iconRounded` and any other
1052
+ * keeps its corners; an explicit `[rounded]="false"` keeps them on an icon-only button too.
1053
+ */
1054
+ readonly rounded: InputSignalWithTransform<boolean | undefined, unknown>;
1034
1055
  /** Whether the button stretches to fill its container's width. */
1035
1056
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
1036
1057
  /**
@@ -1045,6 +1066,8 @@ declare abstract class ButtonBase {
1045
1066
  /** Whether the button refuses activation, for either reason. */
1046
1067
  readonly unavailable: i0.Signal<boolean>;
1047
1068
  protected ariaDisabled: i0.Signal<"true" | null>;
1069
+ /** The shape in force: the input where written, otherwise the configured default. */
1070
+ protected readonly isRounded: i0.Signal<boolean>;
1048
1071
  protected classes: i0.Signal<string[]>;
1049
1072
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBase, never>;
1050
1073
  static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonBase, never, never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inactive": { "alias": "inactive"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "fab": { "alias": "fab"; "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; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "stretch": { "alias": "stretch"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -1120,6 +1143,11 @@ interface ButtonConfig {
1120
1143
  size: controlSize;
1121
1144
  type: buttonType;
1122
1145
  fluid: boolean;
1146
+ /**
1147
+ * Draws an icon-only button as a circle wherever its own `rounded` input is left unset,
1148
+ * the shape platform icon buttons take. A labelled button keeps its corners either way.
1149
+ */
1150
+ iconRounded: boolean;
1123
1151
  }
1124
1152
  declare const DEFAULT_BUTTON_CONFIG: ButtonConfig;
1125
1153
 
@@ -1966,8 +1994,13 @@ type confirmButton = {
1966
1994
  fluid?: boolean;
1967
1995
  disabled?: boolean;
1968
1996
  };
1969
- /** A {@link confirmButton} with every appearance field resolved to a concrete value. */
1970
- type resolvedConfirmButton = Required<confirmButton>;
1997
+ /**
1998
+ * A {@link confirmButton} with every appearance field resolved to a concrete value, except
1999
+ * `rounded`: left unset, it lets the button apply its own shape default.
2000
+ */
2001
+ type resolvedConfirmButton = Required<Omit<confirmButton, 'rounded'>> & {
2002
+ rounded: boolean | undefined;
2003
+ };
1971
2004
  /**
1972
2005
  * Width step of a confirm dialog, mapped onto its max-width. `md` is the
1973
2006
  * default, so the scale opens in both directions rather than only upward. It
@@ -2051,8 +2084,8 @@ declare class ConfirmPanel {
2051
2084
  readonly id: string;
2052
2085
  readonly titleId: string;
2053
2086
  readonly messageId: string;
2054
- protected readonly resolvedConfirm: i0.Signal<Required<confirmButton>>;
2055
- protected readonly resolvedCancel: i0.Signal<Required<confirmButton>>;
2087
+ protected readonly resolvedConfirm: i0.Signal<resolvedConfirmButton>;
2088
+ protected readonly resolvedCancel: i0.Signal<resolvedConfirmButton>;
2056
2089
  protected readonly sizeClass: i0.Signal<string>;
2057
2090
  protected readonly actionsClasses: i0.Signal<string[]>;
2058
2091
  constructor();
@@ -2169,6 +2202,8 @@ declare const DEFAULT_DIALOG_CONFIG: DialogConfig;
2169
2202
  declare class Dialog extends CdkDialogContainer {
2170
2203
  private readonly _tlsConfig;
2171
2204
  private readonly _dialogRef;
2205
+ /** Named apart from the CDK container's own `_renderer`, which is private to it. */
2206
+ private readonly _renderer2;
2172
2207
  private readonly _state;
2173
2208
  private _closing;
2174
2209
  protected readonly hostClasses: i0.Signal<string[]>;
@@ -3832,8 +3867,26 @@ declare class InputDirective {
3832
3867
 
3833
3868
  declare const INPUT_CONFIG: InjectionToken<InputConfig>;
3834
3869
 
3870
+ /** The virtual keyboards a number field can ask for (the HTML `inputmode` values that type digits). */
3871
+ type numberInputMode = 'numeric' | 'decimal' | 'text';
3872
+
3873
+ /**
3874
+ * A field for a number, typed as text the field reads itself — the model React
3875
+ * Aria's and Base UI's number fields follow — rather than a native
3876
+ * `type="number"`, which reads the decimal separator by its own rules: WebKit
3877
+ * drops a typed comma, turning `62,5` into `625`, and Chromium rejects it,
3878
+ * while the decimal keypad of a device set to a comma region offers nothing
3879
+ * else. Here either separator reads as the decimal point, the value is shown
3880
+ * in the page's locale, and the virtual keyboard is the one the number needs.
3881
+ *
3882
+ * The step sets the precision: a whole step takes whole numbers, a fractional
3883
+ * one decimals. A minimum below zero, or none, admits a sign. ArrowUp and
3884
+ * ArrowDown move the value by a step, as a native number field's do; a typed
3885
+ * value is clamped into `[min, max]` once committed.
3886
+ */
3835
3887
  declare class InputNumber extends ValueFormControl<number | null> {
3836
- private _config;
3888
+ private readonly _config;
3889
+ private readonly _localeId;
3837
3890
  readonly supportsLabelFor = true;
3838
3891
  readonly value: ModelSignal<number | null>;
3839
3892
  readonly placeholder: InputSignal<string>;
@@ -3843,17 +3896,67 @@ declare class InputNumber extends ValueFormControl<number | null> {
3843
3896
  readonly min: InputSignal<number | undefined>;
3844
3897
  readonly max: InputSignal<number | undefined>;
3845
3898
  readonly step: InputSignalWithTransform<number, unknown>;
3846
- readonly hideArrows: InputSignalWithTransform<boolean, unknown>;
3899
+ /**
3900
+ * The virtual keyboard to ask for. Left unset, it follows what the field
3901
+ * accepts: `decimal` for a fractional step, `numeric` for a whole one, and
3902
+ * `text` for a minimum below zero, since iOS's number keypads have no minus
3903
+ * key. A field with no minimum gets a number keypad all the same: most never
3904
+ * take a negative, and a form library that owns the bounds may not hand them
3905
+ * to the control — a field that does take negatives says so with its minimum.
3906
+ */
3907
+ readonly inputMode: InputSignal<numberInputMode | undefined>;
3908
+ /**
3909
+ * The field's text. Follows the value whenever the value changes to one the
3910
+ * text does not already say, so a number still being typed — `62,` on its
3911
+ * way to `62,5` — is kept as typed instead of being rewritten as `62`.
3912
+ */
3913
+ protected readonly text: WritableSignal<string>;
3847
3914
  protected readonly classes: Signal<string[]>;
3915
+ protected readonly effectiveInputMode: Signal<numberInputMode>;
3916
+ /** What may be typed, from the bounds and the step. */
3917
+ private readonly _rules;
3918
+ /**
3919
+ * Writes a value in the page's locale, in the form the field reads back:
3920
+ * ungrouped, so a comma can only be the decimal point, and in Latin digits,
3921
+ * which are the only ones typing accepts — a locale that writes its own
3922
+ * (`ar-EG`, `fa`, `bn`) would otherwise show a figure no edit could follow.
3923
+ */
3924
+ private readonly _formatter;
3925
+ /**
3926
+ * Refuses an insertion that would leave the text no number could become, so
3927
+ * a stray letter or a second separator never appears at all. A deletion
3928
+ * always leaves a part of a valid number, which is still valid.
3929
+ */
3930
+ protected onBeforeInput(event: InputEvent): void;
3931
+ /**
3932
+ * Takes the text as the new value. Text that reached the field past
3933
+ * `beforeinput` — an IME composition, which cannot be refused before it
3934
+ * lands — and is no number is put back to what the field held.
3935
+ */
3848
3936
  protected onInput(event: Event): void;
3849
3937
  /**
3850
3938
  * Clamps a typed value into `[min, max]` once editing is committed (`change`
3851
- * fires on blur/Enter). The spinner arrows already honor the bounds natively;
3852
- * clamping only here keeps mid-typing values ("1" on the way to "10") intact.
3939
+ * fires on blur/Enter) and rewrites the text in the field's own form, so
3940
+ * `62,` reads `62`. Clamping only here keeps mid-typing values ("1" on the
3941
+ * way to "10") intact.
3942
+ */
3943
+ protected onChange(): void;
3944
+ /** ArrowUp and ArrowDown step the value, as they do in a native number field. */
3945
+ protected onKeydown(event: KeyboardEvent): void;
3946
+ /**
3947
+ * Moves the value by one step in `direction`, rounded to the precision of the
3948
+ * step and the value so repeated steps never collect float error
3949
+ * (`0.1 + 0.2`). An empty field starts from the minimum, or zero.
3853
3950
  */
3854
- protected onChange(event: Event): void;
3951
+ private _stepBy;
3952
+ /** Sets a value the field produced itself, and shows it in the field's own form. */
3953
+ private _commit;
3954
+ /** Keeps `value` within `[min, max]`, where either is set. */
3955
+ private _clamp;
3956
+ /** The text the field shows for `value`: empty for none. */
3957
+ private _format;
3855
3958
  static ɵfac: i0.ɵɵFactoryDeclaration<InputNumber, never>;
3856
- static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "tls-input-number", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "hideArrows": { "alias": "hideArrows"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
3959
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputNumber, "tls-input-number", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "inputMode": { "alias": "inputMode"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
3857
3960
  }
3858
3961
 
3859
3962
  interface InputNumberConfig {
@@ -3862,7 +3965,6 @@ interface InputNumberConfig {
3862
3965
  placeholder: string;
3863
3966
  fluid: boolean;
3864
3967
  step: number;
3865
- hideArrows: boolean;
3866
3968
  }
3867
3969
  declare const DEFAULT_INPUT_NUMBER_CONFIG: InputNumberConfig;
3868
3970
 
@@ -4950,6 +5052,10 @@ interface InfiniteScrollLabels {
4950
5052
  complete: string;
4951
5053
  /** Label of the button that loads the next page. */
4952
5054
  loadMore: string;
5055
+ /** Rendered and announced when a page fails to arrive. */
5056
+ failed: string;
5057
+ /** Label of the button that asks again for a page that failed to arrive. */
5058
+ retry: string;
4953
5059
  }
4954
5060
  interface InfiniteScrollConfig {
4955
5061
  /**
@@ -4976,12 +5082,14 @@ declare const DEFAULT_INFINITE_SCROLL_CONFIG: InfiniteScrollConfig;
4976
5082
  * - `loading` — a page is in flight and the watch is suspended;
4977
5083
  * - `manual` — the automatic allowance is spent (or never granted), so the next page waits
4978
5084
  * on the button;
5085
+ * - `failed` — the last page asked for failed to arrive, so the failure notice and a button
5086
+ * to try again are rendered and nothing is watched;
4979
5087
  * - `complete` — the collection is exhausted after paging, so the end notice is rendered;
4980
5088
  * - `settled` — the collection was exhausted before a page was ever requested; an end the
4981
5089
  * reader never had to find gets no notice, so nothing is rendered;
4982
5090
  * - `disabled` — suspended altogether: nothing watched, nothing rendered, the allowance kept.
4983
5091
  */
4984
- type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'complete' | 'settled' | 'disabled';
5092
+ type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'failed' | 'complete' | 'settled' | 'disabled';
4985
5093
 
4986
5094
  /**
4987
5095
  * End-of-collection trigger that asks for the next page as the reader approaches it. The
@@ -5011,10 +5119,12 @@ type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'complete' | 'settled
5011
5119
  *
5012
5120
  * Content that grows without end leaves anything below it unreachable, so the automatic
5013
5121
  * loads are rationed: after `autoLoadLimit` of them in a row the component stops watching
5014
- * and renders a button, and the allowance is renewed each time that button is used. The
5015
- * three states each accept replacement content —
5016
- * `[tlsInfiniteScrollLoading]`, `[tlsInfiniteScrollComplete]`, `[tlsInfiniteScrollTrigger]`
5017
- * — projected in place of the loader, the end notice and the button:
5122
+ * and renders a button, and the allowance is renewed each time that button is used. A page
5123
+ * that fails to arrive is reported through `failed`, which renders a notice and a button to
5124
+ * try again in place of loading on approach. The four states each accept replacement
5125
+ * content — `[tlsInfiniteScrollLoading]`, `[tlsInfiniteScrollComplete]`,
5126
+ * `[tlsInfiniteScrollTrigger]`, `[tlsInfiniteScrollFailed]` — projected in place of the
5127
+ * loader, the end notice, the button and the failure notice with its button:
5018
5128
  *
5019
5129
  * ```html
5020
5130
  * <tls-infinite-scroll [loading]="loading()" (loadMore)="loadNextPage()">
@@ -5028,8 +5138,9 @@ type infiniteScrollState = 'idle' | 'loading' | 'manual' | 'complete' | 'settled
5028
5138
  * Left unset inside a panel, the next page is therefore requested only as the sentinel
5029
5139
  * reaches the panel's edge; pass that panel as `root` to get the margin back.
5030
5140
  *
5031
- * The end notice is announced from `labels.complete`, whatever stands in the slot, so
5032
- * replacement content belongs with a label that says the same thing.
5141
+ * The end and failure notices are announced from `labels.complete` and `labels.failed`,
5142
+ * whatever stands in their slots, so replacement content belongs with a label that says the
5143
+ * same thing.
5033
5144
  */
5034
5145
  declare class InfiniteScroll {
5035
5146
  private readonly _config;
@@ -5049,6 +5160,13 @@ declare class InfiniteScroll {
5049
5160
  * everything ends silently.
5050
5161
  */
5051
5162
  readonly complete: InputSignalWithTransform<boolean, unknown>;
5163
+ /**
5164
+ * Whether the last page asked for failed to arrive. Stops loading on approach — retrying a
5165
+ * failure every time the sentinel comes into view would hammer whatever is failing — and
5166
+ * renders the failure notice with a button that asks for the page again. Lowering it, as
5167
+ * the next attempt starts, resumes the cycle.
5168
+ */
5169
+ readonly failed: InputSignalWithTransform<boolean, unknown>;
5052
5170
  /**
5053
5171
  * Suspends the whole trigger without ending it: nothing is watched, nothing is rendered,
5054
5172
  * and the automatic allowance is kept for when it is lifted.
@@ -5115,8 +5233,9 @@ declare class InfiniteScroll {
5115
5233
  private readonly _resolvedRootMargin;
5116
5234
  constructor();
5117
5235
  /**
5118
- * Requests the next page as the button does, renewing the automatic allowance. Ignored
5119
- * while a page is in flight, once the collection is exhausted and while suspended.
5236
+ * Requests the next page as the button does, renewing the automatic allowance — after a
5237
+ * failure, the page that failed. Ignored while a page is in flight, once the collection is
5238
+ * exhausted and while suspended.
5120
5239
  */
5121
5240
  load(): void;
5122
5241
  /**
@@ -5131,7 +5250,7 @@ declare class InfiniteScroll {
5131
5250
  private _loadAutomatically;
5132
5251
  private _emit;
5133
5252
  static ɵfac: i0.ɵɵFactoryDeclaration<InfiniteScroll, never>;
5134
- static ɵcmp: i0.ɵɵComponentDeclaration<InfiniteScroll, "tls-infinite-scroll", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "complete": { "alias": "complete"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "manual": { "alias": "manual"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; "autoLoadLimit": { "alias": "autoLoadLimit"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, { "loadMore": "loadMore"; }, never, ["[tlsInfiniteScrollLoading]", "[tlsInfiniteScrollComplete]", "[tlsInfiniteScrollTrigger]"], true, never>;
5253
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfiniteScroll, "tls-infinite-scroll", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "complete": { "alias": "complete"; "required": false; "isSignal": true; }; "failed": { "alias": "failed"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "manual": { "alias": "manual"; "required": false; "isSignal": true; }; "rootMargin": { "alias": "rootMargin"; "required": false; "isSignal": true; }; "autoLoadLimit": { "alias": "autoLoadLimit"; "required": false; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, { "loadMore": "loadMore"; }, never, ["[tlsInfiniteScrollLoading]", "[tlsInfiniteScrollComplete]", "[tlsInfiniteScrollFailed]", "[tlsInfiniteScrollTrigger]"], true, never>;
5135
5254
  }
5136
5255
 
5137
5256
  declare const INFINITE_SCROLL_CONFIG: InjectionToken<InfiniteScrollConfig>;
@@ -6458,6 +6577,7 @@ declare const STEPPER_CONFIG: InjectionToken<StepperConfig>;
6458
6577
  declare class SwipeActions {
6459
6578
  private readonly _config;
6460
6579
  private readonly _directionality;
6580
+ private readonly _hapticFeedback;
6461
6581
  private readonly contentElement;
6462
6582
  private readonly startPanel;
6463
6583
  private readonly endPanel;
@@ -6521,8 +6641,10 @@ declare class SwipeActions {
6521
6641
  private _applyOffset;
6522
6642
  /**
6523
6643
  * Tracks whether releasing at this reveal would commit, mirroring the answer
6524
- * onto the panels as a class and onto `armedChanged`. Both writes bypass
6525
- * bindings: this runs on the move stream, outside the Angular zone.
6644
+ * onto the panels as a class and onto `armedChanged`, and marking the moment
6645
+ * it arms with a light haptic tap, as a native list's full swipe does. The
6646
+ * writes bypass bindings: this runs on the move stream, outside the Angular
6647
+ * zone.
6526
6648
  */
6527
6649
  private _updateArmed;
6528
6650
  static ɵfac: i0.ɵɵFactoryDeclaration<SwipeActions, never>;
@@ -6553,7 +6675,13 @@ declare const DEFAULT_SWIPE_ACTIONS_CONFIG: SwipeActionsConfig;
6553
6675
 
6554
6676
  declare const SWIPE_ACTIONS_CONFIG: InjectionToken<SwipeActionsConfig>;
6555
6677
 
6556
- type tabsVariant = 'flat' | 'outlined' | 'segmented';
6678
+ /**
6679
+ * Visual treatment of the tab strip. `flat` and `outlined` mark the active tab
6680
+ * with an edge line; `segmented` sets inset pills in a padded track; `grouped`
6681
+ * is an inset-grouped list — one rounded surface of full-bleed rows whose fill,
6682
+ * hover and ink reach the surface's edges, the outer rows taking its corners.
6683
+ */
6684
+ type tabsVariant = 'flat' | 'outlined' | 'segmented' | 'grouped';
6557
6685
  type tabsOrientation = orientation;
6558
6686
  type tabsHeaderPosition = 'start' | 'end';
6559
6687
  /**
@@ -7138,6 +7266,7 @@ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
7138
7266
  protected readonly _tooltipService: TooltipService;
7139
7267
  protected readonly _renderer: Renderer2;
7140
7268
  protected readonly _config: _thalassic_ui.TooltipConfig;
7269
+ private readonly _inputModalityDetector;
7141
7270
  readonly tooltipDisabled: InputSignal<boolean>;
7142
7271
  readonly tooltipOrigin: InputSignal<tooltipOrigin>;
7143
7272
  readonly tooltipPositions: InputSignal<ConnectedPosition[] | undefined>;
@@ -7181,6 +7310,15 @@ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
7181
7310
  protected _notePointer(): void;
7182
7311
  /** Whether a focus arriving now was handed over by a pointer rather than a keyboard. */
7183
7312
  protected _followsPointer(): boolean;
7313
+ /**
7314
+ * Whether a focus arriving now came from the keyboard — the one reader the
7315
+ * focus trigger serves. Focus handed over by a press on the control is not it:
7316
+ * a tap's tooltip was already told not to claim the activation, and a click's
7317
+ * would outlive the hover that click just retired. Neither is focus a script
7318
+ * moves while a pointer is in use, such as a closing dialog returning it to its
7319
+ * opener after a tap on the backdrop: the latest input says which it was.
7320
+ */
7321
+ protected _isKeyboardFocus(): boolean;
7184
7322
  /** Whether the element is, or wraps, a control a tap activates. */
7185
7323
  protected _isInteractive(element: HTMLElement): boolean;
7186
7324
  /** Whether a tap is what is currently holding the tooltip on `anchor`, which another tap ends. */
@@ -7746,4 +7884,4 @@ declare abstract class QuerySyncDirective {
7746
7884
  declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
7747
7885
 
7748
7886
  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, provideThalassicIcons, provideThalassicUIConfig, relativeLuminance, resolveActivityLevel, rgbToHsv, rgbaToHex, toImagePreviewImage };
7749
- 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, 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 };
7887
+ 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 };