@uniformdev/mesh-sdk-react 19.56.0 → 19.56.1-alpha.22
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.esm.js +2 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -441,6 +441,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
441
441
|
type: TLocationType;
|
|
442
442
|
}> | Extract<_uniformdev_mesh_sdk.SettingsLocation<TLocationValue>, {
|
|
443
443
|
type: TLocationType;
|
|
444
|
+
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
445
|
+
type: TLocationType;
|
|
444
446
|
}>, "setValue"> & {
|
|
445
447
|
setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
446
448
|
type: TLocationType;
|
|
@@ -454,6 +456,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
454
456
|
type: TLocationType;
|
|
455
457
|
}> | Extract<_uniformdev_mesh_sdk.SettingsLocation<TLocationValue>, {
|
|
456
458
|
type: TLocationType;
|
|
459
|
+
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
460
|
+
type: TLocationType;
|
|
457
461
|
}>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
458
462
|
type: TLocationType;
|
|
459
463
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -466,6 +470,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
466
470
|
type: TLocationType;
|
|
467
471
|
}> | Extract<_uniformdev_mesh_sdk.SettingsLocation<TLocationValue>, {
|
|
468
472
|
type: TLocationType;
|
|
473
|
+
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
474
|
+
type: TLocationType;
|
|
469
475
|
}>)["setValue"]>[0]>;
|
|
470
476
|
};
|
|
471
477
|
type SetLocationValueDispatch<TValue, TSetValue = TValue> = (dispatch: SetLocationValueFunction<TValue, TSetValue>) => Promise<void> | void;
|
package/dist/index.d.ts
CHANGED
|
@@ -441,6 +441,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
441
441
|
type: TLocationType;
|
|
442
442
|
}> | Extract<_uniformdev_mesh_sdk.SettingsLocation<TLocationValue>, {
|
|
443
443
|
type: TLocationType;
|
|
444
|
+
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
445
|
+
type: TLocationType;
|
|
444
446
|
}>, "setValue"> & {
|
|
445
447
|
setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
446
448
|
type: TLocationType;
|
|
@@ -454,6 +456,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
454
456
|
type: TLocationType;
|
|
455
457
|
}> | Extract<_uniformdev_mesh_sdk.SettingsLocation<TLocationValue>, {
|
|
456
458
|
type: TLocationType;
|
|
459
|
+
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
460
|
+
type: TLocationType;
|
|
457
461
|
}>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
|
|
458
462
|
type: TLocationType;
|
|
459
463
|
}> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
|
|
@@ -466,6 +470,8 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
|
|
|
466
470
|
type: TLocationType;
|
|
467
471
|
}> | Extract<_uniformdev_mesh_sdk.SettingsLocation<TLocationValue>, {
|
|
468
472
|
type: TLocationType;
|
|
473
|
+
}> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
|
|
474
|
+
type: TLocationType;
|
|
469
475
|
}>)["setValue"]>[0]>;
|
|
470
476
|
};
|
|
471
477
|
type SetLocationValueDispatch<TValue, TSetValue = TValue> = (dispatch: SetLocationValueFunction<TValue, TSetValue>) => Promise<void> | void;
|
package/dist/index.esm.js
CHANGED
|
@@ -6499,6 +6499,7 @@ var ObjectSearchListItem = ({
|
|
|
6499
6499
|
{
|
|
6500
6500
|
role: "listitem",
|
|
6501
6501
|
css: [ObjectListItemContainer, disabled ? ObjectListItemContainerDisabled : void 0],
|
|
6502
|
+
"data-testid": "list-item",
|
|
6502
6503
|
children: [
|
|
6503
6504
|
/* @__PURE__ */ jsxs37(
|
|
6504
6505
|
"div",
|
|
@@ -6512,7 +6513,7 @@ var ObjectSearchListItem = ({
|
|
|
6512
6513
|
!image || imageUrl ? null : /* @__PURE__ */ jsx62("img", { ...image, loading: (image == null ? void 0 : image.width) && image.height ? "lazy" : "eager" }),
|
|
6513
6514
|
/* @__PURE__ */ jsxs37("div", { role: "heading", css: ObjectListItemHeadingGroup, children: [
|
|
6514
6515
|
!contentType ? null : /* @__PURE__ */ jsx62("span", { css: ObjectListItemSubtitle, children: formatedContentType }),
|
|
6515
|
-
/* @__PURE__ */ jsx62("span", { css: ObjectListItemTitle, children: title })
|
|
6516
|
+
/* @__PURE__ */ jsx62("span", { css: ObjectListItemTitle, "data-testid": "title", children: title })
|
|
6516
6517
|
] })
|
|
6517
6518
|
]
|
|
6518
6519
|
}
|
package/dist/index.js
CHANGED
|
@@ -6630,6 +6630,7 @@ var ObjectSearchListItem = ({
|
|
|
6630
6630
|
{
|
|
6631
6631
|
role: "listitem",
|
|
6632
6632
|
css: [ObjectListItemContainer, disabled ? ObjectListItemContainerDisabled : void 0],
|
|
6633
|
+
"data-testid": "list-item",
|
|
6633
6634
|
children: [
|
|
6634
6635
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
|
6635
6636
|
"div",
|
|
@@ -6643,7 +6644,7 @@ var ObjectSearchListItem = ({
|
|
|
6643
6644
|
!image || imageUrl ? null : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("img", { ...image, loading: (image == null ? void 0 : image.width) && image.height ? "lazy" : "eager" }),
|
|
6644
6645
|
/* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { role: "heading", css: ObjectListItemHeadingGroup, children: [
|
|
6645
6646
|
!contentType ? null : /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: ObjectListItemSubtitle, children: formatedContentType }),
|
|
6646
|
-
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: ObjectListItemTitle, children: title })
|
|
6647
|
+
/* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { css: ObjectListItemTitle, "data-testid": "title", children: title })
|
|
6647
6648
|
] })
|
|
6648
6649
|
]
|
|
6649
6650
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -6499,6 +6499,7 @@ var ObjectSearchListItem = ({
|
|
|
6499
6499
|
{
|
|
6500
6500
|
role: "listitem",
|
|
6501
6501
|
css: [ObjectListItemContainer, disabled ? ObjectListItemContainerDisabled : void 0],
|
|
6502
|
+
"data-testid": "list-item",
|
|
6502
6503
|
children: [
|
|
6503
6504
|
/* @__PURE__ */ jsxs37(
|
|
6504
6505
|
"div",
|
|
@@ -6512,7 +6513,7 @@ var ObjectSearchListItem = ({
|
|
|
6512
6513
|
!image || imageUrl ? null : /* @__PURE__ */ jsx62("img", { ...image, loading: (image == null ? void 0 : image.width) && image.height ? "lazy" : "eager" }),
|
|
6513
6514
|
/* @__PURE__ */ jsxs37("div", { role: "heading", css: ObjectListItemHeadingGroup, children: [
|
|
6514
6515
|
!contentType ? null : /* @__PURE__ */ jsx62("span", { css: ObjectListItemSubtitle, children: formatedContentType }),
|
|
6515
|
-
/* @__PURE__ */ jsx62("span", { css: ObjectListItemTitle, children: title })
|
|
6516
|
+
/* @__PURE__ */ jsx62("span", { css: ObjectListItemTitle, "data-testid": "title", children: title })
|
|
6516
6517
|
] })
|
|
6517
6518
|
]
|
|
6518
6519
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/mesh-sdk-react",
|
|
3
|
-
"version": "19.56.
|
|
3
|
+
"version": "19.56.1-alpha.22+a6fd2a3df",
|
|
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.56.
|
|
54
|
-
"@uniformdev/design-system": "19.56.
|
|
55
|
-
"@uniformdev/mesh-sdk": "19.56.
|
|
53
|
+
"@uniformdev/canvas": "19.56.1-alpha.22+a6fd2a3df",
|
|
54
|
+
"@uniformdev/design-system": "19.56.1-alpha.22+a6fd2a3df",
|
|
55
|
+
"@uniformdev/mesh-sdk": "19.56.1-alpha.22+a6fd2a3df",
|
|
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": "a6fd2a3dfdfa76a6610f664a81f3d531f98388f0"
|
|
90
90
|
}
|