@uniformdev/mesh-sdk-react 19.48.1-alpha.8 → 19.49.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/dist/index.esm.js CHANGED
@@ -5277,8 +5277,10 @@ function DataResourceVariablesListExplicit({
5277
5277
  setVariables((previousValue) => {
5278
5278
  const isDefaultValue = newVariableValue === variableDefinition.default;
5279
5279
  const newVariables = { ...previousValue };
5280
- if (isDefaultValue || newVariableValue === void 0) {
5280
+ if (isDefaultValue) {
5281
5281
  delete newVariables[variableDefinition.name];
5282
+ } else if (newVariableValue === void 0) {
5283
+ newVariables[variableDefinition.name] = "";
5282
5284
  } else {
5283
5285
  newVariables[variableDefinition.name] = newVariableValue;
5284
5286
  }
package/dist/index.js CHANGED
@@ -5433,8 +5433,10 @@ function DataResourceVariablesListExplicit({
5433
5433
  setVariables((previousValue) => {
5434
5434
  const isDefaultValue = newVariableValue === variableDefinition.default;
5435
5435
  const newVariables = { ...previousValue };
5436
- if (isDefaultValue || newVariableValue === void 0) {
5436
+ if (isDefaultValue) {
5437
5437
  delete newVariables[variableDefinition.name];
5438
+ } else if (newVariableValue === void 0) {
5439
+ newVariables[variableDefinition.name] = "";
5438
5440
  } else {
5439
5441
  newVariables[variableDefinition.name] = newVariableValue;
5440
5442
  }
package/dist/index.mjs CHANGED
@@ -5277,8 +5277,10 @@ function DataResourceVariablesListExplicit({
5277
5277
  setVariables((previousValue) => {
5278
5278
  const isDefaultValue = newVariableValue === variableDefinition.default;
5279
5279
  const newVariables = { ...previousValue };
5280
- if (isDefaultValue || newVariableValue === void 0) {
5280
+ if (isDefaultValue) {
5281
5281
  delete newVariables[variableDefinition.name];
5282
+ } else if (newVariableValue === void 0) {
5283
+ newVariables[variableDefinition.name] = "";
5282
5284
  } else {
5283
5285
  newVariables[variableDefinition.name] = newVariableValue;
5284
5286
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.48.1-alpha.8+0418d546a",
3
+ "version": "19.49.0",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,9 +50,9 @@
50
50
  "@lexical/selection": "^0.12.0",
51
51
  "@lexical/utils": "^0.12.0",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
53
- "@uniformdev/canvas": "19.48.1-alpha.8+0418d546a",
54
- "@uniformdev/design-system": "19.48.1-alpha.8+0418d546a",
55
- "@uniformdev/mesh-sdk": "19.48.1-alpha.8+0418d546a",
53
+ "@uniformdev/canvas": "19.49.0",
54
+ "@uniformdev/design-system": "19.49.0",
55
+ "@uniformdev/mesh-sdk": "19.49.0",
56
56
  "dequal": "^2.0.3",
57
57
  "lexical": "^0.12.0",
58
58
  "mitt": "^3.0.0",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "0418d546ad78898515544d07f095ff03809c611c"
89
+ "gitHead": "7aaac583f8003f3e510e6a68a76828a32cbf451d"
90
90
  }