@cocreate/unique 1.11.3 → 1.11.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,17 @@
1
+ ## [1.11.5](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.4...v1.11.5) (2023-06-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * format demo html ([43f23b3](https://github.com/CoCreate-app/CoCreate-unique/commit/43f23b3827a654741af31bab255e54ca1196f4c3))
7
+
8
+ ## [1.11.4](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.3...v1.11.4) (2023-05-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([399daa1](https://github.com/CoCreate-app/CoCreate-unique/commit/399daa15a8c33a02be7c703a64cecad19c3a17f9))
14
+
1
15
  ## [1.11.3](https://github.com/CoCreate-app/CoCreate-unique/compare/v1.11.2...v1.11.3) (2023-05-20)
2
16
 
3
17
 
package/demo/index.html CHANGED
@@ -1,52 +1,68 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
-
4
3
  <head>
5
4
  <title>Unique | CoCreateJS</title>
6
5
 
7
6
  <!-- CoCreate Favicon -->
8
- <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
9
- <link rel="manifest" href="/manifest.webmanifest" />
10
- </head>
7
+ <link
8
+ rel="icon"
9
+ href="https://cdn.cocreate.app/favicon.ico"
10
+ type="image/ico"
11
+ sizes="16x16" />
12
+ <link rel="manifest" href="/manifest.webmanifest" />
13
+ </head>
11
14
  <style>
