@uniformdev/mesh-sdk-react 19.48.1-alpha.8 → 19.49.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/dist/index.esm.js +3 -1
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +5 -5
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
|
|
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
|
|
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
|
|
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.
|
|
3
|
+
"version": "19.49.1",
|
|
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.
|
|
54
|
-
"@uniformdev/design-system": "19.
|
|
55
|
-
"@uniformdev/mesh-sdk": "19.
|
|
53
|
+
"@uniformdev/canvas": "19.49.1",
|
|
54
|
+
"@uniformdev/design-system": "19.49.1",
|
|
55
|
+
"@uniformdev/mesh-sdk": "19.49.1",
|
|
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": "
|
|
89
|
+
"gitHead": "a14b97601fb78b44be7f0849841b9828dec0ea96"
|
|
90
90
|
}
|