@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,10 +1,10 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import { RcClassesProps } from '../../../foundation';
|
|
3
3
|
type RcCardHoverActionsClassKey = RcClassesProps<'root' | 'visible'>;
|
|
4
4
|
type RcCardHoverActionsProps = {
|
|
5
5
|
/** forces visibility regardless of parent card hover state */
|
|
6
6
|
visible?: boolean;
|
|
7
7
|
} & RcCardHoverActionsClassKey & ComponentProps<'div'>;
|
|
8
|
-
declare const RcCardHoverActions: any
|
|
8
|
+
declare const RcCardHoverActions: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcCardHoverActionsProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
9
9
|
export { RcCardHoverActions };
|
|
10
10
|
export type { RcCardHoverActionsProps };
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiCardMedia from '@material-ui/core/CardMedia';
|
|
3
3
|
import { RcBaseProps } from '../../../foundation';
|
|
4
4
|
type RcCardMediaProps = {} & RcBaseProps<ComponentProps<typeof MuiCardMedia>>;
|
|
5
|
-
|
|
5
|
+
interface RcCardMediaTypeMap<D extends React.ElementType = 'div'> {
|
|
6
|
+
props: RcCardMediaProps;
|
|
7
|
+
defaultComponent: D;
|
|
8
|
+
}
|
|
9
|
+
declare const RcCardMedia: import("@material-ui/core/OverridableComponent").OverridableComponent<RcCardMediaTypeMap<"div"> & {
|
|
10
|
+
classKey: "";
|
|
11
|
+
}> & import("../../../foundation").CustomStyledComponentResult<RcBaseProps<{
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
image?: string | undefined;
|
|
14
|
+
src?: string | undefined;
|
|
15
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/CardMedia").CardMediaTypeMap<{}, "div">> & Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
16
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
17
|
+
}, "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" | "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">>>;
|
|
6
18
|
export { RcCardMedia };
|
|
7
19
|
export type { RcCardMediaProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiCheckBox from '@material-ui/core/Checkbox';
|
|
3
3
|
import { RcBaseProps, RcClassesProps } from '../../../foundation';
|
|
4
4
|
type RcCardSelectionAreaClassKey = RcClassesProps<'iconOuterCircle' | 'iconInnerCircle' | 'icon'>;
|
|
5
5
|
type RcCardSelectionAreaProps = {} & RcCardSelectionAreaClassKey & RcBaseProps<ComponentProps<typeof MuiCheckBox>, 'icon' | 'checkedIcon' | 'size' | 'color' | 'edge' | 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'TouchRippleProps' | 'TouchRippleProps' | 'focusRipple' | 'disableFocusRipple' | 'readOnly' | 'required' | 'indeterminate' | 'indeterminateIcon'>;
|
|
6
|
-
declare const RcCardSelectionArea: any
|
|
6
|
+
declare const RcCardSelectionArea: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcCardSelectionAreaProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
7
7
|
export { RcCardSelectionArea };
|
|
8
8
|
export type { RcCardSelectionAreaProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps, ReactElement } from 'react';
|
|
1
|
+
import React, { ComponentProps, ReactElement } from 'react';
|
|
2
2
|
import MuiChip from '@material-ui/core/Chip';
|
|
3
3
|
import { RcBaseProps, RcClassesProps, RcPaletteProp } from '../../foundation';
|
|
4
4
|
import { RcAvatarProps } from '../Avatar';
|
|
@@ -40,6 +40,12 @@ type RcChipProps = {
|
|
|
40
40
|
/** @deprecated should use `error` */
|
|
41
41
|
isError?: boolean;
|
|
42
42
|
} & RcBaseProps<ComponentProps<typeof MuiChip>, 'color' | 'size' | 'icon'> & RcChipClassProp;
|
|
43
|
-
|
|
43
|
+
interface RcChipTypeMap<D extends React.ElementType = 'div'> {
|
|
44
|
+
props: RcChipProps;
|
|
45
|
+
defaultComponent: D;
|
|
46
|
+
}
|
|
47
|
+
declare const RcChip: import("@material-ui/core/OverridableComponent").OverridableComponent<RcChipTypeMap<"div"> & {
|
|
48
|
+
classKey: "";
|
|
49
|
+
}> & import("../../foundation").CustomStyledComponentResult<RcChipProps>;
|
|
44
50
|
export { RcChip };
|
|
45
51
|
export type { RcChipProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const GlobalStyle:
|
|
1
|
+
export declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{}, import("../../../foundation").RcTheme>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HTMLAttributes, Ref } from 'react';
|
|
1
|
+
import React, { HTMLAttributes, Ref } from 'react';
|
|
2
2
|
import { RcBaseProps, UseLongPressEventReason } from '../../../foundation';
|
|
3
3
|
import { RcIconButtonProps } from '../../Buttons/IconButton';
|
|
4
4
|
import { RcDialPadButtonProps } from '../DialPadButton';
|
|
@@ -67,6 +67,67 @@ type RcDialPadProps = {
|
|
|
67
67
|
getDialPadButtonProps?: (value: DIALER_PAD_ICON_VALUES) => RcBaseProps<RcIconButtonProps, 'value' | 'onKeyDown' | 'onFocus'> & Record<any, any>;
|
|
68
68
|
} & RcBaseProps<HTMLAttributes<HTMLDivElement>, 'onChange'> & Pick<RcDialPadButtonProps, 'classes'>;
|
|
69
69
|
/** @release */
|
|
70
|
-
declare const RcDialPad:
|
|
70
|
+
declare const RcDialPad: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
71
|
+
/** for custom window */
|
|
72
|
+
externalWindow?: Window | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* trigger when value change, `reason` for trigger from what event
|
|
75
|
+
*
|
|
76
|
+
* `reason` will be `customKeyboard` when it trigger by `useDiaKeyboard`.
|
|
77
|
+
*/
|
|
78
|
+
onChange?: ((value: string, reason: RcDialPadOnChangeReason) => void) | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* keypad sounds
|
|
81
|
+
*
|
|
82
|
+
* By default, we not have any sound for best file size for you can define when and what audio you need
|
|
83
|
+
* should pass sound map when you want play sound.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
*
|
|
87
|
+
* ```ts
|
|
88
|
+
* import { RcDialerPadSoundsMPEG } from '@ringcentral/juno';
|
|
89
|
+
* import { RcDialerPadSoundsOGG } from '@ringcentral/juno';
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
sounds?: DialPadSoundMap | undefined;
|
|
93
|
+
/** volume of keypad sound */
|
|
94
|
+
volume?: number | undefined;
|
|
95
|
+
/** is keypad sound muted */
|
|
96
|
+
muted?: boolean | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* sinkId of keypad sound
|
|
99
|
+
*
|
|
100
|
+
* @important
|
|
101
|
+
* Safari prior to 18.4 does not support the `setSinkId` method
|
|
102
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/setSinkId#browser_compatibility
|
|
103
|
+
*
|
|
104
|
+
* Safari 18.4+ although supports the `setSinkId` method, it will throw an error “NotAllowedError A user gesture is required” if the user has not yet interacted with the page
|
|
105
|
+
*/
|
|
106
|
+
sinkId?: string | undefined;
|
|
107
|
+
onSinkError?: ((error: unknown) => void) | undefined;
|
|
108
|
+
/** long press '0' time to typing '+' */
|
|
109
|
+
longPressDelay?: number | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* time of persist button background when manual trigger by 'actionRef'
|
|
112
|
+
* button background will not persist if persistBgTime less than 0
|
|
113
|
+
* @default 200
|
|
114
|
+
* */
|
|
115
|
+
persistBgTime?: number | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* make that dialPad size auto fixed container width
|
|
118
|
+
*
|
|
119
|
+
* @default true
|
|
120
|
+
*/
|
|
121
|
+
autoSize?: boolean | undefined;
|
|
122
|
+
/** can manual trigger audio by ref */
|
|
123
|
+
action?: React.Ref<RcDialPadAction> | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* control inner action,
|
|
126
|
+
* ### you should use with `useDialKeyboard`
|
|
127
|
+
*/
|
|
128
|
+
control?: React.Ref<RcDialPadControl> | undefined;
|
|
129
|
+
/** method to get addition props for below each `DialPadButton` */
|
|
130
|
+
getDialPadButtonProps?: ((value: DIALER_PAD_ICON_VALUES) => RcBaseProps<RcIconButtonProps, 'value' | 'onKeyDown' | 'onFocus'> & Record<any, any>) | undefined;
|
|
131
|
+
} & RcBaseProps<React.HTMLAttributes<HTMLDivElement>, "onChange"> & Pick<RcDialPadButtonProps, "classes"> & React.RefAttributes<HTMLDivElement>>, import("../../../foundation").RcTheme, {}, never>;
|
|
71
132
|
export { RcDialPad };
|
|
72
133
|
export type { RcDialPadAction, RcDialPadOnChangeReason, RcDialPadProps };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { RcIconButtonProps } from '../../Buttons';
|
|
2
3
|
import { RcDialPadOnChangeReason } from '../DialPad';
|
|
3
4
|
export type RcDialPadButtonProps = {
|
|
@@ -12,5 +13,5 @@ export type RcDialPadButtonProps = {
|
|
|
12
13
|
/** emit effect when trigger number enter */
|
|
13
14
|
onKeyEffect: (value: string, reason: RcDialPadOnChangeReason) => void;
|
|
14
15
|
} & Pick<RcIconButtonProps, 'shouldPersistBg' | 'symbol' | 'classes' | 'tabIndex' | 'onKeyDown' | 'onFocus'>;
|
|
15
|
-
declare const RcDialPadButton:
|
|
16
|
+
declare const RcDialPadButton: import("styled-components").StyledComponent<React.FunctionComponent<RcDialPadButtonProps>, import("../../../foundation").RcTheme, {}, never>;
|
|
16
17
|
export { RcDialPadButton };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const buttonWrapperStyle:
|
|
1
|
+
export declare const buttonWrapperStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("../../../../foundation").RcTheme>>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { RcBaseProps } from '../../../foundation';
|
|
2
3
|
import { RcTextFieldProps } from '../../Forms/TextField';
|
|
3
4
|
import { RcDialPadOnChangeReason } from '../DialPad';
|
|
@@ -26,6 +27,6 @@ type RcDialTextFieldProps = {
|
|
|
26
27
|
*/
|
|
27
28
|
keypadMode?: boolean;
|
|
28
29
|
} & RcBaseProps<RcTextFieldProps, 'onChange' | 'value' | 'onClear' | 'clearBtn' | 'clearButtonProps' | 'clearLabel'>;
|
|
29
|
-
declare const RcDialTextField: any
|
|
30
|
+
declare const RcDialTextField: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcDialTextFieldProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
30
31
|
export { RcDialTextField };
|
|
31
32
|
export type { RcDialTextFieldProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiDialog from '@material-ui/core/Dialog';
|
|
3
3
|
import { RcBaseProps, RcBaseSize } from '../../foundation';
|
|
4
4
|
import { RcDialogChildrenSize } from './utils';
|
|
@@ -19,6 +19,6 @@ type RcDialogProps = {
|
|
|
19
19
|
/** size apply to all dialog children */
|
|
20
20
|
childrenSize?: RcDialogChildrenSize;
|
|
21
21
|
} & RcBaseProps<ComponentProps<typeof MuiDialog>>;
|
|
22
|
-
declare const RcDialog: any
|
|
22
|
+
declare const RcDialog: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcDialogProps, "ref"> & React.RefAttributes<any>>, import("../../foundation").RcTheme, {}, never>;
|
|
23
23
|
export { RcDialog, RcDialogContext };
|
|
24
24
|
export type { RcDialogProps, RcDialogSize };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiDialogActions from '@material-ui/core/DialogActions';
|
|
3
3
|
import { RcBaseDirection, RcBaseProps } from '../../../foundation';
|
|
4
4
|
import { RcDialogChildrenProps } from '../utils';
|
|
@@ -16,6 +16,281 @@ type RcDialogActionsProps = {
|
|
|
16
16
|
*/
|
|
17
17
|
reverse?: boolean;
|
|
18
18
|
} & RcDialogChildrenProps & RcBaseProps<ComponentProps<typeof MuiDialogActions>>;
|
|
19
|
-
declare const RcDialogActions: any
|
|
19
|
+
declare const RcDialogActions: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcDialogActionsProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {
|
|
20
|
+
direction: "horizontal" | "vertical";
|
|
21
|
+
reverse: boolean;
|
|
22
|
+
size?: "small" | "medium" | undefined;
|
|
23
|
+
ref?: React.Ref<unknown> | undefined;
|
|
24
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
25
|
+
className?: string | undefined;
|
|
26
|
+
color?: string | undefined;
|
|
27
|
+
id?: string | undefined;
|
|
28
|
+
lang?: string | undefined;
|
|
29
|
+
style?: React.CSSProperties | undefined;
|
|
30
|
+
role?: React.AriaRole | undefined;
|
|
31
|
+
tabIndex?: number | undefined;
|
|
32
|
+
"aria-activedescendant"?: string | undefined;
|
|
33
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
34
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
35
|
+
"aria-braillelabel"?: string | undefined;
|
|
36
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
37
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
38
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
39
|
+
"aria-colcount"?: number | undefined;
|
|
40
|
+
"aria-colindex"?: number | undefined;
|
|
41
|
+
"aria-colindextext"?: string | undefined;
|
|
42
|
+
"aria-colspan"?: number | undefined;
|
|
43
|
+
"aria-controls"?: string | undefined;
|
|
44
|
+
"aria-current"?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location" | undefined;
|
|
45
|
+
"aria-describedby"?: string | undefined;
|
|
46
|
+
"aria-description"?: string | undefined;
|
|
47
|
+
"aria-details"?: string | undefined;
|
|
48
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
49
|
+
"aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
50
|
+
"aria-errormessage"?: string | undefined;
|
|
51
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
52
|
+
"aria-flowto"?: string | undefined;
|
|
53
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
54
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
55
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
56
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
57
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
58
|
+
"aria-label"?: string | undefined;
|
|
59
|
+
"aria-labelledby"?: string | undefined;
|
|
60
|
+
"aria-level"?: number | undefined;
|
|
61
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
62
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
63
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
64
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
65
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
66
|
+
"aria-owns"?: string | undefined;
|
|
67
|
+
"aria-placeholder"?: string | undefined;
|
|
68
|
+
"aria-posinset"?: number | undefined;
|
|
69
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
70
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
71
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
72
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
73
|
+
"aria-roledescription"?: string | undefined;
|
|
74
|
+
"aria-rowcount"?: number | undefined;
|
|
75
|
+
"aria-rowindex"?: number | undefined;
|
|
76
|
+
"aria-rowindextext"?: string | undefined;
|
|
77
|
+
"aria-rowspan"?: number | undefined;
|
|
78
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
79
|
+
"aria-setsize"?: number | undefined;
|
|
80
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
81
|
+
"aria-valuemax"?: number | undefined;
|
|
82
|
+
"aria-valuemin"?: number | undefined;
|
|
83
|
+
"aria-valuenow"?: number | undefined;
|
|
84
|
+
"aria-valuetext"?: string | undefined;
|
|
85
|
+
children?: React.ReactNode;
|
|
86
|
+
dangerouslySetInnerHTML?: {
|
|
87
|
+
__html: string | TrustedHTML;
|
|
88
|
+
} | undefined;
|
|
89
|
+
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
90
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
91
|
+
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
92
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
93
|
+
onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
94
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
95
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
96
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
97
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
98
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
99
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
100
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
101
|
+
onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
102
|
+
onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
103
|
+
onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
104
|
+
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
105
|
+
onChange?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
106
|
+
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
107
|
+
onBeforeInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
108
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
109
|
+
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
110
|
+
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
111
|
+
onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
112
|
+
onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
113
|
+
onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
114
|
+
onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
115
|
+
onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
116
|
+
onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
117
|
+
onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
118
|
+
onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
119
|
+
onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
120
|
+
onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
121
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
122
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
123
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
124
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
125
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
126
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
127
|
+
onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
128
|
+
onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
129
|
+
onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
130
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
131
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
132
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
133
|
+
onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
134
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
135
|
+
onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
136
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
137
|
+
onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
138
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
139
|
+
onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
140
|
+
onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
141
|
+
onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
142
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
143
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
144
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
145
|
+
onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
146
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
147
|
+
onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
148
|
+
onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
149
|
+
onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
150
|
+
onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
151
|
+
onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
152
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
153
|
+
onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
154
|
+
onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
155
|
+
onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
156
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
157
|
+
onResize?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
158
|
+
onResizeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
159
|
+
onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
160
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
161
|
+
onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
162
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
163
|
+
onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
164
|
+
onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
165
|
+
onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
167
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
168
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
slot?: string | undefined;
|
|
252
|
+
title?: string | undefined;
|
|
253
|
+
translate?: "no" | "yes" | undefined;
|
|
254
|
+
classes?: Partial<import("@material-ui/styles").ClassNameMap<import("@material-ui/core/DialogActions").DialogActionsClassKey>> | undefined;
|
|
255
|
+
defaultChecked?: boolean | undefined;
|
|
256
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
257
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
258
|
+
accessKey?: string | undefined;
|
|
259
|
+
autoFocus?: boolean | undefined;
|
|
260
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
261
|
+
contextMenu?: string | undefined;
|
|
262
|
+
dir?: string | undefined;
|
|
263
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
264
|
+
hidden?: boolean | undefined;
|
|
265
|
+
nonce?: string | undefined;
|
|
266
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
267
|
+
radioGroup?: string | undefined;
|
|
268
|
+
about?: string | undefined;
|
|
269
|
+
content?: string | undefined;
|
|
270
|
+
datatype?: string | undefined;
|
|
271
|
+
inlist?: any;
|
|
272
|
+
prefix?: string | undefined;
|
|
273
|
+
property?: string | undefined;
|
|
274
|
+
rel?: string | undefined;
|
|
275
|
+
resource?: string | undefined;
|
|
276
|
+
rev?: string | undefined;
|
|
277
|
+
typeof?: string | undefined;
|
|
278
|
+
vocab?: string | undefined;
|
|
279
|
+
autoCapitalize?: string | undefined;
|
|
280
|
+
autoCorrect?: string | undefined;
|
|
281
|
+
autoSave?: string | undefined;
|
|
282
|
+
itemProp?: string | undefined;
|
|
283
|
+
itemScope?: boolean | undefined;
|
|
284
|
+
itemType?: string | undefined;
|
|
285
|
+
itemID?: string | undefined;
|
|
286
|
+
itemRef?: string | undefined;
|
|
287
|
+
results?: number | undefined;
|
|
288
|
+
security?: string | undefined;
|
|
289
|
+
unselectable?: "off" | "on" | undefined;
|
|
290
|
+
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
291
|
+
is?: string | undefined;
|
|
292
|
+
innerRef?: React.Ref<any> | undefined;
|
|
293
|
+
disableSpacing?: boolean | undefined;
|
|
294
|
+
}, "ref" | "suppressHydrationWarning" | "className" | "color" | "id" | "lang" | "style" | "role" | "tabIndex" | "direction" | "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" | "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" | "innerRef" | "reverse" | "disableSpacing">;
|
|
20
295
|
export { RcDialogActions };
|
|
21
296
|
export type { RcDialogActionsProps };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiDialogContent from '@material-ui/core/DialogContent';
|
|
3
3
|
import { RcBaseProps } from '../../../foundation';
|
|
4
4
|
import { RcDialogChildrenProps } from '../utils';
|
|
5
5
|
type RcDialogContentProps = {} & RcDialogChildrenProps & RcBaseProps<ComponentProps<typeof MuiDialogContent>>;
|
|
6
|
-
declare const RcDialogContent: any
|
|
6
|
+
declare const RcDialogContent: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcDialogContentProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, RcDialogChildrenProps & {
|
|
7
|
+
theme?: import("../../../foundation").RcTheme | undefined;
|
|
8
|
+
}, "theme" | "size">;
|
|
7
9
|
export { RcDialogContent };
|
|
8
10
|
export type { RcDialogContentProps };
|
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiDialogContentText from '@material-ui/core/DialogContentText';
|
|
3
3
|
import { RcBaseProps } from '../../../foundation';
|
|
4
4
|
import { RcTypographyProps } from '../../Typography';
|
|
5
5
|
import { RcDialogChildrenProps } from '../utils';
|
|
6
6
|
type RcDialogContentTextProps = {} & Pick<RcTypographyProps, 'variant' | 'color' | 'weight' | 'component'> & RcDialogChildrenProps & RcBaseProps<ComponentProps<typeof MuiDialogContentText>, 'variant' | 'color'>;
|
|
7
|
-
declare const RcDialogContentText: any
|
|
7
|
+
declare const RcDialogContentText: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcDialogContentTextProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, Pick<RcTypographyProps, "color" | "variant" | "component" | "weight"> & RcDialogChildrenProps & RcBaseProps<{
|
|
8
|
+
align?: import("@material-ui/core").PropTypes.Alignment | undefined;
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
color?: "inherit" | "initial" | "primary" | "secondary" | "error" | "textPrimary" | "textSecondary" | undefined;
|
|
11
|
+
display?: "initial" | "inline" | "block" | undefined;
|
|
12
|
+
gutterBottom?: boolean | undefined;
|
|
13
|
+
noWrap?: boolean | undefined;
|
|
14
|
+
paragraph?: boolean | undefined;
|
|
15
|
+
variant?: "inherit" | (import("@material-ui/core").TypographyVariant | "srOnly") | undefined;
|
|
16
|
+
variantMapping?: Partial<Record<import("@material-ui/core").TypographyVariant | "srOnly", string>> | undefined;
|
|
17
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/DialogContentText").DialogContentTextTypeMap<{}, "span">> & Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
18
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
19
|
+
}, "ref" | "key" | "suppressHydrationWarning" | "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" | "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">, "color" | "variant">, "ref" | "key" | "suppressHydrationWarning" | "color" | "id" | "lang" | "role" | "tabIndex" | "display" | "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" | "size" | "variant" | "component" | "align" | "weight" | "noWrap" | "gutterBottom" | "paragraph" | "variantMapping" | keyof import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/DialogContentText").DialogContentTextTypeMap<{}, "span">>>;
|
|
8
20
|
export { RcDialogContentText };
|
|
9
21
|
export type { RcDialogContentTextProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiDialogTitle from '@material-ui/core/DialogTitle';
|
|
3
3
|
import { RcBaseProps } from '../../../foundation';
|
|
4
4
|
import { RcDialogChildrenProps } from '../utils';
|
|
@@ -7,6 +7,8 @@ type RcDialogTitleProps = {
|
|
|
7
7
|
/** Define the padding size of that group wrapper. */
|
|
8
8
|
space?: number | number[];
|
|
9
9
|
} & RcDialogChildrenProps & RcBaseProps<ComponentProps<typeof MuiDialogTitle>>;
|
|
10
|
-
declare const RcDialogTitle: any
|
|
10
|
+
declare const RcDialogTitle: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcDialogTitleProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, RcDialogChildrenProps & {
|
|
11
|
+
theme?: import("../../../foundation").RcTheme | undefined;
|
|
12
|
+
}, "theme" | "size">;
|
|
11
13
|
export { RcDialogTitle };
|
|
12
14
|
export type { RcDialogTitleProps };
|