@apexcura/ui-components 0.0.14-Beta280 → 0.0.14-Beta282
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 +0 -3
- package/dist/index.mjs +0 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -925,9 +925,6 @@ var DateRangePickerElement = (props) => {
|
|
|
925
925
|
if (start && start.isAfter(today2)) {
|
|
926
926
|
start = today2;
|
|
927
927
|
}
|
|
928
|
-
if (start && start.isBefore(today2)) {
|
|
929
|
-
end = today2;
|
|
930
|
-
}
|
|
931
928
|
const adjustedDates = [start, end].map((date) => date ? date : null);
|
|
932
929
|
props.onChange && props.onChange(adjustedDates);
|
|
933
930
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -858,9 +858,6 @@ var DateRangePickerElement = (props) => {
|
|
|
858
858
|
if (start && start.isAfter(today2)) {
|
|
859
859
|
start = today2;
|
|
860
860
|
}
|
|
861
|
-
if (start && start.isBefore(today2)) {
|
|
862
|
-
end = today2;
|
|
863
|
-
}
|
|
864
861
|
const adjustedDates = [start, end].map((date) => date ? date : null);
|
|
865
862
|
props.onChange && props.onChange(adjustedDates);
|
|
866
863
|
}
|