@cocreate/position 1.3.4 → 1.3.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,10 @@
1
+ ## [1.3.5](https://github.com/CoCreate-app/CoCreate-position/compare/v1.3.4...v1.3.5) (2023-05-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * replace fontawesome with svg ([92eb296](https://github.com/CoCreate-app/CoCreate-position/commit/92eb2961a40a43d524dce70d31fd4760c2a8b74e))
7
+
1
8
  ## [1.3.4](https://github.com/CoCreate-app/CoCreate-position/compare/v1.3.3...v1.3.4) (2023-04-30)
2
9
 
3
10
 
package/docs/index.html CHANGED
@@ -33,13 +33,13 @@
33
33
  <div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="A draggable, customizable Pop up that toggle hiddent content via attributes. Great for multitasking and showing multiple views."
34
34
  share-title="CoCreate-position" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/position.png" hover="display:block!important" hover-target=".social-networks">
35
35
  <div class="display:none social-networks">
36
- <a class="margin-right:15px" share-network='twitter' title="Share on twitter"><i class="fab fa-twitter"></i></a>
37
- <a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="fab fa-facebook"></i></a>
38
- <a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="fab fa-instagram"></i></a>
36
+ <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>
37
+ <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>
38
+ <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>
39
39
  </div>
40
- <a class="margin-right:15px" share-network='share' title="Share on share"><i class="fas fa-share-alt"></i></a>
40
+ <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>
41
41
  </div>
42
- <a href="https://github.com/CoCreate-app/CoCreate-position" target="_blank" class="margin-right:15px"><i class="fab fa-github"></i></a>
42
+ <a href="https://github.com/CoCreate-app/CoCreate-position" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
43
43
  </div>
44
44
  </div>
45
45
  <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">A draggable, customizable Pop up that toggle hiddent content via attributes. Great for multitasking and showing multiple views.
@@ -50,7 +50,7 @@
50
50
  <div id="position-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#position-usage-section">
51
51
  <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#position-usage"]'>
52
52
  <h2 class="padding:5px_0px">Usage</h2>
53
- <a class="margin-left:10px display:none" href="#position-usage"><i class="fas fa-link"></i></a>
53
+ <a class="margin-left:10px display:none" href="#position-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
54
54
  </span>
55
55
  </div>
56
56
  <div class="">
@@ -80,7 +80,7 @@
80
80
  <div id="position-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#position-attributes-section">
81
81
  <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#position-attributes"]'>
82
82
  <h2 class="padding:5px_0px">Attributes</h2>
83
- <a class="margin-left:10px display:none" href="#position-attributes"><i class="fas fa-link"></i></a>
83
+ <a class="margin-left:10px display:none" href="#position-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
84
84
  </span>
85
85
  </div>
86
86
  <ul class="list-style-type:none ">
@@ -132,7 +132,7 @@
132
132
  <div id="position-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#position-demo-section">
133
133
  <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#position-demo"]'>
134
134
  <h2 class="padding:5px_0px">Demo</h2>
135
- <a class="margin-left:10px display:none" href="#position-demo"><i class="fas fa-link"></i></a>
135
+ <a class="margin-left:10px display:none" href="#position-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
136
136
  </span>
137
137
  </div>
138
138
  <div class="position:sticky top:0 padding:15px_0px height:100vh">
@@ -149,10 +149,10 @@
149
149
  </div>
150
150
 
151
151
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
152
- <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>
153
- <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>
154
- <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
155
- <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
152
+ <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>
153
+ <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>
154
+ <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>
155
+ <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>
156
156
  <a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
157
157
  </div>
158
158
 
@@ -163,7 +163,7 @@
163
163
 
164
164
  </div>
165
165
  <button href="https://github.com/CoCreate-app/CoCreate-position/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)">
166
- <i class="fas fa-pencil-alt"></i>
166
+ <i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
167
167
  </button>
168
168
  </main>
169
169
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/position",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Make any element draggable and movable. Customizable via attributes, great for popups, alerts, multitasking and displaying multiple views.",
5
5
  "keywords": [
6
6
  "position",