@itcase/forms 1.0.60 → 1.0.61
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.
|
@@ -1,25 +1,30 @@
|
|
|
1
|
+
/* stylelint-disable plugin/no-unsupported-browser-features */
|
|
2
|
+
|
|
1
3
|
.form-field {
|
|
2
4
|
&__content {
|
|
3
5
|
&-inner {
|
|
6
|
+
position: relative;
|
|
4
7
|
display: flex;
|
|
5
8
|
gap: 20px;
|
|
6
|
-
position: relative;
|
|
7
9
|
}
|
|
8
10
|
}
|
|
9
11
|
&__message {
|
|
10
12
|
&-item {
|
|
13
|
+
height: var(--form-field-helptext-height, 20px);
|
|
14
|
+
line-height: var(--form-field-helptext-line-height, 20px);
|
|
11
15
|
display: block;
|
|
12
16
|
}
|
|
13
17
|
}
|
|
14
18
|
&__icon {
|
|
15
|
-
position: absolute;
|
|
16
|
-
right: 8px;
|
|
17
|
-
top: 0;
|
|
18
19
|
height: 100%;
|
|
20
|
+
position: absolute;
|
|
19
21
|
display: flex;
|
|
20
22
|
align-items: center;
|
|
23
|
+
top: 0;
|
|
24
|
+
right: 8px;
|
|
21
25
|
}
|
|
22
26
|
}
|
|
27
|
+
|
|
23
28
|
.form {
|
|
24
29
|
&^&-field_type_float {
|
|
25
30
|
position: relative;
|
|
@@ -68,6 +73,7 @@
|
|
|
68
73
|
}
|
|
69
74
|
}
|
|
70
75
|
}
|
|
76
|
+
|
|
71
77
|
.form-field {
|
|
72
78
|
&_type {
|
|
73
79
|
&_normal {
|
|
@@ -78,6 +84,7 @@
|
|
|
78
84
|
}
|
|
79
85
|
}
|
|
80
86
|
}
|
|
87
|
+
|
|
81
88
|
.form-field {
|
|
82
89
|
&_state {
|
|
83
90
|
&_hidden {
|
|
@@ -87,6 +94,7 @@
|
|
|
87
94
|
}
|
|
88
95
|
}
|
|
89
96
|
}
|
|
97
|
+
|
|
90
98
|
.form-field {
|
|
91
99
|
&_state {
|
|
92
100
|
&_disabled {
|
package/dist/itcase-forms.cjs.js
CHANGED
|
@@ -638,7 +638,6 @@ ChoiceField.propTypes = {
|
|
|
638
638
|
label: PropTypes__default.default.oneOfType([PropTypes__default.default.string, PropTypes__default.default.element]),
|
|
639
639
|
messageType: PropTypes__default.default.string,
|
|
640
640
|
name: PropTypes__default.default.string,
|
|
641
|
-
options: Choice.Choice.propTypes.options,
|
|
642
641
|
placeholder: PropTypes__default.default.string,
|
|
643
642
|
showMessage: PropTypes__default.default.bool,
|
|
644
643
|
onChange: PropTypes__default.default.func
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -624,7 +624,6 @@ ChoiceField.propTypes = {
|
|
|
624
624
|
label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
625
625
|
messageType: PropTypes.string,
|
|
626
626
|
name: PropTypes.string,
|
|
627
|
-
options: Choice.propTypes.options,
|
|
628
627
|
placeholder: PropTypes.string,
|
|
629
628
|
showMessage: PropTypes.bool,
|
|
630
629
|
onChange: PropTypes.func
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/forms",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.61",
|
|
4
4
|
"description": "Forms fields, inputs, etc.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,63 +30,64 @@
|
|
|
30
30
|
"registry": "https://registry.npmjs.org/"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@itcase/common": "^1.1
|
|
34
|
-
"@itcase/ui": "^1.1.
|
|
35
|
-
"axios": "^1.
|
|
36
|
-
"clsx": "^2.1.
|
|
37
|
-
"date-fns": "2.0.0-alpha.7",
|
|
33
|
+
"@itcase/common": "^1.2.1",
|
|
34
|
+
"@itcase/ui": "^1.1.10",
|
|
35
|
+
"axios": "^1.7.2",
|
|
36
|
+
"clsx": "^2.1.1",
|
|
38
37
|
"final-form": "^4.20.10",
|
|
39
38
|
"final-form-focus": "^1.1.2",
|
|
40
|
-
"libphonenumber-js": "^1.
|
|
39
|
+
"libphonenumber-js": "^1.11.2",
|
|
41
40
|
"lodash": "^4.17.21",
|
|
42
41
|
"luxon": "^3.4.4",
|
|
43
42
|
"postcss": "^8.4.38",
|
|
44
43
|
"prop-types": "^15.8.1",
|
|
45
|
-
"react": "^18.
|
|
46
|
-
"react-date-range": "^
|
|
47
|
-
"react-datepicker": "^6.
|
|
48
|
-
"react-dom": "^18.
|
|
44
|
+
"react": "^18.3.1",
|
|
45
|
+
"react-date-range": "^2.0.1",
|
|
46
|
+
"react-datepicker": "^6.9.0",
|
|
47
|
+
"react-dom": "^18.3.1",
|
|
49
48
|
"react-dropzone": "^14.2.3",
|
|
50
49
|
"react-final-form": "^6.5.9",
|
|
51
|
-
"react-imask": "^7.6.
|
|
50
|
+
"react-imask": "^7.6.1",
|
|
52
51
|
"react-select": "^5.8.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@babel/core": "^7.24.
|
|
56
|
-
"@babel/eslint-parser": "^7.24.
|
|
57
|
-
"@babel/preset-env": "^7.24.
|
|
58
|
-
"@babel/preset-react": "^7.24.
|
|
59
|
-
"@commitlint/cli": "^19.
|
|
60
|
-
"@commitlint/config-conventional": "^19.
|
|
54
|
+
"@babel/core": "^7.24.6",
|
|
55
|
+
"@babel/eslint-parser": "^7.24.6",
|
|
56
|
+
"@babel/preset-env": "^7.24.6",
|
|
57
|
+
"@babel/preset-react": "^7.24.6",
|
|
58
|
+
"@commitlint/cli": "^19.3.0",
|
|
59
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
60
|
+
"@eslint/compat": "^1.0.1",
|
|
61
|
+
"@eslint/eslintrc": "^3.1.0",
|
|
61
62
|
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
|
|
62
63
|
"@rollup/plugin-babel": "^6.0.4",
|
|
63
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
64
|
+
"@rollup/plugin-commonjs": "^25.0.8",
|
|
64
65
|
"@rollup/plugin-json": "^6.1.0",
|
|
65
66
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
66
67
|
"@rollup/plugin-terser": "^0.4.4",
|
|
67
68
|
"@semantic-release/git": "^10.0.1",
|
|
68
69
|
"babel-plugin-inline-react-svg": "^2.0.2",
|
|
69
70
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
70
|
-
"eslint": "
|
|
71
|
+
"eslint": "9.3.0",
|
|
71
72
|
"eslint-config-prettier": "9.1.0",
|
|
72
73
|
"eslint-config-standard": "17.1.0",
|
|
73
74
|
"eslint-plugin-babel": "5.3.1",
|
|
74
75
|
"eslint-plugin-import": "2.29.1",
|
|
75
|
-
"eslint-plugin-n": "
|
|
76
|
+
"eslint-plugin-n": "17.7.0",
|
|
76
77
|
"eslint-plugin-node": "11.1.0",
|
|
77
78
|
"eslint-plugin-prettier": "5.1.3",
|
|
78
|
-
"eslint-plugin-promise": "6.
|
|
79
|
-
"eslint-plugin-react": "7.34.
|
|
80
|
-
"eslint-plugin-react-hooks": "4.6.
|
|
79
|
+
"eslint-plugin-promise": "6.2.0",
|
|
80
|
+
"eslint-plugin-react": "7.34.2",
|
|
81
|
+
"eslint-plugin-react-hooks": "4.6.2",
|
|
81
82
|
"eslint-plugin-standard": "5.0.0",
|
|
82
83
|
"husky": "^9.0.11",
|
|
83
|
-
"lint-staged": "^15.2.
|
|
84
|
-
"npm": "^10.
|
|
84
|
+
"lint-staged": "^15.2.5",
|
|
85
|
+
"npm": "^10.8.0",
|
|
85
86
|
"postcss-aspect-ratio-polyfill": "^2.0.0",
|
|
86
87
|
"postcss-cli": "^11.0.0",
|
|
87
88
|
"postcss-combine-duplicated-selectors": "^10.0.3",
|
|
88
|
-
"postcss-dark-theme-class": "^1.
|
|
89
|
-
"postcss-discard-duplicates": "^
|
|
89
|
+
"postcss-dark-theme-class": "^1.3.0",
|
|
90
|
+
"postcss-discard-duplicates": "^7.0.0",
|
|
90
91
|
"postcss-each": "^1.1.0",
|
|
91
92
|
"postcss-easings": "^4.0.0",
|
|
92
93
|
"postcss-extend-rule": "^4.0.0",
|
|
@@ -94,20 +95,20 @@
|
|
|
94
95
|
"postcss-hexrgba": "^2.1.0",
|
|
95
96
|
"postcss-import": "^16.1.0",
|
|
96
97
|
"postcss-import-ext-glob": "^2.1.1",
|
|
97
|
-
"postcss-mixins": "^10.0.
|
|
98
|
+
"postcss-mixins": "^10.0.1",
|
|
98
99
|
"postcss-nested": "^6.0.1",
|
|
99
100
|
"postcss-nested-ancestors": "^3.0.0",
|
|
100
101
|
"postcss-normalize": "^10.0.1",
|
|
101
102
|
"postcss-prepend-imports": "^1.0.1",
|
|
102
|
-
"postcss-preset-env": "^9.5.
|
|
103
|
+
"postcss-preset-env": "^9.5.14",
|
|
103
104
|
"postcss-pxtorem": "^6.1.0",
|
|
104
105
|
"postcss-responsive-type": "github:ITCase/postcss-responsive-type",
|
|
105
106
|
"postcss-sort-media-queries": "^5.2.0",
|
|
106
107
|
"prettier": "3.2.5",
|
|
107
|
-
"rollup": "^4.
|
|
108
|
+
"rollup": "^4.18.0",
|
|
108
109
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
109
|
-
"semantic-release": "^23.
|
|
110
|
-
"stylelint": "^16.
|
|
110
|
+
"semantic-release": "^23.1.1",
|
|
111
|
+
"stylelint": "^16.6.1",
|
|
111
112
|
"stylelint-config-standard": "^36.0.0",
|
|
112
113
|
"stylelint-no-unsupported-browser-features": "^8.0.1",
|
|
113
114
|
"stylelint-order": "^6.0.4"
|