@uniformdev/mesh-sdk-react 19.138.0 → 19.139.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 CHANGED
@@ -4525,14 +4525,14 @@ function VariableField({
4525
4525
  }) {
4526
4526
  const { variables } = useVariables(true);
4527
4527
  const varCount = Object.keys(variables).length;
4528
- const variableSelector = (varCount > 0 || (selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.showAddVariableMenuOption)) && !disableVariables ? /* @__PURE__ */ jsx37(
4528
+ const variableSelector = (varCount > 0 || (selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.showAddVariableMenuOption)) && !disableVariables ? /* @__PURE__ */ jsx37("div", { "data-testid": "label-var-menu", children: /* @__PURE__ */ jsx37(
4529
4529
  VariablesComposerVariableMenu,
4530
4530
  {
4531
4531
  ...selectVariableMenuOptions,
4532
4532
  buttonCss: [variableBindButton2, selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.buttonCss],
4533
4533
  buttonProps: isActive ? { "aria-pressed": "true" } : void 0
4534
4534
  }
4535
- ) : null;
4535
+ ) }) : null;
4536
4536
  return /* @__PURE__ */ jsxs20("div", { "data-testid": "variable-field", children: [
4537
4537
  /* @__PURE__ */ jsxs20("label", { htmlFor: id, css: labelText, "data-testid": "field-name", children: [
4538
4538
  variableSelector,
@@ -4939,7 +4939,7 @@ function InputVariablesOverlayMenu({
4939
4939
  if (disabled) {
4940
4940
  return /* @__PURE__ */ jsx40(Fragment10, { children });
4941
4941
  }
4942
- return /* @__PURE__ */ jsxs23("div", { css: menuContainer, children: [
4942
+ return /* @__PURE__ */ jsxs23("div", { css: menuContainer, "data-testid": "inline-var-menu", children: [
4943
4943
  children,
4944
4944
  /* @__PURE__ */ jsx40(
4945
4945
  VariablesComposerVariableMenu,
package/dist/index.js CHANGED
@@ -4696,14 +4696,14 @@ function VariableField({
4696
4696
  }) {
4697
4697
  const { variables } = useVariables(true);
4698
4698
  const varCount = Object.keys(variables).length;
4699
- const variableSelector = (varCount > 0 || (selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.showAddVariableMenuOption)) && !disableVariables ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4699
+ const variableSelector = (varCount > 0 || (selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.showAddVariableMenuOption)) && !disableVariables ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { "data-testid": "label-var-menu", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
4700
4700
  VariablesComposerVariableMenu,
4701
4701
  {
4702
4702
  ...selectVariableMenuOptions,
4703
4703
  buttonCss: [variableBindButton2, selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.buttonCss],
4704
4704
  buttonProps: isActive ? { "aria-pressed": "true" } : void 0
4705
4705
  }
4706
- ) : null;
4706
+ ) }) : null;
4707
4707
  return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { "data-testid": "variable-field", children: [
4708
4708
  /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("label", { htmlFor: id, css: labelText, "data-testid": "field-name", children: [
4709
4709
  variableSelector,
@@ -5098,7 +5098,7 @@ function InputVariablesOverlayMenu({
5098
5098
  if (disabled) {
5099
5099
  return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_jsx_runtime40.Fragment, { children });
5100
5100
  }
5101
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { css: menuContainer, children: [
5101
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { css: menuContainer, "data-testid": "inline-var-menu", children: [
5102
5102
  children,
5103
5103
  /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5104
5104
  VariablesComposerVariableMenu,
package/dist/index.mjs CHANGED
@@ -4525,14 +4525,14 @@ function VariableField({
4525
4525
  }) {
4526
4526
  const { variables } = useVariables(true);
4527
4527
  const varCount = Object.keys(variables).length;
4528
- const variableSelector = (varCount > 0 || (selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.showAddVariableMenuOption)) && !disableVariables ? /* @__PURE__ */ jsx37(
4528
+ const variableSelector = (varCount > 0 || (selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.showAddVariableMenuOption)) && !disableVariables ? /* @__PURE__ */ jsx37("div", { "data-testid": "label-var-menu", children: /* @__PURE__ */ jsx37(
4529
4529
  VariablesComposerVariableMenu,
4530
4530
  {
4531
4531
  ...selectVariableMenuOptions,
4532
4532
  buttonCss: [variableBindButton2, selectVariableMenuOptions == null ? void 0 : selectVariableMenuOptions.buttonCss],
4533
4533
  buttonProps: isActive ? { "aria-pressed": "true" } : void 0
4534
4534
  }
4535
- ) : null;
4535
+ ) }) : null;
4536
4536
  return /* @__PURE__ */ jsxs20("div", { "data-testid": "variable-field", children: [
4537
4537
  /* @__PURE__ */ jsxs20("label", { htmlFor: id, css: labelText, "data-testid": "field-name", children: [
4538
4538
  variableSelector,
@@ -4939,7 +4939,7 @@ function InputVariablesOverlayMenu({
4939
4939
  if (disabled) {
4940
4940
  return /* @__PURE__ */ jsx40(Fragment10, { children });
4941
4941
  }
4942
- return /* @__PURE__ */ jsxs23("div", { css: menuContainer, children: [
4942
+ return /* @__PURE__ */ jsxs23("div", { css: menuContainer, "data-testid": "inline-var-menu", children: [
4943
4943
  children,
4944
4944
  /* @__PURE__ */ jsx40(
4945
4945
  VariablesComposerVariableMenu,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.138.0",
3
+ "version": "19.139.0",
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.138.0",
54
- "@uniformdev/design-system": "19.138.0",
55
- "@uniformdev/mesh-sdk": "19.138.0",
53
+ "@uniformdev/canvas": "19.139.0",
54
+ "@uniformdev/design-system": "19.139.0",
55
+ "@uniformdev/mesh-sdk": "19.139.0",
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": "30f3a0472893928da153b8d3533ec223ab47c0e3"
89
+ "gitHead": "86f2f88868e7f17acf970e1cbf7612650761e961"
90
90
  }