@jsenv/plugin-toolbar 1.2.14 → 1.2.15

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": "@jsenv/plugin-toolbar",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "/src/"
27
27
  ],
28
28
  "dependencies": {
29
- "@jsenv/ast": "6.0.0",
29
+ "@jsenv/ast": "6.0.1",
30
30
  "@preact/signals": "1.2.1"
31
31
  },
32
32
  "scripts": {
@@ -7,6 +7,6 @@ export const animationsEnabledSignal = signal(
7
7
  typeof stateFromLocalStorage.animationsEnabled === "boolean"
8
8
  ? stateFromLocalStorage.animationsEnabled
9
9
  : typeof paramsFromParentWindow.animationsEnabled === "boolean"
10
- ? paramsFromParentWindow.animationsEnabled
11
- : false,
10
+ ? paramsFromParentWindow.animationsEnabled
11
+ : false,
12
12
  );
@@ -7,7 +7,7 @@ export const notificationsEnabledSignal = signal(
7
7
  typeof stateFromLocalStorage.notificationsEnabled === "boolean"
8
8
  ? stateFromLocalStorage.notificationsEnabled
9
9
  : typeof paramsFromParentWindow.notificationsEnabled === "boolean"
10
- ? paramsFromParentWindow.notificationsEnabled
11
- : false,
10
+ ? paramsFromParentWindow.notificationsEnabled
11
+ : false,
12
12
  );
13
13
  export const notificationPermissionSignal = signal(Notification.permission);
@@ -7,6 +7,6 @@ export const themeSignal = signal(
7
7
  typeof stateFromLocalStorage.theme === "string"
8
8
  ? stateFromLocalStorage.theme
9
9
  : typeof paramsFromParentWindow.theme === "string"
10
- ? paramsFromParentWindow.theme
11
- : "dark",
10
+ ? paramsFromParentWindow.theme
11
+ : "dark",
12
12
  );
@@ -7,6 +7,6 @@ export const openedSignal = signal(
7
7
  typeof stateFromLocalStorage.opened === "boolean"
8
8
  ? stateFromLocalStorage.opened
9
9
  : typeof paramsFromParentWindow.opened === "boolean"
10
- ? paramsFromParentWindow.opened
11
- : false,
10
+ ? paramsFromParentWindow.opened
11
+ : false,
12
12
  );