@itcase/forms 1.1.21 → 1.1.22

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.
@@ -2657,8 +2657,11 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2657
2657
  dataTestIdPrimaryButton,
2658
2658
  dataTourPrimaryButton,
2659
2659
  primaryButton,
2660
+ primaryButtonAppearance,
2660
2661
  primaryButtonFill,
2661
2662
  primaryButtonFillHover,
2663
+ primaryButtonIsDisabled,
2664
+ primaryButtonIsLoading,
2662
2665
  primaryButtonLabel,
2663
2666
  primaryButtonLabelSize,
2664
2667
  primaryButtonLabelTextColor,
@@ -2668,8 +2671,11 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2668
2671
  dataTourSecondaryButton,
2669
2672
  onClickSecondaryButton,
2670
2673
  secondaryButton,
2674
+ secondaryButtonAppearance,
2671
2675
  secondaryButtonFill,
2672
2676
  secondaryButtonFillHover,
2677
+ secondaryButtonIsDisabled,
2678
+ secondaryButtonIsLoading,
2673
2679
  secondaryButtonLabel,
2674
2680
  secondaryButtonLabelSize,
2675
2681
  secondaryButtonLabelTextColor,
@@ -2703,12 +2709,13 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2703
2709
  groupGap,
2704
2710
  language,
2705
2711
  loader,
2712
+ loaderAppearance = 'surfacePrimary sizeM ghost',
2706
2713
  loaderFill,
2707
2714
  loaderItemFill,
2708
2715
  loaderShape,
2709
2716
  loaderSize,
2710
2717
  loaderText,
2711
- loaderType,
2718
+ loaderType = 'simple',
2712
2719
  mutators,
2713
2720
  notificationCloseButton,
2714
2721
  notificationType,
