@itcase/forms 1.1.46 → 1.1.47

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.
@@ -2883,10 +2883,9 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2883
2883
  }, desc), submitError && !modifiedSinceLastSubmit && /*#__PURE__*/React__default.default.createElement("div", {
2884
2884
  className: clsx__default.default('notification', 'form-notification', notificationType ? `form-notification_${notificationType}` : 'form-notification_global')
2885
2885
  }, /*#__PURE__*/React__default.default.createElement(Notification.Notification, {
2886
- appearance: "errorPrimary",
2887
- className: "form-notification__item",
2886
+ appearance: "errorPrimary sizeM solid rounded",
2887
+ type: "global",
2888
2888
  title: form.getState().submitError,
2889
- titleTextSize: "h6",
2890
2889
  status: "error",
2891
2890
  closeButton: notificationCloseButton
2892
2891
  })), onChangeFormValues && /*#__PURE__*/React__default.default.createElement(reactFinalForm.FormSpy, {
@@ -2872,10 +2872,9 @@ const FinalForm = /*#__PURE__*/React.forwardRef(function FinalForm(props, ref) {
2872
2872
  }, desc), submitError && !modifiedSinceLastSubmit && /*#__PURE__*/React.createElement("div", {
2873
2873
  className: clsx('notification', 'form-notification', notificationType ? `form-notification_${notificationType}` : 'form-notification_global')
2874
2874
  }, /*#__PURE__*/React.createElement(Notification, {
2875
- appearance: "errorPrimary",
2876
- className: "form-notification__item",
2875
+ appearance: "errorPrimary sizeM solid rounded",
2876
+ type: "global",
2877
2877
  title: form.getState().submitError,
2878
- titleTextSize: "h6",
2879
2878
  status: "error",
2880
2879
  closeButton: notificationCloseButton
2881
2880
  })), onChangeFormValues && /*#__PURE__*/React.createElement(FormSpy, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/forms",
3
- "version": "1.1.46",
3
+ "version": "1.1.47",
4
4
  "description": "Forms fields, inputs, etc.",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  "@itcase/storybook-config": "^1.2.13",
39
39
  "@itcase/tokens-am": "^1.1.20",
40
40
  "@itcase/tokens-baikal": "^1.1.17",
41
- "@itcase/ui": "^1.8.145",
41
+ "@itcase/ui": "^1.8.147",
42
42
  "axios": "^1.12.2",
43
43
  "clsx": "^2.1.1",
44
44
  "final-form": "4.20.10",