@vuepress/plugin-pwa 2.0.0-rc.36 → 2.0.0-rc.38

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.
@@ -14,8 +14,8 @@ export declare const PwaFoundPopup: import("vue").DefineComponent<{
14
14
  required: true;
15
15
  };
16
16
  }>>, {}, SlotsType<{
17
- default?: ((props: {
17
+ default?: (props: {
18
18
  found: boolean;
19
19
  refresh: () => void;
20
- }) => VNode[] | VNode | null) | undefined;
20
+ }) => VNode[] | VNode | null;
21
21
  }>>;
@@ -34,7 +34,7 @@ export const PwaInstallModal = defineComponent({
34
34
  manifest.value = data;
35
35
  localStorage.setItem('manifest', JSON.stringify(data));
36
36
  }
37
- catch (err) {
37
+ catch {
38
38
  console.error('[PWA]: Error getting manifest, check that you have a valid web manifest or network connection');
39
39
  }
40
40
  };
@@ -14,8 +14,8 @@ export declare const PwaReadyPopup: import("vue").DefineComponent<{
14
14
  required: true;
15
15
  };
16
16
  }>>, {}, SlotsType<{
17
- default?: ((props: {
17
+ default?: (props: {
18
18
  isReady: boolean;
19
19
  reload: () => void;
20
- }) => VNode[] | VNode | null) | undefined;
20
+ }) => VNode[] | VNode | null;
21
21
  }>>;
@@ -80,8 +80,8 @@
80
80
  position: fixed;
81
81
  inset: 0;
82
82
  z-index: 998;
83
- animation: 0.25s pwa-fade-in;
84
83
  backdrop-filter: blur(10px);
84
+ animation: 0.25s pwa-fade-in;
85
85
  }
86
86
  #install-modal-wrapper .install-modal {
87
87
  position: absolute;
@@ -281,10 +281,10 @@
281
281
  display: flex;
282
282
  flex-flow: column wrap;
283
283
  overflow-x: auto;
284
- -webkit-overflow-scrolling: touch;
285
284
  width: 22em;
286
285
  max-height: 220px;
287
286
  scroll-snap-type: x mandatory;
287
+ -webkit-overflow-scrolling: touch;
288
288
  }
289
289
  @media (max-width: 1280px) {
290
290
  #install-modal-wrapper .screenshot {
@@ -23,8 +23,8 @@
23
23
  .sw-hint-popup,
24
24
  .sw-update-popup {
25
25
  position: fixed;
26
- bottom: 1rem;
27
26
  inset-inline-end: 1rem;
27
+ bottom: 1rem;
28
28
  z-index: var(--pwa-z-index);
29
29
  padding: 0.5rem 0.75rem;
30
30
  border-width: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/plugin-pwa",
3
- "version": "2.0.0-rc.36",
3
+ "version": "2.0.0-rc.38",
4
4
  "description": "VuePress plugin - progressive web application",
5
5
  "keywords": [
6
6
  "vuepress-plugin",
@@ -36,18 +36,18 @@
36
36
  "lib"
37
37
  ],
38
38
  "dependencies": {
39
- "@vuepress/helper": "2.0.0-rc.36",
39
+ "@vuepress/helper": "2.0.0-rc.38",
40
40
  "@vueuse/core": "^10.11.0",
41
41
  "mitt": "^3.0.1",
42
42
  "register-service-worker": "^1.7.2",
43
- "vue": "^3.4.29",
43
+ "vue": "^3.4.31",
44
44
  "workbox-build": "^7.1.1"
45
45
  },
46
46
  "peerDependencies": {
47
- "vuepress": "2.0.0-rc.13"
47
+ "vuepress": "2.0.0-rc.14"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "7f283f7243f9f9b86a9621f6ebc00d8d335d5f94"
52
+ "gitHead": "4345344b92c788c8f0c4a78b2cd022bc31ef5108"
53
53
  }