sti-antd-package 0.0.29 → 0.0.30

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,5 +1,6 @@
1
- import { SizeType } from "antd/es/config-provider/SizeContext";
2
1
  import { formColLayout } from "../../constants";
2
+ import { SizeType } from "antd/es/config-provider/SizeContext";
3
+ import { ValidateStatus } from "antd/es/form/FormItem";
3
4
  import { valueType } from "antd/es/statistic/utils";
4
5
  import { ShouldUpdate } from "rc-field-form/lib/Field";
5
6
  import { NamePath, Rule } from "rc-field-form/lib/interface";
@@ -43,7 +44,7 @@ export interface NumberFormatComponentProps {
43
44
  ruleMessage?: string;
44
45
  ruleMin?: number;
45
46
  ruleMax?: number;
46
- validateStatus?: 'error';
47
+ validateStatus?: ValidateStatus;
47
48
  help?: React.ReactNode;
48
49
  shouldUpdate?: ShouldUpdate<string | string[]>;
49
50
  ref?: Ref<NumberFormatComponentRef>;
package/dist/index.d.ts CHANGED
@@ -592,7 +592,7 @@ interface NumberFormatComponentProps {
592
592
  ruleMessage?: string;
593
593
  ruleMin?: number;
594
594
  ruleMax?: number;
595
- validateStatus?: 'error';
595
+ validateStatus?: ValidateStatus;
596
596
  help?: React.ReactNode;
597
597
  shouldUpdate?: ShouldUpdate<string | string[]>;
598
598
  ref?: Ref<NumberFormatComponentRef>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sti-antd-package",
3
3
  "description": "STI ANT Design",
4
- "version": "0.0.29",
4
+ "version": "0.0.30",
5
5
  "type": "module",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "dist/index.d.ts",