@douyinfe/semi-ui 2.32.0 → 2.32.1-alpha.0
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.
- package/dist/umd/semi-ui.js +120 -120
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/anchor/index.d.ts +1 -1
- package/lib/cjs/autoComplete/index.d.ts +1 -1
- package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/cjs/carousel/index.d.ts +2 -2
- package/lib/cjs/datePicker/datePicker.d.ts +2 -2
- package/lib/cjs/datePicker/monthsGrid.d.ts +2 -2
- package/lib/cjs/datePicker/quickControl.d.ts +1 -1
- package/lib/cjs/datePicker/yearAndMonth.d.ts +1 -1
- package/lib/cjs/dropdown/index.d.ts +1 -1
- package/lib/cjs/form/baseForm.d.ts +4 -4
- package/lib/cjs/form/field.d.ts +4 -4
- package/lib/cjs/modal/confirm.d.ts +35 -35
- package/lib/cjs/overflowList/index.d.ts +1 -1
- package/lib/cjs/popover/index.d.ts +1 -1
- package/lib/cjs/radio/radio.d.ts +1 -1
- package/lib/cjs/radio/radioGroup.d.ts +1 -1
- package/lib/cjs/select/index.d.ts +1 -1
- package/lib/cjs/table/Table.d.ts +2 -2
- package/lib/cjs/tooltip/index.d.ts +1 -1
- package/lib/cjs/typography/numeral.d.ts +1 -1
- package/lib/cjs/typography/title.d.ts +1 -1
- package/lib/es/anchor/index.d.ts +1 -1
- package/lib/es/autoComplete/index.d.ts +1 -1
- package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/es/carousel/index.d.ts +2 -2
- package/lib/es/datePicker/datePicker.d.ts +2 -2
- package/lib/es/datePicker/monthsGrid.d.ts +2 -2
- package/lib/es/datePicker/quickControl.d.ts +1 -1
- package/lib/es/datePicker/yearAndMonth.d.ts +1 -1
- package/lib/es/dropdown/index.d.ts +1 -1
- package/lib/es/form/baseForm.d.ts +4 -4
- package/lib/es/form/field.d.ts +4 -4
- package/lib/es/modal/confirm.d.ts +35 -35
- package/lib/es/overflowList/index.d.ts +1 -1
- package/lib/es/popover/index.d.ts +1 -1
- package/lib/es/radio/radio.d.ts +1 -1
- package/lib/es/radio/radioGroup.d.ts +1 -1
- package/lib/es/select/index.d.ts +1 -1
- package/lib/es/table/Table.d.ts +2 -2
- package/lib/es/tooltip/index.d.ts +1 -1
- package/lib/es/typography/numeral.d.ts +1 -1
- package/lib/es/typography/title.d.ts +1 -1
- package/package.json +8 -8
|
@@ -48,7 +48,7 @@ declare class Anchor extends BaseComponent<AnchorProps, AnchorState> {
|
|
|
48
48
|
offsetTop: PropTypes.Requireable<number>;
|
|
49
49
|
targetOffset: PropTypes.Requireable<number>;
|
|
50
50
|
showTooltip: PropTypes.Requireable<boolean>;
|
|
51
|
-
position: PropTypes.Requireable<"
|
|
51
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
52
52
|
maxWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
53
53
|
maxHeight: PropTypes.Requireable<NonNullable<string | number>>;
|
|
54
54
|
getContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -116,7 +116,7 @@ declare class AutoComplete<T extends AutoCompleteItems> extends BaseComponent<Au
|
|
|
116
116
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
117
117
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
118
118
|
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
119
|
-
position: PropTypes.Requireable<"
|
|
119
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
120
120
|
placeholder: PropTypes.Requireable<string>;
|
|
121
121
|
prefix: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
122
122
|
onChangeWithObject: PropTypes.Requireable<boolean>;
|
|
@@ -8,7 +8,7 @@ declare class CarouselIndicator extends React.PureComponent<CarouselIndicatorPro
|
|
|
8
8
|
position: PropTypes.Requireable<"left" | "right" | "center">;
|
|
9
9
|
size: PropTypes.Requireable<"small" | "medium">;
|
|
10
10
|
style: PropTypes.Requireable<object>;
|
|
11
|
-
theme: PropTypes.Requireable<"
|
|
11
|
+
theme: PropTypes.Requireable<"primary" | "dark" | "light">;
|
|
12
12
|
total: PropTypes.Requireable<number>;
|
|
13
13
|
onIndicatorChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
14
|
type: PropTypes.Requireable<"line" | "dot" | "columnar">;
|
|
@@ -22,9 +22,9 @@ declare class Carousel extends BaseComponent<CarouselProps, CarouselState> {
|
|
|
22
22
|
indicatorPosition: PropTypes.Requireable<"left" | "right" | "center">;
|
|
23
23
|
indicatorSize: PropTypes.Requireable<"small" | "medium">;
|
|
24
24
|
indicatorType: PropTypes.Requireable<"line" | "dot" | "columnar">;
|
|
25
|
-
theme: PropTypes.Requireable<"
|
|
25
|
+
theme: PropTypes.Requireable<"primary" | "dark" | "light">;
|
|
26
26
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
arrowType: PropTypes.Requireable<"
|
|
27
|
+
arrowType: PropTypes.Requireable<"hover" | "always">;
|
|
28
28
|
showArrow: PropTypes.Requireable<boolean>;
|
|
29
29
|
showIndicator: PropTypes.Requireable<boolean>;
|
|
30
30
|
slideDirection: PropTypes.Requireable<"left" | "right">;
|
|
@@ -73,7 +73,7 @@ export default class DatePicker extends BaseComponent<DatePickerProps, DatePicke
|
|
|
73
73
|
max: PropTypes.Requireable<number>;
|
|
74
74
|
placeholder: PropTypes.Requireable<NonNullable<string | any[]>>;
|
|
75
75
|
presets: PropTypes.Requireable<any[]>;
|
|
76
|
-
presetPosition: PropTypes.Requireable<"
|
|
76
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
77
77
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
78
78
|
onChangeWithDateFirst: PropTypes.Requireable<boolean>;
|
|
79
79
|
weekStartsOn: PropTypes.Requireable<number>;
|
|
@@ -90,7 +90,7 @@ export default class DatePicker extends BaseComponent<DatePickerProps, DatePicke
|
|
|
90
90
|
insetLabel: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
91
91
|
insetLabelId: PropTypes.Requireable<string>;
|
|
92
92
|
zIndex: PropTypes.Requireable<number>;
|
|
93
|
-
position: PropTypes.Requireable<"
|
|
93
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
94
94
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
95
95
|
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
96
96
|
onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -51,7 +51,7 @@ export default class MonthsGrid extends BaseComponent<MonthsGridProps, MonthsGri
|
|
|
51
51
|
onPanelChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
52
52
|
focusRecordsRef: PropTypes.Requireable<object>;
|
|
53
53
|
triggerRender: PropTypes.Requireable<(...args: any[]) => any>;
|
|
54
|
-
presetPosition: PropTypes.Requireable<"
|
|
54
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
55
55
|
renderQuickControls: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
56
56
|
renderDateInput: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
57
57
|
};
|
|
@@ -86,7 +86,7 @@ export default class MonthsGrid extends BaseComponent<MonthsGridProps, MonthsGri
|
|
|
86
86
|
renderMonth(month: Date, panelType: PanelType): JSX.Element;
|
|
87
87
|
handleWeeksRowNumChange: (weeksRowNum: number, panelType: PanelType) => void;
|
|
88
88
|
reselect: () => void;
|
|
89
|
-
getYAMOpenType: () => "
|
|
89
|
+
getYAMOpenType: () => "left" | "right" | "none" | "both";
|
|
90
90
|
renderTimePicker(panelType: PanelType, panelDetail: MonthInfo): JSX.Element;
|
|
91
91
|
renderYearAndMonth(panelType: PanelType, panelDetail: MonthInfo): JSX.Element;
|
|
92
92
|
renderSwitch(panelType: PanelType): JSX.Element;
|
|
@@ -14,7 +14,7 @@ export interface QuickControlProps {
|
|
|
14
14
|
declare class QuickControl extends PureComponent<QuickControlProps> {
|
|
15
15
|
static propTypes: {
|
|
16
16
|
presets: PropTypes.Requireable<any[]>;
|
|
17
|
-
presetPosition: PropTypes.Requireable<"
|
|
17
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
18
18
|
onPresetClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
19
|
type: PropTypes.Requireable<string>;
|
|
20
20
|
insetInput: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
@@ -21,7 +21,7 @@ declare class YearAndMonth extends BaseComponent<YearAndMonthProps, YearAndMonth
|
|
|
21
21
|
noBackBtn: PropTypes.Requireable<boolean>;
|
|
22
22
|
disabledDate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
23
23
|
density: PropTypes.Requireable<string>;
|
|
24
|
-
presetPosition: PropTypes.Requireable<"
|
|
24
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
25
25
|
renderQuickControls: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
26
|
renderDateInput: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
27
27
|
type: PropTypes.Requireable<"dateTime" | "date" | "month" | "dateRange" | "year" | "monthRange" | "dateTimeRange">;
|
|
@@ -66,7 +66,7 @@ declare class Dropdown extends BaseComponent<DropdownProps, DropdownState> {
|
|
|
66
66
|
motion: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
67
67
|
onVisibleChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
68
68
|
prefixCls: PropTypes.Requireable<string>;
|
|
69
|
-
position: PropTypes.Requireable<"
|
|
69
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
70
70
|
rePosKey: PropTypes.Requireable<NonNullable<string | number>>;
|
|
71
71
|
render: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
72
72
|
spacing: PropTypes.Requireable<number>;
|
|
@@ -57,9 +57,9 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
57
57
|
static Select: React.ComponentType<import("utility-types").Subtract<{
|
|
58
58
|
'aria-describedby'?: string;
|
|
59
59
|
'aria-errormessage'?: string;
|
|
60
|
-
'aria-invalid'?: boolean | "
|
|
60
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
61
61
|
'aria-labelledby'?: string;
|
|
62
|
-
'aria-required'?: boolean | "
|
|
62
|
+
'aria-required'?: boolean | "true" | "false";
|
|
63
63
|
id?: string;
|
|
64
64
|
autoFocus?: boolean;
|
|
65
65
|
autoClearSearchValue?: boolean;
|
|
@@ -82,7 +82,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
82
82
|
expandRestTagsOnClick?: boolean;
|
|
83
83
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
84
84
|
zIndex?: number;
|
|
85
|
-
position?: "
|
|
85
|
+
position?: "top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
86
86
|
onSearch?: (value: string, event: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>) => void;
|
|
87
87
|
dropdownClassName?: string;
|
|
88
88
|
dropdownStyle?: React.CSSProperties;
|
|
@@ -137,7 +137,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
137
137
|
preventScroll?: boolean;
|
|
138
138
|
showRestTagsPopover?: boolean;
|
|
139
139
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
140
|
-
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "
|
|
140
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "getPopupContainer" | "motion"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
141
141
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
142
142
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
143
143
|
static Radio: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../radio").RadioProps & import("./interface").RCIncludeType>;
|
package/lib/cjs/form/field.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ declare const FormTextArea: import("react").ComponentType<import("utility-types"
|
|
|
5
5
|
declare const FormSelect: import("react").ComponentType<import("utility-types").Subtract<{
|
|
6
6
|
'aria-describedby'?: string;
|
|
7
7
|
'aria-errormessage'?: string;
|
|
8
|
-
'aria-invalid'?: boolean | "
|
|
8
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
9
9
|
'aria-labelledby'?: string;
|
|
10
|
-
'aria-required'?: boolean | "
|
|
10
|
+
'aria-required'?: boolean | "true" | "false";
|
|
11
11
|
id?: string;
|
|
12
12
|
autoFocus?: boolean;
|
|
13
13
|
autoClearSearchValue?: boolean;
|
|
@@ -30,7 +30,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
30
30
|
expandRestTagsOnClick?: boolean;
|
|
31
31
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
32
32
|
zIndex?: number;
|
|
33
|
-
position?: "
|
|
33
|
+
position?: "top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
34
34
|
onSearch?: (value: string, event: import("react").KeyboardEvent<Element> | import("react").MouseEvent<Element, MouseEvent>) => void;
|
|
35
35
|
dropdownClassName?: string;
|
|
36
36
|
dropdownStyle?: import("react").CSSProperties;
|
|
@@ -85,7 +85,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
85
85
|
preventScroll?: boolean;
|
|
86
86
|
showRestTagsPopover?: boolean;
|
|
87
87
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
88
|
-
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "
|
|
88
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "getPopupContainer" | "motion"> & import("react").RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
89
89
|
declare const FormCheckboxGroup: import("react").ComponentType<import("utility-types").Subtract<import("../checkbox/checkboxGroup").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
90
90
|
declare const FormCheckbox: import("react").ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
91
91
|
declare const FormRadioGroup: import("react").ComponentType<import("utility-types").Subtract<import("../radio/radioGroup").RadioGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
@@ -145,27 +145,27 @@ export declare function withError(props: ModalReactProps): {
|
|
|
145
145
|
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
146
146
|
style?: React.CSSProperties;
|
|
147
147
|
className?: string;
|
|
148
|
-
motion?: boolean;
|
|
149
|
-
getPopupContainer?: () => HTMLElement;
|
|
150
148
|
footer?: React.ReactNode;
|
|
151
149
|
header?: React.ReactNode;
|
|
152
|
-
direction?: any;
|
|
153
|
-
width?: string | number;
|
|
154
|
-
height?: string | number;
|
|
155
150
|
mask?: boolean;
|
|
156
|
-
visible?: boolean;
|
|
157
151
|
content?: React.ReactNode;
|
|
158
|
-
|
|
152
|
+
width?: string | number;
|
|
153
|
+
height?: string | number;
|
|
154
|
+
direction?: any;
|
|
159
155
|
zIndex?: number;
|
|
156
|
+
visible?: boolean;
|
|
160
157
|
closeOnEsc?: boolean;
|
|
161
158
|
preventScroll?: boolean;
|
|
159
|
+
icon: string | number | boolean | React.ReactFragment | JSX.Element;
|
|
160
|
+
getPopupContainer?: () => HTMLElement;
|
|
161
|
+
motion?: boolean;
|
|
162
162
|
afterClose?: () => void;
|
|
163
163
|
keepDOM?: boolean;
|
|
164
164
|
cancelText?: string;
|
|
165
165
|
okText?: string;
|
|
166
166
|
closeIcon?: React.ReactNode;
|
|
167
|
-
bodyStyle?: React.CSSProperties;
|
|
168
167
|
closable?: boolean;
|
|
168
|
+
bodyStyle?: React.CSSProperties;
|
|
169
169
|
onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
|
|
170
170
|
maskClosable?: boolean;
|
|
171
171
|
cancelButtonProps?: import("../button").BaseButtonProps;
|
|
@@ -204,13 +204,9 @@ export declare function withError(props: ModalReactProps): {
|
|
|
204
204
|
title?: string;
|
|
205
205
|
name?: string;
|
|
206
206
|
value?: string | number | readonly string[];
|
|
207
|
-
|
|
208
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
207
|
+
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
209
208
|
form?: string;
|
|
210
209
|
slot?: string;
|
|
211
|
-
hidden?: boolean;
|
|
212
|
-
color?: string;
|
|
213
|
-
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
214
210
|
defaultChecked?: boolean;
|
|
215
211
|
defaultValue?: string | number | readonly string[];
|
|
216
212
|
suppressContentEditableWarning?: boolean;
|
|
@@ -223,26 +219,30 @@ export declare function withError(props: ModalReactProps): {
|
|
|
223
219
|
formNoValidate?: boolean;
|
|
224
220
|
formTarget?: string;
|
|
225
221
|
dir?: string;
|
|
226
|
-
draggable?: boolean | "
|
|
222
|
+
draggable?: boolean | "true" | "false";
|
|
223
|
+
hidden?: boolean;
|
|
227
224
|
lang?: string;
|
|
228
225
|
translate?: "no" | "yes";
|
|
229
226
|
prefix?: string;
|
|
230
|
-
contentEditable?: "inherit" | (boolean | "
|
|
231
|
-
inputMode?: "search" | "
|
|
227
|
+
contentEditable?: "inherit" | (boolean | "true" | "false");
|
|
228
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
232
229
|
tabIndex?: number;
|
|
230
|
+
color?: string;
|
|
231
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
232
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
233
233
|
role?: React.AriaRole;
|
|
234
234
|
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
235
235
|
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
236
236
|
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
237
237
|
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
238
238
|
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
239
|
-
'aria-expanded'?: boolean | "
|
|
240
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
239
|
+
'aria-expanded'?: boolean | "true" | "false";
|
|
240
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
|
|
241
241
|
'aria-controls'?: string;
|
|
242
242
|
'aria-describedby'?: string;
|
|
243
243
|
contextMenu?: string;
|
|
244
244
|
placeholder?: string;
|
|
245
|
-
spellCheck?: boolean | "
|
|
245
|
+
spellCheck?: boolean | "true" | "false";
|
|
246
246
|
radioGroup?: string;
|
|
247
247
|
about?: string;
|
|
248
248
|
datatype?: string;
|
|
@@ -264,42 +264,42 @@ export declare function withError(props: ModalReactProps): {
|
|
|
264
264
|
unselectable?: "on" | "off";
|
|
265
265
|
is?: string;
|
|
266
266
|
'aria-activedescendant'?: string;
|
|
267
|
-
'aria-atomic'?: boolean | "
|
|
268
|
-
'aria-autocomplete'?: "
|
|
269
|
-
'aria-busy'?: boolean | "
|
|
270
|
-
'aria-checked'?: boolean | "
|
|
267
|
+
'aria-atomic'?: boolean | "true" | "false";
|
|
268
|
+
'aria-autocomplete'?: "list" | "none" | "both" | "inline";
|
|
269
|
+
'aria-busy'?: boolean | "true" | "false";
|
|
270
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
271
271
|
'aria-colcount'?: number;
|
|
272
272
|
'aria-colindex'?: number;
|
|
273
273
|
'aria-colspan'?: number;
|
|
274
|
-
'aria-current'?: boolean | "time" | "
|
|
274
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date";
|
|
275
275
|
'aria-details'?: string;
|
|
276
|
-
'aria-disabled'?: boolean | "
|
|
276
|
+
'aria-disabled'?: boolean | "true" | "false";
|
|
277
277
|
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
278
278
|
'aria-errormessage'?: string;
|
|
279
279
|
'aria-flowto'?: string;
|
|
280
|
-
'aria-grabbed'?: boolean | "
|
|
281
|
-
'aria-hidden'?: boolean | "
|
|
282
|
-
'aria-invalid'?: boolean | "
|
|
280
|
+
'aria-grabbed'?: boolean | "true" | "false";
|
|
281
|
+
'aria-hidden'?: boolean | "true" | "false";
|
|
282
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
283
283
|
'aria-keyshortcuts'?: string;
|
|
284
284
|
'aria-labelledby'?: string;
|
|
285
285
|
'aria-level'?: number;
|
|
286
286
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
287
|
-
'aria-modal'?: boolean | "
|
|
288
|
-
'aria-multiline'?: boolean | "
|
|
289
|
-
'aria-multiselectable'?: boolean | "
|
|
287
|
+
'aria-modal'?: boolean | "true" | "false";
|
|
288
|
+
'aria-multiline'?: boolean | "true" | "false";
|
|
289
|
+
'aria-multiselectable'?: boolean | "true" | "false";
|
|
290
290
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
291
291
|
'aria-owns'?: string;
|
|
292
292
|
'aria-placeholder'?: string;
|
|
293
293
|
'aria-posinset'?: number;
|
|
294
|
-
'aria-pressed'?: boolean | "
|
|
295
|
-
'aria-readonly'?: boolean | "
|
|
294
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
295
|
+
'aria-readonly'?: boolean | "true" | "false";
|
|
296
296
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
297
|
-
'aria-required'?: boolean | "
|
|
297
|
+
'aria-required'?: boolean | "true" | "false";
|
|
298
298
|
'aria-roledescription'?: string;
|
|
299
299
|
'aria-rowcount'?: number;
|
|
300
300
|
'aria-rowindex'?: number;
|
|
301
301
|
'aria-rowspan'?: number;
|
|
302
|
-
'aria-selected'?: boolean | "
|
|
302
|
+
'aria-selected'?: boolean | "true" | "false";
|
|
303
303
|
'aria-setsize'?: number;
|
|
304
304
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
305
305
|
'aria-valuemax'?: number;
|
|
@@ -88,7 +88,7 @@ declare class OverflowList extends BaseComponent<OverflowListProps, OverflowList
|
|
|
88
88
|
className: string;
|
|
89
89
|
style: {
|
|
90
90
|
maxWidth: string;
|
|
91
|
-
visibility: "
|
|
91
|
+
visibility: "visible" | "hidden";
|
|
92
92
|
accentColor?: import("csstype").Property.AccentColor;
|
|
93
93
|
alignContent?: import("csstype").Property.AlignContent;
|
|
94
94
|
alignItems?: import("csstype").Property.AlignItems;
|
|
@@ -55,7 +55,7 @@ declare class Popover extends React.PureComponent<PopoverProps, PopoverState> {
|
|
|
55
55
|
visible: PropTypes.Requireable<boolean>;
|
|
56
56
|
autoAdjustOverflow: PropTypes.Requireable<boolean>;
|
|
57
57
|
motion: PropTypes.Requireable<boolean>;
|
|
58
|
-
position: PropTypes.Requireable<"
|
|
58
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
59
59
|
margin: PropTypes.Requireable<NonNullable<number | object>>;
|
|
60
60
|
mouseEnterDelay: PropTypes.Requireable<number>;
|
|
61
61
|
mouseLeaveDelay: PropTypes.Requireable<number>;
|
package/lib/cjs/radio/radio.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ declare class Radio extends BaseComponent<RadioProps, RadioState> {
|
|
|
82
82
|
prefixCls?: string;
|
|
83
83
|
name?: string;
|
|
84
84
|
onChange?: (e: RadioChangeEvent) => void;
|
|
85
|
-
buttonSize?: "small" | "
|
|
85
|
+
buttonSize?: "small" | "middle" | "large";
|
|
86
86
|
isCardRadio?: boolean;
|
|
87
87
|
isPureCardRadio?: boolean;
|
|
88
88
|
};
|
|
@@ -48,7 +48,7 @@ declare class RadioGroup extends BaseComponent<RadioGroupProps, RadioGroupState>
|
|
|
48
48
|
disabled: PropTypes.Requireable<boolean>;
|
|
49
49
|
name: PropTypes.Requireable<string>;
|
|
50
50
|
options: PropTypes.Requireable<any[]>;
|
|
51
|
-
buttonSize: PropTypes.Requireable<"small" | "
|
|
51
|
+
buttonSize: PropTypes.Requireable<"small" | "middle" | "large">;
|
|
52
52
|
type: PropTypes.Requireable<"default" | "button" | "card" | "pureCard">;
|
|
53
53
|
value: PropTypes.Requireable<any>;
|
|
54
54
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -198,7 +198,7 @@ declare class Select extends BaseComponent<SelectProps, SelectState> {
|
|
|
198
198
|
expandRestTagsOnClick: PropTypes.Requireable<boolean>;
|
|
199
199
|
onDropdownVisibleChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
200
200
|
zIndex: PropTypes.Requireable<number>;
|
|
201
|
-
position: PropTypes.Requireable<"
|
|
201
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
202
202
|
onSearch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
203
203
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
204
204
|
dropdownClassName: PropTypes.Requireable<string>;
|
package/lib/cjs/table/Table.d.ts
CHANGED
|
@@ -288,7 +288,7 @@ declare class Table<RecordType extends Record<string, any>> extends BaseComponen
|
|
|
288
288
|
* Combine pagination and table paging processing functions
|
|
289
289
|
*/
|
|
290
290
|
mergePagination: (pagination: TablePaginationProps) => {
|
|
291
|
-
position?: "
|
|
291
|
+
position?: "top" | "bottom" | "both";
|
|
292
292
|
formatPageText?: import("./interface").FormatPageText;
|
|
293
293
|
style?: React.CSSProperties;
|
|
294
294
|
className?: string;
|
|
@@ -308,7 +308,7 @@ declare class Table<RecordType extends Record<string, any>> extends BaseComponen
|
|
|
308
308
|
showSizeChanger?: boolean;
|
|
309
309
|
showQuickJumper?: boolean;
|
|
310
310
|
popoverZIndex?: number;
|
|
311
|
-
popoverPosition?: "
|
|
311
|
+
popoverPosition?: "top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
312
312
|
hideOnSinglePage?: boolean;
|
|
313
313
|
hoverShowPageSelect?: boolean;
|
|
314
314
|
};
|
|
@@ -88,7 +88,7 @@ export default class Tooltip extends BaseComponent<TooltipProps, TooltipState> {
|
|
|
88
88
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
89
89
|
motion: PropTypes.Requireable<boolean>;
|
|
90
90
|
autoAdjustOverflow: PropTypes.Requireable<boolean>;
|
|
91
|
-
position: PropTypes.Requireable<"
|
|
91
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
92
92
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
93
93
|
mouseEnterDelay: PropTypes.Requireable<number>;
|
|
94
94
|
mouseLeaveDelay: PropTypes.Requireable<number>;
|
|
@@ -28,7 +28,7 @@ export default class Numeral extends PureComponent<NumeralProps> {
|
|
|
28
28
|
static propTypes: {
|
|
29
29
|
rule: PropTypes.Requireable<"text" | "numbers" | "bytes-decimal" | "bytes-binary" | "percentages" | "exponential">;
|
|
30
30
|
precision: PropTypes.Requireable<number>;
|
|
31
|
-
truncate: PropTypes.Requireable<"
|
|
31
|
+
truncate: PropTypes.Requireable<"ceil" | "floor" | "round">;
|
|
32
32
|
parser: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
33
|
copyable: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
34
34
|
delete: PropTypes.Requireable<boolean>;
|
|
@@ -37,7 +37,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
37
37
|
underline: PropTypes.Requireable<boolean>;
|
|
38
38
|
strong: PropTypes.Requireable<boolean>;
|
|
39
39
|
type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
|
|
40
|
-
heading: PropTypes.Requireable<1 | 2 | 3 | 4 |
|
|
40
|
+
heading: PropTypes.Requireable<1 | 2 | 3 | 4 | 5 | 6>;
|
|
41
41
|
style: PropTypes.Requireable<object>;
|
|
42
42
|
className: PropTypes.Requireable<string>;
|
|
43
43
|
component: PropTypes.Requireable<string>;
|
package/lib/es/anchor/index.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ declare class Anchor extends BaseComponent<AnchorProps, AnchorState> {
|
|
|
48
48
|
offsetTop: PropTypes.Requireable<number>;
|
|
49
49
|
targetOffset: PropTypes.Requireable<number>;
|
|
50
50
|
showTooltip: PropTypes.Requireable<boolean>;
|
|
51
|
-
position: PropTypes.Requireable<"
|
|
51
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
52
52
|
maxWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
53
53
|
maxHeight: PropTypes.Requireable<NonNullable<string | number>>;
|
|
54
54
|
getContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -116,7 +116,7 @@ declare class AutoComplete<T extends AutoCompleteItems> extends BaseComponent<Au
|
|
|
116
116
|
onFocus: PropTypes.Requireable<(...args: any[]) => any>;
|
|
117
117
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
118
118
|
onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
119
|
-
position: PropTypes.Requireable<"
|
|
119
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
120
120
|
placeholder: PropTypes.Requireable<string>;
|
|
121
121
|
prefix: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
122
122
|
onChangeWithObject: PropTypes.Requireable<boolean>;
|
|
@@ -8,7 +8,7 @@ declare class CarouselIndicator extends React.PureComponent<CarouselIndicatorPro
|
|
|
8
8
|
position: PropTypes.Requireable<"left" | "right" | "center">;
|
|
9
9
|
size: PropTypes.Requireable<"small" | "medium">;
|
|
10
10
|
style: PropTypes.Requireable<object>;
|
|
11
|
-
theme: PropTypes.Requireable<"
|
|
11
|
+
theme: PropTypes.Requireable<"primary" | "dark" | "light">;
|
|
12
12
|
total: PropTypes.Requireable<number>;
|
|
13
13
|
onIndicatorChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
14
|
type: PropTypes.Requireable<"line" | "dot" | "columnar">;
|
|
@@ -22,9 +22,9 @@ declare class Carousel extends BaseComponent<CarouselProps, CarouselState> {
|
|
|
22
22
|
indicatorPosition: PropTypes.Requireable<"left" | "right" | "center">;
|
|
23
23
|
indicatorSize: PropTypes.Requireable<"small" | "medium">;
|
|
24
24
|
indicatorType: PropTypes.Requireable<"line" | "dot" | "columnar">;
|
|
25
|
-
theme: PropTypes.Requireable<"
|
|
25
|
+
theme: PropTypes.Requireable<"primary" | "dark" | "light">;
|
|
26
26
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
arrowType: PropTypes.Requireable<"
|
|
27
|
+
arrowType: PropTypes.Requireable<"hover" | "always">;
|
|
28
28
|
showArrow: PropTypes.Requireable<boolean>;
|
|
29
29
|
showIndicator: PropTypes.Requireable<boolean>;
|
|
30
30
|
slideDirection: PropTypes.Requireable<"left" | "right">;
|
|
@@ -73,7 +73,7 @@ export default class DatePicker extends BaseComponent<DatePickerProps, DatePicke
|
|
|
73
73
|
max: PropTypes.Requireable<number>;
|
|
74
74
|
placeholder: PropTypes.Requireable<NonNullable<string | any[]>>;
|
|
75
75
|
presets: PropTypes.Requireable<any[]>;
|
|
76
|
-
presetPosition: PropTypes.Requireable<"
|
|
76
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
77
77
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
78
78
|
onChangeWithDateFirst: PropTypes.Requireable<boolean>;
|
|
79
79
|
weekStartsOn: PropTypes.Requireable<number>;
|
|
@@ -90,7 +90,7 @@ export default class DatePicker extends BaseComponent<DatePickerProps, DatePicke
|
|
|
90
90
|
insetLabel: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
91
91
|
insetLabelId: PropTypes.Requireable<string>;
|
|
92
92
|
zIndex: PropTypes.Requireable<number>;
|
|
93
|
-
position: PropTypes.Requireable<"
|
|
93
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
94
94
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
95
95
|
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
96
96
|
onConfirm: PropTypes.Requireable<(...args: any[]) => any>;
|
|
@@ -51,7 +51,7 @@ export default class MonthsGrid extends BaseComponent<MonthsGridProps, MonthsGri
|
|
|
51
51
|
onPanelChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
52
52
|
focusRecordsRef: PropTypes.Requireable<object>;
|
|
53
53
|
triggerRender: PropTypes.Requireable<(...args: any[]) => any>;
|
|
54
|
-
presetPosition: PropTypes.Requireable<"
|
|
54
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
55
55
|
renderQuickControls: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
56
56
|
renderDateInput: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
57
57
|
};
|
|
@@ -86,7 +86,7 @@ export default class MonthsGrid extends BaseComponent<MonthsGridProps, MonthsGri
|
|
|
86
86
|
renderMonth(month: Date, panelType: PanelType): JSX.Element;
|
|
87
87
|
handleWeeksRowNumChange: (weeksRowNum: number, panelType: PanelType) => void;
|
|
88
88
|
reselect: () => void;
|
|
89
|
-
getYAMOpenType: () => "
|
|
89
|
+
getYAMOpenType: () => "left" | "right" | "none" | "both";
|
|
90
90
|
renderTimePicker(panelType: PanelType, panelDetail: MonthInfo): JSX.Element;
|
|
91
91
|
renderYearAndMonth(panelType: PanelType, panelDetail: MonthInfo): JSX.Element;
|
|
92
92
|
renderSwitch(panelType: PanelType): JSX.Element;
|
|
@@ -14,7 +14,7 @@ export interface QuickControlProps {
|
|
|
14
14
|
declare class QuickControl extends PureComponent<QuickControlProps> {
|
|
15
15
|
static propTypes: {
|
|
16
16
|
presets: PropTypes.Requireable<any[]>;
|
|
17
|
-
presetPosition: PropTypes.Requireable<"
|
|
17
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
18
18
|
onPresetClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
19
|
type: PropTypes.Requireable<string>;
|
|
20
20
|
insetInput: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
@@ -21,7 +21,7 @@ declare class YearAndMonth extends BaseComponent<YearAndMonthProps, YearAndMonth
|
|
|
21
21
|
noBackBtn: PropTypes.Requireable<boolean>;
|
|
22
22
|
disabledDate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
23
23
|
density: PropTypes.Requireable<string>;
|
|
24
|
-
presetPosition: PropTypes.Requireable<"
|
|
24
|
+
presetPosition: PropTypes.Requireable<"top" | "left" | "right" | "bottom">;
|
|
25
25
|
renderQuickControls: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
26
|
renderDateInput: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
27
27
|
type: PropTypes.Requireable<"dateTime" | "date" | "month" | "dateRange" | "year" | "monthRange" | "dateTimeRange">;
|
|
@@ -66,7 +66,7 @@ declare class Dropdown extends BaseComponent<DropdownProps, DropdownState> {
|
|
|
66
66
|
motion: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
67
67
|
onVisibleChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
68
68
|
prefixCls: PropTypes.Requireable<string>;
|
|
69
|
-
position: PropTypes.Requireable<"
|
|
69
|
+
position: PropTypes.Requireable<"top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
70
70
|
rePosKey: PropTypes.Requireable<NonNullable<string | number>>;
|
|
71
71
|
render: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
72
72
|
spacing: PropTypes.Requireable<number>;
|
|
@@ -57,9 +57,9 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
57
57
|
static Select: React.ComponentType<import("utility-types").Subtract<{
|
|
58
58
|
'aria-describedby'?: string;
|
|
59
59
|
'aria-errormessage'?: string;
|
|
60
|
-
'aria-invalid'?: boolean | "
|
|
60
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
61
61
|
'aria-labelledby'?: string;
|
|
62
|
-
'aria-required'?: boolean | "
|
|
62
|
+
'aria-required'?: boolean | "true" | "false";
|
|
63
63
|
id?: string;
|
|
64
64
|
autoFocus?: boolean;
|
|
65
65
|
autoClearSearchValue?: boolean;
|
|
@@ -82,7 +82,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
82
82
|
expandRestTagsOnClick?: boolean;
|
|
83
83
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
84
84
|
zIndex?: number;
|
|
85
|
-
position?: "
|
|
85
|
+
position?: "top" | "topLeft" | "topRight" | "left" | "leftTop" | "leftBottom" | "right" | "rightTop" | "rightBottom" | "bottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
86
86
|
onSearch?: (value: string, event: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>) => void;
|
|
87
87
|
dropdownClassName?: string;
|
|
88
88
|
dropdownStyle?: React.CSSProperties;
|
|
@@ -137,7 +137,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
137
137
|
preventScroll?: boolean;
|
|
138
138
|
showRestTagsPopover?: boolean;
|
|
139
139
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
140
|
-
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "
|
|
140
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay" | "getPopupContainer" | "motion"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
141
141
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
142
142
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
143
143
|
static Radio: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../radio").RadioProps & import("./interface").RCIncludeType>;
|