@sinequa/galactik 2.0.0 → 2.1.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": "@sinequa/galactik",
3
- "version": "2.0.0",
3
+ "version": "2.1.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1216,6 +1216,23 @@ export declare class KeyIcon {
1216
1216
  */
1217
1217
  export declare const KeyIconComponent: typeof KeyIcon;
1218
1218
  export type KeyIconComponent = KeyIcon;
1219
+ export declare class KeyboardIcon {
1220
+ class: import("@angular/core").InputSignal<string | undefined>;
1221
+ classes: import("@angular/core").Signal<string>;
1222
+ static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardIcon, never>;
1223
+ static ɵcmp: i0.ɵɵComponentDeclaration<KeyboardIcon, "keyboard, keyboard-icon, Keyboard, KeyboardIcon", never, {
1224
+ "class": {
1225
+ "alias": "class";
1226
+ "required": false;
1227
+ "isSignal": true;
1228
+ };
1229
+ }, {}, never, never, true, never>;
1230
+ }
1231
+ /**
1232
+ * @deprecated Use KeyboardIcon instead.
1233
+ */
1234
+ export declare const KeyboardIconComponent: typeof KeyboardIcon;
1235
+ export type KeyboardIconComponent = KeyboardIcon;
1219
1236
  export declare class LanguageIcon {
1220
1237
  class: import("@angular/core").InputSignal<string | undefined>;
1221
1238
  classes: import("@angular/core").Signal<string>;
@@ -6222,6 +6239,11 @@ export declare class DialogComponent {
6222
6239
  */
6223
6240
  isPopover: import("@angular/core").WritableSignal<boolean>;
6224
6241
  isModal: import("@angular/core").WritableSignal<boolean>;
6242
+ private readonly injector;
6243
+ /** Element focused before the `[dialog]` path opened, given its focus back on close. */
6244
+ private opener;
6245
+ private releaseInert;
6246
+ constructor();
6225
6247
  /**
6226
6248
  * Opens the dialog by displaying the modal.
6227
6249
  *
@@ -6241,6 +6263,13 @@ export declare class DialogComponent {
6241
6263
  * This method assumes that `dialog` is a reference to a native dialog element and `isOpen` is a state management property.
6242
6264
  */
6243
6265
  showModal(): void;
6266
+ /**
6267
+ * `[dialog]` path only — a native `<dialog>` gets all of this from `showModal()`. Makes the page
6268
+ * behind inert (no Tab out of the modal, hidden from assistive technology), then moves the focus in.
6269
+ * Inert first: the opener loses the focus it held, so nothing is left focused behind the scrim.
6270
+ */
6271
+ private holdBackground;
6272
+ private releaseBackground;
6244
6273
  /**
6245
6274
  * Shows the dialog as a popover element.
6246
6275
  *