@apexcura/ui-components 0.0.11-Beta167 → 0.0.11-Beta169

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
@@ -652,9 +652,10 @@ var import_moment = __toESM(require("moment"));
652
652
  var DatePickerElement = (props) => {
653
653
  const [date, setDate] = (0, import_react20.useState)(null);
654
654
  const handleChange = (date2) => {
655
+ console.log("date---------", date2);
655
656
  if (date2) {
656
657
  const formattedDate = date2.format("lll");
657
- setDate(date2);
658
+ setDate(formattedDate);
658
659
  if (props.onChange) {
659
660
  props.onChange(formattedDate);
660
661
  }
package/dist/index.mjs CHANGED
@@ -601,9 +601,10 @@ import moment from "moment";
601
601
  var DatePickerElement = (props) => {
602
602
  const [date, setDate] = useState5(null);
603
603
  const handleChange = (date2) => {
604
+ console.log("date---------", date2);
604
605
  if (date2) {
605
606
  const formattedDate = date2.format("lll");
606
- setDate(date2);
607
+ setDate(formattedDate);
607
608
  if (props.onChange) {
608
609
  props.onChange(formattedDate);
609
610
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta167",
3
+ "version": "0.0.11-Beta169",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",