@apexcura/ui-components 0.0.11-Beta152 → 0.0.11-Beta153

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
@@ -643,9 +643,10 @@ var DatePickerElement = (props) => {
643
643
  );
644
644
  };
645
645
  const onHandleIncrement = () => {
646
+ console.log("--------");
646
647
  setDate((prevDate) => prevDate ? (0, import_addDays.addDays)(prevDate, 1) : void 0);
647
648
  };
648
- return /* @__PURE__ */ import_react20.default.createElement("div", null, /* @__PURE__ */ import_react20.default.createElement(import_icons4.LeftOutlined, { onClick: onHandleDecrement }), /* @__PURE__ */ import_react20.default.createElement(import_antd15.DatePicker, { placeholder: props.placeholder, variant: "borderless", value: props.value, defaultValue: true, onChange: handleChange }), /* @__PURE__ */ import_react20.default.createElement(import_icons4.RightOutlined, { onClick: onHandleIncrement }));
649
+ return /* @__PURE__ */ import_react20.default.createElement("div", null, /* @__PURE__ */ import_react20.default.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ import_react20.default.createElement(import_icons4.LeftOutlined, null)), /* @__PURE__ */ import_react20.default.createElement(import_antd15.DatePicker, { placeholder: props.placeholder, variant: "borderless", value: props.value, defaultValue: true, onChange: handleChange }), /* @__PURE__ */ import_react20.default.createElement("button", { onClick: onHandleIncrement }, /* @__PURE__ */ import_react20.default.createElement(import_icons4.RightOutlined, null)));
649
650
  };
650
651
  // Annotate the CommonJS export names for ESM import in node:
651
652
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -592,9 +592,10 @@ var DatePickerElement = (props) => {
592
592
  );
593
593
  };
594
594
  const onHandleIncrement = () => {
595
+ console.log("--------");
595
596
  setDate((prevDate) => prevDate ? addDays(prevDate, 1) : void 0);
596
597
  };
597
- return /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement(LeftOutlined, { onClick: onHandleDecrement }), /* @__PURE__ */ React19.createElement(DatePicker, { placeholder: props.placeholder, variant: "borderless", value: props.value, defaultValue: true, onChange: handleChange }), /* @__PURE__ */ React19.createElement(RightOutlined, { onClick: onHandleIncrement }));
598
+ return /* @__PURE__ */ React19.createElement("div", null, /* @__PURE__ */ React19.createElement("button", { onClick: onHandleDecrement }, /* @__PURE__ */ React19.createElement(LeftOutlined, null)), /* @__PURE__ */ React19.createElement(DatePicker, { placeholder: props.placeholder, variant: "borderless", value: props.value, defaultValue: true, onChange: handleChange }), /* @__PURE__ */ React19.createElement("button", { onClick: onHandleIncrement }, /* @__PURE__ */ React19.createElement(RightOutlined, null)));
598
599
  };
599
600
  export {
600
601
  AddMoreTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta152",
3
+ "version": "0.0.11-Beta153",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",