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

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
@@ -654,6 +654,10 @@ var DatePickerElement = (props) => {
654
654
  const handleChange = (datestring) => {
655
655
  console.log("datestring--------", datestring);
656
656
  const formatedData = (0, import_moment.default)(datestring).format("lll");
657
+ if (props.onChange) {
658
+ props.onChange(formatedData);
659
+ }
660
+ setDate(formatedData);
657
661
  setDate(formatedData);
658
662
  console.log("date--------", date);
659
663
  };
package/dist/index.mjs CHANGED
@@ -603,6 +603,10 @@ var DatePickerElement = (props) => {
603
603
  const handleChange = (datestring) => {
604
604
  console.log("datestring--------", datestring);
605
605
  const formatedData = moment(datestring).format("lll");
606
+ if (props.onChange) {
607
+ props.onChange(formatedData);
608
+ }
609
+ setDate(formatedData);
606
610
  setDate(formatedData);
607
611
  console.log("date--------", date);
608
612
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta165",
3
+ "version": "0.0.11-Beta166",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",