@@ -2795,6 +2802,7 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2795
2802
  }, additionalProps[config[key].name])), isLoading && (loader || /*#__PURE__*/React__default.default.createElement(Loader.Loader, {
2796
2803
  className: "form__loader",
2797
2804
  type: loaderType,
2805
+ appearance: loaderAppearance,
2798
2806
  size: loaderSize,
2799
2807
  fill: loaderFill,
2800
2808
  text: loaderText,
@@ -2811,6 +2819,7 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2811
2819
  dataTour: dataTourButtons
2812
2820
  }, primaryButtonLabel ? /*#__PURE__*/React__default.default.createElement(Button.Button, {
2813
2821
  className: "form__button-item",
2822
+ appearance: primaryButtonAppearance,
2814
2823
  width: "fill",
2815
2824
  size: primaryButtonSize,
2816
2825
  fill: primaryButtonFill,
@@ -2819,10 +2828,13 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2819
2828
  labelTextColor: primaryButtonLabelTextColor,
2820
2829
  labelTextSize: primaryButtonLabelSize,
2821
2830
  labelTextWeight: primaryButtonLabelTextWeight,
2831
+ isDisabled: primaryButtonIsDisabled,
2822
2832
  dataTestId: dataTestIdPrimaryButton,
2823
- dataTour: dataTourPrimaryButton
2833
+ dataTour: dataTourPrimaryButton,
2834
+ loading: primaryButtonIsLoading
2824
2835
  }) : primaryButton, secondaryButtonLabel ? /*#__PURE__*/React__default.default.createElement(Button.Button, {
2825
2836
  className: "form__button-item",
2837
+ appearance: secondaryButtonAppearance,
2826
2838
  width: "fill",
2827
2839
  size: secondaryButtonSize,
2828
2840
  fill: secondaryButtonFill,
@@ -2831,8 +2843,10 @@ const FinalForm = /*#__PURE__*/React__default.default.forwardRef(function FinalF
2831
2843
  labelTextColor: secondaryButtonLabelTextColor,
2832
2844
  labelTextSize: secondaryButtonLabelSize,
2833
2845
  labelTextWeight: secondaryButtonLabelTextWeight,
2846
+ isDisabled: secondaryButtonIsDisabled,
2834
2847
  dataTestId: dataTestIdSecondaryButton,
2835
2848
  dataTour: dataTourSecondaryButton,
2849
+ loading: secondaryButtonIsLoading,
2836
2850
  onClick: onClickSecondaryButton
2837
2851
  }) : secondaryButton, tertiaryButtonLabel ? /*#__PURE__*/React__default.default.createElement(Button.Button, {
2838
2852
  className: "form__button-item",
@@ -2646,8 +2646,11 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
2646
2646
  dataTestIdPrimaryButton,
2647
2647
  dataTourPrimaryButton,
2648
2648
  primaryButton,
2649
+ primaryButtonAppearance,
2649
2650
  primaryButtonFill,
2650
2651
  primaryButtonFillHover,
2652
+ primaryButtonIsDisabled,
2653
+ primaryButtonIsLoading,
2651
2654
  primaryButtonLabel,
2652
2655
  primaryButtonLabelSize,
2653
2656
  primaryButtonLabelTextColor,
@@ -2657,8 +2660,11 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
2657
2660
  dataTourSecondaryButton,
2658
2661
  onClickSecondaryButton,
2659
2662
  secondaryButton,
2663
+ secondaryButtonAppearance,
2660
2664
  secondaryButtonFill,
2661
2665
  secondaryButtonFillHover,
2666
+ secondaryButtonIsDisabled,
2667
+ secondaryButtonIsLoading,
2662
2668
  secondaryButtonLabel,
2663
2669
  secondaryButtonLabelSize,
2664
2670
  secondaryButtonLabelTextColor,
@@ -2692,12 +2698,13 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
2692
2698
  groupGap,
2693
2699
  language,
2694
2700
  loader,
2701
+ loaderAppearance = 'surfacePrimary sizeM ghost',
2695
2702
  loaderFill,
2696
2703
  loaderItemFill,
2697
2704
  loaderShape,
2698
2705
  loaderSize,
2699
2706
  loaderText,
2700
- loaderType,
2707
+ loaderType = 'simple',
2701
2708
  mutators,
2702
2709
  notificationCloseButton,
2703
2710
  notificationType,
@@ -2784,6 +2791,7 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
2784
2791
  }, additionalProps[config[key].name])), isLoading && (loader || /*#__PURE__*/React$1.createElement(Loader, {
2785
2792
  className: "form__loader",
2786
2793
  type: loaderType,
2794
+ appearance: loaderAppearance,
2787
2795
  size: loaderSize,
2788
2796
  fill: loaderFill,
2789
2797
  text: loaderText,
@@ -2800,6 +2808,7 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
2800
2808
  dataTour: dataTourButtons
2801
2809
  }, primaryButtonLabel ? /*#__PURE__*/React$1.createElement(Button, {
2802
2810
  className: "form__button-item",
2811
+ appearance: primaryButtonAppearance,
2803
2812
  width: "fill",
2804
2813
  size: primaryButtonSize,
2805
2814
  fill: primaryButtonFill,
@@ -2808,10 +2817,13 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
2808
2817
  labelTextColor: primaryButtonLabelTextColor,
2809
2818
  labelTextSize: primaryButtonLabelSize,
2810
2819
  labelTextWeight: primaryButtonLabelTextWeight,
2820
+ isDisabled: primaryButtonIsDisabled,
2811
2821
  dataTestId: dataTestIdPrimaryButton,
2812
- dataTour: dataTourPrimaryButton
2822
+ dataTour: dataTourPrimaryButton,
2823
+ loading: primaryButtonIsLoading
2813
2824
  }) : primaryButton, secondaryButtonLabel ? /*#__PURE__*/React$1.createElement(Button, {
2814
2825
  className: "form__button-item",
2826
+ appearance: secondaryButtonAppearance,
2815
2827
  width: "fill",
2816
2828
  size: secondaryButtonSize,
2817
2829
  fill: secondaryButtonFill,
@@ -2820,8 +2832,10 @@ const FinalForm = /*#__PURE__*/React$1.forwardRef(function FinalForm(props, ref)
2820
2832
  labelTextColor: secondaryButtonLabelTextColor,
2821
2833
  labelTextSize: secondaryButtonLabelSize,
2822
2834
  labelTextWeight: secondaryButtonLabelTextWeight,
2835
+ isDisabled: secondaryButtonIsDisabled,
2823
2836
  dataTestId: dataTestIdSecondaryButton,
2824
2837
  dataTour: dataTourSecondaryButton,
2838
+ loading: secondaryButtonIsLoading,
2825
2839
  onClick: onClickSecondaryButton
2826
2840
  }) : secondaryButton, tertiaryButtonLabel ? /*#__PURE__*/React$1.createElement(Button, {
2827
2841
  className: "form__button-item",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/forms",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Forms fields, inputs, etc.",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -33,19 +33,19 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@itcase/common": "^1.2.28",
36
- "@itcase/config": "^1.0.48",
37
- "@itcase/icons": "^1.2.6",
38
- "@itcase/storybook-config": "^1.1.14",
39
- "@itcase/tokens-am": "^1.1.9",
40
- "@itcase/tokens-baikal": "^1.1.9",
41
- "@itcase/ui": "^1.8.39",
36
+ "@itcase/config": "^1.0.54",
37
+ "@itcase/icons": "^1.2.16",
38
+ "@itcase/storybook-config": "^1.1.53",
39
+ "@itcase/tokens-am": "^1.1.19",
40
+ "@itcase/tokens-baikal": "^1.1.17",
41
+ "@itcase/ui": "^1.8.62",
42
42
  "axios": "^1.10.0",
43
43
  "clsx": "^2.1.1",
44
44
  "final-form": "4.20.10",
45
45
  "final-form-focus": "1.1.2",
46
- "libphonenumber-js": "^1.12.9",
46
+ "libphonenumber-js": "^1.12.10",
47
47
  "lodash": "^4.17.21",
48
- "luxon": "^3.6.1",
48
+ "luxon": "^3.7.1",
49
49
  "react": "^18.3.1",
50
50
  "react-date-range": "^2.0.1",
51
51
  "react-datepicker": "^8.4.0",
@@ -53,10 +53,10 @@
53
53
  "react-dropzone": "^14.3.8",
54
54
  "react-final-form": "6.5.9",
55
55
  "react-imask": "^7.6.1",
56
- "react-select": "^5.10.1"
56
+ "react-select": "^5.10.2"
57
57
  },
58
58
  "devDependencies": {
59
- "@itcase/lint": "^1.1.19",
59
+ "@itcase/lint": "^1.1.26",
60
60
  "@babel/core": "^7.28.0",
61
61
  "@babel/eslint-parser": "^7.28.0",
62
62
  "@babel/preset-env": "^7.28.0",
@@ -75,16 +75,16 @@
75
75
  "@types/react-dom": "^18.3.1",
76
76
  "babel-plugin-inline-react-svg": "^2.0.2",
77
77
  "babel-plugin-transform-react-remove-prop-types": "^0.4.24",
78
- "conventional-changelog-conventionalcommits": "^9.0.0",
79
- "eslint": "9.30.1",
78
+ "conventional-changelog-conventionalcommits": "^9.1.0",
79
+ "eslint": "9.31.0",
80
80
  "husky": "^9.1.7",
81
81
  "lint-staged": "^16.1.2",
82
82
  "postcss": "^8.5.6",
83
83
  "prettier": "3.6.2",
84
- "rollup": "^4.44.1",
84
+ "rollup": "^4.45.1",
85
85
  "rollup-plugin-peer-deps-external": "^2.2.4",
86
- "semantic-release": "^24.2.6",
87
- "stylelint": "^16.21.1",
86
+ "semantic-release": "^24.2.7",
87
+ "stylelint": "^16.22.0",
88
88
  "typescript": "^5.8.3",
89
89
  "yup": "^1.6.1"
90
90
  }