@cocreate/elements 1.15.7 → 1.15.8
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 +7 -0
- package/package.json +7 -7
- package/src/getValue.js +2 -0
- package/src/setValue.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.15.8](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.15.7...v1.15.8) (2023-02-01)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([3a92309](https://github.com/CoCreate-app/CoCreate-elements/commit/3a92309d1fbee38b81c6f750b9526901c96facd3))
|
|
7
|
+
|
|
1
8
|
## [1.15.7](https://github.com/CoCreate-app/CoCreate-elements/compare/v1.15.6...v1.15.7) (2023-01-31)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/elements",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.8",
|
|
4
4
|
"description": "Fetch content into any html element by using html5 attributes to query data stored in CoCreate headless CMS. If data is changed it will instantly reflect in html tags as changes are broadcasted in realtime",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"elements",
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"webpack-log": "^3.0.1"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@cocreate/actions": "^1.5.
|
|
64
|
-
"@cocreate/crud-client": "^1.18.
|
|
65
|
-
"@cocreate/docs": "^1.5.
|
|
66
|
-
"@cocreate/element-prototype": "^1.4.
|
|
67
|
-
"@cocreate/observer": "^1.5.
|
|
68
|
-
"@cocreate/utils": "^1.18.
|
|
63
|
+
"@cocreate/actions": "^1.5.58",
|
|
64
|
+
"@cocreate/crud-client": "^1.18.8",
|
|
65
|
+
"@cocreate/docs": "^1.5.13",
|
|
66
|
+
"@cocreate/element-prototype": "^1.4.10",
|
|
67
|
+
"@cocreate/observer": "^1.5.62",
|
|
68
|
+
"@cocreate/utils": "^1.18.2"
|
|
69
69
|
}
|
|
70
70
|
}
|
package/src/getValue.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import observer from '@cocreate/observer';
|
|
2
2
|
import '@cocreate/element-prototype';
|
|
3
3
|
|
|
4
|
+
// ToDo: actions="getValue", get-value-target, attribute get-value= selector or value compare to event components like toggle
|
|
5
|
+
|
|
4
6
|
const valueEls = new Map();
|
|
5
7
|
|
|
6
8
|
function initGetValues() {
|
package/src/setValue.js
CHANGED
|
@@ -3,6 +3,8 @@ import crud from '@cocreate/crud-client';
|
|
|
3
3
|
import { queryDocumentSelectorAll } from '@cocreate/utils';
|
|
4
4
|
import '@cocreate/element-prototype';
|
|
5
5
|
|
|
6
|
+
// ToDo: actions="setValue", set-value-target, attribute set-value= selector or value compare to event components like toggle
|
|
7
|
+
|
|
6
8
|
function initSetValues() {
|
|
7
9
|
var elements = document.querySelectorAll('[set-value], [set-value-closest]');
|
|
8
10
|
initElements(elements);
|