@douyinfe/semi-ui 2.76.1-alpha.0 → 2.76.1
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/lib/cjs/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/cjs/carousel/index.d.ts +1 -1
- package/lib/cjs/form/baseForm.d.ts +1 -1
- package/lib/cjs/form/field.d.ts +1 -1
- package/lib/cjs/modal/confirm.d.ts +109 -109
- package/lib/cjs/overflowList/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 +1 -1
- package/lib/cjs/table/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/carousel/CarouselIndicator.d.ts +1 -1
- package/lib/es/carousel/index.d.ts +1 -1
- package/lib/es/form/baseForm.d.ts +1 -1
- package/lib/es/form/field.d.ts +1 -1
- package/lib/es/modal/confirm.d.ts +109 -109
- package/lib/es/overflowList/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 +1 -1
- package/lib/es/table/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
|
@@ -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<"center" | "left" | "right">;
|
|
9
9
|
size: PropTypes.Requireable<"small" | "medium">;
|
|
10
10
|
style: PropTypes.Requireable<object>;
|
|
11
11
|
theme: PropTypes.Requireable<"dark" | "light" | "primary">;
|
|
@@ -18,7 +18,7 @@ declare class Carousel extends BaseComponent<CarouselProps, CarouselState> {
|
|
|
18
18
|
autoPlay: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
19
19
|
className: PropTypes.Requireable<string>;
|
|
20
20
|
defaultActiveIndex: PropTypes.Requireable<number>;
|
|
21
|
-
indicatorPosition: PropTypes.Requireable<"
|
|
21
|
+
indicatorPosition: PropTypes.Requireable<"center" | "left" | "right">;
|
|
22
22
|
indicatorSize: PropTypes.Requireable<"small" | "medium">;
|
|
23
23
|
indicatorType: PropTypes.Requireable<"line" | "dot" | "columnar">;
|
|
24
24
|
theme: PropTypes.Requireable<"dark" | "light" | "primary">;
|
|
@@ -147,7 +147,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
147
147
|
preventScroll?: boolean;
|
|
148
148
|
showRestTagsPopover?: boolean;
|
|
149
149
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
150
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
150
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
151
151
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
152
152
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
153
153
|
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
|
@@ -88,7 +88,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
88
88
|
preventScroll?: boolean;
|
|
89
89
|
showRestTagsPopover?: boolean;
|
|
90
90
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
91
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
91
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & import("react").RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
92
92
|
declare const FormCheckboxGroup: import("react").ComponentType<import("utility-types").Subtract<import("../checkbox/checkboxGroup").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
93
93
|
declare const FormCheckbox: import("react").ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
94
94
|
declare const FormRadioGroup: import("react").ComponentType<import("utility-types").Subtract<import("../radio/radioGroup").RadioGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
@@ -146,22 +146,22 @@ export declare function withWarning(props: ModalReactProps): {
|
|
|
146
146
|
type: "warning";
|
|
147
147
|
};
|
|
148
148
|
export declare function withError(props: ModalReactProps): {
|
|
149
|
+
title?: React.ReactNode;
|
|
149
150
|
children?: React.ReactNode;
|
|
151
|
+
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
150
152
|
style?: React.CSSProperties;
|
|
151
153
|
className?: string;
|
|
154
|
+
motion?: boolean;
|
|
152
155
|
getPopupContainer?: () => HTMLElement;
|
|
153
156
|
footer?: React.ReactNode;
|
|
154
157
|
header?: React.ReactNode;
|
|
155
|
-
title?: React.ReactNode;
|
|
156
158
|
direction?: any;
|
|
157
|
-
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
158
|
-
motion?: boolean;
|
|
159
|
-
width?: string | number;
|
|
160
|
-
height?: string | number;
|
|
161
159
|
visible?: boolean;
|
|
162
|
-
content?: React.ReactNode;
|
|
163
160
|
mask?: boolean;
|
|
164
161
|
zIndex?: number;
|
|
162
|
+
width?: string | number;
|
|
163
|
+
height?: string | number;
|
|
164
|
+
content?: React.ReactNode;
|
|
165
165
|
closeOnEsc?: boolean;
|
|
166
166
|
preventScroll?: boolean;
|
|
167
167
|
afterClose?: () => void;
|
|
@@ -210,114 +210,14 @@ export declare function withError(props: ModalReactProps): {
|
|
|
210
210
|
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement>;
|
|
211
211
|
'aria-label'?: string;
|
|
212
212
|
contentClassName?: string;
|
|
213
|
-
value?: string | number | readonly string[];
|
|
214
|
-
form?: string;
|
|
215
|
-
slot?: string;
|
|
216
213
|
title?: string;
|
|
217
214
|
name?: string;
|
|
215
|
+
value?: string | number | readonly string[];
|
|
218
216
|
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
219
217
|
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
form?: string;
|
|
219
|
+
slot?: string;
|
|
222
220
|
prefix?: string;
|
|
223
|
-
accessKey?: string;
|
|
224
|
-
dir?: string;
|
|
225
|
-
draggable?: boolean | "true" | "false";
|
|
226
|
-
hidden?: boolean;
|
|
227
|
-
lang?: string;
|
|
228
|
-
translate?: "yes" | "no";
|
|
229
|
-
role?: React.AriaRole;
|
|
230
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only";
|
|
231
|
-
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
232
|
-
nonce?: string;
|
|
233
|
-
tabIndex?: number;
|
|
234
|
-
color?: string;
|
|
235
|
-
content?: string;
|
|
236
|
-
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
237
|
-
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
238
|
-
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
239
|
-
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
240
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
241
|
-
onContextMenu?: React.MouseEventHandler<HTMLButtonElement>;
|
|
242
|
-
"aria-expanded"?: boolean | "true" | "false";
|
|
243
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree";
|
|
244
|
-
"aria-controls"?: string;
|
|
245
|
-
"aria-describedby"?: string;
|
|
246
|
-
defaultChecked?: boolean;
|
|
247
|
-
suppressContentEditableWarning?: boolean;
|
|
248
|
-
suppressHydrationWarning?: boolean;
|
|
249
|
-
autoFocus?: boolean;
|
|
250
|
-
spellCheck?: boolean | "true" | "false";
|
|
251
|
-
radioGroup?: string;
|
|
252
|
-
about?: string;
|
|
253
|
-
datatype?: string;
|
|
254
|
-
inlist?: any;
|
|
255
|
-
property?: string;
|
|
256
|
-
rel?: string;
|
|
257
|
-
resource?: string;
|
|
258
|
-
rev?: string;
|
|
259
|
-
typeof?: string;
|
|
260
|
-
vocab?: string;
|
|
261
|
-
autoCapitalize?: string;
|
|
262
|
-
autoCorrect?: string;
|
|
263
|
-
autoSave?: string;
|
|
264
|
-
itemProp?: string;
|
|
265
|
-
itemScope?: boolean;
|
|
266
|
-
itemType?: string;
|
|
267
|
-
itemID?: string;
|
|
268
|
-
itemRef?: string;
|
|
269
|
-
results?: number;
|
|
270
|
-
security?: string;
|
|
271
|
-
unselectable?: "on" | "off";
|
|
272
|
-
is?: string;
|
|
273
|
-
"aria-activedescendant"?: string;
|
|
274
|
-
"aria-atomic"?: boolean | "true" | "false";
|
|
275
|
-
"aria-autocomplete"?: "both" | "none" | "inline" | "list";
|
|
276
|
-
"aria-braillelabel"?: string;
|
|
277
|
-
"aria-brailleroledescription"?: string;
|
|
278
|
-
"aria-busy"?: boolean | "true" | "false";
|
|
279
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
280
|
-
"aria-colcount"?: number;
|
|
281
|
-
"aria-colindex"?: number;
|
|
282
|
-
"aria-colindextext"?: string;
|
|
283
|
-
"aria-colspan"?: number;
|
|
284
|
-
"aria-current"?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date";
|
|
285
|
-
"aria-description"?: string;
|
|
286
|
-
"aria-details"?: string;
|
|
287
|
-
"aria-disabled"?: boolean | "true" | "false";
|
|
288
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
289
|
-
"aria-errormessage"?: string;
|
|
290
|
-
"aria-flowto"?: string;
|
|
291
|
-
"aria-grabbed"?: boolean | "true" | "false";
|
|
292
|
-
"aria-hidden"?: boolean | "true" | "false";
|
|
293
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
294
|
-
"aria-keyshortcuts"?: string;
|
|
295
|
-
"aria-labelledby"?: string;
|
|
296
|
-
"aria-level"?: number;
|
|
297
|
-
"aria-live"?: "off" | "assertive" | "polite";
|
|
298
|
-
"aria-modal"?: boolean | "true" | "false";
|
|
299
|
-
"aria-multiline"?: boolean | "true" | "false";
|
|
300
|
-
"aria-multiselectable"?: boolean | "true" | "false";
|
|
301
|
-
"aria-orientation"?: "horizontal" | "vertical";
|
|
302
|
-
"aria-owns"?: string;
|
|
303
|
-
"aria-placeholder"?: string;
|
|
304
|
-
"aria-posinset"?: number;
|
|
305
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
306
|
-
"aria-readonly"?: boolean | "true" | "false";
|
|
307
|
-
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
308
|
-
"aria-required"?: boolean | "true" | "false";
|
|
309
|
-
"aria-roledescription"?: string;
|
|
310
|
-
"aria-rowcount"?: number;
|
|
311
|
-
"aria-rowindex"?: number;
|
|
312
|
-
"aria-rowindextext"?: string;
|
|
313
|
-
"aria-rowspan"?: number;
|
|
314
|
-
"aria-selected"?: boolean | "true" | "false";
|
|
315
|
-
"aria-setsize"?: number;
|
|
316
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other";
|
|
317
|
-
"aria-valuemax"?: number;
|
|
318
|
-
"aria-valuemin"?: number;
|
|
319
|
-
"aria-valuenow"?: number;
|
|
320
|
-
"aria-valuetext"?: string;
|
|
321
221
|
dangerouslySetInnerHTML?: {
|
|
322
222
|
__html: string | TrustedHTML;
|
|
323
223
|
};
|
|
@@ -333,7 +233,9 @@ export declare function withError(props: ModalReactProps): {
|
|
|
333
233
|
onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
334
234
|
onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
335
235
|
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
236
|
+
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
336
237
|
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
238
|
+
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
337
239
|
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
338
240
|
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
339
241
|
onChangeCapture?: React.FormEventHandler<HTMLButtonElement>;
|
|
@@ -351,6 +253,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
351
253
|
onLoadCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
352
254
|
onError?: React.ReactEventHandler<HTMLButtonElement>;
|
|
353
255
|
onErrorCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
256
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
354
257
|
onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
355
258
|
onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
356
259
|
onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
@@ -405,6 +308,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
405
308
|
onAuxClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
406
309
|
onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
407
310
|
onClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
311
|
+
onContextMenu?: React.MouseEventHandler<HTMLButtonElement>;
|
|
408
312
|
onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
409
313
|
onDoubleClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
410
314
|
onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -427,7 +331,9 @@ export declare function withError(props: ModalReactProps): {
|
|
|
427
331
|
onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
428
332
|
onMouseMove?: React.MouseEventHandler<HTMLButtonElement>;
|
|
429
333
|
onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
334
|
+
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
430
335
|
onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
336
|
+
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
431
337
|
onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
432
338
|
onMouseUp?: React.MouseEventHandler<HTMLButtonElement>;
|
|
433
339
|
onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -469,6 +375,100 @@ export declare function withError(props: ModalReactProps): {
|
|
|
469
375
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
470
376
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
471
377
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
378
|
+
hidden?: boolean;
|
|
379
|
+
contextMenu?: string;
|
|
380
|
+
defaultValue?: string | number | readonly string[];
|
|
381
|
+
accessKey?: string;
|
|
382
|
+
dir?: string;
|
|
383
|
+
draggable?: boolean | "true" | "false";
|
|
384
|
+
lang?: string;
|
|
385
|
+
translate?: "yes" | "no";
|
|
386
|
+
role?: React.AriaRole;
|
|
387
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only";
|
|
388
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
389
|
+
nonce?: string;
|
|
390
|
+
tabIndex?: number;
|
|
391
|
+
color?: string;
|
|
392
|
+
content?: string;
|
|
393
|
+
"aria-expanded"?: boolean | "true" | "false";
|
|
394
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
|
|
395
|
+
"aria-controls"?: string;
|
|
396
|
+
"aria-describedby"?: string;
|
|
397
|
+
defaultChecked?: boolean;
|
|
398
|
+
suppressContentEditableWarning?: boolean;
|
|
399
|
+
suppressHydrationWarning?: boolean;
|
|
400
|
+
autoFocus?: boolean;
|
|
401
|
+
spellCheck?: boolean | "true" | "false";
|
|
402
|
+
radioGroup?: string;
|
|
403
|
+
about?: string;
|
|
404
|
+
datatype?: string;
|
|
405
|
+
inlist?: any;
|
|
406
|
+
property?: string;
|
|
407
|
+
rel?: string;
|
|
408
|
+
resource?: string;
|
|
409
|
+
rev?: string;
|
|
410
|
+
typeof?: string;
|
|
411
|
+
vocab?: string;
|
|
412
|
+
autoCapitalize?: string;
|
|
413
|
+
autoCorrect?: string;
|
|
414
|
+
autoSave?: string;
|
|
415
|
+
itemProp?: string;
|
|
416
|
+
itemScope?: boolean;
|
|
417
|
+
itemType?: string;
|
|
418
|
+
itemID?: string;
|
|
419
|
+
itemRef?: string;
|
|
420
|
+
results?: number;
|
|
421
|
+
security?: string;
|
|
422
|
+
unselectable?: "on" | "off";
|
|
423
|
+
is?: string;
|
|
424
|
+
"aria-activedescendant"?: string;
|
|
425
|
+
"aria-atomic"?: boolean | "true" | "false";
|
|
426
|
+
"aria-autocomplete"?: "both" | "none" | "list" | "inline";
|
|
427
|
+
"aria-braillelabel"?: string;
|
|
428
|
+
"aria-brailleroledescription"?: string;
|
|
429
|
+
"aria-busy"?: boolean | "true" | "false";
|
|
430
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
431
|
+
"aria-colcount"?: number;
|
|
432
|
+
"aria-colindex"?: number;
|
|
433
|
+
"aria-colindextext"?: string;
|
|
434
|
+
"aria-colspan"?: number;
|
|
435
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date";
|
|
436
|
+
"aria-description"?: string;
|
|
437
|
+
"aria-details"?: string;
|
|
438
|
+
"aria-disabled"?: boolean | "true" | "false";
|
|
439
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
440
|
+
"aria-errormessage"?: string;
|
|
441
|
+
"aria-flowto"?: string;
|
|
442
|
+
"aria-grabbed"?: boolean | "true" | "false";
|
|
443
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
444
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
445
|
+
"aria-keyshortcuts"?: string;
|
|
446
|
+
"aria-labelledby"?: string;
|
|
447
|
+
"aria-level"?: number;
|
|
448
|
+
"aria-live"?: "off" | "assertive" | "polite";
|
|
449
|
+
"aria-modal"?: boolean | "true" | "false";
|
|
450
|
+
"aria-multiline"?: boolean | "true" | "false";
|
|
451
|
+
"aria-multiselectable"?: boolean | "true" | "false";
|
|
452
|
+
"aria-orientation"?: "horizontal" | "vertical";
|
|
453
|
+
"aria-owns"?: string;
|
|
454
|
+
"aria-placeholder"?: string;
|
|
455
|
+
"aria-posinset"?: number;
|
|
456
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
457
|
+
"aria-readonly"?: boolean | "true" | "false";
|
|
458
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
459
|
+
"aria-required"?: boolean | "true" | "false";
|
|
460
|
+
"aria-roledescription"?: string;
|
|
461
|
+
"aria-rowcount"?: number;
|
|
462
|
+
"aria-rowindex"?: number;
|
|
463
|
+
"aria-rowindextext"?: string;
|
|
464
|
+
"aria-rowspan"?: number;
|
|
465
|
+
"aria-selected"?: boolean | "true" | "false";
|
|
466
|
+
"aria-setsize"?: number;
|
|
467
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other";
|
|
468
|
+
"aria-valuemax"?: number;
|
|
469
|
+
"aria-valuemin"?: number;
|
|
470
|
+
"aria-valuenow"?: number;
|
|
471
|
+
"aria-valuetext"?: string;
|
|
472
472
|
formAction?: string;
|
|
473
473
|
formEncType?: string;
|
|
474
474
|
formMethod?: string;
|
|
@@ -86,7 +86,7 @@ declare class OverflowList extends BaseComponent<OverflowListProps, OverflowList
|
|
|
86
86
|
className: string;
|
|
87
87
|
style: {
|
|
88
88
|
maxWidth: string;
|
|
89
|
-
visibility: "
|
|
89
|
+
visibility: "hidden" | "visible";
|
|
90
90
|
accentColor?: import("csstype").Property.AccentColor;
|
|
91
91
|
alignContent?: import("csstype").Property.AlignContent;
|
|
92
92
|
alignItems?: import("csstype").Property.AlignItems;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { ColumnProps, Data } from './interface';
|
|
3
3
|
export default class Column<RecordType extends Record<string, any> = Data> extends React.PureComponent<ColumnProps<RecordType>> {
|
|
4
4
|
static propTypes: {
|
|
5
|
-
align: import("prop-types").Requireable<"
|
|
5
|
+
align: import("prop-types").Requireable<"center" | "left" | "right">;
|
|
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<"center" | "left" | "right">;
|
|
4
4
|
className: PropTypes.Requireable<string>;
|
|
5
5
|
colSpan: PropTypes.Requireable<number>;
|
|
6
6
|
dataIndex: PropTypes.Requireable<string>;
|
package/lib/cjs/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<"center" | "left" | "right">;
|
|
67
67
|
className: PropTypes.Requireable<string>;
|
|
68
68
|
colSpan: PropTypes.Requireable<number>;
|
|
69
69
|
dataIndex: PropTypes.Requireable<string>;
|
package/lib/cjs/table/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare class Table<RecordType extends Record<string, any> = Data> extends React
|
|
|
19
19
|
size: PropTypes.Requireable<"default" | "small" | "middle">;
|
|
20
20
|
tableLayout: PropTypes.Requireable<"" | "fixed" | "auto">;
|
|
21
21
|
columns: PropTypes.Requireable<PropTypes.InferProps<{
|
|
22
|
-
align: PropTypes.Requireable<"
|
|
22
|
+
align: PropTypes.Requireable<"center" | "left" | "right">;
|
|
23
23
|
className: PropTypes.Requireable<string>;
|
|
24
24
|
colSpan: PropTypes.Requireable<number>;
|
|
25
25
|
dataIndex: PropTypes.Requireable<string>;
|
|
@@ -61,7 +61,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
61
61
|
underline: PropTypes.Requireable<boolean>;
|
|
62
62
|
strong: PropTypes.Requireable<boolean>;
|
|
63
63
|
type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "danger" | "tertiary" | "quaternary">;
|
|
64
|
-
heading: PropTypes.Requireable<
|
|
64
|
+
heading: PropTypes.Requireable<1 | 2 | 3 | 4 | 5 | 6>;
|
|
65
65
|
style: PropTypes.Requireable<object>;
|
|
66
66
|
className: PropTypes.Requireable<string>;
|
|
67
67
|
component: PropTypes.Requireable<string>;
|
|
@@ -152,7 +152,7 @@ declare class Upload extends BaseComponent<UploadProps, UploadState> {
|
|
|
152
152
|
style: PropTypes.Requireable<object>;
|
|
153
153
|
timeout: PropTypes.Requireable<number>;
|
|
154
154
|
transformFile: PropTypes.Requireable<(...args: any[]) => any>;
|
|
155
|
-
uploadTrigger: PropTypes.Requireable<"
|
|
155
|
+
uploadTrigger: PropTypes.Requireable<"auto" | "custom">;
|
|
156
156
|
validateMessage: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
157
157
|
validateStatus: PropTypes.Requireable<"default" | "error" | "warning" | "success">;
|
|
158
158
|
withCredentials: PropTypes.Requireable<boolean>;
|
|
@@ -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<"center" | "left" | "right">;
|
|
9
9
|
size: PropTypes.Requireable<"small" | "medium">;
|
|
10
10
|
style: PropTypes.Requireable<object>;
|
|
11
11
|
theme: PropTypes.Requireable<"dark" | "light" | "primary">;
|
|
@@ -18,7 +18,7 @@ declare class Carousel extends BaseComponent<CarouselProps, CarouselState> {
|
|
|
18
18
|
autoPlay: PropTypes.Requireable<NonNullable<boolean | object>>;
|
|
19
19
|
className: PropTypes.Requireable<string>;
|
|
20
20
|
defaultActiveIndex: PropTypes.Requireable<number>;
|
|
21
|
-
indicatorPosition: PropTypes.Requireable<"
|
|
21
|
+
indicatorPosition: PropTypes.Requireable<"center" | "left" | "right">;
|
|
22
22
|
indicatorSize: PropTypes.Requireable<"small" | "medium">;
|
|
23
23
|
indicatorType: PropTypes.Requireable<"line" | "dot" | "columnar">;
|
|
24
24
|
theme: PropTypes.Requireable<"dark" | "light" | "primary">;
|
|
@@ -147,7 +147,7 @@ declare class Form<Values extends Record<string, any> = any> extends BaseCompone
|
|
|
147
147
|
preventScroll?: boolean;
|
|
148
148
|
showRestTagsPopover?: boolean;
|
|
149
149
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
150
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
150
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & React.RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
151
151
|
static Checkbox: React.ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
152
152
|
static CheckboxGroup: React.ComponentType<import("utility-types").Subtract<import("../checkbox").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & React.RefAttributes<any>>;
|
|
153
153
|
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
|
@@ -88,7 +88,7 @@ declare const FormSelect: import("react").ComponentType<import("utility-types").
|
|
|
88
88
|
preventScroll?: boolean;
|
|
89
89
|
showRestTagsPopover?: boolean;
|
|
90
90
|
restTagsPopoverProps?: import("../popover").PopoverProps;
|
|
91
|
-
} & Pick<import("../tooltip").TooltipProps, "
|
|
91
|
+
} & Pick<import("../tooltip").TooltipProps, "stopPropagation" | "motion" | "getPopupContainer" | "spacing" | "mouseEnterDelay" | "autoAdjustOverflow" | "mouseLeaveDelay"> & import("react").RefAttributes<any> & import("./interface").CommonFieldProps, import("./interface").CommonexcludeType>> & import("./interface").SelectStatic;
|
|
92
92
|
declare const FormCheckboxGroup: import("react").ComponentType<import("utility-types").Subtract<import("../checkbox/checkboxGroup").CheckboxGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
93
93
|
declare const FormCheckbox: import("react").ComponentType<import("utility-types").Subtract<import("./interface").CommonFieldProps, import("./interface").RadioCheckboxExcludeProps> & import("../checkbox/checkbox").CheckboxProps & import("./interface").RCIncludeType>;
|
|
94
94
|
declare const FormRadioGroup: import("react").ComponentType<import("utility-types").Subtract<import("../radio/radioGroup").RadioGroupProps, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps & import("react").RefAttributes<any>>;
|
|
@@ -146,22 +146,22 @@ export declare function withWarning(props: ModalReactProps): {
|
|
|
146
146
|
type: "warning";
|
|
147
147
|
};
|
|
148
148
|
export declare function withError(props: ModalReactProps): {
|
|
149
|
+
title?: React.ReactNode;
|
|
149
150
|
children?: React.ReactNode;
|
|
151
|
+
size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
|
|
150
152
|
style?: React.CSSProperties;
|
|
151
153
|
className?: string;
|
|
154
|
+
motion?: boolean;
|
|
152
155
|
getPopupContainer?: () => HTMLElement;
|
|
153
156
|
footer?: React.ReactNode;
|
|
154
157
|
header?: React.ReactNode;
|
|
155
|
-
title?: React.ReactNode;
|
|
156
158
|
direction?: any;
|
|
157
|
-
size?: import("@douyinfe/semi-foundation/lib/es/modal/modalFoundation").Size;
|
|
158
|
-
motion?: boolean;
|
|
159
|
-
width?: string | number;
|
|
160
|
-
height?: string | number;
|
|
161
159
|
visible?: boolean;
|
|
162
|
-
content?: React.ReactNode;
|
|
163
160
|
mask?: boolean;
|
|
164
161
|
zIndex?: number;
|
|
162
|
+
width?: string | number;
|
|
163
|
+
height?: string | number;
|
|
164
|
+
content?: React.ReactNode;
|
|
165
165
|
closeOnEsc?: boolean;
|
|
166
166
|
preventScroll?: boolean;
|
|
167
167
|
afterClose?: () => void;
|
|
@@ -210,114 +210,14 @@ export declare function withError(props: ModalReactProps): {
|
|
|
210
210
|
onMouseLeave?: React.MouseEventHandler<HTMLButtonElement>;
|
|
211
211
|
'aria-label'?: string;
|
|
212
212
|
contentClassName?: string;
|
|
213
|
-
value?: string | number | readonly string[];
|
|
214
|
-
form?: string;
|
|
215
|
-
slot?: string;
|
|
216
213
|
title?: string;
|
|
217
214
|
name?: string;
|
|
215
|
+
value?: string | number | readonly string[];
|
|
218
216
|
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
219
217
|
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
form?: string;
|
|
219
|
+
slot?: string;
|
|
222
220
|
prefix?: string;
|
|
223
|
-
accessKey?: string;
|
|
224
|
-
dir?: string;
|
|
225
|
-
draggable?: boolean | "true" | "false";
|
|
226
|
-
hidden?: boolean;
|
|
227
|
-
lang?: string;
|
|
228
|
-
translate?: "yes" | "no";
|
|
229
|
-
role?: React.AriaRole;
|
|
230
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only";
|
|
231
|
-
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
232
|
-
nonce?: string;
|
|
233
|
-
tabIndex?: number;
|
|
234
|
-
color?: string;
|
|
235
|
-
content?: string;
|
|
236
|
-
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
237
|
-
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
238
|
-
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
239
|
-
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
240
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
241
|
-
onContextMenu?: React.MouseEventHandler<HTMLButtonElement>;
|
|
242
|
-
"aria-expanded"?: boolean | "true" | "false";
|
|
243
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree";
|
|
244
|
-
"aria-controls"?: string;
|
|
245
|
-
"aria-describedby"?: string;
|
|
246
|
-
defaultChecked?: boolean;
|
|
247
|
-
suppressContentEditableWarning?: boolean;
|
|
248
|
-
suppressHydrationWarning?: boolean;
|
|
249
|
-
autoFocus?: boolean;
|
|
250
|
-
spellCheck?: boolean | "true" | "false";
|
|
251
|
-
radioGroup?: string;
|
|
252
|
-
about?: string;
|
|
253
|
-
datatype?: string;
|
|
254
|
-
inlist?: any;
|
|
255
|
-
property?: string;
|
|
256
|
-
rel?: string;
|
|
257
|
-
resource?: string;
|
|
258
|
-
rev?: string;
|
|
259
|
-
typeof?: string;
|
|
260
|
-
vocab?: string;
|
|
261
|
-
autoCapitalize?: string;
|
|
262
|
-
autoCorrect?: string;
|
|
263
|
-
autoSave?: string;
|
|
264
|
-
itemProp?: string;
|
|
265
|
-
itemScope?: boolean;
|
|
266
|
-
itemType?: string;
|
|
267
|
-
itemID?: string;
|
|
268
|
-
itemRef?: string;
|
|
269
|
-
results?: number;
|
|
270
|
-
security?: string;
|
|
271
|
-
unselectable?: "on" | "off";
|
|
272
|
-
is?: string;
|
|
273
|
-
"aria-activedescendant"?: string;
|
|
274
|
-
"aria-atomic"?: boolean | "true" | "false";
|
|
275
|
-
"aria-autocomplete"?: "both" | "none" | "inline" | "list";
|
|
276
|
-
"aria-braillelabel"?: string;
|
|
277
|
-
"aria-brailleroledescription"?: string;
|
|
278
|
-
"aria-busy"?: boolean | "true" | "false";
|
|
279
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
280
|
-
"aria-colcount"?: number;
|
|
281
|
-
"aria-colindex"?: number;
|
|
282
|
-
"aria-colindextext"?: string;
|
|
283
|
-
"aria-colspan"?: number;
|
|
284
|
-
"aria-current"?: boolean | "time" | "location" | "true" | "false" | "page" | "step" | "date";
|
|
285
|
-
"aria-description"?: string;
|
|
286
|
-
"aria-details"?: string;
|
|
287
|
-
"aria-disabled"?: boolean | "true" | "false";
|
|
288
|
-
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
289
|
-
"aria-errormessage"?: string;
|
|
290
|
-
"aria-flowto"?: string;
|
|
291
|
-
"aria-grabbed"?: boolean | "true" | "false";
|
|
292
|
-
"aria-hidden"?: boolean | "true" | "false";
|
|
293
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
294
|
-
"aria-keyshortcuts"?: string;
|
|
295
|
-
"aria-labelledby"?: string;
|
|
296
|
-
"aria-level"?: number;
|
|
297
|
-
"aria-live"?: "off" | "assertive" | "polite";
|
|
298
|
-
"aria-modal"?: boolean | "true" | "false";
|
|
299
|
-
"aria-multiline"?: boolean | "true" | "false";
|
|
300
|
-
"aria-multiselectable"?: boolean | "true" | "false";
|
|
301
|
-
"aria-orientation"?: "horizontal" | "vertical";
|
|
302
|
-
"aria-owns"?: string;
|
|
303
|
-
"aria-placeholder"?: string;
|
|
304
|
-
"aria-posinset"?: number;
|
|
305
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
306
|
-
"aria-readonly"?: boolean | "true" | "false";
|
|
307
|
-
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
308
|
-
"aria-required"?: boolean | "true" | "false";
|
|
309
|
-
"aria-roledescription"?: string;
|
|
310
|
-
"aria-rowcount"?: number;
|
|
311
|
-
"aria-rowindex"?: number;
|
|
312
|
-
"aria-rowindextext"?: string;
|
|
313
|
-
"aria-rowspan"?: number;
|
|
314
|
-
"aria-selected"?: boolean | "true" | "false";
|
|
315
|
-
"aria-setsize"?: number;
|
|
316
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other";
|
|
317
|
-
"aria-valuemax"?: number;
|
|
318
|
-
"aria-valuemin"?: number;
|
|
319
|
-
"aria-valuenow"?: number;
|
|
320
|
-
"aria-valuetext"?: string;
|
|
321
221
|
dangerouslySetInnerHTML?: {
|
|
322
222
|
__html: string | TrustedHTML;
|
|
323
223
|
};
|
|
@@ -333,7 +233,9 @@ export declare function withError(props: ModalReactProps): {
|
|
|
333
233
|
onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
334
234
|
onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
335
235
|
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
236
|
+
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
336
237
|
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
238
|
+
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
337
239
|
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
338
240
|
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
339
241
|
onChangeCapture?: React.FormEventHandler<HTMLButtonElement>;
|
|
@@ -351,6 +253,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
351
253
|
onLoadCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
352
254
|
onError?: React.ReactEventHandler<HTMLButtonElement>;
|
|
353
255
|
onErrorCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
256
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
354
257
|
onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
355
258
|
onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
356
259
|
onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
@@ -405,6 +308,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
405
308
|
onAuxClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
406
309
|
onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
407
310
|
onClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
311
|
+
onContextMenu?: React.MouseEventHandler<HTMLButtonElement>;
|
|
408
312
|
onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
409
313
|
onDoubleClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
410
314
|
onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -427,7 +331,9 @@ export declare function withError(props: ModalReactProps): {
|
|
|
427
331
|
onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
428
332
|
onMouseMove?: React.MouseEventHandler<HTMLButtonElement>;
|
|
429
333
|
onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
334
|
+
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
430
335
|
onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
336
|
+
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
431
337
|
onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
432
338
|
onMouseUp?: React.MouseEventHandler<HTMLButtonElement>;
|
|
433
339
|
onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -469,6 +375,100 @@ export declare function withError(props: ModalReactProps): {
|
|
|
469
375
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
470
376
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
471
377
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
378
|
+
hidden?: boolean;
|
|
379
|
+
contextMenu?: string;
|
|
380
|
+
defaultValue?: string | number | readonly string[];
|
|
381
|
+
accessKey?: string;
|
|
382
|
+
dir?: string;
|
|
383
|
+
draggable?: boolean | "true" | "false";
|
|
384
|
+
lang?: string;
|
|
385
|
+
translate?: "yes" | "no";
|
|
386
|
+
role?: React.AriaRole;
|
|
387
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only";
|
|
388
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
389
|
+
nonce?: string;
|
|
390
|
+
tabIndex?: number;
|
|
391
|
+
color?: string;
|
|
392
|
+
content?: string;
|
|
393
|
+
"aria-expanded"?: boolean | "true" | "false";
|
|
394
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
|
|
395
|
+
"aria-controls"?: string;
|
|
396
|
+
"aria-describedby"?: string;
|
|
397
|
+
defaultChecked?: boolean;
|
|
398
|
+
suppressContentEditableWarning?: boolean;
|
|
399
|
+
suppressHydrationWarning?: boolean;
|
|
400
|
+
autoFocus?: boolean;
|
|
401
|
+
spellCheck?: boolean | "true" | "false";
|
|
402
|
+
radioGroup?: string;
|
|
403
|
+
about?: string;
|
|
404
|
+
datatype?: string;
|
|
405
|
+
inlist?: any;
|
|
406
|
+
property?: string;
|
|
407
|
+
rel?: string;
|
|
408
|
+
resource?: string;
|
|
409
|
+
rev?: string;
|
|
410
|
+
typeof?: string;
|
|
411
|
+
vocab?: string;
|
|
412
|
+
autoCapitalize?: string;
|
|
413
|
+
autoCorrect?: string;
|
|
414
|
+
autoSave?: string;
|
|
415
|
+
itemProp?: string;
|
|
416
|
+
itemScope?: boolean;
|
|
417
|
+
itemType?: string;
|
|
418
|
+
itemID?: string;
|
|
419
|
+
itemRef?: string;
|
|
420
|
+
results?: number;
|
|
421
|
+
security?: string;
|
|
422
|
+
unselectable?: "on" | "off";
|
|
423
|
+
is?: string;
|
|
424
|
+
"aria-activedescendant"?: string;
|
|
425
|
+
"aria-atomic"?: boolean | "true" | "false";
|
|
426
|
+
"aria-autocomplete"?: "both" | "none" | "list" | "inline";
|
|
427
|
+
"aria-braillelabel"?: string;
|
|
428
|
+
"aria-brailleroledescription"?: string;
|
|
429
|
+
"aria-busy"?: boolean | "true" | "false";
|
|
430
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
431
|
+
"aria-colcount"?: number;
|
|
432
|
+
"aria-colindex"?: number;
|
|
433
|
+
"aria-colindextext"?: string;
|
|
434
|
+
"aria-colspan"?: number;
|
|
435
|
+
"aria-current"?: boolean | "time" | "true" | "false" | "location" | "page" | "step" | "date";
|
|
436
|
+
"aria-description"?: string;
|
|
437
|
+
"aria-details"?: string;
|
|
438
|
+
"aria-disabled"?: boolean | "true" | "false";
|
|
439
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup";
|
|
440
|
+
"aria-errormessage"?: string;
|
|
441
|
+
"aria-flowto"?: string;
|
|
442
|
+
"aria-grabbed"?: boolean | "true" | "false";
|
|
443
|
+
"aria-hidden"?: boolean | "true" | "false";
|
|
444
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
445
|
+
"aria-keyshortcuts"?: string;
|
|
446
|
+
"aria-labelledby"?: string;
|
|
447
|
+
"aria-level"?: number;
|
|
448
|
+
"aria-live"?: "off" | "assertive" | "polite";
|
|
449
|
+
"aria-modal"?: boolean | "true" | "false";
|
|
450
|
+
"aria-multiline"?: boolean | "true" | "false";
|
|
451
|
+
"aria-multiselectable"?: boolean | "true" | "false";
|
|
452
|
+
"aria-orientation"?: "horizontal" | "vertical";
|
|
453
|
+
"aria-owns"?: string;
|
|
454
|
+
"aria-placeholder"?: string;
|
|
455
|
+
"aria-posinset"?: number;
|
|
456
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
457
|
+
"aria-readonly"?: boolean | "true" | "false";
|
|
458
|
+
"aria-relevant"?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
459
|
+
"aria-required"?: boolean | "true" | "false";
|
|
460
|
+
"aria-roledescription"?: string;
|
|
461
|
+
"aria-rowcount"?: number;
|
|
462
|
+
"aria-rowindex"?: number;
|
|
463
|
+
"aria-rowindextext"?: string;
|
|
464
|
+
"aria-rowspan"?: number;
|
|
465
|
+
"aria-selected"?: boolean | "true" | "false";
|
|
466
|
+
"aria-setsize"?: number;
|
|
467
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other";
|
|
468
|
+
"aria-valuemax"?: number;
|
|
469
|
+
"aria-valuemin"?: number;
|
|
470
|
+
"aria-valuenow"?: number;
|
|
471
|
+
"aria-valuetext"?: string;
|
|
472
472
|
formAction?: string;
|
|
473
473
|
formEncType?: string;
|
|
474
474
|
formMethod?: string;
|
|
@@ -86,7 +86,7 @@ declare class OverflowList extends BaseComponent<OverflowListProps, OverflowList
|
|
|
86
86
|
className: string;
|
|
87
87
|
style: {
|
|
88
88
|
maxWidth: string;
|
|
89
|
-
visibility: "
|
|
89
|
+
visibility: "hidden" | "visible";
|
|
90
90
|
accentColor?: import("csstype").Property.AccentColor;
|
|
91
91
|
alignContent?: import("csstype").Property.AlignContent;
|
|
92
92
|
alignItems?: import("csstype").Property.AlignItems;
|
package/lib/es/table/Column.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { ColumnProps, Data } from './interface';
|
|
3
3
|
export default class Column<RecordType extends Record<string, any> = Data> extends React.PureComponent<ColumnProps<RecordType>> {
|
|
4
4
|
static propTypes: {
|
|
5
|
-
align: import("prop-types").Requireable<"
|
|
5
|
+
align: import("prop-types").Requireable<"center" | "left" | "right">;
|
|
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<"center" | "left" | "right">;
|
|
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<"center" | "left" | "right">;
|
|
67
67
|
className: PropTypes.Requireable<string>;
|
|
68
68
|
colSpan: PropTypes.Requireable<number>;
|
|
69
69
|
dataIndex: PropTypes.Requireable<string>;
|
package/lib/es/table/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare class Table<RecordType extends Record<string, any> = Data> extends React
|
|
|
19
19
|
size: PropTypes.Requireable<"default" | "small" | "middle">;
|
|
20
20
|
tableLayout: PropTypes.Requireable<"" | "fixed" | "auto">;
|
|
21
21
|
columns: PropTypes.Requireable<PropTypes.InferProps<{
|
|
22
|
-
align: PropTypes.Requireable<"
|
|
22
|
+
align: PropTypes.Requireable<"center" | "left" | "right">;
|
|
23
23
|
className: PropTypes.Requireable<string>;
|
|
24
24
|
colSpan: PropTypes.Requireable<number>;
|
|
25
25
|
dataIndex: PropTypes.Requireable<string>;
|
|
@@ -61,7 +61,7 @@ export default class Title extends PureComponent<TitleProps> {
|
|
|
61
61
|
underline: PropTypes.Requireable<boolean>;
|
|
62
62
|
strong: PropTypes.Requireable<boolean>;
|
|
63
63
|
type: PropTypes.Requireable<"warning" | "success" | "primary" | "secondary" | "danger" | "tertiary" | "quaternary">;
|
|
64
|
-
heading: PropTypes.Requireable<
|
|
64
|
+
heading: PropTypes.Requireable<1 | 2 | 3 | 4 | 5 | 6>;
|
|
65
65
|
style: PropTypes.Requireable<object>;
|
|
66
66
|
className: PropTypes.Requireable<string>;
|
|
67
67
|
component: PropTypes.Requireable<string>;
|
package/lib/es/upload/index.d.ts
CHANGED
|
@@ -152,7 +152,7 @@ declare class Upload extends BaseComponent<UploadProps, UploadState> {
|
|
|
152
152
|
style: PropTypes.Requireable<object>;
|
|
153
153
|
timeout: PropTypes.Requireable<number>;
|
|
154
154
|
transformFile: PropTypes.Requireable<(...args: any[]) => any>;
|
|
155
|
-
uploadTrigger: PropTypes.Requireable<"
|
|
155
|
+
uploadTrigger: PropTypes.Requireable<"auto" | "custom">;
|
|
156
156
|
validateMessage: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
157
157
|
validateStatus: PropTypes.Requireable<"default" | "error" | "warning" | "success">;
|
|
158
158
|
withCredentials: PropTypes.Requireable<boolean>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.76.1
|
|
3
|
+
"version": "2.76.1",
|
|
4
4
|
"description": "A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"@dnd-kit/core": "^6.0.8",
|
|
21
21
|
"@dnd-kit/sortable": "^7.0.2",
|
|
22
22
|
"@dnd-kit/utilities": "^3.2.1",
|
|
23
|
-
"@douyinfe/semi-animation": "2.76.1
|
|
24
|
-
"@douyinfe/semi-animation-react": "2.76.1
|
|
25
|
-
"@douyinfe/semi-foundation": "2.76.1
|
|
26
|
-
"@douyinfe/semi-icons": "2.76.1
|
|
27
|
-
"@douyinfe/semi-illustrations": "2.76.1
|
|
28
|
-
"@douyinfe/semi-theme-default": "2.76.1
|
|
23
|
+
"@douyinfe/semi-animation": "2.76.1",
|
|
24
|
+
"@douyinfe/semi-animation-react": "2.76.1",
|
|
25
|
+
"@douyinfe/semi-foundation": "2.76.1",
|
|
26
|
+
"@douyinfe/semi-icons": "2.76.1",
|
|
27
|
+
"@douyinfe/semi-illustrations": "2.76.1",
|
|
28
|
+
"@douyinfe/semi-theme-default": "2.76.1",
|
|
29
29
|
"async-validator": "^3.5.0",
|
|
30
30
|
"classnames": "^2.2.6",
|
|
31
31
|
"copy-text-to-clipboard": "^2.1.1",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
],
|
|
79
79
|
"author": "",
|
|
80
80
|
"license": "MIT",
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "3feea3f0ba53bd6710ad2fc9aca2ec892a2a21df",
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
84
84
|
"@babel/plugin-transform-runtime": "^7.15.8",
|