@ringcentral/juno 3.0.0-alpha.0 → 3.0.0-alpha.2
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/components/Buttons/Button/Button.d.ts +53 -53
- package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/components/Buttons/IconButton/IconButton.d.ts +58 -58
- package/components/Buttons/IconButton/utils/IconButtonUtils.d.ts +1 -1
- package/components/Card/CardContent/CardContent.d.ts +1 -1
- package/components/Card/CardHeader/CardHeader.d.ts +1 -1
- package/components/Card/CardMedia/CardMedia.d.ts +1 -1
- package/components/Dialog/DialogActions/DialogActions.d.ts +49 -49
- package/components/Dialog/DialogContent/DialogContent.d.ts +1 -1
- package/components/Dialog/DialogContentText/DialogContentText.d.ts +3 -3
- package/components/Dialog/DialogTitle/DialogTitle.d.ts +1 -1
- package/components/Divider/Divider.d.ts +1 -1
- package/components/Downshift/SuggestionList/utils/useSuggestionList.d.ts +10 -10
- package/components/Downshift/styles/DownshiftStyle.d.ts +58 -58
- package/components/Downshift/utils/useDownshift.d.ts +104 -104
- package/components/Downshift/utils/useDownshiftTag.d.ts +64 -64
- package/components/Forms/FormHelperText/FormHelperText.d.ts +1 -1
- package/components/Forms/FormHelperText/styles/StyledFormHelperText.d.ts +1 -1
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +58 -58
- package/components/Forms/Picker/utils/PickerTextField/PickerTextField.d.ts +1 -1
- package/components/Forms/TextField/TextField.d.ts +56 -56
- package/components/Grid/Grid.d.ts +1 -1
- package/components/List/List/List.d.ts +1 -1
- package/components/List/ListItem/ListItem.d.ts +49 -49
- package/components/Menu/MenuItem/MenuItem.d.ts +50 -50
- package/components/Pagination/PaginationItem/PaginationItem.d.ts +2 -2
- package/components/Table/TableBody/TableBody.d.ts +1 -1
- package/components/Table/TableCell/TableCell.d.ts +53 -53
- package/components/Table/TableCell/utils/TableCellUtils.d.ts +1 -1
- package/components/Table/TableHead/TableHead.d.ts +1 -1
- package/components/TablePagination/styles/TablePaginationStyle.d.ts +50 -50
- package/components/Tag/Tag.d.ts +1 -1
- package/components/Transitions/ZoomFrom/ZoomFrom.js +1 -7
- package/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +4 -7
- package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +25 -25
- package/components/Virtuoso/react-virtuoso/VirtuosoGrid.d.ts +6 -6
- package/es6/components/Transitions/ZoomFrom/ZoomFrom.js +1 -7
- package/es6/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +4 -7
- package/es6/foundation/hooks/useAudio/useAudio.js +1 -1
- package/es6/foundation/theme/useThemeProps.js +1 -1
- package/foundation/hooks/useAudio/useAudio.d.ts +1 -1
- package/foundation/hooks/useAudio/useAudio.js +1 -1
- package/foundation/theme/useThemeProps.d.ts +1 -1
- package/foundation/theme/useThemeProps.js +1 -1
- package/package.json +2 -3
|
@@ -12,7 +12,7 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
12
12
|
symbol?: import("../../Icon/Icon").SvgSymbol | undefined;
|
|
13
13
|
avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
14
14
|
secondaryAction?: import("react").ReactNode;
|
|
15
|
-
focusVariant?: "
|
|
15
|
+
focusVariant?: "highlight" | "focusRing" | undefined;
|
|
16
16
|
} & import("../../Menu/MenuItem/MenuItem").RcMenuItemClassesType & Pick<import("../../List/ListItem/ListItem").RcListItemProps, "color" | "focused" | "highlighted"> & {
|
|
17
17
|
title?: NonNullable<import("react").ReactNode> | undefined;
|
|
18
18
|
useRcTooltip?: boolean | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
48
48
|
button?: true | undefined;
|
|
49
49
|
}, "li">>> & Pick<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
50
50
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
51
|
-
}, "
|
|
51
|
+
}, "ref" | "key" | "suppressHydrationWarning" | "color" | "id" | "lang" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "slot" | "title" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "value">, "title" | "classes"> & {
|
|
52
52
|
idRef?: import("react").Ref<string> | undefined;
|
|
53
53
|
isSubMenuItem?: boolean | undefined;
|
|
54
54
|
}, "ref"> & import("react").RefAttributes<any>>, "ref"> & import("react").RefAttributes<any>>, import("../../../foundation").RcTheme, {
|
|
@@ -66,52 +66,14 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
66
66
|
title?: NonNullable<import("react").ReactNode> | undefined;
|
|
67
67
|
useRcTooltip?: boolean | undefined;
|
|
68
68
|
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
72
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
69
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
70
|
+
key?: import("react").Key | null | undefined;
|
|
73
71
|
suppressHydrationWarning?: boolean | undefined;
|
|
74
|
-
accessKey?: string | undefined;
|
|
75
|
-
autoFocus?: boolean | undefined;
|
|
76
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
77
|
-
contextMenu?: string | undefined;
|
|
78
|
-
dir?: string | undefined;
|
|
79
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
80
|
-
hidden?: boolean | undefined;
|
|
81
72
|
id?: string | undefined;
|
|
82
73
|
lang?: string | undefined;
|
|
83
|
-
nonce?: string | undefined;
|
|
84
|
-
slot?: string | undefined;
|
|
85
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
86
74
|
style?: import("react").CSSProperties | undefined;
|
|
87
|
-
tabIndex?: string | number | undefined;
|
|
88
|
-
translate?: "yes" | "no" | undefined;
|
|
89
|
-
radioGroup?: string | undefined;
|
|
90
75
|
role?: import("react").AriaRole | undefined;
|
|
91
|
-
|
|
92
|
-
content?: string | undefined;
|
|
93
|
-
datatype?: string | undefined;
|
|
94
|
-
inlist?: any;
|
|
95
|
-
prefix?: string | undefined;
|
|
96
|
-
property?: string | undefined;
|
|
97
|
-
rel?: string | undefined;
|
|
98
|
-
resource?: string | undefined;
|
|
99
|
-
rev?: string | undefined;
|
|
100
|
-
typeof?: string | undefined;
|
|
101
|
-
vocab?: string | undefined;
|
|
102
|
-
autoCapitalize?: string | undefined;
|
|
103
|
-
autoCorrect?: string | undefined;
|
|
104
|
-
autoSave?: string | undefined;
|
|
105
|
-
itemProp?: string | undefined;
|
|
106
|
-
itemScope?: boolean | undefined;
|
|
107
|
-
itemType?: string | undefined;
|
|
108
|
-
itemID?: string | undefined;
|
|
109
|
-
itemRef?: string | undefined;
|
|
110
|
-
results?: number | undefined;
|
|
111
|
-
security?: string | undefined;
|
|
112
|
-
unselectable?: "on" | "off" | undefined;
|
|
113
|
-
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
114
|
-
is?: string | undefined;
|
|
76
|
+
tabIndex?: string | number | undefined;
|
|
115
77
|
"aria-activedescendant"?: string | undefined;
|
|
116
78
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
117
79
|
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
@@ -124,17 +86,17 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
124
86
|
"aria-colindextext"?: string | undefined;
|
|
125
87
|
"aria-colspan"?: number | undefined;
|
|
126
88
|
"aria-controls"?: string | undefined;
|
|
127
|
-
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" |
|
|
89
|
+
"aria-current"?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location" | undefined;
|
|
128
90
|
"aria-describedby"?: string | undefined;
|
|
129
91
|
"aria-description"?: string | undefined;
|
|
130
92
|
"aria-details"?: string | undefined;
|
|
131
93
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
132
|
-
"aria-dropeffect"?: "link" | "
|
|
94
|
+
"aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
133
95
|
"aria-errormessage"?: string | undefined;
|
|
134
96
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
135
97
|
"aria-flowto"?: string | undefined;
|
|
136
98
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
137
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "
|
|
99
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
138
100
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
139
101
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
140
102
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -165,6 +127,7 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
165
127
|
"aria-valuemin"?: number | undefined;
|
|
166
128
|
"aria-valuenow"?: number | undefined;
|
|
167
129
|
"aria-valuetext"?: string | undefined;
|
|
130
|
+
children?: import("react").ReactNode;
|
|
168
131
|
dangerouslySetInnerHTML?: {
|
|
169
132
|
__html: string | TrustedHTML;
|
|
170
133
|
} | undefined;
|
|
@@ -330,10 +293,47 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
330
293
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
331
294
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
332
295
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
296
|
+
slot?: string | undefined;
|
|
297
|
+
translate?: "no" | "yes" | undefined;
|
|
298
|
+
defaultChecked?: boolean | undefined;
|
|
299
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
300
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
301
|
+
accessKey?: string | undefined;
|
|
302
|
+
autoFocus?: boolean | undefined;
|
|
303
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
304
|
+
contextMenu?: string | undefined;
|
|
305
|
+
dir?: string | undefined;
|
|
306
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
307
|
+
hidden?: boolean | undefined;
|
|
308
|
+
nonce?: string | undefined;
|
|
309
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
310
|
+
radioGroup?: string | undefined;
|
|
311
|
+
about?: string | undefined;
|
|
312
|
+
content?: string | undefined;
|
|
313
|
+
datatype?: string | undefined;
|
|
314
|
+
inlist?: any;
|
|
315
|
+
prefix?: string | undefined;
|
|
316
|
+
property?: string | undefined;
|
|
317
|
+
rel?: string | undefined;
|
|
318
|
+
resource?: string | undefined;
|
|
319
|
+
rev?: string | undefined;
|
|
320
|
+
typeof?: string | undefined;
|
|
321
|
+
vocab?: string | undefined;
|
|
322
|
+
autoCapitalize?: string | undefined;
|
|
323
|
+
autoCorrect?: string | undefined;
|
|
324
|
+
autoSave?: string | undefined;
|
|
325
|
+
itemProp?: string | undefined;
|
|
326
|
+
itemScope?: boolean | undefined;
|
|
327
|
+
itemType?: string | undefined;
|
|
328
|
+
itemID?: string | undefined;
|
|
329
|
+
itemRef?: string | undefined;
|
|
330
|
+
results?: number | undefined;
|
|
331
|
+
security?: string | undefined;
|
|
332
|
+
unselectable?: "off" | "on" | undefined;
|
|
333
|
+
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
334
|
+
is?: string | undefined;
|
|
333
335
|
value?: string | number | readonly string[] | undefined;
|
|
334
336
|
innerRef?: import("react").Ref<any> | undefined;
|
|
335
|
-
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
336
|
-
key?: import("react").Key | null | undefined;
|
|
337
337
|
disabled?: boolean | undefined;
|
|
338
338
|
action?: import("react").Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
339
339
|
buttonRef?: import("react").Ref<unknown> | undefined;
|
|
@@ -353,7 +353,7 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
353
353
|
disableGutters?: boolean | undefined;
|
|
354
354
|
size: "medium" | "large";
|
|
355
355
|
button: true;
|
|
356
|
-
focusVariant: "
|
|
357
|
-
}, "symbol" | "
|
|
356
|
+
focusVariant: "highlight" | "focusRing";
|
|
357
|
+
}, "symbol" | "ref" | "key" | "suppressHydrationWarning" | "color" | "id" | "lang" | "style" | "type" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "button" | "slot" | "title" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "innerRef" | "icon" | "useRcTooltip" | "TooltipProps" | "disabled" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "component" | "focusVariant" | "avatar" | "divider" | "selected" | "checked" | "focused" | "dense" | "alignItems" | "ContainerComponent" | "ContainerProps" | "disableGutters" | "secondaryAction" | "highlighted">;
|
|
358
358
|
export declare const TablePaginationStyle: RcThemedStyled<RcTablePaginationProps, any>;
|
|
359
359
|
export declare const TablePaginationRoot: import("styled-components").StyledComponent<typeof MuiTableCell, import("../../../foundation").RcTheme, {}, never>;
|
package/components/Tag/Tag.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ declare const RcTag: import("styled-components").StyledComponent<React.MemoExoti
|
|
|
25
25
|
/** The content of the tag. */
|
|
26
26
|
children?: React.ReactNode;
|
|
27
27
|
/** custom border radius for tag, default is `xl` */
|
|
28
|
-
radius?: "circle" | "
|
|
28
|
+
radius?: "circle" | "round" | "sm" | "md" | "lg" | "xl" | "xxl" | "zero" | undefined;
|
|
29
29
|
/** @deprecated The content of the tag, please use children directly */
|
|
30
30
|
content?: string | undefined;
|
|
31
31
|
} & RcBaseProps<React.HTMLAttributes<HTMLSpanElement>, "color"> & React.RefAttributes<any>>>, RcTheme, {}, never>;
|
|
@@ -19,7 +19,7 @@ var styles = {
|
|
|
19
19
|
};
|
|
20
20
|
var RcZoomFrom = (0, react_1.forwardRef)(function (inProps, ref) {
|
|
21
21
|
var props = (0, foundation_1.useThemeProps)({ props: inProps, name: 'RcZoomFrom' });
|
|
22
|
-
var fromRef = props.from, children = props.children, inProp = props.in, style = props.style,
|
|
22
|
+
var fromRef = props.from, children = props.children, inProp = props.in, style = props.style, _a = props.timeout, timeout = _a === void 0 ? { enter: Transition_1.duration.enteringScreen, exit: Transition_1.duration.enteringScreen } : _a, onExit = props.onExit, onEnter = props.onEnter, onExited = props.onExited, onExiting = props.onExiting, onEntering = props.onEntering, other = tslib_1.__rest(props, ["from", "children", "in", "style", "timeout", "onExit", "onEnter", "onExited", "onExiting", "onEntering"]);
|
|
23
23
|
var theme = (0, foundation_1.useTheme)();
|
|
24
24
|
var nodeRef = (0, react_1.useRef)(null);
|
|
25
25
|
var handlers = (0, utils_1.useNormalizedTransitionProps)(tslib_1.__assign(tslib_1.__assign({}, props), { onEnter: function (node, isAppearing) {
|
|
@@ -55,10 +55,4 @@ var RcZoomFrom = (0, react_1.forwardRef)(function (inProps, ref) {
|
|
|
55
55
|
}));
|
|
56
56
|
});
|
|
57
57
|
exports.RcZoomFrom = RcZoomFrom;
|
|
58
|
-
RcZoomFrom.defaultProps = {
|
|
59
|
-
timeout: {
|
|
60
|
-
enter: Transition_1.duration.enteringScreen,
|
|
61
|
-
exit: Transition_1.duration.enteringScreen,
|
|
62
|
-
},
|
|
63
|
-
};
|
|
64
58
|
RcZoomFrom.displayName = 'ZoomInFadeOut';
|
|
@@ -25,7 +25,10 @@ var styles = {
|
|
|
25
25
|
};
|
|
26
26
|
var RcZoomInFadeOut = (0, react_1.forwardRef)(function (inProps, ref) {
|
|
27
27
|
var props = (0, foundation_1.useThemeProps)({ props: inProps, name: 'RcZoomInFadeOut' });
|
|
28
|
-
var children = props.children, inProp = props.in, style = props.style, onExit = props.onExit, onEnter = props.onEnter,
|
|
28
|
+
var children = props.children, inProp = props.in, style = props.style, onExit = props.onExit, onEnter = props.onEnter, _a = props.timeout, timeout = _a === void 0 ? {
|
|
29
|
+
enter: Transition_1.duration.enteringScreen,
|
|
30
|
+
exit: Transition_1.duration.enteringScreen,
|
|
31
|
+
} : _a, other = tslib_1.__rest(props, ["children", "in", "style", "onExit", "onEnter", "timeout"]);
|
|
29
32
|
var theme = (0, foundation_1.useTheme)();
|
|
30
33
|
var nodeRef = (0, react_1.useRef)(null);
|
|
31
34
|
var handlers = (0, utils_1.useNormalizedTransitionProps)(tslib_1.__assign(tslib_1.__assign({}, props), { onEnter: function (node, isAppearing) {
|
|
@@ -51,10 +54,4 @@ var RcZoomInFadeOut = (0, react_1.forwardRef)(function (inProps, ref) {
|
|
|
51
54
|
}));
|
|
52
55
|
});
|
|
53
56
|
exports.RcZoomInFadeOut = RcZoomInFadeOut;
|
|
54
|
-
RcZoomInFadeOut.defaultProps = {
|
|
55
|
-
timeout: {
|
|
56
|
-
enter: Transition_1.duration.enteringScreen,
|
|
57
|
-
exit: Transition_1.duration.enteringScreen,
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
57
|
RcZoomInFadeOut.displayName = 'ZoomInFadeOut';
|
|
@@ -9,7 +9,7 @@ type RcVirtualizedDividerProps = {} & RcDividerProps;
|
|
|
9
9
|
*/
|
|
10
10
|
declare const RcVirtualizedDivider: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
11
11
|
vertical?: boolean | undefined;
|
|
12
|
-
size?: "
|
|
12
|
+
size?: "bold" | "default" | undefined;
|
|
13
13
|
color?: import("../../../foundation").RcPaletteProp | undefined;
|
|
14
14
|
title?: string | undefined;
|
|
15
15
|
titleBgColor?: import("../../../foundation").RcPaletteProp | undefined;
|
|
@@ -20,7 +20,7 @@ interface Hooks {
|
|
|
20
20
|
export declare function buildScroller({ usePublisher, useEmitter, useEmitterValue }: Hooks): React.FunctionComponent<ScrollerProps>;
|
|
21
21
|
export declare function buildWindowScroller({ usePublisher, useEmitter, useEmitterValue }: Hooks): React.FunctionComponent<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
22
22
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
-
}, "
|
|
23
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
24
24
|
'data-test-id'?: string | undefined;
|
|
25
25
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
26
26
|
} & {
|
|
@@ -6648,14 +6648,14 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6648
6648
|
}> | null | undefined>;
|
|
6649
6649
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6650
6650
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6651
|
-
}, "
|
|
6651
|
+
}, "ref" | "style" | "children"> & {
|
|
6652
6652
|
'data-test-id': string;
|
|
6653
6653
|
} & {
|
|
6654
6654
|
context?: unknown;
|
|
6655
6655
|
}> | null | undefined>;
|
|
6656
6656
|
ItemComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6657
6657
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6658
|
-
}, "
|
|
6658
|
+
}, "style" | "children"> & {
|
|
6659
6659
|
'data-index': number;
|
|
6660
6660
|
'data-item-index': number;
|
|
6661
6661
|
'data-item-group-index'?: number | undefined;
|
|
@@ -6666,7 +6666,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6666
6666
|
}> | null | undefined>;
|
|
6667
6667
|
GroupComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6668
6668
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6669
|
-
}, "
|
|
6669
|
+
}, "style" | "children"> & {
|
|
6670
6670
|
'data-index': number;
|
|
6671
6671
|
'data-item-index': number;
|
|
6672
6672
|
'data-known-size': number;
|
|
@@ -6675,7 +6675,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6675
6675
|
}> | null | undefined>;
|
|
6676
6676
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6677
6677
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6678
|
-
}, "
|
|
6678
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
6679
6679
|
'data-test-id'?: string | undefined;
|
|
6680
6680
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
6681
6681
|
} & {
|
|
@@ -6783,14 +6783,14 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6783
6783
|
}> | null | undefined>;
|
|
6784
6784
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6785
6785
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6786
|
-
}, "
|
|
6786
|
+
}, "ref" | "style" | "children"> & {
|
|
6787
6787
|
'data-test-id': string;
|
|
6788
6788
|
} & {
|
|
6789
6789
|
context?: unknown;
|
|
6790
6790
|
}> | null | undefined>;
|
|
6791
6791
|
ItemComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6792
6792
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6793
|
-
}, "
|
|
6793
|
+
}, "style" | "children"> & {
|
|
6794
6794
|
'data-index': number;
|
|
6795
6795
|
'data-item-index': number;
|
|
6796
6796
|
'data-item-group-index'?: number | undefined;
|
|
@@ -6801,7 +6801,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6801
6801
|
}> | null | undefined>;
|
|
6802
6802
|
GroupComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6803
6803
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6804
|
-
}, "
|
|
6804
|
+
}, "style" | "children"> & {
|
|
6805
6805
|
'data-index': number;
|
|
6806
6806
|
'data-item-index': number;
|
|
6807
6807
|
'data-known-size': number;
|
|
@@ -6810,7 +6810,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6810
6810
|
}> | null | undefined>;
|
|
6811
6811
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6812
6812
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6813
|
-
}, "
|
|
6813
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
6814
6814
|
'data-test-id'?: string | undefined;
|
|
6815
6815
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
6816
6816
|
} & {
|
|
@@ -6841,14 +6841,14 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6841
6841
|
}> | null | undefined>;
|
|
6842
6842
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6843
6843
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6844
|
-
}, "
|
|
6844
|
+
}, "ref" | "style" | "children"> & {
|
|
6845
6845
|
'data-test-id': string;
|
|
6846
6846
|
} & {
|
|
6847
6847
|
context?: unknown;
|
|
6848
6848
|
}> | null | undefined>;
|
|
6849
6849
|
ItemComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6850
6850
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6851
|
-
}, "
|
|
6851
|
+
}, "style" | "children"> & {
|
|
6852
6852
|
'data-index': number;
|
|
6853
6853
|
'data-item-index': number;
|
|
6854
6854
|
'data-item-group-index'?: number | undefined;
|
|
@@ -6859,7 +6859,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6859
6859
|
}> | null | undefined>;
|
|
6860
6860
|
GroupComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6861
6861
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6862
|
-
}, "
|
|
6862
|
+
}, "style" | "children"> & {
|
|
6863
6863
|
'data-index': number;
|
|
6864
6864
|
'data-item-index': number;
|
|
6865
6865
|
'data-known-size': number;
|
|
@@ -6868,7 +6868,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
6868
6868
|
}> | null | undefined>;
|
|
6869
6869
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6870
6870
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
6871
|
-
}, "
|
|
6871
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
6872
6872
|
'data-test-id'?: string | undefined;
|
|
6873
6873
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
6874
6874
|
} & {
|
|
@@ -7027,14 +7027,14 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7027
7027
|
}> | null | undefined>;
|
|
7028
7028
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7029
7029
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7030
|
-
}, "
|
|
7030
|
+
}, "ref" | "style" | "children"> & {
|
|
7031
7031
|
'data-test-id': string;
|
|
7032
7032
|
} & {
|
|
7033
7033
|
context?: unknown;
|
|
7034
7034
|
}> | null | undefined>;
|
|
7035
7035
|
ItemComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7036
7036
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7037
|
-
}, "
|
|
7037
|
+
}, "style" | "children"> & {
|
|
7038
7038
|
'data-index': number;
|
|
7039
7039
|
'data-item-index': number;
|
|
7040
7040
|
'data-item-group-index'?: number | undefined;
|
|
@@ -7045,7 +7045,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7045
7045
|
}> | null | undefined>;
|
|
7046
7046
|
GroupComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7047
7047
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7048
|
-
}, "
|
|
7048
|
+
}, "style" | "children"> & {
|
|
7049
7049
|
'data-index': number;
|
|
7050
7050
|
'data-item-index': number;
|
|
7051
7051
|
'data-known-size': number;
|
|
@@ -7054,7 +7054,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7054
7054
|
}> | null | undefined>;
|
|
7055
7055
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7056
7056
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7057
|
-
}, "
|
|
7057
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
7058
7058
|
'data-test-id'?: string | undefined;
|
|
7059
7059
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
7060
7060
|
} & {
|
|
@@ -7161,14 +7161,14 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7161
7161
|
}> | null | undefined>;
|
|
7162
7162
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7163
7163
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7164
|
-
}, "
|
|
7164
|
+
}, "ref" | "style" | "children"> & {
|
|
7165
7165
|
'data-test-id': string;
|
|
7166
7166
|
} & {
|
|
7167
7167
|
context?: unknown;
|
|
7168
7168
|
}> | null | undefined>;
|
|
7169
7169
|
ItemComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7170
7170
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7171
|
-
}, "
|
|
7171
|
+
}, "style" | "children"> & {
|
|
7172
7172
|
'data-index': number;
|
|
7173
7173
|
'data-item-index': number;
|
|
7174
7174
|
'data-item-group-index'?: number | undefined;
|
|
@@ -7179,7 +7179,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7179
7179
|
}> | null | undefined>;
|
|
7180
7180
|
GroupComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7181
7181
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7182
|
-
}, "
|
|
7182
|
+
}, "style" | "children"> & {
|
|
7183
7183
|
'data-index': number;
|
|
7184
7184
|
'data-item-index': number;
|
|
7185
7185
|
'data-known-size': number;
|
|
@@ -7188,7 +7188,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7188
7188
|
}> | null | undefined>;
|
|
7189
7189
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7190
7190
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7191
|
-
}, "
|
|
7191
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
7192
7192
|
'data-test-id'?: string | undefined;
|
|
7193
7193
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
7194
7194
|
} & {
|
|
@@ -7295,14 +7295,14 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7295
7295
|
}> | null | undefined>;
|
|
7296
7296
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7297
7297
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7298
|
-
}, "
|
|
7298
|
+
}, "ref" | "style" | "children"> & {
|
|
7299
7299
|
'data-test-id': string;
|
|
7300
7300
|
} & {
|
|
7301
7301
|
context?: unknown;
|
|
7302
7302
|
}> | null | undefined>;
|
|
7303
7303
|
ItemComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7304
7304
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7305
|
-
}, "
|
|
7305
|
+
}, "style" | "children"> & {
|
|
7306
7306
|
'data-index': number;
|
|
7307
7307
|
'data-item-index': number;
|
|
7308
7308
|
'data-item-group-index'?: number | undefined;
|
|
@@ -7313,7 +7313,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7313
7313
|
}> | null | undefined>;
|
|
7314
7314
|
GroupComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7315
7315
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7316
|
-
}, "
|
|
7316
|
+
}, "style" | "children"> & {
|
|
7317
7317
|
'data-index': number;
|
|
7318
7318
|
'data-item-index': number;
|
|
7319
7319
|
'data-known-size': number;
|
|
@@ -7322,7 +7322,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7322
7322
|
}> | null | undefined>;
|
|
7323
7323
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
7324
7324
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
7325
|
-
}, "
|
|
7325
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
7326
7326
|
'data-test-id'?: string | undefined;
|
|
7327
7327
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
7328
7328
|
} & {
|
|
@@ -347,7 +347,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
347
347
|
}> | null | undefined>;
|
|
348
348
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
349
349
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
350
|
-
}, "
|
|
350
|
+
}, "ref" | "className" | "style" | "children"> & {
|
|
351
351
|
'data-test-id': string;
|
|
352
352
|
} & {
|
|
353
353
|
context?: any;
|
|
@@ -357,7 +357,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
357
357
|
}> | null | undefined>;
|
|
358
358
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
359
359
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
360
|
-
}, "
|
|
360
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
361
361
|
'data-test-id'?: string | undefined;
|
|
362
362
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
363
363
|
} & {
|
|
@@ -432,7 +432,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
432
432
|
}> | null | undefined>;
|
|
433
433
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
434
434
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
435
|
-
}, "
|
|
435
|
+
}, "ref" | "className" | "style" | "children"> & {
|
|
436
436
|
'data-test-id': string;
|
|
437
437
|
} & {
|
|
438
438
|
context?: any;
|
|
@@ -442,7 +442,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
442
442
|
}> | null | undefined>;
|
|
443
443
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
444
444
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
445
|
-
}, "
|
|
445
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
446
446
|
'data-test-id'?: string | undefined;
|
|
447
447
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
448
448
|
} & {
|
|
@@ -468,7 +468,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
468
468
|
}> | null | undefined>;
|
|
469
469
|
ListComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
470
470
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
471
|
-
}, "
|
|
471
|
+
}, "ref" | "className" | "style" | "children"> & {
|
|
472
472
|
'data-test-id': string;
|
|
473
473
|
} & {
|
|
474
474
|
context?: any;
|
|
@@ -478,7 +478,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
478
478
|
}> | null | undefined>;
|
|
479
479
|
ScrollerComponent: u.StatefulStream<"div" | React.ComponentType<Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
480
480
|
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
481
|
-
}, "
|
|
481
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
482
482
|
'data-test-id'?: string | undefined;
|
|
483
483
|
'data-virtuoso-scroller'?: boolean | undefined;
|
|
484
484
|
} & {
|
|
@@ -16,7 +16,7 @@ var styles = {
|
|
|
16
16
|
};
|
|
17
17
|
var RcZoomFrom = forwardRef(function (inProps, ref) {
|
|
18
18
|
var props = useThemeProps({ props: inProps, name: 'RcZoomFrom' });
|
|
19
|
-
var fromRef = props.from, children = props.children, inProp = props.in, style = props.style,
|
|
19
|
+
var fromRef = props.from, children = props.children, inProp = props.in, style = props.style, _a = props.timeout, timeout = _a === void 0 ? { enter: duration.enteringScreen, exit: duration.enteringScreen } : _a, onExit = props.onExit, onEnter = props.onEnter, onExited = props.onExited, onExiting = props.onExiting, onEntering = props.onEntering, other = __rest(props, ["from", "children", "in", "style", "timeout", "onExit", "onEnter", "onExited", "onExiting", "onEntering"]);
|
|
20
20
|
var theme = useTheme();
|
|
21
21
|
var nodeRef = useRef(null);
|
|
22
22
|
var handlers = useNormalizedTransitionProps(__assign(__assign({}, props), { onEnter: function (node, isAppearing) {
|
|
@@ -51,11 +51,5 @@ var RcZoomFrom = forwardRef(function (inProps, ref) {
|
|
|
51
51
|
return React.cloneElement(children, __assign({ style: __assign(__assign(__assign({ visibility: state === 'exited' && !inProp ? 'hidden' : undefined }, style), children.props.style), styles[state]), ref: handleRef }, childProps));
|
|
52
52
|
}));
|
|
53
53
|
});
|
|
54
|
-
RcZoomFrom.defaultProps = {
|
|
55
|
-
timeout: {
|
|
56
|
-
enter: duration.enteringScreen,
|
|
57
|
-
exit: duration.enteringScreen,
|
|
58
|
-
},
|
|
59
|
-
};
|
|
60
54
|
RcZoomFrom.displayName = 'ZoomInFadeOut';
|
|
61
55
|
export { RcZoomFrom };
|
|
@@ -22,7 +22,10 @@ var styles = {
|
|
|
22
22
|
};
|
|
23
23
|
var RcZoomInFadeOut = forwardRef(function (inProps, ref) {
|
|
24
24
|
var props = useThemeProps({ props: inProps, name: 'RcZoomInFadeOut' });
|
|
25
|
-
var children = props.children, inProp = props.in, style = props.style, onExit = props.onExit, onEnter = props.onEnter,
|
|
25
|
+
var children = props.children, inProp = props.in, style = props.style, onExit = props.onExit, onEnter = props.onEnter, _a = props.timeout, timeout = _a === void 0 ? {
|
|
26
|
+
enter: duration.enteringScreen,
|
|
27
|
+
exit: duration.enteringScreen,
|
|
28
|
+
} : _a, other = __rest(props, ["children", "in", "style", "onExit", "onEnter", "timeout"]);
|
|
26
29
|
var theme = useTheme();
|
|
27
30
|
var nodeRef = useRef(null);
|
|
28
31
|
var handlers = useNormalizedTransitionProps(__assign(__assign({}, props), { onEnter: function (node, isAppearing) {
|
|
@@ -47,11 +50,5 @@ var RcZoomInFadeOut = forwardRef(function (inProps, ref) {
|
|
|
47
50
|
return React.cloneElement(children, __assign({ style: __assign(__assign(__assign({ transform: 'scale(0)', opacity: state === 'entering' ? 0 : 1, visibility: state === 'exited' && !inProp ? 'hidden' : undefined }, style), children.props.style), styles[state]), ref: handleRef }, childProps));
|
|
48
51
|
}));
|
|
49
52
|
});
|
|
50
|
-
RcZoomInFadeOut.defaultProps = {
|
|
51
|
-
timeout: {
|
|
52
|
-
enter: duration.enteringScreen,
|
|
53
|
-
exit: duration.enteringScreen,
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
53
|
RcZoomInFadeOut.displayName = 'ZoomInFadeOut';
|
|
57
54
|
export { RcZoomInFadeOut };
|