@douyinfe/semi-ui 2.38.3-alpha.2-patch-table-datepicker-aria → 2.38.3-alpha.2-path-settimeout
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 +4 -1
- 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/button/Button.d.ts +1 -1
- package/lib/cjs/button/buttonGroup.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/dateInput.d.ts +1 -1
- package/lib/cjs/datePicker/datePicker.d.ts +3 -3
- 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 +2 -2
- package/lib/cjs/dropdown/index.d.ts +1 -1
- package/lib/cjs/form/baseForm.d.ts +3 -3
- package/lib/cjs/form/field.d.ts +3 -3
- package/lib/cjs/modal/confirm.d.ts +39 -39
- 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 +1 -1
- 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/button/Button.d.ts +1 -1
- package/lib/es/button/buttonGroup.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/dateInput.d.ts +1 -1
- package/lib/es/datePicker/datePicker.d.ts +3 -3
- 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 +2 -2
- package/lib/es/dropdown/index.d.ts +1 -1
- package/lib/es/form/baseForm.d.ts +3 -3
- package/lib/es/form/field.d.ts +3 -3
- package/lib/es/modal/confirm.d.ts +39 -39
- 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 +1 -1
- 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
|
@@ -21,10 +21,10 @@ 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<"left" | "top" | "right" | "bottom">;
|
|
25
25
|
renderQuickControls: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
26
26
|
renderDateInput: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
27
|
-
type: PropTypes.Requireable<"
|
|
27
|
+
type: PropTypes.Requireable<"date" | "month" | "dateTime" | "dateRange" | "year" | "monthRange" | "dateTimeRange">;
|
|
28
28
|
startYear: PropTypes.Requireable<number>;
|
|
29
29
|
endYear: PropTypes.Requireable<number>;
|
|
30
30
|
};
|
|
@@ -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<"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<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 | "false" | "true" | "grammar" | "spelling";
|
|
61
61
|
'aria-labelledby'?: string;
|
|
62
|
-
'aria-required'?: boolean | "
|
|
62
|
+
'aria-required'?: boolean | "false" | "true";
|
|
63
63
|
id?: string;
|
|
64
64
|
autoFocus?: boolean;
|
|
65
65
|
autoClearSearchValue?: boolean;
|
|
@@ -83,7 +83,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
83
83
|
expandRestTagsOnClick?: boolean;
|
|
84
84
|
onDropdownVisibleChange?: (visible: boolean) => void;
|
|
85
85
|
zIndex?: number;
|
|
86
|
-
position?: "
|
|
86
|
+
position?: "left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "bottomLeft" | "bottomRight" | "leftTopOver" | "rightTopOver" | "leftBottomOver" | "rightBottomOver";
|
|
87
87
|
onSearch?: (value: string, event: React.KeyboardEvent<Element> | React.MouseEvent<Element, MouseEvent>) => void;
|
|
88
88
|
dropdownClassName?: string;
|
|
89
89
|
dropdownStyle?: React.CSSProperties;
|
package/lib/es/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 | "false" | "true" | "grammar" | "spelling";
|
|
9
9
|
'aria-labelledby'?: string;
|
|
10
|
-
'aria-required'?: boolean | "
|
|
10
|
+
'aria-required'?: boolean | "false" | "true";
|
|
11
11
|
id?: string;
|
|
12
12
|
autoFocus?: boolean;
|
|
13
13
|
autoClearSearchValue?: boolean;
|
|
@@ -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?: "
|
|
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;
|
|
@@ -150,20 +150,20 @@ export declare function withError(props: ModalReactProps): {
|
|
|
150
150
|
footer?: React.ReactNode;
|
|
151
151
|
header?: React.ReactNode;
|
|
152
152
|
direction?: any;
|
|
153
|
-
mask?: boolean;
|
|
154
|
-
onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
|
|
155
153
|
width?: string | number;
|
|
156
154
|
height?: string | number;
|
|
155
|
+
mask?: boolean;
|
|
156
|
+
visible?: boolean;
|
|
157
157
|
content?: React.ReactNode;
|
|
158
|
+
icon: string | number | boolean | React.ReactFragment | JSX.Element;
|
|
158
159
|
zIndex?: number;
|
|
159
|
-
visible?: boolean;
|
|
160
160
|
closeOnEsc?: boolean;
|
|
161
161
|
preventScroll?: boolean;
|
|
162
|
-
icon: string | number | boolean | React.ReactFragment | JSX.Element;
|
|
163
162
|
afterClose?: () => void;
|
|
164
163
|
keepDOM?: boolean;
|
|
165
164
|
cancelText?: string;
|
|
166
165
|
okText?: string;
|
|
166
|
+
onCancel?: (e: React.MouseEvent<Element, MouseEvent>) => void | Promise<any>;
|
|
167
167
|
closeIcon?: React.ReactNode;
|
|
168
168
|
bodyStyle?: React.CSSProperties;
|
|
169
169
|
closable?: boolean;
|
|
@@ -208,43 +208,37 @@ export declare function withError(props: ModalReactProps): {
|
|
|
208
208
|
value?: string | number | readonly string[];
|
|
209
209
|
form?: string;
|
|
210
210
|
slot?: string;
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
hidden?: boolean;
|
|
212
|
+
color?: string;
|
|
213
|
+
content?: string;
|
|
213
214
|
defaultValue?: string | number | readonly string[];
|
|
214
|
-
suppressContentEditableWarning?: boolean;
|
|
215
|
-
suppressHydrationWarning?: boolean;
|
|
216
215
|
accessKey?: string;
|
|
217
|
-
autoFocus?: boolean;
|
|
218
|
-
formAction?: string;
|
|
219
|
-
formEncType?: string;
|
|
220
|
-
formMethod?: string;
|
|
221
|
-
formNoValidate?: boolean;
|
|
222
|
-
formTarget?: string;
|
|
223
216
|
dir?: string;
|
|
224
|
-
draggable?: boolean | "
|
|
225
|
-
hidden?: boolean;
|
|
217
|
+
draggable?: boolean | "false" | "true";
|
|
226
218
|
lang?: string;
|
|
227
|
-
translate?: "
|
|
219
|
+
translate?: "yes" | "no";
|
|
228
220
|
prefix?: string;
|
|
229
221
|
role?: React.AriaRole;
|
|
230
|
-
contentEditable?: "inherit" | (boolean | "
|
|
222
|
+
contentEditable?: "inherit" | (boolean | "false" | "true");
|
|
231
223
|
inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
232
224
|
nonce?: string;
|
|
233
225
|
tabIndex?: number;
|
|
234
|
-
color?: string;
|
|
235
|
-
content?: string;
|
|
236
226
|
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
237
227
|
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
238
228
|
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
239
229
|
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
240
230
|
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
241
|
-
'aria-expanded'?: boolean | "
|
|
242
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
231
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
232
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "listbox" | "grid" | "false" | "true" | "tree";
|
|
243
233
|
'aria-controls'?: string;
|
|
244
234
|
'aria-describedby'?: string;
|
|
235
|
+
defaultChecked?: boolean;
|
|
236
|
+
suppressContentEditableWarning?: boolean;
|
|
237
|
+
suppressHydrationWarning?: boolean;
|
|
238
|
+
autoFocus?: boolean;
|
|
245
239
|
contextMenu?: string;
|
|
246
240
|
placeholder?: string;
|
|
247
|
-
spellCheck?: boolean | "
|
|
241
|
+
spellCheck?: boolean | "false" | "true";
|
|
248
242
|
radioGroup?: string;
|
|
249
243
|
about?: string;
|
|
250
244
|
datatype?: string;
|
|
@@ -268,42 +262,42 @@ export declare function withError(props: ModalReactProps): {
|
|
|
268
262
|
unselectable?: "on" | "off";
|
|
269
263
|
is?: string;
|
|
270
264
|
'aria-activedescendant'?: string;
|
|
271
|
-
'aria-atomic'?: boolean | "
|
|
272
|
-
'aria-autocomplete'?: "both" | "none" | "
|
|
273
|
-
'aria-busy'?: boolean | "
|
|
274
|
-
'aria-checked'?: boolean | "
|
|
265
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
266
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
267
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
268
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true";
|
|
275
269
|
'aria-colcount'?: number;
|
|
276
270
|
'aria-colindex'?: number;
|
|
277
271
|
'aria-colspan'?: number;
|
|
278
|
-
'aria-current'?: boolean | "time" | "
|
|
272
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "location" | "step" | "date";
|
|
279
273
|
'aria-details'?: string;
|
|
280
|
-
'aria-disabled'?: boolean | "
|
|
274
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
281
275
|
'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup";
|
|
282
276
|
'aria-errormessage'?: string;
|
|
283
277
|
'aria-flowto'?: string;
|
|
284
|
-
'aria-grabbed'?: boolean | "
|
|
285
|
-
'aria-hidden'?: boolean | "
|
|
286
|
-
'aria-invalid'?: boolean | "
|
|
278
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
279
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
280
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling";
|
|
287
281
|
'aria-keyshortcuts'?: string;
|
|
288
282
|
'aria-labelledby'?: string;
|
|
289
283
|
'aria-level'?: number;
|
|
290
284
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
291
|
-
'aria-modal'?: boolean | "
|
|
292
|
-
'aria-multiline'?: boolean | "
|
|
293
|
-
'aria-multiselectable'?: boolean | "
|
|
285
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
286
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
287
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
294
288
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
295
289
|
'aria-owns'?: string;
|
|
296
290
|
'aria-placeholder'?: string;
|
|
297
291
|
'aria-posinset'?: number;
|
|
298
|
-
'aria-pressed'?: boolean | "
|
|
299
|
-
'aria-readonly'?: boolean | "
|
|
292
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true";
|
|
293
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
300
294
|
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
301
|
-
'aria-required'?: boolean | "
|
|
295
|
+
'aria-required'?: boolean | "false" | "true";
|
|
302
296
|
'aria-roledescription'?: string;
|
|
303
297
|
'aria-rowcount'?: number;
|
|
304
298
|
'aria-rowindex'?: number;
|
|
305
299
|
'aria-rowspan'?: number;
|
|
306
|
-
'aria-selected'?: boolean | "
|
|
300
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
307
301
|
'aria-setsize'?: number;
|
|
308
302
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
309
303
|
'aria-valuemax'?: number;
|
|
@@ -327,6 +321,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
327
321
|
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
328
322
|
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
329
323
|
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
324
|
+
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
330
325
|
onChangeCapture?: React.FormEventHandler<HTMLButtonElement>;
|
|
331
326
|
onBeforeInput?: React.FormEventHandler<HTMLButtonElement>;
|
|
332
327
|
onBeforeInputCapture?: React.FormEventHandler<HTMLButtonElement>;
|
|
@@ -463,6 +458,11 @@ export declare function withError(props: ModalReactProps): {
|
|
|
463
458
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
464
459
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
465
460
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
461
|
+
formAction?: string;
|
|
462
|
+
formEncType?: string;
|
|
463
|
+
formMethod?: string;
|
|
464
|
+
formNoValidate?: boolean;
|
|
465
|
+
formTarget?: string;
|
|
466
466
|
};
|
|
467
467
|
};
|
|
468
468
|
export declare function withConfirm(props: ModalReactProps): {
|
|
@@ -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<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "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/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<"
|
|
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/Table.d.ts
CHANGED
|
@@ -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?: "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;
|
|
@@ -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<"left" | "top" | "right" | "bottom" | "topLeft" | "topRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom" | "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<"round" | "ceil" | "floor">;
|
|
32
32
|
parser: PropTypes.Requireable<(...args: any[]) => any>;
|
|
33
33
|
copyable: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
34
34
|
delete: PropTypes.Requireable<boolean>;
|
|
@@ -43,7 +43,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
43
43
|
style: PropTypes.Requireable<object>;
|
|
44
44
|
className: PropTypes.Requireable<string>;
|
|
45
45
|
component: PropTypes.Requireable<string>;
|
|
46
|
-
weight: PropTypes.Requireable<NonNullable<number | "bold" | "default" | "
|
|
46
|
+
weight: PropTypes.Requireable<NonNullable<number | "bold" | "default" | "medium" | "light" | "regular" | "semibold">>;
|
|
47
47
|
};
|
|
48
48
|
static defaultProps: {
|
|
49
49
|
copyable: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.38.3-alpha.2-
|
|
3
|
+
"version": "2.38.3-alpha.2-path-settimeout",
|
|
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-
|
|
21
|
-
"@douyinfe/semi-animation-react": "2.38.3-alpha.2-
|
|
22
|
-
"@douyinfe/semi-foundation": "2.38.3-alpha.2-
|
|
23
|
-
"@douyinfe/semi-icons": "2.38.3-alpha.2-
|
|
24
|
-
"@douyinfe/semi-illustrations": "2.38.3-alpha.2-
|
|
25
|
-
"@douyinfe/semi-theme-default": "2.38.3-alpha.2-
|
|
20
|
+
"@douyinfe/semi-animation": "2.38.3-alpha.2-path-settimeout",
|
|
21
|
+
"@douyinfe/semi-animation-react": "2.38.3-alpha.2-path-settimeout",
|
|
22
|
+
"@douyinfe/semi-foundation": "2.38.3-alpha.2-path-settimeout",
|
|
23
|
+
"@douyinfe/semi-icons": "2.38.3-alpha.2-path-settimeout",
|
|
24
|
+
"@douyinfe/semi-illustrations": "2.38.3-alpha.2-path-settimeout",
|
|
25
|
+
"@douyinfe/semi-theme-default": "2.38.3-alpha.2-path-settimeout",
|
|
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": "6ee0dec58c24d51eec631bc922854834afc548cf",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|