12
- [unique='true'] {
15
+ [unique="true"] {
13
16
  color: green;
14
17
  }
15
18
 
16
- [unique='false'] {
19
+ [unique="false"] {
17
20
  color: red;
18
21
  }
19
22
 
20
- [unique='true']+.floating-label_outline {
23
+ [unique="true"] + .floating-label_outline {
21
24
  border-color: green;
22
25
  color: green;
23
26
  }
24
27
 
25
- [unique='false']+.floating-label_outline {
28
+ [unique="false"] + .floating-label_outline {
26
29
  border-color: red;
27
30
  color: red;
28
31
  }
29
32
  [template_id="validate"].true {
30
- display:block;
33
+ display: block;
31
34
  }
32
35
  </style>
33
36
 
34
37
  <body class="padding:20px">
35
-
36
38
  <form collection="users" document_id realtime="false">
37
- <input type="text" unique class="floating-label" placeholder="Name" name="name">
38
- <input type="text" unique class="floating-label" placeholder="Email" name="email">
39
- <button actions="validate, save" class="position:fixed bottom:15px right:15px background:dodgerblue grow-hover border-radius:50% padding:15px">
40
- <i class="height:20px fill:#505050" src="/assets/svg/save.svg"></i>
41
- </button>
39
+ <input
40
+ type="text"
41
+ unique
42
+ class="floating-label"
43
+ placeholder="Name"
44
+ name="name" />
45
+ <input
46
+ type="text"
47
+ unique
48
+ class="floating-label"
49
+ placeholder="Email"
50
+ name="email" />
51
+ <button
52
+ actions="validate, save"
53
+ class="position:fixed bottom:15px right:15px background:dodgerblue grow-hover border-radius:50% padding:15px">
54
+ <i
55
+ class="height:20px fill:#505050"
56
+ src="/assets/svg/save.svg"></i>
57
+ </button>
42
58
  </form>
43
59
 
44
60
  <div template="validate" class="card {{type}} margin:10px">
45
- <p class="{{status}} {{type}}">{{message}}</p><a actions="removeElement">X</a>
61
+ <p class="{{status}} {{type}}">{{message}}</p>
62
+ <a actions="removeElement">X</a>
46
63
  </div>
47
64
 
48
65
  <!--<script src="../dist/CoCreate-unique.js"></script>-->
49
66
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
50
67
  </body>
51
-
52
68
  </html>
package/docs/index.html CHANGED
@@ -1,134 +1,371 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width, initial-scale=1">
7
- <title>CoCreate-unique Documentation | CoCreateJS </title>
8
- <link rel="icon" type="image/png" sizes="32x32" href="https://cocreate.app/images/favicon.ico">
9
- <meta name="description" content="A simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
10
- <meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <title>CoCreate-unique Documentation | CoCreateJS</title>
8
+ <link
9
+ rel="icon"
10
+ type="image/png"
11
+ sizes="32x32"
12
+ href="https://cocreate.app/images/favicon.ico" />
13
+ <meta
14
+ name="description"
15
+ content="A simple HTML5 and pure javascript component. Easy configuration using HTML5 attributes or Javscript api and highly styleable." />
16
+ <meta
17
+ name="keywords"
18
+ content="helper classes, utility classes, css framework, css library, inline style classes" />
11
19
  <meta name="robots" content="index,follow" />
12
- <meta property="og:image" content="https://cdn.cocreate.app/docs/unique.png">
13
-
20
+ <meta
21
+ property="og:image"
22
+ content="https://cdn.cocreate.app/docs/unique.png" />
23
+
14
24
  <!-- CoCreate CSS -->
15
- <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
16
- <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true"/>
17
- <link rel="manifest" href="/manifest.webmanifest" />
18
- </head>
25
+ <link
26
+ rel="stylesheet"
27
+ href="https://cdn.cocreate.app/latest/CoCreate.min.css"
28
+ type="text/css" />
29
+ <link
30
+ rel="stylesheet"
31
+ href="/docs/index.css"
32
+ collection="files"
33
+ document_id="60888216117c640e7596303f"
34
+ name="src"
35
+ type="text/css"
36
+ save="true" />
37
+ <link rel="manifest" href="/manifest.webmanifest" />
38
+ </head>
19
39
 
20
40
  <body>
21
- <nav class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px" content_id="content" scroll="sticky-nav,hide-nav" scroll-up="10" scroll-down="10" collection="files" document_id="60395ef42b3ac232657040fd" name="src">
22
- </nav>
23
- <sidenav id="menuL" class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl" resizable resize-target="[content_id='content']" resize-property="margin-left" resize-value="width">
24
- <menu collection="files" document_id="603717b07de7fb350ae9fec8" name="src"></menu>
25
- <div resize="right"></div>
26
- </sidenav>
27
- <main class="padding-top:15px padding:15px@lg@xl" content_id="content" id="cocreate-unique">
28
- <div class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
41
+ <nav
42
+ class="nav display:flex align-items:center left:0px background:whitesmoke padding-top:10px padding-bottom:10px"
43
+ content_id="content"
44
+ scroll="sticky-nav,hide-nav"
45
+ scroll-up="10"
46
+ scroll-down="10"
47
+ collection="files"
48
+ document_id="60395ef42b3ac232657040fd"
49
+ name="src"></nav>
50
+ <sidenav
51
+ id="menuL"
52
+ class="position:fixed top:0px left:0px overflow:hidden background:whitesmoke height:100vh width:0px width:300px@xl"
53
+ resizable
54
+ resize-target="[content_id='content']"
55
+ resize-property="margin-left"
56
+ resize-value="width">
57
+ <menu
58
+ collection="files"
59
+ document_id="603717b07de7fb350ae9fec8"
60
+ name="src"></menu>
61
+ <div resize="right"></div>
62
+ </sidenav>
63
+ <main
64
+ class="padding-top:15px padding:15px@lg@xl"
65
+ content_id="content"
66
+ id="cocreate-unique">
67
+ <div
68
+ class="display:flex flex-wrap:wrap justify-content:space-between position:relative margin:10px">
29
69
  <div class="display:flex align-items:center">
30
70
  <h2>CoCreate-unique</h2>
31
71
  </div>
32
- <div class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
33
- <div class="display:flex align-items:center transition:0.3s padding-left:10px" share-network="true" share-text="Enter decription here" share-title="testing im a title" share-height="600" share-width="700" share-media="https://cdn.cocreate.app/docs/unique.png" hover="display:block!important" hover-target=".social-networks">
72
+ <div
73
+ class="display:flex align-items:center font-size:20px position:absolute right:0 padding:5px background:white">
74
+ <div
75
+ class="display:flex align-items:center transition:0.3s padding-left:10px"
76
+ share-network="true"
77
+ share-text="Enter decription here"
78
+ share-title="testing im a title"
79
+ share-height="600"
80
+ share-width="700"
81
+ share-media="https://cdn.cocreate.app/docs/unique.png"
82
+ hover="display:block!important"
83
+ hover-target=".social-networks">
34
84
  <div class="display:none social-networks">
35
- <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>
36
- <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>
37
- <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>
85
+ <a
86
+ class="margin-right:15px"
87
+ share-network="twitter"
88
+ title="Share on twitter"
89
+ ><i
90
+ class="height:20px fill:#505050"
91
+ src="/assets/svg/twitter.svg"></i
92
+ ></a>
93
+ <a
94
+ class="margin-right:15px"
95
+ share-network="facebook"
96
+ title="Share on Facebook"
97
+ ><i
98
+ class="height:20px fill:#505050"
99
+ src="/assets/svg/facebook.svg"></i
100
+ ></a>
101
+ <a
102
+ class="margin-right:15px"
103
+ share-network="instagram"
104
+ title="Share on instagram"
105
+ ><i
106
+ class="height:20px fill:#505050"
107
+ src="/assets/svg/instagram.svg"></i
108
+ ></a>
38
109
  </div>
39
- <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>
110
+ <a
111
+ class="margin-right:15px"
112
+ share-network="share"
113
+ title="Share on share"
114
+ ><i
115
+ class="height:20px fill:#505050"
116
+ src="/assets/svg/share-alt.svg"></i
117
+ ></a>
40
118
  </div>
41
- <a href="https://github.com/CoCreate-app/CoCreate-unique" target="_blank" class="margin-right:15px"><i class="height:20px fill:#505050" src="/assets/svg/github.svg"></i></a>
119
+ <a
120
+ href="https://github.com/CoCreate-app/CoCreate-unique"
121
+ target="_blank"
122
+ class="margin-right:15px"
123
+ ><i
124
+ class="height:20px fill:#505050"
125
+ src="/assets/svg/github.svg"></i
126
+ ></a>
42
127
  </div>
43
128
  </div>
44
- <h1 class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">A headless vinilla javascript micro component. Easy configuration using HTML5 attributes or Javscript api.</h1>
129
+ <h1
130
+ class="max-width:500px margin:20px_10px line-height:1.5 font-size:16px font-weight:100">
131
+ A headless vinilla javascript micro component. Easy
132
+ configuration using HTML5 attributes or Javscript api.
133
+ </h1>
45
134
  <div id="unique-section" class="display:flex flex-wrap:wrap">
46
- <div class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
47
- <div id="unique-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#unique-install-section">
48
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#unique-install"]'>
135
+ <div
136
+ class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
137
+ <div
138
+ id="unique-install"
139
+ class="border-bottom:1px_solid_lightgrey"
140
+ scroll
141
+ scroll-intersect="color:dodgerblue"
142
+ scroll-target="#unique-install-section">
143
+ <span
144
+ class="display:flex align-items:center width:fit-content"
145
+ hover="display:block!important"
146
+ hover-target="[href='#unique-install']">
49
147
  <h2 class="padding:5px_0px">Install</h2>
50
- <a class="margin-left:10px display:none" href="#unique-install"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
148
+ <a
149
+ class="margin-left:10px display:none"
150
+ href="#unique-install"
151
+ ><i
152
+ class="height:20px fill:#505050"
153
+ src="/assets/svg/link.svg"></i
154
+ ></a>
51
155
  </span>
52
156
  </div>
53
- <pre><code class="language-bash">npm i @cocreate/unique</code></pre>
54
- <p class="padding:10px_0px line-height:1.5">Or you can use cdn link:</p>
55
- <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/unique/latest/CoCreate-unique.min.js&lt;/script&gt;</code></pre>
157
+ <pre><code class="language-bash">npm i @cocreate/unique</code></pre>
158
+ <p class="padding:10px_0px line-height:1.5">
159
+ Or you can use cdn link:
160
+ </p>
161
+ <pre><code class="language-html">&lt;script&gt;https://cdn.cocreate.app/unique/latest/CoCreate-unique.min.js&lt;/script&gt;</code></pre>
56
162
 
57
- <div id="unique-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#unique-usage-section">
58
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#unique-usage"]'>
163
+ <div
164
+ id="unique-usage"
165
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
166
+ scroll
167
+ scroll-intersect="color:dodgerblue"
168
+ scroll-target="#unique-usage-section">
169
+ <span
170
+ class="display:flex align-items:center width:fit-content"
171
+ hover="display:block!important"
172
+ hover-target="[href='#unique-usage']">
59
173
  <h2 class="padding:5px_0px">Usage</h2>
60
- <a class="margin-left:10px display:none" href="#unique-usage"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
174
+ <a
175
+ class="margin-left:10px display:none"
176
+ href="#unique-usage"
177
+ ><i
178
+ class="height:20px fill:#505050"
179
+ src="/assets/svg/link.svg"></i
180
+ ></a>
61
181
  </span>
62
182
  </div>
63
183
  <div class="">
64
- <p class="padding:10px_0px line-height:1.5">This is unique usage</p>
65
-
184
+ <p class="padding:10px_0px line-height:1.5">
185
+ This is unique usage
186
+ </p>
187
+
66
188
  <div class="flex-grow:1 min-width:300px width:100%">
67
189
  <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
68
190
  </div>
69
- <p class="padding:10px_0px line-height:1.5">This is unique usage</p>
70
- <p class="padding:10px_0px line-height:1.5">This is unique usage</p>
191
+ <p class="padding:10px_0px line-height:1.5">
192
+ This is unique usage
193
+ </p>
194
+ <p class="padding:10px_0px line-height:1.5">
195
+ This is unique usage
196
+ </p>
71
197
  </div>
72
- <div id="unique-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#unique-attributes-section">
73
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#unique-attributes"]'>
198
+ <div
199
+ id="unique-attributes"
200
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
201
+ scroll
202
+ scroll-intersect="color:dodgerblue"
203
+ scroll-target="#unique-attributes-section">
204
+ <span
205
+ class="display:flex align-items:center width:fit-content"
206
+ hover="display:block!important"
207
+ hover-target="[href='#unique-attributes']">
74
208
  <h2 class="padding:5px_0px">Attributes</h2>
75
- <a class="margin-left:10px display:none" href="#unique-attributes"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
209
+ <a
210
+ class="margin-left:10px display:none"
211
+ href="#unique-attributes"
212
+ ><i
213
+ class="height:20px fill:#505050"
214
+ src="/assets/svg/link.svg"></i
215
+ ></a>
76
216
  </span>
77
217
  </div>
78
- <ul class="list-style-type:none ">
79
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
80
- <h4><span>unique</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
218
+ <ul class="list-style-type:none">
219
+ <li
220
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
221
+ <h4>
222
+ <span>unique</span>
223
+ <span class="cocreate-badge success"
224
+ >string</span
225
+ >
226
+ <span class="cocreate-badge warning"
227
+ >optional</span
228
+ >
229
+ </h4>
81
230
  <p>unique-attribute</p>
82
231
  </li>
83
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
84
- <h4><span>unique</span> <span class="cocreate-badge success">string</span> <span class="cocreate-badge warning">optional</span></h4>
232
+ <li
233
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
234
+ <h4>
235
+ <span>unique</span>
236
+ <span class="cocreate-badge success"
237
+ >string</span
238
+ >
239
+ <span class="cocreate-badge warning"
240
+ >optional</span
241
+ >
242
+ </h4>
85
243
  <p>unique-attribute</p>
86
244
  </li>
87
245
  </ul>
88
246
  </div>
89
-
90
- <div class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
247
+
248
+ <div
249
+ class="flex-grow:1 width:300px padding:0px_10px margin-top:60px border-bottom:1px_solid_lightgrey">
91
250
  <!-- SandBox -->
92
- <div id="unique-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#unique-demo-section">
93
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#unique-demo"]'>
251
+ <div
252
+ id="unique-demo"
253
+ class="border-bottom:1px_solid_lightgrey"
254
+ scroll
255
+ scroll-intersect="color:dodgerblue"
256
+ scroll-target="#unique-demo-section">
257
+ <span
258
+ class="display:flex align-items:center width:fit-content"
259
+ hover="display:block!important"
260
+ hover-target="[href='#unique-demo']">
94
261
  <h2 class="padding:5px_0px">Demo</h2>
95
- <a class="margin-left:10px display:none" href="#unique-demo"><i class="height:20px fill:#505050" src="/assets/svg/link.svg"></i></a>
262
+ <a
263
+ class="margin-left:10px display:none"
264
+ href="#unique-demo"
265
+ ><i
266
+ class="height:20px fill:#505050"
267
+ src="/assets/svg/link.svg"></i
268
+ ></a>
96
269
  </span>
97
270
  </div>
98
- <div class="position:sticky top:0 padding:15px_0px height:100vh">
271
+ <div
272
+ class="position:sticky top:0 padding:15px_0px height:100vh">
99
273
  <!-- SandBox -->
100
- <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
101
-
102
- <div id="demo-code" resizable class="position:relative height:50%">
103
- <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" input-target=".demopreview" input-attribute="value" input-events="input, onload" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
104
- <div resize="bottom" class="background:lightgrey"></div>
274
+ <div
275
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
276
+ id="playground">
277
+ <div
278
+ id="demo-code"
279
+ resizable
280
+ class="position:relative height:50%">
281
+ <textarea
282
+ type="code"
283
+ lang="html"
284
+ collection="demos"
285
+ document_id=""
286
+ name="demo"
287
+ save="false"
288
+ id="demo"
289
+ input-target=".demopreview"
290
+ input-attribute="value"
291
+ input-events="input, onload"
292
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
293
+ <div
294
+ resize="bottom"
295
+ class="background:lightgrey"></div>
105
296
  </div>
106
-
107
- <div id="demo-preview" class="position:relative overflow:auto background-color:white">
108
- <div class="demopreview" class="padding:20px"></div>
297
+
298
+ <div
299
+ id="demo-preview"
300
+ class="position:relative overflow:auto background-color:white">
301
+ <div class="demopreview padding:20px"></div>
109
302
  </div>
110
-
111
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
112
- <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>
113
- <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>
114
- <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>
115
- <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>
116
- <a class="margin-right:5px" fullscreen fullscreen-target="#playground"></a>
303
+
304
+ <div
305
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
306
+ <a
307
+ class="margin-right:10px"
308
+ id="eye"
309
+ show="#eye-slash"
310
+ hide="#eye, #demo-preview"
311
+ toggle="code-height"
312
+ toggle-target="#demo-code"
313
+ ><i
314
+ class="height:18px fill:#505050"
315
+ src="/assets/svg/eye.svg"></i
316
+ ></a>
317
+ <a
318
+ class="margin-right:10px"
319
+ hidden
320
+ id="eye-slash"
321
+ show="#eye, #demo-preview"
322
+ hide="#eye-slash"
323
+ toggle="code-height"
324
+ toggle-target="#demo-code"
325
+ ><i
326
+ class="height:20px fill:#505050"
327
+ src="/assets/svg/eye-slash.svg"></i
328
+ ></a>
329
+ <a
330
+ class="margin-right:10px"
331
+ id="code"
332
+ show="#code-slash"
333
+ hide="#code, #demo-code"
334
+ ><i
335
+ class="height:20px fill:#505050"
336
+ src="/assets/svg/code.svg"></i
337
+ ></a>
338
+ <a
339
+ class="margin-right:10px"
340
+ hidden
341
+ id="code-slash"
342
+ show="#code, #demo-code"
343
+ hide="#code-slash"
344
+ ><i
345
+ class="display:flex height:18px fill:#505050"
346
+ src="/assets/svg/code.svg"></i
347
+ ></a>
348
+ <a
349
+ class="margin-right:5px"
350
+ fullscreen
351
+ fullscreen-target="#playground"></a>
117
352
  </div>
118
-
119
353
  </div>
120
354
  <!-- End SandBox -->
121
- </div>
355
+ </div>
122
356
  </div>
123
-
124
- </div>
125
- <button href="https://github.com/CoCreate-app/CoCreate-unique/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)">
126
- <i class="height:20px fill:#505050" src="/assets/svg/pencil-alt.svg"></i>
127
- </button>
128
- </main>
129
-
130
- <script src="./apikey.js"></script>
357
+ </div>
358
+ <button
359
+ href="https://github.com/CoCreate-app/CoCreate-unique/tree/master/docs/index.html?message=docs%3A%20describe%20your%20change..."
360
+ target="_blank"
361
+ 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)">
362
+ <i
363
+ class="height:20px fill:#505050"
364
+ src="/assets/svg/pencil-alt.svg"></i>
365
+ </button>
366
+ </main>
367
+
368
+ <script src="./apikey.js"></script>
131
369
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
132
-
133
370
  </body>
134
- </html>
371
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/unique",
3
- "version": "1.11.3",
3
+ "version": "1.11.5",
4
4
  "description": "A simple unique component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "unique",
@@ -59,8 +59,8 @@
59
59
  "webpack-log": "^3.0.1"
60
60
  },
61
61
  "dependencies": {
62
- "@cocreate/crud-client": "^1.21.3",
63
- "@cocreate/docs": "^1.7.11",
64
- "@cocreate/uuid": "^1.4.10"
62
+ "@cocreate/crud-client": "^1.21.5",
63
+ "@cocreate/docs": "^1.7.13",
64
+ "@cocreate/uuid": "^1.4.11"
65
65
  }
66
66
  }