@cocreate/pwa 1.6.3 → 1.6.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## [1.6.4](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.3...v1.6.4) (2023-04-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add screenshot to assets ([e52804c](https://github.com/CoCreate-app/CoCreate-pwa/commit/e52804cecbf851b7c73c0bc1b321a99dd6592cbb))
7
+ * fullscreen target updated to fullscreen fullscreen-target ([eb2376a](https://github.com/CoCreate-app/CoCreate-pwa/commit/eb2376a099826c9c5671dd4154cc3608f82765ed))
8
+ * package-lock.json and pnpm-lock.yaml added to .gitignore ([d627642](https://github.com/CoCreate-app/CoCreate-pwa/commit/d627642730244d841c34782f2752cda7f2885786))
9
+ * removed toogle fullscreen icons. now using css content ([deabb66](https://github.com/CoCreate-app/CoCreate-pwa/commit/deabb66887f749a95cd0ddb76c2c62d3678d9655))
10
+ * update manifest and assets ([a51bdf5](https://github.com/CoCreate-app/CoCreate-pwa/commit/a51bdf57c0c176d4a3b274fe6423ed47107ff73b))
11
+
1
12
  ## [1.6.3](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.2...v1.6.3) (2023-04-24)
2
13
 
3
14
 
package/demo/index.html CHANGED
@@ -55,7 +55,6 @@
55
55
 
56
56
  <p>
57
57
  To Make me installable, follow the
58
- <a href="https://web.dev/codelab-make-installable/">instructions</a> here.
59
58
  </p>
60
59
 
61
60
  <button id="cacheBtn">Uncache</button>
@@ -2,75 +2,91 @@
2
2
  "short_name": "CoCreate",
3
3
  "name": "CoCreate",
4
4
  "description": "Build your business in miutes",
5
+ "protocol_handlers": [
6
+ {
7
+ "protocol": "web+jngl",
8
+ "url": "/lookup?type=%s"
9
+ },
10
+ {
11
+ "protocol": "web+jnglstore",
12
+ "url": "/shop?for=%s"
13
+ }
14
+ ],
5
15
  "orientation": "portrait-primary",
6
-
7
- "icons": [{
8
- "src": "./images/icons/icon-72x72.png",
16
+ "icons": [
17
+ {
18
+ "src": "./assets/icons/icon-72x72.png",
9
19
  "type": "image/png",
10
20
  "sizes": "72x72"
11
21
  },
12
22
  {
13
- "src": "./images/icons/icon-96x96.png",
23
+ "src": "./assets/icons/icon-96x96.png",
14
24
  "type": "image/png",
15
25
  "sizes": "96x96"
16
26
  },
17
27
  {
18
- "src": "./images/icons/icon-128x128.png",
28
+ "src": "./assets/icons/icon-128x128.png",
19
29
  "type": "image/png",
20
30
  "sizes": "128x128"
21
31
  },
22
32
  {
23
- "src": "./images/icons/icon-144x144.png",
33
+ "src": "./assets/icons/icon-144x144.png",
24
34
  "type": "image/png",
25
35
  "sizes": "144x144"
26
36
  },
27
37
  {
28
- "src": "./images/icons/icon-152x152.png",
38
+ "src": "./assets/icons/icon-152x152.png",
29
39
  "type": "image/png",
30
40
  "sizes": "152x152"
31
41
  },
32
42
  {
33
- "src": "./images/icons/icon-192x192.png",
43
+ "src": "./assets/icons/icon-192x192.png",
34
44
  "type": "image/png",
35
45
  "sizes": "192x192"
36
46
  },
37
47
  {
38
- "src": "./images/icons/icon-384x384.png",
48
+ "src": "./assets/icons/icon-384x384.png",
39
49
  "type": "image/png",
40
50
  "sizes": "384x384"
41
51
  },
42
52
  {
43
- "src": "./images/icons/icon-512x512.png",
53
+ "src": "./assets/icons/icon-512x512.png",
44
54
  "type": "image/png",
45
55
  "sizes": "512x512",
46
56
  "purpose": "maskable"
47
57
  }
48
58
  ],
49
59
  "start_url": "/",
60
+ "id": "/",
50
61
  "background_color": "whitesmoke",
51
- "display": "Fullscreen",
52
- "theme_color": "blue",
53
- "screenshots": [{
54
- "src": "./images/screenshot-1.png",
55
- "type": "image/png",
56
- "sizes": "512x512"
57
- }],
62
+ "display": "fullscreen",
63
+ "theme_color": "#c7c7c7",
64
+ "screenshots": [
65
+ {
66
+ "src": "./assets/screenshot-1.png",
67
+ "type": "image/png",
68
+ "sizes": "1903x950"
69
+ }
70
+ ],
58
71
  "categories": "productivity",
59
72
  "file_handlers": [
60
73
  {
61
74
  "action": "/open-file",
62
75
  "accept": {
63
- "text/*": [".txt"]
76
+ "text/*": [
77
+ ".txt"
78
+ ]
64
79
  }
65
80
  }
66
- ],
67
- "share_target": {
68
- "action": "/receive-share/",
69
- "method": "GET",
70
- "params": {
71
- "title": "shared_title",
72
- "url": "shared_url"
81
+ ],
82
+ "share_target": {
83
+ "action": "/",
84
+ "method": "GET",
85
+ "enctype": "application/x-www-form-urlencoded",
86
+ "params": {
87
+ "title": "title",
88
+ "text": "text",
89
+ "url": "url"
90
+ }
73
91
  }
74
- }
75
-
76
92
  }
package/docs/index.html CHANGED
@@ -81,7 +81,7 @@
81
81
  <a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
82
82
  <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
83
83
  <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
84
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
84
+ <a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
85
85
  </div>
86
86
 
87
87
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/pwa",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "A simple pwa component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "pwa",
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes