@thalassic/ui 22.19.0 → 22.19.1

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.19.0",
3
+ "version": "22.19.1",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/aria": "^22.0.0",
@@ -1731,7 +1731,15 @@ declare class FormItem {
1731
1731
 
1732
1732
  declare const FORM_ITEM_CONFIG: InjectionToken<FormItemConfig>;
1733
1733
 
1734
- type autocompleteFilterMode = 'contains' | 'startsWith';
1734
+ /**
1735
+ * How the typed query narrows the option list.
1736
+ *
1737
+ * - `contains` — keep options whose label contains the query.
1738
+ * - `startsWith` — keep options whose label begins with the query.
1739
+ * - `none` — keep every option. The list is filtered elsewhere (a server answering the
1740
+ * query), and a second local pass could only drop rows that search returned.
1741
+ */
1742
+ type autocompleteFilterMode = 'contains' | 'startsWith' | 'none';
1735
1743
 
1736
1744
  declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null> {
1737
1745
  private static _nextUniqueId;
@@ -1746,11 +1754,36 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
1746
1754
  readonly size: InputSignal<controlSize>;
1747
1755
  readonly fluid: InputSignalWithTransform<boolean, unknown>;
1748
1756
  readonly clearable: InputSignalWithTransform<boolean, unknown>;
1757
+ /**
1758
+ * How the typed query narrows the options. `none` hands that job over entirely — the list is
1759
+ * shown as given, which is what a list fetched per query needs.
1760
+ */
1749
1761
  readonly filterMode: InputSignal<autocompleteFilterMode>;
1762
+ /**
1763
+ * Whether a search is in flight. While raised the panel reports the loading state in place of
1764
+ * the empty message, so a list that has not arrived yet stops reading like one that came back
1765
+ * with nothing.
1766
+ */
1767
+ readonly loading: InputSignalWithTransform<boolean, unknown>;
1768
+ /**
1769
+ * Characters the query must reach before it is emitted and before the panel shows options or
1770
+ * the empty message, so an empty field never asks for the whole collection. `0` places no
1771
+ * floor on it.
1772
+ */
1773
+ readonly minQueryLength: InputSignalWithTransform<number, unknown>;
1750
1774
  readonly emptyMessage: InputSignal<string>;
1775
+ readonly loadingMessage: InputSignal<string>;
1751
1776
  readonly clearLabel: InputSignal<string>;
1752
1777
  readonly virtualScroll: InputSignalWithTransform<boolean, unknown>;
1753
1778
  readonly virtualScrollItemSize: InputSignalWithTransform<number, unknown>;
1779
+ /**
1780
+ * The field's text, emitted as it is typed — the hook for answering a query from a source the
1781
+ * control does not hold. Only typing emits: committing a selection, clearing, and closing the
1782
+ * panel all rewrite the text too, and none of them is a search anyone asked for. Nothing is
1783
+ * emitted while the text is shorter than {@link minQueryLength}. Any debouncing belongs to the
1784
+ * listener.
1785
+ */
1786
+ readonly queryChange: OutputEmitterRef<string>;
1754
1787
  protected readonly hasValue: Signal<boolean>;
1755
1788
  protected readonly selectedLabel: Signal<string>;
1756
1789
  /**
@@ -1759,17 +1792,28 @@ declare class Autocomplete<T, V = unknown> extends AbstractSelect<T, V, V | null
1759
1792
  * changes (a selection, a clear, or an external model update), so the field always reflects it.
1760
1793
  */
1761
1794
  protected readonly query: WritableSignal<string>;
1795
+ /** Whether the query has yet to reach the length below which the control stays silent. */
1796
+ protected readonly belowMinQueryLength: Signal<boolean>;
1797
+ /**
1798
+ * Whether the panel has anything to put in its box: options, the loading state, or the empty
1799
+ * message. A query under {@link minQueryLength} produces none of the three, and an empty box is
1800
+ * worse than no box at all.
1801
+ */
1802
+ protected readonly hasPanelContent: Signal<boolean>;
1803
+ /** Whether work is outstanding on the control: async validation, or a search in flight. */
1804
+ protected readonly busy: Signal<boolean>;
1762
1805
  protected select(option: Option<V>): void;
1763
1806
  protected isOptionSelected(option: Option<V>): boolean;
1764
1807
  protected onInput(event: Event): void;
1765
1808
  protected onKeydown(event: KeyboardEvent): void;
1766
1809
  protected filterVisibleOptions(options: Option<V>[]): Option<V>[];
1810
+ protected hostStateClasses(): string[];
1767
1811
  protected onClosed(): void;
1768
1812
  protected clear(): void;
1769
1813
  protected getInitialActiveIndex(): number;
1770
1814
  protected commitActiveOption(option: Option<V>): void;
1771
1815
  static ɵfac: i0.ɵɵFactoryDeclaration<Autocomplete<any, any>, never>;
1772
- static ɵcmp: i0.ɵɵComponentDeclaration<Autocomplete<any, any>, "tls-autocomplete", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
1816
+ static ɵcmp: i0.ɵɵComponentDeclaration<Autocomplete<any, any>, "tls-autocomplete", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "minQueryLength": { "alias": "minQueryLength"; "required": false; "isSignal": true; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; "isSignal": true; }; "loadingMessage": { "alias": "loadingMessage"; "required": false; "isSignal": true; }; "clearLabel": { "alias": "clearLabel"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "virtualScrollItemSize": { "alias": "virtualScrollItemSize"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "queryChange": "queryChange"; }, never, never, true, never>;
1773
1817
  }
1774
1818
 
1775
1819
  interface AutocompleteConfig {
@@ -1778,7 +1822,15 @@ interface AutocompleteConfig {
1778
1822
  fluid: boolean;
1779
1823
  clearable: boolean;
1780
1824
  filterMode: autocompleteFilterMode;
1825
+ /** Shown in the panel when the query matched nothing, overridable for localization. */
1781
1826
  emptyMessage: string;
1827
+ /** Shown in the panel while a search is in flight, overridable for localization. */
1828
+ loadingMessage: string;
1829
+ /**
1830
+ * Characters the query must reach before it is emitted and before the panel shows
1831
+ * anything. `0` places no floor on it.
1832
+ */
1833
+ minQueryLength: number;
1782
1834
  /** Accessible name for the clear button, overridable for localization. */
1783
1835
  clearLabel: string;
1784
1836
  /** Renders the panel through a virtual-scroll viewport, windowing the option list. */
@@ -4094,6 +4146,37 @@ declare const TOAST_CONFIG: InjectionToken<ToastConfig>;
4094
4146
  type tooltipOrigin = 'cursor' | 'element';
4095
4147
  type tooltipPosition = overlayPosition;
4096
4148
  type tooltipColor = color;
4149
+ /**
4150
+ * What is asking for a tooltip. Each source is an independent reason to show one, so a tooltip
4151
+ * asked for by two of them at once survives either one ending.
4152
+ */
4153
+ type tooltipSource = 'hover' | 'focus' | 'touch';
4154
+ /** A live reason to show a tooltip: which element, and what to put in it. */
4155
+ interface TooltipRequest {
4156
+ /** Element the tooltip is positioned against. */
4157
+ anchor: HTMLElement;
4158
+ /**
4159
+ * Element the tooltip describes through `aria-describedby`. It is the anchor itself unless the
4160
+ * anchor merely wraps the real control — a description is only announced on the element that
4161
+ * actually takes focus.
4162
+ */
4163
+ describedElement: HTMLElement;
4164
+ content: string | TemplateRef<unknown>;
4165
+ data: unknown;
4166
+ /**
4167
+ * Cursor position the tooltip anchors to instead of the element, when the origin is `cursor`.
4168
+ * `null` when the request came from something without a pointer, such as keyboard focus.
4169
+ */
4170
+ point: Point | null;
4171
+ }
4172
+ /**
4173
+ * A trigger as the shared tooltip overlay sees it. Holding the tooltip is exclusive: the owner is
4174
+ * told to let go before it is handed to anyone else, and its calls are ignored once it has.
4175
+ */
4176
+ interface TooltipOwner {
4177
+ /** Gives up the visible tooltip, leaving the anchor as if the tooltip had been hidden. */
4178
+ releaseTooltip(): void;
4179
+ }
4097
4180
 
4098
4181
  declare class Tooltip {
4099
4182
  private static _counter;
@@ -4114,25 +4197,44 @@ declare class Tooltip {
4114
4197
  static ɵcmp: i0.ɵɵComponentDeclaration<Tooltip, "tls-tooltip", never, { "content": { "alias": "content"; "required": true; "isSignal": true; }; "templateData": { "alias": "templateData"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": true; "isSignal": true; }; "arrow": { "alias": "arrow"; "required": true; "isSignal": true; }; "arrowPosition": { "alias": "arrowPosition"; "required": false; "isSignal": true; }; }, { "content": "contentChange"; "templateData": "templateDataChange"; "color": "colorChange"; "arrow": "arrowChange"; "arrowPosition": "arrowPositionChange"; }, never, never, true, never>;
4115
4198
  }
4116
4199
 
4200
+ /**
4201
+ * Owns the one tooltip overlay every trigger shares. A single tooltip is visible at a time
4202
+ * across the page: opening one asks whoever holds the current tooltip to let go first, so a
4203
+ * hovered element and a focused element elsewhere cannot leave two bubbles on screen.
4204
+ *
4205
+ * Every call names the trigger making it and is ignored unless that trigger holds the visible
4206
+ * tooltip, so one tearing itself down can never close a tooltip that has since moved on.
4207
+ */
4117
4208
  declare class TooltipService {
4118
- private _overlay;
4209
+ private readonly _overlay;
4210
+ private _owner;
4119
4211
  private _overlayRef;
4120
4212
  private _tooltipRef;
4213
+ private _positionStrategy;
4121
4214
  private _positionSubscription;
4122
4215
  /**
4123
4216
  * Edge the visible tooltip settled on. The strategy applies its position while the portal is
4124
4217
  * still attaching, so the first change arrives before there is a component to hand it to.
4125
4218
  */
4126
4219
  private _arrowPosition;
4127
- show(origin: FlexibleConnectedPositionStrategyOrigin, positions: ConnectedPosition[]): ComponentRef<Tooltip>;
4128
- move(origin: FlexibleConnectedPositionStrategyOrigin, positions: ConnectedPosition[]): void;
4129
- hide(): void;
4130
- dispose(): void;
4220
+ show(owner: TooltipOwner, origin: FlexibleConnectedPositionStrategyOrigin, positions: ConnectedPosition[]): ComponentRef<Tooltip>;
4221
+ /** Re-anchors the visible tooltip, following a cursor it is bound to. */
4222
+ move(owner: TooltipOwner, point: Point): void;
4223
+ /**
4224
+ * Detaches the tooltip so Angular's `animate.leave` plays the exit animation, then disposes the
4225
+ * pane once that animation finishes. The pane is kept alive in the meantime so it is not torn
4226
+ * down mid-animation.
4227
+ */
4228
+ hide(owner: TooltipOwner): void;
4229
+ dispose(owner: TooltipOwner): void;
4131
4230
  /**
4132
4231
  * Builds a strategy that reports where it settled, so the tooltip points its arrow at the
4133
4232
  * position actually used rather than the one asked for.
4134
4233
  */
4135
4234
  private _createPositionStrategy;
4235
+ /** Takes the tooltip back from its owner, so the next one starts from an empty stage. */
4236
+ private _releaseOwner;
4237
+ private _disposeOverlay;
4136
4238
  /** Drops everything tied to the overlay that just went away. */
4137
4239
  private _reset;
4138
4240
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipService, never>;
@@ -4143,13 +4245,17 @@ declare class TooltipService {
4143
4245
  * Shared machinery behind every tooltip trigger: the appearance inputs, the overlay lifecycle,
4144
4246
  * and the `aria-describedby` link. A subclass owns only *when* a tooltip opens and *which*
4145
4247
  * element it anchors to — `[tlsTooltip]` binds its own host, `[tlsTooltipDelegate]` resolves an
4146
- * item out of a delegated event — and calls `_show` / `_hide` accordingly.
4248
+ * item out of a delegated event — and records or drops show requests accordingly.
4147
4249
  *
4148
- * One tooltip is visible at a time per trigger; showing for a different anchor closes the
4149
- * previous one first, and showing for the anchor already open is a no-op so a hovered element
4150
- * receiving focus does not rebuild the overlay.
4250
+ * A tooltip can be asked for by a hover, by keyboard focus, and by a tap at the same time. Each
4251
+ * source is tracked on its own and the most recent one is the tooltip on screen, so an
4252
+ * interaction ending only takes back what it asked for: a pointer leaving an element that is
4253
+ * still focused does not dismiss the tooltip focus is entitled to (WCAG 1.4.13).
4254
+ *
4255
+ * The tooltip overlay itself is shared across the page, so opening one here closes any other
4256
+ * trigger's.
4151
4257
  */
4152
- declare abstract class TooltipTrigger implements OnDestroy {
4258
+ declare abstract class TooltipTrigger implements TooltipOwner, OnDestroy {
4153
4259
  protected readonly _tooltipService: TooltipService;
4154
4260
  protected readonly _renderer: Renderer2;
4155
4261
  protected readonly _config: _thalassic_ui.TooltipConfig;
@@ -4161,23 +4267,56 @@ declare abstract class TooltipTrigger implements OnDestroy {
4161
4267
  readonly tooltipColor: InputSignal<tooltipColor>;
4162
4268
  /** Points a small arrow at the anchor. Disable it for a plain bubble. */
4163
4269
  readonly tooltipArrow: InputSignal<boolean>;
4270
+ /**
4271
+ * Live show requests, keyed by the source that made them and held in the order they arrived.
4272
+ * The last one in is the one on screen; emptying the map hides the tooltip.
4273
+ */
4274
+ private readonly _requests;
4164
4275
  /** Element the visible tooltip is anchored to, `null` while nothing is shown. */
4165
4276
  private _anchor;
4277
+ private readonly _tooltipRef;
4166
4278
  /** Id of the description the visible tooltip added, so only that one is taken back. */
4167
4279
  private _describedById;
4280
+ /** Element that description was put on, which is not always the anchor. */
4281
+ private _describedElement;
4282
+ /** Teardown of the document listeners that only run while a tooltip is visible. */
4283
+ private _dismissListeners;
4168
4284
  protected readonly _positions: Signal<ConnectedPosition[]>;
4285
+ constructor();
4169
4286
  /** Anchor of the visible tooltip, for a subclass deciding whether an event concerns it. */
4170
4287
  protected get anchor(): HTMLElement | null;
4171
- /** Dismisses the tooltip without moving the pointer or focus (WCAG 1.4.13). */
4172
- protected onEscape(): void;
4288
+ /** Gives up the shared tooltip, along with every reason this trigger was showing one. */
4289
+ releaseTooltip(): void;
4290
+ /** Records `source` as wanting the tooltip described by `request`, and shows it. */
4291
+ protected _show(source: tooltipSource, request: TooltipRequest): void;
4292
+ /** Takes back what `source` asked for, leaving a tooltip any other source still wants. */
4293
+ protected _hide(source: tooltipSource): void;
4294
+ /** Drops every reason at once — a dismissal, rather than the end of one interaction. */
4295
+ protected _hideAll(): void;
4296
+ /** Whether a tap is what is currently holding the tooltip on `anchor`, which another tap ends. */
4297
+ protected _isTapped(anchor: HTMLElement): boolean;
4298
+ /** Re-states the content of every live request, so an input changing reaches a visible tooltip. */
4299
+ protected _updateContent(content: string | TemplateRef<unknown>, data: unknown): void;
4300
+ /** Brings the tooltip in line with the requests: the newest one, or none at all. */
4301
+ private _present;
4302
+ private _open;
4303
+ private _close;
4304
+ private _applyContent;
4173
4305
  /**
4174
- * Opens the tooltip for `anchor`. `point` anchors to the cursor instead, when the origin is
4175
- * configured that way and the caller has a pointer position to give.
4306
+ * Links the described element to the tooltip, following focus as it moves between controls the
4307
+ * anchor wraps. A description identical to the accessible name would be announced twice; the
4308
+ * tooltip is purely visual then and the link is omitted.
4176
4309
  */
4177
- protected _show(anchor: HTMLElement, content: string | TemplateRef<unknown>, data?: unknown, point?: Point): void;
4178
- protected _hide(): void;
4310
+ private _describe;
4179
4311
  /** Takes back only the description this trigger added, leaving the consumer's own intact. */
4180
4312
  private _undescribe;
4313
+ private _latestRequest;
4314
+ /**
4315
+ * Binds the dismissals that belong to a visible tooltip and nothing else, so a page full of
4316
+ * triggers carries no document listeners for the tooltips it is not showing.
4317
+ */
4318
+ private _listenWhileVisible;
4319
+ private _unlisten;
4181
4320
  ngOnDestroy(): void;
4182
4321
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipTrigger, never>;
4183
4322
  static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipTrigger, never, never, { "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; "isSignal": true; }; "tooltipOrigin": { "alias": "tooltipOrigin"; "required": false; "isSignal": true; }; "tooltipPositions": { "alias": "tooltipPositions"; "required": false; "isSignal": true; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; "isSignal": true; }; "tooltipOffset": { "alias": "tooltipOffset"; "required": false; "isSignal": true; }; "tooltipColor": { "alias": "tooltipColor"; "required": false; "isSignal": true; }; "tooltipArrow": { "alias": "tooltipArrow"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -4187,12 +4326,13 @@ declare abstract class TooltipTrigger implements OnDestroy {
4187
4326
  * Serves tooltips for a whole subtree from one instance. Any descendant carrying the content
4188
4327
  * attribute (`data-tooltip` by default) gets a tooltip, without each one needing its own
4189
4328
  * `[tlsTooltip]`. Events are delegated to this host, so a grid of hundreds of cells costs one
4190
- * directive, one overlay service and one set of listeners rather than one of each per cell.
4329
+ * directive and one set of listeners rather than one of each per cell.
4191
4330
  *
4192
4331
  * Interaction matches `[tlsTooltip]`: hover for mouse and pen, tap-to-toggle for touch, show
4193
4332
  * on keyboard focus, dismiss on Escape without moving the pointer or focus (WCAG 1.4.13), and
4194
- * `aria-describedby` linking the item to the visible tooltip — joining any description the item
4195
- * already carries, and omitted entirely when the item's `aria-label` already says the same thing.
4333
+ * `aria-describedby` linking the visible tooltip to the item — or, when focus is inside a
4334
+ * composite item, to the control holding it — joining any description that element already
4335
+ * carries, and omitted entirely when its `aria-label` already says the same thing.
4196
4336
  *
4197
4337
  * Trade-off: content is a plain string read from an attribute when the tooltip opens, so a
4198
4338
  * `TemplateRef` tooltip is not available here and an attribute change while the tooltip is
@@ -4223,28 +4363,33 @@ declare class TooltipDelegateDirective extends TooltipTrigger {
4223
4363
  declare const DEFAULT_TOOLTIP_CONTENT_ATTRIBUTE = "data-tooltip";
4224
4364
 
4225
4365
  /**
4226
- * Attaches a tooltip to the host element. Shows on hover and on keyboard focus,
4227
- * toggles on touch, and dismisses on Escape without moving the pointer or focus
4228
- * (WCAG 1.4.13). The tooltip is linked to the host via `aria-describedby` while
4229
- * visible, joining any description the host already carries rather than replacing
4230
- * it, and leaving that one behind when the tooltip hides.
4366
+ * Attaches a tooltip to the host element. Shows on hover and on focus landing anywhere inside
4367
+ * the host — a host that only wraps its real control is served as well as one that is the
4368
+ * control — toggles on touch, and dismisses on Escape without moving the pointer or focus
4369
+ * (WCAG 1.4.13). While visible the tooltip is linked with `aria-describedby` to the element it
4370
+ * describes: the host, or the control inside it that holds focus, since a description is only
4371
+ * announced on the element that has it. The link joins any description that element already
4372
+ * carries rather than replacing it, and leaves that one behind when the tooltip hides.
4231
4373
  *
4232
4374
  * Interaction is driven by pointer events, branching on `pointerType`: mouse
4233
4375
  * and pen get hover semantics, touch gets tap-to-toggle. A single stream avoids
4234
4376
  * the synthesized mouse events browsers replay after a tap.
4235
4377
  *
4378
+ * Content is live: a tooltip already on screen follows the input it was opened with.
4379
+ *
4236
4380
  * Serving many elements at once costs one instance each; `[tlsTooltipDelegate]`
4237
4381
  * serves a whole subtree from one instead.
4238
4382
  */
4239
4383
  declare class TooltipDirective extends TooltipTrigger {
4240
- private readonly _elementRef;
4384
+ private readonly _element;
4241
4385
  readonly content: InputSignal<string | TemplateRef<unknown>>;
4242
4386
  readonly data: InputSignal<unknown>;
4387
+ constructor();
4243
4388
  protected onPointerEnter(event: PointerEvent): void;
4244
4389
  protected onPointerMove(event: PointerEvent): void;
4245
4390
  protected onPointerLeave(event: PointerEvent): void;
4246
- protected onFocus(): void;
4247
- protected onBlur(): void;
4391
+ protected onFocusIn(event: FocusEvent): void;
4392
+ protected onFocusOut(event: FocusEvent): void;
4248
4393
  private _showHost;
4249
4394
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
4250
4395
  static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[tlsTooltip]", never, { "content": { "alias": "tlsTooltip"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -4539,6 +4684,12 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
4539
4684
  * opens it from the ones that follow while it stays open.
4540
4685
  */
4541
4686
  private _panelWasOpen;
4687
+ /**
4688
+ * Whether the virtualized viewport last rendered with nothing in it. Its height is sized to
4689
+ * the options, so an empty list collapses it to zero — and a measurement taken then would
4690
+ * describe a viewport that no longer exists once options arrive.
4691
+ */
4692
+ private _viewportWasCollapsed;
4542
4693
  /**
4543
4694
  * Keeps the active option visible inside the scrolling panel. Focus stays on the
4544
4695
  * trigger and only `aria-activedescendant` moves, so the browser never scrolls the
@@ -4611,6 +4762,11 @@ declare abstract class AbstractSelect<T, V, ValueType> extends ValueFormControl<
4611
4762
  protected abstract commitActiveOption(option: Option<V>): void;
4612
4763
  /** Reset the control to its empty value. */
4613
4764
  protected abstract clear(): void;
4765
+ /**
4766
+ * Host modifiers for states only one control has, listed alongside the shared ones. Read from
4767
+ * within the host-class computation, so signals a control reads here stay reactive.
4768
+ */
4769
+ protected hostStateClasses(): string[];
4614
4770
  /**
4615
4771
  * Narrows the option list shown in the panel. The listbox controls show every option; an editable
4616
4772
  * combobox overrides this to filter by the typed query.
@@ -4644,4 +4800,4 @@ declare abstract class QuerySyncDirective {
4644
4800
  declare const provideThalassicUIConfig: (config?: tlsUiConfigProvider) => EnvironmentProviders;
4645
4801
 
4646
4802
  export { ACTIVITY_HEATMAP_CONFIG, ALERT_CONFIG, AUTOCOMPLETE_CONFIG, ActivityHeatmap, Alert, AlertIcon, Autocomplete, BADGE_CONFIG, BREADCRUMBS_CONFIG, BUTTON_CONFIG, Badge, Breadcrumbs, Button, ButtonDirective, CALENDAR_CONFIG, CHECKBOX_CONFIG, CHIP_CONFIG, CHIP_CONTROL_CONFIG, CHIP_GROUP_CONFIG, CHIP_INPUT_CONFIG, CONFIRM_CONFIG, Calendar, CalendarAgendaView, CalendarEventItem, CalendarMonthView, CalendarTimeGrid, Checkbox, CheckboxFormControl, Chip, ChipControl, ChipGroup, ChipInput, Confirm, ConfirmPanel, ConfirmService, ContextMenuDirective, DATE_TIME_PICKER_CONFIG, DEFAULT_ACTIVITY_HEATMAP_CONFIG, DEFAULT_ALERT_CONFIG, DEFAULT_AUTOCOMPLETE_CONFIG, DEFAULT_BADGE_CONFIG, DEFAULT_BREADCRUMBS_CONFIG, DEFAULT_BUTTON_CONFIG, DEFAULT_CALENDAR_CONFIG, DEFAULT_CHECKBOX_CONFIG, DEFAULT_CHIP_CONFIG, DEFAULT_CHIP_CONTROL_CONFIG, DEFAULT_CHIP_GROUP_CONFIG, DEFAULT_CHIP_INPUT_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_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_SELECT_CONFIG, DEFAULT_SKELETON_CONFIG, DEFAULT_SLIDER_CONFIG, DEFAULT_SPLITTER_CONFIG, DEFAULT_STEPPER_CONFIG, DEFAULT_STEPPER_LABELS, DEFAULT_STEP_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, DateTimePicker, Dialog, DialogBody, DialogFooter, DialogHeader, DialogRef, DialogService, DialogTitleDirective, Divider, Drawer, DrawerRef, DrawerService, FILE_INPUT_CONFIG, FORM_CONTROL, FORM_CONTROL_CONFIG, FORM_CONTROL_GROUP_CONFIG, FORM_ITEM_CONFIG, FileDropTargetDirective, FileInput, FormControl, FormControlAddon, FormControlGroup, FormItem, HIGHLIGHT_CONFIG, Highlight, ICON_CONFIG, ICON_REGISTRY, IMAGE_COMPARE_CONFIG, INFINITE_SCROLL_CONFIG, INPUT_CONFIG, INPUT_NUMBER_CONFIG, Icon, IconRegistry, IconService, ImageCompare, 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, PROGRESS_CONFIG, Pagination, PaginationQuerySyncDirective, Password, PinInput, Popover, Progress, RADIO_BUTTON_CONFIG, RATING_CONFIG, RadioButton, Rating, SELECT_CONFIG, SKELETON_CONFIG, SLIDER_CONFIG, SPLITTER_CONFIG, STEPPER_CONFIG, SWITCH_CONFIG, Select, Skeleton, Slider, Splitter, SplitterPanel, Step, Stepper, Switch, TABLE_CONFIG, TABS_CONFIG, TABS_QUERY_SYNC_CONFIG, TAB_NAV_CONFIG, TEXTAREA_CONFIG, TOAST_CONFIG, TOGGLE_BUTTON_CONFIG, TOGGLE_GROUP_CONFIG, TOOLTIP_CONFIG, Tab, TabLinkDirective, TabNavDirective, Table, TableColumn, Tabs, TabsQuerySyncDirective, Textarea, Toast, ToastOutlet, ToastService, ToggleButton, ToggleGroup, TooltipDelegateDirective, TooltipDirective, TooltipTrigger, VIRTUAL_SCROLL_CONFIG, ValueFormControl, VirtualScroll, acceptsFile, aggregateActivityEntries, applyMask, buildActivityMonthSegments, buildActivityThresholds, isTypeRejected, normalizeAccept, provideThalassicIcons, provideThalassicUIConfig, resolveActivityLevel };
4647
- export type { ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, SelectConfig, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerDragState, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, 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 };
4803
+ export type { ActivityHeatmapConfig, ActivityHeatmapDay, ActivityHeatmapEntry, ActivityHeatmapLabels, ActivityHeatmapMonth, ActivityHeatmapRow, ActivityHeatmapTotal, AlertConfig, AutocompleteConfig, BadgeConfig, BreadcrumbItem, BreadcrumbItemContext, BreadcrumbsConfig, ButtonConfig, CalendarConfig, CalendarDayContext, CalendarEvent, CalendarEventContext, CalendarLabels, CalendarRange, CheckboxConfig, ChipConfig, ChipContext, ChipControlConfig, ChipGroupConfig, ChipInputConfig, ConfirmConfig, ConfirmOptions, DateTimePickerConfig, DialogConfig, DialogOpenConfig, DividerConfig, DrawerConfig, DrawerOpenConfig, FileInputConfig, FileInputDropZoneContext, FileInputFileContext, FormControlConfig, FormControlGroupConfig, FormItemConfig, FormItemLabelContext, HighlightConfig, HighlightSegment, IconConfig, ImageCompareConfig, InfiniteScrollConfig, InfiniteScrollLabels, InputConfig, InputNumberConfig, KbdConfig, LoaderConfig, MarkConfig, MaskResult, MenuActionItem, MenuConfig, MenuCustomItem, MenuDivider, MenuItemDefinition, MenuLabel, MenuRenderBlock, MenuRenderEntry, MenuRenderGroup, MenuRenderSingle, MultiSelectConfig, OdometerConfig, OdometerToken, OverlayArrowPosition, PaginationConfig, PaginationLabels, PaginationQuerySyncConfig, PasswordConfig, PinInputConfig, PopoverConfig, ProgressConfig, RadioButtonConfig, RatingConfig, RatingLabels, RatingStarContext, SelectConfig, SkeletonConfig, SliderConfig, SplitterConfig, StepConfig, StepperConfig, StepperLabels, StepperSelectEvent, SwitchConfig, TabNavConfig, TableColumnDefinition, TableConfig, TableData, TableTrackBy, TabsConfig, TabsQuerySyncConfig, TextareaConfig, ToastConfig, ToastOptions, ToastRef, ToastState, ToggleButtonConfig, ToggleGroupConfig, TooltipConfig, TooltipOwner, TooltipRequest, TrackBy, VirtualScrollConfig, VirtualScrollContext, acceptInput, alertColor, autocompleteFilterMode, badgeColor, badgePosition, badgeVariant, buttonColor, buttonType, buttonVariant, calendarCompact, calendarView, chipColor, chipSize, chipTemplateContext, chipVariant, color, confirmActionsAlign, confirmButton, confirmSize, controlSize, dateTimePickerMode, dialogFooterAlign, dialogSize, dividerContentPosition, dividerOrientation, dividerVariant, drawerDragState, drawerSide, drawerSize, errorTrigger, fileDragState, fileInputVariant, iconRegistry, iconRenderer, imageCompareOrientation, infiniteScrollState, labelPosition, loaderSize, menuItemRole, menuItemType, menuPosition, orientation, overlayArrowAlignment, overlayArrowSide, overlayPosition, paginationItem, pinInputType, progressActiveSegment, progressColor, radius, radiusValue, ratingColor, resolvedConfirmButton, 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 };