@cocreate/selection 1.4.68 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [1.5.0](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.68...v1.5.0) (2023-03-16)
2
+
3
+
4
+ ### Features
5
+
6
+ * replaced get-value and set-value with a super charged version of CoCreate-events ([c9dce59](https://github.com/CoCreate-app/CoCreate-selection/commit/c9dce5937fbb441c468ce33be2474c990ec90e97))
7
+
1
8
  ## [1.4.68](https://github.com/CoCreate-app/CoCreate-selection/compare/v1.4.67...v1.4.68) (2023-02-01)
2
9
 
3
10
 
package/docs/index.html CHANGED
@@ -72,12 +72,12 @@
72
72
  <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
73
73
 
74
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>
75
+ <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>
76
76
  <div resize="bottom" class="background:lightgrey"></div>
77
77
  </div>
78
78
 
79
79
  <div id="demo-preview" class="position:relative overflow:auto background-color:white">
80
- <div get-value="#demo" class="padding:20px"></div>
80
+ <div class="demopreview" class="padding:20px"></div>
81
81
  </div>
82
82
 
83
83
  <div class="font-size:20px position:absolute top:10px right:10px opacity:0.6">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/selection",
3
- "version": "1.4.68",
3
+ "version": "1.5.0",
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",