@livepreso/content-react 0.7.0 → 0.7.1
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.json +12 -0
- package/CHANGELOG.md +8 -1
- package/lib/hooks/use-editable-initial-state.js +4 -1
- package/package.json +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livepreso/content-react",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "0.7.1",
|
|
6
|
+
"tag": "@livepreso/content-react_v0.7.1",
|
|
7
|
+
"date": "Thu, 03 Apr 2025 22:38:00 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "fix useEditableInitialState user template value retrieval"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "0.7.0",
|
|
6
18
|
"tag": "@livepreso/content-react_v0.7.0",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log - @livepreso/content-react
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu,
|
|
3
|
+
This log was last generated on Thu, 03 Apr 2025 22:38:00 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 0.7.1
|
|
6
|
+
Thu, 03 Apr 2025 22:38:00 GMT
|
|
7
|
+
|
|
8
|
+
### Patches
|
|
9
|
+
|
|
10
|
+
- fix useEditableInitialState user template value retrieval
|
|
4
11
|
|
|
5
12
|
## 0.7.0
|
|
6
13
|
Thu, 06 Mar 2025 00:08:07 GMT
|
|
@@ -38,7 +38,10 @@ function getUserTemplateFieldKey(key) {
|
|
|
38
38
|
|
|
39
39
|
function getUserTemplateData(fieldKey) {
|
|
40
40
|
const userValues = Bridge.Context.getDict()._userTemplateCMSvals;
|
|
41
|
-
return
|
|
41
|
+
return (
|
|
42
|
+
Object.values(userValues || {})?.find?.((vals) => vals.key === fieldKey) ||
|
|
43
|
+
{}
|
|
44
|
+
);
|
|
42
45
|
}
|
|
43
46
|
|
|
44
47
|
/**
|