@cocreate/resize 1.3.21 → 1.4.0

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,10 @@
1
+ # [1.4.0](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.3.21...v1.4.0) (2023-03-16)
2
+
3
+
4
+ ### Features
5
+
6
+ * replaced get-value and set-value with a super charged version of CoCreate-events ([e2f3059](https://github.com/CoCreate-app/CoCreate-resize/commit/e2f305964f123046150056e49200e22598c7ac3f))
7
+
1
8
  ## [1.3.21](https://github.com/CoCreate-app/CoCreate-resize/compare/v1.3.20...v1.3.21) (2023-02-01)
2
9
 
3
10
 
@@ -126,7 +126,7 @@
126
126
 
127
127
  <!-- Template -->
128
128
  <li class="template line-height:40px height:40px overflow:hidden background:dodgerblue:hover" template_id="main-menu" document_id="{{document._id}}">
129
- <input type="hidden" collection="files" document_id="{{document.main-menu-primary}}" name="path" set-value="#a{{document._id}}" set-value-key="primary-url">
129
+ <input type="hidden" collection="files" document_id="{{document.main-menu-primary}}" name="path" input-target="#a{{document._id}}" input-key="primary-url">
130
130
  <a actions="pass, openModal" id="a{{document._id}}" href='..{{primary-url}}'
131
131
  modal-width="{{document.main-modal-primary-width}}"
132
132
  modal-color="{{document.main-modal-color}}"
@@ -140,7 +140,7 @@
140
140
  <div pass-value="{{document._id}}" pass-filter-value="{{document._id}}" pass_to="module-form"></div>
141
141
  </a>
142
142
  <div class="float:right width:50px text-align:center">
143
- <input type="hidden" collection="files" document_id="{{document.main-menu-secondary}}" name="path" set-value="#a{{document._id}}" set-value-key="secondary-url">
143
+ <input type="hidden" collection="files" document_id="{{document.main-menu-secondary}}" name="path" input-target="#a{{document._id}}" input-key="secondary-url">
144
144
  <a actions="pass, openModal" id="a{{document._id}}" href='..{{secondary-url}}'
145
145
  modal-width="{{document.main-menu-secondary-width}}"
146
146
  modal-color="{{document.main-menu-secondary-color}}">
package/docs/index.html CHANGED
@@ -104,12 +104,12 @@
104
104
  <div class="display:flex flex-direction:column position:relative overflow:hidden card border-radius:2px width:auto height:600px margin-top:20px" id="playground">
105
105
 
106
106
  <div id="demo-code" resizable class="position:relative height:50%">
107
- <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
+ <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>
108
108
  <div resize="bottom" class="background:lightgrey"></div>
109
109
  </div>
110
110
 
111
111
  <div id="demo-preview" class="position:relative overflow:auto background-color:white">
112
- <div get-value="#demo" class="padding:20px"></div>
112
+ <div class="demopreview" class="padding:20px"></div>
113
113
  </div>
114
114
 
115
115
  <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/resize",
3
- "version": "1.3.21",
3
+ "version": "1.4.0",
4
4
  "description": "A light weight resize handler make any element resizable by adding data attributes or usinng init object. Great for Customized text box or text area.",
5
5
  "keywords": [
6
6
  "resize",