@ringcentral/juno 3.0.0-alpha.0 → 3.0.0-alpha.10
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/Avatar/styles/StyledAvatarWrapper.d.ts +23 -1
- package/components/Avatar/styles/StyledPresenceWrapper.d.ts +4 -2
- package/components/Avatar/styles/StyledPresenceWrapper.js +2 -2
- package/components/Buttons/Button/Button.d.ts +58 -54
- package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/components/Buttons/IconButton/IconButton.d.ts +63 -59
- package/components/Buttons/IconButton/utils/IconButtonUtils.d.ts +1 -1
- package/components/Buttons/ToggleButton/ToggleButton.d.ts +5 -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 +63 -59
- package/components/Downshift/utils/useDownshift.d.ts +104 -104
- package/components/Downshift/utils/useDownshiftTag.d.ts +64 -64
- package/components/Forms/Checkbox/Checkbox.d.ts +5 -1
- 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/StyledCalendar.d.ts +4 -2
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +65 -60
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +3 -3
- package/components/Forms/Picker/DatePicker/utils/DatePickerUtils.d.ts +1 -1
- package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.d.ts +3 -1
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.d.ts +13 -1
- package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.d.ts +13 -1
- package/components/Forms/Picker/utils/PickerTextField/PickerTextField.d.ts +1 -1
- package/components/Forms/Radio/Radio.d.ts +5 -1
- package/components/Forms/TextField/TextField.d.ts +60 -60
- package/components/Grid/Grid.d.ts +1 -1
- package/components/List/List/List.d.ts +1 -1
- package/components/List/ListItem/ListItem.d.ts +54 -50
- package/components/Menu/MenuItem/MenuItem.d.ts +113 -51
- package/components/Pagination/PaginationItem/PaginationItem.d.ts +2 -2
- package/components/PopupBox/PopupBox.js +3 -1
- 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 +104 -52
- package/components/Tag/Tag.d.ts +1 -1
- package/components/Tooltip/withTooltip/withTooltip.d.ts +3 -2
- package/components/Tooltip/withTooltip/withTooltip.js +6 -3
- package/components/Transitions/ZoomFrom/ZoomFrom.js +1 -7
- package/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +4 -7
- package/components/Typography/Typography.d.ts +5 -1
- package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +28 -28
- package/components/Virtuoso/react-virtuoso/VirtuosoGrid.d.ts +6 -6
- package/es6/components/Avatar/styles/StyledPresenceWrapper.js +2 -2
- package/es6/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +3 -3
- package/es6/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.js +1 -1
- package/es6/components/PopupBox/PopupBox.js +3 -1
- package/es6/components/Tooltip/withTooltip/withTooltip.js +6 -3
- 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/styled-components.js +9 -3
- 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/styled-components.d.ts +14 -4
- package/foundation/styled-components.js +9 -3
- package/foundation/theme/useThemeProps.d.ts +1 -1
- package/foundation/theme/useThemeProps.js +1 -1
- package/package.json +2 -3
|
@@ -4,5 +4,5 @@ import { RcBaseProps } from '../../../foundation';
|
|
|
4
4
|
type RcTableHeadProps = {} & RcBaseProps<ComponentProps<typeof MuiTableHead>>;
|
|
5
5
|
declare const RcTableHead: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcBaseProps<import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/TableHead").TableHeadTypeMap<{}, "thead">> & Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref"> & {
|
|
6
6
|
ref?: ((instance: HTMLTableSectionElement | null) => void) | React.RefObject<HTMLTableSectionElement> | null | undefined;
|
|
7
|
-
}, "
|
|
7
|
+
}, "ref" | "key" | "suppressHydrationWarning" | "color" | "id" | "lang" | "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" | "slot" | "title" | "translate" | "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">>, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
8
8
|
export { RcTableHead, RcTableHeadProps };
|
|
@@ -3,7 +3,59 @@
|
|
|
3
3
|
import MuiTableCell from '@material-ui/core/TableCell';
|
|
4
4
|
import { RcThemedStyled } from '../../../foundation';
|
|
5
5
|
import { RcTablePaginationProps } from '../TablePagination';
|
|
6
|
-
export declare const TablePaginationMenuItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
6
|
+
export declare const TablePaginationMenuItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
7
|
+
title?: NonNullable<import("react").ReactNode> | undefined;
|
|
8
|
+
useRcTooltip?: boolean | undefined;
|
|
9
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
10
|
+
} & Omit<Omit<Omit<{
|
|
11
|
+
size?: "medium" | "large" | undefined;
|
|
12
|
+
component?: import("react").ElementType | undefined;
|
|
13
|
+
type?: import("../../Menu/MenuItem/MenuItem").RcMenuItemType | undefined;
|
|
14
|
+
checked?: boolean | undefined;
|
|
15
|
+
icon?: import("react").ReactNode;
|
|
16
|
+
symbol?: import("../../Icon/Icon").SvgSymbol | undefined;
|
|
17
|
+
avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
18
|
+
secondaryAction?: import("react").ReactNode;
|
|
19
|
+
focusVariant?: "highlight" | "focusRing" | undefined;
|
|
20
|
+
} & import("../../Menu/MenuItem/MenuItem").RcMenuItemClassesType & Pick<import("../../List/ListItem/ListItem").RcListItemProps, "color" | "focused" | "highlighted"> & {
|
|
21
|
+
title?: NonNullable<import("react").ReactNode> | undefined;
|
|
22
|
+
useRcTooltip?: boolean | undefined;
|
|
23
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
24
|
+
} & Omit<{}, "title"> & import("../../../foundation").RcBaseProps<{
|
|
25
|
+
button?: true | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
alignItems?: "center" | "flex-start" | undefined;
|
|
28
|
+
autoFocus?: boolean | undefined;
|
|
29
|
+
button?: boolean | undefined;
|
|
30
|
+
ContainerComponent?: import("react").ElementType<import("react").HTMLAttributes<HTMLDivElement>, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
31
|
+
ContainerProps?: import("react").HTMLAttributes<HTMLDivElement> | undefined;
|
|
32
|
+
dense?: boolean | undefined;
|
|
33
|
+
disabled?: boolean | undefined;
|
|
34
|
+
disableGutters?: boolean | undefined;
|
|
35
|
+
divider?: boolean | undefined;
|
|
36
|
+
focusVisibleClassName?: string | undefined;
|
|
37
|
+
selected?: boolean | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
action?: import("react").Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
40
|
+
buttonRef?: import("react").Ref<unknown> | undefined;
|
|
41
|
+
centerRipple?: boolean | undefined;
|
|
42
|
+
children?: import("react").ReactNode;
|
|
43
|
+
disabled?: boolean | undefined;
|
|
44
|
+
disableRipple?: boolean | undefined;
|
|
45
|
+
disableTouchRipple?: boolean | undefined;
|
|
46
|
+
focusRipple?: boolean | undefined;
|
|
47
|
+
focusVisibleClassName?: string | undefined;
|
|
48
|
+
onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
|
|
49
|
+
tabIndex?: string | number | undefined;
|
|
50
|
+
TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
51
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").ExtendButtonBaseTypeMap<import("@material-ui/core").MenuItemTypeMap<{
|
|
52
|
+
button?: true | undefined;
|
|
53
|
+
}, "li">>> & Pick<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
54
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
55
|
+
}, "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"> & {
|
|
56
|
+
idRef?: import("react").Ref<string> | undefined;
|
|
57
|
+
isSubMenuItem?: boolean | undefined;
|
|
58
|
+
}, "ref"> & import("react").RefAttributes<any>, "ref">, "title"> & import("react").RefAttributes<any>> & import("react").ComponentType<import("../../Tooltip/withTooltip/withTooltip").WithTooltipProps<Omit<Omit<{
|
|
7
59
|
size?: "medium" | "large" | undefined;
|
|
8
60
|
component?: import("react").ElementType | undefined;
|
|
9
61
|
type?: import("../../Menu/MenuItem/MenuItem").RcMenuItemType | undefined;
|
|
@@ -12,7 +64,7 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
12
64
|
symbol?: import("../../Icon/Icon").SvgSymbol | undefined;
|
|
13
65
|
avatar?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
14
66
|
secondaryAction?: import("react").ReactNode;
|
|
15
|
-
focusVariant?: "
|
|
67
|
+
focusVariant?: "highlight" | "focusRing" | undefined;
|
|
16
68
|
} & import("../../Menu/MenuItem/MenuItem").RcMenuItemClassesType & Pick<import("../../List/ListItem/ListItem").RcListItemProps, "color" | "focused" | "highlighted"> & {
|
|
17
69
|
title?: NonNullable<import("react").ReactNode> | undefined;
|
|
18
70
|
useRcTooltip?: boolean | undefined;
|
|
@@ -48,10 +100,10 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
48
100
|
button?: true | undefined;
|
|
49
101
|
}, "li">>> & Pick<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
50
102
|
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
51
|
-
}, "
|
|
103
|
+
}, "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
104
|
idRef?: import("react").Ref<string> | undefined;
|
|
53
105
|
isSubMenuItem?: boolean | undefined;
|
|
54
|
-
}, "ref"> & import("react").RefAttributes<any
|
|
106
|
+
}, "ref"> & import("react").RefAttributes<any>, "ref">>>, import("../../../foundation").RcTheme, {
|
|
55
107
|
component?: import("react").ElementType | undefined;
|
|
56
108
|
type?: import("../../Menu/MenuItem/MenuItem").RcMenuItemType | undefined;
|
|
57
109
|
checked?: boolean | undefined;
|
|
@@ -66,52 +118,14 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
66
118
|
title?: NonNullable<import("react").ReactNode> | undefined;
|
|
67
119
|
useRcTooltip?: boolean | undefined;
|
|
68
120
|
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
72
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
121
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
122
|
+
key?: import("react").Key | null | undefined;
|
|
73
123
|
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
124
|
id?: string | undefined;
|
|
82
125
|
lang?: string | undefined;
|
|
83
|
-
nonce?: string | undefined;
|
|
84
|
-
slot?: string | undefined;
|
|
85
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
86
126
|
style?: import("react").CSSProperties | undefined;
|
|
87
|
-
tabIndex?: string | number | undefined;
|
|
88
|
-
translate?: "yes" | "no" | undefined;
|
|
89
|
-
radioGroup?: string | undefined;
|
|
90
127
|
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;
|
|
128
|
+
tabIndex?: string | number | undefined;
|
|
115
129
|
"aria-activedescendant"?: string | undefined;
|
|
116
130
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
117
131
|
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
@@ -124,17 +138,17 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
124
138
|
"aria-colindextext"?: string | undefined;
|
|
125
139
|
"aria-colspan"?: number | undefined;
|
|
126
140
|
"aria-controls"?: string | undefined;
|
|
127
|
-
"aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" |
|
|
141
|
+
"aria-current"?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location" | undefined;
|
|
128
142
|
"aria-describedby"?: string | undefined;
|
|
129
143
|
"aria-description"?: string | undefined;
|
|
130
144
|
"aria-details"?: string | undefined;
|
|
131
145
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
132
|
-
"aria-dropeffect"?: "link" | "
|
|
146
|
+
"aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
133
147
|
"aria-errormessage"?: string | undefined;
|
|
134
148
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
135
149
|
"aria-flowto"?: string | undefined;
|
|
136
150
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
137
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "
|
|
151
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
138
152
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
139
153
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
140
154
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -165,6 +179,7 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
165
179
|
"aria-valuemin"?: number | undefined;
|
|
166
180
|
"aria-valuenow"?: number | undefined;
|
|
167
181
|
"aria-valuetext"?: string | undefined;
|
|
182
|
+
children?: import("react").ReactNode;
|
|
168
183
|
dangerouslySetInnerHTML?: {
|
|
169
184
|
__html: string | TrustedHTML;
|
|
170
185
|
} | undefined;
|
|
@@ -330,10 +345,47 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
330
345
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
|
|
331
346
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
332
347
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
|
|
348
|
+
slot?: string | undefined;
|
|
349
|
+
translate?: "no" | "yes" | undefined;
|
|
350
|
+
defaultChecked?: boolean | undefined;
|
|
351
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
352
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
353
|
+
accessKey?: string | undefined;
|
|
354
|
+
autoFocus?: boolean | undefined;
|
|
355
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
356
|
+
contextMenu?: string | undefined;
|
|
357
|
+
dir?: string | undefined;
|
|
358
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
359
|
+
hidden?: boolean | undefined;
|
|
360
|
+
nonce?: string | undefined;
|
|
361
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
362
|
+
radioGroup?: string | undefined;
|
|
363
|
+
about?: string | undefined;
|
|
364
|
+
content?: string | undefined;
|
|
365
|
+
datatype?: string | undefined;
|
|
366
|
+
inlist?: any;
|
|
367
|
+
prefix?: string | undefined;
|
|
368
|
+
property?: string | undefined;
|
|
369
|
+
rel?: string | undefined;
|
|
370
|
+
resource?: string | undefined;
|
|
371
|
+
rev?: string | undefined;
|
|
372
|
+
typeof?: string | undefined;
|
|
373
|
+
vocab?: string | undefined;
|
|
374
|
+
autoCapitalize?: string | undefined;
|
|
375
|
+
autoCorrect?: string | undefined;
|
|
376
|
+
autoSave?: string | undefined;
|
|
377
|
+
itemProp?: string | undefined;
|
|
378
|
+
itemScope?: boolean | undefined;
|
|
379
|
+
itemType?: string | undefined;
|
|
380
|
+
itemID?: string | undefined;
|
|
381
|
+
itemRef?: string | undefined;
|
|
382
|
+
results?: number | undefined;
|
|
383
|
+
security?: string | undefined;
|
|
384
|
+
unselectable?: "off" | "on" | undefined;
|
|
385
|
+
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
386
|
+
is?: string | undefined;
|
|
333
387
|
value?: string | number | readonly string[] | undefined;
|
|
334
388
|
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
389
|
disabled?: boolean | undefined;
|
|
338
390
|
action?: import("react").Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
339
391
|
buttonRef?: import("react").Ref<unknown> | undefined;
|
|
@@ -353,7 +405,7 @@ export declare const TablePaginationMenuItem: import("styled-components").Styled
|
|
|
353
405
|
disableGutters?: boolean | undefined;
|
|
354
406
|
size: "medium" | "large";
|
|
355
407
|
button: true;
|
|
356
|
-
focusVariant: "
|
|
357
|
-
}, "symbol" | "
|
|
408
|
+
focusVariant: "highlight" | "focusRing";
|
|
409
|
+
}, "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
410
|
export declare const TablePaginationStyle: RcThemedStyled<RcTablePaginationProps, any>;
|
|
359
411
|
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>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentType } from 'react';
|
|
2
3
|
import { RcTooltipProps } from '../Tooltip';
|
|
3
4
|
type WithTooltipProps<P extends {} = {}> = {
|
|
4
5
|
/** title on list root */
|
|
@@ -13,6 +14,6 @@ type WithTooltipProps<P extends {} = {}> = {
|
|
|
13
14
|
/**
|
|
14
15
|
* Make a component can be use with `RcTooltip` and Tooltip Props
|
|
15
16
|
*/
|
|
16
|
-
declare function withTooltip<
|
|
17
|
+
declare function withTooltip<C extends ComponentType<unknown>>(Component: C): React.ForwardRefExoticComponent<React.PropsWithoutRef<WithTooltipProps<React.ComponentPropsWithoutRef<C> extends object ? React.ComponentPropsWithoutRef<C> : {}>> & React.RefAttributes<React.ElementRef<C>>> & React.ComponentType<WithTooltipProps<React.ComponentPropsWithoutRef<C> extends object ? React.ComponentPropsWithoutRef<C> : {}>>;
|
|
17
18
|
export { withTooltip };
|
|
18
19
|
export type { WithTooltipProps };
|
|
@@ -8,13 +8,16 @@ var Tooltip_1 = require("../Tooltip");
|
|
|
8
8
|
* Make a component can be use with `RcTooltip` and Tooltip Props
|
|
9
9
|
*/
|
|
10
10
|
function withTooltip(Component) {
|
|
11
|
-
|
|
11
|
+
var WithTooltip = (0, react_1.forwardRef)(function (props, ref) {
|
|
12
12
|
var title = props.title, useRcTooltip = props.useRcTooltip, TooltipProps = props.TooltipProps, rest = tslib_1.__rest(props, ["title", "useRcTooltip", "TooltipProps"]);
|
|
13
|
+
var restProps = rest;
|
|
14
|
+
var ComponentWithRef = Component;
|
|
13
15
|
if (title && useRcTooltip) {
|
|
14
16
|
return (react_1.default.createElement(Tooltip_1.RcTooltip, tslib_1.__assign({ title: title }, TooltipProps),
|
|
15
|
-
react_1.default.createElement(
|
|
17
|
+
react_1.default.createElement(ComponentWithRef, tslib_1.__assign({}, restProps, { ref: ref }))));
|
|
16
18
|
}
|
|
17
|
-
return react_1.default.createElement(
|
|
19
|
+
return (react_1.default.createElement(ComponentWithRef, tslib_1.__assign({}, tslib_1.__assign(tslib_1.__assign({}, restProps), { title: title }), { ref: ref })));
|
|
18
20
|
});
|
|
21
|
+
return WithTooltip;
|
|
19
22
|
}
|
|
20
23
|
exports.withTooltip = withTooltip;
|
|
@@ -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';
|
|
@@ -19,6 +19,10 @@ type RcTypographyProps = {
|
|
|
19
19
|
weight?: RcTypographyWeight;
|
|
20
20
|
} & RcBaseProps<ComponentProps<typeof MuiTypography>, 'variant' | 'variantMapping' | 'classes' | 'color' | 'title'> & WithTooltipProps;
|
|
21
21
|
/** @release */
|
|
22
|
-
declare const RcTypography: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
22
|
+
declare const RcTypography: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
23
|
+
title?: NonNullable<React.ReactNode> | undefined;
|
|
24
|
+
useRcTooltip?: boolean | undefined;
|
|
25
|
+
TooltipProps?: Partial<import("../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
26
|
+
} & Omit<Omit<Omit<RcTypographyProps, "ref"> & React.RefAttributes<any>, "ref">, "title"> & React.RefAttributes<any>> & React.ComponentType<WithTooltipProps<Omit<Omit<RcTypographyProps, "ref"> & React.RefAttributes<any>, "ref">>>, import("../../foundation").RcTheme, {}, never>;
|
|
23
27
|
export { RcTypography };
|
|
24
28
|
export type { RcTypographyProps, RcTypographyVariant, RcTypographyWeight };
|
|
@@ -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;
|