@livepreso/content-react 0.6.0 → 0.6.2

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "../../content/content-react": "../../content/content-react:2Nu2IX5k2YZ9jYAYKnRIgfmWOO8vgtcjym4HUCOFj4U=:",
2
+ "../../content/content-react": "../../content/content-react:sVKowAAy4A1Ch2RDVit/Vz9vWyB4NwGiVz9KXkm7taw=:",
3
3
  "/@ampproject/remapping@2.3.0": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==",
4
4
  "/@babel/code-frame@7.26.2": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
5
5
  "/@babel/compat-data@7.26.2": "sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==",
package/CHANGELOG.json CHANGED
@@ -1,6 +1,30 @@
1
1
  {
2
2
  "name": "@livepreso/content-react",
3
3
  "entries": [
4
+ {
5
+ "version": "0.6.2",
6
+ "tag": "@livepreso/content-react_v0.6.2",
7
+ "date": "Tue, 25 Feb 2025 03:34:02 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "setContext(key, value) allows setting of falsy values"
12
+ }
13
+ ]
14
+ }
15
+ },
16
+ {
17
+ "version": "0.6.1",
18
+ "tag": "@livepreso/content-react_v0.6.1",
19
+ "date": "Thu, 20 Feb 2025 01:26:11 GMT",
20
+ "comments": {
21
+ "patch": [
22
+ {
23
+ "comment": "Update dependencies"
24
+ }
25
+ ]
26
+ }
27
+ },
4
28
  {
5
29
  "version": "0.6.0",
6
30
  "tag": "@livepreso/content-react_v0.6.0",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Change Log - @livepreso/content-react
2
2
 
3
- This log was last generated on Sun, 09 Feb 2025 23:36:42 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 25 Feb 2025 03:34:02 GMT and should not be manually modified.
4
+
5
+ ## 0.6.2
6
+ Tue, 25 Feb 2025 03:34:02 GMT
7
+
8
+ ### Patches
9
+
10
+ - setContext(key, value) allows setting of falsy values
11
+
12
+ ## 0.6.1
13
+ Thu, 20 Feb 2025 01:26:11 GMT
14
+
15
+ ### Patches
16
+
17
+ - Update dependencies
4
18
 
5
19
  ## 0.6.0
6
20
  Sun, 09 Feb 2025 23:36:42 GMT
@@ -33,7 +33,7 @@ export function useSlideContext(contextPath = null, defaultValue = null) {
33
33
  let setData = data;
34
34
 
35
35
  if (path) {
36
- if (data) {
36
+ if (typeof data !== "undefined") {
37
37
  setPath = `${path}.${key}`;
38
38
  } else {
39
39
  setPath = path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livepreso/content-react",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "publishConfig": {
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "react": "~18.2.0",
19
19
  "react-dom": "~18.2.0",
20
- "@livepreso/content-base": "~1.1.7",
20
+ "@livepreso/content-base": "~1.1.8",
21
21
  "ulog": "~2.0.0-beta.18",
22
22
  "lodash.get": "~4.4.2",
23
23
  "lodash.isplainobject": "~4.0.6",