@apexcura/ui-components 0.0.11-Beta164 → 0.0.11-Beta165

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
@@ -398,6 +398,7 @@ var ButtonElement = (props) => {
398
398
  onClick: handleClick,
399
399
  className: `${defaultClassName} ${props.className ? props.className : ""}`
400
400
  },
401
+ props.icon && /* @__PURE__ */ import_react12.default.createElement("span", { className: props.iconsClassName }, props.icon),
401
402
  props.label
402
403
  );
403
404
  };
@@ -653,9 +654,6 @@ var DatePickerElement = (props) => {
653
654
  const handleChange = (datestring) => {
654
655
  console.log("datestring--------", datestring);
655
656
  const formatedData = (0, import_moment.default)(datestring).format("lll");
656
- if (props.onChange) {
657
- props.onChange(formatedData);
658
- }
659
657
  setDate(formatedData);
660
658
  console.log("date--------", date);
661
659
  };
package/dist/index.mjs CHANGED
@@ -347,6 +347,7 @@ var ButtonElement = (props) => {
347
347
  onClick: handleClick,
348
348
  className: `${defaultClassName} ${props.className ? props.className : ""}`
349
349
  },
350
+ props.icon && /* @__PURE__ */ React11.createElement("span", { className: props.iconsClassName }, props.icon),
350
351
  props.label
351
352
  );
352
353
  };
@@ -602,9 +603,6 @@ var DatePickerElement = (props) => {
602
603
  const handleChange = (datestring) => {
603
604
  console.log("datestring--------", datestring);
604
605
  const formatedData = moment(datestring).format("lll");
605
- if (props.onChange) {
606
- props.onChange(formatedData);
607
- }
608
606
  setDate(formatedData);
609
607
  console.log("date--------", date);
610
608
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta164",
3
+ "version": "0.0.11-Beta165",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",