@cocreate/resize 1.5.4 → 1.5.6
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 +14 -0
- package/demo/dashboard.html +15 -15
- package/demo/index.html +1 -1
- package/docs/index.html +16 -16
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.5.6](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.5.5...v1.5.6) (2023-05-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* update manifest.json to manifest.webmanifest ([e80bdaa](https://github.com/CoCreate-app/CoCreate-resize/commit/e80bdaa809aa097d972c3fecc1cff41598f59312))
|
|
7
|
+
|
|
8
|
+
## [1.5.5](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.5.4...v1.5.5) (2023-05-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* replace fontawesome with svg ([36abeca](https://github.com/CoCreate-app/CoCreate-resize/commit/36abeca4cddcf1b244440e507bd63cffd934b774))
|
|
14
|
+
|
|
1
15
|
## [1.5.4](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.5.3...v1.5.4) (2023-04-30)
|
|
2
16
|
|
|
3
17
|
|
package/demo/dashboard.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
|
|
9
9
|
<title>Dashboard | CoCreate</title>
|
|
10
10
|
<link rel="stylesheet" href="../index.css" collection="files" document_id="637bc8fe91249e639db315d9" name="src" type="text/css"/>
|
|
11
|
-
<link rel="manifest" href="/manifest.
|
|
11
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
|
12
12
|
</head>
|
|
13
13
|
<style>
|
|
14
14
|
.progressbar {
|
|
@@ -57,9 +57,9 @@
|
|
|
57
57
|
<ul class="display:inline-flex direction:rtl overflow:auto font-size:20px align-items:center list-style-type:none width:100% height:50px">
|
|
58
58
|
|
|
59
59
|
<!-- Modal Controls -->
|
|
60
|
-
<li class="margin-right:15px"><a actions="closeModal"><i class="
|
|
60
|
+
<li class="margin-right:15px"><a actions="closeModal"><i class="height:18px fill:#505050" src="/assets/svg/times.svg"></i></a></li>
|
|
61
61
|
<li class="margin-right:15px"><a actions="minMaxModal"><i toggle="fa-window-restore, fa-window-maximize" class="far fa-window-maximize"></i></a></li>
|
|
62
|
-
<li class="margin-right:15px"><a actions="parkModal"><i class="
|
|
62
|
+
<li class="margin-right:15px"><a actions="parkModal"><i class="height:18px fill:#505050" src="/assets/svg/window-minimize.svg"></i></a></li>
|
|
63
63
|
|
|
64
64
|
<!-- fullscreen toogle and icon transform-->
|
|
65
65
|
<li class="margin-right:15px"><a fullscreen></a></li>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<!-- Render Module Form -->
|
|
68
68
|
<li class="margin-right:15px">
|
|
69
69
|
<a actions="pass, openModal" modal-src="../modules/form.html" modal-width="320px">
|
|
70
|
-
<i class="
|
|
70
|
+
<i class="display:flex height:18px fill:#505050" src="/assets/svg/cog.svg"></i>
|
|
71
71
|
<div pass_id="module-form" pass-collection="modules" pass-document_id="" pass_to="form-fields"></div>
|
|
72
72
|
<div pass_id="datatable" pass-filter-value="" pass_to="module_id"></div>
|
|
73
73
|
</a>
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
<!-- Render Code Editor -->
|
|
77
77
|
<li class="margin-right:15px">
|
|
78
78
|
<a actions="pass, openModal" modal-src="../code-editor/index.html">
|
|
79
|
-
<i class="
|
|
79
|
+
<i class="display:flex height:18px fill:#505050" src="/assets/svg/code.svg"></i>
|
|
80
80
|
<div pass_id="render" pass-collection="" pass-document_id="" pass-name="" pass_to="code-editor"></div>
|
|
81
81
|
</a>
|
|
82
82
|
</li>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<!-- Render Builder -->
|
|
85
85
|
<li class="margin-right:15px">
|
|
86
86
|
<a actions="pass, openModal" modal-src="../builder/index.html">
|
|
87
|
-
<i class="
|
|
87
|
+
<i class="display:flex height:18px fill:#505050" src="/assets/svg/palette.svg"></i>
|
|
88
88
|
<div pass_id="render" pass-collection="" pass-document_id="" pass-name="" pass_to="builder"></div>
|
|
89
89
|
</a>
|
|
90
90
|
</li>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
<!-- deleteDocument-->
|
|
93
93
|
<li class="margin-right:15px">
|
|
94
94
|
<a actions="deleteDocument, closeModal" collection="" document_id="" pass_id="form-fields">
|
|
95
|
-
<i class="
|
|
95
|
+
<i class="height:18px fill:#505050" src="/assets/svg/trash-alt.svg"></i>
|
|
96
96
|
</a>
|
|
97
97
|
</li>
|
|
98
98
|
</ul>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<input type="text" class="floating-label" pass_to="results">
|
|
107
107
|
<span class="passValueBtn position:relative bottom:29px right:11px float:right font-size:18px">
|
|
108
108
|
<a actions="pass, openModal" pass_to="render" collection="website-pages" document_id="" pass-name="src" modal-width="900px" modal-color="#229954">
|
|
109
|
-
<i class="
|
|
109
|
+
<i class="height:20px fill:#505050" src="/assets/svg/search.svg"></i>
|
|
110
110
|
</a>
|
|
111
111
|
</span>
|
|
112
112
|
</form>
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
<a actions="pass, openModal" id="a{{document._id}}" href='..{{secondary-url}}'
|
|
146
146
|
modal-width="{{document.main-menu-secondary-width}}"
|
|
147
147
|
modal-color="{{document.main-menu-secondary-color}}">
|
|
148
|
-
<i class="
|
|
148
|
+
<i class="height:16px fill:#505050" src="/assets/svg/plus.svg"></i>
|
|
149
149
|
<div pass-value="{{document._id}}" pass-filter-value="{{document._id}}" pass_to="module_id"></div>
|
|
150
150
|
<div pass-collection="files" pass-document_id="{{document.main-menu-secondary}}" pass-name="src" pass_to="render"></div>
|
|
151
151
|
<div pass-document_id="{{document._id}}" pass_to="module-form"></div>
|
|
@@ -159,23 +159,23 @@
|
|
|
159
159
|
<!-- sidenav Footer -->
|
|
160
160
|
<div class="display:flex justify-content:space-between flex-wrap:wrap position:absolute bottom:0px background:gainsboro line-height:40px height:40px width:100% overflow:hidden">
|
|
161
161
|
<a actions="pass, openModal" modal-src="../admin/settings/index.html" modal-width="275px" modal-color="#229954" modal-x="0" modal-y="0" class="width:50px text-align:center display:inline-block">
|
|
162
|
-
<span class="padding:10px width:50px text-align:center"><i class="
|
|
162
|
+
<span class="padding:10px width:50px text-align:center"><i class="height:16px fill:#505050" src="/assets/svg/cogs.svg"></i></span>
|
|
163
163
|
<div pass-collection="files" pass-document_id="60ddfdc014b5ab0c2dd2fe18" pass-name="src" pass_to="render"></div>
|
|
164
164
|
</a>
|
|
165
165
|
<a actions="pass, openModal" modal-src="../admin/modules/datatable.html" modal-width="640px" modal-color="#229954" class="width:50px text-align:center display:inline-block">
|
|
166
|
-
<span class="padding:10px width:50px text-align:center"><i class="
|
|
166
|
+
<span class="padding:10px width:50px text-align:center"><i class="height:16px fill:#505050" src="/assets/svg/project-diagram.svg"></i></span>
|
|
167
167
|
<div pass-collection="files" pass-document_id="60ddfdbf14b5ab0c2dd2fe08" pass-name="src" pass_to="render"></div>
|
|
168
168
|
</a>
|
|
169
169
|
<a actions="pass, openModal" modal-src="../admin/module-views/datatable.html" modal-width="640px" modal-color="#229954" class="width:50px text-align:center display:inline-block">
|
|
170
|
-
<span class="padding:10px width:50px text-align:center"><i class="
|
|
170
|
+
<span class="padding:10px width:50px text-align:center"><i class="height:16px fill:#505050" src="/assets/svg/shapes.svg"></i></span>
|
|
171
171
|
<div pass-collection="files" pass-document_id="60ddfdc014b5ab0c2dd2fe0b" pass-name="src" pass_to="render"></div>
|
|
172
172
|
</a>
|
|
173
173
|
<a actions="pass, openModal" modal-src="../admin/files/datatable.html" modal-width="640px" modal-color="#229954" class="width:50px text-align:center display:inline-block">
|
|
174
|
-
<span class="padding:10px width:50px text-align:center"><i class="
|
|
174
|
+
<span class="padding:10px width:50px text-align:center"><i class="height:16px fill:#505050" src="/assets/svg/folder.svg"></i></span>
|
|
175
175
|
<div pass-collection="files" pass-document_id="60ddfdc014b5ab0c2dd2fe15" pass-name="src" pass_to="render"></div>
|
|
176
176
|
</a>
|
|
177
177
|
<a actions="logout" href="./signin.html" pass_to class="width:50px text-align:center display:inline-block">
|
|
178
|
-
<span class="padding:10px width:50px text-align:center"><i class="
|
|
178
|
+
<span class="padding:10px width:50px text-align:center"><i class="height:16px fill:#505050" src="/assets/svg/sign-out-alt.svg"></i></span>
|
|
179
179
|
</a>
|
|
180
180
|
</div>
|
|
181
181
|
</div>
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
|
|
217
217
|
<button class="position:absolute bottom:15px right:15px line-height:50px width:50px 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)">
|
|
218
218
|
<a actions="pass, openModal" modal-src="./form.html" modal-width="320px" modal-color="#229954">
|
|
219
|
-
<i class="
|
|
219
|
+
<i class="height:20px fill:#505050" src="/assets/svg/plus.svg"></i>
|
|
220
220
|
<div pass_to="form-fields" pass-document_id=""></div>
|
|
221
221
|
<div pass_id="module-form" pass-value="" pass-filter-value="" pass_to="module_id"></div>
|
|
222
222
|
<div pass_id="form" pass-collection="" pass-document_id="" pass-name="" pass_to="render"></div>
|
package/demo/index.html
CHANGED
package/docs/index.html
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<meta property="og:image" content="https://cdn.cocreate.app/docs/resize.png">
|
|
14
14
|
|
|
15
15
|
<link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true" />
|
|
16
|
-
<link rel="manifest" href="/manifest.
|
|
16
|
+
<link rel="manifest" href="/manifest.webmanifest">
|
|
17
17
|
</head>
|
|
18
18
|
|
|
19
19
|
<body>
|
|
@@ -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 light weight resize handler make any element resizable by adding data attributes or usinng init object. Great for Customized text box or text area."
|
|
34
34
|
share-title="CoCreate-resize" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/resize.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="
|
|
37
|
-
<a class="margin-right:15px" share-network='facebook' title="Share on Facebook"><i class="
|
|
38
|
-
<a class="margin-right:15px" share-network='instagram' title="Share on instagram"><i class="
|
|
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="
|
|
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-resize" target="_blank" class="margin-right:15px"><i class="
|
|
42
|
+
<a href="https://github.com/CoCreate-app/CoCreate-resize" 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 light weight resize handler make any element resizable by adding data attributes or usinng init object. Great for Customized text box or text area.</h1>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<div id="resize-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#resize-install-section">
|
|
49
49
|
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#resize-install"]'>
|
|
50
50
|
<h2 class="padding:5px_0px">Install</h2>
|
|
51
|
-
<a class="margin-left:10px display:none" href="#resize-install"><i class="
|
|
51
|
+
<a class="margin-left:10px display:none" href="#resize-install"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
|
|
52
52
|
</span>
|
|
53
53
|
</div>
|
|
54
54
|
<pre class="margin-top:15px"><code class="language-bash">npm i @cocreate/resize</code></pre>
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<div id="resize-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#resize-usage-section">
|
|
59
59
|
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#resize-usage"]'>
|
|
60
60
|
<h2 class="padding:5px_0px">Usage</h2>
|
|
61
|
-
<a class="margin-left:10px display:none" href="#resize-usage"><i class="
|
|
61
|
+
<a class="margin-left:10px display:none" href="#resize-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
|
|
62
62
|
</span>
|
|
63
63
|
</div>
|
|
64
64
|
<p class="padding:10px_0px line-height:1.5">resize usage content</p>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<div id="resize-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#resize-usage-section">
|
|
68
68
|
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#resize-usage"]'>
|
|
69
69
|
<h2 class="padding:5px_0px">Usage</h2>
|
|
70
|
-
<a class="margin-left:10px display:none" href="#resize-usage"><i class="
|
|
70
|
+
<a class="margin-left:10px display:none" href="#resize-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
|
|
71
71
|
</span>
|
|
72
72
|
</div>
|
|
73
73
|
<p class="padding:10px_0px line-height:1.5">This is resize usage content</p>
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
<div id="resize-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#resize-attributes-section">
|
|
78
78
|
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#resize-attributes"]'>
|
|
79
79
|
<h2 class="padding:5px_0px">Attributes</h2>
|
|
80
|
-
<a class="margin-left:10px display:none" href="#resize-attributes"><i class="
|
|
80
|
+
<a class="margin-left:10px display:none" href="#resize-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
|
|
81
81
|
</span>
|
|
82
82
|
</div>
|
|
83
83
|
<ul class="list-style-type:none ">
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
<div id="resize-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#resize-demo-section">
|
|
98
98
|
<span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#resize-demo"]'>
|
|
99
99
|
<h2 class="padding:5px_0px">Demo</h2>
|
|
100
|
-
<a class="margin-left:10px display:none" href="#resize-demo"><i class="
|
|
100
|
+
<a class="margin-left:10px display:none" href="#resize-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
|
|
101
101
|
</span>
|
|
102
102
|
</div>
|
|
103
103
|
<div class="position:sticky top:0 padding:10px_0px height:100vh">
|
|
@@ -114,10 +114,10 @@
|
|
|
114
114
|
</div>
|
|
115
115
|
|
|
116
116
|
<div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
|
|
117
|
-
<a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="
|
|
118
|
-
<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="
|
|
119
|
-
<a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="
|
|
120
|
-
<a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="
|
|
117
|
+
<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>
|
|
118
|
+
<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>
|
|
119
|
+
<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>
|
|
120
|
+
<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>
|
|
121
121
|
<a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
|
|
122
122
|
</div>
|
|
123
123
|
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
</div>
|
|
130
130
|
<button href="https://github.com/CoCreate-app/CoCreate-resize/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)">
|
|
131
|
-
<i class="
|
|
131
|
+
<i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
|
|
132
132
|
</button>
|
|
133
133
|
</main>
|
|
134
134
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/resize",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.6",
|
|
4
4
|
"description": "A light weight resize handler make any element resizable by adding data attributes or usinng init object. Great for Customized text box or text area.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"resize",
|