@flighthq/tray 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 +2 -2
- package/package.json +5 -5
- package/src/tray.test.ts +22 -2
package/README.md
CHANGED
|
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/tray`. 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/tray@0.5.1-next.
|
|
17
|
-
- [License](https://github.com/flighthq/flight/blob/
|
|
16
|
+
- [Source for @flighthq/tray@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/tray)
|
|
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/tray",
|
|
3
|
-
"version": "0.5.1-next.
|
|
3
|
+
"version": "0.5.1-next.905.5fbf787",
|
|
4
4
|
"author": "Joshua Granick and other contributors",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"clean:dist": "tsx ../../scripts/clean-package-dist.ts"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@flighthq/entity": "0.5.1-next.
|
|
42
|
-
"@flighthq/log": "0.5.1-next.
|
|
43
|
-
"@flighthq/signals": "0.5.1-next.
|
|
44
|
-
"@flighthq/types": "0.5.1-next.
|
|
41
|
+
"@flighthq/entity": "0.5.1-next.905.5fbf787",
|
|
42
|
+
"@flighthq/log": "0.5.1-next.905.5fbf787",
|
|
43
|
+
"@flighthq/signals": "0.5.1-next.905.5fbf787",
|
|
44
|
+
"@flighthq/types": "0.5.1-next.905.5fbf787"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"typescript": "^5.3.0"
|
package/src/tray.test.ts
CHANGED
|
@@ -35,6 +35,9 @@ import {
|
|
|
35
35
|
getTrayIconTitle,
|
|
36
36
|
getTrayIconTooltip,
|
|
37
37
|
getTrayIcons,
|
|
38
|
+
initializeTrayCreateFailedResult,
|
|
39
|
+
initializeTrayCreateProviderFailureResult,
|
|
40
|
+
initializeTrayCreateSuccessResult,
|
|
38
41
|
isTrayDestroyed,
|
|
39
42
|
isTrayIconAnimating,
|
|
40
43
|
onTrayBalloonEvent,
|
|
@@ -43,6 +46,7 @@ import {
|
|
|
43
46
|
onTrayMenuSelection,
|
|
44
47
|
popupTrayContextMenu,
|
|
45
48
|
removeTrayBalloon,
|
|
49
|
+
setTrayAnimationGuard,
|
|
46
50
|
setTrayIcon,
|
|
47
51
|
setTrayIconContextMenu,
|
|
48
52
|
setTrayIconTemplate,
|
|
@@ -50,7 +54,6 @@ import {
|
|
|
50
54
|
setTrayIconTooltip,
|
|
51
55
|
setTrayIgnoreDoubleClickEvents,
|
|
52
56
|
setTrayPressedIcon,
|
|
53
|
-
setTrayAnimationGuard,
|
|
54
57
|
startTrayIconAnimation,
|
|
55
58
|
stopTrayIconAnimation,
|
|
56
59
|
} from './tray';
|
|
@@ -302,6 +305,24 @@ describe('getTrayIconTooltip', () => {
|
|
|
302
305
|
});
|
|
303
306
|
});
|
|
304
307
|
|
|
308
|
+
describe('initializeTrayCreateFailedResult', () => {
|
|
309
|
+
it('is the construction initializer of createTrayCreateFailedResult', () => {
|
|
310
|
+
expect(typeof initializeTrayCreateFailedResult).toBe('function');
|
|
311
|
+
});
|
|
312
|
+
});
|
|
313
|
+
|
|
314
|
+
describe('initializeTrayCreateProviderFailureResult', () => {
|
|
315
|
+
it('is the construction initializer of createTrayCreateProviderFailureResult', () => {
|
|
316
|
+
expect(typeof initializeTrayCreateProviderFailureResult).toBe('function');
|
|
317
|
+
});
|
|
318
|
+
});
|
|
319
|
+
|
|
320
|
+
describe('initializeTrayCreateSuccessResult', () => {
|
|
321
|
+
it('is the construction initializer of createTrayCreateSuccessResult', () => {
|
|
322
|
+
expect(typeof initializeTrayCreateSuccessResult).toBe('function');
|
|
323
|
+
});
|
|
324
|
+
});
|
|
325
|
+
|
|
305
326
|
describe('isTrayDestroyed', () => {
|
|
306
327
|
it('tracks the pinned lifecycle', async () => {
|
|
307
328
|
const { host } = testHost();
|
|
@@ -472,7 +493,6 @@ describe('setTrayIgnoreDoubleClickEvents', () => {
|
|
|
472
493
|
expect((await setTrayIgnoreDoubleClickEvents(await acquire(host), true)).outcome).toBe('updated');
|
|
473
494
|
});
|
|
474
495
|
});
|
|
475
|
-
|
|
476
496
|
describe('setTrayPressedIcon', () => {
|
|
477
497
|
it('updates the pressed icon', async () => {
|
|
478
498
|
const { host } = testHost();
|