@douyinfe/semi-ui 2.76.0 → 2.76.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/semi.css +8 -32
- package/dist/css/semi.min.css +1 -1
- 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<"left" | "right" | "center">;
|
|
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<"left" | "right" | "center">;
|
|
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, "getPopupContainer" | "stopPropagation" | "motion" | "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, "getPopupContainer" | "stopPropagation" | "motion" | "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;
|
|
150
149
|
children?: React.ReactNode;
|
|
151
|
-
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
152
150
|
style?: React.CSSProperties;
|
|
153
151
|
className?: string;
|
|
154
|
-
motion?: boolean;
|
|
155
152
|
getPopupContainer?: () => HTMLElement;
|
|
156
153
|
footer?: React.ReactNode;
|
|
157
154
|
header?: React.ReactNode;
|
|
155
|
+
title?: React.ReactNode;
|
|
158
156
|
direction?: any;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
zIndex?: number;
|
|
157
|
+
size?: import("@douyinfe/semi-foundation/lib/cjs/modal/modalFoundation").Size;
|
|
158
|
+
motion?: boolean;
|
|
162
159
|
width?: string | number;
|
|
163
160
|
height?: string | number;
|
|
161
|
+
visible?: boolean;
|
|
164
162
|
content?: React.ReactNode;
|
|
163
|
+
mask?: boolean;
|
|
164
|
+
zIndex?: number;
|
|
165
165
|
closeOnEsc?: boolean;
|
|
166
166
|
preventScroll?: boolean;
|
|
167
167
|
afterClose?: () => void;
|
|
@@ -210,14 +210,114 @@ 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;
|
|
213
216
|
title?: string;
|
|
214
217
|
name?: string;
|
|
215
|
-
value?: string | number | readonly string[];
|
|
216
218
|
onAnimationStart?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
217
219
|
onAnimationEnd?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
218
|
-
|
|
219
|
-
|
|
220
|
+
contextMenu?: string;
|
|
221
|
+
defaultValue?: string | number | readonly string[];
|
|
220
222
|
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;
|
|
221
321
|
dangerouslySetInnerHTML?: {
|
|
222
322
|
__html: string | TrustedHTML;
|
|
223
323
|
};
|
|
@@ -233,9 +333,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
233
333
|
onCompositionStartCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
234
334
|
onCompositionUpdate?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
235
335
|
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLButtonElement>;
|
|
236
|
-
onFocus?: React.FocusEventHandler<HTMLButtonElement>;
|
|
237
336
|
onFocusCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
238
|
-
onBlur?: React.FocusEventHandler<HTMLButtonElement>;
|
|
239
337
|
onBlurCapture?: React.FocusEventHandler<HTMLButtonElement>;
|
|
240
338
|
onChange?: React.FormEventHandler<HTMLButtonElement>;
|
|
241
339
|
onChangeCapture?: React.FormEventHandler<HTMLButtonElement>;
|
|
@@ -253,7 +351,6 @@ export declare function withError(props: ModalReactProps): {
|
|
|
253
351
|
onLoadCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
254
352
|
onError?: React.ReactEventHandler<HTMLButtonElement>;
|
|
255
353
|
onErrorCapture?: React.ReactEventHandler<HTMLButtonElement>;
|
|
256
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
257
354
|
onKeyDownCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
258
355
|
onKeyPress?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
259
356
|
onKeyPressCapture?: React.KeyboardEventHandler<HTMLButtonElement>;
|
|
@@ -308,7 +405,6 @@ export declare function withError(props: ModalReactProps): {
|
|
|
308
405
|
onAuxClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
309
406
|
onAuxClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
310
407
|
onClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
311
|
-
onContextMenu?: React.MouseEventHandler<HTMLButtonElement>;
|
|
312
408
|
onContextMenuCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
313
409
|
onDoubleClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
314
410
|
onDoubleClickCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -331,9 +427,7 @@ export declare function withError(props: ModalReactProps): {
|
|
|
331
427
|
onMouseDownCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
332
428
|
onMouseMove?: React.MouseEventHandler<HTMLButtonElement>;
|
|
333
429
|
onMouseMoveCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
334
|
-
onMouseOut?: React.MouseEventHandler<HTMLButtonElement>;
|
|
335
430
|
onMouseOutCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
336
|
-
onMouseOver?: React.MouseEventHandler<HTMLButtonElement>;
|
|
337
431
|
onMouseOverCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
338
432
|
onMouseUp?: React.MouseEventHandler<HTMLButtonElement>;
|
|
339
433
|
onMouseUpCapture?: React.MouseEventHandler<HTMLButtonElement>;
|
|
@@ -375,100 +469,6 @@ export declare function withError(props: ModalReactProps): {
|
|
|
375
469
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement>;
|
|
376
470
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement>;
|
|
377
471
|
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: "visible" | "hidden";
|
|
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<"left" | "right" | "center">;
|
|
6
6
|
className: import("prop-types").Requireable<string>;
|
|
7
7
|
colSpan: import("prop-types").Requireable<number>;
|
|
8
8
|
dataIndex: import("prop-types").Requireable<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
declare const _default: {
|
|
3
|
-
align: PropTypes.Requireable<"
|
|
3
|
+
align: PropTypes.Requireable<"left" | "right" | "center">;
|
|
4
4
|
className: PropTypes.Requireable<string>;
|
|
5
5
|
colSpan: PropTypes.Requireable<number>;
|
|
6
6
|
dataIndex: PropTypes.Requireable<string>;
|
package/lib/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<"left" | "right" | "center">;
|
|
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<"left" | "right" | "center">;
|
|
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<4 | 2 | 1 | 3 | 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<"custom" | "auto">;
|
|
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<"left" | "right" | "center">;
|
|
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<"left" | "right" | "center">;
|
|
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, "getPopupContainer" | "stopPropagation" | "motion" | "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, "getPopupContainer" | "stopPropagation" | "motion" | "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>>;
|