@flighthq/menu 0.5.1-next.903.f434bc2 → 0.5.1-next.905.5fbf787

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/README.md CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/menu`. The `@flighth
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/menu@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/menu)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/menu@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/menu)
17
+ - [License](https://github.com/flighthq/flight/blob/5fbf7874064c384307542d68b4dcb6a895ff0dcf/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/menu",
3
- "version": "0.5.1-next.903.f434bc2",
3
+ "version": "0.5.1-next.905.5fbf787",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,9 +38,9 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/entity": "0.5.1-next.903.f434bc2",
42
- "@flighthq/signals": "0.5.1-next.903.f434bc2",
43
- "@flighthq/types": "0.5.1-next.903.f434bc2"
41
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/signals": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "^5.3.0"
package/src/menu.test.ts CHANGED
@@ -28,6 +28,8 @@ import {
28
28
  disposeMenuSelect,
29
29
  enableMenuSignals,
30
30
  getMenuSignals,
31
+ initializeMenuHighlight,
32
+ initializeMenuSelect,
31
33
  setApplicationMenu,
32
34
  showContextMenu,
33
35
  validateMenuItemTemplate,
@@ -339,6 +341,18 @@ describe('getMenuSignals', () => {
339
341
  });
340
342
  });
341
343
 
344
+ describe('initializeMenuHighlight', () => {
345
+ it('is the construction initializer of createMenuHighlight', () => {
346
+ expect(typeof initializeMenuHighlight).toBe('function');
347
+ });
348
+ });
349
+
350
+ describe('initializeMenuSelect', () => {
351
+ it('is the construction initializer of createMenuSelect', () => {
352
+ expect(typeof initializeMenuSelect).toBe('function');
353
+ });
354
+ });
355
+
342
356
  describe('setApplicationMenu', () => {
343
357
  // ★ FALSIFIER 2 — assert the RETURN VALUE and the DELIVERED ITEMS, never mere operation presence.
344
358
  // A structural "does it have setApplicationMenu" probe passed on the old web stub, which answered
@@ -354,7 +368,6 @@ describe('setApplicationMenu', () => {
354
368
  expect(setApplicationMenu(applicationHost(false), [{ id: 'quit', label: 'Quit' }])).toBe(false);
355
369
  });
356
370
  });
357
-
358
371
  describe('showContextMenu', () => {
359
372
  // ★ FALSIFIER 1 — two hosts live at once, each serving its own popup. Under the ambient model there
360
373
  // was exactly one answer per process, so this assertion could not be written at all.