@apexcura/ui-components 0.0.12-Beta21 → 0.0.12-Beta22

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.js CHANGED
@@ -434,11 +434,11 @@ var AddMoreTable = (props) => {
434
434
  element: "textarea",
435
435
  type: "text"
436
436
  },
437
- icons: { delete: "", plus: "" }
437
+ icons: { delete: "delete", plus: "plus" }
438
438
  };
439
439
  const updatedVariableData = [...row.variable_data, newVariableData].map((item, index, array) => ({
440
440
  ...item,
441
- icons: { delete: "", plus: index === array.length - 1 ? "" : void 0 }
441
+ icons: { delete: "delete", plus: index === array.length - 1 ? "plus" : void 0 }
442
442
  }));
443
443
  return {
444
444
  ...row,
@@ -475,7 +475,7 @@ var AddMoreTable = (props) => {
475
475
  rowElements[value.label] = renderInputElement(value);
476
476
  }
477
477
  if (key === "icons") {
478
- rowElements[`icons_${varIndex}`] = /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, /* @__PURE__ */ import_react13.default.createElement("button", { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.DeleteOutlined, null)), varIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ import_react13.default.createElement("button", { onClick: () => onHandleVariableData(eachRow.id) }, /* @__PURE__ */ import_react13.default.createElement(import_icons2.PlusOutlined, null)));
478
+ rowElements[`icons_${varIndex}`] = /* @__PURE__ */ import_react13.default.createElement(import_react13.default.Fragment, null, /* @__PURE__ */ import_react13.default.createElement("button", { onClick: () => onHandleDelete(eachRow.id) }, "delete"), varIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ import_react13.default.createElement("button", { onClick: () => onHandleVariableData(eachRow.id) }, "plus"));
479
479
  }
480
480
  });
481
481
  });
package/dist/index.mjs CHANGED
@@ -387,11 +387,11 @@ var AddMoreTable = (props) => {
387
387
  element: "textarea",
388
388
  type: "text"
389
389
  },
390
- icons: { delete: "", plus: "" }
390
+ icons: { delete: "delete", plus: "plus" }
391
391
  };
392
392
  const updatedVariableData = [...row.variable_data, newVariableData].map((item, index, array) => ({
393
393
  ...item,
394
- icons: { delete: "", plus: index === array.length - 1 ? "" : void 0 }
394
+ icons: { delete: "delete", plus: index === array.length - 1 ? "plus" : void 0 }
395
395
  }));
396
396
  return {
397
397
  ...row,
@@ -428,7 +428,7 @@ var AddMoreTable = (props) => {
428
428
  rowElements[value.label] = renderInputElement(value);
429
429
  }
430
430
  if (key === "icons") {
431
- rowElements[`icons_${varIndex}`] = /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement("button", { onClick: () => onHandleDelete(eachRow.id) }, /* @__PURE__ */ React12.createElement(DeleteOutlined, null)), varIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React12.createElement("button", { onClick: () => onHandleVariableData(eachRow.id) }, /* @__PURE__ */ React12.createElement(PlusOutlined, null)));
431
+ rowElements[`icons_${varIndex}`] = /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement("button", { onClick: () => onHandleDelete(eachRow.id) }, "delete"), varIndex === eachRow.variable_data.length - 1 && /* @__PURE__ */ React12.createElement("button", { onClick: () => onHandleVariableData(eachRow.id) }, "plus"));
432
432
  }
433
433
  });
434
434
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.12-Beta21",
3
+ "version": "0.0.12-Beta22",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",