@uniformdev/mesh-sdk-react 19.30.0 → 19.30.1-alpha.5

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
@@ -3786,6 +3786,7 @@ var SelectVariableMenu = ({
3786
3786
  ref: btnRef,
3787
3787
  css: [menuBtn2, buttonCss],
3788
3788
  type: "button",
3789
+ "data-test-id": "insert-variable",
3789
3790
  children: /* @__PURE__ */ jsx32(CgUsbC, { size: "1.4rem" })
3790
3791
  }
3791
3792
  ),
@@ -4427,13 +4428,14 @@ function DataResourceVariablesListExplicit({
4427
4428
  }
4428
4429
  function TextVariableRenderer({ definition, value, setValue }) {
4429
4430
  var _a;
4430
- return /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsx39(
4431
+ return /* @__PURE__ */ jsx39("div", { "data-test-id": "variable-input-container", children: /* @__PURE__ */ jsx39(
4431
4432
  InputVariables,
4432
4433
  {
4433
4434
  label: definition.displayName || definition.name,
4434
4435
  value: value != null ? value : "",
4435
4436
  caption: (_a = definition.helpText) != null ? _a : definition.default !== "" ? `Default value: ${definition.default}` : void 0,
4436
- onChange: setValue
4437
+ onChange: setValue,
4438
+ "data-test-id": "variable-input"
4437
4439
  }
4438
4440
  ) });
4439
4441
  }
package/dist/index.js CHANGED
@@ -3939,6 +3939,7 @@ var SelectVariableMenu = ({
3939
3939
  ref: btnRef,
3940
3940
  css: [menuBtn2, buttonCss],
3941
3941
  type: "button",
3942
+ "data-test-id": "insert-variable",
3942
3943
  children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_cg5.CgUsbC, { size: "1.4rem" })
3943
3944
  }
3944
3945
  ),
@@ -4567,13 +4568,14 @@ function DataResourceVariablesListExplicit({
4567
4568
  }
4568
4569
  function TextVariableRenderer({ definition, value, setValue }) {
4569
4570
  var _a;
4570
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4571
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { "data-test-id": "variable-input-container", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4571
4572
  InputVariables,
4572
4573
  {
4573
4574
  label: definition.displayName || definition.name,
4574
4575
  value: value != null ? value : "",
4575
4576
  caption: (_a = definition.helpText) != null ? _a : definition.default !== "" ? `Default value: ${definition.default}` : void 0,
4576
- onChange: setValue
4577
+ onChange: setValue,
4578
+ "data-test-id": "variable-input"
4577
4579
  }
4578
4580
  ) });
4579
4581
  }
package/dist/index.mjs CHANGED
@@ -3786,6 +3786,7 @@ var SelectVariableMenu = ({
3786
3786
  ref: btnRef,
3787
3787
  css: [menuBtn2, buttonCss],
3788
3788
  type: "button",
3789
+ "data-test-id": "insert-variable",
3789
3790
  children: /* @__PURE__ */ jsx32(CgUsbC, { size: "1.4rem" })
3790
3791
  }
3791
3792
  ),
@@ -4427,13 +4428,14 @@ function DataResourceVariablesListExplicit({
4427
4428
  }
4428
4429
  function TextVariableRenderer({ definition, value, setValue }) {
4429
4430
  var _a;
4430
- return /* @__PURE__ */ jsx39("div", { children: /* @__PURE__ */ jsx39(
4431
+ return /* @__PURE__ */ jsx39("div", { "data-test-id": "variable-input-container", children: /* @__PURE__ */ jsx39(
4431
4432
  InputVariables,
4432
4433
  {
4433
4434
  label: definition.displayName || definition.name,
4434
4435
  value: value != null ? value : "",
4435
4436
  caption: (_a = definition.helpText) != null ? _a : definition.default !== "" ? `Default value: ${definition.default}` : void 0,
4436
- onChange: setValue
4437
+ onChange: setValue,
4438
+ "data-test-id": "variable-input"
4437
4439
  }
4438
4440
  ) });
4439
4441
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.30.0",
3
+ "version": "19.30.1-alpha.5+2a53a5820",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -45,8 +45,8 @@
45
45
  "dependencies": {
46
46
  "@hookform/resolvers": "^3.0.1",
47
47
  "@lexical/react": "^0.11.1",
48
- "@uniformdev/design-system": "19.30.0",
49
- "@uniformdev/mesh-sdk": "19.30.0",
48
+ "@uniformdev/design-system": "19.30.1-alpha.5+2a53a5820",
49
+ "@uniformdev/mesh-sdk": "19.30.1-alpha.5+2a53a5820",
50
50
  "lexical": "^0.11.1",
51
51
  "mitt": "^3.0.0",
52
52
  "react-beautiful-dnd": "13.1.1",
@@ -80,5 +80,5 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "gitHead": "4ba30652b254065ff8bd322072afa3149c29167e"
83
+ "gitHead": "2a53a5820c0343ca6bc8d883ed6737717afba488"
84
84
  }