@livepreso/content-react 2.3.0 → 2.3.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.
@@ -70,7 +70,7 @@
70
70
  "eslint-scope@8.4.0": "eslint-scope@8.4.0:8sCuk/6sg3/iCXu4ikInhuUYyvcQoTXETHdBY6JCzr0=:",
71
71
  "eslint-visitor-keys@3.4.3": "eslint-visitor-keys@3.4.3:JgR2rf9Jpzva8lFrKE+5yhxLwgC8qNXtm9LsuSBeAT8=:",
72
72
  "eslint-visitor-keys@4.2.1": "eslint-visitor-keys@4.2.1:uyQNsuDcPZL1cJ29uclbt/ITeoMox36b0gbaWL8EB2E=:",
73
- "eslint@9.15.0(jiti@1.21.7)": "eslint@9.15.0(jiti@1.21.7):BBMkLm2PafjLl1mwKS36oeb1WbB2SxRLnq5E+fRoC04=:",
73
+ "eslint@9.15.0(jiti@1.21.7)": "eslint@9.15.0(jiti@1.21.7):5s8tqOQH56eedeB7EmuDjwdx9JjZeyXi4IS97WDGhbA=:",
74
74
  "espree@10.4.0": "espree@10.4.0:NLXs2uyUi7cK0j1u0OxWFDO6zYcblsb73pCi4SupIOE=:",
75
75
  "esquery@1.7.0": "esquery@1.7.0:7lTtVBqirWgWzvUR2UO+6Vgzeyg40AnBbmtPEJHSYnI=:",
76
76
  "esrecurse@4.3.0": "esrecurse@4.3.0:Uyo8CNm+VUgeJSS5C3ZgOky7Jzoy9NqvDpoJmqgzC1s=:",
package/CHANGELOG.json CHANGED
@@ -1,6 +1,18 @@
1
1
  {
2
2
  "name": "@livepreso/content-react",
3
3
  "entries": [
4
+ {
5
+ "version": "2.3.1",
6
+ "tag": "@livepreso/content-react_v2.3.1",
7
+ "date": "Thu, 17 Sep 2026 01:30:15 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Generate correct key when fetching user template values from the context."
12
+ }
13
+ ]
14
+ }
15
+ },
4
16
  {
5
17
  "version": "2.3.0",
6
18
  "tag": "@livepreso/content-react_v2.3.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 Tue, 08 Sep 2026 00:30:21 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 17 Sep 2026 01:30:15 GMT and should not be manually modified.
4
+
5
+ ## 2.3.1
6
+ Thu, 17 Sep 2026 01:30:15 GMT
7
+
8
+ ### Patches
9
+
10
+ - Generate correct key when fetching user template values from the context.
4
11
 
5
12
  ## 2.3.0
6
13
  Tue, 08 Sep 2026 00:30:21 GMT
@@ -3,6 +3,7 @@ import { useTransitions } from "./use-transitions";
3
3
  import { useSlideContext } from "./use-slide-context.js";
4
4
  import { useSlide, useSlideModel } from "./slide.js";
5
5
  import { useModes } from "./use-modes.js";
6
+ import { getUserTemplateFieldKey } from "../utils.js";
6
7
 
7
8
  function useUserTemplateCMS(id) {
8
9
  const { slideID, presentationKey, isUserTemplate, isUserTemplateLibrary } =
@@ -11,7 +12,7 @@ function useUserTemplateCMS(id) {
11
12
  let contextKey;
12
13
 
13
14
  if (isUserTemplate) {
14
- contextKey = `_userTemplateCMSvals.${slideID}--${id}-${presentationKey}`;
15
+ contextKey = `_userTemplateCMSvals.${slideID}--${getUserTemplateFieldKey(id, slideID)}`;
15
16
  } else if (isUserTemplateLibrary) {
16
17
  contextKey = `_userTemplateCMSvals.${presentationKey}--${id}`;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livepreso/content-react",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {