@spscommerce/ds-react 4.29.1 → 4.29.2
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/lib/index.cjs.js +17 -17
- package/lib/index.es.js +3 -1
- package/package.json +9 -9
package/lib/index.es.js
CHANGED
|
@@ -36712,7 +36712,9 @@ function SpsDateRangePickerV2(_Y) {
|
|
|
36712
36712
|
if (!value) {
|
|
36713
36713
|
clear();
|
|
36714
36714
|
} else if (Array.isArray(value)) {
|
|
36715
|
-
|
|
36715
|
+
if (value.every((v2) => SimpleDateUtils.isValid(v2))) {
|
|
36716
|
+
setStringValue(SimpleDateUtils.toStringRange(value));
|
|
36717
|
+
}
|
|
36716
36718
|
setDisplayRange(null);
|
|
36717
36719
|
} else if (typeof value.definition === "function") {
|
|
36718
36720
|
setDisplayRange(value.definition());
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spscommerce/ds-react",
|
|
3
3
|
"description": "SPS Design System React components",
|
|
4
|
-
"version": "4.29.
|
|
4
|
+
"version": "4.29.2",
|
|
5
5
|
"author": "SPS Commerce",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"repository": "https://github.com/spscommerce/design-system/tree/main/packages/@spscommerce/ds-react",
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@react-stately/collections": "^3.3.3",
|
|
31
|
-
"@spscommerce/ds-colors": "4.29.
|
|
32
|
-
"@spscommerce/ds-shared": "4.29.
|
|
33
|
-
"@spscommerce/positioning": "4.29.
|
|
34
|
-
"@spscommerce/utils": "4.29.
|
|
31
|
+
"@spscommerce/ds-colors": "4.29.2",
|
|
32
|
+
"@spscommerce/ds-shared": "4.29.2",
|
|
33
|
+
"@spscommerce/positioning": "4.29.2",
|
|
34
|
+
"@spscommerce/utils": "4.29.2",
|
|
35
35
|
"moment": "^2.25.3",
|
|
36
36
|
"moment-timezone": "^0.5.28",
|
|
37
37
|
"react": "^16.9.0",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@react-stately/collections": "^3.3.3",
|
|
42
|
-
"@spscommerce/ds-colors": "4.29.
|
|
43
|
-
"@spscommerce/ds-shared": "4.29.
|
|
44
|
-
"@spscommerce/positioning": "4.29.
|
|
45
|
-
"@spscommerce/utils": "4.29.
|
|
42
|
+
"@spscommerce/ds-colors": "4.29.2",
|
|
43
|
+
"@spscommerce/ds-shared": "4.29.2",
|
|
44
|
+
"@spscommerce/positioning": "4.29.2",
|
|
45
|
+
"@spscommerce/utils": "4.29.2",
|
|
46
46
|
"@testing-library/jest-dom": "^4.2.4",
|
|
47
47
|
"@testing-library/react": "^9.3.2",
|
|
48
48
|
"@types/prop-types": "^15.7.1",
|