@itcase/forms 1.1.17 → 1.1.18
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.
|
@@ -97,16 +97,14 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
.form-notification {
|
|
100
|
-
&
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
margin: 0 0 16px 0;
|
|
109
|
-
}
|
|
100
|
+
&_sticky {
|
|
101
|
+
position: sticky;
|
|
102
|
+
left: 0;
|
|
103
|
+
top: 20px;
|
|
104
|
+
z-index: 100;
|
|
105
|
+
}
|
|
106
|
+
&_global {
|
|
107
|
+
margin: 0 0 16px 0;
|
|
110
108
|
}
|
|
111
109
|
&__item {
|
|
112
110
|
text-align: center;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
.form-notification {
|
|
2
|
-
&
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
margin: 0 0 16px 0;
|
|
11
|
-
}
|
|
2
|
+
&_sticky {
|
|
3
|
+
position: sticky;
|
|
4
|
+
left: 0;
|
|
5
|
+
top: 20px;
|
|
6
|
+
z-index: 100;
|
|
7
|
+
}
|
|
8
|
+
&_global {
|
|
9
|
+
margin: 0 0 16px 0;
|
|
12
10
|
}
|
|
13
11
|
&__item {
|
|
14
12
|
text-align: center;
|
|
15
13
|
border-radius: 12px;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
|
-
|
package/dist/itcase-forms.cjs.js
CHANGED
|
@@ -2764,14 +2764,14 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
|
|
|
2764
2764
|
textColor: descTextColor,
|
|
2765
2765
|
textWeight: descTextWeight
|
|
2766
2766
|
}, desc), submitError && !modifiedSinceLastSubmit && /*#__PURE__*/React__default.default.createElement("div", {
|
|
2767
|
-
className: clsx__default.default('notification', 'form-notification', notificationType ? `form-
|
|
2767
|
+
className: clsx__default.default('notification', 'form-notification', notificationType ? `form-notification_${notificationType}` : 'form-notification_global')
|
|
2768
2768
|
}, /*#__PURE__*/React__default.default.createElement(Notification.Notification, {
|
|
2769
2769
|
className: "form-notification__item",
|
|
2770
|
+
appearance: "errorPrimary",
|
|
2770
2771
|
title: form.getState().submitError,
|
|
2771
2772
|
titleTextSize: "h6",
|
|
2772
2773
|
status: "error",
|
|
2773
|
-
closeButton: notificationCloseButton
|
|
2774
|
-
set: "form"
|
|
2774
|
+
closeButton: notificationCloseButton
|
|
2775
2775
|
})), onChangeFormValues && /*#__PURE__*/React__default.default.createElement(reactFinalForm.FormSpy, {
|
|
2776
2776
|
subscription: {
|
|
2777
2777
|
values: true
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -2753,14 +2753,14 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
|
|
|
2753
2753
|
textColor: descTextColor,
|
|
2754
2754
|
textWeight: descTextWeight
|
|
2755
2755
|
}, desc), submitError && !modifiedSinceLastSubmit && /*#__PURE__*/React$1.createElement("div", {
|
|
2756
|
-
className: clsx('notification', 'form-notification', notificationType ? `form-
|
|
2756
|
+
className: clsx('notification', 'form-notification', notificationType ? `form-notification_${notificationType}` : 'form-notification_global')
|
|
2757
2757
|
}, /*#__PURE__*/React$1.createElement(Notification, {
|
|
2758
2758
|
className: "form-notification__item",
|
|
2759
|
+
appearance: "errorPrimary",
|
|
2759
2760
|
title: form.getState().submitError,
|
|
2760
2761
|
titleTextSize: "h6",
|
|
2761
2762
|
status: "error",
|
|
2762
|
-
closeButton: notificationCloseButton
|
|
2763
|
-
set: "form"
|
|
2763
|
+
closeButton: notificationCloseButton
|
|
2764
2764
|
})), onChangeFormValues && /*#__PURE__*/React$1.createElement(FormSpy, {
|
|
2765
2765
|
subscription: {
|
|
2766
2766
|
values: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/forms",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "Forms fields, inputs, etc.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@itcase/common": "^1.2.28",
|
|
36
36
|
"@itcase/config": "^1.0.48",
|
|
37
|
-
"@itcase/icons": "^1.
|
|
37
|
+
"@itcase/icons": "^1.2.6",
|
|
38
38
|
"@itcase/storybook-config": "^1.1.14",
|
|
39
39
|
"@itcase/tokens-am": "^1.1.9",
|
|
40
40
|
"@itcase/tokens-baikal": "^1.1.9",
|
|
41
|
-
"@itcase/ui": "^1.8.
|
|
41
|
+
"@itcase/ui": "^1.8.36",
|
|
42
42
|
"axios": "^1.10.0",
|
|
43
43
|
"clsx": "^2.1.1",
|
|
44
44
|
"final-form": "4.20.10",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"react-select": "^5.10.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@itcase/lint": "^1.1.
|
|
59
|
+
"@itcase/lint": "^1.1.19",
|
|
60
60
|
"@babel/core": "^7.27.4",
|
|
61
61
|
"@babel/eslint-parser": "^7.27.5",
|
|
62
62
|
"@babel/preset-env": "^7.27.2",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"husky": "^9.1.7",
|
|
81
81
|
"lint-staged": "^16.1.2",
|
|
82
82
|
"postcss": "^8.5.6",
|
|
83
|
-
"prettier": "3.
|
|
84
|
-
"rollup": "^4.44.
|
|
83
|
+
"prettier": "3.6.1",
|
|
84
|
+
"rollup": "^4.44.1",
|
|
85
85
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
86
86
|
"semantic-release": "^24.2.5",
|
|
87
87
|
"stylelint": "^16.21.0",
|