@douyinfe/semi-ui 2.38.3-alpha.2-patch-3006 → 2.38.3-alpha.2-patch-2254
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 +14 -4
- 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/datePicker/monthsGrid.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/modal/confirm.d.ts +8 -8
- package/lib/cjs/table/Table.d.ts +1 -1
- package/lib/cjs/treeSelect/index.js +4 -0
- package/lib/cjs/typography/title.d.ts +1 -1
- package/lib/es/datePicker/monthsGrid.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/modal/confirm.d.ts +8 -8
- package/lib/es/table/Table.d.ts +1 -1
- package/lib/es/treeSelect/index.js +4 -0
- package/lib/es/typography/title.d.ts +1 -1
- package/package.json +8 -8
|
@@ -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" | "both" | "none";
|
|
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;
|
|
@@ -84,7 +84,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
84
84
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
85
85
|
zIndex?: number;
|
|
86
86
|
position?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
87
|
-
onSearch?: (value: string, event: React.
|
|
87
|
+
onSearch?: (value: string, event: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => void;
|
|
88
88
|
dropdownClassName?: string;
|
|
89
89
|
dropdownStyle?: React.CSSProperties;
|
|
90
90
|
dropdownMargin?: number | {
|
|
@@ -138,7 +138,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
138
138
|
preventScroll?: boolean;
|
|
139
139
|
showRestTagsPopover?: boolean;
|
|
140
140
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
141
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
141
|
+
} & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "motion" | "stopPropagation" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
142
142
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
143
143
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
144
144
|
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
|
@@ -32,7 +32,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
32
32
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
33
33
|
zIndex?: number;
|
|
34
34
|
position?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
35
|
-
onSearch?: (value: string, event: import("react").
|
|
35
|
+
onSearch?: (value: string, event: import("react").MouseEvent<Element, MouseEvent> | import("react").KeyboardEvent<Element>) => void;
|
|
36
36
|
dropdownClassName?: string;
|
|
37
37
|
dropdownStyle?: import("react").CSSProperties;
|
|
38
38
|
dropdownMargin?: number | {
|
|
@@ -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" | "motion" | "stopPropagation" | "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>>;
|
|
@@ -140,22 +140,22 @@ export declare function withWarning(props: ModalReactProps): {
|
|
|
140
140
|
type: "warning";
|
|
141
141
|
};
|
|
142
142
|
export declare function withError(props: ModalReactProps): {
|
|
143
|
-
title?: React.ReactNode;
|
|
144
143
|
children?: React.ReactNode;
|
|
145
|
-
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
146
144
|
style?: React.CSSProperties;
|
|
147
145
|
className?: string;
|
|
148
146
|
getPopupContainer?: () => HTMLElement;
|
|
149
147
|
footer?: React.ReactNode;
|
|
150
148
|
header?: React.ReactNode;
|
|
149
|
+
title?: React.ReactNode;
|
|
151
150
|
direction?: any;
|
|
152
|
-
motion?: boolean;
|
|
153
151
|
width?: string | number;
|
|
154
152
|
height?: string | number;
|
|
155
153
|
mask?: boolean;
|
|
154
|
+
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
156
155
|
visible?: boolean;
|
|
157
156
|
content?: React.ReactNode;
|
|
158
157
|
icon: string | number | boolean | React.ReactFragment | JSX.Element;
|
|
158
|
+
motion?: boolean;
|
|
159
159
|
onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
|
|
160
160
|
zIndex?: number;
|
|
161
161
|
closeOnEsc?: boolean;
|
|
@@ -201,16 +201,16 @@ export declare function withError(props: ModalReactProps): {
|
|
|
201
201
|
onMouseEnter?: React.MouseEventHandler<HTMLButtonElement>;
|
|
202
202
|
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement>;
|
|
203
203
|
'aria-label'?: string;
|
|
204
|
-
title?: string;
|
|
205
|
-
name?: string;
|
|
206
204
|
value?: string | number | readonly string[];
|
|
207
205
|
form?: string;
|
|
208
206
|
slot?: string;
|
|
209
|
-
|
|
210
|
-
|
|
207
|
+
title?: string;
|
|
208
|
+
name?: string;
|
|
211
209
|
hidden?: boolean;
|
|
212
210
|
color?: string;
|
|
213
211
|
content?: string;
|
|
212
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
213
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
214
214
|
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
215
215
|
defaultChecked?: boolean;
|
|
216
216
|
defaultValue?: string | number | readonly string[];
|
|
@@ -230,7 +230,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
230
230
|
prefix?: string;
|
|
231
231
|
role?: React.AriaRole;
|
|
232
232
|
contentEditable?: "inherit" | (boolean | "false" | "true");
|
|
233
|
-
inputMode?: "search" | "
|
|
233
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
234
234
|
nonce?: string;
|
|
235
235
|
tabIndex?: number;
|
|
236
236
|
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
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;
|
|
@@ -1013,6 +1013,7 @@ class TreeSelect extends _baseComponent.default {
|
|
|
1013
1013
|
};
|
|
1014
1014
|
const treeSelectAdapter = {
|
|
1015
1015
|
registerClickOutsideHandler: cb => {
|
|
1016
|
+
this.adapter.unregisterClickOutsideHandler();
|
|
1016
1017
|
const clickOutsideHandler = e => {
|
|
1017
1018
|
const optionInstance = this.optionsRef && this.optionsRef.current;
|
|
1018
1019
|
const triggerDom = this.triggerRef && this.triggerRef.current;
|
|
@@ -1027,6 +1028,9 @@ class TreeSelect extends _baseComponent.default {
|
|
|
1027
1028
|
document.addEventListener('mousedown', clickOutsideHandler, false);
|
|
1028
1029
|
},
|
|
1029
1030
|
unregisterClickOutsideHandler: () => {
|
|
1031
|
+
if (!this.clickOutsideHandler) {
|
|
1032
|
+
return;
|
|
1033
|
+
}
|
|
1030
1034
|
document.removeEventListener('mousedown', this.clickOutsideHandler, false);
|
|
1031
1035
|
this.clickOutsideHandler = null;
|
|
1032
1036
|
},
|
|
@@ -39,7 +39,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
39
39
|
underline: PropTypes.Requireable<boolean>;
|
|
40
40
|
strong: PropTypes.Requireable<boolean>;
|
|
41
41
|
type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
|
|
42
|
-
heading: PropTypes.Requireable<
|
|
42
|
+
heading: PropTypes.Requireable<4 | 2 | 1 | 6 | 3 | 5>;
|
|
43
43
|
style: PropTypes.Requireable<object>;
|
|
44
44
|
className: PropTypes.Requireable<string>;
|
|
45
45
|
component: PropTypes.Requireable<string>;
|
|
@@ -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" | "both" | "none";
|
|
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;
|
|
@@ -84,7 +84,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
84
84
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
85
85
|
zIndex?: number;
|
|
86
86
|
position?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
87
|
-
onSearch?: (value: string, event: React.
|
|
87
|
+
onSearch?: (value: string, event: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => void;
|
|
88
88
|
dropdownClassName?: string;
|
|
89
89
|
dropdownStyle?: React.CSSProperties;
|
|
90
90
|
dropdownMargin?: number | {
|
|
@@ -138,7 +138,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
138
138
|
preventScroll?: boolean;
|
|
139
139
|
showRestTagsPopover?: boolean;
|
|
140
140
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
141
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
141
|
+
} & Pick<import("../tooltip").TooltipProps, "getPopupContainer" | "motion" | "stopPropagation" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
142
142
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
143
143
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
144
144
|
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
|
@@ -32,7 +32,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
32
32
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
33
33
|
zIndex?: number;
|
|
34
34
|
position?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
35
|
-
onSearch?: (value: string, event: import("react").
|
|
35
|
+
onSearch?: (value: string, event: import("react").MouseEvent<Element, MouseEvent> | import("react").KeyboardEvent<Element>) => void;
|
|
36
36
|
dropdownClassName?: string;
|
|
37
37
|
dropdownStyle?: import("react").CSSProperties;
|
|
38
38
|
dropdownMargin?: number | {
|
|
@@ -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" | "motion" | "stopPropagation" | "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>>;
|
|
@@ -140,22 +140,22 @@ export declare function withWarning(props: ModalReactProps): {
|
|
|
140
140
|
type: "warning";
|
|
141
141
|
};
|
|
142
142
|
export declare function withError(props: ModalReactProps): {
|
|
143
|
-
title?: React.ReactNode;
|
|
144
143
|
children?: React.ReactNode;
|
|
145
|
-
size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
|
|
146
144
|
style?: React.CSSProperties;
|
|
147
145
|
className?: string;
|
|
148
146
|
getPopupContainer?: () => HTMLElement;
|
|
149
147
|
footer?: React.ReactNode;
|
|
150
148
|
header?: React.ReactNode;
|
|
149
|
+
title?: React.ReactNode;
|
|
151
150
|
direction?: any;
|
|
152
|
-
motion?: boolean;
|
|
153
151
|
width?: string | number;
|
|
154
152
|
height?: string | number;
|
|
155
153
|
mask?: boolean;
|
|
154
|
+
size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
|
|
156
155
|
visible?: boolean;
|
|
157
156
|
content?: React.ReactNode;
|
|
158
157
|
icon: string | number | boolean | React.ReactFragment | JSX.Element;
|
|
158
|
+
motion?: boolean;
|
|
159
159
|
onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
|
|
160
160
|
zIndex?: number;
|
|
161
161
|
closeOnEsc?: boolean;
|
|
@@ -201,16 +201,16 @@ export declare function withError(props: ModalReactProps): {
|
|
|
201
201
|
onMouseEnter?: React.MouseEventHandler<HTMLButtonElement>;
|
|
202
202
|
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement>;
|
|
203
203
|
'aria-label'?: string;
|
|
204
|
-
title?: string;
|
|
205
|
-
name?: string;
|
|
206
204
|
value?: string | number | readonly string[];
|
|
207
205
|
form?: string;
|
|
208
206
|
slot?: string;
|
|
209
|
-
|
|
210
|
-
|
|
207
|
+
title?: string;
|
|
208
|
+
name?: string;
|
|
211
209
|
hidden?: boolean;
|
|
212
210
|
color?: string;
|
|
213
211
|
content?: string;
|
|
212
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
213
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
214
214
|
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
215
215
|
defaultChecked?: boolean;
|
|
216
216
|
defaultValue?: string | number | readonly string[];
|
|
@@ -230,7 +230,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
230
230
|
prefix?: string;
|
|
231
231
|
role?: React.AriaRole;
|
|
232
232
|
contentEditable?: "inherit" | (boolean | "false" | "true");
|
|
233
|
-
inputMode?: "search" | "
|
|
233
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
234
234
|
nonce?: string;
|
|
235
235
|
tabIndex?: number;
|
|
236
236
|
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
package/lib/es/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;
|
|
@@ -1004,6 +1004,7 @@ class TreeSelect extends BaseComponent {
|
|
|
1004
1004
|
};
|
|
1005
1005
|
const treeSelectAdapter = {
|
|
1006
1006
|
registerClickOutsideHandler: cb => {
|
|
1007
|
+
this.adapter.unregisterClickOutsideHandler();
|
|
1007
1008
|
const clickOutsideHandler = e => {
|
|
1008
1009
|
const optionInstance = this.optionsRef && this.optionsRef.current;
|
|
1009
1010
|
const triggerDom = this.triggerRef && this.triggerRef.current;
|
|
@@ -1018,6 +1019,9 @@ class TreeSelect extends BaseComponent {
|
|
|
1018
1019
|
document.addEventListener('mousedown', clickOutsideHandler, false);
|
|
1019
1020
|
},
|
|
1020
1021
|
unregisterClickOutsideHandler: () => {
|
|
1022
|
+
if (!this.clickOutsideHandler) {
|
|
1023
|
+
return;
|
|
1024
|
+
}
|
|
1021
1025
|
document.removeEventListener('mousedown', this.clickOutsideHandler, false);
|
|
1022
1026
|
this.clickOutsideHandler = null;
|
|
1023
1027
|
},
|
|
@@ -39,7 +39,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
39
39
|
underline: PropTypes.Requireable<boolean>;
|
|
40
40
|
strong: PropTypes.Requireable<boolean>;
|
|
41
41
|
type: PropTypes.Requireable<"warning" | "success" | "primary" | "tertiary" | "secondary" | "danger" | "quaternary">;
|
|
42
|
-
heading: PropTypes.Requireable<
|
|
42
|
+
heading: PropTypes.Requireable<4 | 2 | 1 | 6 | 3 | 5>;
|
|
43
43
|
style: PropTypes.Requireable<object>;
|
|
44
44
|
className: PropTypes.Requireable<string>;
|
|
45
45
|
component: PropTypes.Requireable<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.38.3-alpha.2-patch-
|
|
3
|
+
"version": "2.38.3-alpha.2-patch-2254",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"lib/*"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@douyinfe/semi-animation": "2.38.3-alpha.2-patch-
|
|
21
|
-
"@douyinfe/semi-animation-react": "2.38.3-alpha.2-patch-
|
|
22
|
-
"@douyinfe/semi-foundation": "2.38.3-alpha.2-patch-
|
|
23
|
-
"@douyinfe/semi-icons": "2.38.3-alpha.2-patch-
|
|
24
|
-
"@douyinfe/semi-illustrations": "2.38.3-alpha.2-patch-
|
|
25
|
-
"@douyinfe/semi-theme-default": "2.38.3-alpha.2-patch-
|
|
20
|
+
"@douyinfe/semi-animation": "2.38.3-alpha.2-patch-2254",
|
|
21
|
+
"@douyinfe/semi-animation-react": "2.38.3-alpha.2-patch-2254",
|
|
22
|
+
"@douyinfe/semi-foundation": "2.38.3-alpha.2-patch-2254",
|
|
23
|
+
"@douyinfe/semi-icons": "2.38.3-alpha.2-patch-2254",
|
|
24
|
+
"@douyinfe/semi-illustrations": "2.38.3-alpha.2-patch-2254",
|
|
25
|
+
"@douyinfe/semi-theme-default": "2.38.3-alpha.2-patch-2254",
|
|
26
26
|
"async-validator": "^3.5.0",
|
|
27
27
|
"classnames": "^2.2.6",
|
|
28
28
|
"copy-text-to-clipboard": "^2.1.1",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
],
|
|
70
70
|
"author": "",
|
|
71
71
|
"license": "MIT",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "7e1e3d56cae6f21dfb8a82e5ec492ead7283d961",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|