assui 2.0.109 → 2.0.110

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,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { AutoCompleteProps } from 'antd/es/auto-complete';
3
3
  export interface LabelAutoCompleteProps extends AutoCompleteProps {
4
- label: React.ReactNode;
5
- className: string;
4
+ label?: React.ReactNode;
5
+ className?: string;
6
6
  }
7
7
  declare const LabelAutoComplete: (props: LabelAutoCompleteProps) => JSX.Element;
8
8
  export default LabelAutoComplete;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { DatePickerProps } from 'antd/es/date-picker';
3
3
  export interface LabelDatePickerProps extends Omit<DatePickerProps, 'label'> {
4
- label: React.ReactNode;
4
+ label?: React.ReactNode;
5
5
  }
6
6
  declare const LabelDatePicker: React.FC<LabelDatePickerProps>;
7
7
  export default LabelDatePicker;
@@ -3,7 +3,7 @@ import type { SelectProps } from 'antd/es/select';
3
3
  declare const Option: import("rc-select/lib/Option").OptionFC;
4
4
  export { Option };
5
5
  export interface LabelSelectProps extends SelectProps<string> {
6
- label: React.ReactNode;
6
+ label?: React.ReactNode;
7
7
  }
8
8
  declare const LabelSelect: {
9
9
  (props: LabelSelectProps): JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { TreeSelectProps } from 'antd/es/tree-select';
3
3
  export interface LabelTreeSelectProps extends Omit<TreeSelectProps<string[]>, 'onDropdownVisibleChange'> {
4
4
  /** 输入框的label */
5
- label: React.ReactNode;
5
+ label?: React.ReactNode;
6
6
  /** 输入框value的单位 */
7
7
  unit?: React.ReactNode;
8
8
  onDropdownVisibleChange?: (value: boolean) => void;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { AutoCompleteProps } from 'antd/es/auto-complete';
3
3
  export interface LabelAutoCompleteProps extends AutoCompleteProps {
4
- label: React.ReactNode;
5
- className: string;
4
+ label?: React.ReactNode;
5
+ className?: string;
6
6
  }
7
7
  declare const LabelAutoComplete: (props: LabelAutoCompleteProps) => JSX.Element;
8
8
  export default LabelAutoComplete;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { DatePickerProps } from 'antd/es/date-picker';
3
3
  export interface LabelDatePickerProps extends Omit<DatePickerProps, 'label'> {
4
- label: React.ReactNode;
4
+ label?: React.ReactNode;
5
5
  }
6
6
  declare const LabelDatePicker: React.FC<LabelDatePickerProps>;
7
7
  export default LabelDatePicker;
@@ -3,7 +3,7 @@ import type { SelectProps } from 'antd/es/select';
3
3
  declare const Option: import("rc-select/lib/Option").OptionFC;
4
4
  export { Option };
5
5
  export interface LabelSelectProps extends SelectProps<string> {
6
- label: React.ReactNode;
6
+ label?: React.ReactNode;
7
7
  }
8
8
  declare const LabelSelect: {
9
9
  (props: LabelSelectProps): JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { TreeSelectProps } from 'antd/es/tree-select';
3
3
  export interface LabelTreeSelectProps extends Omit<TreeSelectProps<string[]>, 'onDropdownVisibleChange'> {
4
4
  /** 输入框的label */
5
- label: React.ReactNode;
5
+ label?: React.ReactNode;
6
6
  /** 输入框value的单位 */
7
7
  unit?: React.ReactNode;
8
8
  onDropdownVisibleChange?: (value: boolean) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "2.0.109",
3
+ "version": "2.0.110",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -69,5 +69,5 @@
69
69
  "node": ">=10.0.0"
70
70
  },
71
71
  "license": "MIT",
72
- "gitHead": "469909ca3f5a141cd5352ea122b686591b18d0a9"
72
+ "gitHead": "e595886461d78f4c4ee4138e3fb1ed3ca4a1f0ff"
73
73
  }