@itcase/forms 1.0.72 → 1.0.74
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/itcase-forms.cjs.js +4 -3
- package/dist/itcase-forms.esm.js +4 -3
- package/package.json +36 -36
package/dist/itcase-forms.cjs.js
CHANGED
|
@@ -834,10 +834,11 @@ function DatePickerField(props) {
|
|
|
834
834
|
* custom React Hook function.
|
|
835
835
|
*/
|
|
836
836
|
|
|
837
|
-
const onChangeField = React.useCallback(
|
|
838
|
-
input.onChange(
|
|
837
|
+
const onChangeField = React.useCallback((firstDate, secondDate) => {
|
|
838
|
+
input.onChange(firstDate);
|
|
839
839
|
if (onChange) {
|
|
840
|
-
|
|
840
|
+
// TODO: check all DatePickerField's pn all project to change variable places
|
|
841
|
+
onChange(firstDate, input.name, secondDate);
|
|
841
842
|
}
|
|
842
843
|
}, [onChange, input.onChange]);
|
|
843
844
|
const {
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -820,10 +820,11 @@ function DatePickerField(props) {
|
|
|
820
820
|
* custom React Hook function.
|
|
821
821
|
*/
|
|
822
822
|
|
|
823
|
-
const onChangeField = useCallback(
|
|
824
|
-
input.onChange(
|
|
823
|
+
const onChangeField = useCallback((firstDate, secondDate) => {
|
|
824
|
+
input.onChange(firstDate);
|
|
825
825
|
if (onChange) {
|
|
826
|
-
|
|
826
|
+
// TODO: check all DatePickerField's pn all project to change variable places
|
|
827
|
+
onChange(firstDate, input.name, secondDate);
|
|
827
828
|
}
|
|
828
829
|
}, [onChange, input.onChange]);
|
|
829
830
|
const {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/forms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.74",
|
|
4
4
|
"description": "Forms fields, inputs, etc.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,65 +30,65 @@
|
|
|
30
30
|
"registry": "https://registry.npmjs.org/"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@itcase/common": "^1.2.
|
|
34
|
-
"@itcase/ui": "^1.
|
|
35
|
-
"axios": "^1.7.
|
|
33
|
+
"@itcase/common": "^1.2.17",
|
|
34
|
+
"@itcase/ui": "^1.3.12",
|
|
35
|
+
"axios": "^1.7.9",
|
|
36
36
|
"clsx": "^2.1.1",
|
|
37
37
|
"final-form": "^4.20.10",
|
|
38
38
|
"final-form-focus": "^1.1.2",
|
|
39
|
-
"libphonenumber-js": "^1.11.
|
|
39
|
+
"libphonenumber-js": "^1.11.17",
|
|
40
40
|
"lodash": "^4.17.21",
|
|
41
41
|
"luxon": "^3.5.0",
|
|
42
|
-
"postcss": "^8.4.
|
|
42
|
+
"postcss": "^8.4.49",
|
|
43
43
|
"prop-types": "^15.8.1",
|
|
44
44
|
"react": "^18.3.1",
|
|
45
45
|
"react-date-range": "^2.0.1",
|
|
46
46
|
"react-datepicker": "^7.5.0",
|
|
47
47
|
"react-dom": "^18.3.1",
|
|
48
|
-
"react-dropzone": "^14.
|
|
48
|
+
"react-dropzone": "^14.3.5",
|
|
49
49
|
"react-final-form": "^6.5.9",
|
|
50
50
|
"react-imask": "^7.6.1",
|
|
51
|
-
"react-select": "^5.
|
|
51
|
+
"react-select": "^5.9.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@itcase/lint": "^1.0.
|
|
55
|
-
"@babel/core": "^7.
|
|
54
|
+
"@itcase/lint": "^1.0.35",
|
|
55
|
+
"@babel/core": "^7.26.0",
|
|
56
56
|
"@babel/eslint-parser": "^7.25.9",
|
|
57
|
-
"@babel/preset-env": "^7.
|
|
58
|
-
"@babel/preset-react": "^7.
|
|
59
|
-
"@commitlint/cli": "^19.
|
|
60
|
-
"@commitlint/config-conventional": "^19.
|
|
61
|
-
"@eslint/compat": "^1.2.
|
|
62
|
-
"@eslint/eslintrc": "^3.
|
|
63
|
-
"@ianvs/prettier-plugin-sort-imports": "^4.
|
|
57
|
+
"@babel/preset-env": "^7.26.0",
|
|
58
|
+
"@babel/preset-react": "^7.26.3",
|
|
59
|
+
"@commitlint/cli": "^19.6.1",
|
|
60
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
61
|
+
"@eslint/compat": "^1.2.4",
|
|
62
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
63
|
+
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
|
|
64
64
|
"@rollup/plugin-babel": "^6.0.4",
|
|
65
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
65
|
+
"@rollup/plugin-commonjs": "^28.0.2",
|
|
66
66
|
"@rollup/plugin-json": "^6.1.0",
|
|
67
|
-
"@rollup/plugin-node-resolve": "^
|
|
67
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
68
68
|
"@rollup/plugin-terser": "^0.4.4",
|
|
69
69
|
"@semantic-release/changelog": "^6.0.3",
|
|
70
70
|
"@semantic-release/git": "^10.0.1",
|
|
71
|
-
"@semantic-release/release-notes-generator": "14.0.
|
|
71
|
+
"@semantic-release/release-notes-generator": "14.0.2",
|
|
72
72
|
"@types/react": "^18",
|
|
73
73
|
"@types/react-dom": "^18.3.1",
|
|
74
74
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
75
75
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
76
76
|
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
77
|
-
"eslint": "9.
|
|
77
|
+
"eslint": "9.17.0",
|
|
78
78
|
"eslint-config-prettier": "9.1.0",
|
|
79
79
|
"eslint-config-standard": "17.1.0",
|
|
80
80
|
"eslint-plugin-babel": "5.3.1",
|
|
81
81
|
"eslint-plugin-import": "2.31.0",
|
|
82
|
-
"eslint-plugin-n": "17.
|
|
82
|
+
"eslint-plugin-n": "17.15.1",
|
|
83
83
|
"eslint-plugin-node": "11.1.0",
|
|
84
84
|
"eslint-plugin-prettier": "5.2.1",
|
|
85
|
-
"eslint-plugin-promise": "7.1
|
|
86
|
-
"eslint-plugin-react": "7.37.
|
|
87
|
-
"eslint-plugin-react-hooks": "5.
|
|
85
|
+
"eslint-plugin-promise": "7.2.1",
|
|
86
|
+
"eslint-plugin-react": "7.37.3",
|
|
87
|
+
"eslint-plugin-react-hooks": "5.1.0",
|
|
88
88
|
"eslint-plugin-standard": "5.0.0",
|
|
89
|
-
"husky": "^9.1.
|
|
90
|
-
"lint-staged": "^15.
|
|
91
|
-
"npm": "^
|
|
89
|
+
"husky": "^9.1.7",
|
|
90
|
+
"lint-staged": "^15.3.0",
|
|
91
|
+
"npm": "^11.0.0",
|
|
92
92
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
93
93
|
"postcss-cli": "^11.0.0",
|
|
94
94
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
@@ -102,22 +102,22 @@
|
|
|
102
102
|
"postcss-import": "^16.1.0",
|
|
103
103
|
"postcss-import-ext-glob": "^2.1.1",
|
|
104
104
|
"postcss-mixins": "^11.0.3",
|
|
105
|
-
"postcss-nested": "^
|
|
105
|
+
"postcss-nested": "^7.0.2",
|
|
106
106
|
"postcss-nested-ancestors": "^3.0.0",
|
|
107
107
|
"postcss-normalize": "^13.0.1",
|
|
108
108
|
"postcss-prepend-imports": "^1.0.1",
|
|
109
|
-
"postcss-preset-env": "^10.
|
|
109
|
+
"postcss-preset-env": "^10.1.3",
|
|
110
110
|
"postcss-pxtorem": "^6.1.0",
|
|
111
111
|
"postcss-responsive-type": "github:ITCase/postcss-responsive-type",
|
|
112
112
|
"postcss-sort-media-queries": "^5.2.0",
|
|
113
|
-
"prettier": "3.
|
|
114
|
-
"rollup": "^4.
|
|
113
|
+
"prettier": "3.4.2",
|
|
114
|
+
"rollup": "^4.29.1",
|
|
115
115
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
116
|
-
"semantic-release": "^24.
|
|
117
|
-
"stylelint": "^16.
|
|
116
|
+
"semantic-release": "^24.2.0",
|
|
117
|
+
"stylelint": "^16.12.0",
|
|
118
118
|
"stylelint-config-standard": "^36.0.1",
|
|
119
|
-
"stylelint-no-unsupported-browser-features": "^8.0.
|
|
119
|
+
"stylelint-no-unsupported-browser-features": "^8.0.2",
|
|
120
120
|
"stylelint-order": "^6.0.4",
|
|
121
|
-
"typescript": "^5.
|
|
121
|
+
"typescript": "^5.7.2"
|
|
122
122
|
}
|
|
123
123
|
}
|