@cocreate/authorize 1.2.0 → 1.2.2

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/README.md CHANGED
@@ -1,70 +1,70 @@
1
- # CoCreate-authorize
2
-
3
- A simple authorize component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/authorize)
4
-
5
- ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-authorize?style=flat-square)
6
- ![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-authorize?style=flat-square)
7
- ![GitHub](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
8
-
9
- ![CoCreate-authorize](https://cdn.cocreate.app/docs/CoCreate-authorize.gif)
10
-
11
- ## [Docs & Demo](https://cocreate.app/docs/authorize)
12
-
13
- For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/authorize)
14
-
15
- ## NPM
16
-
17
- ```shell
18
- $ npm i @cocreate/authorize
19
- ```
20
-
21
- ## Yarn
22
-
23
- ```shell
24
- $ yarn add @cocreate/authorize
25
- ```
26
-
27
- # Table of Contents
28
-
29
- - [Table of Contents](#table-of-contents)
30
- - [Announcements](#announcements)
31
- - [Roadmap](#roadmap)
32
- - [How to Contribute](#how-to-contribute)
33
- - [About](#about)
34
- - [License](#license)
35
-
36
- <a name="announcements"></a>
37
-
38
- # Announcements
39
-
40
- All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-authorize/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-authorize/releases). You may also subscribe to email for releases and breaking changes.
41
-
42
- <a name="roadmap"></a>
43
-
44
- # Roadmap
45
-
46
- If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-authorize/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-authorize/pulls). We would love to hear your feedback.
47
-
48
- <a name="about"></a>
49
-
50
- # About
51
-
52
- CoCreate-authorize is guided and supported by the CoCreate Developer Experience Team.
53
-
54
- Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
55
-
56
- CoCreate-authorize is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
57
-
58
- <a name="contribute"></a>
59
-
60
- # How to Contribute
61
-
62
- We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-authorize/blob/master/CONTRIBUTING.md) guide for details.
63
-
64
- We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-authorize/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-authorize/pulls) or merely upvote or comment on existing issues or pull requests.
65
-
66
- We appreciate your continued support, thank you!
67
-
68
- # License
69
-
70
- [Server Side Public License (SSPL)](https://github.com/CoCreate-app/CoCreate-authorize/blob/master/LICENSE)
1
+ # CoCreate-authorize
2
+
3
+ A simple authorize component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/authorize)
4
+
5
+ ![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-authorize?style=flat-square)
6
+ ![GitHub](https://img.shields.io/github/license/CoCreate-app/CoCreate-authorize?style=flat-square)
7
+ ![GitHub](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
8
+
9
+ ![CoCreate-authorize](https://cdn.cocreate.app/docs/CoCreate-authorize.gif)
10
+
11
+ ## [Docs & Demo](https://cocreate.app/docs/authorize)
12
+
13
+ For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/authorize)
14
+
15
+ ## NPM
16
+
17
+ ```shell
18
+ $ npm i @cocreate/authorize
19
+ ```
20
+
21
+ ## Yarn
22
+
23
+ ```shell
24
+ $ yarn add @cocreate/authorize
25
+ ```
26
+
27
+ # Table of Contents
28
+
29
+ - [Table of Contents](#table-of-contents)
30
+ - [Announcements](#announcements)
31
+ - [Roadmap](#roadmap)
32
+ - [How to Contribute](#how-to-contribute)
33
+ - [About](#about)
34
+ - [License](#license)
35
+
36
+ <a name="announcements"></a>
37
+
38
+ # Announcements
39
+
40
+ All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-authorize/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-authorize/releases). You may also subscribe to email for releases and breaking changes.
41
+
42
+ <a name="roadmap"></a>
43
+
44
+ # Roadmap
45
+
46
+ If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-authorize/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-authorize/pulls). We would love to hear your feedback.
47
+
48
+ <a name="about"></a>
49
+
50
+ # About
51
+
52
+ CoCreate-authorize is guided and supported by the CoCreate Developer Experience Team.
53
+
54
+ Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
55
+
56
+ CoCreate-authorize is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
57
+
58
+ <a name="contribute"></a>
59
+
60
+ # How to Contribute
61
+
62
+ We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-authorize/blob/master/CONTRIBUTING.md) guide for details.
63
+
64
+ We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-authorize/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-authorize/pulls) or merely upvote or comment on existing issues or pull requests.
65
+
66
+ We appreciate your continued support, thank you!
67
+
68
+ # License
69
+
70
+ [Server Side Public License (SSPL)](https://github.com/CoCreate-app/CoCreate-authorize/blob/master/LICENSE)
package/docs/index.html CHANGED
@@ -1,232 +1,232 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
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-authorize 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 data-attributes and highly styleable." />
16
- <meta
17
- name="keywords"
18
- content="helper classes, utility classes, css framework, css library, inline style classes" />
19
- <meta name="robots" content="index,follow" />
20
-
21
- <!-- CoCreate CSS -->
22
- <link
23
- rel="stylesheet"
24
- href="https://cdn.cocreate.app/latest/CoCreate.min.css"
25
- type="text/css" />
26
-
27
- <link rel="manifest" href="/manifest.json" />
28
- </head>
29
-
30
- <body>
31
- <div collection="" document_id="" name="" id="cocreate-authorize">
32
- <div
33
- class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
34
- <div class="display:flex align-items:center">
35
- <h2>CoCreate-authorize</h2>
36
- </div>
37
- <div
38
- class="display:flex align-items:center font-size:20px"
39
- share-height="600"
40
- share-width="500"
41
- share-media="https://via.placeholder.com/300/09f/fff.png">
42
- <a
43
- href="https://github.com/CoCreate-app/CoCreate-authorize"
44
- target="_blank"
45
- class="margin-right:15px"
46
- ><i class="fab fa-github"></i
47
- ></a>
48
- <a
49
- class="margin-right:15px share"
50
- share-network="twitter"
51
- title="Share on twitter"
52
- ><i class="fab fa-twitter"></i
53
- ></a>
54
- <a
55
- class="margin-right:15px share"
56
- share-network="facebook"
57
- title="Share on Facebook"
58
- ><i class="fab fa-facebook"></i
59
- ></a>
60
- <a
61
- class="margin-right:15px share"
62
- share-network="instagram"
63
- title="Share on instagram"
64
- ><i class="fab fa-instagram"></i
65
- ></a>
66
- <a
67
- class="margin-right:15px share"
68
- share-network="share"
69
- title="Share on share"
70
- ><i class="fas fa-share-alt"></i
71
- ></a>
72
- </div>
73
- </div>
74
- <h1 class="max-width:500px margin:20px_10px">
75
- A simple HTML5, CSS and pure javascript component. Easy
76
- configuration using data-attributes and highly styleable.
77
- </h1>
78
- <div id="authorize-section" class="display:flex flex-wrap:wrap">
79
- <div
80
- class="flex-grow:1 min-width:300px width:50% padding:20px_10px">
81
- <h2
82
- class="border-bottom:1px_solid_lightgrey padding:5px_0px">
83
- Install
84
- </h2>
85
- <pre
86
- class="margin-top:15px"><code class="language-javascript">npm install cocreate-authorize</code></pre>
87
- <p class="padding:10px_0px">Or you can use cdn link:</p>
88
- <pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-authorize.min.js</code></pre>
89
-
90
- <h2
91
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
92
- Usage
93
- </h2>
94
- <p class="padding:10px_0px">authorize usage content</p>
95
- <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
96
-
97
- <h2
98
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
99
- Reference
100
- </h2>
101
- <p class="padding:10px_0px">
102
- This is authorize reference content
103
- </p>
104
- <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
105
- <p class="padding:10px_0px">
106
- This is authorize reference content
107
- </p>
108
-
109
- <h2
110
- class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
111
- Attributes
112
- </h2>
113
- <ul class="list-style-type:none">
114
- <li
115
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
116
- <h4>
117
- <span>authorize</span>
118
- <span class="cocreate-badge success"
119
- >string</span
120
- >
121
- <span class="cocreate-badge warning"
122
- >optional</span
123
- >
124
- </h4>
125
- <p>authorize-attribute</p>
126
- </li>
127
- <li
128
- class="padding:15px_0px border-bottom:1px_solid_lightgrey">
129
- <h4>
130
- <span>authorize</span>
131
- <span class="cocreate-badge success"
132
- >string</span
133
- >
134
- <span class="cocreate-badge warning"
135
- >optional</span
136
- >
137
- </h4>
138
- <p>authorize-attribute</p>
139
- </li>
140
- </ul>
141
- </div>
142
-
143
- <div
144
- class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
145
- <!-- SandBox -->
146
- <div
147
- class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
148
- id="playground">
149
- <div
150
- id="demo-code"
151
- resizable
152
- class="position:relative height:50%">
153
- <textarea
154
- type="code"
155
- lang="html"
156
- collection="demos"
157
- document_id=""
158
- name="demo"
159
- save="false"
160
- id="demo"
161
- class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
162
- <div
163
- resize="bottom"
164
- class="background:lightgrey"></div>
165
- </div>
166
-
167
- <div
168
- id="demo-preview"
169
- class="position:relative overflow:auto background-color:white">
170
- <div get-value="#demo" class="padding:20px"></div>
171
- </div>
172
-
173
- <div
174
- class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
175
- <a
176
- class="margin-right:10px"
177
- id="eye"
178
- show="#eye-slash"
179
- hide="#eye, #demo-preview"
180
- toggle="code-height"
181
- toggle-target="#demo-code"
182
- ><i class="far fa-eye"></i
183
- ></a>
184
- <a
185
- class="margin-right:10px"
186
- hidden
187
- id="eye-slash"
188
- show="#eye, #demo-preview"
189
- hide="#eye-slash"
190
- toggle="code-height"
191
- toggle-target="#demo-code"
192
- ><i class="fas fa-eye-slash"></i
193
- ></a>
194
- <a
195
- class="margin-right:10px"
196
- id="code"
197
- show="#code-slash"
198
- hide="#code, #demo-code"
199
- ><i class="fa fa-code"></i
200
- ></a>
201
- <a
202
- class="margin-right:10px"
203
- hidden
204
- id="code-slash"
205
- show="#code, #demo-code"
206
- hide="#code-slash"
207
- ><i class="fas fa-code"></i
208
- ></a>
209
- <a
210
- class="margin-right:5px"
211
- fullscreen
212
- target="#playground"
213
- ><i class="fas fa-expand"></i
214
- ></a>
215
- </div>
216
- </div>
217
- <!-- End SandBox -->
218
- </div>
219
- </div>
220
- </div>
221
-
222
- <script>
223
- var CoCreateConfig = {
224
- key: "2061acef-0451-4545-f754-60cf8160",
225
- organization_id: "5ff747727005da1c272740ab",
226
- };
227
- </script>
228
-
229
- <!--CoCreateJS-->
230
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
231
- </body>
232
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
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-authorize 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 data-attributes and highly styleable." />
16
+ <meta
17
+ name="keywords"
18
+ content="helper classes, utility classes, css framework, css library, inline style classes" />
19
+ <meta name="robots" content="index,follow" />
20
+
21
+ <!-- CoCreate CSS -->
22
+ <link
23
+ rel="stylesheet"
24
+ href="https://cdn.cocreate.app/latest/CoCreate.min.css"
25
+ type="text/css" />
26
+
27
+ <link rel="manifest" href="/manifest.json" />
28
+ </head>
29
+
30
+ <body>
31
+ <div collection="" document_id="" name="" id="cocreate-authorize">
32
+ <div
33
+ class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
34
+ <div class="display:flex align-items:center">
35
+ <h2>CoCreate-authorize</h2>
36
+ </div>
37
+ <div
38
+ class="display:flex align-items:center font-size:20px"
39
+ share-height="600"
40
+ share-width="500"
41
+ share-media="https://via.placeholder.com/300/09f/fff.png">
42
+ <a
43
+ href="https://github.com/CoCreate-app/CoCreate-authorize"
44
+ target="_blank"
45
+ class="margin-right:15px"
46
+ ><i class="fab fa-github"></i
47
+ ></a>
48
+ <a
49
+ class="margin-right:15px share"
50
+ share-network="twitter"
51
+ title="Share on twitter"
52
+ ><i class="fab fa-twitter"></i
53
+ ></a>
54
+ <a
55
+ class="margin-right:15px share"
56
+ share-network="facebook"
57
+ title="Share on Facebook"
58
+ ><i class="fab fa-facebook"></i
59
+ ></a>
60
+ <a
61
+ class="margin-right:15px share"
62
+ share-network="instagram"
63
+ title="Share on instagram"
64
+ ><i class="fab fa-instagram"></i
65
+ ></a>
66
+ <a
67
+ class="margin-right:15px share"
68
+ share-network="share"
69
+ title="Share on share"
70
+ ><i class="fas fa-share-alt"></i
71
+ ></a>
72
+ </div>
73
+ </div>
74
+ <h1 class="max-width:500px margin:20px_10px">
75
+ A simple HTML5, CSS and pure javascript component. Easy
76
+ configuration using data-attributes and highly styleable.
77
+ </h1>
78
+ <div id="authorize-section" class="display:flex flex-wrap:wrap">
79
+ <div
80
+ class="flex-grow:1 min-width:300px width:50% padding:20px_10px">
81
+ <h2
82
+ class="border-bottom:1px_solid_lightgrey padding:5px_0px">
83
+ Install
84
+ </h2>
85
+ <pre
86
+ class="margin-top:15px"><code class="language-javascript">npm install cocreate-authorize</code></pre>
87
+ <p class="padding:10px_0px">Or you can use cdn link:</p>
88
+ <pre><code class="language-javascript">https://cdn.cocreate.app/js/CoCreate-authorize.min.js</code></pre>
89
+
90
+ <h2
91
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
92
+ Usage
93
+ </h2>
94
+ <p class="padding:10px_0px">authorize usage content</p>
95
+ <pre><code class="language-html">&lt;div&gt;&lt;/div&gt;</code></pre>
96
+
97
+ <h2
98
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
99
+ Reference
100
+ </h2>
101
+ <p class="padding:10px_0px">
102
+ This is authorize reference content
103
+ </p>
104
+ <pre><code class="language-javascript">&lt;div&gt;&lt;/div&gt;</code></pre>
105
+ <p class="padding:10px_0px">
106
+ This is authorize reference content
107
+ </p>
108
+
109
+ <h2
110
+ class="border-bottom:1px_solid_lightgrey margin-top:20px padding:5px_0px">
111
+ Attributes
112
+ </h2>
113
+ <ul class="list-style-type:none">
114
+ <li
115
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
116
+ <h4>
117
+ <span>authorize</span>
118
+ <span class="cocreate-badge success"
119
+ >string</span
120
+ >
121
+ <span class="cocreate-badge warning"
122
+ >optional</span
123
+ >
124
+ </h4>
125
+ <p>authorize-attribute</p>
126
+ </li>
127
+ <li
128
+ class="padding:15px_0px border-bottom:1px_solid_lightgrey">
129
+ <h4>
130
+ <span>authorize</span>
131
+ <span class="cocreate-badge success"
132
+ >string</span
133
+ >
134
+ <span class="cocreate-badge warning"
135
+ >optional</span
136
+ >
137
+ </h4>
138
+ <p>authorize-attribute</p>
139
+ </li>
140
+ </ul>
141
+ </div>
142
+
143
+ <div
144
+ class="flex-grow:1 min-width:300px width:50% padding:0px_10px margin:20px_0px border-bottom:1px_solid_lightgrey">
145
+ <!-- SandBox -->
146
+ <div
147
+ class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px"
148
+ id="playground">
149
+ <div
150
+ id="demo-code"
151
+ resizable
152
+ class="position:relative height:50%">
153
+ <textarea
154
+ type="code"
155
+ lang="html"
156
+ collection="demos"
157
+ document_id=""
158
+ name="demo"
159
+ save="false"
160
+ id="demo"
161
+ class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
162
+ <div
163
+ resize="bottom"
164
+ class="background:lightgrey"></div>
165
+ </div>
166
+
167
+ <div
168
+ id="demo-preview"
169
+ class="position:relative overflow:auto background-color:white">
170
+ <div get-value="#demo" class="padding:20px"></div>
171
+ </div>
172
+
173
+ <div
174
+ class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
175
+ <a
176
+ class="margin-right:10px"
177
+ id="eye"
178
+ show="#eye-slash"
179
+ hide="#eye, #demo-preview"
180
+ toggle="code-height"
181
+ toggle-target="#demo-code"
182
+ ><i class="far fa-eye"></i
183
+ ></a>
184
+ <a
185
+ class="margin-right:10px"
186
+ hidden
187
+ id="eye-slash"
188
+ show="#eye, #demo-preview"
189
+ hide="#eye-slash"
190
+ toggle="code-height"
191
+ toggle-target="#demo-code"
192
+ ><i class="fas fa-eye-slash"></i
193
+ ></a>
194
+ <a
195
+ class="margin-right:10px"
196
+ id="code"
197
+ show="#code-slash"
198
+ hide="#code, #demo-code"
199
+ ><i class="fa fa-code"></i
200
+ ></a>
201
+ <a
202
+ class="margin-right:10px"
203
+ hidden
204
+ id="code-slash"
205
+ show="#code, #demo-code"
206
+ hide="#code-slash"
207
+ ><i class="fas fa-code"></i
208
+ ></a>
209
+ <a
210
+ class="margin-right:5px"
211
+ fullscreen
212
+ target="#playground"
213
+ ><i class="fas fa-expand"></i
214
+ ></a>
215
+ </div>
216
+ </div>
217
+ <!-- End SandBox -->
218
+ </div>
219
+ </div>
220
+ </div>
221
+
222
+ <script>
223
+ var CoCreateConfig = {
224
+ key: "2061acef-0451-4545-f754-60cf8160",
225
+ organization_id: "5ff747727005da1c272740ab",
226
+ };
227
+ </script>
228
+
229
+ <!--CoCreateJS-->
230
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
231
+ </body>
232
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/authorize",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "A simple authorize component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "authorize",
@@ -46,8 +46,8 @@
46
46
  "main": "./src/index.js",
47
47
  "devDependencies": {},
48
48
  "dependencies": {
49
- "@cocreate/crud-client": "^1.21.5",
50
- "@cocreate/docs": "^1.7.13",
51
- "@cocreate/utils": "^1.20.10"
49
+ "@cocreate/crud-client": "^1.21.8",
50
+ "@cocreate/docs": "^1.7.15",
51
+ "@cocreate/utils": "^1.21.1"
52
52
  }
53
53
  }