@cocreate/selection 1.4.49 → 1.4.51

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,18 @@
1
+ ## [1.4.51](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.50...v1.4.51) (2022-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump dependencies ([00bed31](https://github.com/CoCreate-app/CoCreate-selection/commit/00bed31106b836e2c25f93d4f0b11db54dabb0f9))
7
+ * update cdn ([3aed8ae](https://github.com/CoCreate-app/CoCreate-selection/commit/3aed8aecb5a9b0cb7a9a50f25e96604b24a52b31))
8
+
9
+ ## [1.4.50](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.49...v1.4.50) (2022-12-22)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * update demos and bump dependencies ([6b2a3e8](https://github.com/CoCreate-app/CoCreate-selection/commit/6b2a3e8e156b7e96677281d5c1dde8a1b28ff8c6))
15
+
1
16
  ## [1.4.49](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.48...v1.4.49) (2022-12-21)
2
17
 
3
18
 
package/demo/index.html CHANGED
@@ -12,16 +12,9 @@
12
12
  <body>
13
13
 
14
14
 
15
- <script>
16
- var CoCreateConfig = {
17
- apiKey: '',
18
- organization_id: '',
19
- host: ''
20
- }
21
- </script>
22
15
 
23
16
  <!--<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>-->
24
- <script src="../../../CoCreateJS/dist/CoCreate.js"></script>
17
+ <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
25
18
 
26
19
  </body>
27
20
 
package/docs/index.html CHANGED
@@ -68,30 +68,28 @@
68
68
  <!-- SandBox -->
69
69
  <h2 class="border-bottom:1px_solid_lightgrey padding:5px_0px">Demo</h2>
70
70
  <div class="position:sticky top:0 padding:10px_0px height:100vh">
71
- <!-- SandBox -->
72
- <div class="container svColumn overflow:hidden card position:relative border-radius:2px width:auto height:100%" id="sandbox">
73
- <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
74
- <a class="margin-right:10px" id="code" show="#preview" hide="#code, #view"><i class="far fa-eye"></i></a>
75
- <a class="margin-right:10px" id="preview" show="#code, #view" hide="#preview" hidden><i class="fas fa-code"></i></a>
76
- <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
77
- </div>
78
- <div class="svRow">
79
-
80
- <div class="svColumn">
81
-
82
- <div class="svPanel" id="view">
83
- <textarea collection="demos" document_id="" name="demo" save="false" id="demo" class="height:100% width:100% border:none resize:none padding:5px"></textarea>
84
- </div>
85
- <div class="svSplitter svHorizontal"> </div>
86
-
87
- <div class="svPanel">
88
- <iframe get-value="#demo" frameBorder="0" height="100%" width="100%" class="min-width:300px"></iframe>
89
- </div>
90
-
91
- </div>
92
- </div>
93
- </div>
94
- <!-- End SandBox -->
71
+ <!-- SandBox -->
72
+ <div class="position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
73
+
74
+ <div id="demo-code" resizable class="position:relative height:50%">
75
+ <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>
76
+ <div resize="bottom" class="background:lightgrey"></div>
77
+ </div>
78
+
79
+ <div id="demo-preview" class="position:relative display:flex height:100% background-color:white">
80
+ <div get-value="#demo" class="padding:20px"></div>
81
+ </div>
82
+
83
+ <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
84
+ <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>
85
+ <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>
86
+ <a class="margin-right:10px" id="code" show="#code-slash" hide="#code, #demo-code"><i class="fa fa-code"></i></a>
87
+ <a class="margin-right:10px" hidden id="code-slash" show="#code, #demo-code" hide="#code-slash"><i class="fas fa-code"></i></a>
88
+ <a class="margin-right:5px" fullscreen target="#playground"><i class="fas fa-expand"></i></a>
89
+ </div>
90
+
91
+ </div>
92
+ <!-- End SandBox -->
95
93
  </div>
96
94
  </div>
97
95
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/selection",
3
- "version": "1.4.49",
3
+ "version": "1.4.51",
4
4
  "description": "A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "selection",
@@ -60,8 +60,8 @@
60
60
  "webpack-log": "^3.0.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cocreate/docs": "^1.4.21",
64
- "@cocreate/hosting": "^1.6.22",
65
- "@cocreate/utils": "^1.17.1"
63
+ "@cocreate/docs": "^1.4.23",
64
+ "@cocreate/hosting": "^1.6.24",
65
+ "@cocreate/utils": "^1.17.3"
66
66
  }
67
67
  }
package/webpack.config.js CHANGED
@@ -15,7 +15,6 @@ module.exports = {
15
15
  libraryExport: "default",
16
16
  library: ["CoCreate", "selection"],
17
17
  globalObject: "this",
18
- // publicPath: 'https://server.cocreate.app/CoCreateJS/dist/'
19
18
  },
20
19
 
21
20
  plugins: [