@uniformdev/mesh-sdk-react 19.210.2 → 19.210.4-alpha.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 +2 -2
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +6 -6
package/dist/index.esm.js
CHANGED
|
@@ -2945,7 +2945,7 @@ function ControlledValuePlugin({
|
|
|
2945
2945
|
return;
|
|
2946
2946
|
}
|
|
2947
2947
|
const currentValue = (_a = serializeVariablesEditorState(editor.getEditorState())) != null ? _a : "";
|
|
2948
|
-
const newValue = (_b = value
|
|
2948
|
+
const newValue = (_b = value != void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
|
|
2949
2949
|
if (currentValue === newValue) {
|
|
2950
2950
|
return;
|
|
2951
2951
|
}
|
|
@@ -8001,7 +8001,7 @@ var FilterSingleChoiceEditor = ({
|
|
|
8001
8001
|
const { groupedOptions, selectedOptions } = useMemo18(
|
|
8002
8002
|
() => convertComboBoxGroupsToSelectableGroups2({
|
|
8003
8003
|
options: options != null ? options : [],
|
|
8004
|
-
selectedItems: new Set(value ? [value] : void 0),
|
|
8004
|
+
selectedItems: new Set(value ? [String(value)] : void 0),
|
|
8005
8005
|
selectionMode: "single"
|
|
8006
8006
|
}),
|
|
8007
8007
|
[options, value]
|
package/dist/index.js
CHANGED
|
@@ -3188,7 +3188,7 @@ function ControlledValuePlugin({
|
|
|
3188
3188
|
return;
|
|
3189
3189
|
}
|
|
3190
3190
|
const currentValue = (_a = serializeVariablesEditorState(editor.getEditorState())) != null ? _a : "";
|
|
3191
|
-
const newValue = (_b = value
|
|
3191
|
+
const newValue = (_b = value != void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
|
|
3192
3192
|
if (currentValue === newValue) {
|
|
3193
3193
|
return;
|
|
3194
3194
|
}
|
|
@@ -8153,7 +8153,7 @@ var FilterSingleChoiceEditor = ({
|
|
|
8153
8153
|
const { groupedOptions, selectedOptions } = (0, import_react79.useMemo)(
|
|
8154
8154
|
() => (0, import_design_system45.convertComboBoxGroupsToSelectableGroups)({
|
|
8155
8155
|
options: options != null ? options : [],
|
|
8156
|
-
selectedItems: new Set(value ? [value] : void 0),
|
|
8156
|
+
selectedItems: new Set(value ? [String(value)] : void 0),
|
|
8157
8157
|
selectionMode: "single"
|
|
8158
8158
|
}),
|
|
8159
8159
|
[options, value]
|
package/dist/index.mjs
CHANGED
|
@@ -2945,7 +2945,7 @@ function ControlledValuePlugin({
|
|
|
2945
2945
|
return;
|
|
2946
2946
|
}
|
|
2947
2947
|
const currentValue = (_a = serializeVariablesEditorState(editor.getEditorState())) != null ? _a : "";
|
|
2948
|
-
const newValue = (_b = value
|
|
2948
|
+
const newValue = (_b = value != void 0 && typeof value !== "string" ? serializeVariablesEditorSerializedState(value.root) : value) != null ? _b : "";
|
|
2949
2949
|
if (currentValue === newValue) {
|
|
2950
2950
|
return;
|
|
2951
2951
|
}
|
|
@@ -8001,7 +8001,7 @@ var FilterSingleChoiceEditor = ({
|
|
|
8001
8001
|
const { groupedOptions, selectedOptions } = useMemo18(
|
|
8002
8002
|
() => convertComboBoxGroupsToSelectableGroups2({
|
|
8003
8003
|
options: options != null ? options : [],
|
|
8004
|
-
selectedItems: new Set(value ? [value] : void 0),
|
|
8004
|
+
selectedItems: new Set(value ? [String(value)] : void 0),
|
|
8005
8005
|
selectionMode: "single"
|
|
8006
8006
|
}),
|
|
8007
8007
|
[options, value]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk-react",
|
|
3
|
-
"version": "19.210.
|
|
3
|
+
"version": "19.210.4-alpha.0+2ff265809b",
|
|
4
4
|
"description": "Uniform Mesh Framework SDK for React",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"@lexical/selection": "0.17.1",
|
|
51
51
|
"@lexical/utils": "0.17.1",
|
|
52
52
|
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v5.2.1/react-icons-all-files-5.2.1.tgz",
|
|
53
|
-
"@uniformdev/canvas": "19.210.
|
|
54
|
-
"@uniformdev/design-system": "19.210.
|
|
55
|
-
"@uniformdev/mesh-sdk": "19.210.
|
|
56
|
-
"@uniformdev/richtext": "19.210.
|
|
53
|
+
"@uniformdev/canvas": "19.210.4-alpha.0+2ff265809b",
|
|
54
|
+
"@uniformdev/design-system": "19.210.4-alpha.0+2ff265809b",
|
|
55
|
+
"@uniformdev/mesh-sdk": "19.210.4-alpha.0+2ff265809b",
|
|
56
|
+
"@uniformdev/richtext": "19.210.4-alpha.0+2ff265809b",
|
|
57
57
|
"dequal": "^2.0.3",
|
|
58
58
|
"lexical": "0.17.1",
|
|
59
59
|
"mitt": "3.0.1",
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"publishConfig": {
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "2ff265809b85f61d950748aaea35beaf1c4fe443"
|
|
91
91
|
}
|