@cocreate/elements 1.17.6 → 1.17.8

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,18 @@
1
+ ## [1.17.8](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.17.7...v1.17.8) (2023-05-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update manifest.json to manifest.webmanifest ([5331604](https://github.com/CoCreate-app/CoCreate-elements/commit/53316049017619140e90df9d700e57a780594a02))
7
+
8
+ ## [1.17.7](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.17.6...v1.17.7) (2023-05-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * removed object from ignore list as it does not use src attribute ([c2ed841](https://github.com/CoCreate-app/CoCreate-elements/commit/c2ed841b1edb76be65bc70c1ed7137ff94576bd6))
14
+ * replace fontawesome with svg ([549dfab](https://github.com/CoCreate-app/CoCreate-elements/commit/549dfab09eb5d5f874d864bc123a822a51fa9c40))
15
+
1
16
  ## [1.17.6](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.17.5...v1.17.6) (2023-05-01)
2
17
 
3
18
 
package/demo/index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <title>HTML Tags | CoCreateJS</title>
5
5
  <!-- CoCreate Favicon -->
6
6
  <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
7
- <link rel="manifest" href="/manifest.json" />
7
+ <link rel="manifest" href="/manifest.webmanifest" />
8
8
  </head>
9
9
  <body>
10
10
  <form collection="test" document_id="" realtime="false" class="margin:20px">
package/docs/index.html CHANGED
@@ -15,7 +15,7 @@
15
15
  <!-- CoCreate Favicon -->
16
16
  <link rel="icon" type="image/png" sizes="32x32" href="https://cocreate.app/images/favicon.ico">
17
17
  <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
18
- <link rel="manifest" href="/manifest.json">
18
+ <link rel="manifest" href="/manifest.webmanifest">
19
19
  </head>
20
20
 
21
21
  <body>
@@ -34,13 +34,13 @@
34
34
  <div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="Fetch content into any html element by using attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags"
35
35
  share-title="CoCreate elements" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/elements.png" hover="display:block!important" hover-target=".social-networks">
36
36
  <div class="display:none social-networks">
37
- <a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
38
- <a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
39
- <a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
37
+ <a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="height:20px fill:#505050" src="/assets/svg/twitter.svg"></i></a>
38
+ <a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="height:20px fill:#505050" src="/assets/svg/facebook.svg"></i></a>
39
+ <a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="height:20px fill:#505050" src="/assets/svg/instagram.svg"></i></a>
40
40
  </div>
41
- <a class="margin-right:15px" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
41
+ <a class="margin-right:15px" share-network='share' title="Share on share"><i class="height:20px fill:#505050" src="/assets/svg/share-alt.svg"></i></a>
42
42
  </div>
43
- <a href="https://github.com/CoCreate-app/CoCreate-elements" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
43
+ <a href="https://github.com/CoCreate-app/CoCreate-elements" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
44
44
  </div>
45
45
  </div>
46
46
  <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime</p>
@@ -49,7 +49,7 @@
49
49
  <div id="elements-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#elements-install-section">
50
50
  <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#elements-install"]'>
51
51
  <h2 class="padding:5px_0px">Install</h2>
52
- <a class="margin-left:10px display:none" href="#elements-install"><i class="fas fa-link"></i></a>
52
+ <a class="margin-left:10px display:none" href="#elements-install"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
53
53
  </span>
54
54
  </div>
55
55
  <pre><code class="language-bash">npm i @cocreate/elements</code></pre>
@@ -59,7 +59,7 @@
59
59
  <div id="elements-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#elements-usage-section">
60
60
  <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#elements-usage"]'>
61
61
  <h2 class="padding:5px_0px">Usage</h2>
62
- <a class="margin-left:10px display:none" href="#elements-usage"><i class="fas fa-link"></i></a>
62
+ <a class="margin-left:10px display:none" href="#elements-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
63
63
  </span>
64
64
  </div>
65
65
  <div class="">
@@ -74,7 +74,7 @@
74
74
  <div id="elements-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#elements-attributes-section">
75
75
  <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#elements-attributes"]'>
76
76
  <h2 class="padding:5px_0px">Attributes</h2>
77
- <a class="margin-left:10px display:none" href="#elements-attributes"><i class="fas fa-link"></i></a>
77
+ <a class="margin-left:10px display:none" href="#elements-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
78
78
  </span>
79
79
  </div>
80
80
  <ul class="list-style-type:none ">
@@ -94,7 +94,7 @@
94
94
  <div id="elements-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#elements-demo-section">
95
95
  <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#elements-demo"]'>
96
96
  <h2 class="padding:5px_0px">Demo</h2>
97
- <a class="margin-left:10px display:none" href="#elements-demo"><i class="fas fa-link"></i></a>
97
+ <a class="margin-left:10px display:none" href="#elements-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
98
98
  </span>
99
99
  </div>
100
100
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
@@ -111,10 +111,10 @@
111
111
  </div>
112
112
 
113
113
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
114
- <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>
115
- <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>
116
- <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
117
- <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
114
+ <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>
115
+ <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>
116
+ <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>
117
+ <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>
118
118
  <a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
119
119
  </div>
120
120
 
@@ -125,7 +125,7 @@
125
125
 
126
126
  </div>
127
127
  <button href="https://github.com/CoCreate-app/CoCreate-elements/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..." target="_blank" class="position:fixed bottom:15px right:15px padding:15px background:dodgerblue color:#fff font-size:1.5rem grow-hover border-radius:50% border-width:0 box-shadow:0px_2px_10px_0px_rgba(0,_0,_0,_0.4)">
128
- <i class="fas fa-pencil-alt"></i>
128
+ <i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
129
129
  </button>
130
130
  </main>
131
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/elements",
3
- "version": "1.17.6",
3
+ "version": "1.17.8",
4
4
  "description": "Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime",
5
5
  "keywords": [
6
6
  "elements",
package/src/fetchSrc.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import observer from '@cocreate/observer';
2
2
 
3
- const selector = '[src]:not(img, video, script, input, iframe, frame, link, source, object)'
3
+ const selector = '[src]:not(img, video, script, input, iframe, frame, link, source)'
4
4
  const initializing = new Map();
5
5
 
6
6