@apexcura/ui-components 0.0.12-Beta102 → 0.0.12-Beta103
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -634,9 +634,10 @@ var DatePickerElement = (props) => {
|
|
|
634
634
|
const handleChange = (value) => {
|
|
635
635
|
setDate(value);
|
|
636
636
|
if (props.onChange) {
|
|
637
|
-
props.onChange(
|
|
637
|
+
props.onChange(value);
|
|
638
638
|
}
|
|
639
639
|
};
|
|
640
|
+
console.log(date);
|
|
640
641
|
const onHandleDecrement = () => {
|
|
641
642
|
setDate((prevDate) => prevDate ? (0, import_date_fns.subDays)(prevDate, 1) : void 0);
|
|
642
643
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -583,9 +583,10 @@ var DatePickerElement = (props) => {
|
|
|
583
583
|
const handleChange = (value) => {
|
|
584
584
|
setDate(value);
|
|
585
585
|
if (props.onChange) {
|
|
586
|
-
props.onChange(
|
|
586
|
+
props.onChange(value);
|
|
587
587
|
}
|
|
588
588
|
};
|
|
589
|
+
console.log(date);
|
|
589
590
|
const onHandleDecrement = () => {
|
|
590
591
|
setDate((prevDate) => prevDate ? subDays(prevDate, 1) : void 0);
|
|
591
592
|
};
|