@sinequa/galactik 2.10.0 → 2.11.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": "@sinequa/galactik",
3
- "version": "2.10.0",
3
+ "version": "2.11.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -2714,8 +2714,13 @@ export declare class TooltipContentDirective {
2714
2714
  static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipContentDirective, "[tooltip-content], [tooltipContent]", never, {}, {}, never, never, true, never>;
2715
2715
  }
2716
2716
  /**
2717
- * A tooltip on any element: shown on hover and on keyboard focus, hidden on `Escape`, on blur, on scroll and as soon as
2718
- * the host is pressed. The pointer can move onto the tooltip without closing it.
2717
+ * A tooltip on any element: shown on hover and on keyboard focus, hidden on `Escape`, on blur, on scroll, on a click or a tap
2718
+ * anywhere outside it and as soon as the host is pressed. The pointer can move onto the tooltip without closing it.
2719
+ *
2720
+ * - **Touch.** A touch screen has no hover and no keyboard focus, and a tap does not open it (the pretend `mouseenter` that
2721
+ * follows a tap is ignored): open the tooltip yourself, with a button that calls `show()`
2722
+ * (`#tip="tooltip"`, then `(click)="tip.isOpen() ? tip.hide() : tip.show()"`). The tooltip then closes by itself at the next
2723
+ * tap elsewhere — that button toggles it, so its own tap never closes and reopens it.
2719
2724
  *
2720
2725
  * - **Accessibility.** The tooltip is a `role="tooltip"` element and the host gets `aria-describedby` pointing at it
2721
2726
  * **while it is open** (the id is added to an existing `aria-describedby`, and removed again). A tooltip *describes*:
@@ -2808,7 +2813,10 @@ export declare class TooltipDirective {
2808
2813
  protected onLeave(): void;
2809
2814
  protected onFocusIn(): void;
2810
2815
  protected onFocusOut(): void;
2811
- protected onPointerDown(): void;
2816
+ /** What the host last felt: `touch`, `pen` or `mouse`. Undefined until a pointer event came, as in a keyboard-only session. */
2817
+ protected pointerType: string | undefined;
2818
+ protected onPointerType(event: PointerEvent): void;
2819
+ protected onPointerDown(event: PointerEvent): void;
2812
2820
  protected onClick(): void;
2813
2821
  private scheduleShow;
2814
2822
  private scheduleHide;
