@ringcentral/juno 3.0.0-alpha.8 → 3.0.0-alpha.9
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/Accordion/Accordion.d.ts +2 -2
- package/components/Accordion/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/components/Accordion/AccordionSummary/AccordionSummary.d.ts +2 -2
- package/components/Alert/Alert.d.ts +2 -2
- package/components/AppBar/AppBar.d.ts +2 -2
- package/components/Avatar/styles/StyledAvatar.d.ts +3 -1
- package/components/Avatar/styles/StyledAvatarWrapper.d.ts +24 -1
- package/components/Avatar/styles/StyledIconAvatar.d.ts +7 -1
- package/components/Avatar/styles/StyledPresenceWrapper.d.ts +7 -1
- package/components/Backdrop/Backdrop.d.ts +2 -2
- package/components/Badge/Badge.d.ts +2 -2
- package/components/Badge/styles/BadgeStyle.d.ts +1 -1
- package/components/Buttons/Button/Button.d.ts +324 -1
- package/components/Buttons/ButtonBase/ButtonBase.d.ts +1 -1
- package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +15 -2
- package/components/Buttons/IconButton/IconButton.d.ts +386 -1
- package/components/Buttons/IconButton/styles/StyledIconButton.d.ts +1 -1
- package/components/Buttons/IconButtonGroup/IconButtonGroup.d.ts +1 -1
- package/components/Buttons/SplitButton/SplitButton.d.ts +1 -1
- package/components/Buttons/SplitButton/styles/StyledArrowIcon.d.ts +2 -1
- package/components/Buttons/ToggleButton/ToggleButton.d.ts +6 -2
- package/components/Buttons/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/components/Card/Card/Card.d.ts +2 -2
- package/components/Card/CardActionArea/CardActionArea.d.ts +8 -2
- package/components/Card/CardActions/CardActions.d.ts +2 -2
- package/components/Card/CardContent/CardContent.d.ts +6 -2
- package/components/Card/CardHeader/CardHeader.d.ts +22 -2
- package/components/Card/CardHoverActions/CardHoverActions.d.ts +2 -2
- package/components/Card/CardMedia/CardMedia.d.ts +14 -2
- package/components/Card/CardSelectionArea/CardSelectionArea.d.ts +2 -2
- package/components/Chip/Chip.d.ts +8 -2
- package/components/DetachedWindow/styles/DetachedWindowStyle.d.ts +1 -1
- package/components/Dialer/DialPad/DialPad.d.ts +63 -2
- package/components/Dialer/DialPadButton/DialPadButton.d.ts +2 -1
- package/components/Dialer/DialPadButton/styles/StyledDialPadButton.d.ts +1 -1
- package/components/Dialer/DialTextField/DialTextField.d.ts +2 -1
- package/components/Dialog/Dialog.d.ts +2 -2
- package/components/Dialog/DialogActions/DialogActions.d.ts +277 -2
- package/components/Dialog/DialogContent/DialogContent.d.ts +4 -2
- package/components/Dialog/DialogContentText/DialogContentText.d.ts +14 -2
- package/components/Dialog/DialogTitle/DialogTitle.d.ts +4 -2
- package/components/Divider/Divider.d.ts +14 -1
- package/components/DnD/DragDropContext/styles/StyledGlobalDraggable.d.ts +1 -1
- package/components/DnD/DragHandle/DragHandle.d.ts +4 -1
- package/components/DnD/Draggable/Draggable.d.ts +4 -1
- package/components/DnD/Droppable/Droppable.d.ts +2 -1
- package/components/Downshift/SuggestionList/SuggestionList.d.ts +44 -2
- package/components/Downshift/styles/DownshiftStyle.d.ts +356 -2
- package/components/Downshift/styles/StyledPopper.d.ts +11 -1
- package/components/Downshift/styles/StyledTextField.d.ts +8 -1
- package/components/Drawer/Drawer.d.ts +2 -2
- package/components/Forms/Checkbox/Checkbox.d.ts +6 -2
- package/components/Forms/FormControl.d.ts +1 -1
- package/components/Forms/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/components/Forms/FormControlLabel/styles/StyledControl.d.ts +1 -1
- package/components/Forms/FormGroup/FormGroup.d.ts +2 -1
- package/components/Forms/FormHelperText/FormHelperText.d.ts +13 -2
- package/components/Forms/FormHelperText/styles/StyledFormHelperText.d.ts +13 -1
- package/components/Forms/FormLabel.d.ts +2 -1
- package/components/Forms/InputLabel/InputLabel.d.ts +2 -2
- package/components/Forms/InputLabel/styles/StyledInputLabel.d.ts +2 -1
- package/components/Forms/Picker/DatePicker/DatePicker.d.ts +34 -1
- package/components/Forms/Picker/DatePicker/Day.d.ts +1 -1
- package/components/Forms/Picker/DatePicker/styles/StyledCalendar.d.ts +12 -8
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +362 -4
- package/components/Forms/Picker/DatePicker/styles/StyledYear.d.ts +2 -1
- package/components/Forms/Picker/DatePicker/styles/StyledYears.d.ts +5 -1
- package/components/Forms/Picker/TimePicker/NumberPicker.d.ts +30 -1
- package/components/Forms/Picker/TimePicker/ToggleText.d.ts +17 -1
- package/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.d.ts +1 -1
- package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.d.ts +4 -1
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.d.ts +14 -1
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionView.d.ts +2 -1
- package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.d.ts +14 -1
- package/components/Forms/Picker/styles/PickerBaseIconButton.d.ts +1 -1
- package/components/Forms/Picker/styles/StyledPickerTextField.d.ts +3 -1
- package/components/Forms/Picker/styles/StyledPopover.d.ts +2 -1
- package/components/Forms/Radio/Radio.d.ts +6 -2
- package/components/Forms/RadioGroup/RadioGroup.d.ts +2 -2
- package/components/Forms/Select/PlainSelect/PlainSelect.d.ts +2 -2
- package/components/Forms/Select/Select.d.ts +2 -1
- package/components/Forms/Select/styles/SelectArrowDownIcon.d.ts +2 -2
- package/components/Forms/Slider/Slider.d.ts +2 -2
- package/components/Forms/Switch/Switch.d.ts +2 -2
- package/components/Forms/TextField/TextField.d.ts +358 -1
- package/components/Forms/TextField/styles/ClearIconButton.d.ts +10 -1
- package/components/Forms/TextField/styles/TextFieldStyle.d.ts +1 -1
- package/components/Forms/Textarea/Textarea.d.ts +2 -1
- package/components/Grid/Grid.d.ts +21 -2
- package/components/Icon/Icon.d.ts +24 -1
- package/components/Icon/styles/iconSvg.d.ts +2 -1
- package/components/InlineEditable/InlineEditable.d.ts +67 -2
- package/components/InlineEditable/styles/textFieldStyle.d.ts +2 -2
- package/components/Link/Link.d.ts +23 -1
- package/components/List/List/List.d.ts +8 -2
- package/components/List/ListItem/ListItem.d.ts +325 -1
- package/components/List/ListItem/styles/ListItemStyle.d.ts +1 -1
- package/components/List/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/components/List/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/components/List/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/components/List/ListItemText/ListItemText.d.ts +2 -2
- package/components/List/ListSubheader/ListSubheader.d.ts +1 -1
- package/components/Loading/styles/StyledLoadingPage.d.ts +1 -1
- package/components/Menu/Menu/Menu.d.ts +2 -2
- package/components/Menu/MenuItem/MenuItem.d.ts +438 -2
- package/components/Menu/MenuItem/styles/MenuItemStyle.d.ts +14 -1
- package/components/Menu/MenuItemActionWrapper/MenuItemActionWrapper.d.ts +1 -1
- package/components/Menu/MenuItemActionWrapper/styles/StyledMenuItemActionWrapper.d.ts +1 -1
- package/components/Menu/MenuItemSubAction/MenuItemSubAction.d.ts +1 -1
- package/components/Menu/MenuItemSubAction/styles/StyledMenuItemSubAction.d.ts +2 -1
- package/components/Menu/MenuList/MenuList.d.ts +2 -2
- package/components/Menu/MenuList/styles/MenuListStyle.d.ts +1 -1
- package/components/Menu/MenuOption/styles/StyledMenuOption.d.ts +3 -1
- package/components/Menu/SubMenu/SubMenu.d.ts +2 -2
- package/components/Menu/SubMenu/styles/SubMenuStyle.d.ts +3 -2
- package/components/Pagination/Pagination/Pagination.d.ts +2 -2
- package/components/Pagination/PaginationItem/PaginationItem.d.ts +19 -2
- package/components/Paper/Paper.d.ts +2 -2
- package/components/Popover/Popover.d.ts +2 -2
- package/components/Popper/Popper.d.ts +2 -2
- package/components/PopupBox/PopupBox.d.ts +1 -1
- package/components/Presence/Presence.d.ts +10 -1
- package/components/Presence/styles/StyledPresence.d.ts +3 -1
- package/components/Progress/CircularProgress/CircularProgress.d.ts +2 -2
- package/components/Progress/LinearProgress/LinearProgress.d.ts +2 -2
- package/components/Progress/styles/StyledCircularProgress.d.ts +2 -1
- package/components/Rating/Rating.d.ts +2 -2
- package/components/Snackbar/Snackbar.d.ts +2 -2
- package/components/Snackbar/SnackbarAction/SnackbarAction.d.ts +2 -2
- package/components/Snackbar/SnackbarContent/SnackbarContent.d.ts +2 -2
- package/components/Stepper/Step/Step.d.ts +2 -2
- package/components/Stepper/StepButton/StepButton.d.ts +2 -2
- package/components/Stepper/StepConnector/StepConnector.d.ts +2 -2
- package/components/Stepper/StepContent/StepContent.d.ts +2 -2
- package/components/Stepper/StepIcon/StepIcon.d.ts +1 -1
- package/components/Stepper/StepIcon/styles/StyledCircleIcon.d.ts +2 -2
- package/components/Stepper/StepLabel/StepLabel.d.ts +2 -2
- package/components/Stepper/Stepper.d.ts +2 -2
- package/components/Table/Table.d.ts +2 -2
- package/components/Table/TableBody/TableBody.d.ts +4 -2
- package/components/Table/TableCell/TableCell.d.ts +294 -2
- package/components/Table/TableContainer/TableContainer.d.ts +2 -2
- package/components/Table/TableHead/TableHead.d.ts +4 -2
- package/components/Table/TableRow/TableRow.d.ts +2 -2
- package/components/TablePagination/TablePagination.d.ts +2 -2
- package/components/TablePagination/styles/TablePaginationStyle.d.ts +408 -2
- package/components/Tabs/Tab/Tab.d.ts +2 -2
- package/components/Tabs/TabList/TabList.d.ts +7 -1
- package/components/Tabs/TabPanel/TabPanel.d.ts +2 -2
- package/components/Tabs/Tabs/MoreMenuTab/MoreMenuTab.d.ts +1 -1
- package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabs.d.ts +2 -1
- package/components/Tabs/Tabs/Tabs.d.ts +2 -2
- package/components/Tag/Tag.d.ts +14 -1
- package/components/Text/Text.d.ts +2 -1
- package/components/Thumbnail/Thumbnail.d.ts +13 -2
- package/components/Thumbnail/styles/StyledThumbnail.d.ts +8 -1
- package/components/Toolbar/Toolbar.d.ts +2 -1
- package/components/Tooltip/Tooltip.d.ts +2 -2
- package/components/Tooltip/styles/Mask.d.ts +1 -1
- package/components/Tooltip/withTooltip/withTooltip.d.ts +3 -2
- package/components/Tooltip/withTooltip/withTooltip.js +6 -3
- package/components/Typography/Typography.d.ts +6 -2
- package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +9 -1
- package/components/VirtualizedMenu/VirtualizedMenu.d.ts +2 -1
- package/components/VirtualizedMenu/VirtualizedMenuList.d.ts +1 -1
- package/components/VirtualizedMenu/styles/StyledMenuPadding.d.ts +6 -1
- package/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/es6/components/Tooltip/withTooltip/withTooltip.js +6 -3
- package/es6/foundation/styled-components.js +9 -4
- package/foundation/hooks/useFocusInside/useFocusInside.d.ts +1 -1
- package/foundation/styled-components.d.ts +15 -4
- package/foundation/styled-components.js +9 -4
- package/foundation/styles/GlobalScrollBarStyle/GlobalScrollBarStyle.d.ts +1 -1
- package/foundation/styles/ellipsis.d.ts +1 -1
- package/foundation/styles/fakeBorder.d.ts +1 -1
- package/foundation/styles/flexCenter.d.ts +1 -1
- package/foundation/styles/flexWidth.d.ts +1 -1
- package/foundation/styles/focusRing.d.ts +1 -1
- package/foundation/styles/focusVisible.d.ts +2 -2
- package/foundation/styles/lineClamp.d.ts +1 -1
- package/foundation/styles/nonStyleButton.d.ts +1 -1
- package/foundation/styles/rippleEnter.d.ts +1 -1
- package/foundation/styles/rippleStyle.d.ts +1 -1
- package/foundation/styles/typography.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps, ElementType, ReactElement, ReactNode } from 'react';
|
|
1
|
+
import React, { ComponentProps, ElementType, ReactElement, ReactNode, Ref } from 'react';
|
|
2
2
|
import MuiMenuItem from '@material-ui/core/MenuItem';
|
|
3
3
|
import { Classes, RcBaseProps, RcBaseSize, RcClassesProps, RcBaseFocusVariant } from '../../../foundation';
|
|
4
4
|
import { RcIconProps } from '../../Icon';
|
|
@@ -7,6 +7,12 @@ import { WithTooltipProps } from '../../Tooltip';
|
|
|
7
7
|
type RcMenuItemSize = RcBaseSize<'large' | 'medium'>;
|
|
8
8
|
type RcMenuItemType = 'checked' | 'selected';
|
|
9
9
|
type RcMenuItemClassesType = RcClassesProps<Classes<ComponentProps<typeof MuiMenuItem>> | 'checked' | 'unchecked' | 'focusVisible'>;
|
|
10
|
+
type RcMenuItemInnerProps = {
|
|
11
|
+
/** id ref, can get menu item id */
|
|
12
|
+
idRef?: Ref<string>;
|
|
13
|
+
/** for subMenu component, use prevent click */
|
|
14
|
+
isSubMenuItem?: boolean;
|
|
15
|
+
};
|
|
10
16
|
type RcMenuItemProps = {
|
|
11
17
|
/** MenuItem size */
|
|
12
18
|
size?: RcMenuItemSize;
|
|
@@ -31,6 +37,436 @@ type RcMenuItemProps = {
|
|
|
31
37
|
*/
|
|
32
38
|
focusVariant?: RcBaseFocusVariant<'highlight' | 'focusRing'>;
|
|
33
39
|
} & RcMenuItemClassesType & Pick<RcListItemProps, 'color' | 'highlighted' | 'focused'> & WithTooltipProps & RcBaseProps<ComponentProps<typeof MuiMenuItem>, 'classes' | 'title'>;
|
|
34
|
-
declare const RcMenuItem:
|
|
40
|
+
declare const RcMenuItem: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
41
|
+
title?: NonNullable<React.ReactNode> | undefined;
|
|
42
|
+
useRcTooltip?: boolean | undefined;
|
|
43
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
44
|
+
} & Omit<Omit<Omit<{
|
|
45
|
+
/** MenuItem size */
|
|
46
|
+
size?: "medium" | "large" | undefined;
|
|
47
|
+
/** The component used for the root node. Either a string to use a HTML element or a component. */
|
|
48
|
+
component?: React.ElementType | undefined;
|
|
49
|
+
/** checked for that should render checked icon */
|
|
50
|
+
type?: RcMenuItemType | undefined;
|
|
51
|
+
/** if type to be `checked`, the checked prop for that should render checked icon */
|
|
52
|
+
checked?: boolean | undefined;
|
|
53
|
+
/** MenuItem with icon, can use `RcListItemIcon` */
|
|
54
|
+
icon?: ReactNode;
|
|
55
|
+
/** pass to the icon, can use RcIcon with symbol prop */
|
|
56
|
+
symbol?: RcIconProps['symbol'];
|
|
57
|
+
/** MenuItem with avatar, can use ListItemAvatar */
|
|
58
|
+
avatar?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
59
|
+
/** MenuItem with subAction, can use ListItemSecondaryAction */
|
|
60
|
+
secondaryAction?: ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* Set focus style for component.
|
|
63
|
+
*
|
|
64
|
+
* @default 'highlight'
|
|
65
|
+
*/
|
|
66
|
+
focusVariant?: "highlight" | "focusRing" | undefined;
|
|
67
|
+
} & RcMenuItemClassesType & Pick<RcListItemProps, "color" | "focused" | "highlighted"> & {
|
|
68
|
+
title?: NonNullable<React.ReactNode> | undefined;
|
|
69
|
+
useRcTooltip?: boolean | undefined;
|
|
70
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
71
|
+
} & Omit<{}, "title"> & RcBaseProps<{
|
|
72
|
+
button?: true | undefined;
|
|
73
|
+
} & {
|
|
74
|
+
alignItems?: "center" | "flex-start" | undefined;
|
|
75
|
+
autoFocus?: boolean | undefined;
|
|
76
|
+
button?: boolean | undefined;
|
|
77
|
+
ContainerComponent?: React.ElementType<React.HTMLAttributes<HTMLDivElement>, keyof React.JSX.IntrinsicElements> | undefined;
|
|
78
|
+
ContainerProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
|
|
79
|
+
dense?: boolean | undefined;
|
|
80
|
+
disabled?: boolean | undefined;
|
|
81
|
+
disableGutters?: boolean | undefined;
|
|
82
|
+
divider?: boolean | undefined;
|
|
83
|
+
focusVisibleClassName?: string | undefined;
|
|
84
|
+
selected?: boolean | undefined;
|
|
85
|
+
} & {
|
|
86
|
+
action?: React.Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
87
|
+
buttonRef?: React.Ref<unknown> | undefined;
|
|
88
|
+
centerRipple?: boolean | undefined;
|
|
89
|
+
children?: React.ReactNode;
|
|
90
|
+
disabled?: boolean | undefined;
|
|
91
|
+
disableRipple?: boolean | undefined;
|
|
92
|
+
disableTouchRipple?: boolean | undefined;
|
|
93
|
+
focusRipple?: boolean | undefined;
|
|
94
|
+
focusVisibleClassName?: string | undefined;
|
|
95
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
96
|
+
tabIndex?: string | number | undefined;
|
|
97
|
+
TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
98
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").ExtendButtonBaseTypeMap<import("@material-ui/core/MenuItem").MenuItemTypeMap<{
|
|
99
|
+
button?: true | undefined;
|
|
100
|
+
}, "li">>> & Pick<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
101
|
+
ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
|
|
102
|
+
}, "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"> & RcMenuItemInnerProps, "ref"> & React.RefAttributes<any>, "ref">, "title"> & React.RefAttributes<any>> & React.ComponentType<WithTooltipProps<Omit<Omit<{
|
|
103
|
+
/** MenuItem size */
|
|
104
|
+
size?: "medium" | "large" | undefined;
|
|
105
|
+
/** The component used for the root node. Either a string to use a HTML element or a component. */
|
|
106
|
+
component?: React.ElementType | undefined;
|
|
107
|
+
/** checked for that should render checked icon */
|
|
108
|
+
type?: RcMenuItemType | undefined;
|
|
109
|
+
/** if type to be `checked`, the checked prop for that should render checked icon */
|
|
110
|
+
checked?: boolean | undefined;
|
|
111
|
+
/** MenuItem with icon, can use `RcListItemIcon` */
|
|
112
|
+
icon?: ReactNode;
|
|
113
|
+
/** pass to the icon, can use RcIcon with symbol prop */
|
|
114
|
+
symbol?: RcIconProps['symbol'];
|
|
115
|
+
/** MenuItem with avatar, can use ListItemAvatar */
|
|
116
|
+
avatar?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
117
|
+
/** MenuItem with subAction, can use ListItemSecondaryAction */
|
|
118
|
+
secondaryAction?: ReactNode;
|
|
119
|
+
/**
|
|
120
|
+
* Set focus style for component.
|
|
121
|
+
*
|
|
122
|
+
* @default 'highlight'
|
|
123
|
+
*/
|
|
124
|
+
focusVariant?: "highlight" | "focusRing" | undefined;
|
|
125
|
+
} & RcMenuItemClassesType & Pick<RcListItemProps, "color" | "focused" | "highlighted"> & {
|
|
126
|
+
title?: NonNullable<React.ReactNode> | undefined;
|
|
127
|
+
useRcTooltip?: boolean | undefined;
|
|
128
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
129
|
+
} & Omit<{}, "title"> & RcBaseProps<{
|
|
130
|
+
button?: true | undefined;
|
|
131
|
+
} & {
|
|
132
|
+
alignItems?: "center" | "flex-start" | undefined;
|
|
133
|
+
autoFocus?: boolean | undefined;
|
|
134
|
+
button?: boolean | undefined;
|
|
135
|
+
ContainerComponent?: React.ElementType<React.HTMLAttributes<HTMLDivElement>, keyof React.JSX.IntrinsicElements> | undefined;
|
|
136
|
+
ContainerProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
|
|
137
|
+
dense?: boolean | undefined;
|
|
138
|
+
disabled?: boolean | undefined;
|
|
139
|
+
disableGutters?: boolean | undefined;
|
|
140
|
+
divider?: boolean | undefined;
|
|
141
|
+
focusVisibleClassName?: string | undefined;
|
|
142
|
+
selected?: boolean | undefined;
|
|
143
|
+
} & {
|
|
144
|
+
action?: React.Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
145
|
+
buttonRef?: React.Ref<unknown> | undefined;
|
|
146
|
+
centerRipple?: boolean | undefined;
|
|
147
|
+
children?: React.ReactNode;
|
|
148
|
+
disabled?: boolean | undefined;
|
|
149
|
+
disableRipple?: boolean | undefined;
|
|
150
|
+
disableTouchRipple?: boolean | undefined;
|
|
151
|
+
focusRipple?: boolean | undefined;
|
|
152
|
+
focusVisibleClassName?: string | undefined;
|
|
153
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
154
|
+
tabIndex?: string | number | undefined;
|
|
155
|
+
TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
156
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").ExtendButtonBaseTypeMap<import("@material-ui/core/MenuItem").MenuItemTypeMap<{
|
|
157
|
+
button?: true | undefined;
|
|
158
|
+
}, "li">>> & Pick<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
159
|
+
ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
|
|
160
|
+
}, "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"> & RcMenuItemInnerProps, "ref"> & React.RefAttributes<any>, "ref">>>, import("../../../foundation").RcTheme, {
|
|
161
|
+
/** The component used for the root node. Either a string to use a HTML element or a component. */
|
|
162
|
+
component?: React.ElementType | undefined;
|
|
163
|
+
/** checked for that should render checked icon */
|
|
164
|
+
type?: RcMenuItemType | undefined;
|
|
165
|
+
/** if type to be `checked`, the checked prop for that should render checked icon */
|
|
166
|
+
checked?: boolean | undefined;
|
|
167
|
+
/** MenuItem with icon, can use `RcListItemIcon` */
|
|
168
|
+
icon?: ReactNode;
|
|
169
|
+
/** pass to the icon, can use RcIcon with symbol prop */
|
|
170
|
+
symbol?: RcIconProps['symbol'];
|
|
171
|
+
/** MenuItem with avatar, can use ListItemAvatar */
|
|
172
|
+
avatar?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
173
|
+
/** MenuItem with subAction, can use ListItemSecondaryAction */
|
|
174
|
+
secondaryAction?: ReactNode;
|
|
175
|
+
classes?: Partial<import("@material-ui/styles").ClassNameMap<"focusVisible" | "checked" | import("@material-ui/core/MenuItem").MenuItemClassKey | "unchecked">> | undefined;
|
|
176
|
+
color?: ((import("../../../foundation").RcPaletteProp & string) & string) | undefined;
|
|
177
|
+
focused?: boolean | undefined;
|
|
178
|
+
highlighted?: boolean | undefined;
|
|
179
|
+
title?: NonNullable<React.ReactNode> | undefined;
|
|
180
|
+
useRcTooltip?: boolean | undefined;
|
|
181
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
182
|
+
ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
|
|
183
|
+
key?: React.Key | null | undefined;
|
|
184
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
185
|
+
id?: string | undefined;
|
|
186
|
+
lang?: string | undefined;
|
|
187
|
+
style?: React.CSSProperties | undefined;
|
|
188
|
+
role?: React.AriaRole | undefined;
|
|
189
|
+
tabIndex?: string | number | undefined;
|
|
190
|
+
"aria-activedescendant"?: string | undefined;
|
|
191
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
192
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
193
|
+
"aria-braillelabel"?: string | undefined;
|
|
194
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
195
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
196
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
197
|
+
"aria-colcount"?: number | undefined;
|
|
198
|
+
"aria-colindex"?: number | undefined;
|
|
199
|
+
"aria-colindextext"?: string | undefined;
|
|
200
|
+
"aria-colspan"?: number | undefined;
|
|
201
|
+
"aria-controls"?: string | undefined;
|
|
202
|
+
"aria-current"?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location" | undefined;
|
|
203
|
+
"aria-describedby"?: string | undefined;
|
|
204
|
+
"aria-description"?: string | undefined;
|
|
205
|
+
"aria-details"?: string | undefined;
|
|
206
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
207
|
+
"aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
208
|
+
"aria-errormessage"?: string | undefined;
|
|
209
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
210
|
+
"aria-flowto"?: string | undefined;
|
|
211
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
212
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
213
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
214
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
215
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
216
|
+
"aria-label"?: string | undefined;
|
|
217
|
+
"aria-labelledby"?: string | undefined;
|
|
218
|
+
"aria-level"?: number | undefined;
|
|
219
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
220
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
221
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
222
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
223
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
224
|
+
"aria-owns"?: string | undefined;
|
|
225
|
+
"aria-placeholder"?: string | undefined;
|
|
226
|
+
"aria-posinset"?: number | undefined;
|
|
227
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
228
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
229
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
230
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
231
|
+
"aria-roledescription"?: string | undefined;
|
|
232
|
+
"aria-rowcount"?: number | undefined;
|
|
233
|
+
"aria-rowindex"?: number | undefined;
|
|
234
|
+
"aria-rowindextext"?: string | undefined;
|
|
235
|
+
"aria-rowspan"?: number | undefined;
|
|
236
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
237
|
+
"aria-setsize"?: number | undefined;
|
|
238
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
239
|
+
"aria-valuemax"?: number | undefined;
|
|
240
|
+
"aria-valuemin"?: number | undefined;
|
|
241
|
+
"aria-valuenow"?: number | undefined;
|
|
242
|
+
"aria-valuetext"?: string | undefined;
|
|
243
|
+
children?: React.ReactNode;
|
|
244
|
+
dangerouslySetInnerHTML?: {
|
|
245
|
+
__html: string | TrustedHTML;
|
|
246
|
+
} | undefined;
|
|
247
|
+
onCopy?: React.ClipboardEventHandler<HTMLLIElement> | undefined;
|
|
248
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLLIElement> | undefined;
|
|
249
|
+
onCut?: React.ClipboardEventHandler<HTMLLIElement> | undefined;
|
|
250
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLLIElement> | undefined;
|
|
251
|
+
onPaste?: React.ClipboardEventHandler<HTMLLIElement> | undefined;
|
|
252
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLLIElement> | undefined;
|
|
253
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLLIElement> | undefined;
|
|
254
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLLIElement> | undefined;
|
|
255
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLLIElement> | undefined;
|
|
256
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLLIElement> | undefined;
|
|
257
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLLIElement> | undefined;
|
|
258
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLLIElement> | undefined;
|
|
259
|
+
onFocus?: React.FocusEventHandler<HTMLLIElement> | undefined;
|
|
260
|
+
onFocusCapture?: React.FocusEventHandler<HTMLLIElement> | undefined;
|
|
261
|
+
onBlur?: React.FocusEventHandler<HTMLLIElement> | undefined;
|
|
262
|
+
onBlurCapture?: React.FocusEventHandler<HTMLLIElement> | undefined;
|
|
263
|
+
onChange?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
264
|
+
onChangeCapture?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
265
|
+
onBeforeInput?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
266
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
267
|
+
onInput?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
268
|
+
onInputCapture?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
269
|
+
onReset?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
270
|
+
onResetCapture?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
271
|
+
onSubmit?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
272
|
+
onSubmitCapture?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
273
|
+
onInvalid?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
274
|
+
onInvalidCapture?: React.FormEventHandler<HTMLLIElement> | undefined;
|
|
275
|
+
onLoad?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
276
|
+
onLoadCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
277
|
+
onError?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
278
|
+
onErrorCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
279
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLLIElement> | undefined;
|
|
280
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLLIElement> | undefined;
|
|
281
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLLIElement> | undefined;
|
|
282
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLLIElement> | undefined;
|
|
283
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLLIElement> | undefined;
|
|
284
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLLIElement> | undefined;
|
|
285
|
+
onAbort?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
286
|
+
onAbortCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
287
|
+
onCanPlay?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
288
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
289
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
290
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
291
|
+
onDurationChange?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
292
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
293
|
+
onEmptied?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
294
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
295
|
+
onEncrypted?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
296
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
297
|
+
onEnded?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
298
|
+
onEndedCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
299
|
+
onLoadedData?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
300
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
301
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
302
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
303
|
+
onLoadStart?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
304
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
305
|
+
onPause?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
306
|
+
onPauseCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
307
|
+
onPlay?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
308
|
+
onPlayCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
309
|
+
onPlaying?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
310
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
311
|
+
onProgress?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
312
|
+
onProgressCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
313
|
+
onRateChange?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
314
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
315
|
+
onResize?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
316
|
+
onResizeCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
317
|
+
onSeeked?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
318
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
319
|
+
onSeeking?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
320
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
321
|
+
onStalled?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
322
|
+
onStalledCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
323
|
+
onSuspend?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
324
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
325
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
326
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
327
|
+
onVolumeChange?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
328
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
329
|
+
onWaiting?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
330
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
331
|
+
onAuxClick?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
332
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
333
|
+
onClick?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
334
|
+
onClickCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
335
|
+
onContextMenu?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
336
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
337
|
+
onDoubleClick?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
338
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
339
|
+
onDrag?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
340
|
+
onDragCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
341
|
+
onDragEnd?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
342
|
+
onDragEndCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
343
|
+
onDragEnter?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
344
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
345
|
+
onDragExit?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
346
|
+
onDragExitCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
347
|
+
onDragLeave?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
348
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
349
|
+
onDragOver?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
350
|
+
onDragOverCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
351
|
+
onDragStart?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
352
|
+
onDragStartCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
353
|
+
onDrop?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
354
|
+
onDropCapture?: React.DragEventHandler<HTMLLIElement> | undefined;
|
|
355
|
+
onMouseDown?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
356
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
357
|
+
onMouseEnter?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
358
|
+
onMouseLeave?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
359
|
+
onMouseMove?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
360
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
361
|
+
onMouseOut?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
362
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
363
|
+
onMouseOver?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
364
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
365
|
+
onMouseUp?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
366
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLLIElement> | undefined;
|
|
367
|
+
onSelect?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
368
|
+
onSelectCapture?: React.ReactEventHandler<HTMLLIElement> | undefined;
|
|
369
|
+
onTouchCancel?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
370
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
371
|
+
onTouchEnd?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
372
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
373
|
+
onTouchMove?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
374
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
375
|
+
onTouchStart?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
376
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLLIElement> | undefined;
|
|
377
|
+
onPointerDown?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
378
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
379
|
+
onPointerMove?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
380
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
381
|
+
onPointerUp?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
382
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
383
|
+
onPointerCancel?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
384
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
385
|
+
onPointerEnter?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
386
|
+
onPointerEnterCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
387
|
+
onPointerLeave?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
388
|
+
onPointerLeaveCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
389
|
+
onPointerOver?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
390
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
391
|
+
onPointerOut?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
392
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
393
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
394
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
395
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
396
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLLIElement> | undefined;
|
|
397
|
+
onScroll?: React.UIEventHandler<HTMLLIElement> | undefined;
|
|
398
|
+
onScrollCapture?: React.UIEventHandler<HTMLLIElement> | undefined;
|
|
399
|
+
onWheel?: React.WheelEventHandler<HTMLLIElement> | undefined;
|
|
400
|
+
onWheelCapture?: React.WheelEventHandler<HTMLLIElement> | undefined;
|
|
401
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLLIElement> | undefined;
|
|
402
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLLIElement> | undefined;
|
|
403
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLLIElement> | undefined;
|
|
404
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLLIElement> | undefined;
|
|
405
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLLIElement> | undefined;
|
|
406
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLLIElement> | undefined;
|
|
407
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLLIElement> | undefined;
|
|
408
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLLIElement> | undefined;
|
|
409
|
+
slot?: string | undefined;
|
|
410
|
+
translate?: "no" | "yes" | undefined;
|
|
411
|
+
defaultChecked?: boolean | undefined;
|
|
412
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
413
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
414
|
+
accessKey?: string | undefined;
|
|
415
|
+
autoFocus?: boolean | undefined;
|
|
416
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
417
|
+
contextMenu?: string | undefined;
|
|
418
|
+
dir?: string | undefined;
|
|
419
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
420
|
+
hidden?: boolean | undefined;
|
|
421
|
+
nonce?: string | undefined;
|
|
422
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
423
|
+
radioGroup?: string | undefined;
|
|
424
|
+
about?: string | undefined;
|
|
425
|
+
content?: string | undefined;
|
|
426
|
+
datatype?: string | undefined;
|
|
427
|
+
inlist?: any;
|
|
428
|
+
prefix?: string | undefined;
|
|
429
|
+
property?: string | undefined;
|
|
430
|
+
rel?: string | undefined;
|
|
431
|
+
resource?: string | undefined;
|
|
432
|
+
rev?: string | undefined;
|
|
433
|
+
typeof?: string | undefined;
|
|
434
|
+
vocab?: string | undefined;
|
|
435
|
+
autoCapitalize?: string | undefined;
|
|
436
|
+
autoCorrect?: string | undefined;
|
|
437
|
+
autoSave?: string | undefined;
|
|
438
|
+
itemProp?: string | undefined;
|
|
439
|
+
itemScope?: boolean | undefined;
|
|
440
|
+
itemType?: string | undefined;
|
|
441
|
+
itemID?: string | undefined;
|
|
442
|
+
itemRef?: string | undefined;
|
|
443
|
+
results?: number | undefined;
|
|
444
|
+
security?: string | undefined;
|
|
445
|
+
unselectable?: "off" | "on" | undefined;
|
|
446
|
+
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
447
|
+
is?: string | undefined;
|
|
448
|
+
value?: string | number | readonly string[] | undefined;
|
|
449
|
+
innerRef?: React.Ref<any> | undefined;
|
|
450
|
+
disabled?: boolean | undefined;
|
|
451
|
+
action?: React.Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
452
|
+
buttonRef?: React.Ref<unknown> | undefined;
|
|
453
|
+
centerRipple?: boolean | undefined;
|
|
454
|
+
disableRipple?: boolean | undefined;
|
|
455
|
+
disableTouchRipple?: boolean | undefined;
|
|
456
|
+
focusRipple?: boolean | undefined;
|
|
457
|
+
focusVisibleClassName?: string | undefined;
|
|
458
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
459
|
+
TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
460
|
+
divider?: boolean | undefined;
|
|
461
|
+
selected?: boolean | undefined;
|
|
462
|
+
dense?: boolean | undefined;
|
|
463
|
+
alignItems?: "center" | "flex-start" | undefined;
|
|
464
|
+
ContainerComponent?: React.ElementType<React.HTMLAttributes<HTMLDivElement>, keyof React.JSX.IntrinsicElements> | undefined;
|
|
465
|
+
ContainerProps?: React.HTMLAttributes<HTMLDivElement> | undefined;
|
|
466
|
+
disableGutters?: boolean | undefined;
|
|
467
|
+
size: "medium" | "large";
|
|
468
|
+
button: true;
|
|
469
|
+
focusVariant: "highlight" | "focusRing";
|
|
470
|
+
}, "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">;
|
|
35
471
|
export { RcMenuItem };
|
|
36
472
|
export type { RcMenuItemClassesType, RcMenuItemProps, RcMenuItemSize, RcMenuItemType, };
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { RcThemedStyled } from '../../../../foundation';
|
|
2
3
|
import { RcMenuItemProps } from '../MenuItem';
|
|
3
|
-
export declare const StyledCheckIcon:
|
|
4
|
+
export declare const StyledCheckIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
|
|
5
|
+
symbol?: import("../../../Icon/Icon").SvgSymbol | undefined;
|
|
6
|
+
loading?: boolean | undefined;
|
|
7
|
+
CircularProgressProps?: import("../../../Progress/CircularProgress/CircularProgress").RcCircularProgressProps | undefined;
|
|
8
|
+
color?: import("../../../../foundation").RcPaletteProp | undefined;
|
|
9
|
+
size?: "small" | "inherit" | "xsmall" | "medium" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | undefined;
|
|
10
|
+
loadingSize?: string | number | undefined;
|
|
11
|
+
useLoading?: boolean | undefined;
|
|
12
|
+
icon?: string | undefined;
|
|
13
|
+
desc?: string | undefined;
|
|
14
|
+
iconColor?: import("../../../../foundation").RcPaletteProp | undefined;
|
|
15
|
+
iconSize?: import("../../../Icon").IconSize | undefined;
|
|
16
|
+
} & import("../../../../foundation").RcBaseProps<import("react").HTMLAttributes<HTMLSpanElement>, "color"> & import("react").RefAttributes<any>>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
4
17
|
export declare const MenuItemStyle: RcThemedStyled<RcMenuItemProps, any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const StyledMenuItemActionWrapper:
|
|
1
|
+
declare const StyledMenuItemActionWrapper: import("styled-components").StyledComponent<"div", import("../../../../foundation").RcTheme, {}, never>;
|
|
2
2
|
export { StyledMenuItemActionWrapper };
|
|
@@ -2,6 +2,6 @@ import { ListItemSecondaryActionProps as MuiListItemSecondaryActionProps } from
|
|
|
2
2
|
import { RcBaseProps } from '../../../foundation';
|
|
3
3
|
type RcMenuItemSubActionProps = RcBaseProps<MuiListItemSecondaryActionProps>;
|
|
4
4
|
/** @deprecated use RcListItemSecondaryAction */
|
|
5
|
-
declare const RcMenuItemSubAction:
|
|
5
|
+
declare const RcMenuItemSubAction: import("styled-components").StyledComponent<typeof import("@material-ui/core/ListItemSecondaryAction").default, import("../../../foundation").RcTheme, {}, never>;
|
|
6
6
|
export { RcMenuItemSubAction };
|
|
7
7
|
export type { RcMenuItemSubActionProps };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import MuiListItemSecondaryAction from '@material-ui/core/ListItemSecondaryAction';
|
|
2
|
+
declare const StyledMenuItemSubAction: import("styled-components").StyledComponent<typeof MuiListItemSecondaryAction, import("../../../../foundation").RcTheme, {}, never>;
|
|
2
3
|
export { StyledMenuItemSubAction };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiMenuList from '@material-ui/core/MenuList';
|
|
3
3
|
import { RcBaseProps } from '../../../foundation';
|
|
4
4
|
import type { RcMenuListContextType, RcMenuListOnCloseReasonsType } from './MenuListContext';
|
|
@@ -11,6 +11,6 @@ type RcMenuListProps = {
|
|
|
11
11
|
/** emit for subMenu closed */
|
|
12
12
|
onClose?: (event: {}, reason: RcMenuListOnCloseReasonsType) => void;
|
|
13
13
|
} & RcBaseProps<ComponentProps<typeof MuiMenuList>>;
|
|
14
|
-
declare const RcMenuList: any
|
|
14
|
+
declare const RcMenuList: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcMenuListProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
15
15
|
export { RcMenuList, RcMenuListContext };
|
|
16
16
|
export type { RcMenuListContextType, RcMenuListProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { RcThemedStyled } from '../../../../foundation';
|
|
2
2
|
import { RcMenuListProps } from '../MenuList';
|
|
3
|
-
export declare const DividerInMenuStyle:
|
|
3
|
+
export declare const DividerInMenuStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("../../../../foundation").RcTheme>>;
|
|
4
4
|
export declare const MenuListStyle: RcThemedStyled<RcMenuListProps, any>;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RcMenuOptionProps } from '../MenuOption';
|
|
3
|
+
declare const StyledMenuOption: import("styled-components").StyledComponent<React.FunctionComponent<RcMenuOptionProps>, import("../../../../foundation").RcTheme, {}, never>;
|
|
2
4
|
export { StyledMenuOption };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { RcBaseProps } from '../../../foundation';
|
|
3
3
|
import { RcPopperProps } from '../../Popper';
|
|
4
4
|
import { RcMenuItemProps } from '../MenuItem/MenuItem';
|
|
@@ -17,6 +17,6 @@ type RcSubMenuProps = {
|
|
|
17
17
|
/** emit when sub menu popper closed */
|
|
18
18
|
onClose?: (e: {}, reason: RcSubMenuOnCloseReasonsType) => void;
|
|
19
19
|
} & RcBaseProps<RcMenuItemProps, 'type' | 'checked' | 'title'>;
|
|
20
|
-
declare const RcSubMenu: any
|
|
20
|
+
declare const RcSubMenu: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcSubMenuProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
21
21
|
export { RcSubMenu, RcSubMenuContext };
|
|
22
22
|
export type { RcSubMenuContextType, RcSubMenuProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { RcThemedStyled } from '../../../../foundation';
|
|
2
3
|
import { RcSubMenuProps } from '../SubMenu';
|
|
3
|
-
export declare const StyledListItemSecondaryAction: any
|
|
4
|
-
export declare const StyledGrow: any
|
|
4
|
+
export declare const StyledListItemSecondaryAction: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../../../../foundation").RcBaseProps<import("@material-ui/core").ListItemSecondaryActionProps>, "ref"> & import("react").RefAttributes<any>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
5
|
+
export declare const StyledGrow: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("@material-ui/core").GrowProps, "ref"> & import("react").RefAttributes<any>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
5
6
|
export declare const SubMenuStyle: RcThemedStyled<RcSubMenuProps, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiPagination from '@material-ui/lab/Pagination';
|
|
3
3
|
import { RcBaseProps } from '../../../foundation';
|
|
4
4
|
type RcPaginationProps = {} & RcBaseProps<ComponentProps<typeof MuiPagination>>;
|
|
5
5
|
/** @release */
|
|
6
|
-
declare const RcPagination: any
|
|
6
|
+
declare const RcPagination: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcBaseProps<import("@material-ui/lab/Pagination").PaginationProps>, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
7
7
|
export { RcPagination };
|
|
8
8
|
export type { RcPaginationProps };
|