@openfin/core 43.100.106 → 43.100.109

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.
@@ -6282,7 +6282,28 @@ declare type Hotkey = {
6282
6282
  */
6283
6283
  keys: string;
6284
6284
  /**
6285
- * Prevent default key handling before emitting the event.
6285
+ * Controls the event phase at which the hotkey is triggered.
6286
+ *
6287
+ * - `'capture'`: The hotkey fires **before** the event is sent to the renderer/page.
6288
+ * This is the only phase where the `preventDefault` property is effective.
6289
+ *
6290
+ * - `'bubble'`: The hotkey fires **after** the page has processed the key event.
6291
+ * This behaves exactly like a standard JavaScript event listener attached to the window:
6292
+ * 1. If the page calls `event.preventDefault()` (on either **keydown** or **keyup**), this hotkey will **not** fire.
6293
+ * 2. If the hotkey is browser-reserved (e.g. `Ctrl+Tab` to switch tabs for which keyup/keydown do not fire in a web browser), that action takes precedence and this hotkey will **not** fire.
6294
+ *
6295
+ * @default 'capture'
6296
+ */
6297
+ phase?: 'capture' | 'bubble';
6298
+ /**
6299
+ * Determines if the event should continue to the renderer.
6300
+ *
6301
+ * - `true`: The event is consumed immediately. It will **never** reach the renderer/page.
6302
+ * - `false`: The event is sent to the renderer after this hotkey executes.
6303
+ *
6304
+ * @remarks
6305
+ * This property is **only valid** when `phase` is set to `'capture'`.
6306
+ * If `phase` is `'bubble'`, this property is ignored (as the renderer has already received and processed the event).
6286
6307
  *
6287
6308
  * @default false
6288
6309
  */
@@ -6282,7 +6282,28 @@ declare type Hotkey = {
6282
6282
  */
6283
6283
  keys: string;
6284
6284
  /**
6285
- * Prevent default key handling before emitting the event.
6285
+ * Controls the event phase at which the hotkey is triggered.
6286
+ *
6287
+ * - `'capture'`: The hotkey fires **before** the event is sent to the renderer/page.
6288
+ * This is the only phase where the `preventDefault` property is effective.
6289
+ *
6290
+ * - `'bubble'`: The hotkey fires **after** the page has processed the key event.
6291
+ * This behaves exactly like a standard JavaScript event listener attached to the window:
6292
+ * 1. If the page calls `event.preventDefault()` (on either **keydown** or **keyup**), this hotkey will **not** fire.
6293
+ * 2. If the hotkey is browser-reserved (e.g. `Ctrl+Tab` to switch tabs for which keyup/keydown do not fire in a web browser), that action takes precedence and this hotkey will **not** fire.
6294
+ *
6295
+ * @default 'capture'
6296
+ */
6297
+ phase?: 'capture' | 'bubble';
6298
+ /**
6299
+ * Determines if the event should continue to the renderer.
6300
+ *
6301
+ * - `true`: The event is consumed immediately. It will **never** reach the renderer/page.
6302
+ * - `false`: The event is sent to the renderer after this hotkey executes.
6303
+ *
6304
+ * @remarks
6305
+ * This property is **only valid** when `phase` is set to `'capture'`.
6306
+ * If `phase` is `'bubble'`, this property is ignored (as the renderer has already received and processed the event).
6286
6307
  *
6287
6308
  * @default false
6288
6309
  */
@@ -6282,7 +6282,28 @@ declare type Hotkey = {
6282
6282
  */
6283
6283
  keys: string;
6284
6284
  /**
6285
- * Prevent default key handling before emitting the event.
6285
+ * Controls the event phase at which the hotkey is triggered.
6286
+ *
6287
+ * - `'capture'`: The hotkey fires **before** the event is sent to the renderer/page.
6288
+ * This is the only phase where the `preventDefault` property is effective.
6289
+ *
6290
+ * - `'bubble'`: The hotkey fires **after** the page has processed the key event.
6291
+ * This behaves exactly like a standard JavaScript event listener attached to the window:
6292
+ * 1. If the page calls `event.preventDefault()` (on either **keydown** or **keyup**), this hotkey will **not** fire.
6293
+ * 2. If the hotkey is browser-reserved (e.g. `Ctrl+Tab` to switch tabs for which keyup/keydown do not fire in a web browser), that action takes precedence and this hotkey will **not** fire.
6294
+ *
6295
+ * @default 'capture'
6296
+ */
6297
+ phase?: 'capture' | 'bubble';
6298
+ /**
6299
+ * Determines if the event should continue to the renderer.
6300
+ *
6301
+ * - `true`: The event is consumed immediately. It will **never** reach the renderer/page.
6302
+ * - `false`: The event is sent to the renderer after this hotkey executes.
6303
+ *
6304
+ * @remarks
6305
+ * This property is **only valid** when `phase` is set to `'capture'`.
6306
+ * If `phase` is `'bubble'`, this property is ignored (as the renderer has already received and processed the event).
6286
6307
  *
6287
6308
  * @default false
6288
6309
  */
package/out/stub.d.ts CHANGED
@@ -6373,7 +6373,28 @@ declare type Hotkey = {
6373
6373
  */
6374
6374
  keys: string;
6375
6375
  /**
6376
- * Prevent default key handling before emitting the event.
6376
+ * Controls the event phase at which the hotkey is triggered.
6377
+ *
6378
+ * - `'capture'`: The hotkey fires **before** the event is sent to the renderer/page.
6379
+ * This is the only phase where the `preventDefault` property is effective.
6380
+ *
6381
+ * - `'bubble'`: The hotkey fires **after** the page has processed the key event.
6382
+ * This behaves exactly like a standard JavaScript event listener attached to the window:
6383
+ * 1. If the page calls `event.preventDefault()` (on either **keydown** or **keyup**), this hotkey will **not** fire.
6384
+ * 2. If the hotkey is browser-reserved (e.g. `Ctrl+Tab` to switch tabs for which keyup/keydown do not fire in a web browser), that action takes precedence and this hotkey will **not** fire.
6385
+ *
6386
+ * @default 'capture'
6387
+ */
6388
+ phase?: 'capture' | 'bubble';
6389
+ /**
6390
+ * Determines if the event should continue to the renderer.
6391
+ *
6392
+ * - `true`: The event is consumed immediately. It will **never** reach the renderer/page.
6393
+ * - `false`: The event is sent to the renderer after this hotkey executes.
6394
+ *
6395
+ * @remarks
6396
+ * This property is **only valid** when `phase` is set to `'capture'`.
6397
+ * If `phase` is `'bubble'`, this property is ignored (as the renderer has already received and processed the event).
6377
6398
  *
6378
6399
  * @default false
6379
6400
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "43.100.106",
3
+ "version": "43.100.109",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",