@@ -3757,6 +3765,9 @@ export declare class AutocompleteComponent<TOption, TSelected = TOption> {
3757
3765
  readonly placeholder: import("@angular/core").InputSignal<string>;
3758
3766
  /** Accessible name of the field when there is no `fieldLabel` (a visible label names it already). Default: the placeholder. */
3759
3767
  readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
3768
+ /** Accessible names of the button that puts the on-screen keyboard away, and brings it back (landscape tablet only). Pass them translated. */
3769
+ readonly hideKeyboardLabel: import("@angular/core").InputSignal<string>;
3770
+ readonly keyboardLabel: import("@angular/core").InputSignal<string>;
3760
3771
  readonly noResultsText: import("@angular/core").InputSignal<string>;
3761
3772
  readonly searchingText: import("@angular/core").InputSignal<string>;
3762
3773
  readonly errorText: import("@angular/core").InputSignal<string>;
@@ -3812,6 +3823,11 @@ export declare class AutocompleteComponent<TOption, TSelected = TOption> {
3812
3823
  protected readonly inline: import("@angular/core").Signal<boolean>;
3813
3824
  /** The field box: an input group that grows with its chips (`inline`), or the bare wrapper of the select-trigger input. */
3814
3825
  protected readonly fieldClass: import("@angular/core").Signal<string>;
3826
+ /**
3827
+ * The keyboard button: after the text in the flow (`inline`), or overlaid left of the chevron — an `<input>` cannot contain it, and
3828
+ * in the flow it would sit outside the box, past the `w-full` of the field.
3829
+ */
3830
+ protected readonly keyboardClass: import("@angular/core").Signal<string>;
3815
3831
  /** The typed text: the input-group's control (`inline`), or the select-trigger-styled input. */
3816
3832
  protected readonly inputClass: import("@angular/core").Signal<"select-trigger w-full cursor-text! pe-(--spacing-2xl)! placeholder:text-(--font-primary-muted)" | "input-control min-w-24 flex-1">;
3817
3833
  /** The chevron / spinner: after the text in the flow (`inline`), or overlaid at the end of the trigger. */
@@ -3965,6 +3981,16 @@ export declare class AutocompleteComponent<TOption, TSelected = TOption> {
3965
3981
  "required": false;
3966
3982
  "isSignal": true;
3967
3983
  };
3984
+ "hideKeyboardLabel": {
3985
+ "alias": "hideKeyboardLabel";
3986
+ "required": false;
3987
+ "isSignal": true;
3988
+ };
3989
+ "keyboardLabel": {
3990
+ "alias": "keyboardLabel";
3991
+ "required": false;
3992
+ "isSignal": true;
3993
+ };
3968
3994
  "noResultsText": {
3969
3995
  "alias": "noResultsText";
3970
3996
  "required": false;
@@ -4615,6 +4641,8 @@ export declare class ListItemAvatarDirective {
4615
4641
  * même phrase, reliée par `aria-describedby`, porte l'annonce.
4616
4642
  */
4617
4643
  export declare class ListItemActionComponent {
4644
+ /** `false` while the page is driven with a finger: the visible "Press Del" line is then not rendered. */
4645
+ protected readonly keyboardAvailable: import("@angular/core").Signal<boolean>;
4618
4646
  /**
4619
4647
  * Libellé de l'action, rendu dans l'infobulle des voyants (directive `tooltip`) et non en `aria-label` :
4620
4648
  * l'icône est masquée aux technologies d'assistance, qui atteignent l'action par le raccourci `Suppr`
@@ -6183,6 +6211,49 @@ declare const inputCounterVariants: (props?: ({
6183
6211
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6184
6212
  type InputWrapVariants = VariantProps<typeof inputWrapVariants>;
6185
6213
  type InputCounterVariants = VariantProps<typeof inputCounterVariants>;
6214
+ /**
6215
+ * Lets the user put the on-screen keyboard of a tablet away to see the popup of a field.
6216
+ *
6217
+ * The keyboard opens as it always does. But in landscape the keyboard of an iPad takes half of the screen, and a field that opens a
6218
+ * popup (suggestions, options) is left with a sliver to show it in. While the page is driven with a finger and the screen is landscape
6219
+ * ({@link applicable}), the host offers a button that {@link toggle}s the keyboard: put away, the field keeps the focus and its popup
6220
+ * stays open (`inputmode="none"`); the same button brings the keyboard back. The field starts again with its keyboard each time it
6221
+ * takes the focus.
6222
+ *
6223
+ * Inert elsewhere (a mouse, a phone held upright, a laptop). A hardware keyboard types in the field all the same, `inputmode` being a
6224
+ * request for the on-screen one only.
6225
+ *
6226
+ * ⚠️ iOS only reads a new `inputmode` at a focus taken from inside the gesture: {@link hide} and {@link show} change it and move the
6227
+ * focus synchronously, never through a signal that would only reach the DOM at the next change detection. The button must not take the
6228
+ * focus from the field either, or the field blurs, and the keyboard with it, before the tap is read: bind `(mousedown)` on it with
6229
+ * `preventDefault()`.
6230
+ *
6231
+ * @example
6232
+ * ```html
6233
+ * <input virtualKeyboard #vk="virtualKeyboard" type="search" />
6234
+ * @if (vk.applicable()) {
6235
+ * <button type="button" (mousedown)="$event.preventDefault()" (click)="vk.toggle()">Keyboard</button>
6236
+ * }
6237
+ * ```
6238
+ */
6239
+ export declare class VirtualKeyboardDirective {
6240
+ private readonly input;
6241
+ private readonly breakpoints;
6242
+ /** The user put the keyboard away. Back to false when the field loses the focus. */
6243
+ protected readonly away: import("@angular/core").WritableSignal<boolean>;
6244
+ /** The device and its orientation call for the button: a finger, and a landscape screen. */
6245
+ readonly applicable: import("@angular/core").Signal<boolean>;
6246
+ /** The keyboard is put away right now: the button then brings it back. */
6247
+ readonly hidden: import("@angular/core").Signal<boolean>;
6248
+ /** Puts the keyboard away and keeps the focus. Call it from the tap itself (see the note above). */
6249
+ hide(): void;
6250
+ /** Brings the keyboard back. Call it from the tap itself (see the note above). */
6251
+ show(): void;
6252
+ toggle(): void;
6253
+ private refocus;
6254
+ static ɵfac: i0.ɵɵFactoryDeclaration<VirtualKeyboardDirective, never>;
6255
+ static ɵdir: i0.ɵɵDirectiveDeclaration<VirtualKeyboardDirective, "input[virtualKeyboard]", ["virtualKeyboard"], {}, {}, never, never, true, never>;
6256
+ }
6186
6257
  /**
6187
6258
  * Textarea wrapper — the vertical flex that holds the native control and an
6188
6259
  * optional counter. Like `InputComponent`, it drives the focus / disabled /
@@ -6365,6 +6436,9 @@ declare abstract class SearchInputBase implements FormValueControl<string> {
6365
6436
  * `"shift+/"` annonçait un raccourci inopérant en QWERTY US.
6366
6437
  */
6367
6438
  hotkey: import("@angular/core").InputSignal<string | undefined>;
6439
+ /** Accessible names of the button that puts the on-screen keyboard away, and brings it back (landscape tablet only). Pass them translated. */
6440
+ hideKeyboardLabel: import("@angular/core").InputSignal<string>;
6441
+ keyboardLabel: import("@angular/core").InputSignal<string>;
6368
6442
  /** Accessible name of the clear button. Nothing in the library translates: pass it translated. */
6369
6443
  clearLabel: import("@angular/core").InputSignal<string>;
6370
6444
  class: import("@angular/core").InputSignal<string | undefined>;
@@ -6432,6 +6506,16 @@ declare abstract class SearchInputBase implements FormValueControl<string> {
6432
6506
  "required": false;
6433
6507
  "isSignal": true;
6434
6508
  };
6509
+ "hideKeyboardLabel": {
6510
+ "alias": "hideKeyboardLabel";
6511
+ "required": false;
6512
+ "isSignal": true;
6513
+ };
6514
+ "keyboardLabel": {
6515
+ "alias": "keyboardLabel";
6516
+ "required": false;
6517
+ "isSignal": true;
6518
+ };
6435
6519
  "clearLabel": {
6436
6520
  "alias": "clearLabel";
6437
6521
  "required": false;
@@ -6558,6 +6642,9 @@ declare abstract class SearchBarBase implements FormValueControl<string> {
6558
6642
  * it is read: the `<input>`, this host being an unknown element with no role of its own.
6559
6643
  */
6560
6644
  ariaLabel: import("@angular/core").InputSignal<string | undefined>;
6645
+ /** Accessible names of the button that puts the on-screen keyboard away, and brings it back (landscape tablet only). Pass them translated. */
6646
+ hideKeyboardLabel: import("@angular/core").InputSignal<string>;
6647
+ keyboardLabel: import("@angular/core").InputSignal<string>;
6561
6648
  /** Accessible name of the clear button. Nothing in the library translates: pass it translated. */
6562
6649
  clearLabel: import("@angular/core").InputSignal<string>;
6563
6650
  /** Accessible name of the send button. Nothing in the library translates: pass it translated. */
@@ -6635,6 +6722,16 @@ declare abstract class SearchBarBase implements FormValueControl<string> {
6635
6722
  "required": false;
6636
6723
  "isSignal": true;
6637
6724
  };
6725
+ "hideKeyboardLabel": {
6726
+ "alias": "hideKeyboardLabel";
6727
+ "required": false;
6728
+ "isSignal": true;
6729
+ };
6730
+ "keyboardLabel": {
6731
+ "alias": "keyboardLabel";
6732
+ "required": false;
6733
+ "isSignal": true;
6734
+ };
6638
6735
  "clearLabel": {
6639
6736
  "alias": "clearLabel";
6640
6737
  "required": false;
@@ -8482,25 +8579,206 @@ export declare class SortableItemDirective<T = unknown> {
8482
8579
  };
8483
8580
  }, {}, never, never, true, never>;
8484
8581
  }
8582
+ /** Colour of the layer a swipe reveals. Tokens only — see CONTRIBUTING §5.4. */
8583
+ type SwipeActionTone = "error" | "success" | "warning" | "accent";
8584
+ /**
8585
+ * `<SwipeAction>` — the touch equivalent of a hover-only row action: drag a row sideways to reveal an
8586
+ * action, release past the threshold to trigger it (the iOS Mail gesture).
8587
+ *
8588
+ * - Drag to the **left** reveals the `end` action (`[swipeActionEnd]` slot, `(swipedEnd)`): the
8589
+ * destructive one, by convention.
8590
+ * - Drag to the **right** reveals the `start` action (`[swipeActionStart]` slot, `(swipedStart)`).
8591
+ * - A direction without its `*Enabled` input switched on does not move at all.
8592
+ *
8593
+ * Only a finger or a pen drives it (`pointerType !== "mouse"`): with a mouse the row keeps its regular
8594
+ * hover actions, and text selection by dragging is untouched. A vertical drag is left to the browser
8595
+ * (`touch-action: pan-y`), so the list still scrolls.
8596
+ *
8597
+ * **A swipe is a shortcut, never the only way**: the same action must stay reachable by a visible
8598
+ * button, because a hidden gesture is invisible to a screen reader and to a switch user.
8599
+ *
8600
+ * @example
8601
+ * ```html
8602
+ * <SwipeAction endEnabled startEnabled (swipedEnd)="remove(item)" (swipedStart)="favorite(item)">
8603
+ * <span swipeActionEnd><XMarkIcon /> Delete</span>
8604
+ * <span swipeActionStart><StarIcon /> Favorite</span>
8605
+ * <button (click)="open(item)">{{ item.title }}</button>
8606
+ * </SwipeAction>
8607
+ * ```
8608
+ */
8609
+ export declare class SwipeActionComponent {
8610
+ readonly class: import("@angular/core").InputSignal<string | undefined>;
8611
+ /** Classes of the layer that slides — the row's own layout (`flex …`), hover colours, background. */
8612
+ readonly contentClass: import("@angular/core").InputSignal<string | undefined>;
8613
+ /** Whether a drag to the right (reveals the `start` slot) is allowed. */
8614
+ readonly startEnabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8615
+ /** Whether a drag to the left (reveals the `end` slot) is allowed. */
8616
+ readonly endEnabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8617
+ readonly startTone: import("@angular/core").InputSignal<SwipeActionTone>;
8618
+ readonly endTone: import("@angular/core").InputSignal<SwipeActionTone>;
8619
+ readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
8620
+ /** Distance, in px, past which releasing triggers the action. */
8621
+ readonly threshold: import("@angular/core").InputSignalWithTransform<number, unknown>;
8622
+ /** Emitted when the row is released past the threshold after a drag to the right. */
8623
+ readonly swipedStart: import("@angular/core").OutputEmitterRef<void>;
8624
+ /** Emitted when the row is released past the threshold after a drag to the left. */
8625
+ readonly swipedEnd: import("@angular/core").OutputEmitterRef<void>;
8626
+ protected readonly enabled: import("@angular/core").Signal<boolean>;
8627
+ protected readonly contentClasses: import("@angular/core").Signal<string>;
8628
+ protected readonly hostClass: import("@angular/core").Signal<string>;
8629
+ protected readonly startClass: import("@angular/core").Signal<string>;
8630
+ protected readonly endClass: import("@angular/core").Signal<string>;
8631
+ protected readonly offset: import("@angular/core").WritableSignal<number>;
8632
+ protected readonly dragging: import("@angular/core").WritableSignal<boolean>;
8633
+ /** The revealed layers are exactly as wide as the space the drag has freed. */
8634
+ protected readonly startWidth: import("@angular/core").Signal<number>;
8635
+ protected readonly endWidth: import("@angular/core").Signal<number>;
8636
+ /** Past the threshold: a release now triggers the action. */
8637
+ protected readonly startArmed: import("@angular/core").Signal<boolean>;
8638
+ protected readonly endArmed: import("@angular/core").Signal<boolean>;
8639
+ private readonly host;
8640
+ private readonly destroyRef;
8641
+ private gesture;
8642
+ private swallowClick;
8643
+ constructor();
8644
+ protected onPointerDown(event: PointerEvent): void;
8645
+ protected onPointerMove(event: PointerEvent): void;
8646
+ protected onPointerUp(event: PointerEvent): void;
8647
+ protected onPointerCancel(): void;
8648
+ /** Only the enabled directions move, and never further than the row is wide. */
8649
+ private clamp;
8650
+ private swallowNextClick;
8651
+ private stopSwallowingClick;
8652
+ static ɵfac: i0.ɵɵFactoryDeclaration<SwipeActionComponent, never>;
8653
+ static ɵcmp: i0.ɵɵComponentDeclaration<SwipeActionComponent, "swipe-action, SwipeAction", never, {
8654
+ "class": {
8655
+ "alias": "class";
8656
+ "required": false;
8657
+ "isSignal": true;
8658
+ };
8659
+ "contentClass": {
8660
+ "alias": "contentClass";
8661
+ "required": false;
8662
+ "isSignal": true;
8663
+ };
8664
+ "startEnabled": {
8665
+ "alias": "startEnabled";
8666
+ "required": false;
8667
+ "isSignal": true;
8668
+ };
8669
+ "endEnabled": {
8670
+ "alias": "endEnabled";
8671
+ "required": false;
8672
+ "isSignal": true;
8673
+ };
8674
+ "startTone": {
8675
+ "alias": "startTone";
8676
+ "required": false;
8677
+ "isSignal": true;
8678
+ };
8679
+ "endTone": {
8680
+ "alias": "endTone";
8681
+ "required": false;
8682
+ "isSignal": true;
8683
+ };
8684
+ "disabled": {
8685
+ "alias": "disabled";
8686
+ "required": false;
8687
+ "isSignal": true;
8688
+ };
8689
+ "threshold": {
8690
+ "alias": "threshold";
8691
+ "required": false;
8692
+ "isSignal": true;
8693
+ };
8694
+ }, {
8695
+ "swipedStart": "swipedStart";
8696
+ "swipedEnd": "swipedEnd";
8697
+ }, never, ["[swipeActionStart]", "[swipeActionEnd]", "*"], true, never>;
8698
+ }
8485
8699
  /**
8486
- * Observes viewport breakpoints.
8700
+ * Observes viewport breakpoints and the input capabilities of the device.
8487
8701
  *
8488
- * Currently it only answers one question — is the viewport mobile-sized, i.e. narrower than the
8489
- * `md` breakpoint (768px). The `isMobile` signal is safe to read from the first change-detection
8490
- * pass onwards: the viewport is measured in the constructor, not after a render.
8702
+ * - `isMobile`: the viewport is narrower than the `md` breakpoint (768px).
8703
+ * - `isTouch`: the primary pointer is a finger (`(pointer: coarse)`), i.e. phones AND tablets, whatever
8704
+ * their width. Use it — not `isMobile` — whenever the question is "can the user hover?": hover-only
8705
+ * actions, 44px targets, keyboard hints.
8706
+ * - `isLandscape`: the viewport is wider than tall.
8707
+ *
8708
+ * The signals are safe to read from the first change-detection pass onwards: the viewport is measured
8709
+ * in the constructor, not after a render.
8491
8710
  *
8492
8711
  * @example
8493
8712
  * ```ts
8494
8713
  * private readonly breakpoints = inject(BreakpointObserverService);
8495
8714
  * protected readonly placement = computed(() => (this.breakpoints.isMobile() ? "bottom" : "left"));
8715
+ * protected readonly buttonSize = computed(() => (this.breakpoints.isTouch() ? "lg" : "sm"));
8496
8716
  * ```
8497
8717
  */
8498
8718
  export declare class BreakpointObserverService {
8499
- private readonly _isMobile;
8500
- readonly isMobile: import("@angular/core").Signal<boolean>;
8719
+ readonly isMobile: Signal<boolean>;
8720
+ readonly isTouch: Signal<boolean>;
8721
+ readonly isLandscape: Signal<boolean>;
8501
8722
  constructor();
8502
- private readonly handleChange;
8503
8723
  static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointObserverService, never>;
8504
8724
  static ɵprov: i0.ɵɵInjectableDeclaration<any>;
8505
8725
  }
8506
- export { type AutocompleteLoader, type AutocompleteOptionContext, type AutocompleteTagContext, type AvatarVariants, type BadgeVariants, type BulletVariants, type ButtonVariants, type CallOptions, type Callable, type CheckboxRootVariants, type DialogEvent, type DialogInterface, type DialogRef, type DialogResult, PopoverDirective as DropdownDirective, type FloatingPanelOptions, type InputCounterVariants, type InputWrapVariants, type KbdVariants, type LinkIconVariants, type LinkVariants, type ListItemVariants, type MenuPanelVariants, type ModalLabel, type ModalVariants, type RadioRootVariants, type ResizableDirection, type ResizableGroupVariants, type ResizableHandleAria, type ResizableHandleVariants, type ResizablePanelGroupLike, type SearchBarVariants, type SelectChevronVariants, type SelectOptionContext, type SelectOptionVariants, type SelectTriggerVariants, type SelectWrapVariants, type SheetVariants, type SidebarInsetVariants, type SidebarRef, type SidebarVariants, type SwitchRootVariants, type TagVariants, type TextareaWrapVariants, type ToggleGroupVariants, type ToggleVariants, type TooltipEvent, type TooltipOptions, type TooltipPanelState, type TooltipPosition, type TooltipVariants, type TreeItemVariants };
8726
+ /** How the user is driving the page right now: with a mouse, with a finger or a pen, or with the keyboard. */
8727
+ type InputModality = "pointer" | "touch" | "keyboard";
8728
+ /**
8729
+ * Tells whether the user is driving the page with a finger, a mouse or the keyboard, and hides the focus rings while it is a finger.
8730
+ *
8731
+ * A tap on a field gives it the focus, and `:focus-visible` then draws a ring that means nothing to someone who has no keyboard — it
8732
+ * only clutters the screen and, in a narrow popover, gets clipped. The ring is the keyboard user's position marker (WCAG 2.4.7),
8733
+ * so it comes back as soon as a navigation key is pressed — a tablet with a keyboard attached gets its rings at the first `Tab`.
8734
+ *
8735
+ * - Starts as `touch` when the primary pointer is a finger (`(pointer: coarse)`), `pointer` otherwise.
8736
+ * - A `pointerdown` of a finger or a pen sets `touch`, of a mouse sets `pointer`.
8737
+ * - A navigation key (`Tab`, arrows, `Home`, `End`, `PageUp`, `PageDown`, `Escape`) or a key pressed with `Ctrl`, `Cmd` or `Option` sets `keyboard`.
8738
+ * - It writes `data-input-modality` on `<html>` (a hook for your own CSS) and, while `touch`, sets `--stroke-focus: transparent` on it.
8739
+ *
8740
+ * Install it with {@link provideInputModality}: the listeners must exist before the first tap, not from the first injection.
8741
+ *
8742
+ * @example
8743
+ * ```ts
8744
+ * providers: [provideInputModality()]
8745
+ * ```
8746
+ */
8747
+ export declare class InputModalityService {
8748
+ private readonly current;
8749
+ /** The way the page is driven right now. */
8750
+ readonly modality: Signal<InputModality>;
8751
+ constructor();
8752
+ private set;
8753
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputModalityService, never>;
8754
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
8755
+ }
8756
+ /**
8757
+ * How the page is driven, as a signal — or nothing at all when the application did not call {@link provideInputModality}.
8758
+ *
8759
+ * A component reads it through {@link injectKeyboardAvailable} rather than by injecting {@link InputModalityService}: injecting the
8760
+ * service creates it, and with it the listeners and the hidden focus rings, which an application that did not ask for them must not
8761
+ * get from a list row.
8762
+ */
8763
+ export declare const INPUT_MODALITY: InjectionToken<Signal<InputModality>>;
8764
+ /**
8765
+ * Whether a keyboard is worth advertising: `false` while the page is driven with a finger (`touch`), `true` otherwise — and `true` when
8766
+ * the application has no {@link provideInputModality}, where nothing says a keyboard is absent. Use it for what only a keyboard can do:
8767
+ * the "↑ ↓ to navigate" line of a list, the "Press Del to delete" under a row. A screen reader needs none of these lines (it has its own
8768
+ * text, read through `aria-describedby`), so they can go.
8769
+ *
8770
+ * Must be called within an injection context.
8771
+ */
8772
+ export declare function injectKeyboardAvailable(): Signal<boolean>;
8773
+ /**
8774
+ * Starts the {@link InputModalityService}, which hides the focus rings of a touch screen until a navigation key is pressed.
8775
+ *
8776
+ * Eager, like the keyboard shortcuts: its listeners have to be there before the first tap.
8777
+ *
8778
+ * @example
8779
+ * ```ts
8780
+ * bootstrapApplication(App, { providers: [provideInputModality()] });
8781
+ * ```
8782
+ */
8783
+ export declare function provideInputModality(): EnvironmentProviders;
8784
+ export { type AutocompleteLoader, type AutocompleteOptionContext, type AutocompleteTagContext, type AvatarVariants, type BadgeVariants, type BulletVariants, type ButtonVariants, type CallOptions, type Callable, type CheckboxRootVariants, type DialogEvent, type DialogInterface, type DialogRef, type DialogResult, PopoverDirective as DropdownDirective, type FloatingPanelOptions, type InputCounterVariants, type InputModality, type InputWrapVariants, type KbdVariants, type LinkIconVariants, type LinkVariants, type ListItemVariants, type MenuPanelVariants, type ModalLabel, type ModalVariants, type RadioRootVariants, type ResizableDirection, type ResizableGroupVariants, type ResizableHandleAria, type ResizableHandleVariants, type ResizablePanelGroupLike, type SearchBarVariants, type SelectChevronVariants, type SelectOptionContext, type SelectOptionVariants, type SelectTriggerVariants, type SelectWrapVariants, type SheetVariants, type SidebarInsetVariants, type SidebarRef, type SidebarVariants, type SwipeActionTone, type SwitchRootVariants, type TagVariants, type TextareaWrapVariants, type ToggleGroupVariants, type ToggleVariants, type TooltipEvent, type TooltipOptions, type TooltipPanelState, type TooltipPosition, type TooltipVariants, type TreeItemVariants };