@apexcura/ui-components 0.0.11-Beta177 → 0.0.11-Beta179

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
@@ -651,11 +651,14 @@ var import_icons4 = require("@ant-design/icons");
651
651
  var import_moment = __toESM(require("moment"));
652
652
  var DatePickerElement = (props) => {
653
653
  const [date, setDate] = (0, import_react20.useState)(null);
654
- const handleChange = (date2) => {
654
+ const handleChange = (date2, dateString) => {
655
655
  console.log("date---------", date2);
656
+ console.log("datestring", dateString);
656
657
  if (date2) {
657
- const formattedDate = date2.format("lll");
658
+ const formattedDate = dateString.format("lll");
659
+ console.log("formattedDate-----------------", formattedDate);
658
660
  setDate(date2);
661
+ console.log("changedDate------------", date2);
659
662
  if (props.onChange) {
660
663
  props.onChange(formattedDate);
661
664
  }
package/dist/index.mjs CHANGED
@@ -600,11 +600,14 @@ import { LeftOutlined, RightOutlined } from "@ant-design/icons";
600
600
  import moment from "moment";
601
601
  var DatePickerElement = (props) => {
602
602
  const [date, setDate] = useState5(null);
603
- const handleChange = (date2) => {
603
+ const handleChange = (date2, dateString) => {
604
604
  console.log("date---------", date2);
605
+ console.log("datestring", dateString);
605
606
  if (date2) {
606
- const formattedDate = date2.format("lll");
607
+ const formattedDate = dateString.format("lll");
608
+ console.log("formattedDate-----------------", formattedDate);
607
609
  setDate(date2);
610
+ console.log("changedDate------------", date2);
608
611
  if (props.onChange) {
609
612
  props.onChange(formattedDate);
610
613
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta177",
3
+ "version": "0.0.11-Beta179",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",