react-day-picker 8.3.6 → 8.3.7
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.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-day-picker.min.js +1 -1
- package/dist/style.css +4 -0
- package/dist/style.module.css +4 -0
- package/package.json +1 -1
- package/src/contexts/Modifiers/utils/matcherToArray.test.ts +5 -2
- package/src/contexts/Modifiers/utils/matcherToArray.ts +1 -1
- package/src/style.css +4 -0
package/dist/index.esm.js
CHANGED
|
@@ -1031,7 +1031,7 @@ function useSelectRange() {
|
|
|
1031
1031
|
/** Normalize to array a matcher input. */
|
|
1032
1032
|
function matcherToArray(matcher) {
|
|
1033
1033
|
if (Array.isArray(matcher)) {
|
|
1034
|
-
return matcher;
|
|
1034
|
+
return __spreadArray([], matcher, true);
|
|
1035
1035
|
}
|
|
1036
1036
|
else if (matcher !== undefined) {
|
|
1037
1037
|
return [matcher];
|