@cocreate/organizations 1.7.27 → 1.7.29

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.7.29](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.7.28...v1.7.29) (2022-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update demos and bump dependencies ([53e7336](https://github.com/CoCreate-app/CoCreate-organizations/commit/53e733698286446c91b852be49eded1f870f0f22))
7
+
8
+ ## [1.7.28](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.7.27...v1.7.28) (2022-12-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([76cd672](https://github.com/CoCreate-app/CoCreate-organizations/commit/76cd672851d77f924af1c4021a607a7c25ea8681))
14
+
1
15
  ## [1.7.27](https://github.com/CoCreate-app/CoCreate-organizations/compare/v1.7.26...v1.7.27) (2022-12-20)
2
16
 
3
17
 
@@ -34,23 +34,10 @@
34
34
  placeholder="API Key"
35
35
  uuid="32" readonly>
36
36
 
37
- <!-- Security key -->
38
- <input type="hidden" id="securityKey"
39
- collection="organizations"
40
- document_id=""
41
- name="securityKey"
42
- placeholder="security Key"
43
- uuid="32" readonly>
37
+
44
38
 
45
39
  <button actions="createNewOrg, createUser">signup</button>
46
40
  </form>
47
-
48
- <script>
49
- var CoCreateConfig = {
50
- apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
51
- organization_id: '5ff747727005da1c272740ab'
52
- }
53
- </script>
54
41
 
55
42
  <!-- CoCreate JS CDN -->
56
43
  <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js" ></script>
package/demo/index.html CHANGED
@@ -59,15 +59,7 @@
59
59
  name="apiKey"
60
60
  placeholder="API Key"
61
61
  uuid="32" readonly>
62
-
63
- <!-- Security key -->
64
- <input type="hidden" id="securityKey"
65
- collection="organizations"
66
- document_id=""
67
- name="securityKey"
68
- placeholder="security Key"
69
- uuid="32" readonly>
70
-
62
+
71
63
  <div class="padding:25px background:gainsboro text-align:left">
72
64
 
73
65
  <!-- Industry select -->
@@ -95,13 +87,6 @@
95
87
  </div>
96
88
  </div>
97
89
 
98
- <script>
99
- var CoCreateConfig = {
100
- apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
101
- organization_id: '5ff747727005da1c272740ab',
102
- host: 'ws.cocreate.app'
103
- }
104
- </script>
105
90
 
106
91
  <!--<script src="../dist/CoCreate-organizations.js"></script>-->
107
92
  <script src="../../../CoCreateJS/dist/CoCreate.js" ></script>
@@ -70,14 +70,6 @@
70
70
 
71
71
  </form>
72
72
  </div>
73
-
74
- <script>
75
- var CoCreateConfig = {
76
- apiKey: '2061acef-0451-4545-f754-60cf8160',
77
- securityKey: '073daff2-5142-4402-cf59-48e205ef',
78
- organization_id: '5ff747727005da1c272740ab'
79
- }
80
- </script>
81
73
 
82
74
  <!-- CoCreate JS CDN -->
83
75
  <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js" ></script>
@@ -109,12 +109,7 @@
109
109
  </button>
110
110
 
111
111
 
112
- <script>
113
- var CoCreateConfig = {
114
- apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
115
- organization_id: '5ff747727005da1c272740ab'
116
- }
117
- </script>
112
+
118
113
 
119
114
  <!-- CoCreate JS CDN -->
120
115
  <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js" ></script>
@@ -114,12 +114,7 @@
114
114
  </button>
115
115
 
116
116
 
117
- <script>
118
- var CoCreateConfig = {
119
- apiKey: 'c2b08663-06e3-440c-ef6f-13978b42883a',
120
- organization_id: '5ff747727005da1c272740ab'
121
- }
122
- </script>
117
+
123
118
 
124
119
  <!-- CoCreate JS CDN -->
125
120
  <script src="https://cdn.cocreate.app/organizations/latest/CoCreate-organizations.min.js" ></script>
package/docs/index.html CHANGED
@@ -99,30 +99,28 @@
99
99
  </span>
100
100
  </div>
101
101
  <div class="position:sticky top:0 padding:10px_0px height:100vh">
102
- <!-- SandBox -->
103
- <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
104
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
105
- <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
106
- <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
107
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
108
- </div>
109
- <div class="svRow">
110
-
111
- <div class="svColumn">
112
-
113
- <div class="svPanel" id="view">
114
- <textarea collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% border:none resize:none padding:5px"></textarea>
115
- </div>
116
- <div class="svSplitter svHorizontal"> </div>
117
-
118
- <div class="svPanel">
119
- <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
120
- </div>
121
-
122
- </div>
123
- </div>
124
- </div>
125
- <!-- End SandBox -->
102
+ <!-- SandBox -->
103
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
104
+
105
+ <div id="demo-code" resizable class="position:relative height:50%">
106
+ <textarea type="code" lang="html" collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% outline:none border:none resize:none padding:5px"></textarea>
107
+ <div resize="bottom" class="background:lightgrey"></div>
108
+ </div>
109
+
110
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
111
+ <div get-value="#demo" class="padding:20px"></div>
112
+ </div>
113
+
114
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
115
+ <a class="margin-right:10px" id="eye" show="#eye-slash" hide="#eye, #demo-preview" toggle="code-height" toggle-target="#demo-code"><i class="far fa-eye"></i></a>
116
+ <a class="margin-right:10px" hidden id="eye-slash" show="#eye, #demo-preview" hide="#eye-slash" toggle="code-height" toggle-target="#demo-code"><i class="fas fa-eye-slash"></i></a>
117
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
118
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
119
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
120
+ </div>
121
+
122
+ </div>
123
+ <!-- End SandBox -->
126
124
  </div>
127
125
  </div>
128
126
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/organizations",
3
- "version": "1.7.27",
3
+ "version": "1.7.29",
4
4
  "description": "A simple organizations component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "organizations",
@@ -60,9 +60,9 @@
60
60
  "webpack-log": "^3.0.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cocreate/actions": "^1.5.38",
64
- "@cocreate/crud-client": "^1.16.16",
65
- "@cocreate/docs": "^1.4.20",
66
- "@cocreate/element-prototype": "^1.2.5"
63
+ "@cocreate/actions": "^1.5.40",
64
+ "@cocreate/crud-client": "^1.16.19",
65
+ "@cocreate/docs": "^1.4.22",
66
+ "@cocreate/element-prototype": "^1.2.8"
67
67
  }
68
68
  }
package/webpack.config.js CHANGED
@@ -15,7 +15,6 @@ module.exports = {
15
15
  libraryExport: "default",
16
16
  library: ["CoCreate", "organizations"],
17
17
  globalObject: "this",
18
- // publicPath: 'https://server.cocreate.app/CoCreateJS/dist/'
19
18
  },
20
19
 
21
20
  plugins: [