@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
|
@@ -43,6 +43,363 @@ type RcTextFieldProps = {
|
|
|
43
43
|
validate?: (value: RcTextFieldProps['value']) => string | false;
|
|
44
44
|
} & RcBaseProps<MuiStandardTextFieldProps, 'variant' | 'color' | 'hiddenLabel' | 'select' | 'SelectProps' | 'size' | 'margin' | 'rowsMax'> & Pick<RcTypographyProps, 'gutterBottom'>;
|
|
45
45
|
/** @release */
|
|
46
|
-
declare const RcTextField: any
|
|
46
|
+
declare const RcTextField: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcTextFieldProps, "ref"> & React.RefAttributes<any>>, RcTheme, {
|
|
47
|
+
value: unknown;
|
|
48
|
+
onChange: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
|
|
49
|
+
/** color palette set, effect that active color when focus */
|
|
50
|
+
color?: RcPaletteProp | undefined;
|
|
51
|
+
/** variant type for different display TextField */
|
|
52
|
+
variant?: RcTextFieldVariant | undefined;
|
|
53
|
+
/** border radius for outline text field */
|
|
54
|
+
radius?: "circle" | "round" | "sm" | "md" | "lg" | "xl" | "xxl" | "zero" | undefined;
|
|
55
|
+
/** size for TextField when `variant="outline"` */
|
|
56
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
57
|
+
/** align for text */
|
|
58
|
+
align?: "center" | "left" | "right" | undefined;
|
|
59
|
+
/** set input text size when `variant="borderLess"` */
|
|
60
|
+
textVariant?: RcTypographyProps['variant'];
|
|
61
|
+
/** is should show clear button */
|
|
62
|
+
clearBtn?: boolean | undefined;
|
|
63
|
+
/** when clear button trigger */
|
|
64
|
+
onClear?: React.MouseEventHandler<HTMLButtonElement> | undefined;
|
|
65
|
+
/** props apply on default clear button */
|
|
66
|
+
clearButtonProps?: Partial<{
|
|
67
|
+
variant?: import("../../Buttons/IconButton/IconButton").RcIconButtonVariant | undefined;
|
|
68
|
+
size?: import("../../Buttons/IconButton/IconButton").RcIconButtonSize | undefined;
|
|
69
|
+
shouldPersistBg?: boolean | undefined;
|
|
70
|
+
invisible?: boolean | undefined;
|
|
71
|
+
stretchIcon?: boolean | undefined;
|
|
72
|
+
useColorWhenDisabled?: boolean | undefined;
|
|
73
|
+
radius?: "circle" | "round" | "sm" | "md" | "lg" | "xl" | "xxl" | "zero" | undefined;
|
|
74
|
+
elevation?: keyof import("@material-ui/core/styles/shadows").Shadows | undefined;
|
|
75
|
+
activeElevation?: keyof import("@material-ui/core/styles/shadows").Shadows | undefined;
|
|
76
|
+
disabledFakeBorder?: boolean | undefined;
|
|
77
|
+
IconProps?: import("../../Icon/Icon").RcIconProps | undefined; /** props apply on default clear button */
|
|
78
|
+
focusVariant?: "highlight" | "focusRing" | undefined;
|
|
79
|
+
} & import("../../Buttons/IconButton/deprecated/IconButtonProps").RcIconButtonDeprecatedProps & Pick<import("../../Icon/Icon").RcIconProps, "symbol" | "color" | "iconColor" | "iconSize" | "loading" | "CircularProgressProps"> & import("../../../foundation").RcClassesProps<"round" | "icon" | "inverse" | "outline" | "invisible" | "contained" | "persistBg"> & RcBaseProps<{
|
|
80
|
+
action?: React.Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
81
|
+
buttonRef?: React.Ref<unknown> | undefined;
|
|
82
|
+
centerRipple?: boolean | undefined;
|
|
83
|
+
children?: React.ReactNode;
|
|
84
|
+
disabled?: boolean | undefined;
|
|
85
|
+
disableRipple?: boolean | undefined;
|
|
86
|
+
disableTouchRipple?: boolean | undefined;
|
|
87
|
+
focusRipple?: boolean | undefined;
|
|
88
|
+
/** border radius for outline text field */
|
|
89
|
+
focusVisibleClassName?: string | undefined;
|
|
90
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
91
|
+
tabIndex?: string | number | undefined;
|
|
92
|
+
TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
93
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").ExtendButtonBaseTypeMap<import("@material-ui/core").ButtonBaseTypeMap<{}, "button">>> & Pick<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
94
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
95
|
+
}, "ref" | "key" | "suppressHydrationWarning" | "color" | "id" | "lang" | "name" | "type" | "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" | "form" | "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" | "value" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">, "color"> & {
|
|
96
|
+
title?: NonNullable<React.ReactNode> | undefined;
|
|
97
|
+
useRcTooltip?: boolean | undefined;
|
|
98
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
99
|
+
} & Omit<{}, "title">> | undefined;
|
|
100
|
+
/** If `true`, the input element will be `select` during the first mount. */
|
|
101
|
+
autoSelect?: boolean | undefined;
|
|
102
|
+
/** @deprecated please use `autoFocus` to replace that */
|
|
103
|
+
focusOnMount?: boolean | undefined;
|
|
104
|
+
/** @deprecated please use `autoSelect` to replace that */
|
|
105
|
+
selectOnMount?: boolean | undefined;
|
|
106
|
+
/** @deprecated */
|
|
107
|
+
autoFocusDelay?: number | undefined;
|
|
108
|
+
/** @deprecated clear button label, please use `clearButtonProps` with `title` replace that */
|
|
109
|
+
clearLabel?: string | undefined;
|
|
110
|
+
/** @deprecated clear button aria-label, use `clearButtonProps` with `aria-label` replace that */
|
|
111
|
+
clearAriaLabel?: string | undefined;
|
|
112
|
+
/** if you use validate, the error you pass in will not take effect anymore */
|
|
113
|
+
validate?: ((value: RcTextFieldProps['value']) => string | false) | undefined;
|
|
114
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
115
|
+
key?: React.Key | null | undefined;
|
|
116
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
117
|
+
className?: string | undefined;
|
|
118
|
+
id?: string | undefined;
|
|
119
|
+
lang?: string | undefined;
|
|
120
|
+
name?: string | undefined;
|
|
121
|
+
style?: React.CSSProperties | undefined;
|
|
122
|
+
type?: React.HTMLInputTypeAttribute | undefined;
|
|
123
|
+
role?: React.AriaRole | undefined;
|
|
124
|
+
tabIndex?: number | undefined;
|
|
125
|
+
"aria-activedescendant"?: string | undefined;
|
|
126
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
127
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
128
|
+
"aria-braillelabel"?: string | undefined;
|
|
129
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
130
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
131
|
+
"aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
132
|
+
"aria-colcount"?: number | undefined;
|
|
133
|
+
"aria-colindex"?: number | undefined;
|
|
134
|
+
"aria-colindextext"?: string | undefined;
|
|
135
|
+
"aria-colspan"?: number | undefined;
|
|
136
|
+
"aria-controls"?: string | undefined;
|
|
137
|
+
"aria-current"?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location" | undefined;
|
|
138
|
+
"aria-describedby"?: string | undefined;
|
|
139
|
+
"aria-description"?: string | undefined;
|
|
140
|
+
"aria-details"?: string | undefined;
|
|
141
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
142
|
+
"aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
143
|
+
"aria-errormessage"?: string | undefined;
|
|
144
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
145
|
+
"aria-flowto"?: string | undefined;
|
|
146
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
147
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
|
|
148
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
149
|
+
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
150
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
151
|
+
"aria-label"?: string | undefined;
|
|
152
|
+
"aria-labelledby"?: string | undefined;
|
|
153
|
+
"aria-level"?: number | undefined;
|
|
154
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
155
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
156
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
157
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
158
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
159
|
+
"aria-owns"?: string | undefined;
|
|
160
|
+
"aria-placeholder"?: string | undefined;
|
|
161
|
+
"aria-posinset"?: number | undefined;
|
|
162
|
+
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
163
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
164
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
165
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
166
|
+
"aria-roledescription"?: string | undefined;
|
|
167
|
+
"aria-rowcount"?: number | undefined;
|
|
168
|
+
"aria-rowindex"?: number | undefined;
|
|
169
|
+
"aria-rowindextext"?: string | undefined;
|
|
170
|
+
"aria-rowspan"?: number | undefined;
|
|
171
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
172
|
+
"aria-setsize"?: number | undefined;
|
|
173
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
174
|
+
"aria-valuemax"?: number | undefined;
|
|
175
|
+
"aria-valuemin"?: number | undefined;
|
|
176
|
+
"aria-valuenow"?: number | undefined;
|
|
177
|
+
"aria-valuetext"?: string | undefined;
|
|
178
|
+
children?: React.ReactNode;
|
|
179
|
+
dangerouslySetInnerHTML?: {
|
|
180
|
+
__html: string | TrustedHTML;
|
|
181
|
+
} | undefined;
|
|
182
|
+
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
185
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
186
|
+
onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
195
|
+
onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
|
|
197
|
+
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onChangeCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onBeforeInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onBeforeInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onInput?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onInputCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onReset?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onResetCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onSubmit?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onSubmitCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onInvalid?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onInvalidCapture?: React.FormEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onResize?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onResizeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
271
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
272
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
273
|
+
onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
274
|
+
onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
275
|
+
onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
276
|
+
onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
277
|
+
onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
278
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
279
|
+
onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
280
|
+
onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
281
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
282
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
283
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
284
|
+
onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
285
|
+
onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
286
|
+
onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
287
|
+
onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
288
|
+
onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
289
|
+
onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
290
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
291
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
292
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
293
|
+
onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
294
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
295
|
+
onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
296
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
297
|
+
onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
298
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
299
|
+
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
300
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
301
|
+
onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
302
|
+
onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
303
|
+
onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
304
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
305
|
+
onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
306
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
307
|
+
onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
308
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
309
|
+
onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
310
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
311
|
+
onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
312
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
313
|
+
onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
314
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
315
|
+
onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
316
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
317
|
+
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
318
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
319
|
+
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
320
|
+
onPointerEnterCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
321
|
+
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
322
|
+
onPointerLeaveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
323
|
+
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
324
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
325
|
+
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
326
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
327
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
328
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
329
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
330
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
331
|
+
onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
332
|
+
onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
333
|
+
onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
334
|
+
onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
335
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
336
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
337
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
338
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
339
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
340
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
341
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
342
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
343
|
+
label?: React.ReactNode;
|
|
344
|
+
slot?: string | undefined;
|
|
345
|
+
title?: string | undefined;
|
|
346
|
+
translate?: "no" | "yes" | undefined;
|
|
347
|
+
classes?: Partial<import("@material-ui/styles").ClassNameMap<"root">> | undefined;
|
|
348
|
+
defaultChecked?: boolean | undefined;
|
|
349
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
350
|
+
accessKey?: string | undefined;
|
|
351
|
+
autoFocus?: boolean | undefined;
|
|
352
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
353
|
+
contextMenu?: string | undefined;
|
|
354
|
+
dir?: string | undefined;
|
|
355
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
356
|
+
hidden?: boolean | undefined;
|
|
357
|
+
nonce?: string | undefined;
|
|
358
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
359
|
+
radioGroup?: string | undefined;
|
|
360
|
+
about?: string | undefined;
|
|
361
|
+
content?: string | undefined;
|
|
362
|
+
datatype?: string | undefined;
|
|
363
|
+
inlist?: any;
|
|
364
|
+
prefix?: string | undefined;
|
|
365
|
+
property?: string | undefined;
|
|
366
|
+
rel?: string | undefined;
|
|
367
|
+
resource?: string | undefined;
|
|
368
|
+
rev?: string | undefined;
|
|
369
|
+
typeof?: string | undefined;
|
|
370
|
+
vocab?: string | undefined;
|
|
371
|
+
autoCapitalize?: string | undefined;
|
|
372
|
+
autoCorrect?: string | undefined;
|
|
373
|
+
autoSave?: string | undefined;
|
|
374
|
+
itemProp?: string | undefined;
|
|
375
|
+
itemScope?: boolean | undefined;
|
|
376
|
+
itemType?: string | undefined;
|
|
377
|
+
itemID?: string | undefined;
|
|
378
|
+
itemRef?: string | undefined;
|
|
379
|
+
results?: number | undefined;
|
|
380
|
+
security?: string | undefined;
|
|
381
|
+
unselectable?: "off" | "on" | undefined;
|
|
382
|
+
inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
383
|
+
is?: string | undefined;
|
|
384
|
+
innerRef?: React.Ref<any> | undefined;
|
|
385
|
+
error?: boolean | undefined;
|
|
386
|
+
disabled?: boolean | undefined;
|
|
387
|
+
autoComplete?: string | undefined;
|
|
388
|
+
placeholder?: string | undefined;
|
|
389
|
+
required?: boolean | undefined;
|
|
390
|
+
rows?: string | number | undefined;
|
|
391
|
+
focused?: boolean | undefined;
|
|
392
|
+
fullWidth?: boolean | undefined;
|
|
393
|
+
inputProps?: import("@material-ui/core").InputBaseComponentProps | undefined;
|
|
394
|
+
inputRef?: React.Ref<any> | undefined;
|
|
395
|
+
InputProps?: Partial<import("@material-ui/core").InputProps> | undefined;
|
|
396
|
+
FormHelperTextProps?: Partial<import("@material-ui/core").FormHelperTextProps> | undefined;
|
|
397
|
+
helperText?: React.ReactNode;
|
|
398
|
+
InputLabelProps?: Partial<import("@material-ui/core").InputLabelProps> | undefined;
|
|
399
|
+
multiline?: boolean | undefined;
|
|
400
|
+
maxRows?: string | number | undefined;
|
|
401
|
+
minRows?: string | number | undefined;
|
|
402
|
+
gutterBottom?: boolean | undefined;
|
|
403
|
+
}, "ref" | "key" | "suppressHydrationWarning" | "className" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "radius" | "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" | "label" | "slot" | "title" | "translate" | "classes" | "defaultChecked" | "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" | "variant" | "innerRef" | "error" | "disabled" | "autoComplete" | "placeholder" | "required" | "align" | "rows" | "focused" | "fullWidth" | "gutterBottom" | "inputProps" | "inputRef" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "multiline" | "maxRows" | "minRows" | "textVariant" | "clearBtn" | "onClear" | "clearButtonProps" | "autoSelect" | "focusOnMount" | "selectOnMount" | "autoFocusDelay" | "clearLabel" | "clearAriaLabel" | "validate">;
|
|
47
404
|
export { RcOutlineTextFieldIconSizes, RcTextField };
|
|
48
405
|
export type { RcOutlineTextSize, RcOutlineTextSizeRadius, RcTextFieldProps, RcTextFieldVariant, };
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WithTooltipProps } from '../../../Tooltip';
|
|
3
|
-
export declare const ClearIconButton: React.ComponentType<WithTooltipProps<
|
|
3
|
+
export declare const ClearIconButton: React.ComponentType<WithTooltipProps<Omit<{
|
|
4
|
+
[x: string]: any;
|
|
5
|
+
[x: number]: any;
|
|
6
|
+
[x: symbol]: any;
|
|
7
|
+
} & {
|
|
8
|
+
theme?: import("../../../../foundation").RcTheme | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
11
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
12
|
+
}, "ref"> & React.RefAttributes<any>>>;
|
|
@@ -4,5 +4,5 @@ export declare const textColor: import("../../../../foundation/styles/newPalette
|
|
|
4
4
|
export declare const disabledColor: import("../../../../foundation/styles/newPalette").PaletteReturnType;
|
|
5
5
|
export declare const placeholderColor: import("../../../../foundation/styles/newPalette").PaletteReturnType;
|
|
6
6
|
export declare const RcDefaultTextFieldWidth = "168px";
|
|
7
|
-
export declare const clearBtnInactiveStyle:
|
|
7
|
+
export declare const clearBtnInactiveStyle: import("styled-components").FlattenSimpleInterpolation;
|
|
8
8
|
export declare const TextFieldStyle: RcThemedStyled<RcTextFieldProps, any>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { RcBaseProps } from '../../../foundation';
|
|
2
3
|
import { RcTextFieldProps } from '../TextField';
|
|
3
4
|
type RcTextareaProps = {} & RcBaseProps<RcTextFieldProps, 'clearBtn' | 'clearButtonProps' | 'clearLabel' | 'clearAriaLabel' | 'variant'>;
|
|
4
5
|
/** @release */
|
|
5
|
-
declare const RcTextarea: any
|
|
6
|
+
declare const RcTextarea: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcBaseProps<RcTextFieldProps, "variant" | "clearBtn" | "clearButtonProps" | "clearLabel" | "clearAriaLabel">, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
6
7
|
export { RcTextarea };
|
|
7
8
|
export type { RcTextareaProps };
|
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiGrid from '@material-ui/core/Grid';
|
|
3
3
|
import { RcBaseProps } from '../../foundation';
|
|
4
4
|
type RcGridProps = {} & RcBaseProps<ComponentProps<typeof MuiGrid>>;
|
|
5
|
-
declare const RcGrid:
|
|
5
|
+
declare const RcGrid: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcBaseProps<{
|
|
6
|
+
alignContent?: import("@material-ui/core/Grid").GridContentAlignment | undefined;
|
|
7
|
+
alignItems?: import("@material-ui/core/Grid").GridItemsAlignment | undefined;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
container?: boolean | undefined;
|
|
10
|
+
direction?: import("@material-ui/core/Grid").GridDirection | undefined;
|
|
11
|
+
item?: boolean | undefined;
|
|
12
|
+
justify?: import("@material-ui/core/Grid").GridJustification | undefined;
|
|
13
|
+
justifyContent?: import("@material-ui/core/Grid").GridJustification | undefined;
|
|
14
|
+
lg?: boolean | import("@material-ui/core/Grid").GridSize | undefined;
|
|
15
|
+
md?: boolean | import("@material-ui/core/Grid").GridSize | undefined;
|
|
16
|
+
sm?: boolean | import("@material-ui/core/Grid").GridSize | undefined;
|
|
17
|
+
spacing?: import("@material-ui/core/Grid").GridSpacing | undefined;
|
|
18
|
+
wrap?: import("@material-ui/core/Grid").GridWrap | undefined;
|
|
19
|
+
xl?: boolean | import("@material-ui/core/Grid").GridSize | undefined;
|
|
20
|
+
xs?: boolean | import("@material-ui/core/Grid").GridSize | undefined;
|
|
21
|
+
zeroMinWidth?: boolean | undefined;
|
|
22
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/Grid").GridTypeMap<{}, "div">> & Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
23
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
24
|
+
}, "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">>, "ref"> & React.RefAttributes<any>>, import("../../foundation").RcTheme, {}, never>;
|
|
6
25
|
export { RcGrid };
|
|
7
26
|
export type { RcGridProps };
|
|
@@ -35,6 +35,29 @@ type RcIconProps = {
|
|
|
35
35
|
/** @deprecated use size replace that */
|
|
36
36
|
iconSize?: IconSize;
|
|
37
37
|
} & RcBaseProps<HTMLAttributes<HTMLSpanElement>, 'color'>;
|
|
38
|
-
declare const RcIcon:
|
|
38
|
+
declare const RcIcon: import("styled-components").StyledComponent<React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
39
|
+
/** Component for render */
|
|
40
|
+
symbol?: SvgSymbol | undefined;
|
|
41
|
+
/** is that icon replace to loading */
|
|
42
|
+
loading?: boolean | undefined;
|
|
43
|
+
/** Props send to `RcCircularProgress` when loading is `true` */
|
|
44
|
+
CircularProgressProps?: RcCircularProgressProps | undefined;
|
|
45
|
+
/** color of icon */
|
|
46
|
+
color?: RcPaletteProp | undefined;
|
|
47
|
+
/** size of icon */
|
|
48
|
+
size?: "small" | "inherit" | "xsmall" | "medium" | "large" | "xlarge" | "xxlarge" | "xxxlarge" | undefined;
|
|
49
|
+
/** @deprecated use CircularProgressProps to replace that */
|
|
50
|
+
loadingSize?: RcCircularProgressProps['size'];
|
|
51
|
+
/** @deprecated use loading to replace that */
|
|
52
|
+
useLoading?: boolean | undefined;
|
|
53
|
+
/** @deprecated this props will be remove when using svg */
|
|
54
|
+
icon?: string | undefined;
|
|
55
|
+
/** @deprecated */
|
|
56
|
+
desc?: string | undefined;
|
|
57
|
+
/** @deprecated use color replace that */
|
|
58
|
+
iconColor?: RcPaletteProp | undefined;
|
|
59
|
+
/** @deprecated use size replace that */
|
|
60
|
+
iconSize?: IconSize | undefined;
|
|
61
|
+
} & RcBaseProps<React.HTMLAttributes<HTMLSpanElement>, "color"> & React.RefAttributes<any>>>, import("../../foundation").RcTheme, {}, never>;
|
|
39
62
|
export { RcIcon };
|
|
40
63
|
export type { RcIconProps, SvgSymbol };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const StyledSvg: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, DOMAttributes } from 'react';
|
|
1
|
+
import React, { CSSProperties, DOMAttributes } from 'react';
|
|
2
2
|
import { InputProps } from '@material-ui/core/Input';
|
|
3
3
|
import { RcBaseProps, RcClassesProps, RcPaletteKeys, RcTypographyKeys } from '../../foundation';
|
|
4
4
|
import { RcTooltipProps } from '../Tooltip';
|
|
@@ -69,6 +69,71 @@ type RcInlineEditableProps = {
|
|
|
69
69
|
*/
|
|
70
70
|
inputProps?: InputProps['inputProps'];
|
|
71
71
|
} & Pick<DOMAttributes<HTMLDivElement>, 'onKeyDown' | 'onFocus' | 'onBlur' | 'onMouseDown'> & RcClassesProps<'placeholder' | 'label' | 'textField' | 'saving'>;
|
|
72
|
-
declare const RcInlineEditable:
|
|
72
|
+
declare const RcInlineEditable: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
73
|
+
/** inline value */
|
|
74
|
+
value: string;
|
|
75
|
+
/**
|
|
76
|
+
* trigger when value change apply
|
|
77
|
+
*
|
|
78
|
+
* reason:
|
|
79
|
+
* - leave: trigger when blur input
|
|
80
|
+
* - confirm: trigger when keydown enter
|
|
81
|
+
*/
|
|
82
|
+
onChange?: ((value: string, reason?: RcInlineEditableOnChangeReason) => void) | undefined;
|
|
83
|
+
/** text variant, default is `body1` */
|
|
84
|
+
variant?: RcTypographyKeys | undefined;
|
|
85
|
+
/** color for apply to text, support full palette, default is `neutral.f06` */
|
|
86
|
+
color?: RcPaletteKeys | undefined;
|
|
87
|
+
/** maxLength of that value */
|
|
88
|
+
maxLength?: number | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* If `true`, a textarea element will be rendered instead of an input.
|
|
91
|
+
*/
|
|
92
|
+
multiline?: boolean | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* If `true`, the editable state will be saving mode
|
|
95
|
+
*/
|
|
96
|
+
saving?: boolean | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* If `true`, the editable state will be disable, just plain string render.
|
|
99
|
+
*/
|
|
100
|
+
disabled?: boolean | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The short hint displayed in the input before the user enters a value.
|
|
103
|
+
*/
|
|
104
|
+
placeholder?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* class apply to root component
|
|
107
|
+
*/
|
|
108
|
+
className?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* class apply to root component
|
|
111
|
+
*/
|
|
112
|
+
style?: React.CSSProperties | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* If `true`, the input will take up the full width of its container.
|
|
115
|
+
*/
|
|
116
|
+
fullWidth?: boolean | undefined;
|
|
117
|
+
/** apply title on label */
|
|
118
|
+
title?: string | undefined;
|
|
119
|
+
/** props for pass into `RcTooltip` when is not editing */
|
|
120
|
+
TooltipProps?: RcBaseProps<RcTooltipProps, "children"> | undefined;
|
|
121
|
+
/** @deprecated not need set anymore */
|
|
122
|
+
shouldRemoveNode?: boolean | undefined;
|
|
123
|
+
/** @deprecated use `data-test-automation-id="your-key"` directly */
|
|
124
|
+
automationId?: string | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @deprecated
|
|
127
|
+
* use `onChange` to replace that, if your have async method,
|
|
128
|
+
* should set `saving` when async method not complete
|
|
129
|
+
*/
|
|
130
|
+
onSave?: ((draft: string) => void) | undefined;
|
|
131
|
+
/** @deprecated use `TooltipProps` with `title` to replace that */
|
|
132
|
+
tooltipTitle?: string | undefined;
|
|
133
|
+
/**
|
|
134
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
135
|
+
*/
|
|
136
|
+
inputProps?: InputProps['inputProps'];
|
|
137
|
+
} & Pick<React.DOMAttributes<HTMLDivElement>, "onFocus" | "onBlur" | "onKeyDown" | "onMouseDown"> & RcClassesProps<"label" | "placeholder" | "textField" | "saving"> & React.RefAttributes<any>>, import("../../foundation").RcTheme, {}, never>;
|
|
73
138
|
export { RcInlineEditable };
|
|
74
139
|
export type { RcInlineEditableProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const inputStyle:
|
|
2
|
-
export declare const textareaStyle:
|
|
1
|
+
export declare const inputStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("../../../foundation").RcTheme>>;
|
|
2
|
+
export declare const textareaStyle: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<import("../../../foundation").RcTheme>>;
|
|
@@ -29,6 +29,28 @@ type RcLinkProps = {
|
|
|
29
29
|
* @release
|
|
30
30
|
* that onClick event will be trigger with `enter` like `<a>`, when have custom onKeydown event, that will be cover by outside
|
|
31
31
|
* */
|
|
32
|
-
declare const RcLink:
|
|
32
|
+
declare const RcLink: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
33
|
+
/** variant of Link, default is body1 */
|
|
34
|
+
variant?: import("../../foundation").RcTypographyKeys | undefined;
|
|
35
|
+
/** is that link is disabled */
|
|
36
|
+
disabled?: boolean | undefined;
|
|
37
|
+
/** color for Link display, support palette pass */
|
|
38
|
+
color?: RcPaletteProp | undefined;
|
|
39
|
+
/** root render element, default is `<a />` */
|
|
40
|
+
Component?: keyof JSX.IntrinsicElements | undefined;
|
|
41
|
+
/** is that have underline default */
|
|
42
|
+
underline?: boolean | undefined;
|
|
43
|
+
/** is that href can be download */
|
|
44
|
+
download?: boolean | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated size of Link, default is medium, please use variant directly
|
|
47
|
+
* `small` => `caption1`
|
|
48
|
+
* `medium` => `body1`
|
|
49
|
+
* `large` => `headline1`
|
|
50
|
+
*/
|
|
51
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
52
|
+
/** @deprecated use onClick replace that */
|
|
53
|
+
handleOnClick?: ((event: React.MouseEvent<HTMLSpanElement>) => void) | undefined;
|
|
54
|
+
} & RcBaseProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, "color" | "download"> & React.RefAttributes<any>>, import("../../foundation").RcTheme, {}, never>;
|
|
33
55
|
export { RcLink };
|
|
34
56
|
export type { RcLinkProps, RcLinkSize };
|