@douyinfe/semi-ui 2.56.4-alpha.4 → 2.56.4-alpha.5
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.map +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/button/Button.d.ts +1 -1
- package/lib/cjs/button/index.d.ts +1 -1
- package/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/cjs/carousel/index.d.ts +1 -1
- 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 +2 -2
- package/lib/cjs/form/field.d.ts +2 -2
- package/lib/cjs/markdownRender/index.js +1 -1
- package/lib/cjs/modal/confirm.d.ts +109 -109
- 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/Column.d.ts +1 -1
- package/lib/cjs/table/ColumnShape.d.ts +1 -1
- package/lib/cjs/table/Table.d.ts +2 -2
- package/lib/cjs/table/index.d.ts +1 -1
- package/lib/cjs/timePicker/TimePicker.d.ts +2 -2
- package/lib/cjs/timePicker/TimeShape.d.ts +1 -1
- package/lib/cjs/timePicker/index.d.ts +2 -2
- package/lib/cjs/tooltip/index.d.ts +1 -1
- package/lib/cjs/typography/title.d.ts +1 -1
- package/lib/cjs/upload/index.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/button/Button.d.ts +1 -1
- package/lib/es/button/index.d.ts +1 -1
- package/lib/es/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/es/carousel/index.d.ts +1 -1
- 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 +2 -2
- package/lib/es/form/field.d.ts +2 -2
- package/lib/es/markdownRender/index.js +1 -1
- package/lib/es/modal/confirm.d.ts +109 -109
- 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/Column.d.ts +1 -1
- package/lib/es/table/ColumnShape.d.ts +1 -1
- package/lib/es/table/Table.d.ts +2 -2
- package/lib/es/table/index.d.ts +1 -1
- package/lib/es/timePicker/TimePicker.d.ts +2 -2
- package/lib/es/timePicker/TimeShape.d.ts +1 -1
- package/lib/es/timePicker/index.d.ts +2 -2
- package/lib/es/tooltip/index.d.ts +1 -1
- package/lib/es/typography/title.d.ts +1 -1
- package/lib/es/upload/index.d.ts +1 -1
- package/package.json +8 -8
|
@@ -21,11 +21,11 @@ export default class LocaleTimePicker extends React.PureComponent<LocalePickerPr
|
|
|
21
21
|
borderless: import("prop-types").Requireable<boolean>;
|
|
22
22
|
clearText: import("prop-types").Requireable<string>;
|
|
23
23
|
clearIcon: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
24
|
-
value: import("prop-types").Requireable<NonNullable<string | number | string[] |
|
|
24
|
+
value: import("prop-types").Requireable<NonNullable<string | number | string[] | number[] | Date | Date[]>>;
|
|
25
25
|
inputReadOnly: import("prop-types").Requireable<boolean>;
|
|
26
26
|
disabled: import("prop-types").Requireable<boolean>;
|
|
27
27
|
showClear: import("prop-types").Requireable<boolean>;
|
|
28
|
-
defaultValue: import("prop-types").Requireable<NonNullable<string | number | string[] |
|
|
28
|
+
defaultValue: import("prop-types").Requireable<NonNullable<string | number | string[] | number[] | Date | Date[]>>;
|
|
29
29
|
open: import("prop-types").Requireable<boolean>;
|
|
30
30
|
defaultOpen: import("prop-types").Requireable<boolean>;
|
|
31
31
|
onOpenChange: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
@@ -91,7 +91,7 @@ export default class Tooltip extends BaseComponent<TooltipProps, TooltipState> {
|
|
|
91
91
|
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
92
92
|
motion: PropTypes.Requireable<boolean>;
|
|
93
93
|
autoAdjustOverflow: PropTypes.Requireable<boolean>;
|
|
94
|
-
position: PropTypes.Requireable<"left" | "right" | "
|
|
94
|
+
position: PropTypes.Requireable<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
95
95
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
96
96
|
mouseEnterDelay: PropTypes.Requireable<number>;
|
|
97
97
|
mouseLeaveDelay: PropTypes.Requireable<number>;
|
|
@@ -60,7 +60,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
60
60
|
underline: PropTypes.Requireable<boolean>;
|
|
61
61
|
strong: PropTypes.Requireable<boolean>;
|
|
62
62
|
type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "danger" | "tertiary" | "quaternary">;
|
|
63
|
-
heading: PropTypes.Requireable<
|
|
63
|
+
heading: PropTypes.Requireable<4 | 2 | 1 | 3 | 5 | 6>;
|
|
64
64
|
style: PropTypes.Requireable<object>;
|
|
65
65
|
className: PropTypes.Requireable<string>;
|
|
66
66
|
component: PropTypes.Requireable<string>;
|
|
@@ -150,7 +150,7 @@ declare class Upload extends BaseComponent<UploadProps, UploadState> {
|
|
|
150
150
|
style: PropTypes.Requireable<object>;
|
|
151
151
|
timeout: PropTypes.Requireable<number>;
|
|
152
152
|
transformFile: PropTypes.Requireable<(...args: any[]) => any>;
|
|
153
|
-
uploadTrigger: PropTypes.Requireable<"
|
|
153
|
+
uploadTrigger: PropTypes.Requireable<"custom" | "auto">;
|
|
154
154
|
validateMessage: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
155
155
|
validateStatus: PropTypes.Requireable<"default" | "error" | "warning" | "success">;
|
|
156
156
|
withCredentials: PropTypes.Requireable<boolean>;
|
package/lib/es/anchor/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ declare class Anchor extends BaseComponent<AnchorProps, AnchorState> {
|
|
|
49
49
|
offsetTop: PropTypes.Requireable<number>;
|
|
50
50
|
targetOffset: PropTypes.Requireable<number>;
|
|
51
51
|
showTooltip: PropTypes.Requireable<boolean>;
|
|
52
|
-
position: PropTypes.Requireable<"left" | "right" | "
|
|
52
|
+
position: PropTypes.Requireable<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
53
53
|
maxWidth: PropTypes.Requireable<NonNullable<string | number>>;
|
|
54
54
|
maxHeight: PropTypes.Requireable<NonNullable<string | number>>;
|
|
55
55
|
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<"left" | "right" | "
|
|
119
|
+
position: PropTypes.Requireable<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "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>;
|
|
@@ -54,7 +54,7 @@ export default class Button extends PureComponent<ButtonProps> {
|
|
|
54
54
|
onMouseDown: PropTypes.Requireable<(...args: any[]) => any>;
|
|
55
55
|
circle: PropTypes.Requireable<boolean>;
|
|
56
56
|
loading: PropTypes.Requireable<boolean>;
|
|
57
|
-
htmlType: PropTypes.Requireable<"button" | "
|
|
57
|
+
htmlType: PropTypes.Requireable<"button" | "reset" | "submit">;
|
|
58
58
|
theme: PropTypes.Requireable<"solid" | "light" | "borderless">;
|
|
59
59
|
className: PropTypes.Requireable<string>;
|
|
60
60
|
onMouseEnter: PropTypes.Requireable<(...args: any[]) => any>;
|
package/lib/es/button/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ declare class Button extends React.PureComponent<ButtonProps> {
|
|
|
29
29
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
30
30
|
onMouseDown: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
31
31
|
circle: import("prop-types").Requireable<boolean>;
|
|
32
|
-
htmlType: import("prop-types").Requireable<"button" | "
|
|
32
|
+
htmlType: import("prop-types").Requireable<"button" | "reset" | "submit">;
|
|
33
33
|
'aria-label': import("prop-types").Requireable<string>;
|
|
34
34
|
};
|
|
35
35
|
static elementType: string;
|
|
@@ -5,7 +5,7 @@ declare class CarouselIndicator extends React.PureComponent<CarouselIndicatorPro
|
|
|
5
5
|
static propTypes: {
|
|
6
6
|
activeKey: PropTypes.Requireable<number>;
|
|
7
7
|
className: PropTypes.Requireable<string>;
|
|
8
|
-
position: PropTypes.Requireable<"
|
|
8
|
+
position: PropTypes.Requireable<"left" | "right" | "center">;
|
|
9
9
|
size: PropTypes.Requireable<"small" | "medium">;
|
|
10
10
|
style: PropTypes.Requireable<object>;
|
|
11
11
|
theme: PropTypes.Requireable<"dark" | "light" | "primary">;
|
|
@@ -19,7 +19,7 @@ declare class Carousel extends BaseComponent<CarouselProps, CarouselState> {
|
|
|
19
19
|
autoPlay: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
20
20
|
className: PropTypes.Requireable<string>;
|
|
21
21
|
defaultActiveIndex: PropTypes.Requireable<number>;
|
|
22
|
-
indicatorPosition: PropTypes.Requireable<"
|
|
22
|
+
indicatorPosition: PropTypes.Requireable<"left" | "right" | "center">;
|
|
23
23
|
indicatorSize: PropTypes.Requireable<"small" | "medium">;
|
|
24
24
|
indicatorType: PropTypes.Requireable<"line" | "dot" | "columnar">;
|
|
25
25
|
theme: PropTypes.Requireable<"dark" | "light" | "primary">;
|
|
@@ -74,7 +74,7 @@ export default class DatePicker extends BaseComponent<DatePickerProps, DatePicke
|
|
|
74
74
|
max: PropTypes.Requireable<number>;
|
|
75
75
|
placeholder: PropTypes.Requireable<NonNullable<string | any[]>>;
|
|
76
76
|
presets: PropTypes.Requireable<any[]>;
|
|
77
|
-
presetPosition: PropTypes.Requireable<"left" | "
|
|
77
|
+
presetPosition: PropTypes.Requireable<"left" | "top" | "right" | "bottom">;
|
|
78
78
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
79
79
|
onChangeWithDateFirst: PropTypes.Requireable<boolean>;
|
|
80
80
|
weekStartsOn: PropTypes.Requireable<number>;
|
|
@@ -91,7 +91,7 @@ export default class DatePicker extends BaseComponent<DatePickerProps, DatePicke
|
|
|
91
91
|
insetLabel: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
92
92
|
insetLabelId: PropTypes.Requireable<string>;
|
|
93
93
|
zIndex: PropTypes.Requireable<number>;
|
|
94
|
-
position: PropTypes.Requireable<"left" | "right" | "
|
|
94
|
+
position: PropTypes.Requireable<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
95
95
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
96
96
|
onCancel: PropTypes.Requireable<(...args: any[]) => any>;
|
|
97
97
|
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<"left" | "
|
|
54
|
+
presetPosition: PropTypes.Requireable<"left" | "top" | "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: () => "both" | "none" | "left" | "right";
|
|
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;
|
|
@@ -15,7 +15,7 @@ export interface QuickControlProps {
|
|
|
15
15
|
declare class QuickControl extends PureComponent<QuickControlProps> {
|
|
16
16
|
static propTypes: {
|
|
17
17
|
presets: PropTypes.Requireable<any[]>;
|
|
18
|
-
presetPosition: PropTypes.Requireable<"left" | "
|
|
18
|
+
presetPosition: PropTypes.Requireable<"left" | "top" | "right" | "bottom">;
|
|
19
19
|
onPresetClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
20
|
type: PropTypes.Requireable<string>;
|
|
21
21
|
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<"left" | "
|
|
24
|
+
presetPosition: PropTypes.Requireable<"left" | "top" | "right" | "bottom">;
|
|
25
25
|
renderQuickControls: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
26
|
renderDateInput: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
27
27
|
type: PropTypes.Requireable<"date" | "month" | "dateTime" | "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<"left" | "right" | "
|
|
69
|
+
position: PropTypes.Requireable<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "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<NonNullable<number | object>>;
|
|
@@ -85,7 +85,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
85
85
|
expandRestTagsOnClick?: boolean;
|
|
86
86
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
87
87
|
zIndex?: number;
|
|
88
|
-
position?: "left" | "right" | "
|
|
88
|
+
position?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
89
89
|
onSearch?: (value: string, event: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>) => void;
|
|
90
90
|
dropdownClassName?: string;
|
|
91
91
|
dropdownStyle?: React.CSSProperties;
|
|
@@ -140,7 +140,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
140
140
|
preventScroll?: boolean;
|
|
141
141
|
showRestTagsPopover?: boolean;
|
|
142
142
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
143
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
143
|
+
} & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "stopPropagation" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
144
144
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
145
145
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
146
146
|
static Radio: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../radio").RadioProps & import("./interface").RCIncludeType>;
|
package/lib/es/form/field.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
31
31
|
expandRestTagsOnClick?: boolean;
|
|
32
32
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
33
33
|
zIndex?: number;
|
|
34
|
-
position?: "left" | "right" | "
|
|
34
|
+
position?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
35
35
|
onSearch?: (value: string, event: import("react").KeyboardEvent<Element> | import("react").MouseEvent<Element, MouseEvent>) => void;
|
|
36
36
|
dropdownClassName?: string;
|
|
37
37
|
dropdownStyle?: import("react").CSSProperties;
|
|
@@ -86,7 +86,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
86
86
|
preventScroll?: boolean;
|
|
87
87
|
showRestTagsPopover?: boolean;
|
|
88
88
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
89
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
89
|
+
} & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "stopPropagation" | "motion" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & import("react").RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
90
90
|
declare const FormCheckboxGroup: import("react").ComponentType<import("utility-types").Subtract<import("../checkbox/checkboxGroup").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
91
91
|
declare const FormCheckbox: import("react").ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
92
92
|
declare const FormRadioGroup: import("react").ComponentType<import("utility-types").Subtract<import("../radio/radioGroup").RadioGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
@@ -7,7 +7,7 @@ import { cssClasses } from '@douyinfe/semi-foundation/lib/es/markdownRender/cons
|
|
|
7
7
|
import * as SemiMarkdownComponents from "./components";
|
|
8
8
|
import cls from "classnames";
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
|
-
import { getDefaultPropsFromGlobalConfig } from '
|
|
10
|
+
import { getDefaultPropsFromGlobalConfig } from '../_utils';
|
|
11
11
|
class MarkdownRender extends BaseComponent {
|
|
12
12
|
constructor(props) {
|
|
13
13
|
super(props);
|
|
@@ -143,27 +143,27 @@ export declare function withWarning(props: ModalReactProps): {
|
|
|
143
143
|
type: "warning";
|
|
144
144
|
};
|
|
145
145
|
export declare function withError(props: ModalReactProps): {
|
|
146
|
-
title?: React.ReactNode;
|
|
147
146
|
children?: React.ReactNode;
|
|
148
|
-
size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
|
|
149
147
|
style?: React.CSSProperties;
|
|
150
148
|
className?: string;
|
|
149
|
+
getPopupContainer?: () => HTMLElement;
|
|
151
150
|
footer?: React.ReactNode;
|
|
152
151
|
header?: React.ReactNode;
|
|
153
|
-
|
|
154
|
-
visible?: boolean;
|
|
155
|
-
zIndex?: number;
|
|
156
|
-
motion?: boolean;
|
|
157
|
-
getPopupContainer?: () => HTMLElement;
|
|
152
|
+
title?: React.ReactNode;
|
|
158
153
|
direction?: any;
|
|
154
|
+
size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
|
|
155
|
+
motion?: boolean;
|
|
159
156
|
width?: string | number;
|
|
160
157
|
height?: string | number;
|
|
158
|
+
visible?: boolean;
|
|
161
159
|
content?: React.ReactNode;
|
|
160
|
+
mask?: boolean;
|
|
161
|
+
zIndex?: number;
|
|
162
162
|
closeOnEsc?: boolean;
|
|
163
163
|
preventScroll?: boolean;
|
|
164
|
-
icon: string | number | boolean | React.ReactFragment | JSX.Element;
|
|
165
164
|
afterClose?: () => void;
|
|
166
165
|
keepDOM?: boolean;
|
|
166
|
+
icon: string | number | boolean | React.ReactFragment | JSX.Element;
|
|
167
167
|
closable?: boolean;
|
|
168
168
|
onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
|
|
169
169
|
lazyRender?: boolean;
|
|
@@ -205,10 +205,110 @@ export declare function withError(props: ModalReactProps): {
|
|
|
205
205
|
onMouseEnter?: React.MouseEventHandler<HTMLButtonElement>;
|
|
206
206
|
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement>;
|
|
207
207
|
'aria-label'?: string;
|
|
208
|
+
value?: string | number | readonly string[];
|
|
209
|
+
form?: string;
|
|
210
|
+
slot?: string;
|
|
208
211
|
title?: string;
|
|
209
212
|
name?: string;
|
|
210
|
-
|
|
213
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
214
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
215
|
+
contextMenu?: string;
|
|
216
|
+
defaultValue?: string | number | readonly string[];
|
|
217
|
+
accessKey?: string;
|
|
218
|
+
dir?: string;
|
|
219
|
+
draggable?: boolean | "true" | "false";
|
|
220
|
+
hidden?: boolean;
|
|
221
|
+
lang?: string;
|
|
222
|
+
translate?: "yes" | "no";
|
|
211
223
|
prefix?: string;
|
|
224
|
+
role?: React.AriaRole;
|
|
225
|
+
contentEditable?: "inherit" | (boolean | "true" | "false");
|
|
226
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
227
|
+
nonce?: string;
|
|
228
|
+
tabIndex?: number;
|
|
229
|
+
color?: string;
|
|
230
|
+
content?: string;
|
|
231
|
+
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
232
|
+
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
233
|
+
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
234
|
+
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
235
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
236
|
+
onContextMenu?: React.MouseEventHandler<HTMLButtonElement>;
|
|
237
|
+
'aria-expanded'?: boolean | "true" | "false";
|
|
238
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree";
|
|
239
|
+
'aria-controls'?: string;
|
|
240
|
+
'aria-describedby'?: string;
|
|
241
|
+
defaultChecked?: boolean;
|
|
242
|
+
suppressContentEditableWarning?: boolean;
|
|
243
|
+
suppressHydrationWarning?: boolean;
|
|
244
|
+
autoFocus?: boolean;
|
|
245
|
+
placeholder?: string;
|
|
246
|
+
spellCheck?: boolean | "true" | "false";
|
|
247
|
+
radioGroup?: string;
|
|
248
|
+
about?: string;
|
|
249
|
+
datatype?: string;
|
|
250
|
+
inlist?: any;
|
|
251
|
+
property?: string;
|
|
252
|
+
rel?: string;
|
|
253
|
+
resource?: string;
|
|
254
|
+
rev?: string;
|
|
255
|
+
typeof?: string;
|
|
256
|
+
vocab?: string;
|
|
257
|
+
autoCapitalize?: string;
|
|
258
|
+
autoCorrect?: string;
|
|
259
|
+
autoSave?: string;
|
|
260
|
+
itemProp?: string;
|
|
261
|
+
itemScope?: boolean;
|
|
262
|
+
itemType?: string;
|
|
263
|
+
itemID?: string;
|
|
264
|
+
itemRef?: string;
|
|
265
|
+
results?: number;
|
|
266
|
+
security?: string;
|
|
267
|
+
unselectable?: "on" | "off";
|
|
268
|
+
is?: string;
|
|
269
|
+
'aria-activedescendant'?: string;
|
|
270
|
+
'aria-atomic'?: boolean | "true" | "false";
|
|
271
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
272
|
+
'aria-busy'?: boolean | "true" | "false";
|
|
273
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
274
|
+
'aria-colcount'?: number;
|
|
275
|
+
'aria-colindex'?: number;
|
|
276
|
+
'aria-colspan'?: number;
|
|
277
|
+
'aria-current'?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date";
|
|
278
|
+
'aria-details'?: string;
|
|
279
|
+
'aria-disabled'?: boolean | "true" | "false";
|
|
280
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
281
|
+
'aria-errormessage'?: string;
|
|
282
|
+
'aria-flowto'?: string;
|
|
283
|
+
'aria-grabbed'?: boolean | "true" | "false";
|
|
284
|
+
'aria-hidden'?: boolean | "true" | "false";
|
|
285
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
286
|
+
'aria-keyshortcuts'?: string;
|
|
287
|
+
'aria-labelledby'?: string;
|
|
288
|
+
'aria-level'?: number;
|
|
289
|
+
'aria-live'?: "off" | "assertive" | "polite";
|
|
290
|
+
'aria-modal'?: boolean | "true" | "false";
|
|
291
|
+
'aria-multiline'?: boolean | "true" | "false";
|
|
292
|
+
'aria-multiselectable'?: boolean | "true" | "false";
|
|
293
|
+
'aria-orientation'?: "horizontal" | "vertical";
|
|
294
|
+
'aria-owns'?: string;
|
|
295
|
+
'aria-placeholder'?: string;
|
|
296
|
+
'aria-posinset'?: number;
|
|
297
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
298
|
+
'aria-readonly'?: boolean | "true" | "false";
|
|
299
|
+
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
300
|
+
'aria-required'?: boolean | "true" | "false";
|
|
301
|
+
'aria-roledescription'?: string;
|
|
302
|
+
'aria-rowcount'?: number;
|
|
303
|
+
'aria-rowindex'?: number;
|
|
304
|
+
'aria-rowspan'?: number;
|
|
305
|
+
'aria-selected'?: boolean | "true" | "false";
|
|
306
|
+
'aria-setsize'?: number;
|
|
307
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
308
|
+
'aria-valuemax'?: number;
|
|
309
|
+
'aria-valuemin'?: number;
|
|
310
|
+
'aria-valuenow'?: number;
|
|
311
|
+
'aria-valuetext'?: string;
|
|
212
312
|
dangerouslySetInnerHTML?: {
|
|
213
313
|
__html: string | TrustedHTML;
|
|
214
314
|
};
|
|
@@ -224,9 +324,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
224
324
|
onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
225
325
|
onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
226
326
|
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
227
|
-
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
228
327
|
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
229
|
-
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
230
328
|
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
231
329
|
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
232
330
|
onChangeCapture?: React.FormEventHandler<HTMLButtonElement>;
|
|
@@ -244,7 +342,6 @@ export declare function withError(props: ModalReactProps): {
|
|
|
244
342
|
onLoadCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
245
343
|
onError?: React.ReactEventHandler<HTMLButtonElement>;
|
|
246
344
|
onErrorCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
247
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
248
345
|
onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
249
346
|
onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
250
347
|
onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
@@ -299,7 +396,6 @@ export declare function withError(props: ModalReactProps): {
|
|
|
299
396
|
onAuxClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
300
397
|
onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
301
398
|
onClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
302
|
-
onContextMenu?: React.MouseEventHandler<HTMLButtonElement>;
|
|
303
399
|
onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
304
400
|
onDoubleClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
305
401
|
onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -322,9 +418,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
322
418
|
onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
323
419
|
onMouseMove?: React.MouseEventHandler<HTMLButtonElement>;
|
|
324
420
|
onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
325
|
-
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
326
421
|
onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
327
|
-
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
328
422
|
onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
329
423
|
onMouseUp?: React.MouseEventHandler<HTMLButtonElement>;
|
|
330
424
|
onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -362,106 +456,12 @@ export declare function withError(props: ModalReactProps): {
|
|
|
362
456
|
onScrollCapture?: React.UIEventHandler<HTMLButtonElement>;
|
|
363
457
|
onWheel?: React.WheelEventHandler<HTMLButtonElement>;
|
|
364
458
|
onWheelCapture?: React.WheelEventHandler<HTMLButtonElement>;
|
|
365
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
366
459
|
onAnimationStartCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
367
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
368
460
|
onAnimationEndCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
369
461
|
onAnimationIteration?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
370
462
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
371
463
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
372
464
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
373
|
-
form?: string;
|
|
374
|
-
slot?: string;
|
|
375
|
-
hidden?: boolean;
|
|
376
|
-
color?: string;
|
|
377
|
-
defaultChecked?: boolean;
|
|
378
|
-
defaultValue?: string | number | readonly string[];
|
|
379
|
-
suppressContentEditableWarning?: boolean;
|
|
380
|
-
suppressHydrationWarning?: boolean;
|
|
381
|
-
accessKey?: string;
|
|
382
|
-
autoFocus?: boolean;
|
|
383
|
-
contextMenu?: string;
|
|
384
|
-
dir?: string;
|
|
385
|
-
draggable?: boolean | "true" | "false";
|
|
386
|
-
lang?: string;
|
|
387
|
-
translate?: "no" | "yes";
|
|
388
|
-
role?: React.AriaRole;
|
|
389
|
-
contentEditable?: "inherit" | (boolean | "true" | "false");
|
|
390
|
-
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal";
|
|
391
|
-
nonce?: string;
|
|
392
|
-
tabIndex?: number;
|
|
393
|
-
content?: string;
|
|
394
|
-
placeholder?: string;
|
|
395
|
-
spellCheck?: boolean | "true" | "false";
|
|
396
|
-
radioGroup?: string;
|
|
397
|
-
about?: string;
|
|
398
|
-
datatype?: string;
|
|
399
|
-
inlist?: any;
|
|
400
|
-
property?: string;
|
|
401
|
-
rel?: string;
|
|
402
|
-
resource?: string;
|
|
403
|
-
rev?: string;
|
|
404
|
-
typeof?: string;
|
|
405
|
-
vocab?: string;
|
|
406
|
-
autoCapitalize?: string;
|
|
407
|
-
autoCorrect?: string;
|
|
408
|
-
autoSave?: string;
|
|
409
|
-
itemProp?: string;
|
|
410
|
-
itemScope?: boolean;
|
|
411
|
-
itemType?: string;
|
|
412
|
-
itemID?: string;
|
|
413
|
-
itemRef?: string;
|
|
414
|
-
results?: number;
|
|
415
|
-
security?: string;
|
|
416
|
-
unselectable?: "on" | "off";
|
|
417
|
-
is?: string;
|
|
418
|
-
'aria-activedescendant'?: string;
|
|
419
|
-
'aria-atomic'?: boolean | "true" | "false";
|
|
420
|
-
'aria-autocomplete'?: "none" | "list" | "both" | "inline";
|
|
421
|
-
'aria-busy'?: boolean | "true" | "false";
|
|
422
|
-
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
423
|
-
'aria-colcount'?: number;
|
|
424
|
-
'aria-colindex'?: number;
|
|
425
|
-
'aria-colspan'?: number;
|
|
426
|
-
'aria-controls'?: string;
|
|
427
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "date" | "location" | "page" | "step";
|
|
428
|
-
'aria-describedby'?: string;
|
|
429
|
-
'aria-details'?: string;
|
|
430
|
-
'aria-disabled'?: boolean | "true" | "false";
|
|
431
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
432
|
-
'aria-errormessage'?: string;
|
|
433
|
-
'aria-expanded'?: boolean | "true" | "false";
|
|
434
|
-
'aria-flowto'?: string;
|
|
435
|
-
'aria-grabbed'?: boolean | "true" | "false";
|
|
436
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
|
|
437
|
-
'aria-hidden'?: boolean | "true" | "false";
|
|
438
|
-
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
439
|
-
'aria-keyshortcuts'?: string;
|
|
440
|
-
'aria-labelledby'?: string;
|
|
441
|
-
'aria-level'?: number;
|
|
442
|
-
'aria-live'?: "off" | "assertive" | "polite";
|
|
443
|
-
'aria-modal'?: boolean | "true" | "false";
|
|
444
|
-
'aria-multiline'?: boolean | "true" | "false";
|
|
445
|
-
'aria-multiselectable'?: boolean | "true" | "false";
|
|
446
|
-
'aria-orientation'?: "horizontal" | "vertical";
|
|
447
|
-
'aria-owns'?: string;
|
|
448
|
-
'aria-placeholder'?: string;
|
|
449
|
-
'aria-posinset'?: number;
|
|
450
|
-
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
451
|
-
'aria-readonly'?: boolean | "true" | "false";
|
|
452
|
-
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
453
|
-
'aria-required'?: boolean | "true" | "false";
|
|
454
|
-
'aria-roledescription'?: string;
|
|
455
|
-
'aria-rowcount'?: number;
|
|
456
|
-
'aria-rowindex'?: number;
|
|
457
|
-
'aria-rowspan'?: number;
|
|
458
|
-
'aria-selected'?: boolean | "true" | "false";
|
|
459
|
-
'aria-setsize'?: number;
|
|
460
|
-
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
461
|
-
'aria-valuemax'?: number;
|
|
462
|
-
'aria-valuemin'?: number;
|
|
463
|
-
'aria-valuenow'?: number;
|
|
464
|
-
'aria-valuetext'?: string;
|
|
465
465
|
formAction?: string;
|
|
466
466
|
formEncType?: string;
|
|
467
467
|
formMethod?: string;
|
|
@@ -81,7 +81,7 @@ declare class OverflowList extends BaseComponent<OverflowListProps, OverflowList
|
|
|
81
81
|
className: string;
|
|
82
82
|
style: {
|
|
83
83
|
maxWidth: string;
|
|
84
|
-
visibility: "
|
|
84
|
+
visibility: "visible" | "hidden";
|
|
85
85
|
accentColor?: import("csstype").Property.AccentColor;
|
|
86
86
|
alignContent?: import("csstype").Property.AlignContent;
|
|
87
87
|
alignItems?: import("csstype").Property.AlignItems;
|
|
@@ -58,7 +58,7 @@ declare class Popover extends React.PureComponent<PopoverProps, PopoverState> {
|
|
|
58
58
|
visible: PropTypes.Requireable<boolean>;
|
|
59
59
|
autoAdjustOverflow: PropTypes.Requireable<boolean>;
|
|
60
60
|
motion: PropTypes.Requireable<boolean>;
|
|
61
|
-
position: PropTypes.Requireable<"left" | "right" | "
|
|
61
|
+
position: PropTypes.Requireable<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver">;
|
|
62
62
|
margin: PropTypes.Requireable<NonNullable<number | object>>;
|
|
63
63
|
mouseEnterDelay: PropTypes.Requireable<number>;
|
|
64
64
|
mouseLeaveDelay: PropTypes.Requireable<number>;
|
package/lib/es/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" | "large" | "middle";
|
|
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" | "large" | "middle">;
|
|
52
52
|
type: PropTypes.Requireable<"default" | "button" | "card" | "pureCard">;
|
|
53
53
|
value: PropTypes.Requireable<any>;
|
|
54
54
|
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
package/lib/es/select/index.d.ts
CHANGED
|
@@ -200,7 +200,7 @@ declare class Select extends BaseComponent<SelectProps, SelectState> {
|
|
|
200
200
|
expandRestTagsOnClick: PropTypes.Requireable<boolean>;
|
|
201
201
|
onDropdownVisibleChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
202
202
|
zIndex: PropTypes.Requireable<number>;
|
|
203
|
-
position: PropTypes.Requireable<"left" | "right" | "
|
|
203
|
+
position: PropTypes.Requireable<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver">;
|
|
204
204
|
onSearch: PropTypes.Requireable<(...args: any[]) => any>;
|
|
205
205
|
getPopupContainer: PropTypes.Requireable<(...args: any[]) => any>;
|
|
206
206
|
dropdownClassName: PropTypes.Requireable<string>;
|
package/lib/es/table/Column.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { ColumnProps } from './interface';
|
|
3
3
|
export default class Column extends React.PureComponent<ColumnProps> {
|
|
4
4
|
static propTypes: {
|
|
5
|
-
align: import("prop-types").Requireable<"
|
|
5
|
+
align: import("prop-types").Requireable<"left" | "right" | "center">;
|
|
6
6
|
className: import("prop-types").Requireable<string>;
|
|
7
7
|
colSpan: import("prop-types").Requireable<number>;
|
|
8
8
|
dataIndex: import("prop-types").Requireable<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
align: PropTypes.Requireable<"
|
|
3
|
+
align: PropTypes.Requireable<"left" | "right" | "center">;
|
|
4
4
|
className: PropTypes.Requireable<string>;
|
|
5
5
|
colSpan: PropTypes.Requireable<number>;
|
|
6
6
|
dataIndex: PropTypes.Requireable<string>;
|
package/lib/es/table/Table.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ declare class Table<RecordType extends Record<string, any>> extends BaseComponen
|
|
|
63
63
|
size: PropTypes.Requireable<"default" | "small" | "middle">;
|
|
64
64
|
tableLayout: PropTypes.Requireable<"" | "fixed" | "auto">;
|
|
65
65
|
columns: PropTypes.Requireable<PropTypes.InferProps<{
|
|
66
|
-
align: PropTypes.Requireable<"
|
|
66
|
+
align: PropTypes.Requireable<"left" | "right" | "center">;
|
|
67
67
|
className: PropTypes.Requireable<string>;
|
|
68
68
|
colSpan: PropTypes.Requireable<number>;
|
|
69
69
|
dataIndex: PropTypes.Requireable<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?: "left" | "right" | "
|
|
311
|
+
popoverPosition?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
312
312
|
hideOnSinglePage?: boolean;
|
|
313
313
|
hoverShowPageSelect?: boolean;
|
|
314
314
|
disabled?: boolean;
|