@cocreate/users 1.22.8 → 1.22.9

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,11 @@
1
+ ## [1.22.9](https://github.com/CoCreate-app/CoCreate-users/compare/v1.22.8...v1.22.9) (2023-06-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * format demo html ([f35ed1a](https://github.com/CoCreate-app/CoCreate-users/commit/f35ed1a39d546047f58912c39d7a51fc4d28d9ae))
7
+ * Update dependencies versions for [@cocreate](https://github.com/cocreate) libraries ([1cd1125](https://github.com/CoCreate-app/CoCreate-users/commit/1cd1125dee02acd064f1ed500ed7a59ab5a78e8f))
8
+
1
9
  ## [1.22.8](https://github.com/CoCreate-app/CoCreate-users/compare/v1.22.7...v1.22.8) (2023-06-01)
2
10
 
3
11
 
package/demo/signin.html CHANGED
@@ -1,83 +1,132 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <title>signIn | CoCreateJS</title>
5
-
6
- <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
7
- <link rel="stylesheet" href="../index.css" collection="files" document_id="637bc8fe91249e639db315d9" name="src" type="text/css"/>
8
- <link rel="manifest" href="/manifest.webmanifest">
9
- </head>
3
+ <head>
4
+ <title>signIn | CoCreateJS</title>
10
5
 
11
- <body style='background-image: url("https://cdn.cocreate.app/background.png");'>
12
- <a href="./signout.html" session="true" hidden></a>
6
+ <link
7
+ rel="icon"
8
+ href="https://cdn.cocreate.app/favicon.ico"
9
+ type="image/ico"
10
+ sizes="16x16" />
11
+ <link
12
+ rel="stylesheet"
13
+ href="../index.css"
14
+ collection="files"
15
+ document_id="637bc8fe91249e639db315d9"
16
+ name="src"
17
+ type="text/css" />
18
+ <link rel="manifest" href="/manifest.webmanifest" />
19
+ </head>
13
20
 
14
- <a href="./signup.html" title="" class="position:relative z-index:1 float:right margin:15px margin-left:auto color:white">Sign Up</a>
21
+ <body
22
+ style="
23
+ background-image: url('https://cdn.cocreate.app/background.png');
24
+ ">
25
+ <a href="./signout.html" session="true" hidden></a>
15
26
 
16
- <div class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
17
- <div class="flex-grow:1 min-width:300px max-width:400px margin:15px">
18
-
19
- <form realtime="false" collection="users" id="signin">
20
- <div class="overflow:hidden padding:0px_25px background:white">
21
- <div class="float:left width:75% padding-top:25px">
22
- <h3>Sign In</h3>
23
- </div>
24
- <div class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
25
- <i class="height:20px fill:#505050" src="/assets/svg/sign-in-alt.svg"></i>
26
- </div>
27
- </div>
28
- <div class="padding:25px background:gainsboro text-align:left">
29
-
30
- <floating-label>
31
- <input type="email" name='email' placeholder="Email" class="floating-label">
32
- </floating-label>
33
-
34
- <floating-label>
35
- <input type="password" name='password' placeholder="Password" class="floating-label">
36
- </floating-label>
37
-
38
- <button actions="signIn" href="signout.html" class="outline">Sign In</button>
27
+ <a
28
+ href="./signup.html"
29
+ title=""
30
+ class="position:relative z-index:1 float:right margin:15px margin-left:auto color:white"
31
+ >Sign Up</a
32
+ >
39
33
 
40
- <a show='#forgotpass' hide='#signin'>Forgot Password</a>
41
- </div>
42
- </form>
43
-
44
- <form collection="users" hidden id="forgotpass">
45
- <div class="overflow:hidden padding:0px_25px background:white">
46
- <div class="float:left width:75% padding-top:25px">
47
- <h3>Password Recovery</h3>
48
- </div>
49
- <div class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
50
- <i class="height:20px fill:#505050" src="/assets/svg/key.svg"></i>
51
- </div>
52
- </div>
53
- <div class="padding:25px background:gainsboro text-align:left">
54
- <floating-label>
55
- <input type="email" name='email' id="email" placeholder="Email" class="floating-label">
56
- </floating-label>
57
-
58
- <button class="outline">
59
- <a>Send Email</a>
60
- </button>
61
-
62
- <a show='#signin' hide='#forgotpass'>Sign In</a>
63
- </div>
64
- </form>
65
-
66
- </div>
67
- </div>
68
-
69
- <div class="position:fixed!important bottom:15px right:15px">
70
- <div template="signIn" class="card margin:5px padding:10px {{status}}">
71
- <span class="{{type}}">{{message}}</span><a actions="removeElement"> X</a>
72
- </div>
73
-
74
- <div template="notification" class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
75
- <span class="{{type}}">{{message}}</span><a actions="removeElement"> X</a>
76
- </div>
77
- </div>
78
-
34
+ <div
35
+ class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
36
+ <div
37
+ class="flex-grow:1 min-width:300px max-width:400px margin:15px">
38
+ <form realtime="false" collection="users" id="signin">
39
+ <div
40
+ class="overflow:hidden padding:0px_25px background:white">
41
+ <div class="float:left width:75% padding-top:25px">
42
+ <h3>Sign In</h3>
43
+ </div>
44
+ <div
45
+ class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
46
+ <i
47
+ class="height:20px fill:#505050"
48
+ src="/assets/svg/sign-in-alt.svg"></i>
49
+ </div>
50
+ </div>
51
+ <div
52
+ class="padding:25px background:gainsboro text-align:left">
53
+ <floating-label>
54
+ <input
55
+ type="email"
56
+ name="email"
57
+ placeholder="Email"
58
+ class="floating-label" />
59
+ </floating-label>
79
60
 
80
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
61
+ <floating-label>
62
+ <input
63
+ type="password"
64
+ name="password"
65
+ placeholder="Password"
66
+ class="floating-label" />
67
+ </floating-label>
68
+
69
+ <button
70
+ actions="signIn"
71
+ href="signout.html"
72
+ class="outline">
73
+ Sign In
74
+ </button>
75
+
76
+ <a show="#forgotpass" hide="#signin">Forgot Password</a>
77
+ </div>
78
+ </form>
79
+
80
+ <form collection="users" hidden id="forgotpass">
81
+ <div
82
+ class="overflow:hidden padding:0px_25px background:white">
83
+ <div class="float:left width:75% padding-top:25px">
84
+ <h3>Password Recovery</h3>
85
+ </div>
86
+ <div
87
+ class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
88
+ <i
89
+ class="height:20px fill:#505050"
90
+ src="/assets/svg/key.svg"></i>
91
+ </div>
92
+ </div>
93
+ <div
94
+ class="padding:25px background:gainsboro text-align:left">
95
+ <floating-label>
96
+ <input
97
+ type="email"
98
+ name="email"
99
+ id="email"
100
+ placeholder="Email"
101
+ class="floating-label" />
102
+ </floating-label>
103
+
104
+ <button class="outline">
105
+ <a>Send Email</a>
106
+ </button>
81
107
 
108
+ <a show="#signin" hide="#forgotpass">Sign In</a>
109
+ </div>
110
+ </form>
111
+ </div>
112
+ </div>
113
+
114
+ <div class="position:fixed!important bottom:15px right:15px">
115
+ <div
116
+ template="signIn"
117
+ class="card margin:5px padding:10px {{status}}">
118
+ <span class="{{type}}">{{message}}</span
119
+ ><a actions="removeElement"> X</a>
120
+ </div>
121
+
122
+ <div
123
+ template="notification"
124
+ class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
125
+ <span class="{{type}}">{{message}}</span
126
+ ><a actions="removeElement"> X</a>
127
+ </div>
128
+ </div>
129
+
130
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
82
131
  </body>
83
- </html>
132
+ </html>
package/demo/signout.html CHANGED
@@ -1,39 +1,61 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
- <head>
4
- <title>Sign Out | CoCreateJS</title>
5
-
6
- <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
7
- <link rel="stylesheet" href="../index.css" collection="files" document_id="637bc8fe91249e639db315d9" name="src" type="text/css"/>
8
- <link rel="manifest" href="/manifest.webmanifest">
9
- </head>
3
+ <head>
4
+ <title>Sign Out | CoCreateJS</title>
10
5
 
11
- <body style='background-image: url("https://cdn.cocreate.app/background.png");'>
12
- <a href="./signin.html" session="false" hidden></a>
6
+ <link
7
+ rel="icon"
8
+ href="https://cdn.cocreate.app/favicon.ico"
9
+ type="image/ico"
10
+ sizes="16x16" />
11
+ <link
12
+ rel="stylesheet"
13
+ href="../index.css"
14
+ collection="files"
15
+ document_id="637bc8fe91249e639db315d9"
16
+ name="src"
17
+ type="text/css" />
18
+ <link rel="manifest" href="/manifest.webmanifest" />
19
+ </head>
13
20
 
14
- <div class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
15
- <div class="flex-grow:1 min-width:300px max-width:400px margin:15px">
21
+ <body
22
+ style="
23
+ background-image: url('https://cdn.cocreate.app/background.png');
24
+ ">
25
+ <a href="./signin.html" session="false" hidden></a>
26
+
27
+ <div
28
+ class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
29
+ <div
30
+ class="flex-grow:1 min-width:300px max-width:400px margin:15px">
16
31
  <div class="overflow:hidden padding:0px_25px background:white">
17
32
  <div class="float:left width:75% padding-top:25px">
18
33
  <h3>You are logged in</h3>
19
34
  </div>
20
- <div class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
21
- <i class="height:20px fill:#505050" src="/assets/svg/sign-in-alt.svg"></i>
35
+ <div
36
+ class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
37
+ <i
38
+ class="height:20px fill:#505050"
39
+ src="/assets/svg/sign-in-alt.svg"></i>
22
40
  </div>
23
41
  </div>
24
42
  <div class="padding:25px background:gainsboro text-align:left">
25
- <button actions="signOut" href="./signin.html">Sign Out</button>
43
+ <button actions="signOut" href="./signin.html">
44
+ Sign Out
45
+ </button>
26
46
  </div>
27
- </div>
28
- </div>
29
-
30
- <div class="position:fixed!important bottom:15px right:15px">
31
- <div template="notification" class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
32
- <span class="{{type}}">{{message}}</span><a actions="removeElement"> X</a>
33
- </div>
34
- </div>
35
-
36
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
47
+ </div>
48
+ </div>
37
49
 
50
+ <div class="position:fixed!important bottom:15px right:15px">
51
+ <div
52
+ template="notification"
53
+ class="card position:fixed!important bottom:15px right:15px padding:10px {{status}}">
54
+ <span class="{{type}}">{{message}}</span
55
+ ><a actions="removeElement"> X</a>
56
+ </div>
57
+ </div>
58
+
59
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
38
60
  </body>
39
- </html>
61
+ </html>
package/demo/signup.html CHANGED
@@ -1,103 +1,161 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
-
4
3
  <head>
5
- <meta charset="utf-8">
6
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
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" />
8
7
  <title>Sign Up | CoCreate</title>
9
- <link rel="icon" type="image/png" sizes="32x32" href="assets/favicon.ico">
10
- <link rel="stylesheet" href="../index.css" collection="files" document_id="637bc8fe91249e639db315d9" name="src" type="text/css"/>
11
- <link rel="manifest" href="/manifest.webmanifest" />
12
- </head>
13
-
8
+ <link
9
+ rel="icon"
10
+ type="image/png"
11
+ sizes="32x32"
12
+ href="assets/favicon.ico" />
13
+ <link
14
+ rel="stylesheet"
15
+ href="../index.css"
16
+ collection="files"
17
+ document_id="637bc8fe91249e639db315d9"
18
+ name="src"
19
+ type="text/css" />
20
+ <link rel="manifest" href="/manifest.webmanifest" />
21
+ </head>
22
+
14
23
  <style>
15
- .speech-bubble:after { content: ''; position: absolute; top: 0; left: 50%; width: 0; height: 0; border: 23px solid transparent; border-bottom-color: #ffffff; border-top: 0; margin-left: -23px; margin-top: -23px;}
16
- </style>
24
+ .speech-bubble:after {
25
+ content: "";
26
+ position: absolute;
27
+ top: 0;
28
+ left: 50%;
29
+ width: 0;
30
+ height: 0;
31
+ border: 23px solid transparent;
32
+ border-bottom-color: #ffffff;
33
+ border-top: 0;
34
+ margin-left: -23px;
35
+ margin-top: -23px;
36
+ }
37
+ </style>
38
+
39
+ <body
40
+ style="
41
+ background: url('https://cdn.cocreate.app/background.png') no-repeat
42
+ fixed;
43
+ -webkit-background-size: cover;
44
+ -moz-background-size: cover;
45
+ -o-background-size: cover;
46
+ background-size: cover;
47
+ ">
48
+ <a href="./index.html" session="true" hidden></a>
49
+
50
+ <a
51
+ href="./signin.html"
52
+ title=""
53
+ class="position:relative z-index:1 float:right margin:15px margin-left:auto color:white"
54
+ >Sign In</a
55
+ >
17
56
 
18
- <body style='background: url("https://cdn.cocreate.app/background.png") no-repeat fixed;-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;'>
19
- <a href="./index.html" session="true" hidden></a>
57
+ <main
58
+ class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
59
+ <div
60
+ class="flex-grow:1 min-width:300px max-width:400px margin:15px">
61
+ <form realtime="false" autocomplete="off">
62
+ <section>
63
+ <div
64
+ class="overflow:hidden padding:0px_25px background:white">
65
+ <div class="float:left width:75% padding-top:25px">
66
+ <h3>Sign UP</h3>
67
+ </div>
68
+ <div
69
+ class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
70
+ <i
71
+ class="height:70px fill:#505050"
72
+ src="/assets/svg/key.svg"></i>
73
+ </div>
74
+ </div>
75
+ <div
76
+ class="padding:25px background:gainsboro text-align:left">
77
+ <floating-label>
78
+ <input
79
+ type="text"
80
+ id="name"
81
+ collection="users"
82
+ document_id=""
83
+ name="name"
84
+ placeholder="Full Name"
85
+ class="floating-label"
86
+ autocomplete="off"
87
+ required />
88
+ </floating-label>
89
+ <floating-label>
90
+ <input
91
+ type="email"
92
+ id="email"
93
+ collection="users"
94
+ unique
95
+ document_id=""
96
+ name="email"
97
+ placeholder="Email"
98
+ class="floating-label"
99
+ required />
100
+ </floating-label>
101
+ <small id="errorUemail" class="text-danger"></small>
20
102
 
21
- <a href="./signin.html" title="" class="position:relative z-index:1 float:right margin:15px margin-left:auto color:white">Sign In</a>
103
+ <floating-label>
104
+ <input
105
+ type="password"
106
+ id="password"
107
+ collection="users"
108
+ document_id=""
109
+ name="password"
110
+ placeholder="Password"
111
+ class="floating-label" />
112
+ </floating-label>
113
+ <small
114
+ id="errorUpassword"
115
+ class="text-danger"></small>
22
116
 
23
- <main class="justify-content:center align-items:center overflow:auto display:flex flex-wrap:wrap position:absolute width:100% height:100%">
24
- <div class="flex-grow:1 min-width:300px max-width:400px margin:15px">
25
-
26
- <form realtime="false" autocomplete="off">
117
+ <floating-label>
118
+ <input
119
+ type="password"
120
+ matches="#password"
121
+ placeholder="Confirm Password"
122
+ class="floating-label" />
123
+ </floating-label>
124
+ <small
125
+ id="errorUconfirmpassword"
126
+ class="text-danger"></small>
27
127
 
28
- <section>
29
- <div class="overflow:hidden padding:0px_25px background:white">
30
- <div class="float:left width:75% padding-top:25px">
31
- <h3>Sign UP</h3>
32
- </div>
33
- <div class="float:right width:25% padding-top:5px font-size:70px line-height:100px text-align:right color:very-light-gray">
34
- <i class="height:70px fill:#505050" src="/assets/svg/key.svg"></i>
35
- </div>
36
- </div>
37
- <div class="padding:25px background:gainsboro text-align:left">
38
- <floating-label>
39
- <input type="text" id="name"
40
- collection="users"
41
- document_id=""
42
- name="name"
43
- placeholder="Full Name"
44
- class="floating-label"
45
- autocomplete="off"
46
- required>
47
- </floating-label>
48
- <floating-label>
49
- <input type="email" id="email"
50
- collection="users"
51
- unique
52
- document_id=""
53
- name='email'
54
- placeholder="Email"
55
- class="floating-label"
56
- required>
57
- </floating-label>
58
- <small id="errorUemail" class="text-danger"></small>
59
-
60
- <floating-label>
61
- <input type="password" id="password"
62
- collection="users"
63
- document_id=""
64
- name="password"
65
- placeholder="Password"
66
- class="floating-label">
67
- </floating-label>
68
- <small id="errorUpassword" class="text-danger"></small>
69
-
70
- <floating-label>
71
- <input type="password"
72
- matches="#password"
73
- placeholder="Confirm Password"
74
- class="floating-label">
75
- </floating-label>
76
- <small id="errorUconfirmpassword" class="text-danger"></small>
77
-
78
- <div class="display:flex">
79
- <button type="button" class="outline red-white" actions="validate, signUp, signIn" href="signout.html">
80
- Sign Up
81
- </button>
82
- </div>
83
-
84
- </div>
85
- </section>
86
- </form>
87
- </div>
88
- </main>
89
-
90
- <div class="position:fixed!important bottom:15px right:15px">
91
- <div template="validate" class="card margin:5px padding:10px {{status}}">
92
- <span class="{{type}}">{{message}}</span><a actions="removeElement"> X</a>
93
- </div>
94
-
95
- <div template="notification" class="card margin:5px padding:10px {{status}}">
96
- <span class="{{type}}">{{message}}</span><a actions="removeElement"> X</a>
97
- </div>
128
+ <div class="display:flex">
129
+ <button
130
+ type="button"
131
+ class="outline red-white"
132
+ actions="validate, signUp, signIn"
133
+ href="signout.html">
134
+ Sign Up
135
+ </button>
136
+ </div>
137
+ </div>
138
+ </section>
139
+ </form>
140
+ </div>
141
+ </main>
142
+
143
+ <div class="position:fixed!important bottom:15px right:15px">
144
+ <div
145
+ template="validate"
146
+ class="card margin:5px padding:10px {{status}}">
147
+ <span class="{{type}}">{{message}}</span
148
+ ><a actions="removeElement"> X</a>
149
+ </div>
150
+
151
+ <div
152
+ template="notification"
153
+ class="card margin:5px padding:10px {{status}}">
154
+ <span class="{{type}}">{{message}}</span
155
+ ><a actions="removeElement"> X</a>
156
+ </div>
98
157
  </div>
99
-
100
- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
101
158
 
102
- </body>
103
- </html>
159
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
160
+ </body>
161
+ </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-users 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-users 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/users.png">
13
-
20
+ <meta
21
+ property="og:image"
22
+ content="https://cdn.cocreate.app/docs/users.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-users">
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-users">
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-users</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/users.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/users.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-users" 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-users"
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="users-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="users-install" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#users-install-section">
48
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#users-install"]'>
135
+ <div
136
+ class="flex-grow:1 width:400px width:300px@xs padding:0px_10px margin-top:60px">
137
+ <div
138
+ id="users-install"
139
+ class="border-bottom:1px_solid_lightgrey"
140
+ scroll
141
+ scroll-intersect="color:dodgerblue"
142
+ scroll-target="#users-install-section">
143
+ <span
144
+ class="display:flex align-items:center width:fit-content"
145
+ hover="display:block!important"
146
+ hover-target="[href='#users-install']">
49
147
  <h2 class="padding:5px_0px">Install</h2>
50
- <a class="margin-left:10px display:none" href="#users-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="#users-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/users</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/users/latest/CoCreate-users.min.js&lt;/script&gt;</code></pre>
157
+ <pre><code class="language-bash">npm i @cocreate/users</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/users/latest/CoCreate-users.min.js&lt;/script&gt;</code></pre>
56
162
 
57
- <div id="users-usage" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#users-usage-section">
58
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#users-usage"]'>
163
+ <div
164
+ id="users-usage"
165
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
166
+ scroll
167
+ scroll-intersect="color:dodgerblue"
168
+ scroll-target="#users-usage-section">
169
+ <span
170
+ class="display:flex align-items:center width:fit-content"
171
+ hover="display:block!important"
172
+ hover-target="[href='#users-usage']">
59
173
  <h2 class="padding:5px_0px">Usage</h2>
60
- <a class="margin-left:10px display:none" href="#users-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="#users-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 users usage</p>
65
-
184
+ <p class="padding:10px_0px line-height:1.5">
185
+ This is users 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 users usage</p>
70
- <p class="padding:10px_0px line-height:1.5">This is users usage</p>
191
+ <p class="padding:10px_0px line-height:1.5">
192
+ This is users usage
193
+ </p>
194
+ <p class="padding:10px_0px line-height:1.5">
195
+ This is users usage
196
+ </p>
71
197
  </div>
72
- <div id="users-attributes" class="margin-top:80px border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#users-attributes-section">
73
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#users-attributes"]'>
198
+ <div
199
+ id="users-attributes"
200
+ class="margin-top:80px border-bottom:1px_solid_lightgrey"
201
+ scroll
202
+ scroll-intersect="color:dodgerblue"
203
+ scroll-target="#users-attributes-section">
204
+ <span
205
+ class="display:flex align-items:center width:fit-content"
206
+ hover="display:block!important"
207
+ hover-target="[href='#users-attributes']">
74
208
  <h2 class="padding:5px_0px">Attributes</h2>
75
- <a class="margin-left:10px display:none" href="#users-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="#users-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>users</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>users</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>users-attribute</p>
82
231
  </li>
83
- <li class="padding:15px_0px border-bottom:1px_solid_lightgrey">
84
- <h4><span>users</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>users</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>users-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="users-demo" class="border-bottom:1px_solid_lightgrey" scroll scroll-intersect="color:dodgerblue" scroll-target="#users-demo-section">
93
- <span class="display:flex align-items:center width:fit-content" hover="display:block!important" hover-target='[href="#users-demo"]'>
251
+ <div
252
+ id="users-demo"
253
+ class="border-bottom:1px_solid_lightgrey"
254
+ scroll
255
+ scroll-intersect="color:dodgerblue"
256
+ scroll-target="#users-demo-section">
257
+ <span
258
+ class="display:flex align-items:center width:fit-content"
259
+ hover="display:block!important"
260
+ hover-target="[href='#users-demo']">
94
261
  <h2 class="padding:5px_0px">Demo</h2>
95
- <a class="margin-left:10px display:none" href="#users-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="#users-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-users/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-users/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/users",
3
- "version": "1.22.8",
3
+ "version": "1.22.9",
4
4
  "description": "A simple users component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "users",