@uniformdev/mesh-sdk-react 19.80.1-alpha.200 → 19.80.1-alpha.252

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
@@ -4355,8 +4355,8 @@ function VariableField({
4355
4355
  buttonProps: isActive ? { "aria-pressed": "true" } : void 0
4356
4356
  }
4357
4357
  ) : null;
4358
- return /* @__PURE__ */ jsxs20("div", { children: [
4359
- /* @__PURE__ */ jsxs20("label", { htmlFor: id, css: labelText, children: [
4358
+ return /* @__PURE__ */ jsxs20("div", { "data-testid": "variable-field", children: [
4359
+ /* @__PURE__ */ jsxs20("label", { htmlFor: id, css: labelText, "data-testid": "field-name", children: [
4360
4360
  variableSelector,
4361
4361
  /* @__PURE__ */ jsx36("span", { children: label })
4362
4362
  ] }),
@@ -6740,13 +6740,13 @@ var ObjectSearchResultItem = ({
6740
6740
  onSelectItem({ id, title: id });
6741
6741
  onRemove == null ? void 0 : onRemove();
6742
6742
  };
6743
- return /* @__PURE__ */ jsxs39("div", { css: ObjectSearchResultItemContainer, children: [
6743
+ return /* @__PURE__ */ jsxs39("div", { css: ObjectSearchResultItemContainer, "data-testid": "search-result-item", children: [
6744
6744
  disableDnD ? null : /* @__PURE__ */ jsx64("div", { role: "presentation", className: "drag-handle", css: ObjectSearchDragHandle }),
6745
6745
  /* @__PURE__ */ jsx64("div", { children: /* @__PURE__ */ jsxs39("div", { css: ObjectSearchContentContainer, children: [
6746
6746
  !imageUrl ? null : /* @__PURE__ */ jsx64("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectSearchImage }),
6747
6747
  /* @__PURE__ */ jsxs39("div", { children: [
6748
- /* @__PURE__ */ jsx64("span", { css: ObjectSearchResultItemSubtitle, children: formatedContentType }),
6749
- /* @__PURE__ */ jsxs39("span", { role: "heading", css: ObjectSearchResultItemTitle, children: [
6748
+ /* @__PURE__ */ jsx64("span", { css: ObjectSearchResultItemSubtitle, "data-testid": "sub-title", children: formatedContentType }),
6749
+ /* @__PURE__ */ jsxs39("span", { role: "heading", css: ObjectSearchResultItemTitle, "data-testid": "title", children: [
6750
6750
  title != null ? title : name,
6751
6751
  !popoverData ? null : /* @__PURE__ */ jsx64(Popover2, { baseId: title, ariaLabel: title, buttonText: `See ${title} details`, children: popoverData })
6752
6752
  ] }),
package/dist/index.js CHANGED
@@ -4533,8 +4533,8 @@ function VariableField({
4533
4533
  buttonProps: isActive ? { "aria-pressed": "true" } : void 0
4534
4534
  }
4535
4535
  ) : null;
4536
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { children: [
4537
- /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("label", { htmlFor: id, css: labelText, children: [
4536
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { "data-testid": "variable-field", children: [
4537
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("label", { htmlFor: id, css: labelText, "data-testid": "field-name", children: [
4538
4538
  variableSelector,
4539
4539
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("span", { children: label })
4540
4540
  ] }),
@@ -6871,13 +6871,13 @@ var ObjectSearchResultItem = ({
6871
6871
  onSelectItem({ id, title: id });
6872
6872
  onRemove == null ? void 0 : onRemove();
6873
6873
  };
6874
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: ObjectSearchResultItemContainer, children: [
6874
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: ObjectSearchResultItemContainer, "data-testid": "search-result-item", children: [
6875
6875
  disableDnD ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { role: "presentation", className: "drag-handle", css: ObjectSearchDragHandle }),
6876
6876
  /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { css: ObjectSearchContentContainer, children: [
6877
6877
  !imageUrl ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectSearchImage }),
6878
6878
  /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { children: [
6879
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { css: ObjectSearchResultItemSubtitle, children: formatedContentType }),
6880
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { role: "heading", css: ObjectSearchResultItemTitle, children: [
6879
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("span", { css: ObjectSearchResultItemSubtitle, "data-testid": "sub-title", children: formatedContentType }),
6880
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("span", { role: "heading", css: ObjectSearchResultItemTitle, "data-testid": "title", children: [
6881
6881
  title != null ? title : name,
6882
6882
  !popoverData ? null : /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_design_system38.Popover, { baseId: title, ariaLabel: title, buttonText: `See ${title} details`, children: popoverData })
6883
6883
  ] }),
package/dist/index.mjs CHANGED
@@ -4355,8 +4355,8 @@ function VariableField({
4355
4355
  buttonProps: isActive ? { "aria-pressed": "true" } : void 0
4356
4356
  }
4357
4357
  ) : null;
4358
- return /* @__PURE__ */ jsxs20("div", { children: [
4359
- /* @__PURE__ */ jsxs20("label", { htmlFor: id, css: labelText, children: [
4358
+ return /* @__PURE__ */ jsxs20("div", { "data-testid": "variable-field", children: [
4359
+ /* @__PURE__ */ jsxs20("label", { htmlFor: id, css: labelText, "data-testid": "field-name", children: [
4360
4360
  variableSelector,
4361
4361
  /* @__PURE__ */ jsx36("span", { children: label })
4362
4362
  ] }),
@@ -6740,13 +6740,13 @@ var ObjectSearchResultItem = ({
6740
6740
  onSelectItem({ id, title: id });
6741
6741
  onRemove == null ? void 0 : onRemove();
6742
6742
  };
6743
- return /* @__PURE__ */ jsxs39("div", { css: ObjectSearchResultItemContainer, children: [
6743
+ return /* @__PURE__ */ jsxs39("div", { css: ObjectSearchResultItemContainer, "data-testid": "search-result-item", children: [
6744
6744
  disableDnD ? null : /* @__PURE__ */ jsx64("div", { role: "presentation", className: "drag-handle", css: ObjectSearchDragHandle }),
6745
6745
  /* @__PURE__ */ jsx64("div", { children: /* @__PURE__ */ jsxs39("div", { css: ObjectSearchContentContainer, children: [
6746
6746
  !imageUrl ? null : /* @__PURE__ */ jsx64("img", { src: imageUrl, alt: `Thumbnail for ${title}`, css: ObjectSearchImage }),
6747
6747
  /* @__PURE__ */ jsxs39("div", { children: [
6748
- /* @__PURE__ */ jsx64("span", { css: ObjectSearchResultItemSubtitle, children: formatedContentType }),
6749
- /* @__PURE__ */ jsxs39("span", { role: "heading", css: ObjectSearchResultItemTitle, children: [
6748
+ /* @__PURE__ */ jsx64("span", { css: ObjectSearchResultItemSubtitle, "data-testid": "sub-title", children: formatedContentType }),
6749
+ /* @__PURE__ */ jsxs39("span", { role: "heading", css: ObjectSearchResultItemTitle, "data-testid": "title", children: [
6750
6750
  title != null ? title : name,
6751
6751
  !popoverData ? null : /* @__PURE__ */ jsx64(Popover2, { baseId: title, ariaLabel: title, buttonText: `See ${title} details`, children: popoverData })
6752
6752
  ] }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.80.1-alpha.200+85da778e5f",
3
+ "version": "19.80.1-alpha.252+d847608721",
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.80.1-alpha.200+85da778e5f",
54
- "@uniformdev/design-system": "19.80.1-alpha.200+85da778e5f",
55
- "@uniformdev/mesh-sdk": "19.80.1-alpha.200+85da778e5f",
53
+ "@uniformdev/canvas": "19.80.1-alpha.252+d847608721",
54
+ "@uniformdev/design-system": "19.80.1-alpha.252+d847608721",
55
+ "@uniformdev/mesh-sdk": "19.80.1-alpha.252+d847608721",
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": "85da778e5fc4f47c47c585b9e4ccbe19a6a21563"
89
+ "gitHead": "d8476087216a62a77ce086ac719e6bb457a4fb34"
90
90
  }