@uniformdev/mesh-sdk-react 20.6.2-alpha.11 → 20.7.1-alpha.4
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.d.mts +0 -6
- package/dist/index.d.ts +0 -6
- package/dist/index.esm.js +3 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +3 -1
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -96,8 +96,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
96
96
|
type: TLocationType;
|
|
97
97
|
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
98
98
|
type: TLocationType;
|
|
99
|
-
}> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
|
|
100
|
-
type: TLocationType;
|
|
101
99
|
}>, "setValue"> & {
|
|
102
100
|
setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
103
101
|
type: TLocationType;
|
|
@@ -123,8 +121,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
123
121
|
type: TLocationType;
|
|
124
122
|
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
125
123
|
type: TLocationType;
|
|
126
|
-
}> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
|
|
127
|
-
type: TLocationType;
|
|
128
124
|
}>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
129
125
|
type: TLocationType;
|
|
130
126
|
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
@@ -149,8 +145,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
149
145
|
type: TLocationType;
|
|
150
146
|
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
151
147
|
type: TLocationType;
|
|
152
|
-
}> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
|
|
153
|
-
type: TLocationType;
|
|
154
148
|
}>)["setValue"]>[0]>;
|
|
155
149
|
};
|
|
156
150
|
type SetLocationValueDispatch<TValue, TSetValue = TValue> = (dispatch: SetLocationValueFunction<TValue, TSetValue>) => Promise<void> | void;
|
package/dist/index.d.ts
CHANGED
|
@@ -96,8 +96,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
96
96
|
type: TLocationType;
|
|
97
97
|
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
98
98
|
type: TLocationType;
|
|
99
|
-
}> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
|
|
100
|
-
type: TLocationType;
|
|
101
99
|
}>, "setValue"> & {
|
|
102
100
|
setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
103
101
|
type: TLocationType;
|
|
@@ -123,8 +121,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
123
121
|
type: TLocationType;
|
|
124
122
|
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
125
123
|
type: TLocationType;
|
|
126
|
-
}> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
|
|
127
|
-
type: TLocationType;
|
|
128
124
|
}>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
|
|
129
125
|
type: TLocationType;
|
|
130
126
|
}> | Extract<_uniformdev_mesh_sdk.AssetParameterLocation, {
|
|
@@ -149,8 +145,6 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
149
145
|
type: TLocationType;
|
|
150
146
|
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
151
147
|
type: TLocationType;
|
|
152
|
-
}> | Extract<_uniformdev_mesh_sdk.PersonalizationCriteriaLocation<TLocationValue, unknown>, {
|
|
153
|
-
type: TLocationType;
|
|
154
148
|
}>)["setValue"]>[0]>;
|
|
155
149
|
};
|
|
156
150
|
type SetLocationValueDispatch<TValue, TSetValue = TValue> = (dispatch: SetLocationValueFunction<TValue, TSetValue>) => Promise<void> | void;
|
package/dist/index.esm.js
CHANGED
|
@@ -674,6 +674,7 @@ import { createVariableReference as createVariableReference2 } from "@uniformdev
|
|
|
674
674
|
import { HorizontalRhythm as HorizontalRhythm2, MenuGroup, MenuItemInner, MenuItemSeparator } from "@uniformdev/design-system";
|
|
675
675
|
import { dequal } from "dequal/lite";
|
|
676
676
|
import {
|
|
677
|
+
$addUpdateTag,
|
|
677
678
|
$createParagraphNode,
|
|
678
679
|
$createTextNode,
|
|
679
680
|
$getNodeByKey,
|
|
@@ -1465,6 +1466,7 @@ function VariablesPlugin({
|
|
|
1465
1466
|
});
|
|
1466
1467
|
editor.update(() => {
|
|
1467
1468
|
var _a;
|
|
1469
|
+
$addUpdateTag("skip-dom-selection");
|
|
1468
1470
|
$setSelection((_a = selection == null ? void 0 : selection.clone()) != null ? _a : null);
|
|
1469
1471
|
$dfs().filter(({ node }) => $isVariableNode(node)).forEach(({ node: variableNode }) => {
|
|
1470
1472
|
updateExistingNodeIfChanged(variableNode);
|
|
@@ -2343,7 +2345,7 @@ function VariablesComposerInput({
|
|
|
2343
2345
|
/* @__PURE__ */ jsx27(
|
|
2344
2346
|
PlainTextPlugin,
|
|
2345
2347
|
{
|
|
2346
|
-
contentEditable: /* @__PURE__ */ jsx27(ContentEditable, { ...contentEditableProps }),
|
|
2348
|
+
contentEditable: /* @__PURE__ */ jsx27(ContentEditable, { ...contentEditableProps, placeholder: null, "aria-placeholder": void 0 }),
|
|
2347
2349
|
placeholder: placeholder ? /* @__PURE__ */ jsx27(Fragment6, { children: placeholder }) : null,
|
|
2348
2350
|
ErrorBoundary: LexicalErrorBoundary
|
|
2349
2351
|
}
|
package/dist/index.js
CHANGED
|
@@ -1612,6 +1612,7 @@ function VariablesPlugin({
|
|
|
1612
1612
|
});
|
|
1613
1613
|
editor.update(() => {
|
|
1614
1614
|
var _a;
|
|
1615
|
+
(0, import_lexical4.$addUpdateTag)("skip-dom-selection");
|
|
1615
1616
|
(0, import_lexical4.$setSelection)((_a = selection == null ? void 0 : selection.clone()) != null ? _a : null);
|
|
1616
1617
|
(0, import_utils.$dfs)().filter(({ node }) => $isVariableNode(node)).forEach(({ node: variableNode }) => {
|
|
1617
1618
|
updateExistingNodeIfChanged(variableNode);
|
|
@@ -2472,7 +2473,7 @@ function VariablesComposerInput({
|
|
|
2472
2473
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
2473
2474
|
import_LexicalPlainTextPlugin.PlainTextPlugin,
|
|
2474
2475
|
{
|
|
2475
|
-
contentEditable: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_LexicalContentEditable.ContentEditable, { ...contentEditableProps }),
|
|
2476
|
+
contentEditable: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_LexicalContentEditable.ContentEditable, { ...contentEditableProps, placeholder: null, "aria-placeholder": void 0 }),
|
|
2476
2477
|
placeholder: placeholder ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_jsx_runtime26.Fragment, { children: placeholder }) : null,
|
|
2477
2478
|
ErrorBoundary: import_LexicalErrorBoundary.default
|
|
2478
2479
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -674,6 +674,7 @@ import { createVariableReference as createVariableReference2 } from "@uniformdev
|
|
|
674
674
|
import { HorizontalRhythm as HorizontalRhythm2, MenuGroup, MenuItemInner, MenuItemSeparator } from "@uniformdev/design-system";
|
|
675
675
|
import { dequal } from "dequal/lite";
|
|
676
676
|
import {
|
|
677
|
+
$addUpdateTag,
|
|
677
678
|
$createParagraphNode,
|
|
678
679
|
$createTextNode,
|
|
679
680
|
$getNodeByKey,
|
|
@@ -1465,6 +1466,7 @@ function VariablesPlugin({
|
|
|
1465
1466
|
});
|
|
1466
1467
|
editor.update(() => {
|
|
1467
1468
|
var _a;
|
|
1469
|
+
$addUpdateTag("skip-dom-selection");
|
|
1468
1470
|
$setSelection((_a = selection == null ? void 0 : selection.clone()) != null ? _a : null);
|
|
1469
1471
|
$dfs().filter(({ node }) => $isVariableNode(node)).forEach(({ node: variableNode }) => {
|
|
1470
1472
|
updateExistingNodeIfChanged(variableNode);
|
|
@@ -2343,7 +2345,7 @@ function VariablesComposerInput({
|
|
|
2343
2345
|
/* @__PURE__ */ jsx27(
|
|
2344
2346
|
PlainTextPlugin,
|
|
2345
2347
|
{
|
|
2346
|
-
contentEditable: /* @__PURE__ */ jsx27(ContentEditable, { ...contentEditableProps }),
|
|
2348
|
+
contentEditable: /* @__PURE__ */ jsx27(ContentEditable, { ...contentEditableProps, placeholder: null, "aria-placeholder": void 0 }),
|
|
2347
2349
|
placeholder: placeholder ? /* @__PURE__ */ jsx27(Fragment6, { children: placeholder }) : null,
|
|
2348
2350
|
ErrorBoundary: LexicalErrorBoundary
|
|
2349
2351
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk-react",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.7.1-alpha.4+20185a97ff",
|
|
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.25.0",
|
|
51
51
|
"@lexical/utils": "0.25.0",
|
|
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": "20.
|
|
54
|
-
"@uniformdev/design-system": "20.
|
|
55
|
-
"@uniformdev/mesh-sdk": "20.
|
|
56
|
-
"@uniformdev/richtext": "20.
|
|
53
|
+
"@uniformdev/canvas": "20.7.1-alpha.4+20185a97ff",
|
|
54
|
+
"@uniformdev/design-system": "20.7.1-alpha.4+20185a97ff",
|
|
55
|
+
"@uniformdev/mesh-sdk": "20.7.1-alpha.4+20185a97ff",
|
|
56
|
+
"@uniformdev/richtext": "20.7.1-alpha.4+20185a97ff",
|
|
57
57
|
"dequal": "^2.0.3",
|
|
58
58
|
"lexical": "0.25.0",
|
|
59
59
|
"mitt": "3.0.1",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"publishConfig": {
|
|
87
87
|
"access": "public"
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "20185a97ff6c2de2f871223af12d73583fe300af"
|
|
90
90
|
}
|