@cocreate/pwa 1.6.3 → 1.6.5

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,21 @@
1
+ ## [1.6.5](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.4...v1.6.5) (2023-05-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * replace fontawesome with svg ([a4ec18a](https://github.com/CoCreate-app/CoCreate-pwa/commit/a4ec18a6595be7e58ac8592688aabf0de1cf16f2))
7
+
8
+ ## [1.6.4](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.3...v1.6.4) (2023-04-30)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add screenshot to assets ([e52804c](https://github.com/CoCreate-app/CoCreate-pwa/commit/e52804cecbf851b7c73c0bc1b321a99dd6592cbb))
14
+ * fullscreen target updated to fullscreen fullscreen-target ([eb2376a](https://github.com/CoCreate-app/CoCreate-pwa/commit/eb2376a099826c9c5671dd4154cc3608f82765ed))
15
+ * package-lock.json and pnpm-lock.yaml added to .gitignore ([d627642](https://github.com/CoCreate-app/CoCreate-pwa/commit/d627642730244d841c34782f2752cda7f2885786))
16
+ * removed toogle fullscreen icons. now using css content ([deabb66](https://github.com/CoCreate-app/CoCreate-pwa/commit/deabb66887f749a95cd0ddb76c2c62d3678d9655))
17
+ * update manifest and assets ([a51bdf5](https://github.com/CoCreate-app/CoCreate-pwa/commit/a51bdf57c0c176d4a3b274fe6423ed47107ff73b))
18
+
1
19
  ## [1.6.3](https://github.com/CoCreate-app/CoCreate-pwa/compare/v1.6.2...v1.6.3) (2023-04-24)
2
20
 
3
21
 
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
@@ -23,11 +23,11 @@
23
23
  <h2>CoCreate-pwa</h2>
24
24
  </div>
25
25
  <div class="display:flex align-items:center font-size:20px" share-height="600" share-width="500" share-media="https://via.placeholder.com/300/09f/fff.png">
26
- <a href="https://github.com/CoCreate-app/CoCreate-pwa" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
27
- <a class="margin-right:15px share" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
28
- <a class="margin-right:15px share" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
29
- <a class="margin-right:15px share" share-network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
30
- <a class="margin-right:15px share" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
26
+ <a href="https://github.com/CoCreate-app/CoCreate-pwa" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
27
+ <a class="margin-right:15px share" share-network='twitter' title="Share on twitter"><i class="height:20px fill:#505050" src="/assets/svg/twitter.svg"></i></a>
28
+ <a class="margin-right:15px share" share-network='facebook' title="Share on Facebook"><i class="height:20px fill:#505050" src="/assets/svg/facebook.svg"></i></a>
29
+ <a class="margin-right:15px share" share-network='instagram' title="Share on instagram"><i class="height:20px fill:#505050" src="/assets/svg/instagram.svg"></i></a>
30
+ <a class="margin-right:15px share" share-network='share' title="Share on share"><i class="height:20px fill:#505050" src="/assets/svg/share-alt.svg"></i></a>
31
31
  </div>
32
32
  </div>
33
33
  <p class="max-width:500px margin:20px_10px">A simple HTML5, CSS and pure javascript component. Easy configuration using data-attributes and highly styleable.</h1>
@@ -77,11 +77,11 @@
77
77
  </div>
78
78
 
79
79
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
80
- <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
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
- <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
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>
80
+ <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="height:18px fill:#505050" src="/assets/svg/eye.svg"></i></a>
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="height:20px fill:#505050" src="/assets/svg/eye-slash.svg"></i></a>
82
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="height:20px fill:#505050" src="/assets/svg/code.svg"></i></a>
83
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="display:flex height:18px fill:#505050" src="/assets/svg/code.svg"></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.5",
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