@innoways/drip-form-theme-antd 9.0.14 → 9.0.15
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/CHANGELOG.md +9 -0
- package/dist/index.js +4 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 9.0.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat: add datePicker schema configuration and improve date handling in DatePickerField 9.0.15
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @innoways/hooks@9.0.15
|
|
10
|
+
- @innoways/utils@9.0.15
|
|
11
|
+
|
|
3
12
|
## 9.0.14
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -22602,12 +22602,10 @@ var DatePickerField = function DatePickerField(_ref) {
|
|
|
22602
22602
|
return;
|
|
22603
22603
|
}
|
|
22604
22604
|
|
|
22605
|
-
if (
|
|
22606
|
-
|
|
22607
|
-
|
|
22608
|
-
|
|
22609
|
-
_onChange(moment(date[0]).format(format));
|
|
22610
|
-
}
|
|
22605
|
+
if (date.length === 2) {
|
|
22606
|
+
_onChange([moment(date[0]), moment(date[1])]);
|
|
22607
|
+
} else if (date.length) {
|
|
22608
|
+
_onChange(moment(date[0]));
|
|
22611
22609
|
}
|
|
22612
22610
|
};
|
|
22613
22611
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@innoways/drip-form-theme-antd",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.15",
|
|
4
4
|
"author": "JDFED",
|
|
5
5
|
"description": "drip-form antd主题包",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ant-design/icons": "^4.7.0",
|
|
33
33
|
"@babel/runtime": "^7.10.2",
|
|
34
|
-
"@innoways/hooks": "^9.0.
|
|
35
|
-
"@innoways/utils": "^9.0.
|
|
34
|
+
"@innoways/hooks": "^9.0.15",
|
|
35
|
+
"@innoways/utils": "^9.0.15",
|
|
36
36
|
"antd": "^4.16.13",
|
|
37
37
|
"flatpickr": "4.6.3",
|
|
38
38
|
"moment": "^2.26.0",
|