@ceed/ads 1.2.4 → 1.2.5
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.cjs +3 -3
- package/dist/index.js +3 -3
- package/framer/index.js +12 -12
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2360,9 +2360,9 @@ var DatePicker = (0, import_react19.forwardRef)(
|
|
|
2360
2360
|
]);
|
|
2361
2361
|
const handleChange = (0, import_react19.useCallback)(
|
|
2362
2362
|
(event) => {
|
|
2363
|
-
const
|
|
2364
|
-
setDisplayValue(formatValueString(
|
|
2365
|
-
setValue(
|
|
2363
|
+
const value2 = event.target.value;
|
|
2364
|
+
setDisplayValue(value2 ? formatValueString(parseDate(value2, format), displayFormat) : value2);
|
|
2365
|
+
setValue(value2);
|
|
2366
2366
|
},
|
|
2367
2367
|
[displayFormat, format, setValue]
|
|
2368
2368
|
);
|
package/dist/index.js
CHANGED
|
@@ -2302,9 +2302,9 @@ var DatePicker = forwardRef6(
|
|
|
2302
2302
|
]);
|
|
2303
2303
|
const handleChange = useCallback7(
|
|
2304
2304
|
(event) => {
|
|
2305
|
-
const
|
|
2306
|
-
setDisplayValue(formatValueString(
|
|
2307
|
-
setValue(
|
|
2305
|
+
const value2 = event.target.value;
|
|
2306
|
+
setDisplayValue(value2 ? formatValueString(parseDate(value2, format), displayFormat) : value2);
|
|
2307
|
+
setValue(value2);
|
|
2308
2308
|
},
|
|
2309
2309
|
[displayFormat, format, setValue]
|
|
2310
2310
|
);
|